@dodoex/wallet-web3 0.0.38 → 0.0.40-1

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 (132) hide show
  1. package/dist/{DefaultJsonRpcProvider-41a80d3a.js → DefaultJsonRpcProvider-73e0c420.js} +1 -1
  2. package/dist/__node-resolve_empty-12c16c09.js +1 -0
  3. package/dist/__tslib-f15d207d.js +1 -0
  4. package/dist/alchemy-provider-5870b6fa-b0377b51.js +1 -0
  5. package/dist/alchemy-websocket-provider-213da986-952dbe96.js +1 -0
  6. package/dist/{blocto-081dacf0.js → blocto-557ad126.js} +1 -1
  7. package/dist/bn-f452cec2.js +1 -0
  8. package/dist/{browser-ponyfill-3c048113.js → browser-ponyfill-4b31f9cc.js} +1 -1
  9. package/dist/ccip-37e09d42.js +1 -0
  10. package/dist/cjs/{DefaultJsonRpcProvider-555947be.cjs → DefaultJsonRpcProvider-9548a9a9.cjs} +1 -1
  11. package/dist/cjs/{__node-resolve_empty-0fd10698.cjs → __node-resolve_empty-d50fa480.cjs} +1 -1
  12. package/dist/cjs/__tslib-28c4cdf0.cjs +1 -0
  13. package/dist/cjs/alchemy-provider-5870b6fa-1a43710d.cjs +1 -0
  14. package/dist/cjs/alchemy-websocket-provider-213da986-ba751bba.cjs +1 -0
  15. package/dist/cjs/{blocto-fd2dbc87.cjs → blocto-8e94c92e.cjs} +1 -1
  16. package/dist/cjs/bn-9b5d5174.cjs +1 -0
  17. package/dist/cjs/{browser-ponyfill-0e08ae60.cjs → browser-ponyfill-1adaa09b.cjs} +1 -1
  18. package/dist/cjs/ccip-5f322eb0.cjs +1 -0
  19. package/dist/cjs/{draggabilly-9f84752c.cjs → draggabilly-df89b349.cjs} +1 -1
  20. package/dist/cjs/ethers-a562d94e.cjs +1 -0
  21. package/dist/cjs/id-98021c92.cjs +1 -0
  22. package/dist/cjs/index-25eed170.cjs +9 -0
  23. package/dist/cjs/{index-9e2e0483.cjs → index-287419c7.cjs} +1 -1
  24. package/dist/cjs/{index-eb09e54d.cjs → index-35edc6a0.cjs} +1 -1
  25. package/dist/cjs/index-4542230b.cjs +1 -0
  26. package/dist/cjs/index-69193808.cjs +1 -0
  27. package/dist/cjs/{index-3f84dbd8.cjs → index-71da4a99.cjs} +3 -3
  28. package/dist/cjs/index-7a8c5e45.cjs +1 -0
  29. package/dist/cjs/index-9615da49.cjs +20 -0
  30. package/dist/cjs/{index-ff4de501.cjs → index-9ebca65b.cjs} +1 -1
  31. package/dist/cjs/{index-df8e5839.cjs → index-9f2a69d5.cjs} +1 -1
  32. package/dist/cjs/{index-aa73a457.cjs → index-a93123bc.cjs} +1 -1
  33. package/dist/cjs/index-ac2520ea.cjs +15 -0
  34. package/dist/cjs/index-bfbe48c9.cjs +1 -0
  35. package/dist/cjs/index-d056ca73.cjs +6 -0
  36. package/dist/cjs/{index-d63adac7.cjs → index-e31c24d5.cjs} +1 -1
  37. package/dist/cjs/index-e373c760.cjs +1 -0
  38. package/dist/cjs/index.cjs +1 -1
  39. package/dist/cjs/{index.es-e4d75037.cjs → index.es-1aa3f65a.cjs} +2 -2
  40. package/dist/cjs/{interface-a83766a7.cjs → interface-9605f4ec.cjs} +1 -1
  41. package/dist/cjs/{lib-typedarrays-9767ea13.cjs → lib-typedarrays-ae8c601f.cjs} +1 -1
  42. package/dist/cjs/{portis-9ebeee9a.cjs → portis-7c689291.cjs} +1 -1
  43. package/dist/cjs/{provider-0b2a9755.cjs → provider-7f0351f7.cjs} +1 -1
  44. package/dist/cjs/providers/connector/alchemy/index.d.ts +134 -0
  45. package/dist/cjs/providers/connector/alchemy/provider.d.ts +135 -0
  46. package/dist/cjs/providers/connector/alchemy/signer.d.ts +23 -0
  47. package/dist/cjs/providers/connector/index.d.ts +175 -43
  48. package/dist/cjs/providers/connector/ledgerUSB/index.d.ts +43 -43
  49. package/dist/cjs/providers/connector/ledgerUSB/provider.d.ts +10 -10
  50. package/dist/cjs/providers/connector/types.d.ts +6 -0
  51. package/dist/cjs/providers/connector/uniPass/index.d.ts +43 -43
  52. package/dist/cjs/providers/connector/uniPass/provider.d.ts +10 -10
  53. package/dist/cjs/providers/wallets/index.d.ts +2 -1
  54. package/dist/cjs/providers/wallets/standalone.d.ts +1 -0
  55. package/dist/cjs/providers/wallets/types.d.ts +1 -0
  56. package/dist/cjs/{rainbow-820152a6.cjs → rainbow-d1c674f9.cjs} +1 -1
  57. package/dist/cjs/{sha224-15ae3459.cjs → sha224-07d1c2ca.cjs} +1 -1
  58. package/dist/cjs/{sha256-52e85bcc.cjs → sha256-5082c7c5.cjs} +1 -1
  59. package/dist/cjs/uAuth-038ae0f5.cjs +1 -0
  60. package/dist/cjs/{walletConnect-6c212713.cjs → walletConnect-8241603a.cjs} +1 -1
  61. package/dist/cjs/walletLink-3cdbea9e.cjs +3 -0
  62. package/dist/{draggabilly-2398d387.js → draggabilly-48e71ee3.js} +1 -1
  63. package/dist/ethers-3695bc1b.js +1 -0
  64. package/dist/id-4954582c.js +1 -0
  65. package/dist/index-0f5534dc.js +6 -0
  66. package/dist/{index-6d05c923.js → index-1075adc3.js} +1 -1
  67. package/dist/{index-07cb8806.js → index-33d7c712.js} +1 -1
  68. package/dist/{index-aac337ec.js → index-3b3cf055.js} +3 -3
  69. package/dist/index-4c5874da.js +1 -0
  70. package/dist/index-5b79ce49.js +1 -0
  71. package/dist/{index-0ee5ef8d.js → index-65d96278.js} +1 -1
  72. package/dist/index-a88983c9.js +1 -0
  73. package/dist/index-a8e860d9.js +20 -0
  74. package/dist/index-bf4d0333.js +1 -0
  75. package/dist/index-c573413e.js +1 -0
  76. package/dist/index-c897db64.js +1 -0
  77. package/dist/index-e611daef.js +9 -0
  78. package/dist/index-ec3794ae.js +15 -0
  79. package/dist/{index-e0d3617a.js → index-f08d6a6b.js} +1 -1
  80. package/dist/{index-e5f9d1a3.js → index-f27409fd.js} +1 -1
  81. package/dist/{index.es-349fdb95.js → index.es-04d65003.js} +2 -2
  82. package/dist/index.js +1 -1
  83. package/dist/{interface-1266ecba.js → interface-20420287.js} +1 -1
  84. package/dist/{lib-typedarrays-af3f4c8d.js → lib-typedarrays-acde2155.js} +1 -1
  85. package/dist/{portis-0bf2badd.js → portis-320e633c.js} +1 -1
  86. package/dist/{provider-d169a966.js → provider-249afb3f.js} +1 -1
  87. package/dist/providers/connector/alchemy/index.d.ts +134 -0
  88. package/dist/providers/connector/alchemy/provider.d.ts +135 -0
  89. package/dist/providers/connector/alchemy/signer.d.ts +23 -0
  90. package/dist/providers/connector/index.d.ts +175 -43
  91. package/dist/providers/connector/ledgerUSB/index.d.ts +43 -43
  92. package/dist/providers/connector/ledgerUSB/provider.d.ts +10 -10
  93. package/dist/providers/connector/types.d.ts +6 -0
  94. package/dist/providers/connector/uniPass/index.d.ts +43 -43
  95. package/dist/providers/connector/uniPass/provider.d.ts +10 -10
  96. package/dist/providers/wallets/index.d.ts +2 -1
  97. package/dist/providers/wallets/standalone.d.ts +1 -0
  98. package/dist/providers/wallets/types.d.ts +1 -0
  99. package/dist/{rainbow-342e8d1b.js → rainbow-ccd1f747.js} +1 -1
  100. package/dist/sha224-63db3753.js +1 -0
  101. package/dist/{sha256-46fd7765.js → sha256-d04ff9d5.js} +1 -1
  102. package/dist/uAuth-89ab6608.js +1 -0
  103. package/dist/{walletConnect-2aee4421.js → walletConnect-cd29c7b4.js} +1 -1
  104. package/dist/walletLink-6fbeeb3a.js +3 -0
  105. package/package.json +11 -3
  106. package/dist/__node-resolve_empty-a0130b67.js +0 -1
  107. package/dist/__tslib-b5652ed0.js +0 -1
  108. package/dist/bn-2e9efe69.js +0 -1
  109. package/dist/cjs/__tslib-56d4e80d.cjs +0 -1
  110. package/dist/cjs/bn-b868bc58.cjs +0 -1
  111. package/dist/cjs/ethers-3720c0d4.cjs +0 -1
  112. package/dist/cjs/id-d282cc40.cjs +0 -1
  113. package/dist/cjs/index-2e69c315.cjs +0 -1
  114. package/dist/cjs/index-4d74d511.cjs +0 -1
  115. package/dist/cjs/index-5616ac1f.cjs +0 -1
  116. package/dist/cjs/index-94f8e007.cjs +0 -9
  117. package/dist/cjs/index-c076fc61.cjs +0 -15
  118. package/dist/cjs/index-fc6b12bf.cjs +0 -6
  119. package/dist/cjs/uAuth-5cc8f23b.cjs +0 -1
  120. package/dist/cjs/walletLink-f8a2b601.cjs +0 -3
  121. package/dist/ethers-a414e384.js +0 -1
  122. package/dist/id-2343dc26.js +0 -1
  123. package/dist/index-403af4a8.js +0 -15
  124. package/dist/index-68ac5cb8.js +0 -1
  125. package/dist/index-7141d21e.js +0 -9
  126. package/dist/index-a2d5c236.js +0 -1
  127. package/dist/index-aea7cc41.js +0 -1
  128. package/dist/index-b35f4170.js +0 -6
  129. package/dist/index-c49d9c37.js +0 -1
  130. package/dist/sha224-c7e1991f.js +0 -1
  131. package/dist/uAuth-42779605.js +0 -1
  132. package/dist/walletLink-ad28896e.js +0 -3
@@ -0,0 +1,9 @@
1
+ "use strict";var e=require("@ethersproject/providers"),t=require("zustand");require("events");var o=require("@ethersproject/address"),n=require("@ethersproject/constants"),i=require("@ethersproject/contracts"),r=require("@ethersproject/properties"),a=require("@ethersproject/transactions"),s=require("@ethersproject/bytes");function l(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(o){if("default"!==o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}})),t.default=e,Object.freeze(t)}var c=function(e,t){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},c(e,t)};function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var p=function(){return p=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},p.apply(this,arguments)};function u(e,t,o,n){return new(o||(o=Promise))((function(i,r){function a(e){try{l(n.next(e))}catch(e){r(e)}}function s(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))}var h=Object.create?function(e,t,o,n){void 0===n&&(n=o);var i=Object.getOwnPropertyDescriptor(t,o);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(e,n,i)}:function(e,t,o,n){void 0===n&&(n=o),e[n]=t[o]};function C(e){var t="function"==typeof Symbol&&Symbol.iterator,o=t&&e[t],n=0;if(o)return o.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var n,i,r=o.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=r.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(i)throw i.error}}return a}function g(e){return this instanceof g?(this.v=e,this):new g(e)}var v=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};var D,m,w=Object.freeze({__proto__:null,__extends:d,get __assign(){return p},__rest:function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]])}return o},__decorate:function(e,t,o,n){var i,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,o,a):i(t,o))||a);return r>3&&a&&Object.defineProperty(t,o,a),a},__param:function(e,t){return function(o,n){t(o,n,e)}},__esDecorate:function(e,t,o,n,i,r){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=n.kind,c="getter"===l?"get":"setter"===l?"set":"value",d=!t&&e?n.static?e:e.prototype:null,p=t||(d?Object.getOwnPropertyDescriptor(d,n.name):{}),u=!1,h=o.length-1;h>=0;h--){var C={};for(var f in n)C[f]="access"===f?{}:n[f];for(var f in n.access)C.access[f]=n.access[f];C.addInitializer=function(e){if(u)throw new TypeError("Cannot add initializers after decoration has completed");r.push(a(e||null))};var g=(0,o[h])("accessor"===l?{get:p.get,set:p.set}:p[c],C);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(p.get=s),(s=a(g.set))&&(p.set=s),(s=a(g.init))&&i.push(s)}else(s=a(g))&&("field"===l?i.push(s):p[c]=s)}d&&Object.defineProperty(d,n.name,p),u=!0},__runInitializers:function(e,t,o){for(var n=arguments.length>2,i=0;i<t.length;i++)o=n?t[i].call(e,o):t[i].call(e);return n?o:void 0},__propKey:function(e){return"symbol"==typeof e?e:"".concat(e)},__setFunctionName:function(e,t,o){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:o?"".concat(o," ",t):t})},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:u,__generator:function(e,t){var o,n,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(l){return function(s){if(o)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(o=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{o=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},__createBinding:h,__exportStar:function(e,t){for(var o in e)"default"===o||Object.prototype.hasOwnProperty.call(t,o)||h(t,e,o)},__values:C,__read:f,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e},__spreadArrays:function(){for(var e=0,t=0,o=arguments.length;t<o;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<o;t++)for(var r=arguments[t],a=0,s=r.length;a<s;a++,i++)n[i]=r[a];return n},__spreadArray:function(e,t,o){if(o||2===arguments.length)for(var n,i=0,r=t.length;i<r;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},__await:g,__asyncGenerator:function(e,t,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=o.apply(e,t||[]),r=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){i[e]&&(n[e]=function(t){return new Promise((function(o,n){r.push([e,t,o,n])>1||s(e,t)}))})}function s(e,t){try{(o=i[e](t)).value instanceof g?Promise.resolve(o.value.v).then(l,c):d(r[0][2],o)}catch(e){d(r[0][3],e)}var o}function l(e){s("next",e)}function c(e){s("throw",e)}function d(e,t){e(t),r.shift(),r.length&&s(r[0][0],r[0][1])}},__asyncDelegator:function(e){var t,o;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(o=!o)?{value:g(e[n](t)),done:!1}:i?i(t):t}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,o=e[Symbol.asyncIterator];return o?o.call(e):(e=C(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(o){t[o]=e[o]&&function(t){return new Promise((function(n,i){(function(e,t,o,n){Promise.resolve(n).then((function(t){e({value:t,done:o})}),t)})(n,i,(t=e[o](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&h(t,e,o);return v(t,e),t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t,o,n){if("a"===o&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===o?n:"a"===o?n.call(e):n?n.value:t.get(e)},__classPrivateFieldSet:function(e,t,o,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,o):i?i.value=o:t.set(e,o),o},__classPrivateFieldIn:function(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}});exports.ChainId=void 0,(D=exports.ChainId||(exports.ChainId={}))[D.MAINNET=1]="MAINNET",D[D.GOERLI=5]="GOERLI",D[D.BSC=56]="BSC",D[D.POLYGON=137]="POLYGON",D[D.ARBITRUM_ONE=42161]="ARBITRUM_ONE",D[D.AURORA=1313161554]="AURORA",D[D.OKCHAIN=66]="OKCHAIN",D[D.OPTIMISM=10]="OPTIMISM",D[D.AVALANCHE=43114]="AVALANCHE",D[D.CONFLUX=1030]="CONFLUX",D[D.BASE=8453]="BASE",D[D.LINEA=59144]="LINEA",D[D.SCROLL_ALPHA_TESTNET=534353]="SCROLL_ALPHA_TESTNET",D[D.SCROLL=534352]="SCROLL",exports.WalletType=void 0,(m=exports.WalletType||(exports.WalletType={})).injected="injected",m.BinanceChain="custom-bsc-injected",m.WalletConnect="walletconnect",m.Portis="portis",m.Gnosis="custom-gnosis",m.WalletLink="custom-walletlink",m.LedgerUSB="custom-ledger-usb",m.Ledger="custom-ledger",m.openBlock="custom-open-block",m.openBlockIframe="custom-open-block-iframe",m.GameStop="custom-game-stop",m.Nabox="custom-nabox",m.Bitkeep="custom-bitkeep",m.OneKey="custom-onekey",m.OKX="custom-okx",m.uAuth="custom-uauth",m.kuCoinWallet="custom-kucoin-wallet",m.frontier="custom-frontier",m.Blocto="custom-blocto",m.Rainbow="custom-rainbow",m.trust="custom-trust",m.tokenPocket="custom-token-pocket",m.Cyber="custom-cyber",m.uniPass="custom-uni-pass",m.Gate="custom-gate",m.Coin98="custom-coin-98",m.FoxWallet="custom-fox-wallet",m.Brave="custom-brave",m.Math="custom-math",m.ImToken="custom-im-token",m.Rabby="custom-rabby",m.SocialLogin="custom-social-login",m.Alchemy="custom-alchemy",m.EIP6963Prefix="custom-eip-6963-";const y=()=>{var e;return"undefined"!=typeof navigator&&!!(null===(e=window.navigator)||void 0===e?void 0:e.hid)},b=()=>{var e;return"undefined"!=typeof navigator&&(null===(e=window.navigator)||void 0===e?void 0:e.userAgent)&&/(Android)/i.test(navigator.userAgent)};function F(){return"undefined"!=typeof navigator&&/iPhone|iPod|iOS/.test(navigator.userAgent)}function E(){return"undefined"!=typeof navigator&&(/iPad/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)}const x=()=>F()||E(),A=()=>b()||x(),B=()=>{if("undefined"!=typeof window)return window};function k(e){return u(this,void 0,void 0,(function*(){const{Web3Provider:t}=yield Promise.resolve().then((function(){return l(require("@ethersproject/providers"))}));return new t(e)}))}const I=t.create((t=>({chainId:1,account:void 0,accounts:void 0,provider:void 0,walletType:void 0,connectLoading:!1,connected:void 0,connectedWalletSpecial:void 0,disabledWalletKeyList:[],eip6963WalletList:[],startConnecting:()=>{t((()=>({connectLoading:!0})))},setConnectedSpecial:e=>{t((()=>({connectedWalletSpecial:e})))},connectSuccess:(e,o,n)=>u(void 0,void 0,void 0,(function*(){t((()=>({provider:e})));const{chainId:i}=yield e.getNetwork(),r=yield e.listAccounts(),[a]=r,{type:s}=o;let l=s===exports.WalletType.Gnosis;if(!l&&s===exports.WalletType.WalletConnect&&a){const e=yield z();l=yield e.getAccountIsSafe(i,a)}t((e=>{var t;return{accounts:r,account:a,chainId:i,walletType:s,connected:{isAutoConnect:n,wallet:o,isSafe:l},connectedWalletSpecial:(null===(t=e.connectedWalletSpecial)||void 0===t?void 0:t.type)===s?e.connectedWalletSpecial:void 0,connectLoading:!1}}))})),connectFailed:()=>{t((()=>({connectLoading:!1})))},connectionBreak:()=>{t((()=>({connected:void 0,connectedWalletSpecial:void 0})))},accountsChanged:e=>{const[o]=e;t((()=>({accounts:e,account:o})))},chainIdChanged:e=>{t((()=>({chainId:e})))},setRpcUrlProvider:(o,n)=>u(void 0,void 0,void 0,(function*(){const i=new e.JsonRpcProvider(o,n);let r=n;if(!r){const e=yield i.getNetwork();r=e.chainId}t((()=>({provider:i,chainId:r,accounts:void 0,account:void 0,walletType:void 0,connected:void 0,connectedWalletSpecial:void 0})))})),disconnect:o=>u(void 0,void 0,void 0,(function*(){if(o){const n=new e.JsonRpcProvider(o),{chainId:i}=yield n.getNetwork();t((()=>({provider:n,chainId:i,accounts:void 0,account:void 0,walletType:void 0,connected:void 0,connectedWalletSpecial:void 0})))}else t((()=>({provider:void 0,accounts:void 0,account:void 0,walletType:void 0,connected:void 0,connectedWalletSpecial:void 0})))})),setDisabledWalletKeyList:e=>{t((()=>({disabledWalletKeyList:e})))}})));function O(e=null,t){return u(this,void 0,void 0,(function*(){let o=e||window.ethereum;if(o)yield o.request({method:"eth_requestAccounts"});else if(window.web3)o=window.web3.currentProvider;else if(window.celo)o=window.celo;else{if(!window.BinanceChain)throw new Error("No Web3 Provider found");o=window.BinanceChain}return o.on("connect",t.connect),o.on("disconnect",t.disconnect),o.on("accountsChanged",t.accountsChanged),o.on("chainChanged",t.chainChanged),o.on("message",t.message),k(o)}))}function M(e,t){return e.request?e.request(t):e.send(t.method,t.params)}function S({provider:e,addChainParameters:t}){return u(this,void 0,void 0,(function*(){try{return yield M(e,{method:"wallet_addEthereumChain",params:[t]}),{result:!0}}catch(e){console.error(`[failed to add ${t.chainId}]: `,t,e)}return{result:!1}}))}function _({addChainDirectly:e,addChainParameters:t,provider:o}){var n;return u(this,void 0,void 0,(function*(){const i=null!==(n=null!=o?o:I.getState().provider)&&void 0!==n?n:window.ethereum;if(!i)return{result:!1};if(e)return S({provider:i,addChainParameters:t});const{chainId:r}=t;try{return yield M(i,{method:"wallet_switchEthereumChain",params:[{chainId:r}]}),{result:!0}}catch(e){const{code:o}=e;if(4902===o||-32603===o)return S({provider:i,addChainParameters:t});console.error(`[failed to switch ${r}]: `,t,e)}return{result:!1}}))}let P=!1,L=1;const T={};let j=!1;var W,U;null===(W=B())||void 0===W||W.addEventListener("message",(e=>{"openblock-content-integration"===e.data.from&&(P=!0,Object.values(T).map((e=>e())))})),null===(U=B())||void 0===U||U.addEventListener("load",(()=>{setTimeout((()=>{j=!0,Object.values(T).map((e=>e()))}),1e3)}),{once:!0});const H=()=>u(void 0,void 0,void 0,(function*(){return new Promise((e=>{P?e(!0):window.parent===window||j?e(!1):(L++,T[L]=()=>{e(P),delete T[L]})}))})),N=(e,t)=>u(void 0,void 0,void 0,(function*(){const e=(yield Promise.resolve().then((function(){return require("./provider-7f0351f7.cjs")}))).default();return e.on("connect",t.connect),e.on("disconnect",t.disconnect),e.on("accountsChanged",t.accountsChanged),e.on("chainChanged",t.chainChanged),e.on("message",t.message),yield e.request({method:"eth_requestAccounts"}),k(e)}));function G(){return Promise.resolve().then((function(){return require("./index-ac2520ea.cjs")}))}function z(){return Promise.resolve().then((function(){return require("./index-69193808.cjs")}))}function V(){return Promise.resolve().then((function(){return require("./uAuth-038ae0f5.cjs")}))}function R(){return Promise.resolve().then((function(){return require("./portis-7c689291.cjs")}))}function Z(){return Promise.resolve().then((function(){return require("./walletLink-3cdbea9e.cjs")}))}function Q(){return Promise.resolve().then((function(){return require("./walletConnect-8241603a.cjs")}))}function K(){return Promise.resolve().then((function(){return require("./blocto-8e94c92e.cjs")}))}function q(){return Promise.resolve().then((function(){return require("./rainbow-d1c674f9.cjs")}))}function Y(){return Promise.resolve().then((function(){return require("./index-bfbe48c9.cjs")}))}function J(){return Promise.resolve().then((function(){return require("./index-4542230b.cjs")}))}function X(){return Promise.resolve().then((function(){return require("./index-d056ca73.cjs")}))}function $(){return Promise.resolve().then((function(){return require("./index-e31c24d5.cjs")}))}function ee(){return Promise.resolve().then((function(){return require("./index-71da4a99.cjs")}))}function te(){return Promise.resolve().then((function(){return require("./index-9615da49.cjs")})).then((function(e){return e.index}))}function oe(e,t){return u(this,void 0,void 0,(function*(){return(yield K()).default(e,t)}))}function ne(e,t){return u(this,void 0,void 0,(function*(){return(yield R()).default(e,t)}))}function ie(e,t){return u(this,void 0,void 0,(function*(){return(yield Z()).default(e,t)}))}function re(e,t){return u(this,void 0,void 0,(function*(){return(yield Q()).default(e,t)}))}function ae(e,t){return u(this,void 0,void 0,(function*(){return(yield q()).default(e,t)}))}function se(e,t){return u(this,void 0,void 0,(function*(){return(yield Y()).default(e,t)}))}function le(e,t){return u(this,void 0,void 0,(function*(){return(yield J()).default(e,t)}))}function ce(e,t){return u(this,void 0,void 0,(function*(){return(yield X()).default(e,t)}))}function de(e,t){return u(this,void 0,void 0,(function*(){return(yield $()).default(e,t)}))}function pe(e,t){return u(this,void 0,void 0,(function*(){return(yield ee()).default(e,t)}))}function ue(e,t){return u(this,void 0,void 0,(function*(){return(yield te()).default(e,t)}))}var he;!function(e){e.Request="request",e.Response="response"}(he||(he={})),exports.ErrorType=void 0,(exports.ErrorType||(exports.ErrorType={})).SendTransactionError="SendTransactionError";class Ce{walletWindow;appWindow;appInfo;constructor({walletWindow:e,appInfo:t}){this.walletWindow=e,this.appWindow=window,this.appInfo=t}sendMessage(e){const t=crypto.randomUUID();return this.postMessage({appId:crypto.randomUUID(),appInfo:this.appInfo,messageId:t,target:"CyberWallet",event:e}),t}onMessage(e){this.appWindow.onmessage=t=>{e(t.data)}}postMessage(e){this.walletWindow.postMessage(e,"*")}}class fe{id;sendTransactionBase;cyberAccount=null;appId;constructor({id:e,sendTransaction:t,appId:o}){this.id=e,this.sendTransactionBase=t,this.appId=o}setCyberAccount(e){this.cyberAccount=e}async sendTransaction(e,t){if(this.cyberAccount)return await this.sendTransactionBase({...e,from:e.from||this.cyberAccount.address,ctx:{chainId:this.id,owner:this.cyberAccount.ownerAddress,appId:this.appId}},t)}}class ge extends Error{constructor(e,t={}){super(),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ViemError"}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:"viem@1.16.3"});const o=t.cause instanceof ge?t.cause.details:t.cause?.message?t.cause.message:t.details,n=t.cause instanceof ge&&t.cause.docsPath||t.docsPath;this.message=[e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...n?[`Docs: https://viem.sh${n}.html${t.docsSlug?`#${t.docsSlug}`:""}`]:[],...o?[`Details: ${o}`]:[],`Version: ${this.version}`].join("\n"),t.cause&&(this.cause=t.cause),this.details=o,this.docsPath=n,this.metaMessages=t.metaMessages,this.shortMessage=e}walk(e){return ve(this,e)}}function ve(e,t){return t?.(e)?e:e&&"object"==typeof e&&"cause"in e?ve(e.cause,t):t?null:e}function De(e,t={}){const{fees:o=e.fees,formatters:n=e.formatters,serializers:i=e.serializers}=t;return{...e,fees:o,formatters:n,serializers:i}}const me=De({id:42161,name:"Arbitrum One",network:"arbitrum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{alchemy:{http:["https://arb-mainnet.g.alchemy.com/v2"],webSocket:["wss://arb-mainnet.g.alchemy.com/v2"]},infura:{http:["https://arbitrum-mainnet.infura.io/v3"],webSocket:["wss://arbitrum-mainnet.infura.io/ws/v3"]},default:{http:["https://arb1.arbitrum.io/rpc"]},public:{http:["https://arb1.arbitrum.io/rpc"]}},blockExplorers:{etherscan:{name:"Arbiscan",url:"https://arbiscan.io"},default:{name:"Arbiscan",url:"https://arbiscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7654707}}}),we=De({id:421613,name:"Arbitrum Goerli",network:"arbitrum-goerli",nativeCurrency:{name:"Arbitrum Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{alchemy:{http:["https://arb-goerli.g.alchemy.com/v2"],webSocket:["wss://arb-goerli.g.alchemy.com/v2"]},infura:{http:["https://arbitrum-goerli.infura.io/v3"],webSocket:["wss://arbitrum-goerli.infura.io/ws/v3"]},default:{http:["https://goerli-rollup.arbitrum.io/rpc"]},public:{http:["https://goerli-rollup.arbitrum.io/rpc"]}},blockExplorers:{etherscan:{name:"Arbiscan",url:"https://goerli.arbiscan.io/"},default:{name:"Arbiscan",url:"https://goerli.arbiscan.io/"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:88114}},testnet:!0});class ye extends ge{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed ${t} bytes. Given size: ${e} bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SizeOverflowError"})}}function be(e){return function(e,{strict:t=!0}={}){return!!e&&"string"==typeof e&&(t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}function Fe(e,{size:t}){if(be(e)>t)throw new ye({givenSize:be(e),maxSize:t})}function Ee(e,t={}){const{signed:o}=t;t.size&&Fe(e,{size:t.size});const n=BigInt(e);if(!o)return n;const i=(e.length-2)/2;return n<=(1n<<8n*BigInt(i)-1n)-1n?n:n-BigInt(`0x${"f".padStart(2*i,"f")}`)-1n}function xe(e,t={}){return Number(Ee(e,t))}function Ae(e,t){return({exclude:o,format:n})=>({exclude:o,format:e=>{const i=t(e);if(o)for(const e of o)delete i[e];return{...i,...n(e)}},type:e})}const Be={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559"};function ke(e){const t={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,chainId:e.chainId?xe(e.chainId):void 0,gas:e.gas?BigInt(e.gas):void 0,gasPrice:e.gasPrice?BigInt(e.gasPrice):void 0,maxFeePerGas:e.maxFeePerGas?BigInt(e.maxFeePerGas):void 0,maxPriorityFeePerGas:e.maxPriorityFeePerGas?BigInt(e.maxPriorityFeePerGas):void 0,nonce:e.nonce?xe(e.nonce):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?Be[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return"legacy"===t.type&&(delete t.accessList,delete t.maxFeePerGas,delete t.maxPriorityFeePerGas),"eip2930"===t.type&&(delete t.maxFeePerGas,delete t.maxPriorityFeePerGas),t}const Ie=Ae("transaction",ke);function Oe(e){const t=e.transactions?.map((e=>"string"==typeof e?e:ke(e)));return{...e,baseFeePerGas:e.baseFeePerGas?BigInt(e.baseFeePerGas):null,difficulty:e.difficulty?BigInt(e.difficulty):void 0,gasLimit:e.gasLimit?BigInt(e.gasLimit):void 0,gasUsed:e.gasUsed?BigInt(e.gasUsed):void 0,hash:e.hash?e.hash:null,logsBloom:e.logsBloom?e.logsBloom:null,nonce:e.nonce?e.nonce:null,number:e.number?BigInt(e.number):null,size:e.size?BigInt(e.size):void 0,timestamp:e.timestamp?BigInt(e.timestamp):void 0,transactions:t,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}const Me=Ae("block",Oe);const Se={"0x0":"reverted","0x1":"success"};function _e(e){return{...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs?e.logs.map((e=>function(e,{args:t,eventName:o}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...o?{args:t,eventName:o}:{}}}(e))):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?xe(e.transactionIndex):null,status:e.status?Se[e.status]:null,type:e.type?Be[e.type]||e.type:null}}const Pe=Ae("transactionReceipt",_e),Le={block:Me({format(e){const t=e.transactions?.map((e=>{if("string"==typeof e)return e;const t=ke(e);return"0x7e"===t.typeHex&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?Ee(e.mint):void 0,t.sourceHash=e.sourceHash,t.type="deposit"),t}));return{transactions:t,stateRoot:e.stateRoot}}}),transaction:Ie({format(e){const t={};return"0x7e"===e.type&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?Ee(e.mint):void 0,t.sourceHash=e.sourceHash,t.type="deposit"),t}}),transactionReceipt:Pe({format:e=>({l1GasPrice:e.l1GasPrice?Ee(e.l1GasPrice):null,l1GasUsed:e.l1GasUsed?Ee(e.l1GasUsed):null,l1Fee:e.l1Fee?Ee(e.l1Fee):null,l1FeeScalar:e.l1FeeScalar?Number(e.l1FeeScalar):null})})},Te=De({id:8453,network:"base",name:"Base",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{alchemy:{http:["https://base-mainnet.g.alchemy.com/v2"],webSocket:["wss://base-mainnet.g.alchemy.com/v2"]},infura:{http:["https://base-mainnet.infura.io/v3"],webSocket:["wss://base-mainnet.infura.io/ws/v3"]},default:{http:["https://mainnet.base.org"]},public:{http:["https://mainnet.base.org"]}},blockExplorers:{blockscout:{name:"Basescout",url:"https://base.blockscout.com"},default:{name:"Basescan",url:"https://basescan.org"},etherscan:{name:"Basescan",url:"https://basescan.org"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:5022}}},{formatters:Le}),je=De({id:84531,network:"base-goerli",name:"Base Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{alchemy:{http:["https://base-goerli.g.alchemy.com/v2"],webSocket:["wss://base-goerli.g.alchemy.com/v2"]},default:{http:["https://goerli.base.org"]},public:{http:["https://goerli.base.org"]}},blockExplorers:{etherscan:{name:"Basescan",url:"https://goerli.basescan.org"},default:{name:"Basescan",url:"https://goerli.basescan.org"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1376988}},testnet:!0,sourceId:5},{formatters:Le}),We=De({id:56,name:"BNB Smart Chain",network:"bsc",nativeCurrency:{decimals:18,name:"BNB",symbol:"BNB"},rpcUrls:{default:{http:["https://rpc.ankr.com/bsc"]},public:{http:["https://rpc.ankr.com/bsc"]}},blockExplorers:{etherscan:{name:"BscScan",url:"https://bscscan.com"},default:{name:"BscScan",url:"https://bscscan.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:15921452}}}),Ue=De({id:97,name:"Binance Smart Chain Testnet",network:"bsc-testnet",nativeCurrency:{decimals:18,name:"BNB",symbol:"tBNB"},rpcUrls:{default:{http:["https://data-seed-prebsc-1-s1.binance.org:8545"]},public:{http:["https://data-seed-prebsc-1-s1.binance.org:8545"]}},blockExplorers:{etherscan:{name:"BscScan",url:"https://testnet.bscscan.com"},default:{name:"BscScan",url:"https://testnet.bscscan.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:17422483}},testnet:!0}),He=De({id:59144,name:"Linea Mainnet",network:"linea-mainnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{infura:{http:["https://linea-mainnet.infura.io/v3"],webSocket:["wss://linea-mainnet.infura.io/ws/v3"]},default:{http:["https://rpc.linea.build"],webSocket:["wss://rpc.linea.build"]},public:{http:["https://rpc.linea.build"],webSocket:["wss://rpc.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://lineascan.build"},etherscan:{name:"Etherscan",url:"https://lineascan.build"},blockscout:{name:"Blockscout",url:"https://explorer.linea.build"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:42}},testnet:!1}),Ne=De({id:59140,name:"Linea Goerli Testnet",network:"linea-testnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{infura:{http:["https://linea-goerli.infura.io/v3"],webSocket:["wss://linea-goerli.infura.io/ws/v3"]},default:{http:["https://rpc.goerli.linea.build"],webSocket:["wss://rpc.goerli.linea.build"]},public:{http:["https://rpc.goerli.linea.build"],webSocket:["wss://rpc.goerli.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli.lineascan.build"},etherscan:{name:"Etherscan",url:"https://goerli.lineascan.build"},blockscout:{name:"Blockscout",url:"https://explorer.goerli.linea.build"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:498623}},testnet:!0}),Ge=De({id:10,name:"OP Mainnet",network:"optimism",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{alchemy:{http:["https://opt-mainnet.g.alchemy.com/v2"],webSocket:["wss://opt-mainnet.g.alchemy.com/v2"]},infura:{http:["https://optimism-mainnet.infura.io/v3"],webSocket:["wss://optimism-mainnet.infura.io/ws/v3"]},default:{http:["https://mainnet.optimism.io"]},public:{http:["https://mainnet.optimism.io"]}},blockExplorers:{etherscan:{name:"Etherscan",url:"https://optimistic.etherscan.io"},default:{name:"Optimism Explorer",url:"https://explorer.optimism.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:4286263}}},{formatters:Le}),ze=De({id:420,name:"Optimism Goerli",network:"optimism-goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{alchemy:{http:["https://opt-goerli.g.alchemy.com/v2"],webSocket:["wss://opt-goerli.g.alchemy.com/v2"]},infura:{http:["https://optimism-goerli.infura.io/v3"],webSocket:["wss://optimism-goerli.infura.io/ws/v3"]},default:{http:["https://goerli.optimism.io"]},public:{http:["https://goerli.optimism.io"]}},blockExplorers:{etherscan:{name:"Etherscan",url:"https://goerli-optimism.etherscan.io"},default:{name:"Etherscan",url:"https://goerli-optimism.etherscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:49461}},testnet:!0},{formatters:Le}),Ve=De({id:137,name:"Polygon",network:"matic",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},rpcUrls:{alchemy:{http:["https://polygon-mainnet.g.alchemy.com/v2"],webSocket:["wss://polygon-mainnet.g.alchemy.com/v2"]},infura:{http:["https://polygon-mainnet.infura.io/v3"],webSocket:["wss://polygon-mainnet.infura.io/ws/v3"]},default:{http:["https://polygon-rpc.com"]},public:{http:["https://polygon-rpc.com"]}},blockExplorers:{etherscan:{name:"PolygonScan",url:"https://polygonscan.com"},default:{name:"PolygonScan",url:"https://polygonscan.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:25770160}}}),Re=De({id:80001,name:"Polygon Mumbai",network:"maticmum",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},rpcUrls:{alchemy:{http:["https://polygon-mumbai.g.alchemy.com/v2"],webSocket:["wss://polygon-mumbai.g.alchemy.com/v2"]},infura:{http:["https://polygon-mumbai.infura.io/v3"],webSocket:["wss://polygon-mumbai.infura.io/ws/v3"]},default:{http:["https://rpc.ankr.com/polygon_mumbai"]},public:{http:["https://rpc.ankr.com/polygon_mumbai"]}},blockExplorers:{etherscan:{name:"PolygonScan",url:"https://mumbai.polygonscan.com"},default:{name:"PolygonScan",url:"https://mumbai.polygonscan.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:25770160}},testnet:!0}),Ze=De({id:534351,name:"Scroll Sepolia",network:"scroll-sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia-rpc.scroll.io"],webSocket:["wss://sepolia-rpc.scroll.io/ws"]},public:{http:["https://sepolia-rpc.scroll.io"],webSocket:["wss://sepolia-rpc.scroll.io/ws"]}},blockExplorers:{default:{name:"Blockscout",url:"https://sepolia-blockscout.scroll.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:9473}},testnet:!0}),Qe={optimism:Ge,optimismGoerli:ze,polygon:Ve,polygonMumbai:Re,arbitrum:me,arbitrumGoerli:we,linea:He,lineaTestnet:Ne,base:Te,baseGoerli:je,opBnb:{id:204,name:"opBNB",network:"opBNB",rpcUrls:{public:{http:["https://opbnb-mainnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3"]},default:{http:["https://opbnb-mainnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3"]}},blockExplorers:{default:{name:"BlockScout",url:"https://opbnbscan.com"}},nativeCurrency:We.nativeCurrency},opBnbTestnet:{id:5611,name:"opBNB Testnet",network:"opBNB testnet",rpcUrls:{public:{http:["https://opbnb-testnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3"]},default:{http:["https://opbnb-testnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3"]}},blockExplorers:{default:{name:"BlockScout",url:"https://testnet.opbnbscan.com"}},nativeCurrency:Ue.nativeCurrency},scrollSepolia:Ze};class Ke extends Error{details;shortMessage;constructor({name:e,details:t,shortMessage:o}){super(`${e||"UnknownEventError"}: ${o||"Unknown error, please check the details"}`),this.name=e||"UnknownEventError",this.details=t,this.shortMessage=o||"Unknown error, please check the details"}}class qe{contextWindow;connected;messenger;cyberAccount=null;optimism;optimismGoerli;polygon;polygonMumbai;arbitrum;arbitrumGoerli;linea;lineaTestnet;base;baseGoerli;opBnb;opBnbTestnet;scrollSepolia;constructor({contextWindow:e,appInfo:t}){this.contextWindow=e,this.connected=!1,this.messenger=new Ce({walletWindow:this.contextWindow,appInfo:t}),this.cyberAccount=null,Object.entries(Qe).forEach((([e,o])=>{this[e]=new fe({id:o.id,sendTransaction:this.bindedSendTransaction,appId:t.appId})}))}bindedSendTransaction=this.sendTransaction.bind(this);setConnection(e){this.connected=e}setCyberAccount(e){this.cyberAccount=e,Object.keys(Qe).forEach((t=>{this[t].setCyberAccount(e)}))}resolveActionResponse(e,t,o){"CyberApp"===e.target&&"action"===e.event.name&&(e.event.data?.error?"sendTransaction"===e.event.data?.method?t(new Ke({name:exports.ErrorType.SendTransactionError,details:e.event.data.error,shortMessage:"Transaction failed"})):t(new Ke({details:e.event.data.error})):o(e.event.data?.data))}sendTransaction(e){return this.messenger.sendMessage({name:"action",data:{type:he.Request,method:"sendTransaction",data:{transaction:{...e,from:e.from||this.cyberAccount?.address}}}}),new Promise(((e,t)=>{this.messenger.onMessage((o=>{this.resolveActionResponse(o,t,e)}))}))}async getAuthToken(){return this.messenger.sendMessage({name:"action",data:{type:he.Request,method:"getAuthToken"}}),new Promise(((e,t)=>{this.messenger.onMessage((o=>{this.resolveActionResponse(o,t,e)}))}))}}class Ye{appId;name;cyberWallet;messenger;icon;constructor({appId:e,name:t,icon:o}){this.appId=e,this.name=t,this.icon=o,this.cyberWallet=new qe({contextWindow:window.parent,appInfo:{name:t,icon:o,appId:e}}),this.messenger=new Ce({walletWindow:this.cyberWallet.contextWindow})}async start(){return await this.connect()}async connect(){return this.messenger.sendMessage({name:"connect"}),await new Promise(((e,t)=>{this.messenger.onMessage((o=>{"CyberApp"===o.target&&"connect"===o.event.name&&("success"===o.event.data?.data?.result?(this.cyberWallet?.setConnection(!0),this.cyberWallet?.setCyberAccount(o.event.data?.data?.cyberAccount),e(o.event.data?.data?.cyberAccount)):o.event.data?.error&&t(o.event.data?.error))}))}))}}function Je(e){try{return o.getAddress(e)}catch(e){return!1}}const Xe=0,$e=2,et={};class tt{constructor({cacheKey:e,rpcUrl:t}){this._rpcUrl="",this.cacheKey=e,this._rpcUrl=null!=t?t:""}setCacheType(e){localStorage.setItem(this.cacheKey,e)}removeCache(){localStorage.removeItem(this.cacheKey)}setRpcUrl(e){this._rpcUrl=e}getCacheType(){return localStorage.getItem(this.cacheKey)}getConnectedWallet(){var e;return u(this,void 0,void 0,(function*(){if(I.getState().connectLoading){let e,t;yield Promise.race([new Promise((e=>{t=I.subscribe((t=>{!1===t.connectLoading&&e(!0)}))})),new Promise((t=>{e=setTimeout((()=>{t(!1)}),4e3)}))]),clearTimeout(e),t&&t()}return null===(e=I.getState().connected)||void 0===e?void 0:e.wallet}))}connectWalletProcess(e,t){return u(this,void 0,void 0,(function*(){if(!e)throw new Error("connector is undefined");const o=yield e(t,{connect:({chainId:e})=>{var o;const n=parseInt(e,16);n&&I.getState().chainIdChanged(n),(null===(o=t.events)||void 0===o?void 0:o.connect)&&t.events.connect({chainId:e})},accountsChanged:e=>{var o;I.getState().accountsChanged(e),(null===(o=t.events)||void 0===o?void 0:o.accountsChanged)&&t.events.accountsChanged(e)},chainChanged:e=>u(this,void 0,void 0,(function*(){var o,n;yield null===(o=I.getState().provider)||void 0===o?void 0:o.detectNetwork();const i=parseInt(e,16);i&&I.getState().chainIdChanged(i),(null===(n=t.events)||void 0===n?void 0:n.chainChanged)&&t.events.chainChanged(e)})),message:(e,o)=>{var n;(null===(n=t.events)||void 0===n?void 0:n.message)&&t.events.message(e,o)},disconnect:e=>{var o;I.getState().connectionBreak(),(null===(o=t.events)||void 0===o?void 0:o.disconnect)&&t.events.disconnect(e)}});return o}))}connectWallet(e,t,{isAutoConnect:o}={}){var n,i;return u(this,void 0,void 0,(function*(){if(t.chainId&&(null===(n=e.supportChains)||void 0===n?void 0:n.length)&&!e.supportChains.includes(t.chainId))throw new Error(`${e.showName} does not support ChainId ${t.chainId}.`);if(!e)throw new Error("wallet is not valid.");const r=Object.assign({},e);I.getState().startConnecting();const{type:a,connector:s,supportMobile:l,supportExtension:c}=r;let d;if(!1===c&&l&&!A()){const{openSingleWalletConnectModal:o,closeSingleWalletConnectModal:n}=t,{connector:a,disconnect:s}=Wt;if(r.disconnect=s,o)try{d=yield this.connectWalletProcess(a,Object.assign(Object.assign({},t),{walletConnectParams:Object.assign(Object.assign({},null==t?void 0:t.walletConnectParams),{showQrModal:!1,qrModalOptions:Object.assign(Object.assign({},null===(i=null==t?void 0:t.walletConnectParams)||void 0===i?void 0:i.qrModalOptions),{openCallback:n=>{var i,r,a;(null===(r=null===(i=null==t?void 0:t.walletConnectParams)||void 0===i?void 0:i.qrModalOptions)||void 0===r?void 0:r.openCallback)&&(null===(a=null==t?void 0:t.walletConnectParams)||void 0===a||a.qrModalOptions.openCallback(n)),o({uri:n,wallet:e})}})})}))}finally{n&&n()}else d=yield this.connectWalletProcess(a,t)}else{if(!s)throw new Error(`${e.showName} is not valid.`);d=yield this.connectWalletProcess(s,t)}return d?(this.setCacheType(a),this._wallet=r,yield I.getState().connectSuccess(d,r,!!o)):I.getState().connectFailed(),d}))}disconnectWallet(){var e;return u(this,void 0,void 0,(function*(){this.getCacheType()&&((null===(e=this._wallet)||void 0===e?void 0:e.disconnect)&&(yield this._wallet.disconnect()),this._wallet=void 0,this.removeCache(),I.getState().disconnect(this._rpcUrl))}))}}const ot=/(?:^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}$)|(?:^0{8}-0{4}-0{4}-0{4}-0{12}$)/u,nt="io.metamask",it={"com.coinbase.wallet":exports.WalletType.WalletLink,"com.bitget.web3":exports.WalletType.Bitkeep,"com.okex.wallet":exports.WalletType.OKX,[nt]:exports.WalletType.injected,"io.rabby":exports.WalletType.Rabby,"pro.tokenpocket":exports.WalletType.tokenPocket,"coin98.com":exports.WalletType.Coin98,"xyz.frontier.wallet":exports.WalletType.frontier,"com.brave.wallet":exports.WalletType.Brave,"com.trustwallet.app":exports.WalletType.trust,"so.onekey.wallet":exports.WalletType.OneKey};function rt(e){const{info:t,provider:o}=e;return{type:exports.WalletType.EIP6963Prefix+t.rdns,showName:t.name,logo:t.icon,supportMobile:!0,supportExtension:!0,switchChain:e=>_(Object.assign(Object.assign({},e),{provider:o})),injected:()=>!0,disabled:()=>!1,connector:(e,t)=>O(o,t)}}const at={cacheKey:"DODO-WALLET-CACHED-PROVIDER"};let st,lt,ct;const dt=[exports.ChainId.OPTIMISM,exports.ChainId.POLYGON,exports.ChainId.ARBITRUM_ONE,exports.ChainId.LINEA,exports.ChainId.BASE,exports.ChainId.SCROLL_ALPHA_TESTNET];const pt=80001,ut=2025,ht=9527,Ct=534354,ft=421613,gt=42161,vt=43113,Dt=43114,mt=2206132,wt=210425,yt=[1,5,137,pt,56,97,ut,ht,Ct,ft,gt,vt,Dt,322,321,65,66,mt],bt={type:exports.WalletType.WalletLink,showName:"Coinbase Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2216%22%20fill%3D%22url%28%23paint0_linear_3075_80236%29%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16%2025C20.9706%2025%2025%2020.9706%2025%2016C25%2011.0294%2020.9706%207%2016%207C11.0294%207%207%2011.0294%207%2016C7%2020.9706%2011.0294%2025%2016%2025ZM14%2013C13.4477%2013%2013%2013.4477%2013%2014V18C13%2018.5523%2013.4477%2019%2014%2019H18C18.5523%2019%2019%2018.5523%2019%2018V14C19%2013.4477%2018.5523%2013%2018%2013H14Z%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_3075_80236%22%20x1%3D%2216%22%20y1%3D%220%22%20x2%3D%2216%22%20y2%3D%2232%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23345FF8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%231D43DC%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!0,supportExtension:!0,getPackage:Z,connector:ie,mobileAndroidDeepLink:"https://go.cb-w.com/dapp?cburl=$formattedAPPUrl",mobileIOSDeepLink:"cbwallet://dapp?url=$formattedAPPUrl",disabled:()=>!!A(),injected:()=>{var e,t;return A()&&((null===(e=window.ethereum)||void 0===e?void 0:e.isWalletLink)||(null===(t=window.ethereum)||void 0===t?void 0:t.isToshi))},connectorInjected:(e,t)=>O(void 0,t)},Ft={type:exports.WalletType.ImToken,showName:"imToken",logo:"data:image/svg+xml,%3Csvg%20enable-background%3D%22new%200%200%2064%2064%22%20viewBox%3D%220%200%2064%2064%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3ClinearGradient%20id%3D%22a%22%20gradientTransform%3D%22matrix%2823.9866%200%200%20-16.946%206597.1353%205695.4907%29%22%20gradientUnits%3D%22userSpaceOnUse%22%20x1%3D%22-272.5272%22%20x2%3D%22-275.1207%22%20y1%3D%22335.5532%22%20y2%3D%22332.9597%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%2311c4d1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230062ad%22%2F%3E%3C%2FlinearGradient%3E%3Cpath%20d%3D%22m63.8%2010.9c2.1%2028.6-16.2%2042.1-32.7%2043.6-15.3%201.3-29.7-8.1-31-22.5-1-11.9%206.3-17%2012.1-17.5%206-.5%2011%203.6%2011.4%208.6.4%204.8-2.6%207-4.6%207.2-1.6.1-3.7-.9-3.9-3-.2-1.8.5-2.1.4-4-.3-3.5-3.3-3.9-5-3.7-2%20.2-5.7%202.5-5.1%208.4.5%205.9%206.2%2010.6%2013.6%209.9%208-.7%2013.6-6.9%2014-15.7%200-.5.1-.9.3-1.3.1-.2.2-.4.3-.5.2-.3.4-.5.7-.8.2-.2.5-.5.7-.8%203.5-3.3%2016.1-11.1%2028-8.6.4-.2.8.2.8.7%22%20fill%3D%22url%28%23a%29%22%2F%3E%3C%2Fsvg%3E",link:"https://token.im/",supportMobile:!0,supportExtension:!1,switchChain:_,mobileDeepLink:"imtokenv2://navigate/DappView?url=$formattedAPPUrl",injected:()=>{var e;return null===(e=window.ethereum)||void 0===e?void 0:e.isImToken}},Et={type:exports.WalletType.Math,showName:"Math Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2272%22%20height%3D%2272%22%20viewBox%3D%220%200%2072%2072%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%2236%22%20cy%3D%2236%22%20r%3D%2236%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M14.25%2046.4721C15.1398%2046.4721%2015.8611%2047.1934%2015.8611%2048.0832C15.8611%2048.973%2015.1398%2049.6943%2014.25%2049.6943C13.3602%2049.6943%2012.6389%2048.973%2012.6389%2048.0832C12.6389%2047.1934%2013.3602%2046.4721%2014.25%2046.4721ZM36%2046.4721C36.8898%2046.4721%2037.6111%2047.1934%2037.6111%2048.0832C37.6111%2048.973%2036.8898%2049.6943%2036%2049.6943C35.1102%2049.6943%2034.3889%2048.973%2034.3889%2048.0832C34.3889%2047.1934%2035.1102%2046.4721%2036%2046.4721ZM57.75%2046.4721C58.6398%2046.4721%2059.3611%2047.1934%2059.3611%2048.0832C59.3611%2048.973%2058.6398%2049.6943%2057.75%2049.6943C56.8602%2049.6943%2056.1389%2048.973%2056.1389%2048.0832C56.1389%2047.1934%2056.8602%2046.4721%2057.75%2046.4721ZM19.0833%2040.0276C20.418%2040.0276%2021.5%2041.1096%2021.5%2042.4443C21.5%2043.779%2020.418%2044.861%2019.0833%2044.861C17.7486%2044.861%2016.6667%2043.779%2016.6667%2042.4443C16.6667%2041.1096%2017.7486%2040.0276%2019.0833%2040.0276ZM30.3611%2040.0276C31.6958%2040.0276%2032.7778%2041.1096%2032.7778%2042.4443C32.7778%2043.779%2031.6958%2044.861%2030.3611%2044.861C29.0264%2044.861%2027.9444%2043.779%2027.9444%2042.4443C27.9444%2041.1096%2029.0264%2040.0276%2030.3611%2040.0276ZM41.6389%2040.0276C42.9736%2040.0276%2044.0556%2041.1096%2044.0556%2042.4443C44.0556%2043.779%2042.9736%2044.861%2041.6389%2044.861C40.3042%2044.861%2039.2222%2043.779%2039.2222%2042.4443C39.2222%2041.1096%2040.3042%2040.0276%2041.6389%2040.0276ZM52.9167%2040.0276C54.2514%2040.0276%2055.3333%2041.1096%2055.3333%2042.4443C55.3333%2043.779%2054.2514%2044.861%2052.9167%2044.861C51.582%2044.861%2050.5%2043.779%2050.5%2042.4443C50.5%2041.1096%2051.582%2040.0276%2052.9167%2040.0276ZM8.61111%2040.8332C9.5009%2040.8332%2010.2222%2041.5545%2010.2222%2042.4443C10.2222%2043.3341%209.5009%2044.0554%208.61111%2044.0554C7.72132%2044.0554%207%2043.3341%207%2042.4443C7%2041.5545%207.72132%2040.8332%208.61111%2040.8332ZM63.3889%2040.8332C64.2787%2040.8332%2065%2041.5545%2065%2042.4443C65%2043.3341%2064.2787%2044.0554%2063.3889%2044.0554C62.4991%2044.0554%2061.7778%2043.3341%2061.7778%2042.4443C61.7778%2041.5545%2062.4991%2040.8332%2063.3889%2040.8332ZM24.7222%2033.5832C26.5018%2033.5832%2027.9444%2035.0258%2027.9444%2036.8054C27.9444%2038.585%2026.5018%2040.0276%2024.7222%2040.0276C22.9426%2040.0276%2021.5%2038.585%2021.5%2036.8054C21.5%2035.0258%2022.9426%2033.5832%2024.7222%2033.5832ZM47.2778%2033.5832C49.0574%2033.5832%2050.5%2035.0258%2050.5%2036.8054C50.5%2038.585%2049.0574%2040.0276%2047.2778%2040.0276C45.4982%2040.0276%2044.0556%2038.585%2044.0556%2036.8054C44.0556%2035.0258%2045.4982%2033.5832%2047.2778%2033.5832ZM14.25%2034.3888C15.5847%2034.3888%2016.6667%2035.4707%2016.6667%2036.8054C16.6667%2038.1401%2015.5847%2039.2221%2014.25%2039.2221C12.9153%2039.2221%2011.8333%2038.1401%2011.8333%2036.8054C11.8333%2035.4707%2012.9153%2034.3888%2014.25%2034.3888ZM36%2034.3888C37.3347%2034.3888%2038.4167%2035.4707%2038.4167%2036.8054C38.4167%2038.1401%2037.3347%2039.2221%2036%2039.2221C34.6653%2039.2221%2033.5833%2038.1401%2033.5833%2036.8054C33.5833%2035.4707%2034.6653%2034.3888%2036%2034.3888ZM57.75%2034.3888C59.0847%2034.3888%2060.1667%2035.4707%2060.1667%2036.8054C60.1667%2038.1401%2059.0847%2039.2221%2057.75%2039.2221C56.4153%2039.2221%2055.3333%2038.1401%2055.3333%2036.8054C55.3333%2035.4707%2056.4153%2034.3888%2057.75%2034.3888ZM19.0833%2027.9443C20.8629%2027.9443%2022.3056%2029.3869%2022.3056%2031.1665C22.3056%2032.9461%2020.8629%2034.3888%2019.0833%2034.3888C17.3037%2034.3888%2015.8611%2032.9461%2015.8611%2031.1665C15.8611%2029.3869%2017.3037%2027.9443%2019.0833%2027.9443ZM30.3611%2027.9443C32.1407%2027.9443%2033.5833%2029.3869%2033.5833%2031.1665C33.5833%2032.9461%2032.1407%2034.3888%2030.3611%2034.3888C28.5815%2034.3888%2027.1389%2032.9461%2027.1389%2031.1665C27.1389%2029.3869%2028.5815%2027.9443%2030.3611%2027.9443ZM41.6389%2027.9443C43.4185%2027.9443%2044.8611%2029.3869%2044.8611%2031.1665C44.8611%2032.9461%2043.4185%2034.3888%2041.6389%2034.3888C39.8593%2034.3888%2038.4167%2032.9461%2038.4167%2031.1665C38.4167%2029.3869%2039.8593%2027.9443%2041.6389%2027.9443ZM52.9167%2027.9443C54.6963%2027.9443%2056.1389%2029.3869%2056.1389%2031.1665C56.1389%2032.9461%2054.6963%2034.3888%2052.9167%2034.3888C51.1371%2034.3888%2049.6944%2032.9461%2049.6944%2031.1665C49.6944%2029.3869%2051.1371%2027.9443%2052.9167%2027.9443ZM24.7222%2022.3054C26.5018%2022.3054%2027.9444%2023.7481%2027.9444%2025.5276C27.9444%2027.3072%2026.5018%2028.7499%2024.7222%2028.7499C22.9426%2028.7499%2021.5%2027.3072%2021.5%2025.5276C21.5%2023.7481%2022.9426%2022.3054%2024.7222%2022.3054ZM47.2778%2022.3054C49.0574%2022.3054%2050.5%2023.7481%2050.5%2025.5276C50.5%2027.3072%2049.0574%2028.7499%2047.2778%2028.7499C45.4982%2028.7499%2044.0556%2027.3072%2044.0556%2025.5276C44.0556%2023.7481%2045.4982%2022.3054%2047.2778%2022.3054Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E",link:"https://mathwallet.org",supportMobile:!0,supportExtension:!0,switchChain:_,injected:()=>{var e;return null===(e=window.ethereum)||void 0===e?void 0:e.isMathWallet}},xt={type:exports.WalletType.GameStop,showName:"GameStop Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_3104_80271%29%22%3E%3Cpath%20d%3D%22M21%200H11C4.92487%200%200%204.92487%200%2011V21C0%2027.0751%204.92487%2032%2011%2032H21C27.0751%2032%2032%2027.0751%2032%2021V11C32%204.92487%2027.0751%200%2021%200Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9.86889%2012.6868V21.3057C9.86889%2021.9352%2010.347%2022.4111%2010.968%2022.4111H21.036C21.657%2022.4111%2022.1351%2021.9352%2022.1351%2021.3057V14.077H23.724V21.3057C23.724%2022.8077%2022.5395%2024%2021.036%2024H10.968C9.46452%2024%208.28003%2022.8077%208.28003%2021.3057V12.6868H9.86889Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M8.28003%2010.6943C8.28003%209.19227%209.46452%208%2010.968%208H21.3686V11.151H21.544C22.7704%2011.151%2023.724%2012.1116%2023.724%2013.3356V14.4013C23.724%2015.6253%2022.7704%2016.5859%2021.544%2016.5859H10.968C9.46452%2016.5859%208.28003%2015.3936%208.28003%2013.8916V10.6943ZM19.7797%2011.151V9.58886H10.968C10.347%209.58886%209.86889%2010.0648%209.86889%2010.6943V13.8916C9.86889%2014.5212%2010.347%2014.9971%2010.968%2014.9971H15.2076V11.151H19.7797ZM16.7964%2014.9971H21.544C21.8879%2014.9971%2022.1351%2014.7528%2022.1351%2014.4013V13.3356C22.1351%2012.9841%2021.8879%2012.7399%2021.544%2012.7399H16.7964V14.9971Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M14.964%2012.8807H17.0825V14.9992H14.964V12.8807Z%22%20fill%3D%22url%28%23paint0_linear_3104_80271%29%22%2F%3E%3Cpath%20d%3D%22M19.2349%209.30048H21.5441V11.154H19.2349V9.30048Z%22%20fill%3D%22url%28%23paint1_linear_3104_80271%29%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_3104_80271%22%20x1%3D%2216.0232%22%20y1%3D%2216.4115%22%20x2%3D%2216.0232%22%20y2%3D%2213.5869%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%2F%3E%3Cstop%20offset%3D%221%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_3104_80271%22%20x1%3D%2220.3894%22%20y1%3D%2212.3897%22%20x2%3D%2220.3894%22%20y2%3D%229.91831%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%2F%3E%3Cstop%20offset%3D%221%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_3104_80271%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!1,supportExtension:!0,link:"https://wallet.gamestop.com/",injected:()=>{var e;return null===(e=window.ethereum)||void 0===e?void 0:e.isGamestop},disabled:()=>!window.gamestop,connector:(e,t)=>O(window.gamestop,t),switchChain:e=>_(Object.assign(Object.assign({},e),{provider:e.provider||window.gamestop}))},At={type:exports.WalletType.Brave,showName:"Brave",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_3137_121266%29%22%3E%3Cpath%20d%3D%22M29.6863%2011.3521L28.6996%208.67214L29.3858%207.13367C29.429%207.03662%2029.4417%206.92881%2029.4225%206.82436C29.4033%206.71991%2029.353%206.6237%2029.2782%206.54834L27.4123%204.66226C27.0117%204.25582%2026.504%203.97153%2025.9481%203.84249C25.3923%203.71346%2024.8112%203.74498%2024.2726%203.9334L23.75%204.11505L20.8996%201.02691L16.0644%201H16.033L11.1665%201.03812L8.31828%204.15094L7.81144%203.97152C7.26932%203.78088%206.68406%203.74882%206.12435%203.87911C5.56465%204.00941%205.05372%204.29664%204.65153%204.70712L2.752%206.62907C2.69238%206.68915%202.65234%206.76586%202.63713%206.84911C2.62192%206.93237%202.63226%207.01828%202.66678%207.09555L3.38219%208.69232L2.3999%2011.3701L3.03458%2013.7854L5.92985%2024.7924C6.2634%2026.0603%207.03075%2027.1713%208.0985%2027.9321C8.0985%2027.9321%2011.6127%2030.4102%2015.0799%2032.6619C15.3541%2032.8808%2015.6945%2033%2016.0454%2033C16.3962%2033%2016.7366%2032.8808%2017.0108%2032.6619C20.9063%2030.1097%2023.9877%2027.9231%2023.9877%2027.9231C25.0547%2027.1619%2025.8212%2026.051%2026.1542%2024.7834L29.0337%2013.7719L29.6863%2011.3521Z%22%20fill%3D%22url%28%23paint0_linear_3137_121266%29%22%2F%3E%3Cpath%20d%3D%22M16.8402%2020.8365C16.6556%2020.7538%2016.4652%2020.6849%2016.2706%2020.6301H15.9274C15.7328%2020.6849%2015.5424%2020.7538%2015.3578%2020.8365L14.4944%2021.1953C14.2208%2021.3097%2013.7812%2021.5137%2013.5188%2021.6438L11.931%2022.4713C11.8735%2022.49%2011.8229%2022.5254%2011.7857%2022.5731C11.7485%2022.6208%2011.7265%2022.6785%2011.7224%2022.7388C11.7183%2022.7991%2011.7323%2022.8593%2011.7627%2022.9115C11.7931%2022.9638%2011.8384%2023.0057%2011.8929%2023.032L13.2721%2024.0053C13.5143%2024.1758%2013.8956%2024.4763%2014.1198%2024.6781L14.5078%2025.0123C14.7321%2025.2052%2015.0976%2025.5259%2015.3197%2025.7232L15.6875%2026.0484C15.8011%2026.1431%2015.9443%2026.1949%2016.0923%2026.1949C16.2402%2026.1949%2016.3834%2026.1431%2016.4971%2026.0484L16.8828%2025.712L17.6946%2025.0033L18.0849%2024.6624C18.3091%2024.4673%2018.6881%2024.1668%2018.9303%2023.9896L20.3096%2023.0029C20.3641%2022.9767%2020.4095%2022.9346%2020.4398%2022.8822C20.47%2022.8298%2020.4838%2022.7694%2020.4792%2022.7091C20.4746%2022.6487%2020.4518%2022.5912%2020.414%2022.544C20.3761%2022.4967%2020.3249%2022.4621%2020.267%2022.4444L18.6814%2021.6393C18.4168%2021.5048%2017.9772%2021.3029%2017.7014%2021.1908L16.8402%2020.8365Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.6182%2011.9512L26.663%2011.8077C26.6657%2011.6157%2026.6537%2011.4238%2026.6271%2011.2336C26.4936%2010.8939%2026.3221%2010.5704%2026.1158%2010.2692L25.2188%208.95278C25.0528%208.70609%2024.7702%208.31587%2024.5796%208.08488L23.3775%206.58005C23.2679%206.43338%2023.1488%206.29405%2023.0209%206.16292H22.9963C22.9963%206.16292%2022.7541%206.20553%2022.4625%206.26159L20.6258%206.61593L19.8207%206.77068C19.5534%206.78324%2019.2862%206.74441%2019.0335%206.6563L17.5825%206.18758C17.2999%206.09563%2016.8334%205.96332%2016.5441%205.90052C16.2393%205.86812%2015.9318%205.86812%2015.6269%205.90052C15.3376%205.9678%2014.8711%206.09788%2014.5885%206.18983L13.1375%206.66079C12.8849%206.74889%2012.6177%206.78772%2012.3504%206.77516L11.5453%206.62266L9.70627%206.27056C9.41473%206.2145%209.17476%206.16964%209.17252%206.17189H9.14785C9.02003%206.30301%208.90091%206.44236%208.79127%206.58902L7.59144%208.09384C7.40754%208.31811%207.11824%208.71731%206.95229%208.96176L6.05522%2010.2782C5.90029%2010.5052%205.75876%2010.7411%205.63136%2010.9846C5.55451%2011.2562%205.51379%2011.5367%205.51025%2011.8189L5.55511%2011.9624C5.5767%2012.0546%205.60442%2012.1453%205.63809%2012.2338C5.82423%2012.4581%206.14268%2012.8303%206.34677%2013.0479L9.48649%2016.385C9.59072%2016.5066%209.66047%2016.654%209.68847%2016.8118C9.71647%2016.9695%209.70171%2017.1319%209.64572%2017.282L9.13215%2018.4998C9.01537%2018.8224%209.00671%2019.1743%209.10748%2019.5023L9.21064%2019.7848C9.3792%2020.2438%209.66814%2020.6489%2010.0472%2020.9577L10.5405%2021.3592C10.6687%2021.4516%2010.8183%2021.51%2010.9752%2021.5288C11.1321%2021.5477%2011.2912%2021.5263%2011.4376%2021.4668L13.1914%2020.6303C13.5133%2020.4692%2013.8145%2020.2696%2014.0884%2020.036L15.4923%2018.7689C15.5483%2018.7184%2015.5935%2018.6572%2015.6253%2018.5889C15.6571%2018.5207%2015.6749%2018.4467%2015.6777%2018.3714C15.6804%2018.2961%2015.668%2018.221%2015.6411%2018.1506C15.6143%2018.0802%2015.5736%2018.0159%2015.5215%2017.9615L12.3526%2015.8265C12.2326%2015.7414%2012.1472%2015.616%2012.1118%2015.4732C12.0764%2015.3304%2012.0934%2015.1797%2012.1597%2015.0483L13.3887%2012.7384C13.4586%2012.597%2013.4999%2012.4432%2013.5103%2012.2858C13.5207%2012.1284%2013.5%2011.9705%2013.4493%2011.8211C13.2967%2011.5362%2013.0503%2011.3128%2012.7518%2011.1887L8.89891%209.73323C8.62082%209.62783%208.63652%209.50897%208.93031%209.49102L11.1932%209.26676C11.548%209.24419%2011.9042%209.27596%2012.2494%209.36095L14.2185%209.9104C14.3583%209.95254%2014.4781%2010.0439%2014.5556%2010.1677C14.6331%2010.2914%2014.6632%2010.439%2014.6401%2010.5832L13.8664%2014.8084C13.8147%2015.0424%2013.8018%2015.2833%2013.8283%2015.5215C13.8597%2015.6225%2014.1243%2015.7458%2014.4136%2015.8176L15.6134%2016.0732C15.9619%2016.1373%2016.3191%2016.1373%2016.6675%2016.0732L17.7462%2015.8288C18.0355%2015.7637%2018.2979%2015.6269%2018.3315%2015.526C18.3574%2015.2877%2018.3437%2015.0467%2018.2912%2014.8129L17.513%2010.5877C17.4899%2010.4435%2017.52%2010.2959%2017.5975%2010.1721C17.675%2010.0484%2017.7948%209.95702%2017.9346%209.91489L19.9036%209.36319C20.2489%209.27816%2020.6051%209.2464%2020.9599%209.269L23.2228%209.47981C23.5188%209.50672%2023.5323%209.61661%2023.2564%209.72202L19.4058%2011.182C19.1073%2011.3061%2018.8609%2011.5295%2018.7083%2011.8144C18.6062%2012.1161%2018.628%2012.446%2018.7689%2012.7317L20.0001%2015.0416C20.0664%2015.1729%2020.0834%2015.3237%2020.048%2015.4665C20.0127%2015.6093%2019.9272%2015.7347%2019.8072%2015.8198L16.6406%2017.9593C16.5884%2018.0137%2016.5478%2018.078%2016.5209%2018.1484C16.4941%2018.2188%2016.4817%2018.2939%2016.4844%2018.3692C16.4871%2018.4444%2016.5049%2018.5184%2016.5368%2018.5867C16.5686%2018.655%2016.6138%2018.7162%2016.6697%2018.7667L18.0759%2020.0338C18.3499%2020.2666%2018.6511%2020.4654%2018.9729%2020.6258L20.7267%2021.4601C20.8733%2021.5193%2021.0325%2021.5403%2021.1894%2021.521C21.3463%2021.5018%2021.4958%2021.443%2021.6238%2021.3502L22.1172%2020.9465C22.4966%2020.6371%2022.7856%2020.2312%2022.9537%2019.7714L23.0568%2019.4888C23.1576%2019.1608%2023.1489%2018.809%2023.0322%2018.4863L22.5163%2017.2686C22.4604%2017.1184%2022.4456%2016.9561%2022.4736%2016.7983C22.5016%2016.6406%2022.5713%2016.4932%2022.6756%2016.3715L25.8153%2013.0299C26.0194%2012.8057%2026.3356%2012.4468%2026.5217%2012.2159C26.5597%2012.1299%2026.5919%2012.0415%2026.6182%2011.9512Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_3137_121266%22%20x1%3D%222.40887%22%20y1%3D%2217.0014%22%20x2%3D%2229.6774%22%20y2%3D%2217.0014%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23F1562B%22%2F%3E%3Cstop%20offset%3D%220.3%22%20stop-color%3D%22%23F1542B%22%2F%3E%3Cstop%20offset%3D%220.41%22%20stop-color%3D%22%23F04D2A%22%2F%3E%3Cstop%20offset%3D%220.49%22%20stop-color%3D%22%23EF4229%22%2F%3E%3Cstop%20offset%3D%220.5%22%20stop-color%3D%22%23EF4029%22%2F%3E%3Cstop%20offset%3D%220.56%22%20stop-color%3D%22%23E83E28%22%2F%3E%3Cstop%20offset%3D%220.67%22%20stop-color%3D%22%23E13C26%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23DF3C26%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_3137_121266%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!1,supportExtension:!0,switchChain:_,link:"https://wallet-docs.brave.com/",injected:()=>{var e;return null===(e=window.ethereum)||void 0===e?void 0:e.isBraveWallet}},Bt={type:exports.WalletType.FoxWallet,showName:"FoxWallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.9519%2018.0638C13.0185%2018.0852%2013.0879%2018.1012%2013.1572%2018.1092C13.1572%2018.1092%2012.8665%2018.2185%2012.2665%2018.0132C12.2665%2018.0132%2011.8159%2017.8292%2011.4799%2017.8612C11.0879%2017.8958%2010.8185%2018.4052%2010.8185%2018.4052C10.8959%2018.3625%2010.9785%2018.3305%2011.0639%2018.3092C11.3305%2018.2558%2011.2399%2018.3012%2011.2399%2018.3012C11.2399%2018.3012%2010.7279%2018.5172%2010.6932%2018.7065C10.6852%2018.7545%2010.8292%2018.6185%2011.2079%2018.6318C11.6745%2018.6452%2012.0799%2018.9172%2012.2452%2018.9625C12.5865%2019.0532%2013.0745%2019.0745%2013.5252%2018.7225C13.5252%2018.7225%2013.9385%2018.4638%2014.0665%2017.9838C14.0985%2017.8505%2014.1199%2017.7145%2014.1252%2017.5785C14.1279%2017.4585%2014.1145%2017.3385%2014.0879%2017.2185C14.0852%2017.2158%2013.8425%2017.7785%2012.9519%2018.0638Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.7627%2023.3305C22.6667%2022.1971%2023.1573%2020.7918%2023.1573%2019.3411C23.1573%2017.8931%2022.664%2016.4851%2021.7627%2015.3518L27.552%2014.7145C27.552%2014.7145%2028.1547%2016.3651%2028.312%2017.2478C28.3333%2017.3598%2028.368%2017.5891%2028.368%2017.5891C28.368%2017.5891%2027.4693%2019.7705%2026.0907%2020.9678C24.24%2022.5785%2021.7627%2023.3305%2021.7627%2023.3305ZM8.05332%2023.2505L5.83466%2023.6611C5.13066%2021.8771%204.87199%2019.9491%205.08532%2018.0451C5.29599%2016.1385%205.97332%2014.3145%207.05066%2012.7305C7.09866%2012.6611%207.19466%2012.5251%207.19466%2012.5251L9.64532%2019.4291L8.05332%2023.2505Z%22%20fill%3D%22url%28%23paint0_linear_6878_209605%29%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16.0829%209.09051C16.0909%209.07984%2016.0962%209.07717%2016.1042%209.06651C16.1629%209.00251%2017.5415%207.52251%2015.8989%205.01317C14.6855%203.16517%2011.6002%203.21584%2010.3389%202.25317C10.4322%202.99451%2011.1575%203.66384%2011.0802%204.67717C11.0482%205.01317%2010.9869%205.34384%2010.8935%205.66651C10.7442%206.24517%2010.6055%206.79717%2010.8135%207.87717C10.9762%208.71984%2011.3602%209.33317%2011.9549%209.70384C12.6375%2010.1252%2013.5815%2010.2185%2014.5495%209.95717C15.1949%209.78117%2015.7709%209.45584%2016.0829%209.09051Z%22%20fill%3D%22url%28%23paint1_linear_6878_209605%29%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.1389%208.00793C18.4936%207.39727%2018.5603%206.68527%2018.3416%205.89593C18.0376%204.79193%2017.4616%204.0666%2016.9949%203.48527C16.8483%203.30127%2016.7123%203.1306%2016.6003%202.96793C16.1576%202.31727%2015.9656%201.52793%2016.0616%200.749268C15.4989%201.1546%2014.4163%201.91727%2013.7256%202.7306C14.7256%203.2106%2015.5069%203.73327%2016.1229%204.6746C17.1763%206.27993%2017.1576%207.57593%2016.9576%208.38127C16.9016%208.6026%2017.3256%208.79993%2017.2483%208.9706C17.6083%208.7146%2017.9096%208.3866%2018.1389%208.00793Z%22%20fill%3D%22url%28%23paint2_linear_6878_209605%29%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M25.8052%2014.6745C24.6292%2014.5625%2022.2479%2014.2718%2022.2479%2014.2718C16.8905%2013.9732%2013.8505%2015.5812%2011.5572%2017.6852C9.78653%2019.4452%208.20786%2024.0052%208.20786%2024.0052L6.29053%2023.9012C6.29053%2023.9012%206.90119%2022.0825%207.60786%2020.7572C8.41853%2019.2398%208.59986%2019.3625%208.41586%2019.1118C7.55986%2017.9358%207.15719%2017.0105%206.81319%2015.0318C6.81319%2015.0318%207.21586%2015.3492%207.51986%2015.1545C7.51986%2015.1545%206.82919%2013.9545%206.72253%2012.6585C6.53319%2010.3625%207.60786%207.22649%207.63453%207.15449C7.62386%207.18649%207.56786%207.45582%208.19719%207.85849C8.24253%207.66916%208.29053%207.48249%208.34119%207.30115C8.56253%206.21849%209.15719%203.85315%2010.3439%202.25049C10.3439%202.25049%2011.0079%204.56782%2012.6745%205.61849C15.9199%207.66649%2017.9519%207.67716%2017.9519%207.67716C22.5359%208.18916%2024.4932%2010.4398%2024.4932%2010.4398C27.7839%2013.9892%2030.7732%2013.9572%2030.7732%2013.9572C29.6985%2014.9838%2025.8052%2014.6745%2025.8052%2014.6745Z%22%20fill%3D%22url%28%23paint3_linear_6878_209605%29%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M30.8295%2013.9572C30.8295%2013.9572%2030.3628%2016.5385%2027.9175%2016.8398C27.9175%2016.8398%2019.0482%2016.7838%2018.4002%2024.8398L18.2508%2027.1038L7.61084%2024.0025C7.61084%2024.0025%208.61351%2020.5812%2010.8082%2017.8345C10.8082%2017.8345%2014.5335%2012.5732%2025.1468%2013.9598C25.1468%2013.9598%2026.3868%2014.2105%2028.1255%2014.3732C29.5922%2014.5092%2030.8295%2013.9572%2030.8295%2013.9572Z%22%20fill%3D%22url%28%23paint4_linear_6878_209605%29%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M24.7947%2012.728C24.7947%2012.728%2022.4907%2011.5307%2019.624%2011.6427C19.624%2011.6427%2021.184%2010.424%2023.2907%2010.7227L24.7947%2012.728Z%22%20fill%3D%22%23722B00%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.968%2023.7359C18.968%2023.7359%2019.7174%2024.2532%2020.9067%2023.9786C20.9067%2023.9786%2018.984%2025.0932%2014.9307%2023.5652C14.9307%2023.5652%2010.752%2021.6959%207.81069%2022.1226C5.92002%2022.3972%204.25069%2023.8986%203.23735%2025.0399C2.01602%2026.4212%202.16802%2025.7759%205.23735%2025.3946C5.97602%2025.3039%205.54935%2025.5119%205.54935%2025.5119C5.54935%2025.5119%201.45069%2027.2319%201.17335%2028.7599C1.10402%2029.1412%202.25335%2028.0639%205.28535%2028.1599C9.00802%2028.2772%2012.2454%2030.4372%2013.576%2030.7946C16.3014%2031.5226%2020.2107%2031.6906%2023.7974%2028.8772C23.7974%2028.8772%2027.1067%2026.7999%2028.1307%2022.9626C28.3974%2021.8986%2028.5547%2020.8079%2028.6%2019.7119C28.6534%2018.2826%2028.2187%2016.7786%2028.2187%2016.7786C28.2187%2016.7786%2025.8027%2022.1412%2018.968%2023.7359Z%22%20fill%3D%22url%28%23paint5_linear_6878_209605%29%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_6878_209605%22%20x1%3D%2216.4324%22%20y1%3D%2212.1528%22%20x2%3D%2216.8954%22%20y2%3D%2223.6425%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23DADB48%22%2F%3E%3Cstop%20offset%3D%220.6562%22%20stop-color%3D%22%23637621%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_6878_209605%22%20x1%3D%2216.7001%22%20y1%3D%226.18018%22%20x2%3D%2211.071%22%20y2%3D%226.18018%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23EC6F01%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F4B23D%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint2_linear_6878_209605%22%20x1%3D%2216.2435%22%20y1%3D%227.12663%22%20x2%3D%2215.9108%22%20y2%3D%221.69157%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23F4B33E%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FB6F1B%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint3_linear_6878_209605%22%20x1%3D%226.16155%22%20y1%3D%2212.2252%22%20x2%3D%2225.9606%22%20y2%3D%2220.045%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FB6D1A%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F3B23E%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint4_linear_6878_209605%22%20x1%3D%2210.5984%22%20y1%3D%2223.6578%22%20x2%3D%2229.3992%22%20y2%3D%2215.3943%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23F3B63F%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FB701C%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint5_linear_6878_209605%22%20x1%3D%228.65975%22%20y1%3D%2229.7403%22%20x2%3D%2224.9372%22%20y2%3D%2219.5912%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23EC6F00%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F4B33E%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!0,supportExtension:!1,switchChain:_,link:"https://foxwallet.com/",mobileDeepLink:"foxwallet://dapp?url=$APP_URL",injected:()=>{var e;return null===(e=window.foxwallet)||void 0===e?void 0:e.ethereum}},kt={type:exports.WalletType.BinanceChain,showName:"Binance Web3 Wallet",logo:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%227.5in%22%20height%3D%227.5in%22%20version%3D%221.1%22%20style%3D%22shape-rendering%3AgeometricPrecision%3B%20text-rendering%3AgeometricPrecision%3B%20image-rendering%3AoptimizeQuality%3B%20fill-rule%3Aevenodd%3B%20clip-rule%3Aevenodd%22%20viewBox%3D%220%200%207500%207500%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20%20%20%20%20.fil0%20%7Bfill%3Anone%7D%20%20%20%20%20%20%20%20%20%20%20%20.fil1%20%7Bfill%3A%234D4D4D%7D%20%20%20%20%20%20%20%20%20%20%20%20.fil2%20%7Bfill%3A%23F3BA2F%7D%20%20%20%20%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Layer_x0020_1%22%3E%20%20%20%20%20%20%20%20%3Cmetadata%20id%3D%22CorelCorpID_0Corel-Layer%22%2F%3E%20%20%20%20%20%20%20%20%3Crect%20class%3D%22fil0%22%20width%3D%227500%22%20height%3D%227500%22%2F%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22_2419820813232%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20class%3D%22fil1%22%20cx%3D%223750%22%20cy%3D%223750%22%20r%3D%223500%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22fil2%22%20d%3D%22M2779%203351l971%20-971%20971%20972%20565%20-565%20-1536%20-1537%20-1536%201536%20565%20565%200%200zm-1529%20399l565%20-565%20565%20565%20-565%20565%20-565%20-565zm1529%20399l971%20971%20971%20-972%20566%20565%200%200%20-1537%201537%20-1536%20-1536%20-1%20-1%20566%20-564%200%200zm2341%20-399l565%20-565%20565%20565%20-565%20565%20-565%20-565z%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22fil2%22%20d%3D%22M4380%203750l0%200%20-630%20-632%20-466%20467%200%200%20-54%2054%20-111%20111%20-1%201%201%201%20630%20630%20631%20-631%200%200%200%200%200%20-1zm0%200l0%200%200%200z%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3Cstyle%20xmlns%3D%22%22%3E%23yddContainer%7Bdisplay%3Ablock%3Bfont-family%3AMicrosoft%20YaHei%3Bposition%3Arelative%3Bwidth%3A100%25%3Bheight%3A100%25%3Btop%3A-4px%3Bleft%3A-4px%3Bfont-size%3A12px%3Bborder%3A1px%20solid%7D%23yddTop%7Bdisplay%3Ablock%3Bheight%3A22px%7D%23yddTopBorderlr%7Bdisplay%3Ablock%3Bposition%3Astatic%3Bheight%3A17px%3Bpadding%3A2px%2028px%3Bline-height%3A17px%3Bfont-size%3A12px%3Bcolor%3A%235079bb%3Bfont-weight%3Abold%3Bborder-style%3Anone%20solid%3Bborder-width%3A1px%7D%23yddTopBorderlr%20.ydd-sp%7Bposition%3Aabsolute%3Btop%3A2px%3Bheight%3A0%3Boverflow%3Ahidden%7D.ydd-icon%7Bleft%3A5px%3Bwidth%3A17px%3Bpadding%3A0px%200px%200px%200px%3Bpadding-top%3A17px%3Bbackground-position%3A-16px%20-44px%7D.ydd-close%7Bright%3A5px%3Bwidth%3A16px%3Bpadding-top%3A16px%3Bbackground-position%3Aleft%20-44px%7D%23yddKeyTitle%7Bfloat%3Aleft%3Btext-decoration%3Anone%7D%23yddMiddle%7Bdisplay%3Ablock%3Bmargin-bottom%3A10px%7D.ydd-tabs%7Bdisplay%3Ablock%3Bmargin%3A5px%200%3Bpadding%3A0%205px%3Bheight%3A18px%3Bborder-bottom%3A1px%20solid%7D.ydd-tab%7Bdisplay%3Ablock%3Bfloat%3Aleft%3Bheight%3A18px%3Bmargin%3A0%205px%20-1px%200%3Bpadding%3A0%204px%3Bline-height%3A18px%3Bborder%3A1px%20solid%3Bborder-bottom%3Anone%7D.ydd-trans-container%7Bdisplay%3Ablock%3Bline-height%3A160%25%7D.ydd-trans-container%20a%7Btext-decoration%3Anone%3B%7D%23yddBottom%7Bposition%3Aabsolute%3Bbottom%3A0%3Bleft%3A0%3Bwidth%3A100%25%3Bheight%3A22px%3Bline-height%3A22px%3Boverflow%3Ahidden%3Bbackground-position%3Aleft%20-22px%7D.ydd-padding010%7Bpadding%3A0%2010px%7D%23yddWrapper%7Bcolor%3A%23252525%3Bz-index%3A10001%3Bbackground%3Aurl%28chrome-extension%3A%2F%2Feopjamdnofihpioajgfdikhhbobonhbb%2Fab20.png%29%3B%7D%23yddContainer%7Bbackground%3A%23fff%3Bborder-color%3A%234b7598%7D%23yddTopBorderlr%7Bborder-color%3A%23f0f8fc%7D%23yddWrapper%20.ydd-sp%7Bbackground-image%3Aurl%28chrome-extension%3A%2F%2Feopjamdnofihpioajgfdikhhbobonhbb%2Fydd-sprite.png%29%7D%23yddWrapper%20a%2C%23yddWrapper%20a%3Ahover%2C%23yddWrapper%20a%3Avisited%7Bcolor%3A%2350799b%7D%23yddWrapper%20.ydd-tabs%7Bcolor%3A%23959595%7D.ydd-tabs%2C.ydd-tab%7Bbackground%3A%23fff%3Bborder-color%3A%23d5e7f3%7D%23yddBottom%7Bcolor%3A%23363636%7D%23yddWrapper%7Bmin-width%3A250px%3Bmax-width%3A400px%3B%7D%3C%2Fstyle%3E%3C%2Fsvg%3E",supportChains:[exports.ChainId.MAINNET,exports.ChainId.BSC,exports.ChainId.OPTIMISM,exports.ChainId.ARBITRUM_ONE,exports.ChainId.POLYGON,exports.ChainId.AVALANCHE,exports.ChainId.CONFLUX,exports.ChainId.AURORA],link:"https://www.bnbchain.world/en/binance-wallet",supportMobile:!0,disabled:()=>!1,injected:()=>{var e;return null===(e=window.ethereum)||void 0===e?void 0:e.isBinance},connector:(e,t)=>ce(e,t),switchChain:e=>{var t;return _(Object.assign(Object.assign({},e),{provider:null!==(t=e.provider)&&void 0!==t?t:I.getState().provider}))}},It={type:exports.WalletType.kuCoinWallet,showName:"Halo Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Crect%20width%3D%2231.9003%22%20height%3D%2232%22%20fill%3D%22url%28%23pattern0%29%22%2F%3E%3Cdefs%3E%3Cpattern%20id%3D%22pattern0%22%20patternContentUnits%3D%22objectBoundingBox%22%20width%3D%221%22%20height%3D%221%22%3E%3Cuse%20xlink%3Ahref%3D%22%23image0_5586_181316%22%20transform%3D%22scale%280.003125%200.00311526%29%22%2F%3E%3C%2Fpattern%3E%3Cimage%20id%3D%22image0_5586_181316%22%20width%3D%22320%22%20height%3D%22321%22%20xlink%3Ahref%3D%22data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAUAAAAFBCAMAAAAxEoY9AAAAh1BMVEUAAAAIwoMIwoQIwoMMv4AHwoQIwoQIwYIIv4AIv4MFv4UIwoUHwoQIwYMGwIMHwoQIxIMIv4QLv4UIwoT%2F%2F%2F%2Fg%2BPDB8ODv%2B%2FgXxotl2bInyZOD4cInypNG0aOT5ck2zZui6NF03brw%2B%2FfQ9Oh03Lmy7NlV1qvR9OhG0aKj6NF13bpF0aKi6NBpmcGFAAAAE3RSTlMA37%2BAEO%2BgYCBAMLBwkFDQkHAwbIn3WAAADpZJREFUeNrs2Q1uwjAMBWAndv4ziJT733VogwkNxtq57aB53xGe7NhuaQEScwqhMnvviz0xF%2F0pmLOjPSnee%2BYaDilFoX8lOdTmj8b112VsafWQhTYWQytPUl7LcLYdMm0jsX3lmnuYIidalwS%2F0%2FAuXAlCa0ll5%2Bmd%2BUQrEB4jvQ8mRMSnYzgiPm2EQgsJA8b32ci0hGz7sEwkLXnrQ2PSybu6N7YvwtpBUYRx4Nfvmo1oXx2T6Q%2FqoMvLXZVm4w6ah3Dw7eVWo1l8h288TScYv3dYoamQ310W%2FavkMT%2BUGvYXJcb5u%2FZGnTs84jI9FHH%2F%2FsJELDA6FgNkvWcwdpgg00%2FwAE5iBA2s09DAShkNvMIkDh0mC3RDUIAzOMEE0WHccDpO8BFVh1GAOk4wgnUYO6COoyupw2wJI0Sn0BfpMJ8TjJCl7rnSQfWf%2FZ1dO8FtGwaiAIqsbrYW6Hwu2k07khs49z9fC6SNndQxyRlRptK%2BEwgfQ86Q4v%2BXgCxXJ%2BnBtmwK1z71eqOUwQullNb9U%2BWGpqQEbNFuFACl24FGdDPtPUJZuKeNgs9Gt66xNJ5tb7BjliWN5WKqf5m2%2BxWdQQyj26GjEdQa740W4fkUW6AdWm3AY3TVkIwz%2BNvK0QheN8HvlIrdthtIadcRl33GYS2N4uWVwldKwjptMA61HCwx2A0%2BsqQxLJK9B7ROY1y6KClWD6RN8CFBD%2FGkJ8vQUowKxziSu0vRQ7YayZhlE%2FEhOK4ksbPRbxJsZZCWCl7KCsdpkrsUnUN4xScXVoYFfByJ3Y7YhK1bYyq6IC8Fn5UlqQX3UbRw7copX4Q%2F4NeS1D1rijl9fAERtgjQkNBD%2FGVgJvF5I1wjgCahu9gxMKP4PBEiSEEy3%2BR%2FNAcFhuQRdgiiLDHtBkGS2GqcWl9SdA%2FZqUhGNkfbFjlYltwA5aPMpeRhrzPIgyqYAcpL8Av%2FIFKffvUeWccdpinB25AA8y6%2Fw5VUY5oSvOGe5J6RG1XSPjNNCS48rxLmk9%2F7y4F%2BmhJc8I7CeXTfozvhIyYpwXvWT2GHTKmB%2FrAGoR6J74ITYJ1Z%2F9hXMVbJmvguOE8Dl8iYLqP7MBpiu2YEWCNrqosuQU0erADnWYB73dgqhLLEdc24zcp4B3y7ETYTTDJ38QEOyF%2F%2FUlIagVbEdf5xgDObAQ8dS2ojaiOJAszpDsGXYCVrI2kCVJgF1UVN05Z4zuNv9DETqy6mBB%2BJ5%2BzzBohVQWSNYA3%2F6wECRUQJluQRFeAn2AN%2FJ2gNfxRMFOAaM1JQxV%2FDkgDnPge%2Baqxh9%2BFEARaYk1VXsftwogBt%2FmfhtwmK1rA%2FQDps9keRV2qd8mb%2FihFgg1Bzatjc87AnQEEJmqqbV4AtMbACrIPis928Nsuf3JwJjtswDEV7hy95d5yJm3S9%2F%2FlatBgYBdoQzBNtq%2B8AE82TaFKrY2uECtTXZOvTt8r8OQoZLFBXS19t1c4vHnLABHbrU33VVYvOjyAXqK7597ZifdW2oxJkAu2LaHmucLYCPoJAoOb8lyD43YTa8u87ixxggVL%2FrnB7jaBqf87pMBcozZf13d797T0AppzK0Obc%2FGTNe3XIVX4%2BiLLM87wMksr5a5tL%2Fxj%2B%2FJG3S4M98lLaFMjpMpT35W3QP1j6e6xEOYkQeE%2BA9jLLYL7mFMYgFxECR25PtsMURC8XAQLfXtc3Oqqwqc8pglEOIgQu6UVyLychCq9ywwWKJ%2BDWUYCFKlzlhgvki%2F1jp5foxlSYm5xwgTyBNIMcBF836%2BSgtMAHj14%2FX9t0WB3DBfIP4Kch4GcBDznAAnkFfenEGY8pBLlAXgGi8LW3aCJbxAXyyyPtokKU2z%2B9yAESyA%2B95UEA9CHklXRxgWOkvx0N3uWgoMAp1t9%2BBhs5KCiwCfa3m8EsD8UE9sf7k6a2WoH%2Bzl8UwFKtwCuotkrydf%2FVBCAQZJBRQVwSRk78AvkcLiuKbk1POKtAbwZpBwFAIjmrwJwcoA8g%2FAyeVKB3ADYCoIr0pAJz8jEIgIL4nAK9A3AUgszKzykwJxe5E6bcPaAT1IHeAdiLUTiPHD8TyaB9UeSKBJ5wALoadfhyVvgAHOZ5kZe2GoHRA3DMxrkZmIgPX5FukgGqAadPxvIhTsRH74l8Dm3dlN0LsHxVZpQBEMjXAWdtOPz5Dc7JwXH7whMrEWx%2FhkGeRg4%2B2tGjCLb9GQZZDPMg4QIzaZztzzbIY%2FjQ01mfyTTT9gcMghiWARCIU8hdG7Y%2FYBA8FJ5lAATiYqvXhumPGvyYDMBEBAhEM85FG5Y%2FYBC9NHyRARBIZyE3bZj%2BuEEjPmgZyAVOIDpMf7ZB1r%2B8UOACexAdhj9gkFWC8Xfl7B4m0bH5sw2iDuaVFhfYkeiw%2FXGDj4AkTATy9i2Swx82OIUmYS7wmrzI5Y8bTAZoKYELzMnJrejfzJ0C6pgdX%2B34nLxkFf3sjwLdAToZCIQzpVUWGf2v%2FK3cXV8uamDj%2BAHdATQRr%2BdzgbR3%2BVdhBgLpPIQL%2FPx%2FCpQBEMg3XhuVLdwW7fSVAQJB48KTSJZAEgGTTSCQ1VhZUsFh3csiJx%2FBr%2FjaCZPXWCvpDt7JWQZQoD0Rrnwqd5UBEsjX2gYZsMUEHiW9XiDgIW4wUSfLWbzS6mQABOIcYnQwX1Dlk81GBkygvZha%2B5J%2BLwMm0I6O2jeVBhkwgXZ0VL6t2ciEC9yig6bh8I31JSCCgUAQHcZMKepoRx%2BXg7nANW2AQjX0cNE9oHFYoF3j13u8bZYBEOhadzrJAUtvoZBlAASCxoFdV3jE9xqXQrjARyoYw%2ByQ%2BRkuMRsC3WXgKa45RF5g4QLHFBbD%2FKJN%2FAUWLvB7epVbJw9TdvgjaW6VARBISiy%2B8drn52%2Bcn%2BESriGQTUT42Yllngf9kzPcAi8vsLoL16RRzwWe4Ub9U04wAJlAP28qyBkGoCHQmGayRMw5wQA0BJK1hEoe3ulF2F%2FgbVAA5BIzIlZgDY%2BP%2FeDu3nabiKEoDDspFCoQSKztsT2eQ46NoLz%2F80EbKlFVUG%2BvJtnud181%2BjM%2BjDNKEii1Ac2uI%2BszX4B1Ae0O4iGc%2BwLkA%2BodcDL%2B3PMJEZAw4USyKPUgVe4DjU6Da1FagXWeOxGrX8Tte7BqA1pcSAZ%2FgaONcwU0%2BWMEHXh1x1kWC%2Br7SQ9e3Ym0wYIV%2FTLAq%2FtMxF7Bin4eDCbgJK%2FEz3glc5ALDWDqc2Ez%2B8H1eY%2FV2IBJ%2FmbgdHC64JlQ%2FbMxZibC4UD8Wxr7dBZvswZlHaTCLQhswCgUCz%2BPm0GgAyLIPQMzYczh8udp%2FCO%2BwvMJFVK4%2FAa0KuBPEbl8wuRtHAU5qGU5BZ96FGAG79EOHD5gkhNZjShyNwU7H0w7qA1yMv7lhnc5CGEPFh8Qckphn2b8Q5%2B%2BB6H4CBofcCsnFrppPT7J2I9p6sKr3vjEeRzHGXp8wJ9yHsEfut8OPrz2jWNc74McHaYROnzAnbQpzHgwTIHZQ%2FEBR2nTsV%2FM8owfoUAHjNKkhHt3nt3d8AHRSYMS%2Fnv6sI9QIANO0p700g3MQVGQDXgrzUnHfMSDHuqAb2kSDKnk9GGNCg41ttKUMMccqAdO9AHf0iToxz%2F57HwRd1s7wYOUGqHm3qNCDFLk4KUpHdTcAjU6KTMGackmQmlRGXAnZfLcVsEEBSZgLH5L29ozTniGCsiP4YwkDdlCgQqYiy%2FBpgp6KFABBymU0FRBKCgCEmN4E5sqCAUu4E4KZQDtrMVQWrgl6kQptIkA5kZ21B5Ky4KA7KlqBoChjYIdFMiAoxTa9O0UnKBABkTQva1xL%2FbdQmnpPqFWllLj4x%2BYF6G0dNeoFaWUj3jwQ4xbQeuaCIhOVOtIA4txDwU%2B4Kh%2FZYPpDwNWULt2V6i3Va1u5ifC0EPtigq4E9Vu%2BujW7DDeQe%2FKfUa9GGpe3GD0wYYJFT67DyBkKbUHYHsYr1DjgyIgdQlu8MjobckKVb64GzCyZh22fBHuUOfGfYMCcQnOuGd0JuxmVLpxH0HJmtu5p5KVcRx2qPbRvQMlhuqAGFZiwSqi3jvnwMmqgPbGcTeC4ZxbgBK9Zg60No59AmXhnPsKTpIiAMwlDDmCs3TOfQKpkwJbPLCU8Fc7d4ObOAxEAfjFdn6cEFA1xHFIQ4tQWbH3P%2BAWKJtdFVFiO5TCfDfgaSZjT4A%2BPncFgJI8dQPvSbcRYR%2BfjxLAhHy9OsyQgRHeZnxEEwAp%2BbJ1iNeFzfVWhb9WlsKYAn5XkUtX9Q1doLvOudB0FIwGoMifCfS%2B%2Bnn0Tq7bBQWk8C4iby8eT8De%2BGVoOkshxYDvOeaiJm5pCNuY%2BRjMylJgAjsleTs%2FiQ0N9Rw8Q9MuKLwSOyn5O5Og44%2FQbPNazcOow9deP4T7MexrOT%2FtzZKrrvUvxPWyszSWHHsxBfG7DrXq7e1DrN3D21gaUYwDQSGc3O%2BZBQXwslkOTXG9XXWWRiZwICmU%2FyOsTUfhvHSrpanmX6nX27ZZ0FVIHGgKx24On7JaLxtLI1h0m1W7fTOm6v%2FMo6oq87Zdts1mYemKND7ExBzEOEqIOShwlBJzkOJIcQ%2B7UPhLEBssQU8TG2yKdzyHnUX4lyTmMkJ4jDiLMnAJeo4QLkHPAuQS9CABLkEPkcInT8RcRjBfR%2FzOgHwdcZHhpJKYwwTpqYjYpQ3MTRyggXkS%2BzUwT2InAudk%2FBgcdIf7LCd2Vo49fgw6muAT3ioEGiD8lvhrJcAJekhwGTUjdsIM4AQ9zBR2uItD9y9vZlzy49OM%2F%2FmFT9QDTOAg53vxhyiHk4x3M3siwxE%2FCEdoX15vnRVp7HERuikVdrgI3QiNENIHjTCeIBAlHzDCWCqEkyUPFmEfXyjZIzVyH19Q08fY0cRCYywqLe78a4RxkSqMS0txpyHGQmpcR56W95ViJMo0x5UpPZVlIX70bIlmRfmU5grfSmVaT1MpZZIkYic6uJkajT7MhBBFkiRSPqWpzjMF9u3%2BAIgAByAE7Z9hAAAAAElFTkSuQmCC%22%2F%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!0,link:"https://halo.social/",disabled:()=>{var e;return!(null!==(e=window.haloEthereum)&&void 0!==e?e:window.kucoin)},injected:()=>{var e,t;return(null===(e=window.ethereum)||void 0===e?void 0:e.isKuCoinWallet)||(null===(t=window.ethereum)||void 0===t?void 0:t.isHaloWallet)},connector:(e,t)=>{var o;return O(null!==(o=window.haloEthereum)&&void 0!==o?o:window.kucoin,t)},switchChain:e=>{var t;return _(Object.assign(Object.assign({},e),{provider:e.provider||(null!==(t=window.haloEthereum)&&void 0!==t?t:window.kucoin)}))}},Ot={type:exports.WalletType.Coin98,showName:"Coin98",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M26.1569%200H5.84389C2.60226%200%200%202.6016%200%205.8432V26.1568C0%2029.3984%202.60226%2032%205.84389%2032H26.1561C29.3522%2032%2032%2029.3984%2032%2026.1568V5.8432C32%202.6016%2029.3985%200%2026.1569%200ZM21.2273%207.9888C23.601%207.9888%2025.5183%209.9056%2025.5183%2012.28C25.5183%2013.0096%2025.3353%2013.6944%2025.0156%2014.3336C24.4681%2013.9232%2023.8751%2013.5576%2023.2357%2013.3296C23.418%2013.0096%2023.5099%2012.6448%2023.5099%2012.28C23.5099%2011.0472%2022.5053%2010.0432%2021.2729%2010.0432C20.0397%2010.0432%2019.0358%2011.0472%2019.0358%2012.28C19.0358%2012.6448%2019.127%2013.0096%2019.31%2013.3296C18.6706%2013.5576%2018.0312%2013.8776%2017.5293%2014.3336C17.1641%2013.6944%2017.0266%2013.0096%2017.0266%2012.2792C16.9363%209.9056%2018.8536%207.9888%2021.2273%207.9888ZM10.7727%2024.0112C8.3998%2024.0112%206.48247%2022.0944%206.48247%2019.7208H8.53648C8.53648%2020.9528%209.54109%2021.9576%2010.7735%2021.9576C12.0059%2021.9576%2013.0105%2020.9528%2013.0105%2019.7208H15.0645C15.0645%2022.0944%2013.1464%2024.0112%2010.7727%2024.0112ZM10.7727%2017.9856C8.03456%2017.9856%205.79755%2015.7488%205.79755%2013.0096C5.79755%2010.2712%208.03456%207.9888%2010.7735%207.9888C13.5124%207.9888%2015.795%2010.2256%2015.795%2013.0096C15.7494%2015.7488%2013.5116%2017.9856%2010.7727%2017.9856ZM21.2273%2024.0112C18.4884%2024.0112%2016.2058%2021.7744%2016.2058%2019.0352C16.2058%2016.2512%2018.4428%2014.0144%2021.2273%2014.0144C23.9662%2014.0144%2026.2032%2016.2512%2026.2032%2019.036C26.2032%2021.7744%2023.9662%2024.0112%2021.2273%2024.0112ZM24.194%2018.9904C24.194%2020.6336%2022.8705%2021.9112%2021.2273%2021.9112C19.5841%2021.9112%2018.2598%2020.588%2018.2598%2018.9904C18.2598%2017.3464%2019.5841%2016.0224%2021.2273%2016.0224C22.8705%2016.0688%2024.194%2017.392%2024.194%2018.9904ZM13.6946%2013.0096C13.6946%2014.6536%2012.3711%2015.9776%2010.7279%2015.9776C9.08395%2015.9776%207.76043%2014.6536%207.76043%2013.0096C7.76043%2011.3664%209.08395%2010.0424%2010.7279%2010.0424C12.4167%2010.0424%2013.6946%2011.3664%2013.6946%2013.0104V13.0096Z%22%20fill%3D%22%23D9B432%22%2F%3E%3C%2Fsvg%3E",supportMobile:!0,link:"https://coin98.com/wallet",disabled:()=>{var e,t;return!((null===(e=window.coin98)||void 0===e?void 0:e.provider)||(null===(t=window.ethereum)||void 0===t?void 0:t.isCoin98))},injected:()=>{var e;return null===(e=window.ethereum)||void 0===e?void 0:e.isCoin98},connector:(e,t)=>{var o;return O(null===(o=window.coin98)||void 0===o?void 0:o.provider,t)},switchChain:e=>{var t;return _(Object.assign(Object.assign({},e),{provider:e.provider||(null===(t=window.coin98)||void 0===t?void 0:t.provider)}))}},Mt={type:exports.WalletType.frontier,showName:"Frontier",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M32%2016C32%207.16344%2024.8366%200%2016%200C7.16344%200%200%207.16344%200%2016C0%2024.8366%207.16344%2032%2016%2032C24.8366%2032%2032%2024.8366%2032%2016Z%22%20fill%3D%22%23CC703C%22%2F%3E%3Cpath%20d%3D%22M23.3502%208L23.2615%208.23476L22.971%208.9853L22.778%209.46909C21.3121%2013.0968%2020.1721%2014.8183%2018.9598%2014.8183C18.6535%2014.8264%2018.3488%2014.7706%2018.0652%2014.6546C17.7816%2014.5385%2017.5253%2014.3646%2017.3127%2014.1441L17.158%2014.0038C16.773%2013.6485%2016.611%2013.5609%2016.2402%2013.5609C16.0472%2013.5609%2015.7015%2013.807%2015.2647%2014.3853C14.6796%2015.214%2014.182%2016.1012%2013.7801%2017.0326L13.7308%2017.1418H18.9308L18.2832%2018.4879H13.428V24H12V8H23.3502ZM21.3268%209.34359H13.428V14.6751C14.3744%2013.0338%2015.2741%2012.2099%2016.2417%2012.2099C16.5671%2012.1995%2016.8911%2012.2568%2017.1932%2012.3781C17.4953%2012.4994%2017.7689%2012.6821%2017.9966%2012.9147L18.1562%2013.0594C18.5156%2013.3911%2018.654%2013.4674%2018.9612%2013.4674C19.2991%2013.4679%2020.1977%2012.0406%2021.3268%209.34359Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E",link:"https://www.frontier.xyz/download",injected:()=>{var e;return null===(e=window.ethereum)||void 0===e?void 0:e.isFrontier},disabled:()=>{var e;return!(null===(e=window.frontier)||void 0===e?void 0:e.ethereum)},connector:(e,t)=>{var o;return O(null===(o=window.frontier)||void 0===o?void 0:o.ethereum,t)},switchChain:e=>{var t;return _(Object.assign(Object.assign({},e),{provider:e.provider||(null===(t=window.frontier)||void 0===t?void 0:t.ethereum)}))}},St={type:exports.WalletType.LedgerUSB,showName:"Ledger",logo:"data:image/svg+xml,%3Csvg%20width%3D%22146%22%20height%3D%22128%22%20viewBox%3D%220%200%20146%20128%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M90.262%20119.94V127.998H145.57V91.6548H137.511V119.94H90.262ZM90.262%200V8.05844H137.511V36.3452H145.57V0H90.262ZM63.4464%2036.3452H55.3879V91.6529H91.7332V84.3842H63.4464V36.3452ZM0%2091.6548V128H55.3076V119.94H8.05844V91.6548H0ZM0%200V36.3452H8.05844V8.05844H55.3076V0H0Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E",supportChains:[exports.ChainId.MAINNET,exports.ChainId.BSC,exports.ChainId.POLYGON],disabled:()=>!y(),getPackage:G,connector:e=>u(void 0,void 0,void 0,(function*(){return y()&&e?(yield G()).default(e):void 0})),needReadProvider:!0},_t={type:exports.WalletType.openBlock,showName:"OpenBlock",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M22.4526%204.41003C27.117%204.41003%2030.8983%208.19129%2030.8983%2012.8557V13.0548L27.9485%2016.0021L30.8983%2018.9466V19.1486C30.8983%2023.813%2027.117%2027.5943%2022.4526%2027.5943H1.08997L7.91802%2022.6262H19.3062C22.9645%2022.6262%2025.9302%2019.6605%2025.9302%2016.0021C25.9302%2012.3438%2022.9645%209.37809%2019.3062%209.37809H7.91802L1.08997%204.41003H22.4526ZM9.50802%2013.1867C7.95322%2013.1867%206.69279%2014.4472%206.69279%2016.002C6.69279%2017.5568%207.95319%2018.8172%209.50802%2018.8172H19.316C20.8708%2018.8172%2022.1312%2017.5568%2022.1312%2016.002C22.1312%2014.4472%2020.8708%2013.1867%2019.316%2013.1867H9.50802Z%22%20fill%3D%22%234A3DE6%22%2F%3E%3C%2Fsvg%3E",supportChains:[exports.ChainId.MAINNET,exports.ChainId.GOERLI,exports.ChainId.BSC,exports.ChainId.POLYGON,exports.ChainId.ARBITRUM_ONE,exports.ChainId.OKCHAIN,exports.ChainId.OPTIMISM,exports.ChainId.AVALANCHE],link:"https://openblock.com/#/download",disabled:()=>!window.openblock,connector:(e,t)=>O(window.openblock,t),switchChain:e=>_(Object.assign(Object.assign({},e),{provider:e.provider||window.openblock}))},Pt={type:exports.WalletType.OneKey,showName:"OneKey",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_3105_80246%29%22%3E%3Cpath%20d%3D%22M32%2016C32%2027.0458%2027.0458%2032%2016%2032C4.95431%2032%200%2027.0458%200%2016C0%204.95431%204.95431%200%2016%200C27.0458%200%2032%204.95431%2032%2016Z%22%20fill%3D%22%2344D62C%22%2F%3E%3Cpath%20d%3D%22M17.4456%206.78467H12.9945L12.2136%209.14578H14.6858V14.1196H17.4456V6.78467Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.0764%2020.1391C21.0764%2022.9426%2018.8035%2025.2153%2016%2025.2153C13.1964%2025.2153%2010.9238%2022.9426%2010.9238%2020.1391C10.9238%2017.3355%2013.1964%2015.0629%2016%2015.0629C18.8035%2015.0629%2021.0764%2017.3355%2021.0764%2020.1391ZM18.7718%2020.1391C18.7718%2021.67%2017.5309%2022.9109%2016%2022.9109C14.4693%2022.9109%2013.2284%2021.67%2013.2284%2020.1391C13.2284%2018.6084%2014.4693%2017.3673%2016%2017.3673C17.5309%2017.3673%2018.7718%2018.6084%2018.7718%2020.1391Z%22%20fill%3D%22black%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_3105_80246%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",link:"https://onekey.so",supportMobile:!0,injected:()=>{var e;return null===(e=window.ethereum)||void 0===e?void 0:e.isOneKey},disabled:()=>{var e,t;return!(null!==(t=null===(e=window.$onekey)||void 0===e?void 0:e.ethereum)&&void 0!==t?t:window.onekey)},connector:(e,t)=>{var o,n;return O(null!==(n=null===(o=window.$onekey)||void 0===o?void 0:o.ethereum)&&void 0!==n?n:window.onekey,t)},switchChain:e=>{var t,o;return _(Object.assign(Object.assign({},e),{provider:e.provider||(null!==(o=null===(t=window.$onekey)||void 0===t?void 0:t.ethereum)&&void 0!==o?o:window.onekey)}))}},Lt={type:exports.WalletType.Bitkeep,showName:"Bitget Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_4482_24780%29%22%3E%3Cmask%20id%3D%22mask0_4482_24780%22%20style%3D%22mask-type%3Aluminance%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2232%22%20height%3D%2232%22%3E%3Cpath%20d%3D%22M29.44%200H2.56C1.14615%200%200%201.14615%200%202.56V29.44C0%2030.8538%201.14615%2032%202.56%2032H29.44C30.8538%2032%2032%2030.8538%2032%2029.44V2.56C32%201.14615%2030.8538%200%2029.44%200Z%22%20fill%3D%22white%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url%28%23mask0_4482_24780%29%22%3E%3Cpath%20d%3D%22M29.44%200H2.56C1.14615%200%200%201.14615%200%202.56V29.44C0%2030.8538%201.14615%2032%202.56%2032H29.44C30.8538%2032%2032%2030.8538%2032%2029.44V2.56C32%201.14615%2030.8538%200%2029.44%200Z%22%20fill%3D%22%2354FFF5%22%2F%3E%3Cg%20filter%3D%22url%28%23filter0_f_4482_24780%29%22%3E%3Cpath%20d%3D%22M1.68486%2024.826C-3.66616%2039.8807%2024.9574%2035.6286%2039.9381%2031.6209C55.2704%2026.5327%2044.6731%204.10367%2033.6766%203.60729C22.6801%203.11088%2035.04%2013.9784%2025.6992%2017.0823C16.3583%2020.1862%208.37363%206.00761%201.68486%2024.826Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3Cg%20filter%3D%22url%28%23filter1_f_4482_24780%29%22%3E%3Cpath%20d%3D%22M10.6888%20-5.72745C7.88183%20-13.3967%20-2.11506%20-2.99905%20-6.76264%203.15841C-11.1958%209.85638%200.375973%2015.6443%204.9149%2012.505C9.45385%209.36571%200.971613%208.75491%203.67115%204.6727C6.37069%200.590466%2014.1975%203.85906%2010.6888%20-5.72745Z%22%20fill%3D%22%2300FFF0%22%20fill-opacity%3D%220.67%22%2F%3E%3C%2Fg%3E%3Cg%20filter%3D%22url%28%23filter2_f_4482_24780%29%22%3E%3Cpath%20d%3D%22M12.0598%2028.1776C8.23109%2015.2951%20-8.26041%2022.0793%20-16.0276%2027.0817C-23.4988%2033.0049%20-5.75907%2050.0432%201.60888%2049.1716C8.97682%2048.3001%20-4.30167%2040.8829%200.248192%2037.271C4.79805%2033.6592%2016.8456%2044.2809%2012.0598%2028.1776Z%22%20fill%3D%22%239D81FF%22%2F%3E%3C%2Fg%3E%3Cg%20filter%3D%22url%28%23filter3_f_4482_24780%29%22%3E%3Cpath%20d%3D%22M35.2648%20-13.419C27.0056%20-23.2538%2015.1825%20-15.1211%2010.3034%20-9.82547C6.03395%20-3.83046%2028.0341%207.15403%2034.1399%205.27156C40.2457%203.38906%2025.8137%20-0.506166%2028.4119%20-4.16087C31.0101%20-7.81557%2045.5886%20-1.12558%2035.2648%20-13.419Z%22%20fill%3D%22%234D94FF%22%2F%3E%3C%2Fg%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M11.6484%2019.1045H17.084L10.9009%2012.8814L17.1635%206.65828L18.8692%205H13.2272L6.04181%2012.2222C5.67918%2012.5862%205.68104%2013.1752%206.04552%2013.5373L11.6484%2019.1045ZM14.9161%2012.8959H14.8742L14.9156%2012.8954L14.9161%2012.8959ZM14.9161%2012.8959L21.0987%2019.1185L14.8361%2025.3417L13.1304%2026.9999H18.7724L25.9578%2019.7782C26.3204%2019.4142%2026.3185%2018.8252%2025.9542%2018.463L20.3512%2012.8959H14.9161Z%22%20fill%3D%22black%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cdefs%3E%3Cfilter%20id%3D%22filter0_f_4482_24780%22%20x%3D%22-11.2804%22%20y%3D%22-8.71689%22%20width%3D%2271.195%22%20height%3D%2256.4289%22%20filterUnits%3D%22userSpaceOnUse%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in%3D%22SourceGraphic%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22shape%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%226.15386%22%20result%3D%22effect1_foregroundBlur_4482_24780%22%2F%3E%3C%2Ffilter%3E%3Cfilter%20id%3D%22filter1_f_4482_24780%22%20x%3D%22-20.0641%22%20y%3D%22-20.7481%22%20width%3D%2243.9494%22%20height%3D%2246.4387%22%20filterUnits%3D%22userSpaceOnUse%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in%3D%22SourceGraphic%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22shape%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%226.15386%22%20result%3D%22effect1_foregroundBlur_4482_24780%22%2F%3E%3C%2Ffilter%3E%3Cfilter%20id%3D%22filter2_f_4482_24780%22%20x%3D%22-30.1349%22%20y%3D%228.45498%22%20width%3D%2255.6066%22%20height%3D%2253.0563%22%20filterUnits%3D%22userSpaceOnUse%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in%3D%22SourceGraphic%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22shape%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%226.15386%22%20result%3D%22effect1_foregroundBlur_4482_24780%22%2F%3E%3C%2Ffilter%3E%3Cfilter%20id%3D%22filter3_f_4482_24780%22%20x%3D%22-2.5499%22%20y%3D%22-30.3448%22%20width%3D%2253.7741%22%20height%3D%2248.1384%22%20filterUnits%3D%22userSpaceOnUse%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in%3D%22SourceGraphic%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22shape%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%226.15386%22%20result%3D%22effect1_foregroundBlur_4482_24780%22%2F%3E%3C%2Ffilter%3E%3CclipPath%20id%3D%22clip0_4482_24780%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",link:"https://bitkeep.com/download?type=2",mobileDeepLink:"https://bkcode.vip?action=dapp&url=$APP_URL",supportMobile:!0,injected:()=>{var e;return A()&&((null===(e=window.bitkeep)||void 0===e?void 0:e.ethereum)||window.isBitKeep)},disabled:()=>{var e;return!((null===(e=window.bitkeep)||void 0===e?void 0:e.ethereum)||window.isBitKeep)},connector:(e,t)=>{var o;return O(null===(o=window.bitkeep)||void 0===o?void 0:o.ethereum,t)},connectorInjected:(e,t)=>{var o;return O(null===(o=window.bitkeep)||void 0===o?void 0:o.ethereum,t)},switchChain:e=>{var t;return _(Object.assign(Object.assign({},e),{provider:e.provider||(null===(t=window.bitkeep)||void 0===t?void 0:t.ethereum)}))}},Tt={type:exports.WalletType.Nabox,showName:"Nabox",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M2%208.98682V23.8908L6.31535%2026.3785V15.717L10.6153%2018.2006V28.8551L14.932%2031.3428V16.4374L2%208.98682Z%22%20fill%3D%22%232AC98B%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M11.8024%207.62299L16.1261%205.089L21.4983%208.23266L17.1773%2010.7554L11.8024%207.62299ZM16.1317%200L3.09741%207.62579L17.1535%2015.8669V32L21.417%2029.5165V13.1955L25.7253%2010.6727V26.9797L30.0519%2024.4331V8.14436L16.1317%200Z%22%20fill%3D%22%232AC98B%22%2F%3E%3C%2Fsvg%3E",link:"https://nabox.io/",supportMobile:!0,disabled:()=>!window.NaboxWallet,injected:()=>{var e;return null===(e=window.ethereum)||void 0===e?void 0:e.isNabox},connector:(e,t)=>O(window.NaboxWallet,t),switchChain:e=>_(Object.assign(Object.assign({},e),{provider:e.provider||window.NaboxWallet}))},jt={type:exports.WalletType.OKX,showName:"OKX Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_1443_44689%29%22%3E%3Cpath%20d%3D%22M21%200H11C4.92487%200%200%204.92487%200%2011V21C0%2027.0751%204.92487%2032%2011%2032H21C27.0751%2032%2032%2027.0751%2032%2021V11C32%204.92487%2027.0751%200%2021%200Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.6063%206.99255H7.39351C7.17207%206.99255%206.99255%207.17207%206.99255%207.39351V12.6063C6.99255%2012.8278%207.17207%2013.0073%207.39351%2013.0073H12.6063C12.8278%2013.0073%2013.0073%2012.8278%2013.0073%2012.6063V7.39351C13.0073%207.17207%2012.8278%206.99255%2012.6063%206.99255ZM18.6237%2013.0073H13.4109C13.1895%2013.0073%2013.0099%2013.1869%2013.0099%2013.4083V18.6211C13.0099%2018.8426%2013.1895%2019.0221%2013.4109%2019.0221H18.6237C18.8452%2019.0221%2019.0247%2018.8426%2019.0247%2018.6211V13.4083C19.0247%2013.1869%2018.8452%2013.0073%2018.6237%2013.0073ZM19.4231%206.99255H24.6359C24.8574%206.99255%2025.0369%207.17207%2025.0369%207.39351V12.6063C25.0369%2012.8278%2024.8574%2013.0073%2024.6359%2013.0073H19.4231C19.2016%2013.0073%2019.0221%2012.8278%2019.0221%2012.6063V7.39351C19.0221%207.17207%2019.2016%206.99255%2019.4231%206.99255ZM12.6063%2019.0221H7.39351C7.17207%2019.0221%206.99255%2019.2016%206.99255%2019.4231V24.6359C6.99255%2024.8574%207.17207%2025.0369%207.39351%2025.0369H12.6063C12.8278%2025.0369%2013.0073%2024.8574%2013.0073%2024.6359V19.4231C13.0073%2019.2016%2012.8278%2019.0221%2012.6063%2019.0221ZM19.4231%2019.0221H24.6359C24.8574%2019.0221%2025.0369%2019.2016%2025.0369%2019.4231V24.6359C25.0369%2024.8574%2024.8574%2025.0369%2024.6359%2025.0369H19.4231C19.2016%2025.0369%2019.0221%2024.8574%2019.0221%2024.6359V19.4231C19.0221%2019.2016%2019.2016%2019.0221%2019.4231%2019.0221Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_1443_44689%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!0,link:"https://www.okx.com/",mobileDeepLink:"okx://wallet/dapp/details?dappUrl=$APP_URL",injected:()=>A()&&!!window.okxwallet,disabled:()=>!window.okxwallet,connector:(e,t)=>O(window.okxwallet,t),switchChain:e=>_(Object.assign(Object.assign({},e),{provider:e.provider||window.okxwallet}))},Wt={type:exports.WalletType.WalletConnect,showName:"WalletConnect",logo:"data:image/svg+xml,%3Csvg%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3CradialGradient%20id%3D%22a%22%20cx%3D%220%25%22%20cy%3D%2250%25%22%20r%3D%22100%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%235d9df6%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23006fff%22%2F%3E%3C%2FradialGradient%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22m256%200c141.384896%200%20256%20114.615104%20256%20256s-114.615104%20256-256%20256-256-114.615104-256-256%20114.615104-256%20256-256z%22%20fill%3D%22url%28%23a%29%22%2F%3E%3Cpath%20d%3D%22m64.6917558%2037.7088298c51.5328072-50.2784397%20135.0839942-50.2784397%20186.6167992%200l6.202057%206.0510906c2.57664%202.5139218%202.57664%206.5897948%200%209.1037177l-21.215998%2020.6995759c-1.288321%201.2569619-3.3771%201.2569619-4.665421%200l-8.534766-8.3270205c-35.950573-35.0754962-94.237969-35.0754962-130.188544%200l-9.1400282%208.9175519c-1.2883217%201.2569609-3.3771016%201.2569609-4.6654208%200l-21.2159973-20.6995759c-2.5766403-2.5139229-2.5766403-6.5897958%200-9.1037177zm230.4934852%2042.8089117%2018.882279%2018.4227262c2.576627%202.5139103%202.576642%206.5897593.000032%209.1036863l-85.141498%2083.070358c-2.576623%202.513941-6.754182%202.513969-9.33084.000066-.00001-.00001-.000023-.000023-.000033-.000034l-60.428256-58.957451c-.64416-.628481-1.68855-.628481-2.33271%200-.000004.000004-.000008.000007-.000012.000011l-60.4269683%2058.957408c-2.5766141%202.513947-6.7541746%202.51399-9.3308408.000092-.0000151-.000014-.0000309-.000029-.0000467-.000046l-85.14386774-83.071463c-2.57663928-2.513921-2.57663928-6.589795%200-9.1037163l18.88231264-18.4226955c2.5766393-2.5139222%206.7541993-2.5139222%209.3308397%200l60.4291347%2058.9582758c.6441608.62848%201.6885495.62848%202.3327103%200%20.0000095-.000009.0000182-.000018.0000277-.000025l60.4261065-58.9582508c2.576581-2.51398%206.754142-2.5140743%209.33084-.0002103.000037.0000354.000072.0000709.000107.0001063l60.429056%2058.9583548c.644159.628479%201.688549.628479%202.332709%200l60.428079-58.9571925c2.57664-2.5139231%206.754199-2.5139231%209.330839%200z%22%20fill%3D%22%23fff%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%2898%20160%29%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E",supportMobile:!0,getPackage:Q,connector:(e,t)=>re(e,t),disconnect:()=>u(void 0,void 0,void 0,(function*(){return(yield Q()).disconnect()})),needReadProvider:!0},Ut={type:exports.WalletType.Portis,showName:"Portis",logo:"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20301.38%20455.87%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m4.45%20262.11%2010.93-4.75%20135.31-58.82%20146.24%2063.57-54.95%20113.43-134.33%2019-101-109z%22%20fill%3D%22%23133444%22%2F%3E%3Cpath%20d%3D%22m266.51%20192.16a150.43%20150.43%200%200%200%20-95.82-53q-1.2-.17-2.4-.3a152.36%20152.36%200%200%200%20-35.2%200q-1.2.14-2.4.3a150.43%20150.43%200%200%200%20-95.82%2053l-6.08%2010.08-10.13%2016.76-7.41%2012.31c-.14.33-.28.67-.41%201l-.09.23%2016.35%209.67%20103.6%2061.28%2020%2011.83v-146.47l-20%209.08v-21.93l20-9.09%2020%209.09%20101.9%2046.28z%22%20fill%3D%22%23c42370%22%2F%3E%3Cpath%20d%3D%22m301.38%20298.56c0%2048.78-23.18%2094.42-59.12%20123.84a149.45%20149.45%200%200%201%20-47.64%2026.37%20139.51%20139.51%200%200%201%20-43.93%207.1c-83.22%200-150.69-74.09-150.69-157.31a150.49%20150.49%200%200%201%204.45-36.45l146.24%2086.51%20146.24-86.51a150.49%20150.49%200%200%201%204.45%2036.45z%22%20fill%3D%22%231c4d6b%22%2F%3E%3Cpath%20d%3D%22m133.09%20138.89%2017.6%207.99-20%209.09v-18.17z%22%2F%3E%3Cpath%20d%3D%22m130.69%20177.93%2020-9.08v146.53l-20-11.83z%22%2F%3E%3Cpath%20d%3D%22m150.69%20168.85v146.53l140.13-82.89z%22%20fill%3D%22%231d4259%22%2F%3E%3Cpath%20d%3D%22m150.69%200v168.85l140.13%2063.64z%22%20fill%3D%22%234b6b9a%22%2F%3E%3Cpath%20d%3D%22m150.69%20168.85v146.53l-20-11.83-119.95-71-.18-.11.27-.12c.13-.33.27-.67.41-1l17.53-29.09%20101.92-46.23v22z%22%20fill%3D%22%23343535%22%2F%3E%3Cpath%20d%3D%22m150.69%20168.85v146.53l-20-11.83-119.95-70.95-.18-.11.27-.12%20119.86-54.44z%22%20fill%3D%22%233e5578%22%2F%3E%3Cpath%20d%3D%22m150.69%200v168.85l-140.13%2063.64z%22%20fill%3D%22%236db2d8%22%2F%3E%3Cg%20fill%3D%22%23335f8a%22%3E%3Cpath%20d%3D%22m94%20443.85c2.09.92%204.21%201.79%206.34%202.61q-3.26-1.23-6.34-2.61z%22%2F%3E%3Cpath%20d%3D%22m100.29%20446.46c2.14.82%204.29%201.59%206.47%202.31q-3.27-1.07-6.47-2.31z%22%2F%3E%3Cpath%20d%3D%22m112.33%20450.49c1.66.47%203.33.92%205%201.33q-2.51-.62-5-1.33z%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22m4.45%20262.11%20146.24%2086.51a167.48%20167.48%200%200%201%20-10.47%2038.38c-11.7%2028.28-35.34%2058.19-81.08%2035.44-35.96-29.44-59.14-75.1-59.14-123.88a150.49%20150.49%200%200%201%204.45-36.45z%22%20fill%3D%22%236db2d8%22%2F%3E%3Cpath%20d%3D%22m242.24%20422.41-.36.29c-.76.62-1.52%201.23-2.29%201.83l-.2.16q-1.25%201-2.52%201.92c-.91.68-1.83%201.36-2.76%202s-1.86%201.31-2.8%201.95-1.66%201.12-2.49%201.66l-.46.3c-.88.57-1.76%201.13-2.64%201.67a2.63%202.63%200%200%201%20-.33.2c-.91.57-1.82%201.12-2.74%201.65s-2%201.15-3%201.7-2%201.08-3%201.6l-.11.06c-1%20.52-2%201-3%201.52s-2%201-3.08%201.49-2.08%201-3.12%201.42c-2.09.92-4.21%201.79-6.34%202.61s-4.29%201.59-6.47%202.31c-.87.29-1.74.57-2.62.84s-2%20.6-2.95.88c-1.66.47-3.33.92-5%201.33-.63.16-1.27.31-1.91.45l-1.07.25c-.89.2-1.78.39-2.68.57s-1.64.33-2.47.48-1.51.28-2.27.4-1.68.27-2.52.39c-.41.07-.82.13-1.24.18l-1.89.25-1.05.13c-.69.09-1.39.16-2.09.23-.86.09-1.71.17-2.57.24-.67.05-1.34.11-2%20.15s-1.16.08-1.75.1h-.08c-.68%200-1.36.08-2%20.1-.94%200-1.89.07-2.84.09s-1.9%200-2.86%200-1.91%200-2.86%200-1.9%200-2.84-.09c-.69%200-1.37-.06-2.05-.1h-.08c-.59%200-1.17-.06-1.75-.1s-1.34-.1-2-.15c-.86-.07-1.71-.15-2.57-.24-.7-.07-1.4-.14-2.09-.23l-1-.13c-.63-.07-1.26-.16-1.89-.25-.42%200-.83-.11-1.24-.18q-1.27-.18-2.52-.39c-.76-.12-1.52-.26-2.27-.4s-1.65-.31-2.47-.48-1.79-.37-2.68-.57l-1.07-.25c-.64-.14-1.28-.29-1.91-.45-1.68-.41-3.35-.86-5-1.33l-3-.88c-.88-.27-1.75-.55-2.62-.84-2.18-.72-4.33-1.49-6.47-2.31s-4.29-1.67-6.29-2.59c-1-.46-2.08-.94-3.12-1.42s-2.06-1-3.08-1.49-2-1-3-1.52l-.11-.06c-1-.52-2-1.06-3-1.6s-2-1.12-3-1.7-1.79-1.06-2.69-1.65l-.33-.2c-.88-.54-1.76-1.1-2.64-1.67l-.46-.3c-.83-.54-1.67-1.1-2.49-1.66s-1.88-1.29-2.8-1.95-1.85-1.34-2.76-2-1.69-1.27-2.52-1.92l-.2-.16c-.77-.6-1.53-1.21-2.29-1.83l-.36-.29c45.74%2022.75%2069.38-7.16%2081.08-35.44a167.48%20167.48%200%200%200%2010.47-38.35%20167.47%20167.47%200%200%200%2010.46%2038.36c11.7%2028.25%2035.34%2058.16%2081.08%2035.41z%22%20fill%3D%22%23529bba%22%2F%3E%3Cpath%20d%3D%22m184%20451.82c1.68-.41%203.35-.86%205-1.33q-2.44.72-5%201.33z%22%20fill%3D%22%23335f8a%22%2F%3E%3Cpath%20d%3D%22m194.62%20448.77c2.18-.72%204.33-1.49%206.47-2.31q-3.19%201.24-6.47%202.31z%22%20fill%3D%22%23335f8a%22%2F%3E%3Cpath%20d%3D%22m201.09%20446.46c2.13-.82%204.25-1.69%206.34-2.61q-3.13%201.38-6.34%202.61z%22%20fill%3D%22%23335f8a%22%2F%3E%3Cpath%20d%3D%22m301.38%20298.56c0%2048.78-23.19%2094.43-59.14%20123.85-45.74%2022.75-69.38-7.16-81.08-35.44a167.47%20167.47%200%200%201%20-10.47-38.35l146.24-86.51a150.49%20150.49%200%200%201%204.45%2036.45z%22%20fill%3D%22%234b6b9a%22%2F%3E%3C%2Fsvg%3E",supportChains:[exports.ChainId.MAINNET,exports.ChainId.GOERLI],checked:({PORTIS_ID:e})=>!!e,getPackage:R,connector:(e,t)=>ne(e,t)},Ht={type:exports.WalletType.Gnosis,showName:"Gnosis",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_2721_64477%29%22%3E%3Cmask%20id%3D%22mask0_2721_64477%22%20style%3D%22mask-type%3Aluminance%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2232%22%20height%3D%2232%22%3E%3Cpath%20d%3D%22M16%2032C24.8366%2032%2032%2024.8366%2032%2016C32%207.16344%2024.8366%200%2016%200C7.16344%200%200%207.16344%200%2016C0%2024.8366%207.16344%2032%2016%2032Z%22%20fill%3D%22white%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url%28%23mask0_2721_64477%29%22%3E%3Cpath%20d%3D%22M32.064%20-2.60797H-1.53601V34.288H32.064V-2.60797Z%22%20fill%3D%22url%28%23paint0_linear_2721_64477%29%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M24.9623%2015.994H22.7763C22.1235%2015.994%2021.5946%2016.5233%2021.5946%2017.1757V20.3482C21.5946%2021.001%2021.0653%2021.53%2020.4128%2021.53H11.7162C11.0634%2021.53%2010.5344%2022.0593%2010.5344%2022.7117V24.8977C10.5344%2025.5505%2011.0637%2026.0794%2011.7162%2026.0794H20.9162C21.569%2026.0794%2022.0909%2025.5501%2022.0909%2024.8977V23.1441C22.0909%2022.4913%2022.6202%2022.0279%2023.2727%2022.0279H24.9623C25.6151%2022.0279%2026.144%2021.4986%2026.144%2020.8461V17.1617C26.144%2016.5089%2025.6147%2015.9937%2024.9623%2015.9937V15.994Z%22%20fill%3D%22%23121312%22%2F%3E%3Cpath%20d%3D%22M10.5338%2011.6515C10.5338%2010.9987%2011.0631%2010.4698%2011.7156%2010.4698H20.4068C21.0596%2010.4698%2021.5885%209.94051%2021.5885%209.28803V7.10211C21.5885%206.44931%2021.0593%205.92035%2020.4068%205.92035H11.2119C10.5591%205.92035%2010.0301%206.44963%2010.0301%207.10211V8.78627C10.0301%209.43907%209.50086%209.96803%208.84838%209.96803H7.16614C6.51334%209.96803%205.98438%2010.4973%205.98438%2011.1498V14.8381C5.98438%2015.4909%206.51558%2015.9933%207.16838%2015.9933H9.3543C10.0071%2015.9933%2010.5361%2015.464%2010.5361%2014.8115L10.5341%2011.6519L10.5338%2011.6515Z%22%20fill%3D%22%23121312%22%2F%3E%3Cpath%20d%3D%22M15.0352%2013.6964H17.1351C17.8192%2013.6964%2018.3747%2014.2519%2018.3747%2014.936V17.0359C18.3747%2017.72%2017.8192%2018.2755%2017.1351%2018.2755H15.0352C14.3511%2018.2755%2013.7955%2017.72%2013.7955%2017.0359V14.936C13.7955%2014.2519%2014.3511%2013.6964%2015.0352%2013.6964Z%22%20fill%3D%22%23121312%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_2721_64477%22%20x1%3D%22-0.47809%22%20y1%3D%2229.2685%22%20x2%3D%2237.0896%22%20y2%3D%22-2.77789%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2312FF80%22%2F%3E%3Cstop%20offset%3D%220.13%22%20stop-color%3D%22%2315FD85%22%2F%3E%3Cstop%20offset%3D%220.29%22%20stop-color%3D%22%231FF896%22%2F%3E%3Cstop%20offset%3D%220.49%22%20stop-color%3D%22%2330F1B2%22%2F%3E%3Cstop%20offset%3D%220.69%22%20stop-color%3D%22%2348E7D9%22%2F%3E%3Cstop%20offset%3D%220.87%22%20stop-color%3D%22%235FDDFF%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_2721_64477%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportChains:[exports.ChainId.MAINNET,exports.ChainId.GOERLI,exports.ChainId.BSC,exports.ChainId.POLYGON,exports.ChainId.ARBITRUM_ONE,exports.ChainId.AURORA,exports.ChainId.AVALANCHE,exports.ChainId.OPTIMISM],link:"https://app.safe.global/welcome",disabled:()=>u(void 0,void 0,void 0,(function*(){return!(yield(yield z()).getIsSafe())})),getPackage:z,connector:(e,t)=>u(void 0,void 0,void 0,(function*(){return(yield z()).default(t)}))},Nt={type:exports.WalletType.uAuth,showName:"Unstoppable",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M32%202.47278V13.3668L0%2026.2392L32%202.47278Z%22%20fill%3D%22%2300C9FF%22%2F%3E%3Cpath%20d%3D%22M26.001%202V20.7929C26.001%2023.4191%2024.9474%2025.9378%2023.0719%2027.7948C21.1964%2029.6519%2018.6527%2030.6951%2016.0004%2030.6951C13.3481%2030.6951%2010.8044%2029.6519%208.92887%2027.7948C7.05339%2025.9378%205.99976%2023.4191%205.99976%2020.7929V12.8741L11.9991%209.60487V20.7929C11.943%2021.2811%2011.9916%2021.7757%2012.1418%2022.244C12.2922%2022.7124%2012.5406%2023.144%2012.8711%2023.5107C13.2016%2023.8773%2013.6066%2024.1707%2014.0596%2024.3715C14.5126%2024.5724%2015.0033%2024.6763%2015.4996%2024.6763C15.9959%2024.6763%2016.4866%2024.5724%2016.9396%2024.3715C17.3925%2024.1707%2017.7976%2023.8773%2018.128%2023.5107C18.4585%2023.144%2018.7071%2022.7124%2018.8573%2022.244C19.0076%2021.7757%2019.0563%2021.2811%2019%2020.7929V5.79246L26.001%202Z%22%20fill%3D%22%230D67FE%22%2F%3E%3C%2Fsvg%3E",getPackage:V,connector:(e,t)=>u(void 0,void 0,void 0,(function*(){var o;return(yield V()).default(Object.assign(Object.assign({},e),{uAuthParams:Object.assign(Object.assign({walletConnect:()=>Wt.connector?Wt.connector(e,t):Promise.resolve(void 0)},e.uAuthParams),{clientID:null===(o=e.uAuthParams)||void 0===o?void 0:o.clientID})}),t)})),disconnect:()=>u(void 0,void 0,void 0,(function*(){const{disconnectWallet:e}=yield V();yield e()}))},Gt={type:exports.WalletType.Blocto,showName:"Blocto",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_6352_198251%29%22%3E%3Cpath%20d%3D%22M16.9525%208.20174C13.9447%208.20174%2011.0089%209.36148%208.81418%2011.4188C6.40695%2013.6759%204.88354%2017.0092%204.0103%2020.1448C3.43835%2022.1957%203.15186%2024.3238%203.15186%2026.4541C3.15186%2027.0979%203.17829%2027.7364%203.22903%2028.3676C3.2914%2029.1351%204.03884%2029.6669%204.7831%2029.466C5.43222%2029.2916%206.11517%2029.1975%206.81926%2029.1975C8.2655%2029.1975%209.62082%2029.5908%2010.7827%2030.2779C10.8112%2030.2948%2010.8387%2030.3118%2010.8672%2030.3276C12.7554%2031.4535%2014.9829%2032.072%2017.3584%2031.9927C23.5546%2031.7876%2028.6165%2026.7459%2028.8448%2020.5507C29.0943%2013.7731%2023.6751%208.20068%2016.9535%208.20068L16.9525%208.20174ZM16.9525%2025.5386C13.949%2025.5386%2011.5143%2023.1039%2011.5143%2020.1014C11.5143%2017.099%2013.949%2014.6633%2016.9525%2014.6633C19.9559%2014.6633%2022.3907%2017.098%2022.3907%2020.1014C22.3907%2023.1049%2019.9559%2025.5386%2016.9525%2025.5386Z%22%20fill%3D%22%2314AAFF%22%2F%3E%3Cpath%20d%3D%22M12.0604%204.45499C12.0604%206.0228%2011.239%207.47749%209.89%208.27672C9.04318%208.77888%208.24923%209.37197%207.53034%2010.0475C5.93504%2011.5424%204.74464%2013.3766%203.86294%2015.195C3.6885%2015.5523%203.15039%2015.4254%203.15039%2015.0279V4.45499C3.15039%201.99491%205.14531%200%207.6054%200C10.0655%200%2012.0604%201.99491%2012.0604%204.45499Z%22%20fill%3D%22%230077FF%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_6352_198251%22%3E%3Crect%20width%3D%2225.7025%22%20height%3D%2232%22%20fill%3D%22white%22%20transform%3D%22translate%283.1499%29%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportChains:[exports.ChainId.MAINNET,exports.ChainId.GOERLI,exports.ChainId.BSC,exports.ChainId.POLYGON,exports.ChainId.ARBITRUM_ONE,exports.ChainId.AVALANCHE,exports.ChainId.OPTIMISM,exports.ChainId.SCROLL],supportMobile:!0,link:"https://blocto.io/",getPackage:K,connector:oe,mobileDeepLink:"https://blocto.app/link?url=$APP_URL",injected:()=>{var e;return null===(e=window.ethereum)||void 0===e?void 0:e.isBlocto},disabled:()=>!1,switchChain:e=>{var t;return _(Object.assign(Object.assign({},e),{provider:null!==(t=e.provider)&&void 0!==t?t:I.getState().provider}))},needReadProvider:!0},zt={type:exports.WalletType.Rainbow,showName:"Rainbow",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23a%29%22%3E%3Cpath%20d%3D%22M26%200H6a6%206%200%200%200-6%206v20a6%206%200%200%200%206%206h20a6%206%200%200%200%206-6V6a6%206%200%200%200-6-6z%22%20fill%3D%22url%28%23b%29%22%2F%3E%3Cpath%20d%3D%22M5.333%2010.133h1.6c8.248%200%2014.934%206.686%2014.934%2014.934v1.6h3.2a1.6%201.6%200%200%200%201.6-1.6c0-10.899-8.835-19.733-19.734-19.733a1.6%201.6%200%200%200-1.6%201.6v3.2z%22%20fill%3D%22url%28%23c%29%22%2F%3E%3Cpath%20d%3D%22M22.4%2025.067h4.267a1.6%201.6%200%200%201-1.6%201.6H22.4v-1.6z%22%20fill%3D%22url%28%23d%29%22%2F%3E%3Cpath%20d%3D%22M6.934%205.333V9.6h-1.6V6.934a1.6%201.6%200%200%201%201.6-1.6z%22%20fill%3D%22url%28%23e%29%22%2F%3E%3Cpath%20d%3D%22M5.333%209.6h1.6c8.543%200%2015.467%206.925%2015.467%2015.467v1.6h-4.8v-1.6c0-5.891-4.776-10.667-10.667-10.667h-1.6V9.6z%22%20fill%3D%22url%28%23f%29%22%2F%3E%3Cpath%20d%3D%22M18.133%2025.067H22.4v1.6h-4.267v-1.6z%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Cpath%20d%3D%22M5.333%2013.867V9.6h1.6v4.267h-1.6z%22%20fill%3D%22url%28%23h%29%22%2F%3E%3Cpath%20d%3D%22M5.333%2016.533a1.6%201.6%200%200%200%201.6%201.6%206.933%206.933%200%200%201%206.934%206.934%201.6%201.6%200%200%200%201.6%201.6h2.667v-1.6c0-6.186-5.015-11.2-11.2-11.2h-1.6v2.666z%22%20fill%3D%22url%28%23i%29%22%2F%3E%3Cpath%20d%3D%22M13.867%2025.067h4.266v1.6h-2.666a1.6%201.6%200%200%201-1.6-1.6z%22%20fill%3D%22url%28%23j%29%22%2F%3E%3Cpath%20d%3D%22M6.934%2018.133a1.6%201.6%200%200%201-1.6-1.6v-2.666h1.6v4.266z%22%20fill%3D%22url%28%23k%29%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CradialGradient%20id%3D%22f%22%20cx%3D%220%22%20cy%3D%220%22%20r%3D%221%22%20gradientUnits%3D%22userSpaceOnUse%22%20gradientTransform%3D%22rotate%28-90%2016%209.067%29%20scale%2815.4667%29%22%3E%3Cstop%20offset%3D%22.724%22%20stop-color%3D%22%23FFF700%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FF9901%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22c%22%20cx%3D%220%22%20cy%3D%220%22%20r%3D%221%22%20gradientUnits%3D%22userSpaceOnUse%22%20gradientTransform%3D%22rotate%28-90%2016%209.067%29%20scale%2819.7333%29%22%3E%3Cstop%20offset%3D%22.77%22%20stop-color%3D%22%23FF4000%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238754C9%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22i%22%20cx%3D%220%22%20cy%3D%220%22%20r%3D%221%22%20gradientUnits%3D%22userSpaceOnUse%22%20gradientTransform%3D%22rotate%28-90%2016%209.067%29%20scale%2811.2%29%22%3E%3Cstop%20offset%3D%22.595%22%20stop-color%3D%22%230AF%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2301DA40%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22j%22%20cx%3D%220%22%20cy%3D%220%22%20r%3D%221%22%20gradientUnits%3D%22userSpaceOnUse%22%20gradientTransform%3D%22matrix%284.53333%200%200%2012.0889%2013.6%2025.867%29%22%3E%3Cstop%20stop-color%3D%22%230AF%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2301DA40%22%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%22k%22%20cx%3D%220%22%20cy%3D%220%22%20r%3D%221%22%20gradientUnits%3D%22userSpaceOnUse%22%20gradientTransform%3D%22matrix%280%20-4.53333%2085.9653%200%206.133%2018.4%29%22%3E%3Cstop%20stop-color%3D%22%230AF%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2301DA40%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%2218.133%22%20y1%3D%2225.867%22%20x2%3D%2222.4%22%20y2%3D%2225.867%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FFF700%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FF9901%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22h%22%20x1%3D%226.133%22%20y1%3D%2213.867%22%20x2%3D%226.133%22%20y2%3D%229.6%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FFF700%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FF9901%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22e%22%20x1%3D%226.133%22%20y1%3D%225.333%22%20x2%3D%226.133%22%20y2%3D%229.867%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%238754C9%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FF4000%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22b%22%20x1%3D%2216%22%20y1%3D%220%22%20x2%3D%2216%22%20y2%3D%2232%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23174299%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23001E59%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22d%22%20x1%3D%2222.133%22%20y1%3D%2225.867%22%20x2%3D%2226.667%22%20y2%3D%2225.867%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FF4000%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238754C9%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22a%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M0%200h32v32H0z%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!0,supportExtension:!0,link:"https://rainbow.me",getPackage:q,connector:(e,t)=>ae(e,t),needReadProvider:!0},Vt={type:exports.WalletType.trust,showName:"TrustWallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_4548_1929%29%22%3E%3Cpath%20d%3D%22M0%208.125C0%203.63769%203.63769%200%208.125%200H23.875C28.3623%200%2032%203.63769%2032%208.125V23.875C32%2028.3623%2028.3623%2032%2023.875%2032H8.125C3.63769%2032%200%2028.3623%200%2023.875V8.125Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M16.0094%206.71875C19.2381%209.41525%2022.9407%209.24894%2023.9985%209.24894C23.7671%2024.5846%2022.004%2021.5436%2016.0094%2025.8438C10.0147%2021.5436%208.26266%2024.5846%208.03125%209.24894C9.07809%209.24894%2012.7807%209.41525%2016.0094%206.71875Z%22%20stroke%3D%22%233375BB%22%20stroke-width%3D%222.1875%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_4548_1929%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",link:"https://trustwallet.com/",supportMobile:!0,supportExtension:!0,mobileDeepLink:"https://link.trustwallet.com/open_url?url=$APP_URL",injected:()=>{var e;return null===(e=window.ethereum)||void 0===e?void 0:e.isTrust},disabled:()=>{var e;return!((null===(e=window.ethereum)||void 0===e?void 0:e.isTrust)||window.trustWallet)},connector:(e,t)=>O(window.trustWallet,t),switchChain:e=>_(Object.assign(Object.assign({},e),{provider:e.provider||window.trustWallet}))},Rt={type:exports.WalletType.tokenPocket,showName:"TokenPocket",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_4319_127796%29%22%3E%3Cmask%20id%3D%22mask0_4319_127796%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2232%22%20height%3D%2232%22%3E%3Cpath%20d%3D%22M21%200H11C4.92487%200%200%204.92487%200%2011V21C0%2027.0751%204.92487%2032%2011%2032H21C27.0751%2032%2032%2027.0751%2032%2021V11C32%204.92487%2027.0751%200%2021%200Z%22%20fill%3D%22%23C4C4C4%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url%28%23mask0_4319_127796%29%22%3E%3Cpath%20d%3D%22M32.5475%200H-0.84375V32H32.5475V0Z%22%20fill%3D%22%232980FE%22%2F%3E%3Cpath%20d%3D%22M12.7124%2013.7077H12.7165C12.7124%2013.6831%2012.7124%2013.6544%2012.7124%2013.6299V13.7077Z%22%20fill%3D%22%2329AEFF%22%2F%3E%3Cpath%20d%3D%22M20.8626%2014.4854H16.3515V22.6273C16.3515%2023.0121%2016.6626%2023.3232%2017.0474%2023.3232H20.1667C20.5515%2023.3232%2020.8626%2023.0121%2020.8626%2022.6273V14.4854Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M14.1738%208.65625H14.0224H5.94591C5.56109%208.65625%205.25%208.96734%205.25%209.35216V12.1767C5.25%2012.5615%205.56109%2012.8726%205.94591%2012.8726H7.84119H8.59441V13.7076V22.6478C8.59441%2023.0327%208.9055%2023.3438%209.29028%2023.3438H12.254C12.6388%2023.3438%2012.9499%2023.0327%2012.9499%2022.6478V13.7076V13.6299V12.8726H13.7031H14.0101H14.1616C15.3241%2012.8726%2016.2697%2011.927%2016.2697%2010.7644C16.282%209.60184%2015.3364%208.65625%2014.1738%208.65625Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M20.8667%2014.4854V20.1671C21.0223%2020.204%2021.1819%2020.2326%2021.3457%2020.2572C21.5749%2020.2899%2021.8123%2020.3104%2022.0497%2020.3145C22.062%2020.3145%2022.0743%2020.3145%2022.0907%2020.3145V15.7953C21.4071%2015.7502%2020.8667%2015.1812%2020.8667%2014.4854Z%22%20fill%3D%22url%28%23paint0_linear_4319_127796%29%22%2F%3E%3Cpath%20d%3D%22M22.1807%208.65625C18.9632%208.65625%2016.3515%2011.2679%2016.3515%2014.4854C16.3515%2017.2526%2018.2796%2019.5695%2020.8667%2020.1672V14.4854C20.8667%2013.7608%2021.4561%2013.1714%2022.1807%2013.1714C22.9052%2013.1714%2023.4947%2013.7608%2023.4947%2014.4854C23.4947%2015.0953%2023.0813%2015.607%2022.5163%2015.7544C22.4099%2015.783%2022.2953%2015.7994%2022.1807%2015.7994V20.3146C22.2953%2020.3146%2022.4058%2020.3105%2022.5163%2020.3064C25.5783%2020.1303%2028.0098%2017.5924%2028.0098%2014.4854C28.0139%2011.2679%2025.4023%208.65625%2022.1807%208.65625Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M22.1806%2020.3147V15.7995C22.1479%2015.7995%2022.1193%2015.7995%2022.0865%2015.7954V20.3147C22.1193%2020.3147%2022.152%2020.3147%2022.1806%2020.3147Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_4319_127796%22%20x1%3D%2222.1826%22%20y1%3D%2217.4008%22%20x2%3D%2220.8673%22%20y2%3D%2217.4008%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22white%22%2F%3E%3Cstop%20offset%3D%220.9667%22%20stop-color%3D%22white%22%20stop-opacity%3D%220.3233%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22white%22%20stop-opacity%3D%220.3%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_4319_127796%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",link:"https://www.tokenpocket.pro/",supportMobile:!0,supportExtension:!0,mobileDeepLink:`tpdapp://open?params=${encodeURI('{\n "url": "$APP_URL"\n }')}`,injected:()=>{var e;return null===(e=window.ethereum)||void 0===e?void 0:e.isTokenPocket},disabled:()=>{var e,t;return!((null===(e=window.tokenpocket)||void 0===e?void 0:e.ethereum)||(null===(t=window.ethereum)||void 0===t?void 0:t.isTokenPocket))},connector:(e,t)=>{var o;return O(null===(o=window.tokenpocket)||void 0===o?void 0:o.ethereum,t)},switchChain:e=>{var t;return _(Object.assign(Object.assign({},e),{provider:e.provider||(null===(t=window.tokenpocket)||void 0===t?void 0:t.ethereum)}))}},Zt={type:exports.WalletType.Cyber,showName:"CyberWallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16%2032c8.837%200%2016-7.163%2016-16S24.837%200%2016%200%200%207.163%200%2016s7.163%2016%2016%2016z%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22m19.65%2016.663%205.432%205.33a.684.684%200%200%201%20.208.482.672.672%200%200%201-.2.485l-.4.39a.706.706%200%200%201-1.004.019l-6.634-6.509a1.214%201.214%200%200%201-.364-.86%201.195%201.195%200%200%201%20.364-.861l6.634-6.509a.697.697%200%200%201%20.493-.2.708.708%200%200%201%20.492.2l.411.41a.681.681%200%200%201%20.204.483.672.672%200%200%201-.204.483l-5.433%205.332a.932.932%200%200%200%200%201.325zm-7.3-1.32-5.431-5.331a.681.681%200%200%201-.21-.485.672.672%200%200%201%20.204-.487l.397-.39a.75.75%200%200%201%20.422-.214.711.711%200%200%201%20.583.194l6.632%206.51a1.215%201.215%200%200%201%20.364.86%201.197%201.197%200%200%201-.364.86l-6.632%206.51a.7.7%200%200%201-.493.2.708.708%200%200%201-.493-.2l-.41-.404a.684.684%200%200%201-.205-.484A.673.673%200%200%201%206.92%2022l5.43-5.33a.932.932%200%200%200%200-1.326z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E",link:"https://wallet.cyber.co",disabled:()=>u(void 0,void 0,void 0,(function*(){return!(yield(yield Y()).getIsCyber())})),getPackage:Y,connector:(e,t)=>se(e,t),supportChains:dt,switchChain:e=>u(void 0,void 0,void 0,(function*(){const{switchChain:t}=yield Y();return t(e)})),notSupported:{sign:!0,personalSign:!0,signTypedData:!0,estimateGas:!0},isContractWallet:!0,needReadProvider:!0},Qt={type:exports.WalletType.uniPass,showName:"UniPass",logo:"data:image/svg+xml,%3Csvg%20width%3D%22400%22%20height%3D%22400%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cdefs%3E%3ClinearGradient%20x1%3D%220%25%22%20y1%3D%22.013%25%22%20x2%3D%22100%25%22%20y2%3D%2299.987%25%22%20id%3D%22a%22%3E%3Cstop%20stop-color%3D%22%23398BFF%22%20offset%3D%220%25%22%2F%3E%3Cstop%20stop-color%3D%22%238864FF%22%20offset%3D%22100%25%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M0%200h400v400H0z%22%2F%3E%3Cpath%20d%3D%22M184%20386c39.102-50.29%20104.337-72.556%20166.027-56.667l2.053.534-1.413%201.6a196.08%20196.08%200%200%201-13.653%2014.16l-.48.453h-.667c-51.63-9.606-104.31%2010.354-136.613%2051.76l-.827%201.093-.773%201.014h-.64a207.856%20207.856%200%200%201-19.68-1.254l-2.107-.24%201.173-1.786c2.267-3.68%204.934-7.28%207.6-10.667zm127.913-25.44h.994l2.08.027h3.973l-3.226%202.293a200%20200%200%200%201-90.667%2035.467l-3.92.48L224%20396.16a127.413%20127.413%200%200%201%2088.907-35.6zm-45.54-67.867a9.6%209.6%200%200%201%2011.547%208.32v-.266a9.573%209.573%200%200%201-7.52%2010.506%20170.667%20170.667%200%200%200-98.933%2062.32%20176.8%20176.8%200%200%200-13.813%2020.694l-.48.853-.934-.213c-5.6-1.254-11.306-2.747-16.64-4.48l-1.573-.507.747-1.387a193.333%20193.333%200%200%201%2017.466-26.666%20189.493%20189.493%200%200%201%2098.854-66.507%20449.129%20449.129%200%200%201%2011.28-2.667zm-19.013-33.146a224.747%20224.747%200%200%201%20139.44%208.48l1.174.48-.427%201.2a202.467%20202.467%200%200%201-6.533%2015.493l-.507%201.12-1.147-.453c-84.027-33.289-179.941-7.231-235.573%2064a205.653%20205.653%200%200%200-21.12%2033.28l-.56%201.093-1.12-.507c-5.12-2.186-10.213-4.613-15.147-7.28l-1.12-.613.56-1.12A225.067%20225.067%200%200%201%20128.56%20338a220.48%20220.48%200%200%201%20118.8-78.453zM95.968%20326.485a9.68%209.68%200%200%201%207.792%202.768v.054a9.707%209.707%200%200%201%201.2%2012.186%20239.147%20239.147%200%200%200-14.053%2024.427l-.64%201.333-1.253-.826a210.562%20210.562%200%200%201-13.734-10.054l-.826-.666.48-.96a253.333%20253.333%200%200%201%2013.946-24%209.68%209.68%200%200%201%207.088-4.262zm36.14-93.312.666.24a77.893%2077.893%200%200%200%2022.133%204.8l3.947.267-3.334%202.133a266.107%20266.107%200%200%200-66.986%2061.254%20270.187%20270.187%200%200%200-26.187%2040.746l-.8%201.547-1.253-1.227c-4.134-4.08-8.267-8.453-12.134-12.96l-.586-.693.426-.773a288.747%20288.747%200%200%201%2083.547-94.934l.56-.4zm-22.614%2070.267c71.023-81.735%20186-109.557%20286.533-69.333l.987.48-.187%201.04c-.267%201.493-.533%202.96-.827%204.426a207.15%20207.15%200%200%201-2.88%2012.214l-.4%201.44-1.36-.587a231.733%20231.733%200%200%200-89.493-17.84c-9.877.003-19.745.617-29.547%201.84a233.2%20233.2%200%200%200-148.24%2079.093%209.653%209.653%200%200%201-14.133.56l-.207-.21a9.707%209.707%200%200%201-.246-13.123zm190.746-15.067a190.347%20190.347%200%200%201%2071.494%2011.094l1.493.533-.8%201.36a197.736%20197.736%200%200%201-9.413%2014.48l-.587.827-.907-.32a171.333%20171.333%200%200%200-54.213-8.747h-6.213a9.68%209.68%200%200%201-10-8.56l-.03-.33a9.627%209.627%200%200%201%209.176-10.337zm-199.706-77.76.8%201.014a80.613%2080.613%200%200%200%2012.24%2011.306l1.386%201.014-1.36%201.04v-.187a301.707%20301.707%200%200%200-76.4%2088l-1.04%201.787-1.173-1.707c-3.573-5.093-6.933-10.533-9.973-16l-.374-.667.4-.666A329.733%20329.733%200%200%201%2045.467%20266a320.4%20320.4%200%200%201%2054.107-54.64l.96-.747zm-59.865%209.083a9.68%209.68%200%200%201%207.118%202.81h-.053a9.68%209.68%200%200%201%20.32%2013.334%20306.672%20306.672%200%200%200-15.094%2018.027%20346.667%20346.667%200%200%200-15.813%2022.16l-1.36%202.08-.933-2.294a203.6%20203.6%200%200%201-6.907-19.733l-.187-.613.374-.507c3.2-4.507%206.426-8.88%209.6-12.96a382.827%20382.827%200%200%201%2016-19.067%209.68%209.68%200%200%201%206.935-3.237zM82.08%20133.28v23.147l-.533.373a362.453%20362.453%200%200%200-76.213%2073.067l-2.667%203.36-.48-3.014a198.16%20198.16%200%200%201-2.187-24v-.506l.427-.427a377.787%20377.787%200%200%201%2079.627-70.667l2.026-1.333zM263.174%20182a285.707%20285.707%200%200%201%20135.973%2016.027l.853.32V200c0%205.547-.24%2011.28-.72%2017.013l-.16%201.76-1.626-.666a262.667%20262.667%200%200%200-98.427-18.987%20269.333%20269.333%200%200%200-75.333%2010.667l-3.814%201.093%202.427-3.147a78.107%2078.107%200%200%200%2011.04-19.84l.267-.64.666-.16A289.173%20289.173%200%200%201%20263.174%20182zm-179.307-5.04.48%201.92a76.667%2076.667%200%200%200%205.92%2016.16l.4.96-.827.64a319.494%20319.494%200%200%200-19.466%2016.587%209.707%209.707%200%200%201-13.334-.24l-.228-.237a9.653%209.653%200%200%201%20.548-13.71%20343.968%20343.968%200%200%201%2024.907-20.88l1.6-1.2zm296.372-18.366a9.653%209.653%200%200%201%208.215-1.207c3.6%201.093%207.146%202.24%2010.666%203.466l.827.32v20.507l-1.76-.64a294.87%20294.87%200%200%200-15.387-5.173%209.68%209.68%200%200%201-6.8-10.134l.034-.309a9.653%209.653%200%200%201%204.205-6.83zM73.28%2094.987l.72.96a40.373%2040.373%200%200%201%207.174%2016l.186.8-.773.48a388.16%20388.16%200%200%200-78.32%2063.946L0%20179.547v-27.6l.4-.347a407.653%20407.653%200%200%201%2071.867-56l1.013-.613zm183.12%2051.12a315.6%20315.6%200%200%201%2099.147%203.066%209.627%209.627%200%200%201%207.733%2010.4v.08a9.653%209.653%200%200%201-11.386%208.587%20295.413%20295.413%200%200%200-55.627-5.333c-12.48.016-24.949.8-37.333%202.346a320.456%20320.456%200%200%200-19.12%203.014l-1.68.346v-1.733c.293-2.293.293-4.533.293-6.667V148.96l1.093-.187a239.7%20239.7%200%200%201%2016.88-2.666zm-6.746-35.92a345.52%20345.52%200%200%201%20149.44%2013.76l.906.293v20.293l-1.733-.586a325.547%20325.547%200%200%200-104.773-17.254%20332.934%20332.934%200%200%200-41.467%202.667c-3.653.453-7.493%201.013-12.08%201.76l-1.52.24v-19.573l1.12-.16a381.79%20381.79%200%200%201%2010.107-1.44zM41.04%2079.44l.683.005a40.99%2040.99%200%200%201%2014.597%202.928l2.374.96-2.16%201.36A419.493%20419.493%200%200%200%202.187%20126L0%20127.947v-7.467a40.615%2040.615%200%200%201%208.8-25.387A40.8%2040.8%200%200%201%2041.04%2079.44zm201.84-5.147a379.013%20379.013%200%200%201%20145.307%209.894c3.28.88%206.827%201.893%2010.88%203.12l.907.266v20.107l-1.707-.533a357.573%20357.573%200%200%200-107.6-16.534%20365.6%20365.6%200%200%200-45.333%202.854l-4.027.533-2.827.4V80.747c0-1.494.16-3.04.16-4.8V74.88l2.347-.32zm55.676-38.936.271.003a409.333%20409.333%200%200%201%2094.08%2013.627l.613.16.267.586a81.413%2081.413%200%200%201%205.333%2019.04l.24%202.214-1.946-.56a390.278%20390.278%200%200%200-8.987-2.534%20392.187%20392.187%200%200%200-90.08-13.12%209.653%209.653%200%200%201-9.36-10.666l.03-.27a9.653%209.653%200%200%201%209.81-8.477zm-33.222.456a9.68%209.68%200%200%201%2010.16%2010.534h.106a9.627%209.627%200%200%201-9.12%208.72c-7.466.426-14.96%201.04-22.426%201.866l-2.027.214.64-1.92a82.453%2082.453%200%200%201%208.32-17.974l.347-.533H252c4.507-.373%208.934-.693%2013.334-.907zM319.44%200a80.693%2080.693%200%200%201%2060%2026.667l2.667%203.04-4-.907a422.453%20422.453%200%200%200-93.333-10.453c-4.4%200-8.88.08-13.334.266h-4.106l3.28-2.4a80.16%2080.16%200%200%201%2044.4-16.08C316.56%200%20318%200%20319.44%200z%22%20fill%3D%22url%28%23a%29%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E",supportMobile:!0,supportExtension:!0,link:"https://unipass.id",supportChains:yt,getPackage:J,connector:(e,t)=>le(e,t),disconnect:()=>u(void 0,void 0,void 0,(function*(){const{disconnectWallet:e}=yield J();yield e()})),notSupported:{sign:!0},contract:{signTypedData:({typedData:e})=>u(void 0,void 0,void 0,(function*(){const{signTypedData:t}=yield J();return t(e)}))},switchChain:e=>u(void 0,void 0,void 0,(function*(){const{switchChain:t}=yield J();return yield t(e),{result:!0}})),isContractWallet:!0,needReadProvider:!0},Kt={type:exports.WalletType.Gate,showName:"Gate Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16%2024.8C13.6661%2024.8%2011.4278%2023.8729%209.77746%2022.2225C8.12714%2020.5722%207.2%2018.3339%207.2%2016C7.2%2013.6661%208.12714%2011.4278%209.77746%209.77746C11.4278%208.12714%2013.6661%207.2%2016%207.2V0C12.8355%200%209.74206%200.938382%207.11088%202.69648C4.47969%204.45459%202.42893%206.95345%201.21793%209.87707C0.00693105%2012.8007%20-0.30992%2016.0177%200.307443%2019.1214C0.924807%2022.2251%202.44865%2025.0761%204.68629%2027.3137C6.92393%2029.5513%209.77486%2031.0752%2012.8786%2031.6926C15.9823%2032.3099%2019.1993%2031.9931%2022.1229%2030.7821C25.0466%2029.5711%2027.5454%2027.5203%2029.3035%2024.8891C31.0616%2022.2579%2032%2019.1645%2032%2016H24.8C24.8%2018.3339%2023.8729%2020.5722%2022.2225%2022.2225C20.5722%2023.8729%2018.3339%2024.8%2016%2024.8Z%22%20fill%3D%22%232354E6%22%2F%3E%3Cpath%20d%3D%22M24.8%207.19995H16V15.9999H24.8V7.19995Z%22%20fill%3D%22%2317E6A1%22%2F%3E%3C%2Fsvg%3E",supportMobile:!1,link:"https://chromewebstore.google.com/detail/gate-wallet/cpmkedoipcpimgecpmgpldfpohjplkpp",disabled:()=>!window.gatewallet,connector:(e,t)=>O(window.gatewallet,t),switchChain:e=>_(Object.assign(Object.assign({},e),{provider:e.provider||window.gatewallet}))},qt={type:exports.WalletType.Rabby,showName:"Rabby Wallet",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M29.322%2017.687c1.057-2.37-4.17-8.991-9.163-11.75-3.148-2.137-6.427-1.843-7.092-.905-1.457%202.06%204.828%203.804%209.03%205.84-.903.394-1.754%201.1-2.255%202.004-1.567-1.716-5.006-3.194-9.042-2.004-2.72.803-4.98%202.694-5.853%205.551a1.715%201.715%200%200%200-2.406%201.57c0%20.95.766%201.718%201.711%201.718.176%200%20.724-.117.724-.117l8.756.063c-3.502%205.574-6.27%206.389-6.27%207.355%200%20.965%202.648.703%203.643.344%204.759-1.724%209.87-7.094%2010.748-8.64%203.684.461%206.78.516%207.469-1.03z%22%20fill%3D%22url%28%23a%29%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M22.098%2010.872c.195-.077.164-.365.11-.592-.123-.521-2.244-2.623-4.237-3.565-2.714-1.283-4.713-1.216-5.009-.625.553%201.137%203.117%202.205%205.794%203.32%201.142.476%202.305.96%203.342%201.462z%22%20fill%3D%22url%28%23b%29%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.652%2022.318c-.549-.21-1.169-.404-1.874-.58.752-1.349.91-3.347.2-4.61-.997-1.773-2.247-2.717-5.154-2.717-1.598%200-5.902.54-5.979%204.145-.008.379%200%20.725.027%201.044l7.86.057c-1.06%201.687-2.052%202.938-2.92%203.889%201.042.268%201.903.493%202.693.7.75.196%201.436.376%202.155.56a32.759%2032.759%200%200%200%202.992-2.488z%22%20fill%3D%22url%28%23c%29%22%2F%3E%3Cpath%20d%3D%22M4.842%2019.23c.32%202.738%201.872%203.81%205.042%204.128%203.17.318%204.987.105%207.408.326%202.022.184%203.827%201.218%204.496.861.603-.321.266-1.483-.54-2.228-1.046-.966-2.493-1.638-5.038-1.876.507-1.394.365-3.348-.423-4.41-1.14-1.538-3.242-2.233-5.903-1.93-2.78.318-5.445%201.691-5.042%205.128z%22%20fill%3D%22url%28%23d%29%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22a%22%20x1%3D%2210.483%22%20y1%3D%2215.588%22%20x2%3D%2229.103%22%20y2%3D%2220.851%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%238697FF%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ABB7FF%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22b%22%20x1%3D%2225.961%22%20y1%3D%2215.233%22%20x2%3D%2212.487%22%20y2%3D%221.771%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%238697FF%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%235156D8%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22c%22%20x1%3D%2219.026%22%20y1%3D%2222.788%22%20x2%3D%226.105%22%20y2%3D%2215.384%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23465EED%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238697FF%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22d%22%20x1%3D%2211.594%22%20y1%3D%2215.448%22%20x2%3D%2220.35%22%20y2%3D%2226.536%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%238898FF%22%2F%3E%3Cstop%20offset%3D%22.984%22%20stop-color%3D%22%236277F1%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!1,link:"https://rabby.io",disabled:()=>!window.rabby,connector:(e,t)=>O(window.rabby,t),switchChain:e=>_(Object.assign(Object.assign({},e),{provider:e.provider||window.rabby}))},Yt={type:exports.WalletType.SocialLogin,showName:"Social Login",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.833%2012.667c-.32%200-.595-.115-.824-.343a1.123%201.123%200%200%201-.342-.824v-7c0-.32.114-.596.342-.824.229-.228.503-.343.824-.343h9.334c.32%200%20.595.115.824.343.228.228.342.503.342.824v7c0%20.32-.114.595-.342.824a1.123%201.123%200%200%201-.825.343H2.833zM7.5%208.583l4.666-2.916V4.5L7.5%207.417%202.833%204.5v1.167L7.5%208.583z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M30.5%208c0-3.867-3.133-7-7-7a6.999%206.999%200%200%200-1.691%2013.793v-4.654h-1.445V8h1.445v-.921c0-2.383%201.078-3.486%203.416-3.486.442%200%201.21.087%201.52.173v1.938a9.28%209.28%200%200%200-.809-.025c-1.148%200-1.59.434-1.59%201.565V8h2.287l-.392%202.14h-1.893v4.81A7.003%207.003%200%200%200%2030.5%208z%22%20fill%3D%22%230866FF%22%2F%3E%3Cpath%20d%3D%22M26.241%2010.14%2026.633%208h-2.288v-.756c0-1.131.443-1.565%201.59-1.565.356%200%20.645.008.81.025V3.766c-.314-.086-1.078-.173-1.52-.173-2.338%200-3.416%201.103-3.416%203.486V8h-1.445v2.14h1.445v4.653a7.012%207.012%200%200%200%202.54.157v-4.81h1.892z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M13.66%2024.146c0-.455-.04-.893-.117-1.313H7.5v2.485h3.453a2.958%202.958%200%200%201-1.289%201.931v1.616h2.083c1.213-1.12%201.913-2.765%201.913-4.72z%22%20fill%3D%22%234285F4%22%2F%3E%3Cpath%20d%3D%22M7.5%2030.417c1.732%200%203.185-.572%204.246-1.552l-2.082-1.616c-.572.385-1.3.619-2.164.619-1.669%200-3.086-1.126-3.594-2.643H1.771v1.657A6.41%206.41%200%200%200%207.5%2030.417z%22%20fill%3D%22%2334A853%22%2F%3E%3Cpath%20d%3D%22M3.907%2025.22A3.845%203.845%200%200%201%203.703%2024c0-.426.076-.834.204-1.22v-1.656H1.772A6.338%206.338%200%200%200%201.083%2024c0%201.038.251%202.012.689%202.876l1.662-1.295.473-.362z%22%20fill%3D%22%23FBBC05%22%2F%3E%3Cpath%20d%3D%22M7.5%2020.138c.945%200%201.785.327%202.456.957l1.837-1.837c-1.114-1.039-2.56-1.675-4.293-1.675a6.405%206.405%200%200%200-5.729%203.541l2.135%201.657c.508-1.517%201.925-2.643%203.594-2.643z%22%20fill%3D%22%23EA4335%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M25.934%2026.025c-.428.045-.775-.122-1.041-.433-.351-.411-.436-.88-.253-1.378.167-.455.493-.755%201.002-.845.577-.102%201.176.269%201.38.851.055.155.079.317.085.437-.004.729-.5%201.296-1.173%201.368zm-3.953-.303c-.503.44-1.21.41-1.686-.059a1.382%201.382%200%200%201%20.023-1.972%201.247%201.247%200%200%201%201.936.299c.125.218.189.453.187.75-.008.355-.147.709-.46.982zm8.469-.275c-.17-1.943-.872-3.703-2.008-5.311a.466.466%200%200%200-.196-.177%2011.786%2011.786%200%200%200-2.628-.766c-.12-.02-.182.02-.23.116-.071.142-.152.28-.22.423-.05.11-.129.14-.247.124a10.768%2010.768%200%200%200-2.871-.001c-.112.015-.186-.013-.232-.117-.053-.118-.125-.227-.175-.346-.073-.173-.184-.226-.383-.187-.83.164-1.637.4-2.42.712a.74.74%200%200%200-.352.285c-1.094%201.603-1.785%203.343-1.95%205.261-.053.617-.048%201.233.002%201.85.009.115.026.225.142.305%201%20.679%202.084%201.196%203.251%201.555.11.034.182.01.248-.08a9.47%209.47%200%200%200%20.569-.874c.063-.11.039-.165-.081-.21a5.65%205.65%200%200%201-.809-.363c-.062-.035-.187-.05-.15-.143a.28.28%200%200%201%20.27-.174c.051.001.103.032.153.052%202.085.829%204.19.894%206.315.147.16-.056.314-.125.473-.183.106-.04.307.04.335.14.033.123-.091.135-.163.173-.25.132-.507.252-.776.346-.126.044-.16.105-.089.223.17.282.346.561.54.83.084.114.176.138.312.096a12.262%2012.262%200%200%200%203.191-1.516c.104-.07.16-.152.168-.272l.061-.987c-.017-.327-.024-.63-.05-.931z%22%20fill%3D%22%235A6AEF%22%2F%3E%3C%2Fsvg%3E",supportMobile:!0,getPackage:ee,connector:pe,switchChain:e=>u(void 0,void 0,void 0,(function*(){return(yield ee()).switchChain(e)})),disconnect:()=>u(void 0,void 0,void 0,(function*(){return(yield ee()).disconnect()}))},Jt={type:exports.WalletType.Alchemy,showName:"Alchemy",logo:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M26.6217%2019.7984L16.4955%202.58184C16.4465%202.49682%2016.3754%202.42601%2016.2896%202.37654C16.2038%202.32706%2016.1062%202.30068%2016.0067%202.30006C15.9072%202.29944%2015.8093%202.32459%2015.7228%202.37298C15.6364%202.42137%2015.5645%202.49129%2015.5144%202.57568L12.4817%207.73449C12.3823%207.90335%2012.3301%208.09491%2012.3301%208.28992C12.3301%208.48491%2012.3823%208.67646%2012.4817%208.84535L19.0846%2020.0769C19.184%2020.2459%2019.3271%2020.3862%2019.4993%2020.4837C19.6715%2020.5813%2019.8669%2020.6325%2020.0657%2020.6323H26.1311C26.2304%2020.632%2026.3279%2020.6061%2026.4138%2020.5573C26.4997%2020.5084%2026.5711%2020.4383%2026.6207%2020.3539C26.6704%2020.2694%2026.6966%2020.1737%2026.6967%2020.0762C26.6969%2019.9788%2026.671%2019.883%2026.6217%2019.7984Z%22%20fill%3D%22url%28%23paint0_linear_8745_1983%29%22%2F%3E%3Cpath%20d%3D%22M0.0780835%2028.7964L10.2043%2011.5799C10.254%2011.4955%2010.3254%2011.4255%2010.4114%2011.3768C10.4973%2011.3281%2010.5948%2011.3025%2010.694%2011.3025C10.7933%2011.3025%2010.8908%2011.3281%2010.9768%2011.3768C11.0627%2011.4255%2011.1341%2011.4955%2011.1838%2011.5799L14.2181%2016.734C14.3174%2016.9032%2014.3697%2017.095%2014.3697%2017.2902C14.3697%2017.4855%2014.3174%2017.6773%2014.2181%2017.8464L7.61511%2029.078C7.5161%2029.247%207.37336%2029.3873%207.20136%2029.4849C7.02936%2029.5824%206.83419%2029.6336%206.63556%2029.6334H0.568641C0.468698%2029.6339%200.370413%2029.6084%200.283769%2029.5595C0.197126%2029.5106%200.125229%2029.44%200.0753857%2029.355C0.0255426%2029.2699%20-0.000469235%2029.1734%206.40786e-06%2029.0753C0.000482051%2028.9772%200.0274179%2028.881%200.0780835%2028.7964Z%22%20fill%3D%22url%28%23paint1_linear_8745_1983%29%22%2F%3E%3Cpath%20d%3D%22M11.1824%2029.6296H31.4348C31.5341%2029.6295%2031.6317%2029.6037%2031.7177%2029.5549C31.8035%2029.506%2031.875%2029.4358%2031.9245%2029.3513C31.974%2029.2668%2032%2029.1709%2032%2029.0734C32%2028.9759%2031.9737%2028.8801%2031.9239%2028.7957L28.8942%2023.6384C28.7948%2023.4694%2028.6518%2023.3291%2028.4796%2023.2315C28.3073%2023.1341%2028.1119%2023.0828%2027.9131%2023.083H14.7072C14.5084%2023.0828%2014.313%2023.1341%2014.1408%2023.2315C13.9686%2023.3291%2013.8255%2023.4694%2013.7261%2023.6384L10.6934%2028.7957C10.6436%2028.8801%2010.6173%2028.9759%2010.6172%2029.0734C10.617%2029.1709%2010.643%2029.2668%2010.6926%2029.3513C10.7422%2029.4358%2010.8135%2029.506%2010.8995%2029.5549C10.9855%2029.6037%2011.0831%2029.6295%2011.1824%2029.6296Z%22%20fill%3D%22url%28%23paint2_linear_8745_1983%29%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_8745_1983%22%20x1%3D%2216.0002%22%20y1%3D%224.33179%22%20x2%3D%2213.1762%22%20y2%3D%2229.6353%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2305D5FF%22%2F%3E%3Cstop%20offset%3D%220.723958%22%20stop-color%3D%22%23363FF9%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%235533FF%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_8745_1983%22%20x1%3D%2216%22%20y1%3D%224.33179%22%20x2%3D%2213.176%22%20y2%3D%2229.6353%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2305D5FF%22%2F%3E%3Cstop%20offset%3D%220.723958%22%20stop-color%3D%22%23363FF9%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%235533FF%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint2_linear_8745_1983%22%20x1%3D%2216%22%20y1%3D%224.33171%22%20x2%3D%2213.176%22%20y2%3D%2229.6352%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2305D5FF%22%2F%3E%3Cstop%20offset%3D%220.723958%22%20stop-color%3D%22%23363FF9%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%235533FF%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E",supportMobile:!0,getPackage:te,connector:ue};var Xt=Object.freeze({__proto__:null,WalletLink:bt,ImToken:Ft,Math:Et,GameStop:xt,Brave:At,FoxWallet:Bt,BSC:kt,KuCoin:It,Coin98:Ot,Frontier:Mt,Ledger:St,OpenBlock:_t,OneKey:Pt,Bitkeep:Lt,Nabox:Tt,OKXWallet:jt,WalletConnect:Wt,Portis:Ut,Gnosis:Ht,UAuth:Nt,Blocto:Gt,Rainbow:zt,Trust:Vt,TokenPocket:Rt,Cyber:Zt,UniPass:Qt,Gate:Kt,Rabby:qt,SocialLogin:Yt,Alchemy:Jt});const $t={type:exports.WalletType.injected,showName:"MetaMask",link:"https://metamask.io",logo:"data:image/svg+xml,%3Csvg%20height%3D%22355%22%20viewBox%3D%220%200%20397%20355%22%20width%3D%22397%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20transform%3D%22translate%28-1%20-1%29%22%3E%3Cpath%20d%3D%22m114.622644%20327.195472%2052.004717%2013.810198v-18.05949l4.245283-4.249292h29.716982v21.246459%2014.872523h-31.839624l-39.268868-16.997169z%22%20fill%3D%22%23cdbdb2%22%2F%3E%3Cpath%20d%3D%22m199.528305%20327.195472%2050.943397%2013.810198v-18.05949l4.245283-4.249292h29.716981v21.246459%2014.872523h-31.839623l-39.268868-16.997169z%22%20fill%3D%22%23cdbdb2%22%20transform%3D%22matrix%28-1%200%200%201%20483.96227%200%29%22%2F%3E%3Cpath%20d%3D%22m170.872644%20287.889523-4.245283%2035.056657%205.306604-4.249292h55.18868l6.367925%204.249292-4.245284-35.056657-8.490565-5.311615-42.452832%201.062323z%22%20fill%3D%22%23393939%22%2F%3E%3Cpath%20d%3D%22m142.216984%2050.9915022%2025.471698%2059.4900858%2011.674528%20173.158643h41.391511l12.735849-173.158643%2023.349056-59.4900858z%22%20fill%3D%22%23f89c35%22%2F%3E%3Cpath%20d%3D%22m30.7783023%20181.657226-29.71698153%2086.048161%2074.29245393-4.249293h47.7594343v-37.181303l-2.122641-76.487253-10.613208%208.498583z%22%20fill%3D%22%23f89d35%22%2F%3E%3Cpath%20d%3D%22m87.0283032%20191.218134%2087.0283028%202.124646-9.551886%2044.617563-41.391511-10.623229z%22%20fill%3D%22%23d87c30%22%2F%3E%3Cpath%20d%3D%22m87.0283032%20192.280457%2036.0849058%2033.994334v33.994334z%22%20fill%3D%22%23ea8d3a%22%2F%3E%3Cpath%20d%3D%22m123.113209%20227.337114%2042.452831%2010.623229%2013.79717%2045.679888-9.551886%205.311615-46.698115-27.620398z%22%20fill%3D%22%23f89d35%22%2F%3E%3Cpath%20d%3D%22m123.113209%20261.331448-8.490565%2065.864024%2056.25-39.305949z%22%20fill%3D%22%23eb8f35%22%2F%3E%3Cpath%20d%3D%22m174.056606%20193.34278%205.306604%2090.297451-15.919812-46.211049z%22%20fill%3D%22%23ea8e3a%22%2F%3E%3Cpath%20d%3D%22m74.2924539%20262.393771%2048.8207551-1.062323-8.490565%2065.864024z%22%20fill%3D%22%23d87c30%22%2F%3E%3Cpath%20d%3D%22m24.4103777%20355.878193%2090.2122663-28.682721-40.3301901-64.801701-73.23113313%205.311616z%22%20fill%3D%22%23eb8f35%22%2F%3E%3Cpath%20d%3D%22m167.688682%20110.481588-45.636793%2038.243627-35.0235858%2042.492919%2087.0283028%203.186969z%22%20fill%3D%22%23e8821e%22%2F%3E%3Cpath%20d%3D%22m114.622644%20327.195472%2056.25-39.305949-4.245283%2033.994334v19.121813l-38.207548-7.43626z%22%20fill%3D%22%23dfcec3%22%2F%3E%3Cpath%20d%3D%22m229.245286%20327.195472%2055.18868-39.305949-4.245283%2033.994334v19.121813l-38.207548-7.43626z%22%20fill%3D%22%23dfcec3%22%20transform%3D%22matrix%28-1%200%200%201%20513.679252%200%29%22%2F%3E%3Cpath%20d%3D%22m132.665096%20212.464593-11.674528%2024.433427%2041.39151-10.623229z%22%20fill%3D%22%23393939%22%20transform%3D%22matrix%28-1%200%200%201%20283.372646%200%29%22%2F%3E%3Cpath%20d%3D%22m23.349057%201.06232296%20144.339625%20109.41926504-24.410378-59.4900858z%22%20fill%3D%22%23e88f35%22%2F%3E%3Cpath%20d%3D%22m23.349057%201.06232296-19.10377392%2058.42776294%2010.61320772%2063.7393781-7.42924541%204.249292%2010.61320771%209.560906-8.49056617%207.436261%2011.67452847%2010.623229-7.4292454%206.373938%2016.9811323%2021.246459%2079.5990577-24.433428c38.915096-31.161473%2058.018869-47.096318%2057.311322-47.804533-.707548-.708215-48.820756-37.1813036-144.339625-109.41926504z%22%20fill%3D%22%238e5a30%22%2F%3E%3Cg%20transform%3D%22matrix%28-1%200%200%201%20399.056611%200%29%22%3E%3Cpath%20d%3D%22m30.7783023%20181.657226-29.71698153%2086.048161%2074.29245393-4.249293h47.7594343v-37.181303l-2.122641-76.487253-10.613208%208.498583z%22%20fill%3D%22%23f89d35%22%2F%3E%3Cpath%20d%3D%22m87.0283032%20191.218134%2087.0283028%202.124646-9.551886%2044.617563-41.391511-10.623229z%22%20fill%3D%22%23d87c30%22%2F%3E%3Cpath%20d%3D%22m87.0283032%20192.280457%2036.0849058%2033.994334v33.994334z%22%20fill%3D%22%23ea8d3a%22%2F%3E%3Cpath%20d%3D%22m123.113209%20227.337114%2042.452831%2010.623229%2013.79717%2045.679888-9.551886%205.311615-46.698115-27.620398z%22%20fill%3D%22%23f89d35%22%2F%3E%3Cpath%20d%3D%22m123.113209%20261.331448-8.490565%2065.864024%2055.18868-38.243626z%22%20fill%3D%22%23eb8f35%22%2F%3E%3Cpath%20d%3D%22m174.056606%20193.34278%205.306604%2090.297451-15.919812-46.211049z%22%20fill%3D%22%23ea8e3a%22%2F%3E%3Cpath%20d%3D%22m74.2924539%20262.393771%2048.8207551-1.062323-8.490565%2065.864024z%22%20fill%3D%22%23d87c30%22%2F%3E%3Cpath%20d%3D%22m24.4103777%20355.878193%2090.2122663-28.682721-40.3301901-64.801701-73.23113313%205.311616z%22%20fill%3D%22%23eb8f35%22%2F%3E%3Cpath%20d%3D%22m167.688682%20110.481588-45.636793%2038.243627-35.0235858%2042.492919%2087.0283028%203.186969z%22%20fill%3D%22%23e8821e%22%2F%3E%3Cpath%20d%3D%22m132.665096%20212.464593-11.674528%2024.433427%2041.39151-10.623229z%22%20fill%3D%22%23393939%22%20transform%3D%22matrix%28-1%200%200%201%20283.372646%200%29%22%2F%3E%3Cpath%20d%3D%22m23.349057%201.06232296%20144.339625%20109.41926504-24.410378-59.4900858z%22%20fill%3D%22%23e88f35%22%2F%3E%3Cpath%20d%3D%22m23.349057%201.06232296-19.10377392%2058.42776294%2010.61320772%2063.7393781-7.42924541%204.249292%2010.61320771%209.560906-8.49056617%207.436261%2011.67452847%2010.623229-7.4292454%206.373938%2016.9811323%2021.246459%2079.5990577-24.433428c38.915096-31.161473%2058.018869-47.096318%2057.311322-47.804533-.707548-.708215-48.820756-37.1813036-144.339625-109.41926504z%22%20fill%3D%22%238e5a30%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E",supportMobile:!0,mobileDeepLink:"https://metamask.app.link/dapp/$host",switchChain:_,disabled:()=>!1,injected:()=>window.ethereum,connector:(e,t)=>{var o;const n=I.getState().eip6963WalletList,i=null===(o=n.find((e=>e.info.rdns===nt)))||void 0===o?void 0:o.provider,r=n.length>2;return!i||A()&&!r?de(e,t):O(i,t)}},eo=Object.assign({MetamaskWallet:$t},Xt),to=Object.values(Xt),oo=Object.values(eo),no=Object.assign(Object.assign({},_t),{disabled:()=>!1,type:exports.WalletType.openBlockIframe,connector:N}),io=[Wt.showName,$t.showName,bt.showName];function ro(e){return u(this,void 0,void 0,(function*(){const t=[],o=[],n=A();[...oo,...null!=e?e:[]].forEach((e=>{const i=`${e.type}-${e.showName}`;let r=!1;if(r=n?!1===e.supportMobile:!1===e.supportExtension,r)t.includes(i)||t.push(i);else if(e.disabled){const n=e.disabled();"boolean"==typeof n?n&&!t.includes(i)&&t.push(i):o.push((()=>u(this,void 0,void 0,(function*(){(yield n)&&!t.includes(i)&&t.push(i)}))))}else if(e.injected){e.injected()||t.includes(i)||t.push(i)}})),yield Promise.all(o.map((e=>e()))),I.getState().setDisabledWalletKeyList(t)}))}function ao({PORTIS_ID:e,chainId:t,includes:o,excludes:n,excludeNames:i,keysSort:r,mobileKeysSort:a,showAllInjected:s,afterHooks:l,extendsWalleObject:c,showNotSupport:d,eip6963WalletList:p}={}){var u,h,C;const f=A(),g=(!o||o.includes(exports.WalletType.injected))&&(!n||!n.includes(exports.WalletType.injected)),v={PORTIS_ID:e};let D,m=[],w=!1;const y=Object.assign({},eo);c&&Object.entries(c).forEach((([e,t])=>{y[e]=t}));const b=Object.values(y),F=b.filter((e=>e.type!==exports.WalletType.injected));if(g){if(f&&(to.some((e=>!(!e.injected||!e.injected())&&(D=Object.assign({},e),!0))),!D&&(null==p?void 0:p.length))){const[e]=p;e.info.rdns!==nt&&(D=rt(e))}D||(D=$t),D.connector=null!==(h=null!==(u=D.connectorInjected)&&void 0!==u?u:D.connector)&&void 0!==h?h:(e,t)=>O(void 0,t),D.switchChain=null!==(C=D.switchChain)&&void 0!==C?C:_,m.push(D),D.injected?w=D.injected():D.disabled&&(w=!D.disabled())}const E=e=>!(null==n?void 0:n.includes(e.type))&&(!(null==i?void 0:i.includes(e.showName))&&(!(e.checked&&e.type!==exports.WalletType.injected&&!e.checked(v))&&(!(t&&e.supportChains&&!e.supportChains.includes(t))&&(!(t&&!f&&e.supportChainsPC&&!e.supportChainsPC.includes(t))&&!(o&&!o.includes(e.type))))));if(f)w?E(Wt)&&m.push(Wt):b.forEach((e=>!(!E(e)||!e.supportMobile&&!d||e.showName===(null==D?void 0:D.showName))&&(m.push(e),!0)));else{let e=[];F.forEach((t=>{if(!E(t))return!1;if(!1===t.supportExtension)if(t.injected){if(!d&&!s)return!1}else if(!d)return!1;return e.push(t),!0})),m=[...m,...e]}f&&w||!(null==p?void 0:p.length)||p.forEach((e=>{const{info:t}=e,o=it[t.rdns],n=rt(e);o?m.some(((e,t)=>e.type===o&&(m[t]=Object.assign(Object.assign(Object.assign({},e),n),{type:e.type,logo:e.logo}),!0))):m.push(n)}));const x=f&&null!=a?a:r;if(x){let e=x.map((e=>{const t=y[e];if(!t)throw new Error(`unknown key ${e}`);return t.showName}));f?w?e=[$t.showName,...e.filter((e=>e!==$t.showName))]:(e=e.filter((e=>!io.includes(e))),e=[...io,...e]):e.includes($t.showName)||(e=[$t.showName,...e]),m=m.sort(((t,o)=>{let n=e.indexOf(t.showName),i=e.indexOf(o.showName);return-1===n&&(n=999),-1===i&&(i=999),n-i}))}return l&&(m=l({isMobile:f,PORTIS_ID:e,chainId:t,includes:o,excludes:n,excludeNames:i,showAllInjected:s,hasInjectedWallet:w,walletList:m,showNotSupport:d})),m.forEach((e=>{e.getPackage&&e.getPackage()})),m}function so(){return u(this,void 0,void 0,(function*(){if("undefined"!=typeof window&&window.top!==window){if(yield(yield Y()).getIsCyber())return Zt;if(yield(yield z()).getIsSafe())return Ht;if(yield H())return no}}))}var lo=[{constant:!0,inputs:[],name:"totalSupply",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_to",type:"address"},{name:"_value",type:"uint256"}],name:"transfer",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"guy",type:"address"},{name:"wad",type:"uint256"}],name:"approve",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"}],name:"balanceOf",outputs:[{name:"balance",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"},{name:"_spender",type:"address"}],name:"allowance",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"}],co="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var po,uo={exports:{}};
2
+ /**
3
+ * [js-sha3]{@link https://github.com/emn178/js-sha3}
4
+ *
5
+ * @version 0.8.0
6
+ * @author Chen, Yi-Cyuan [emn178@gmail.com]
7
+ * @copyright Chen, Yi-Cyuan 2015-2018
8
+ * @license MIT
9
+ */po=uo,function(){var e="input is invalid type",t="object"==typeof window,o=t?window:{};o.JS_SHA3_NO_WINDOW&&(t=!1);var n=!t&&"object"==typeof self;!o.JS_SHA3_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node?o=co:n&&(o=self);var i=!o.JS_SHA3_NO_COMMON_JS&&po.exports,r=!o.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,a="0123456789abcdef".split(""),s=[4,1024,262144,67108864],l=[0,8,16,24],c=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],d=[224,256,384,512],p=[128,256],u=["hex","buffer","arrayBuffer","array","digest"],h={128:168,256:136};!o.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!r||!o.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});for(var C=function(e,t,o){return function(n){return new I(e,t,e).update(n)[o]()}},f=function(e,t,o){return function(n,i){return new I(e,t,i).update(n)[o]()}},g=function(e,t,o){return function(t,n,i,r){return y["cshake"+e].update(t,n,i,r)[o]()}},v=function(e,t,o){return function(t,n,i,r){return y["kmac"+e].update(t,n,i,r)[o]()}},D=function(e,t,o,n){for(var i=0;i<u.length;++i){var r=u[i];e[r]=t(o,n,r)}return e},m=function(e,t){var o=C(e,t,"hex");return o.create=function(){return new I(e,t,e)},o.update=function(e){return o.create().update(e)},D(o,C,e,t)},w=[{name:"keccak",padding:[1,256,65536,16777216],bits:d,createMethod:m},{name:"sha3",padding:[6,1536,393216,100663296],bits:d,createMethod:m},{name:"shake",padding:[31,7936,2031616,520093696],bits:p,createMethod:function(e,t){var o=f(e,t,"hex");return o.create=function(o){return new I(e,t,o)},o.update=function(e,t){return o.create(t).update(e)},D(o,f,e,t)}},{name:"cshake",padding:s,bits:p,createMethod:function(e,t){var o=h[e],n=g(e,0,"hex");return n.create=function(n,i,r){return i||r?new I(e,t,n).bytepad([i,r],o):y["shake"+e].create(n)},n.update=function(e,t,o,i){return n.create(t,o,i).update(e)},D(n,g,e,t)}},{name:"kmac",padding:s,bits:p,createMethod:function(e,t){var o=h[e],n=v(e,0,"hex");return n.create=function(n,i,r){return new O(e,t,i).bytepad(["KMAC",r],o).bytepad([n],o)},n.update=function(e,t,o,i){return n.create(e,o,i).update(t)},D(n,v,e,t)}}],y={},b=[],F=0;F<w.length;++F)for(var E=w[F],x=E.bits,A=0;A<x.length;++A){var B=E.name+"_"+x[A];if(b.push(B),y[B]=E.createMethod(x[A],E.padding),"sha3"!==E.name){var k=E.name+x[A];b.push(k),y[k]=y[B]}}function I(e,t,o){this.blocks=[],this.s=[],this.padding=t,this.outputBits=o,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(e<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=o>>5,this.extraBytes=(31&o)>>3;for(var n=0;n<50;++n)this.s[n]=0}function O(e,t,o){I.call(this,e,t,o)}I.prototype.update=function(t){if(this.finalized)throw new Error("finalize already called");var o,n=typeof t;if("string"!==n){if("object"!==n)throw new Error(e);if(null===t)throw new Error(e);if(r&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||r&&ArrayBuffer.isView(t)))throw new Error(e);o=!0}for(var i,a,s=this.blocks,c=this.byteCount,d=t.length,p=this.blockCount,u=0,h=this.s;u<d;){if(this.reset)for(this.reset=!1,s[0]=this.block,i=1;i<p+1;++i)s[i]=0;if(o)for(i=this.start;u<d&&i<c;++u)s[i>>2]|=t[u]<<l[3&i++];else for(i=this.start;u<d&&i<c;++u)(a=t.charCodeAt(u))<128?s[i>>2]|=a<<l[3&i++]:a<2048?(s[i>>2]|=(192|a>>6)<<l[3&i++],s[i>>2]|=(128|63&a)<<l[3&i++]):a<55296||a>=57344?(s[i>>2]|=(224|a>>12)<<l[3&i++],s[i>>2]|=(128|a>>6&63)<<l[3&i++],s[i>>2]|=(128|63&a)<<l[3&i++]):(a=65536+((1023&a)<<10|1023&t.charCodeAt(++u)),s[i>>2]|=(240|a>>18)<<l[3&i++],s[i>>2]|=(128|a>>12&63)<<l[3&i++],s[i>>2]|=(128|a>>6&63)<<l[3&i++],s[i>>2]|=(128|63&a)<<l[3&i++]);if(this.lastByteIndex=i,i>=c){for(this.start=i-c,this.block=s[p],i=0;i<p;++i)h[i]^=s[i];M(h),this.reset=!0}else this.start=i}return this},I.prototype.encode=function(e,t){var o=255&e,n=1,i=[o];for(o=255&(e>>=8);o>0;)i.unshift(o),o=255&(e>>=8),++n;return t?i.push(n):i.unshift(n),this.update(i),i.length},I.prototype.encodeString=function(t){var o,n=typeof t;if("string"!==n){if("object"!==n)throw new Error(e);if(null===t)throw new Error(e);if(r&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||r&&ArrayBuffer.isView(t)))throw new Error(e);o=!0}var i=0,a=t.length;if(o)i=a;else for(var s=0;s<t.length;++s){var l=t.charCodeAt(s);l<128?i+=1:l<2048?i+=2:l<55296||l>=57344?i+=3:(l=65536+((1023&l)<<10|1023&t.charCodeAt(++s)),i+=4)}return i+=this.encode(8*i),this.update(t),i},I.prototype.bytepad=function(e,t){for(var o=this.encode(t),n=0;n<e.length;++n)o+=this.encodeString(e[n]);var i=t-o%t,r=[];return r.length=i,this.update(r),this},I.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex,o=this.blockCount,n=this.s;if(e[t>>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[o],t=1;t<o+1;++t)e[t]=0;for(e[o-1]|=2147483648,t=0;t<o;++t)n[t]^=e[t];M(n)}},I.prototype.toString=I.prototype.hex=function(){this.finalize();for(var e,t=this.blockCount,o=this.s,n=this.outputBlocks,i=this.extraBytes,r=0,s=0,l="";s<n;){for(r=0;r<t&&s<n;++r,++s)e=o[r],l+=a[e>>4&15]+a[15&e]+a[e>>12&15]+a[e>>8&15]+a[e>>20&15]+a[e>>16&15]+a[e>>28&15]+a[e>>24&15];s%t==0&&(M(o),r=0)}return i&&(e=o[r],l+=a[e>>4&15]+a[15&e],i>1&&(l+=a[e>>12&15]+a[e>>8&15]),i>2&&(l+=a[e>>20&15]+a[e>>16&15])),l},I.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,o=this.s,n=this.outputBlocks,i=this.extraBytes,r=0,a=0,s=this.outputBits>>3;e=i?new ArrayBuffer(n+1<<2):new ArrayBuffer(s);for(var l=new Uint32Array(e);a<n;){for(r=0;r<t&&a<n;++r,++a)l[a]=o[r];a%t==0&&M(o)}return i&&(l[r]=o[r],e=e.slice(0,s)),e},I.prototype.buffer=I.prototype.arrayBuffer,I.prototype.digest=I.prototype.array=function(){this.finalize();for(var e,t,o=this.blockCount,n=this.s,i=this.outputBlocks,r=this.extraBytes,a=0,s=0,l=[];s<i;){for(a=0;a<o&&s<i;++a,++s)e=s<<2,t=n[a],l[e]=255&t,l[e+1]=t>>8&255,l[e+2]=t>>16&255,l[e+3]=t>>24&255;s%o==0&&M(n)}return r&&(e=s<<2,t=n[a],l[e]=255&t,r>1&&(l[e+1]=t>>8&255),r>2&&(l[e+2]=t>>16&255)),l},O.prototype=new I,O.prototype.finalize=function(){return this.encode(this.outputBits,!0),I.prototype.finalize.call(this)};var M=function(e){var t,o,n,i,r,a,s,l,d,p,u,h,C,f,g,v,D,m,w,y,b,F,E,x,A,B,k,I,O,M,S,_,P,L,T,j,W,U,H,N,G,z,V,R,Z,Q,K,q,Y,J,X,$,ee,te,oe,ne,ie,re,ae,se,le,ce,de;for(n=0;n<48;n+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],r=e[1]^e[11]^e[21]^e[31]^e[41],a=e[2]^e[12]^e[22]^e[32]^e[42],s=e[3]^e[13]^e[23]^e[33]^e[43],l=e[4]^e[14]^e[24]^e[34]^e[44],d=e[5]^e[15]^e[25]^e[35]^e[45],p=e[6]^e[16]^e[26]^e[36]^e[46],u=e[7]^e[17]^e[27]^e[37]^e[47],t=(h=e[8]^e[18]^e[28]^e[38]^e[48])^(a<<1|s>>>31),o=(C=e[9]^e[19]^e[29]^e[39]^e[49])^(s<<1|a>>>31),e[0]^=t,e[1]^=o,e[10]^=t,e[11]^=o,e[20]^=t,e[21]^=o,e[30]^=t,e[31]^=o,e[40]^=t,e[41]^=o,t=i^(l<<1|d>>>31),o=r^(d<<1|l>>>31),e[2]^=t,e[3]^=o,e[12]^=t,e[13]^=o,e[22]^=t,e[23]^=o,e[32]^=t,e[33]^=o,e[42]^=t,e[43]^=o,t=a^(p<<1|u>>>31),o=s^(u<<1|p>>>31),e[4]^=t,e[5]^=o,e[14]^=t,e[15]^=o,e[24]^=t,e[25]^=o,e[34]^=t,e[35]^=o,e[44]^=t,e[45]^=o,t=l^(h<<1|C>>>31),o=d^(C<<1|h>>>31),e[6]^=t,e[7]^=o,e[16]^=t,e[17]^=o,e[26]^=t,e[27]^=o,e[36]^=t,e[37]^=o,e[46]^=t,e[47]^=o,t=p^(i<<1|r>>>31),o=u^(r<<1|i>>>31),e[8]^=t,e[9]^=o,e[18]^=t,e[19]^=o,e[28]^=t,e[29]^=o,e[38]^=t,e[39]^=o,e[48]^=t,e[49]^=o,f=e[0],g=e[1],Q=e[11]<<4|e[10]>>>28,K=e[10]<<4|e[11]>>>28,I=e[20]<<3|e[21]>>>29,O=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,le=e[30]<<9|e[31]>>>23,z=e[40]<<18|e[41]>>>14,V=e[41]<<18|e[40]>>>14,L=e[2]<<1|e[3]>>>31,T=e[3]<<1|e[2]>>>31,v=e[13]<<12|e[12]>>>20,D=e[12]<<12|e[13]>>>20,q=e[22]<<10|e[23]>>>22,Y=e[23]<<10|e[22]>>>22,M=e[33]<<13|e[32]>>>19,S=e[32]<<13|e[33]>>>19,ce=e[42]<<2|e[43]>>>30,de=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,oe=e[4]<<30|e[5]>>>2,j=e[14]<<6|e[15]>>>26,W=e[15]<<6|e[14]>>>26,m=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,J=e[34]<<15|e[35]>>>17,X=e[35]<<15|e[34]>>>17,_=e[45]<<29|e[44]>>>3,P=e[44]<<29|e[45]>>>3,x=e[6]<<28|e[7]>>>4,A=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,U=e[26]<<25|e[27]>>>7,H=e[27]<<25|e[26]>>>7,y=e[36]<<21|e[37]>>>11,b=e[37]<<21|e[36]>>>11,$=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,R=e[8]<<27|e[9]>>>5,Z=e[9]<<27|e[8]>>>5,B=e[18]<<20|e[19]>>>12,k=e[19]<<20|e[18]>>>12,re=e[29]<<7|e[28]>>>25,ae=e[28]<<7|e[29]>>>25,N=e[38]<<8|e[39]>>>24,G=e[39]<<8|e[38]>>>24,F=e[48]<<14|e[49]>>>18,E=e[49]<<14|e[48]>>>18,e[0]=f^~v&m,e[1]=g^~D&w,e[10]=x^~B&I,e[11]=A^~k&O,e[20]=L^~j&U,e[21]=T^~W&H,e[30]=R^~Q&q,e[31]=Z^~K&Y,e[40]=te^~ne&re,e[41]=oe^~ie&ae,e[2]=v^~m&y,e[3]=D^~w&b,e[12]=B^~I&M,e[13]=k^~O&S,e[22]=j^~U&N,e[23]=W^~H&G,e[32]=Q^~q&J,e[33]=K^~Y&X,e[42]=ne^~re&se,e[43]=ie^~ae&le,e[4]=m^~y&F,e[5]=w^~b&E,e[14]=I^~M&_,e[15]=O^~S&P,e[24]=U^~N&z,e[25]=H^~G&V,e[34]=q^~J&$,e[35]=Y^~X&ee,e[44]=re^~se&ce,e[45]=ae^~le&de,e[6]=y^~F&f,e[7]=b^~E&g,e[16]=M^~_&x,e[17]=S^~P&A,e[26]=N^~z&L,e[27]=G^~V&T,e[36]=J^~$&R,e[37]=X^~ee&Z,e[46]=se^~ce&te,e[47]=le^~de&oe,e[8]=F^~f&v,e[9]=E^~g&D,e[18]=_^~x&B,e[19]=P^~A&k,e[28]=z^~L&j,e[29]=V^~T&W,e[38]=$^~R&Q,e[39]=ee^~Z&K,e[48]=ce^~te&ne,e[49]=de^~oe&ie,e[0]^=c[n],e[1]^=c[n+1]};if(i)po.exports=y;else for(F=0;F<b.length;++F)o[b[F]]=y[b[F]]}();var ho=uo.exports;function Co(e){return"0x"+ho.keccak_256(s.arrayify(e))}var fo,go=Object.freeze({__proto__:null,keccak256:Co});function vo(){const{provider:e}=I.getState();if(!e)throw new Error("provider is undefined");return e}exports.WatchResult=void 0,(fo=exports.WatchResult||(exports.WatchResult={}))[fo.Failed=0]="Failed",fo[fo.Success=1]="Success",fo[fo.Warning=2]="Warning";const Do=e=>u(void 0,void 0,void 0,(function*(){const{value:t,from:o,to:n,data:i}=e,r={from:o,to:n,value:t,data:i};t&&!/^0x0*$/.test(t)||delete r.value;const a=vo();try{return(yield a.estimateGas(r)).add(5e4)}catch(t){a.call(e).then((e=>{if("test"!==process.env.NODE_ENV)throw new Error("Unexpected issue with estimating the gas. Please try again.")})).catch((e=>{if("test"!==process.env.NODE_ENV)throw e}))}return null})),mo=e=>u(void 0,void 0,void 0,(function*(){var t,o,n,i;const r=vo(),a=null===(t=I.getState().connected)||void 0===t?void 0:t.wallet;if(null===(o=null==a?void 0:a.notSupported)||void 0===o?void 0:o.sendTransaction)throw new Error("Not supported sendTransaction.");if(null===(n=null==a?void 0:a.contract)||void 0===n?void 0:n.sendTransaction)return a.contract.sendTransaction(e);try{const t=yield r.getSigner().sendTransaction(e);if((null===(i=I.getState().connected)||void 0===i?void 0:i.isSafe)&&I.getState().account){const e=yield z(),o=yield e.getSafeTxHash(I.getState().chainId,I.getState().account,t.hash);return Object.assign(Object.assign({},t),{hash:o})}return t}catch(e){throw 4001===(null==e?void 0:e.code)?new Error("Transaction rejected."):e}}));function wo(e,t,o){if(!Je(e)||e===n.AddressZero)throw Error(`Invalid 'address' parameter '${e}'.`);const r=null!=o?o:vo(),a=I.getState().account;return new i.Contract(e,t,function(e,t){return t?function(e,t){return e.getSigner(t).connectUnchecked()}(e,t):e}(r,a))}const yo=new Map;function bo(e){var t,o,n;return u(this,void 0,void 0,(function*(){const i=vo(),r=null===(t=I.getState().connected)||void 0===t?void 0:t.wallet,a=I.getState().account;if(null===(o=null==r?void 0:r.notSupported)||void 0===o?void 0:o.sign)throw new Error("Not supported sign.");return(null===(n=null==r?void 0:r.contract)||void 0===n?void 0:n.sign)?r.contract.sign(e):i.send("eth_sign",[a,e])}))}exports.Core=class{constructor(e){this.isOpenBlockIframe=!1,this.isSafeIframe=!1;const t=Object.assign(Object.assign({},at),e),{providerConfig:o,walletListConfig:n,cacheKey:i}=t;this.providerConfig=o,st=o,window.addEventListener("eip6963:announceProvider",(e=>{const t=e;try{const{info:e,provider:o}=t.detail;o&&e.uuid&&e.name&&e.rdns&&ot.test(e.uuid)&&I.setState((o=>{const n=[...o.eip6963WalletList];return n.some((t=>t.info.rdns===e.rdns))?{}:{eip6963WalletList:[...n,t.detail]}}))}catch(t){console.error(t,e)}})),window.dispatchEvent(new Event("eip6963:requestProvider")),ro((null==n?void 0:n.extendsWalleObject)?Object.values(null==n?void 0:n.extendsWalleObject):void 0),this.walletListConfig=n,this.connectController=new tt({cacheKey:i,rpcUrl:o.rpcUrl})}setWalletListConfig(e){this.walletListConfig=Object.assign(Object.assign({},this.walletListConfig),e)}autoConnect(e){var t;return u(this,void 0,void 0,(function*(){try{const o=e=>this.connectToWallet(e,void 0,{isAutoConnect:!0}),n=yield so();if(n)return o(n);if(!I.getState().connected){const n=this.connectController.getCacheType(),i=this.getWalletList(null!==(t=this.providerConfig.chainId)&&void 0!==t?t:1,e);if(n){const e=i.find((e=>e.type===n));if(e)return o(e)}const r=A()?i.find((e=>{var t;return null===(t=e.injected)||void 0===t?void 0:t.call(e)})):void 0;if(r)return o(r);this.providerConfig.rpcUrl&&I.getState().setRpcUrlProvider(this.providerConfig.rpcUrl,this.providerConfig.chainId)}}catch(e){console.error(e)}}))}setRpcUrl(e){this.connectController.setRpcUrl(e)}getWalletList(e,t){var o;return ao(Object.assign(Object.assign({PORTIS_ID:null===(o=this.providerConfig.portisParams)||void 0===o?void 0:o.id,chainId:e},this.walletListConfig),t))}connectToWallet(e,t,o={}){return u(this,void 0,void 0,(function*(){return t&&(this.providerConfig=Object.assign(Object.assign({},this.providerConfig),t)),this.connectController.connectWallet(e,this.providerConfig,o)}))}getConnectedWallet(){return this.connectController.getConnectedWallet()}disconnectWallet(){return this.connectController.disconnectWallet()}connectWalletBefore(e){if(I.getState().disabledWalletKeyList.includes(`${e.type}-${e.showName}`)){let{link:t,supportExtension:o,supportMobile:n}=e;if(!1===o&&n&&!A())return!0;if(b()?t=e.mobileAndroidDeepLink||e.mobileDeepLink||e.link:x()&&(t=e.mobileIOSDeepLink||e.mobileDeepLink||e.link),t){if("undefined"!=typeof window){const e=window.location.origin,o=window.location.host,n=e.replace("://","%3A%2F%2F");t=t.replace("$APP_URL",e),t=t.replace("$host",o),t=t.replace("$formattedAPPUrl",n)}window.open(t)}return!1}return!0}clickWallet(e,t){this.connectWalletBefore(e)&&this.connectToWallet(e,t)}},exports.HD_PATH_LIST=[{path:"m/44'/60'/x'/0/0",name:"Ledger Live"},{path:"m/44'/60'/0'/x",name:"Legacy"}],exports.OpenBlockIframeWallet=no,exports.SUPPORTED_CHAIN_ID=yt,exports.__awaiter=u,exports.__extends=d,exports._tslib=w,exports.allWalletList=oo,exports.allWalletObject=eo,exports.approve=(e,t,o)=>u(void 0,void 0,void 0,(function*(){const n=wo(e,lo).interface.encodeFunctionData("approve",[t,o]),i={from:I.getState().account,to:e,data:n,value:"0x0",gasLimit:void 0},r=yield Do(i);return r&&(i.gasLimit=r),yield mo(i)})),exports.commonjsGlobal=co,exports.connect=function({appName:e,appLogoUrl:t,appId:o}){return u(this,void 0,void 0,(function*(){return lt&&ct||(lt||(lt=new Ye({name:e,icon:t,appId:o})),void 0===ct&&(ct=yield Promise.race([lt.start(),new Promise((e=>setTimeout(e,300)))]))),{app:lt,cyberAccount:ct}}))},exports.connectOpenBlockIframe=N,exports.convertTransactionType=function(e,t,o){return u(this,void 0,void 0,(function*(){const n=t;if(!o)return n;n.type=Xe;const i=yield function(e){return u(this,void 0,void 0,(function*(){if(void 0!==et[e])return et[e];const t=I.getState().provider;if(!t)return!1;const o=void 0!==(yield t.getBlock("latest")).baseFeePerGas;return et[e]=o,o}))}(e);if(i){const t=yield o(e);(null==t?void 0:t.maxFeePerGas)&&(null==t?void 0:t.maxPriorityFeePerGas)&&(n.maxFeePerGas=t.maxFeePerGas,n.maxPriorityFeePerGas=t.maxPriorityFeePerGas,n.type=$e)}return n}))},exports.convertWeb3Provider=k,exports.getAlchemyConnector=ue,exports.getAlchemyPackage=te,exports.getAugmentedNamespace=function(e){var t=e.default;if("function"==typeof t){var o=function(){return t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),o},exports.getBinanceConnector=ce,exports.getBinancePackage=X,exports.getBloctoConnector=oe,exports.getBloctoPackage=K,exports.getChainNameByChainId=e=>{switch(Number(e)){case 1:case 5:return"eth";case 137:case pt:return"polygon";case 56:case 97:return"bsc";case ut:case ht:return"rangers";case Ct:return"scroll";case ft:case gt:return"arbitrum";case vt:case Dt:return"avalanche";case 322:case 321:return"kcc";case 65:case 66:return"okc";case mt:case wt:return"platon";default:return"polygon"}},exports.getContract=wo,exports.getCyberAccount=()=>ct,exports.getCyberChain=function(e,t){if(!e)throw new Error("app is undefined");const{cyberWallet:o}=e;switch(t){case exports.ChainId.OPTIMISM:return o.optimism;case exports.ChainId.POLYGON:return o.polygon;case exports.ChainId.ARBITRUM_ONE:return o.arbitrum;case exports.ChainId.LINEA:return o.linea;case exports.ChainId.BASE:return o.base;case exports.ChainId.SCROLL_ALPHA_TESTNET:return o.scrollSepolia;default:throw new Error("Invalid chain")}},exports.getCyberConnector=se,exports.getCyberPackage=Y,exports.getDefaultExportFromCjs=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e},exports.getENVByChainId=e=>{switch(Number(e)){case 1:case 137:case 56:case ut:case gt:case Dt:case 321:case wt:case 66:return"prod";default:return"test"}},exports.getEstimateGas=Do,exports.getGasPrice=()=>u(void 0,void 0,void 0,(function*(){const e=vo();try{return yield e.getGasPrice()}catch(t){e.call({}).then((e=>{throw new Error("Unexpected issue with getting the gas price. Please try again.")})).catch((e=>{throw e}))}return null})),exports.getGnosisPackage=z,exports.getIsAndroid=b,exports.getIsCyber=function(){var e,t,o,n;return u(this,void 0,void 0,(function*(){const i=st;if(ct)return!0;try{return lt||(lt=new Ye({name:null!==(e=null==i?void 0:i.appName)&&void 0!==e?e:"DODO",icon:null!==(t=null==i?void 0:i.appLogoUrl)&&void 0!==t?t:"https://app.dodoex.io/DODO.svg",appId:null!==(n=null===(o=null==i?void 0:i.cyberParams)||void 0===o?void 0:o.appId)&&void 0!==n?n:"77cd9ea7-ae31-472e-8332-21cb26e9398e"})),ct=yield Promise.race([lt.start(),new Promise((e=>setTimeout(e,400)))]),!!ct}catch(e){return!1}}))},exports.getIsIOS=x,exports.getIsMobile=A,exports.getIsOpenBlockIframe=H,exports.getIsolatedEnvironmentWallet=so,exports.getLedgerUSBPackage=G,exports.getMetamaskConnector=de,exports.getMetamaskPackage=$,exports.getOwnerProvider=function(){if(!window.ethereum)throw new Error("Method not implemented.");return new e.Web3Provider(window.ethereum)},exports.getPortisConnector=ne,exports.getPortisPackage=R,exports.getProviderByChain=function(t,o){return u(this,void 0,void 0,(function*(){if(!t||t===I.getState().chainId&&I.getState().provider)return I.getState().provider;if(yo.has(t))return yo.get(t);const n=new e.JsonRpcProvider(o,t);return yo.set(t,n),n}))},exports.getRainbowConnectPackage=q,exports.getRainbowConnector=ae,exports.getSocialLoginConnector=pe,exports.getSocialLoginPackage=ee,exports.getUAuthPackage=V,exports.getUniPassConnector=le,exports.getUniPassPackage=J,exports.getWalletConnectConnector=re,exports.getWalletConnectPackage=Q,exports.getWalletDisabledState=ro,exports.getWalletLinkConnector=ie,exports.getWalletLinkPackage=Z,exports.getWalletList=ao,exports.getWindow=B,exports.injectedConnect=O,exports.isAddress=Je,exports.isLargeIOS=E,exports.isSmallIOS=F,exports.isSupportWebHid=y,exports.keccak256=Co,exports.lib_esm=go,exports.personalSign=function(e,t){var o,n,i;return u(this,void 0,void 0,(function*(){const r=vo(),a=null===(o=I.getState().connected)||void 0===o?void 0:o.wallet;if(null===(n=null==a?void 0:a.notSupported)||void 0===n?void 0:n.personalSign)throw new Error("Not supported personalSign.");return(null===(i=null==a?void 0:a.contract)||void 0===i?void 0:i.personalSign)?a.contract.personalSign(e,t):r.getSigner().signMessage(e)}))},exports.registerNetworkWithMetamask=_,exports.sendTransaction=mo,exports.sha3=uo,exports.sign=bo,exports.signTransaction=function(e){return u(this,void 0,void 0,(function*(){const t=yield r.resolveProperties(e);delete t.from;const o=Co(a.serialize(t)),n=yield bo(o);return a.serialize(t,n)}))},exports.signTypedData=function({account:e,typedData:t}){var o,n,i;return u(this,void 0,void 0,(function*(){const r=vo(),a=null===(o=I.getState().connected)||void 0===o?void 0:o.wallet;if(null===(n=null==a?void 0:a.notSupported)||void 0===n?void 0:n.signTypedData)throw new Error("Not supported sign.");if(null===(i=null==a?void 0:a.contract)||void 0===i?void 0:i.signTypedData)return a.contract.signTypedData({account:e,typedData:t});try{if(r){const o=yield r.send("eth_signTypedData_v4",[e,JSON.stringify(t)]);return console.log("web3 eth_signTypedData_v4 result: ",o),o}}catch(e){if(console.error("web3 eth_signTypedData_v4 error: ",e),e.message)throw new Error(e.message)}return null}))},exports.standaloneList=to,exports.standaloneListObject=Xt,exports.supportChains=dt,exports.useWalletStore=I,exports.watchTx=function(e,t,o,n,i){var r;return u(this,void 0,void 0,(function*(){const a=vo();for(;!t.killSwitch;){try{if(null===(r=I.getState().connected)||void 0===r?void 0:r.isSafe){const t=yield z(),o=yield t.getSafeTxStatus(I.getState().chainId,e,I.getState().account);if("rejected"===o)return{status:exports.WatchResult.Warning,transactionReceipt:null};let n;if(o&&(n=o.status?exports.WatchResult.Success:exports.WatchResult.Failed),void 0!==n)return{status:n,transactionReceipt:o?Object.assign(Object.assign({},o),{blockNumber:o.blockNumber||void 0,status:o.status?1:0}):null}}else{const[t,r]=yield Promise.all([i?i(e):a.getTransactionReceipt(e),a.getTransactionCount(null!=n?n:"")]);let s;if(console.log("[TX Watch] Web3",t,"/Current Nonce ",r,"/TX Nonce",o),t&&(s=t.status?exports.WatchResult.Success:exports.WatchResult.Failed),void 0===s&&o&&r>o&&(s=exports.WatchResult.Warning),void 0!==s)return{status:s,transactionReceipt:t}}}catch(e){console.error("[TX Watch] Error",e.message)}yield new Promise((e=>setTimeout(e,t.interval)))}return null}))};
@@ -1 +1 @@
1
- "use strict";var e=require("./index-94f8e007.cjs"),r=require("./interface-a83766a7.cjs"),t=Object.freeze({__proto__:null,ConstructorFragment:r.ConstructorFragment,ErrorFragment:r.ErrorFragment,EventFragment:r.EventFragment,Fragment:r.Fragment,FunctionFragment:r.FunctionFragment,ParamType:r.ParamType,FormatTypes:r.FormatTypes,AbiCoder:r.AbiCoder,defaultAbiCoder:r.defaultAbiCoder,Interface:r.Interface,Indexed:r.Indexed,checkResultErrors:r.checkResultErrors,LogDescription:r.LogDescription,TransactionDescription:r.TransactionDescription}),n=e.getAugmentedNamespace(t);exports.require$$0=n;
1
+ "use strict";var e=require("./index-25eed170.cjs"),r=require("./interface-9605f4ec.cjs"),t=Object.freeze({__proto__:null,ConstructorFragment:r.ConstructorFragment,ErrorFragment:r.ErrorFragment,EventFragment:r.EventFragment,Fragment:r.Fragment,FunctionFragment:r.FunctionFragment,ParamType:r.ParamType,FormatTypes:r.FormatTypes,AbiCoder:r.AbiCoder,defaultAbiCoder:r.defaultAbiCoder,Interface:r.Interface,Indexed:r.Indexed,checkResultErrors:r.checkResultErrors,LogDescription:r.LogDescription,TransactionDescription:r.TransactionDescription}),n=e.getAugmentedNamespace(t);exports.require$$0=n;
@@ -1,4 +1,4 @@
1
- "use strict";var t=require("./index-df8e5839.cjs");
1
+ "use strict";var t=require("./index-9f2a69d5.cjs");
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./index-25eed170.cjs"),t=require("@ethersproject/address"),n=require("@ethersproject/abstract-signer"),r=require("@ethersproject/providers"),o=require("@ethersproject/bytes"),i=require("./index-9ebca65b.cjs"),a=require("./index-287419c7.cjs"),s=require("./ethers-a562d94e.cjs"),u=require("./index-7a8c5e45.cjs"),c=require("./id-98021c92.cjs"),p=require("@ethersproject/json-wallets"),l=require("@ethersproject/properties"),d=require("./index-a93123bc.cjs"),f=require("@ethersproject/transactions"),h=require("@ethersproject/contracts"),g=require("./DefaultJsonRpcProvider-9548a9a9.cjs");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("zustand"),require("events"),require("@ethersproject/constants"),require("./interface-9605f4ec.cjs"),require("@ethersproject/abstract-provider"),require("./bn-9b5d5174.cjs"),require("./__node-resolve_empty-d50fa480.cjs"),require("./hash-7ce6fed5.cjs"),require("./inherits_browser-50deae74.cjs");var y,b=m(t),v=m(o),w=m(p),P=m(l),x=m(f),_=Object.freeze({__proto__:null,_toEscapedUtf8String:c._toEscapedUtf8String,toUtf8Bytes:c.toUtf8Bytes,toUtf8CodePoints:c.toUtf8CodePoints,toUtf8String:c.toUtf8String,Utf8ErrorFuncs:c.Utf8ErrorFuncs,get Utf8ErrorReason(){return c.Utf8ErrorReason},get UnicodeNormalizationForm(){return c.UnicodeNormalizationForm},formatBytes32String:s.formatBytes32String,parseBytes32String:s.parseBytes32String,nameprep:s.nameprep}),j=Object.freeze({__proto__:null,id:c.id,dnsEncode:s.dnsEncode,namehash:s.namehash,isValidName:s.isValidName,ensNormalize:s.ensNormalize,messagePrefix:u.messagePrefix,hashMessage:u.hashMessage,_TypedDataEncoder:i.TypedDataEncoder}),O=Object.freeze({__proto__:null,computeHmac:u.computeHmac,ripemd160:u.ripemd160,sha256:u.sha256,sha512:u.sha512,get SupportedAlgorithm(){return u.SupportedAlgorithm}}),S=Object.freeze({__proto__:null,randomBytes:u.randomBytes,shuffled:s.shuffled});class E extends n.Signer{constructor(e,t,n,r){super(),this._address=n,this._index=null!=r?r:0,this.provider=e,this.upWallet=t}_legacySignMessage(e){throw new Error("Method not implemented.")}sendUncheckedTransaction(e){throw new Error("Method not implemented.")}unlock(e){throw new Error("Method not implemented.")}getAddress(){return e.__awaiter(this,void 0,void 0,(function*(){return Promise.resolve(t.getAddress(this._address))}))}signMessage(t){return e.__awaiter(this,void 0,void 0,(function*(){if(!this.upWallet)throw new Error(`address unknown '${t}'`);return yield this.upWallet.signMessage(t,{isEIP191Prefix:!0,onAuthChain:!0})}))}_signTypedData(t,n,r){return e.__awaiter(this,void 0,void 0,(function*(){throw new Error("Method not implemented.")}))}signTransaction(t){return e.__awaiter(this,void 0,void 0,(function*(){if(!this.upWallet)throw new Error(`address unknown '${t.from}'`);return this.upWallet.sendTransaction({from:t.from,to:t.to,value:t.value,data:t.data})}))}sendTransaction(t){return e.__awaiter(this,void 0,void 0,(function*(){if(!this.upWallet)throw new Error(`address unknown '${t.from}'`);return{hash:yield this.upWallet.sendTransaction({from:t.from,to:t.to,value:t.value,data:t.data}),from:t.from}}))}connect(e){return new E(null!=e?e:this.provider,this.upWallet,this._address,this._index)}connectUnchecked(){return new E(this.provider,this.upWallet,this._address,this._index)}}!function(e){e.REGISTER="register"}(y||(y={}));var k,T=function(e,t,n,r,o){this.from=e,this.msg=t,this.type=n,this.isEIP191Prefix=r,this.onAuthChain=o},A=function(e,t){this.type=e,this.data=t},U=function(e,t,n){this.type=e,this.payload=t,this.appSetting=n};function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C.apply(this,arguments)}!function(e){e.LIGHT="light",e.DARK="dark"}(k||(k={}));var L=function(e){return o.arrayify(function(e){var t=C({},e.types);return delete t.EIP712Domain,i.TypedDataEncoder.hash(e.domain,t,e.message)}(e))},N={},I=e.getAugmentedNamespace(s.lib_esm),D=e.getAugmentedNamespace(u.lib_esm),R=e.getAugmentedNamespace(j),M=e.getAugmentedNamespace(u.lib_esm$1),B=e.getAugmentedNamespace(e.lib_esm),F=e.getAugmentedNamespace(c.lib_esm),z=e.getAugmentedNamespace(O),W=e.getAugmentedNamespace(s.lib_esm$1),q=e.getAugmentedNamespace(S),G=e.getAugmentedNamespace(d.lib_esm),J=e.getAugmentedNamespace(u.lib_esm$2),V=e.getAugmentedNamespace(_),H=e.getAugmentedNamespace(u.lib_esm$3),$=e.getAugmentedNamespace(u.lib_esm$4),K=e.getAugmentedNamespace(i.lib_esm);function Z(){Z=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,o){var i=t&&t.prototype instanceof d?t:d,a=Object.create(i.prototype),s=new O(o||[]);return r(a,"_invoke",{value:P(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function h(){}var g={};u(g,i,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(S([])));y&&y!==t&&n.call(y,i)&&(g=y);var b=h.prototype=d.prototype=Object.create(g);function v(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(r,i,a,s){var u=p(e[r],e,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,s)}))}s(u.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function P(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return E()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=p(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function x(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),l;var o=p(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,l;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function S(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=h,r(b,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:f,configurable:!0}),f.displayName=u(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,u(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},v(w.prototype),u(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(b),u(b,s,"Generator"),u(b,i,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}function Y(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}function Q(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Y(i,r,o,a,s,"next",e)}function s(e){Y(i,r,o,a,s,"throw",e)}a(void 0)}))}}function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X.apply(this,arguments)}!function(t){var n=e.commonjsGlobal&&e.commonjsGlobal.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),r=e.commonjsGlobal&&e.commonjsGlobal.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=e.commonjsGlobal&&e.commonjsGlobal.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&n(t,e,o);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.formatBytes32String=t.Utf8ErrorFuncs=t.toUtf8String=t.toUtf8CodePoints=t.toUtf8Bytes=t._toEscapedUtf8String=t.nameprep=t.hexDataSlice=t.hexDataLength=t.hexZeroPad=t.hexValue=t.hexStripZeros=t.hexConcat=t.isHexString=t.hexlify=t.base64=t.base58=t.TransactionDescription=t.LogDescription=t.Interface=t.SigningKey=t.HDNode=t.defaultPath=t.isBytesLike=t.isBytes=t.zeroPad=t.stripZeros=t.concat=t.arrayify=t.shallowCopy=t.resolveProperties=t.getStatic=t.defineReadOnly=t.deepCopy=t.checkProperties=t.poll=t.fetchJson=t._fetchData=t.RLP=t.Logger=t.checkResultErrors=t.FormatTypes=t.ParamType=t.FunctionFragment=t.EventFragment=t.ErrorFragment=t.ConstructorFragment=t.Fragment=t.defaultAbiCoder=t.AbiCoder=void 0,t.Indexed=t.Utf8ErrorReason=t.UnicodeNormalizationForm=t.SupportedAlgorithm=t.mnemonicToSeed=t.isValidMnemonic=t.entropyToMnemonic=t.mnemonicToEntropy=t.getAccountPath=t.verifyTypedData=t.verifyMessage=t.recoverPublicKey=t.computePublicKey=t.recoverAddress=t.computeAddress=t.getJsonWalletAddress=t.TransactionTypes=t.serializeTransaction=t.parseTransaction=t.accessListify=t.joinSignature=t.splitSignature=t.soliditySha256=t.solidityKeccak256=t.solidityPack=t.shuffled=t.randomBytes=t.sha512=t.sha256=t.ripemd160=t.keccak256=t.computeHmac=t.commify=t.parseUnits=t.formatUnits=t.parseEther=t.formatEther=t.isAddress=t.getCreate2Address=t.getContractAddress=t.getIcapAddress=t.getAddress=t._TypedDataEncoder=t.id=t.isValidName=t.namehash=t.hashMessage=t.dnsEncode=t.parseBytes32String=void 0;var i=a.require$$0;Object.defineProperty(t,"AbiCoder",{enumerable:!0,get:function(){return i.AbiCoder}}),Object.defineProperty(t,"checkResultErrors",{enumerable:!0,get:function(){return i.checkResultErrors}}),Object.defineProperty(t,"ConstructorFragment",{enumerable:!0,get:function(){return i.ConstructorFragment}}),Object.defineProperty(t,"defaultAbiCoder",{enumerable:!0,get:function(){return i.defaultAbiCoder}}),Object.defineProperty(t,"ErrorFragment",{enumerable:!0,get:function(){return i.ErrorFragment}}),Object.defineProperty(t,"EventFragment",{enumerable:!0,get:function(){return i.EventFragment}}),Object.defineProperty(t,"FormatTypes",{enumerable:!0,get:function(){return i.FormatTypes}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return i.Fragment}}),Object.defineProperty(t,"FunctionFragment",{enumerable:!0,get:function(){return i.FunctionFragment}}),Object.defineProperty(t,"Indexed",{enumerable:!0,get:function(){return i.Indexed}}),Object.defineProperty(t,"Interface",{enumerable:!0,get:function(){return i.Interface}}),Object.defineProperty(t,"LogDescription",{enumerable:!0,get:function(){return i.LogDescription}}),Object.defineProperty(t,"ParamType",{enumerable:!0,get:function(){return i.ParamType}}),Object.defineProperty(t,"TransactionDescription",{enumerable:!0,get:function(){return i.TransactionDescription}});var s=b.default;Object.defineProperty(t,"getAddress",{enumerable:!0,get:function(){return s.getAddress}}),Object.defineProperty(t,"getCreate2Address",{enumerable:!0,get:function(){return s.getCreate2Address}}),Object.defineProperty(t,"getContractAddress",{enumerable:!0,get:function(){return s.getContractAddress}}),Object.defineProperty(t,"getIcapAddress",{enumerable:!0,get:function(){return s.getIcapAddress}}),Object.defineProperty(t,"isAddress",{enumerable:!0,get:function(){return s.isAddress}});var u=o(I);t.base64=u;var c=D;Object.defineProperty(t,"base58",{enumerable:!0,get:function(){return c.Base58}});var p=v.default;Object.defineProperty(t,"arrayify",{enumerable:!0,get:function(){return p.arrayify}}),Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return p.concat}}),Object.defineProperty(t,"hexConcat",{enumerable:!0,get:function(){return p.hexConcat}}),Object.defineProperty(t,"hexDataSlice",{enumerable:!0,get:function(){return p.hexDataSlice}}),Object.defineProperty(t,"hexDataLength",{enumerable:!0,get:function(){return p.hexDataLength}}),Object.defineProperty(t,"hexlify",{enumerable:!0,get:function(){return p.hexlify}}),Object.defineProperty(t,"hexStripZeros",{enumerable:!0,get:function(){return p.hexStripZeros}}),Object.defineProperty(t,"hexValue",{enumerable:!0,get:function(){return p.hexValue}}),Object.defineProperty(t,"hexZeroPad",{enumerable:!0,get:function(){return p.hexZeroPad}}),Object.defineProperty(t,"isBytes",{enumerable:!0,get:function(){return p.isBytes}}),Object.defineProperty(t,"isBytesLike",{enumerable:!0,get:function(){return p.isBytesLike}}),Object.defineProperty(t,"isHexString",{enumerable:!0,get:function(){return p.isHexString}}),Object.defineProperty(t,"joinSignature",{enumerable:!0,get:function(){return p.joinSignature}}),Object.defineProperty(t,"zeroPad",{enumerable:!0,get:function(){return p.zeroPad}}),Object.defineProperty(t,"splitSignature",{enumerable:!0,get:function(){return p.splitSignature}}),Object.defineProperty(t,"stripZeros",{enumerable:!0,get:function(){return p.stripZeros}});var l=R;Object.defineProperty(t,"_TypedDataEncoder",{enumerable:!0,get:function(){return l._TypedDataEncoder}}),Object.defineProperty(t,"dnsEncode",{enumerable:!0,get:function(){return l.dnsEncode}}),Object.defineProperty(t,"hashMessage",{enumerable:!0,get:function(){return l.hashMessage}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return l.id}}),Object.defineProperty(t,"isValidName",{enumerable:!0,get:function(){return l.isValidName}}),Object.defineProperty(t,"namehash",{enumerable:!0,get:function(){return l.namehash}});var d=M;Object.defineProperty(t,"defaultPath",{enumerable:!0,get:function(){return d.defaultPath}}),Object.defineProperty(t,"entropyToMnemonic",{enumerable:!0,get:function(){return d.entropyToMnemonic}}),Object.defineProperty(t,"getAccountPath",{enumerable:!0,get:function(){return d.getAccountPath}}),Object.defineProperty(t,"HDNode",{enumerable:!0,get:function(){return d.HDNode}}),Object.defineProperty(t,"isValidMnemonic",{enumerable:!0,get:function(){return d.isValidMnemonic}}),Object.defineProperty(t,"mnemonicToEntropy",{enumerable:!0,get:function(){return d.mnemonicToEntropy}}),Object.defineProperty(t,"mnemonicToSeed",{enumerable:!0,get:function(){return d.mnemonicToSeed}});var f=w.default;Object.defineProperty(t,"getJsonWalletAddress",{enumerable:!0,get:function(){return f.getJsonWalletAddress}});var h=B;Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return h.keccak256}});var g=F;Object.defineProperty(t,"Logger",{enumerable:!0,get:function(){return g.Logger}});var m=z;Object.defineProperty(t,"computeHmac",{enumerable:!0,get:function(){return m.computeHmac}}),Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return m.ripemd160}}),Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return m.sha256}}),Object.defineProperty(t,"sha512",{enumerable:!0,get:function(){return m.sha512}});var y=W;Object.defineProperty(t,"solidityKeccak256",{enumerable:!0,get:function(){return y.keccak256}}),Object.defineProperty(t,"solidityPack",{enumerable:!0,get:function(){return y.pack}}),Object.defineProperty(t,"soliditySha256",{enumerable:!0,get:function(){return y.sha256}});var _=q;Object.defineProperty(t,"randomBytes",{enumerable:!0,get:function(){return _.randomBytes}}),Object.defineProperty(t,"shuffled",{enumerable:!0,get:function(){return _.shuffled}});var j=P.default;Object.defineProperty(t,"checkProperties",{enumerable:!0,get:function(){return j.checkProperties}}),Object.defineProperty(t,"deepCopy",{enumerable:!0,get:function(){return j.deepCopy}}),Object.defineProperty(t,"defineReadOnly",{enumerable:!0,get:function(){return j.defineReadOnly}}),Object.defineProperty(t,"getStatic",{enumerable:!0,get:function(){return j.getStatic}}),Object.defineProperty(t,"resolveProperties",{enumerable:!0,get:function(){return j.resolveProperties}}),Object.defineProperty(t,"shallowCopy",{enumerable:!0,get:function(){return j.shallowCopy}});var O=o(G);t.RLP=O;var S=J;Object.defineProperty(t,"computePublicKey",{enumerable:!0,get:function(){return S.computePublicKey}}),Object.defineProperty(t,"recoverPublicKey",{enumerable:!0,get:function(){return S.recoverPublicKey}}),Object.defineProperty(t,"SigningKey",{enumerable:!0,get:function(){return S.SigningKey}});var E=V;Object.defineProperty(t,"formatBytes32String",{enumerable:!0,get:function(){return E.formatBytes32String}}),Object.defineProperty(t,"nameprep",{enumerable:!0,get:function(){return E.nameprep}}),Object.defineProperty(t,"parseBytes32String",{enumerable:!0,get:function(){return E.parseBytes32String}}),Object.defineProperty(t,"_toEscapedUtf8String",{enumerable:!0,get:function(){return E._toEscapedUtf8String}}),Object.defineProperty(t,"toUtf8Bytes",{enumerable:!0,get:function(){return E.toUtf8Bytes}}),Object.defineProperty(t,"toUtf8CodePoints",{enumerable:!0,get:function(){return E.toUtf8CodePoints}}),Object.defineProperty(t,"toUtf8String",{enumerable:!0,get:function(){return E.toUtf8String}}),Object.defineProperty(t,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return E.Utf8ErrorFuncs}});var k=x.default;Object.defineProperty(t,"accessListify",{enumerable:!0,get:function(){return k.accessListify}}),Object.defineProperty(t,"computeAddress",{enumerable:!0,get:function(){return k.computeAddress}}),Object.defineProperty(t,"parseTransaction",{enumerable:!0,get:function(){return k.parse}}),Object.defineProperty(t,"recoverAddress",{enumerable:!0,get:function(){return k.recoverAddress}}),Object.defineProperty(t,"serializeTransaction",{enumerable:!0,get:function(){return k.serialize}}),Object.defineProperty(t,"TransactionTypes",{enumerable:!0,get:function(){return k.TransactionTypes}});var T=H;Object.defineProperty(t,"commify",{enumerable:!0,get:function(){return T.commify}}),Object.defineProperty(t,"formatEther",{enumerable:!0,get:function(){return T.formatEther}}),Object.defineProperty(t,"parseEther",{enumerable:!0,get:function(){return T.parseEther}}),Object.defineProperty(t,"formatUnits",{enumerable:!0,get:function(){return T.formatUnits}}),Object.defineProperty(t,"parseUnits",{enumerable:!0,get:function(){return T.parseUnits}});var A=$;Object.defineProperty(t,"verifyMessage",{enumerable:!0,get:function(){return A.verifyMessage}}),Object.defineProperty(t,"verifyTypedData",{enumerable:!0,get:function(){return A.verifyTypedData}});var U=K;Object.defineProperty(t,"_fetchData",{enumerable:!0,get:function(){return U._fetchData}}),Object.defineProperty(t,"fetchJson",{enumerable:!0,get:function(){return U.fetchJson}}),Object.defineProperty(t,"poll",{enumerable:!0,get:function(){return U.poll}});var C=z;Object.defineProperty(t,"SupportedAlgorithm",{enumerable:!0,get:function(){return C.SupportedAlgorithm}});var L=V;Object.defineProperty(t,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return L.UnicodeNormalizationForm}}),Object.defineProperty(t,"Utf8ErrorReason",{enumerable:!0,get:function(){return L.Utf8ErrorReason}})}(N);var ee="wallet.unipass.id",te={upDomain:ee,upConnectUrl:"https://"+ee+"/connect",upLogoutUrl:"https://"+ee+"/logout",upSignMessageUrl:"https://"+ee+"/sign-message",upTransactionUrl:"https://"+ee+"/send-transaction",upLoadingUrl:"https://"+ee+"/connect/loading"},ne=function(){return te},re={protocol:"https",domain:"testnet.wallet.unipass.id"},oe={protocol:"https",domain:"wallet.unipass.id"},ie={mainnet:{eth:"https://node.wallet.unipass.id/eth-mainnet",polygon:"https://node.wallet.unipass.id/polygon-mainnet",bsc:"https://node.wallet.unipass.id/bsc-mainnet",rangers:"https://node.wallet.unipass.id/rangers-mainnet",scroll:"https://node.wallet.unipass.id/scroll-mainnet",arbitrum:"https://node.wallet.unipass.id/arbitrum-mainnet",avalanche:"https://node.wallet.unipass.id/avalanche-mainnet",kcc:"https://node.wallet.unipass.id/kcc-mainnet",platon:"https://node.wallet.unipass.id/platon-mainnet",okc:"https://node.wallet.unipass.id/okc-mainnet"},testnet:{eth:"https://node.wallet.unipass.id/eth-goerli",polygon:"https://node.wallet.unipass.id/polygon-mumbai",bsc:"https://node.wallet.unipass.id/bsc-testnet",rangers:"https://node.wallet.unipass.id/rangers-robin",scroll:"https://node.wallet.unipass.id/scroll-testnet",arbitrum:"https://node.wallet.unipass.id/arbitrum-testnet",avalanche:"https://node.wallet.unipass.id/avalanche-testnet",kcc:"https://node.wallet.unipass.id/kcc-testnet",platon:"https://node.wallet.unipass.id/platon-testnet",okc:"https://node.wallet.unipass.id/okc-testnet"}},ae=function(e){var t;t="localStorage"===e?window.localStorage||localStorage:window.sessionStorage||sessionStorage;return{get:function(e){return t.getItem(e)||""},set:function(e,n){return t.setItem(e,n||"")},remove:function(e){return t.removeItem(e)}}},se=function(){var e=Q(Z().mark((function e(t,n){var r,o;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=ae(t.storageType).get(xe),e.t0=r&&JSON.parse(r),e.t0){e.next=6;break}return e.next=5,ce(t,n);case 5:e.t0=e.sent;case 6:return o=e.t0,e.abrupt("return",o);case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),ue=function(){var e=Q(Z().mark((function e(t){var n;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=4;break}return n=new U("UP_LOGOUT"),e.next=4,_e(n);case 4:ae("localStorage").remove(xe),ae("sessionStorage").remove(xe);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ce=function(){var e=Q(Z().mark((function e(t,n){var r,o,i;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=n?JSON.stringify(n):"",o=new U("UP_LOGIN",r,t.appSettings),e.next=5,_e(o,null==n?void 0:n.connectType,null==n?void 0:n.forceLogin,null==n?void 0:n.eventListener);case 5:return(i=e.sent)&&i.address&&ae(t.storageType).set(xe,JSON.stringify(i)),e.abrupt("return",i);case 10:throw e.prev=10,e.t0=e.catch(0),new Error("Account Not Available");case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t,n){return e.apply(this,arguments)}}(),pe="UP_WALLET_POP",le=null,de=null;function fe(e,t,n){var r="innerWidth=462,width=462,innerHeight=810,height=810,top="+.5*(n.screen.availHeight-30-810)+",left="+.8*(n.screen.availWidth-10-462)+",toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,";return n.open(e,t,r)}function he(e,t,n){return ge.apply(this,arguments)}function ge(){return(ge=Q(Z().mark((function e(t,n,r){var o,i,a;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==le||null!=(o=le)&&o.closed)){e.next=8;break}if(null!=(le=fe(t,pe,window))){e.next=6;break}return e.next=5,me(t,n,r);case 5:return e.abrupt("return",e.sent);case 6:e.next=9;break;case 8:de!==t?(le.location.replace(t),le.focus()):le.focus();case 9:return i=setInterval((function(){if(le&&le.closed){var e={data:new U("UP_RESPONSE",JSON.stringify(new A("DECLINE","user reject connection")))};n(e,{close:function(){},send:function(){}}),clearInterval(i)}}),1e3),a=function(){le&&!le.closed&&le.close(),le=null},e.abrupt("return",{popup:le,unmount:a});case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function me(e,t,n){return ye.apply(this,arguments)}function ye(){return(ye=Q(Z().mark((function e(t,n,r){var o,i;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=document.createElement("div"),'\n <div\n class="up_notification"\n style="\n position: fixed;\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n align-items: center;\n top: 26px;\n right: 26px;\n width: 340px;\n height: 96px;\n z-index: 100001;\n background-color: #362866;\n box-sizing: border-box;\n border: 2px solid #ffffff;\n border-radius: 8px;\n padding: 16px 20px;\n "\n>\n <div class="up_notification_left" style="color: white">\n <div\n class="up_notification_title"\n style="\n font-weight: 500;\n font-size: 14px;\n line-height: 20px;\n margin-bottom: 8px;\n "\n >\n Request Pop-up\n </div>\n <div\n class="up_notification_tip"\n style="\n font-weight: 450;\n font-size: 12px;\n line-height: 20px;\n color: rgba(255, 255, 255, 0.8);\n "\n >\n Click Approve to complete creating or using wallet\n </div>\n </div>\n <div\n class="up_notification_right"\n style="\n width: 90px;\n height: 35px;\n font-size: 12px;\n text-align: center;\n background: linear-gradient(270deg, #997afb 0%, #7a55f8 63.6%);\n border-radius: 6px;\n line-height: 35px;\n color: white;\n margin-left: 20px;\n cursor: pointer;\n "\n >\n Approve\n </div>\n</div>\n ',o.innerHTML='\n <div\n class="up_notification"\n style="\n position: fixed;\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n align-items: center;\n top: 26px;\n right: 26px;\n width: 340px;\n height: 96px;\n z-index: 100001;\n background-color: #362866;\n box-sizing: border-box;\n border: 2px solid #ffffff;\n border-radius: 8px;\n padding: 16px 20px;\n "\n>\n <div class="up_notification_left" style="color: white">\n <div\n class="up_notification_title"\n style="\n font-weight: 500;\n font-size: 14px;\n line-height: 20px;\n margin-bottom: 8px;\n "\n >\n Request Pop-up\n </div>\n <div\n class="up_notification_tip"\n style="\n font-weight: 450;\n font-size: 12px;\n line-height: 20px;\n color: rgba(255, 255, 255, 0.8);\n "\n >\n Click Approve to complete creating or using wallet\n </div>\n </div>\n <div\n class="up_notification_right"\n style="\n width: 90px;\n height: 35px;\n font-size: 12px;\n text-align: center;\n background: linear-gradient(270deg, #997afb 0%, #7a55f8 63.6%);\n border-radius: 6px;\n line-height: 35px;\n color: white;\n margin-left: 20px;\n cursor: pointer;\n "\n >\n Approve\n </div>\n</div>\n ',document.body.appendChild(o),i=document.querySelector(".up_notification_right"),e.abrupt("return",new Promise((function(e){null==i||i.addEventListener("click",(function(){document.body.removeChild(o),e(he(t,n,r))}),!1)})));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var be=function(){};function ve(e,t,n){if("UP_LOGIN"===e)return"google"===t?ne().upConnectUrl+"?connectType=google&forceLogin="+(n?"1":"0"):"email"===t?ne().upConnectUrl+"?connectType=email&forceLogin="+(n?"1":"0"):ne().upConnectUrl+"?forceLogin="+(n?"1":"0");if("UP_LOGOUT"===e)return ne().upLogoutUrl;if("UP_SIGN_MESSAGE"===e)return ne().upSignMessageUrl;if("UP_TRANSACTION"===e)return ne().upTransactionUrl;if("UP_READY"===e)return ne().upLoadingUrl;throw new Error("unsupport type "+e)}function we(e,t,n,r){return Pe.apply(this,arguments)}function Pe(){return Pe=Q(Z().mark((function e(t,n,r,o){var i,a,s,u,c,p,l,d,f,h;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(h=function(e){try{null==p||p.postMessage(JSON.parse(JSON.stringify(e||{})),"*")}catch(t){console.error("Popup Send Error",e,t)}},f=function(){try{window.removeEventListener("message",d),l(),i()}catch(e){console.error("Popup Close Error",e)}},d=function(e){try{if("object"!=typeof e.data)return;var t=e.data;if(!t||!t.type)return;"UP_CLOSE"===e.data.type&&f(),"UP_READY"===t.type&&s(e,{send:h,close:f}),"UP_RESPONSE"===t.type&&u(e,{send:h,close:f}),"UP_EVENT"===t.type&&a(e,{send:h,close:f})}catch(e){console.error("Popup Callback Error",e),f()}},null!=t){e.next=5;break}return e.abrupt("return",{send:be,close:be});case 5:return i=(null==o?void 0:o.onClose)||be,a=(null==o?void 0:o.onMessage)||be,s=(null==o?void 0:o.onReady)||be,u=(null==o?void 0:o.onResponse)||be,window.addEventListener("message",d),e.next=12,he(ve(t.type,n,r),u,t.appSetting);case 12:return c=e.sent,p=c.popup,l=c.unmount,e.abrupt("return",{send:h,close:f});case 16:case"end":return e.stop()}}),e)}))),Pe.apply(this,arguments)}var xe="UP-A";function _e(e,t,n,r){return new Promise(function(){var o=Q(Z().mark((function o(i,a){return Z().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,we(e,t,n,{onReady:function(t,n){return Q(Z().mark((function t(){var r;return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=n.send,t.prev=1,r(e),t.next=8;break;case 5:throw t.prev=5,t.t0=t.catch(1),t.t0;case 8:case"end":return t.stop()}}),t,null,[[1,5]])})))()},onResponse:function(t,n){return Q(Z().mark((function r(){var o,s,u;return Z().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=n.close,r.prev=1,"object"==typeof t.data){r.next=4;break}return r.abrupt("return");case 4:s=t.data,u=JSON.parse(s.payload),r.t0=u.type,r.next="APPROVE"===r.t0?9:"DECLINE"===r.t0?12:27;break;case 9:return i(u.data),o(),r.abrupt("break",30);case 12:if("expired"!==u.data){r.next=24;break}if("UP_LOGIN"!==e.type){r.next=15;break}return r.abrupt("return");case 15:if("UP_LOGOUT"!==e.type){r.next=19;break}return i(u.data),o(),r.abrupt("return");case 19:if("UP_TRANSACTION"!==e.type&&"UP_SIGN_MESSAGE"!==e.type){r.next=24;break}return ue(!1),a("can not authorize without login"),o(),r.abrupt("break",30);case 24:return a("Declined: "+(u.data||"No reason supplied")),o(),r.abrupt("break",30);case 27:return a("Declined: No reason supplied"),o(),r.abrupt("break",30);case 30:r.next=35;break;case 32:throw r.prev=32,r.t1=r.catch(1),r.t1;case 35:case"end":return r.stop()}}),r,null,[[1,32]])})))()},onMessage:function(e,t){return Q(Z().mark((function t(){var n,o;return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:if(t.prev=2,"object"==typeof e.data){t.next=5;break}return t.abrupt("return");case 5:n=e.data,o=JSON.parse(n.payload),r(o),t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(2),t.t0;case 13:case"end":return t.stop()}}),t,null,[[2,10]])})))()},onClose:function(){return Q(Z().mark((function e(){return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a("Declined: Externally Halted");case 1:case"end":return e.stop()}}),e)})))()}});case 2:case"end":return o.stop()}}),o)})));return function(e,t){return o.apply(this,arguments)}}())}var je=function(){var e=Q(Z().mark((function e(t,n){var r,o,i,a;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=ae(n.storageType).get(xe),(o=r&&JSON.parse(r))&&t.from&&o.address.toLowerCase()===t.from.toLowerCase()){e.next=4;break}throw new Error("can not authorize without login");case 4:return i=new U("UP_SIGN_MESSAGE",JSON.stringify(t),null==n?void 0:n.appSettings),e.prev=5,e.next=8,_e(i);case 8:return a=e.sent,e.abrupt("return",a);case 12:throw e.prev=12,e.t0=e.catch(5),new Error(e.t0);case 15:case"end":return e.stop()}}),e,null,[[5,12]])})));return function(t,n){return e.apply(this,arguments)}}(),Oe=function(){var e=Q(Z().mark((function e(t,n){var r,o,i,a;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=ae(n.storageType).get(xe),(o=r&&JSON.parse(r))&&t.from&&o.address.toLowerCase()===t.from.toLowerCase()){e.next=4;break}throw new Error("can not authorize without login");case 4:return i=new U("UP_TRANSACTION",JSON.stringify(t),n.appSettings),e.prev=5,e.next=8,_e(i);case 8:return a=e.sent,e.abrupt("return",a);case 12:throw e.prev=12,e.t0=e.catch(5),new Error(e.t0);case 15:case"end":return e.stop()}}),e,null,[[5,12]])})));return function(t,n){return e.apply(this,arguments)}}(),Se="0x1626ba7e";var Ee=function(){function e(e){this.initConfig(e)}var t=e.prototype;return t.initConfig=function(e){this._config={env:"prod",nodeRPC:"",chainType:"polygon",storageType:"sessionStorage"},this._config.env=e.env||"prod",this._config.chainType=e.chainType||"polygon";var t,n,o=(t=this._config.env,n=this._config.chainType,{env:t,nodeRPC:"prod"===t?ie.mainnet[n]:ie.testnet[n],chainType:n,walletUrl:"prod"===t?oe:re});this._config.nodeRPC=e.nodeRPC||o.nodeRPC,this._config.appSettings=function(e,t){return X({},t||{},{chain:(null==t?void 0:t.chain)||e,appName:(null==t?void 0:t.appName)||"MyDemo"})}(this._config.chainType,e.appSettings),this._provider=new r.JsonRpcProvider(this._config.nodeRPC),this._auth_provider=new r.JsonRpcProvider(function(e){return"prod"===e?ie.mainnet.polygon:ie.testnet.polygon}(this._config.env));var i,a,s,u=e.walletUrl||o.walletUrl;u&&(a=(i=u).domain,s=i.protocol,te={upDomain:a=a||ee,upConnectUrl:(s=s||"https")+"://"+a+"/connect",upLogoutUrl:s+"://"+a+"/logout",upSignMessageUrl:s+"://"+a+"/sign-message",upTransactionUrl:s+"://"+a+"/send-transaction",upLoadingUrl:s+"://"+a+"/connect/loading"}),this._config.storageType=e.storageType||"sessionStorage"},t.updateConfig=function(e){this._config&&(e.chainType&&(this._config.chainType=e.chainType),e.nodeRPC&&(this._config.nodeRPC=e.nodeRPC,this._provider=new r.JsonRpcProvider(this._config.nodeRPC)),e.appSettings&&(this._config.appSettings=e.appSettings))},t.login=function(){var e=Q(Z().mark((function e(t){return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,se(this._config,t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),t.getAccount=function(){var e,t;return e=this._config.storageType,(t=ae(e).get(xe))?JSON.parse(t):void 0},t.logout=function(){var e=Q(Z().mark((function e(t){return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===t&&(t=!1),e.next=3,ue(t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.getProvider=function(){return this._provider},t.getAuthProvider=function(){return this._auth_provider},t.isLogin=function(){return!!this.getAccount()},t.assertLogin=function(){if(!this.isLogin())throw new Error("user is not login")},t.getAddress=function(){return this.assertLogin(),this.getAccount().address},t.sendTransaction=function(){var e=Q(Z().mark((function e(t){return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.assertLogin(),e.next=3,Oe(t,this._config);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),t.signMessage=function(){var e=Q(Z().mark((function e(t,n){var r,o,i,a,s;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.assertLogin(),o=(r=n||{}).isEIP191Prefix,i=void 0!==o&&o,a=r.onAuthChain,s=void 0===a||a,"string"==typeof t&&(t=N.toUtf8Bytes(t)),e.next=5,je(new T(this.getAddress(),N.hexlify(t),"V1",i,s),this._config);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),t.isValidSignature=function(){var e=Q(Z().mark((function e(t,n,r){var o,i;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r||(this.assertLogin(),r=this.getAddress()),o=new h.Contract(r,[{inputs:[{internalType:"bytes32",name:"_hash",type:"bytes32"},{internalType:"bytes",name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{internalType:"bytes4",name:"magicValue",type:"bytes4"}],stateMutability:"view",type:"function"}],this._auth_provider),e.next=4,o.isValidSignature(("string"==typeof(a=t)&&(a=N.toUtf8Bytes(a)),N.keccak256(N.concat([N.toUtf8Bytes("UniPass Signed Message:\n"),N.toUtf8Bytes(String(a.length)),a]))),n);case 4:return i=e.sent,e.abrupt("return",i===Se);case 6:case"end":return e.stop()}var a}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}(),t.signTypedData=function(){var e=Q(Z().mark((function e(t,n){var r,o;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.assertLogin(),null!=t){e.next=3;break}throw new Error("Missing data parameter");case 3:return r=(n||{}).onAuthChain,o=void 0===r||r,e.next=6,je(new T(this.getAddress(),JSON.stringify(t),"V4",!1,o),this._config);case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),t.isValidTypedSignature=function(){var e=Q(Z().mark((function e(t,n,r){var o,i,a;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=t){e.next=2;break}throw new Error("Missing data parameter");case 2:return n||(this.assertLogin(),n=this.getAddress()),o=new h.Contract(n,[{inputs:[{internalType:"bytes32",name:"_hash",type:"bytes32"},{internalType:"bytes",name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{internalType:"bytes4",name:"magicValue",type:"bytes4"}],stateMutability:"view",type:"function"}],this._auth_provider),i=L(t),e.next=7,o.isValidSignature(i,r);case 7:return a=e.sent,e.abrupt("return",a===Se);case 9:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}(),e}();function ke(n){var r,o,i;return e.__awaiter(this,void 0,void 0,(function*(){const a=n.JsonRpcProvider||g.DefaultJsonRpcProvider,s=null!==(r=n.chainId)&&void 0!==r?r:1;let u=null!==(o=n.rpcUrl)&&void 0!==o?o:null===(i=n.rpc)||void 0===i?void 0:i[s];const c=new class extends a{constructor(t,r){super(t,r),this.updateUpWalletConfig=t=>{var r;const o=null===(r=n.rpc)||void 0===r?void 0:r[t];if(!e.SUPPORTED_CHAIN_ID.includes(t))throw new Error(`chainId ${t} not supported`);if(this.upWallet.updateConfig({chainType:e.getChainNameByChainId(t),nodeRPC:o,appSettings:{chain:e.getChainNameByChainId(t)}}),"object"==typeof this.network)this.network.chainId=t;else{const e={chainId:t,name:"unknown"};l.defineReadOnly(this,"_network",e),this.emit("network",e,null)}return this.rpcUrl=o,this.emit("chainChanged",`0x${t.toString(16)}`),{result:!0}},this.rpcUrl=t,this.upWallet=new Ee({env:e.getENVByChainId(s),chainType:e.getChainNameByChainId(s),appSettings:{appIcon:n.appLogoUrl,appName:n.appName,chain:e.getChainNameByChainId(s)},rpcUrl:u,storageType:"sessionStorage"})}getSigner(){var e;const t=this.upWallet.getAccount();return new E(c,this.upWallet,null!==(e=null==t?void 0:t.address)&&void 0!==e?e:"",0)}connect(){return e.__awaiter(this,void 0,void 0,(function*(){const e=this.upWallet.getAccount();return e||(yield this.upWallet.login({email:false}))}))}disconnect(){return e.__awaiter(this,void 0,void 0,(function*(){yield this.upWallet.logout()}))}listAccounts(){return e.__awaiter(this,void 0,void 0,(function*(){const e=this.upWallet.getAccount();return(null==e?void 0:e.address)?[null==e?void 0:e.address]:[]}))}getAddress(){const e=this.upWallet.getAccount();return Promise.resolve((null==e?void 0:e.address)?t.getAddress(null==e?void 0:e.address):null)}}(u,s);return c}))}exports.createProvider=ke,exports.default=function(t,n){return e.__awaiter(this,void 0,void 0,(function*(){const e=yield ke(t);return e.on("connect",n.connect),e.on("disconnect",(e=>{n.disconnect(e),n.accountsChanged([])})),e.on("accountsChanged",n.accountsChanged),e.on("chainChanged",n.chainChanged),e.on("message",(({type:e,data:t})=>n.message(e,t))),yield e.connect(),e}))},exports.disconnectWallet=function(){var t;null===(t=e.useWalletStore.getState().provider)||void 0===t||t.disconnect()},exports.signTypedData=function(t){var n,r;return null===(r=null===(n=e.useWalletStore.getState().provider)||void 0===n?void 0:n.upWallet)||void 0===r?void 0:r.signTypedData(t)},exports.switchChain=function(t){var n;const r=t.addChainParameters.chainId,o="string"==typeof r&&(null==r?void 0:r.startsWith("0x"))?parseInt(r,16):Number(r);if(!e.SUPPORTED_CHAIN_ID.includes(o))throw new Error(`chainId ${o} not supported`);return null===(n=e.useWalletStore.getState().provider)||void 0===n?void 0:n.updateUpWalletConfig(o)};