@dodoex/wallet-web3 0.0.3-3 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blocto-09c42911.js +1 -0
- package/dist/cjs/blocto-95d84f4a.cjs +1 -0
- package/dist/cjs/contract/index.d.ts +12 -2
- package/dist/cjs/controllers/ConnectController.d.ts +6 -5
- package/dist/cjs/core/index.d.ts +2 -3
- package/dist/cjs/helpers/index.d.ts +4 -0
- package/dist/cjs/helpers/transactions.d.ts +5 -5
- package/dist/cjs/index-33b5a892.cjs +1 -0
- package/dist/cjs/index-7616317c.cjs +1 -0
- package/dist/cjs/index-bd7c2ca6.cjs +1 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.d.ts +2 -1
- package/dist/cjs/portis-a8c212e5.cjs +1 -0
- package/dist/cjs/provider-34824dd2.cjs +1 -0
- package/dist/cjs/providers/connector/blocto.d.ts +3 -0
- package/dist/cjs/providers/connector/index.d.ts +5 -0
- package/dist/cjs/providers/connector/ledgerUSB/index.d.ts +129 -1
- package/dist/cjs/providers/connector/ledgerUSB/provider.d.ts +131 -1
- package/dist/cjs/providers/connector/ledgerUSB/signer.d.ts +22 -0
- package/dist/cjs/providers/connector/types.d.ts +3 -0
- package/dist/cjs/providers/wallets/index.d.ts +24 -30
- package/dist/cjs/providers/wallets/injected.d.ts +1 -0
- package/dist/cjs/providers/wallets/standalone.d.ts +1 -0
- package/dist/cjs/providers/wallets/types.d.ts +22 -1
- package/dist/cjs/state.d.ts +15 -3
- package/dist/cjs/uAuth-3b336a62.cjs +1 -0
- package/dist/cjs/walletConnect-c200349c.cjs +1 -0
- package/dist/cjs/walletLink-e8ab4662.cjs +1 -0
- package/dist/contract/index.d.ts +12 -2
- package/dist/controllers/ConnectController.d.ts +6 -5
- package/dist/core/index.d.ts +2 -3
- package/dist/helpers/index.d.ts +4 -0
- package/dist/helpers/transactions.d.ts +5 -5
- package/dist/index-8b910e3a.js +1 -0
- package/dist/index-e0b0ac4b.js +1 -0
- package/dist/index-e0e540ee.js +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/portis-0205480c.js +1 -0
- package/dist/provider-211c7536.js +1 -0
- package/dist/providers/connector/blocto.d.ts +3 -0
- package/dist/providers/connector/index.d.ts +5 -0
- package/dist/providers/connector/ledgerUSB/index.d.ts +129 -1
- package/dist/providers/connector/ledgerUSB/provider.d.ts +131 -1
- package/dist/providers/connector/ledgerUSB/signer.d.ts +22 -0
- package/dist/providers/connector/types.d.ts +3 -0
- package/dist/providers/wallets/index.d.ts +24 -30
- package/dist/providers/wallets/injected.d.ts +1 -0
- package/dist/providers/wallets/standalone.d.ts +1 -0
- package/dist/providers/wallets/types.d.ts +22 -1
- package/dist/state.d.ts +15 -3
- package/dist/uAuth-53d868f9.js +1 -0
- package/dist/walletConnect-808e2ee8.js +1 -0
- package/dist/walletLink-cb602ab1.js +1 -0
- package/package.json +3 -2
- package/dist/_commonjsHelpers-70de2c37.js +0 -1
- package/dist/bn-16003306.js +0 -1
- package/dist/cjs/_commonjsHelpers-66ecbaf8.cjs +0 -1
- package/dist/cjs/bn-1bd77809.cjs +0 -1
- package/dist/cjs/controllers/StateController.d.ts +0 -27
- package/dist/cjs/elliptic-174586a6.cjs +0 -1
- package/dist/cjs/hash-121fdd2c.cjs +0 -1
- package/dist/cjs/index-0494ffbc.cjs +0 -1
- package/dist/cjs/index-1613ac94.cjs +0 -22
- package/dist/cjs/index-33e57d81.cjs +0 -1
- package/dist/cjs/index-5976e357.cjs +0 -1
- package/dist/cjs/index-613571b4.cjs +0 -3
- package/dist/cjs/index-6d7369f7.cjs +0 -1
- package/dist/cjs/index-b63f2913.cjs +0 -19
- package/dist/cjs/index-f7522058.cjs +0 -1
- package/dist/cjs/inherits-6d52d55b.cjs +0 -1
- package/dist/cjs/interface-6a2093d7.cjs +0 -1
- package/dist/cjs/node-ponyfill-c08c51bf.cjs +0 -1
- package/dist/cjs/portis-09fea9b2.cjs +0 -1
- package/dist/cjs/provider-653a6c4b.cjs +0 -1
- package/dist/cjs/sha256-21fccd26.cjs +0 -1
- package/dist/cjs/sha3-499f6bea.cjs +0 -10
- package/dist/cjs/uAuth-e46c0332.cjs +0 -1
- package/dist/cjs/walletConnect-a74c7523.cjs +0 -1
- package/dist/cjs/walletLink-5a993e87.cjs +0 -1
- package/dist/controllers/StateController.d.ts +0 -27
- package/dist/elliptic-1100204f.js +0 -1
- package/dist/hash-4b8ad136.js +0 -1
- package/dist/index-201c01d8.js +0 -22
- package/dist/index-5c16deff.js +0 -1
- package/dist/index-632fbf92.js +0 -1
- package/dist/index-9547c0cf.js +0 -1
- package/dist/index-b6a46a6d.js +0 -1
- package/dist/index-b869aac9.js +0 -19
- package/dist/index-cecc22f4.js +0 -2
- package/dist/index-e3ab6de5.js +0 -1
- package/dist/inherits-e2363129.js +0 -1
- package/dist/interface-36a3c8cf.js +0 -1
- package/dist/node-ponyfill-bda9b4f4.js +0 -1
- package/dist/portis-3b5726bc.js +0 -1
- package/dist/provider-847fb9d1.js +0 -1
- package/dist/sha256-8f7b3565.js +0 -1
- package/dist/sha3-a5661517.js +0 -9
- package/dist/uAuth-458fbce7.js +0 -1
- package/dist/walletConnect-643e147f.js +0 -1
- package/dist/walletLink-fd84e70b.js +0 -1
package/dist/index-b869aac9.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import{JsonRpcProvider as e}from"@ethersproject/providers";import{AddressZero as t}from"@ethersproject/constants";import{Contract as n}from"@ethersproject/contracts";import{getAddress as r}from"@ethersproject/address";import{proxy as o,ref as i}from"valtio";var a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},a(e,t)};function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)};function c(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))}function u(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,r=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){a.label=l[1];break}if(6===l[0]&&a.label<o[1]){a.label=o[1],o=l;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(l);break}o[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e],r=0}finally{n=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}var f=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function d(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function h(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function C(e){return this instanceof C?(this.v=e,this):new C(e)}var v=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};var y,m,w=Object.freeze({__proto__:null,__extends:l,get __assign(){return s},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},__decorate:function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},__param:function(e,t){return function(n,r){t(n,r,e)}},__esDecorate:function(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var l,s=r.kind,c="getter"===s?"get":"setter"===s?"set":"value",u=!t&&e?r.static?e:e.prototype:null,f=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),d=!1,p=n.length-1;p>=0;p--){var h={};for(var C in r)h[C]="access"===C?{}:r[C];for(var C in r.access)h.access[C]=r.access[C];h.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var v=(0,n[p])("accessor"===s?{get:f.get,set:f.set}:f[c],h);if("accessor"===s){if(void 0===v)continue;if(null===v||"object"!=typeof v)throw new TypeError("Object expected");(l=a(v.get))&&(f.get=l),(l=a(v.set))&&(f.set=l),(l=a(v.init))&&o.push(l)}else(l=a(v))&&("field"===s?o.push(l):f[c]=l)}u&&Object.defineProperty(u,r.name,f),d=!0},__runInitializers:function(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0},__propKey:function(e){return"symbol"==typeof e?e:"".concat(e)},__setFunctionName:function(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:c,__generator:u,__createBinding:f,__exportStar:function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||f(t,e,n)},__values:d,__read:p,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(p(arguments[t]));return e},__spreadArrays:function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,l=i.length;a<l;a++,o++)r[o]=i[a];return r},__spreadArray:h,__await:C,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||l(e,t)}))})}function l(e,t){try{(n=o[e](t)).value instanceof C?Promise.resolve(n.value.v).then(s,c):u(i[0][2],n)}catch(e){u(i[0][3],e)}var n}function s(e){l("next",e)}function c(e){l("throw",e)}function u(e,t){e(t),i.shift(),i.length&&l(i[0][0],i[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:C(e[r](t)),done:!1}:o?o(t):t}:o}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=d(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](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 n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&f(t,e,n);return v(t,e),t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)},__classPrivateFieldSet:function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},__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)}});!function(e){e[e.MAINNET=1]="MAINNET",e[e.GOERLI=5]="GOERLI",e[e.BSC=56]="BSC",e[e.HECO=128]="HECO",e[e.POLYGON=137]="POLYGON",e[e.ARBITRUM_ONE=42161]="ARBITRUM_ONE",e[e.ARBITRUM_RINKEBY=421611]="ARBITRUM_RINKEBY",e[e.AURORA=1313161554]="AURORA",e[e.MOONRIVER=1285]="MOONRIVER",e[e.OKCHAIN=66]="OKCHAIN",e[e.OPTIMISM=10]="OPTIMISM",e[e.BOBA=288]="BOBA",e[e.AVALANCHE=43114]="AVALANCHE",e[e.CRONOS=25]="CRONOS"}(y||(y={})),function(e){e.injected="injected",e.BinanceChain="custom-bsc-injected",e.WalletConnect="walletconnect",e.Portis="portis",e.Gnosis="custom-gnosis",e.WalletLink="custom-walletlink",e.LedgerUSB="custom-ledger-usb",e.Ledger="custom-ledger",e.openBlock="custom-open-block",e.openBlockIframe="custom-open-block-iframe",e.Nabox="custom-nabox",e.Bitkeep="custom-bitkeep",e.OneKey="custom-onekey",e.OKX="custom-okx",e.uAuth="custom-uauth",e.kuCoinWallet="custom-kucoin-wallet",e.frontier="custom-frontier"}(m||(m={}));var D="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";function g(e){return c(this,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return[4,import("@ethersproject/providers")];case 1:return[2,new(0,t.sent().Web3Provider)(e)]}}))}))}function b(e,t){return void 0===e&&(e=null),c(this,void 0,void 0,(function(){var n;return u(this,(function(r){switch(r.label){case 0:return(n=e||window.ethereum)?[4,n.request({method:"eth_requestAccounts"})]:[3,2];case 1:return r.sent(),[3,3];case 2:if(window.web3)n=window.web3.currentProvider;else{if(!window.celo)throw new Error("No Web3 Provider found");n=window.celo}r.label=3;case 3:return n.on("connect",t.connect),n.on("disconnect",t.disconnect),n.on("accountsChanged",t.accountsChanged),n.on("chainChanged",t.chainChanged),n.on("message",t.message),[2,g(n)]}}))}))}function E(e){var t=e.addChainParameters,n=e.provider,r=void 0===n?window.ethereum:n;return c(this,void 0,void 0,(function(){var e,n,o,i;return u(this,(function(a){switch(a.label){case 0:if(!r)return[2,{result:!1}];e=t.chainId,a.label=1;case 1:return a.trys.push([1,3,,8]),[4,r.request({method:"wallet_switchEthereumChain",params:[{chainId:e}]})];case 2:return a.sent(),[2,{result:!0}];case 3:if(n=a.sent(),4902!==(o=n.code)&&-32603!==o)return[3,7];a.label=4;case 4:return a.trys.push([4,6,,7]),[4,r.request({method:"wallet_addEthereumChain",params:[t]})];case 5:return a.sent(),[2,{result:!0}];case 6:return i=a.sent(),console.error("[failed to add ".concat(e,"]: "),t,i),[3,7];case 7:return console.error("[failed to switch ".concat(e,"]: "),t,n),[3,8];case 8:return[2,{result:!1}]}}))}))}var _,F,x=[{path:"m/44'/60'/x'/0/0",name:"Ledger Live"},{path:"m/44'/60'/0'/x",name:"Legacy"}],O=function(){var e;return!!(null===(e=window.navigator)||void 0===e?void 0:e.hid)},k=function(){var e;return(null===(e=window.navigator)||void 0===e?void 0:e.userAgent)&&/(Android)/i.test(navigator.userAgent)},A=function(){var e;return/(iPhone|iPad|iPod|iOS)/i.test(null===(e=window.navigator)||void 0===e?void 0:e.userAgent)},S=function(){return k()||A()},L=function(){if("undefined"!=typeof window)return window},B=!1,M=1,P={},T=!1;null===(_=L())||void 0===_||_.addEventListener("message",(function(e){"openblock-content-integration"===e.data.from&&(B=!0,Object.values(P).map((function(e){return e()})))})),null===(F=L())||void 0===F||F.addEventListener("load",(function(){setTimeout((function(){T=!0,Object.values(P).map((function(e){return e()}))}),1e3)}),{once:!0});var R=function(){return c(void 0,void 0,void 0,(function(){return u(this,(function(e){return[2,new Promise((function(e){B?e(!0):window.parent===window||T?e(!1):(M++,P[M]=function(){e(B),delete P[M]})}))]}))}))},j=function(e,t){return c(void 0,void 0,void 0,(function(){var e;return u(this,(function(n){switch(n.label){case 0:return[4,import("./provider-847fb9d1.js")];case 1:return(e=n.sent().default()).on("connect",t.connect),e.on("disconnect",t.disconnect),e.on("accountsChanged",t.accountsChanged),e.on("chainChanged",t.chainChanged),e.on("message",t.message),[4,e.request({method:"eth_requestAccounts"})];case 2:return n.sent(),[2,g(e)]}}))}))};function I(){return import("./index-201c01d8.js")}function V(){return import("./index-b6a46a6d.js")}function N(){return import("./uAuth-458fbce7.js")}function H(e,t){return c(this,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return[4,import("./portis-3b5726bc.js")];case 1:return[2,n.sent().default(e,t)]}}))}))}function z(e,t){return c(this,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return[4,import("./walletLink-fd84e70b.js")];case 1:return[2,n.sent().default(e,t)]}}))}))}function Z(e,t){return c(this,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return[4,import("./walletConnect-643e147f.js")];case 1:return[2,n.sent().default(e,t)]}}))}))}var U={type:m.injected,showName:"Coinbase Wallet",logo:D,supportMobile:!1,supportExtension:!1,switchChain:E,disabled:function(){return!(S()&&window.ethereum&&(window.ethereum.isWalletLink||window.ethereum.isToshi))},mobileAndroidDeepLink:"https://go.cb-w.com/dapp?cburl=$formattedAPPUrl",mobileIOSDeepLink:"cbwallet://dapp?url=$formattedAPPUrl"},W={type:m.injected,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:!1,switchChain:E,disabled:function(){var e;return!(null===(e=window.ethereum)||void 0===e?void 0:e.isTokenPocket)},mobileDeepLink:"tpdapp://open?params=".concat(encodeURI('{\n "url": "$APP_URL"\n }'))},$={type:m.injected,showName:"TrustWallet",logo:"data:image/svg+xml,%3Csvg%20enable-background%3D%22new%200%200%20158.8%20184%22%20viewBox%3D%220%200%20158.8%20184%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20transform%3D%22translate%28354%20351%29%22%3E%3Cpath%20d%3D%22m-274.6-343.7c29.3%2022.7%2062.9%2021.3%2072.5%2021.3-2.1%20129.1-18.1%20111.9-72.5%20148.1-54.4-36.2-70.3-19-72.4-148.1%209.5%200%2043%201.4%2072.4-21.3z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22m-274.6-343.7%204.2-5.5c-2.5-1.9-6-1.9-8.5%200zm72.5%2021.3%206.9.1c0-1.9-.7-3.6-2-5-1.3-1.3-3.1-2.1-4.9-2.1zm-72.5%20148.1-3.8%205.8c2.3%201.5%205.3%201.5%207.7%200zm-72.4-148.1v-6.9c-1.9%200-3.6.7-4.9%202.1-1.3%201.3-2%203.1-2%205zm68.1-15.8c31.4%2024.3%2067.3%2022.7%2076.7%2022.7v-13.8c-9.8%200-41.1%201.2-68.3-19.9zm69.8%2015.7c-.5%2032.1-1.9%2054.8-4.5%2071.6-2.6%2016.6-6.2%2026.6-11%2033.6-4.8%207.3-10.8%2011.6-19.7%2016.9-9%205.4-20.3%2011.2-34.3%2020.4l7.7%2011.5c13.3-8.8%2024.3-14.5%2033.7-20.1%209.5-5.7%2017.8-11.9%2024.1-21%206.3-9.4%2010.5-21.6%2013.2-39.2%202.7-17.4%204.1-41%204.6-73.5zm-61.7%20142.4c-13.9-9.3-25.3-15.1-34.2-20.4s-14.9-9.6-19.7-16.9c-4.7-7-8.4-16.9-10.9-33.6-2.6-16.8-3.9-39.4-4.5-71.6l-13.9.3c.5%2032.4%202%2056%204.6%2073.5%202.7%2017.6%206.8%2029.8%2013.1%2039.2%206.3%209.1%2014.6%2015.3%2024%2021%209.4%205.6%2020.4%2011.2%2033.7%2020.1zm-76.2-135.4c9.3%200%2045.3%201.6%2076.6-22.7l-8.4-11c-27.2%2021.1-58.5%2019.9-68.2%2019.9z%22%20fill%3D%22%233375bb%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E",link:"https://trustwallet.com/",supportMobile:!0,supportExtension:!1,switchChain:E,disabled:function(){var e;return!(null===(e=window.ethereum)||void 0===e?void 0:e.isTrust)},mobileDeepLink:"https://link.trustwallet.com/open_url?url=$APP_URL"},G={type:m.injected,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:E,disabled:function(){var e;return!(null===(e=window.ethereum)||void 0===e?void 0:e.isImToken)},mobileDeepLink:"imtokenv2://navigate/DappView?url=$formattedAPPUrl"},K={type:m.injected,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:E,disabled:function(){var e;return!(null===(e=window.ethereum)||void 0===e?void 0:e.isMathWallet)}},q={type:m.injected,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",disabled:function(){var e;return!(null===(e=window.ethereum)||void 0===e?void 0:e.isGamestop)},supportMobile:!1,supportExtension:!0,switchChain:E,link:"https://wallet.gamestop.com/"},Y={type:m.injected,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",disabled:function(){var e;return!(null===(e=window.ethereum)||void 0===e?void 0:e.isBraveWallet)},supportMobile:!1,supportExtension:!0,switchChain:E,link:"https://wallet-docs.brave.com/"},X={type:m.injected,showName:"Huobi Wallet",logo:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2232px%22%20height%3D%2232px%22%20viewBox%3D%220%200%2032%2032%22%20version%3D%221.1%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%20%20%20%20%3Ctitle%3EWalletConnect%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3CradialGradient%20cx%3D%2214.2459714%25%22%20cy%3D%2282.9640779%25%22%20fx%3D%2214.2459714%25%22%20fy%3D%2282.9640779%25%22%20r%3D%2297.6569253%25%22%20id%3D%22radialGradient-1%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20stop-color%3D%22%231253FC%22%20offset%3D%220%25%22%3E%3C%2Fstop%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20stop-color%3D%22%234C7CF8%22%20offset%3D%22100%25%22%3E%3C%2Fstop%3E%20%20%20%20%20%20%20%20%3C%2FradialGradient%3E%20%20%20%20%20%20%20%20%3Cfilter%20color-interpolation-filters%3D%22auto%22%20id%3D%22filter-2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20in%3D%22SourceGraphic%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%201.000000%200%200%200%200%201.000000%200%200%200%200%201.000000%200%200%200%201.000000%200%22%3E%3C%2FfeColorMatrix%3E%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E6%8E%A7%E4%BB%B6%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E9%92%B1%E5%8C%85-Huobi%22%20transform%3D%22translate%28-16.000000%2C%20-16.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22WalletConnect%22%20transform%3D%22translate%2816.000000%2C%2016.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%AA%E5%91%BD%E5%90%8D%22%20fill%3D%22url%28%23radialGradient-1%29%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M16%2C0%20C24.836556%2C0%2032%2C7.163444%2032%2C16%20C32%2C24.836556%2024.836556%2C32%2016%2C32%20C7.163444%2C32%200%2C24.836556%200%2C16%20C0%2C7.163444%207.163444%2C0%2016%2C0%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%3E%3C%2Fpath%3E%20%20%20%20%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%20%20%20%20%3Cg%20filter%3D%22url%28%23filter-2%29%22%20id%3D%22heco%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%288.888889%2C%205.333333%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.77777778%2C6.56528272%20C9.77777778%2C3.50266975%208.1802334%2C0.868073441%206.96574747%2C0.0102563438%20C6.95996869%2C0.00845797311%206.87336379%2C-0.0382994199%206.88105745%2C0.0839888876%20C6.88105745%2C0.0857875045%206.87913403%2C0.0857875045%206.87913403%2C0.0875861214%20C6.77904815%2C6.00239441%203.54554242%2C7.60473067%201.7671117%2C9.76457253%20C-2.33636671%2C14.7478573%201.4803265%2C20.2112381%205.36631388%2C21.2200883%20C7.54123275%2C21.7847818%204.86396105%2C20.2202641%204.51943926%2C16.9148132%20C4.10177646%2C12.9206857%209.77777778%2C9.87247313%209.77777778%2C6.56528272%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%232D3338%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.2932296%2C8.01552828%20C11.2668533%2C7.99856497%2011.2303947%2C7.98734177%2011.2040185%2C8.02675148%20C11.1330817%2C8.80415072%2010.275719%2C10.4677543%209.18934224%2C11.9942806%20C5.50455525%2C17.1729727%207.60436459%2C19.6703485%208.78604691%2C21.0109638%20C9.47110885%2C21.7902479%208.78604691%2C21.0109638%2010.4987017%2C20.2148878%20C10.6324734%2C20.1528604%2013.8429923%2C18.4854872%2014.1895742%2C14.6869058%20C14.5280542%2C11.0085239%2012.1424903%2C8.68960556%2011.2932296%2C8.01552828%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%2301943F%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%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%20%20%20%20%3C%2Fg%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%3C%2Fsvg%3E",supportMobile:!1,supportExtension:!1,switchChain:E,disabled:function(){var e;return!(null===(e=window.ethereum)||void 0===e?void 0:e.isHbWallet)}},J={type:m.injected,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:!1,supportExtension:!1,switchChain:E,disabled:function(){var e;return!(null===(e=window.ethereum)||void 0===e?void 0:e.isCoin98)}},Q=Object.freeze({__proto__:null,Coinbase:U,TokenPocket:W,Trust:$,ImToken:G,Math:K,GameStop:q,Brave:Y,Huobi:X,Coin98:J}),ee={type:m.WalletLink,showName:"Coinbase Wallet",logo:D,supportMobile:!0,disabled:function(){return!(!window.ethereum||!window.ethereum.isWalletLink&&!window.ethereum.isToshi&&document&&S())},connector:z},te={type:m.BinanceChain,showName:"Binance Chain 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:[y.MAINNET,y.BSC],link:"https://www.bnbchain.world/en/binance-wallet",supportMobile:!1,disabled:function(){return!window.BinanceChain},connector:function(e,t){return b(window.BinanceChain,t)}},ne={type:m.kuCoinWallet,showName:"KuCoin 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_5313_179352%29%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16.0028%2026.7602L5.24537%2016.0028L16.0028%205.24537L26.7602%2016.0028L16.0028%2026.7602ZM16.0028%2013.0046C14.3521%2013.0046%2013.0046%2014.3465%2013.0046%2016.0028C13.0046%2017.6591%2014.3465%2019.001%2016.0028%2019.001C17.6591%2019.001%2019.001%2017.6591%2019.001%2016.0028C19.001%2014.3465%2017.6591%2013.0046%2016.0028%2013.0046ZM0.635845%2014.4644C-0.211948%2015.3122%20-0.211948%2016.6934%200.635845%2017.5356L14.4644%2031.3642C15.3122%2032.2119%2016.6934%2032.2119%2017.5356%2031.3642L31.3642%2017.5356C32.2119%2016.6878%2032.2119%2015.3066%2031.3642%2014.4644L17.5356%200.635845C16.6878%20-0.211948%2015.3066%20-0.211948%2014.4644%200.635845L0.635845%2014.4644Z%22%20fill%3D%22%2328CD96%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_5313_179352%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,disabled:function(){return!window.kucoin},connector:function(e,t){return b(window.kucoin,t)},switchChain:E,link:"https://kuwallet.com/"},re={type:m.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",disabled:function(){var e;return!(null===(e=window.frontier)||void 0===e?void 0:e.ethereum)},connector:function(e,t){var n;return b(null===(n=window.frontier)||void 0===n?void 0:n.ethereum,t)}},oe={type:m.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:[y.MAINNET,y.BSC,y.POLYGON],disabled:function(){return!O()},connector:function(e){return c(void 0,void 0,void 0,(function(){var t;return u(this,(function(n){switch(n.label){case 0:return O()&&e?[4,I()]:[3,2];case 1:return t=n.sent().default(e),[3,3];case 2:t=void 0,n.label=3;case 3:return[2,t]}}))}))}},ie={type:m.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:[y.MAINNET,y.GOERLI,y.BSC,y.POLYGON,y.HECO,y.ARBITRUM_ONE,y.OKCHAIN,y.OPTIMISM,y.AVALANCHE],disabled:function(){return!window.openblock},connector:function(e,t){return b(window.openblock,t)},switchChain:E},ae={type:m.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,disabled:function(){var e;return!(null===(e=window.$onekey)||void 0===e?void 0:e.ethereum)&&!window.onekey},connector:function(e,t){var n;return b((null===(n=window.$onekey)||void 0===n?void 0:n.ethereum)||window.onekey,t)},switchChain:E},le={type:m.Bitkeep,showName:"Bitkeep",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%237524F9%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M25.5%2011.4007V12.4551C25.5003%2012.5571%2025.4733%2012.6573%2025.4218%2012.7457C25.3703%2012.834%2025.2963%2012.9074%2025.207%2012.9584L21.7727%2014.92L24.8408%2016.6677C25.0413%2016.7824%2025.2078%2016.9473%2025.3235%2017.1459C25.4393%2017.3445%2025.5003%2017.5698%2025.5%2017.799V20.6106C25.5003%2020.84%2025.4395%2021.0654%2025.3238%2021.2642C25.208%2021.4629%2025.0415%2021.6279%2024.8408%2021.7426L16.7717%2026.325C16.5713%2026.4398%2016.344%2026.5%2016.1126%2026.5C15.8811%2026.5%2015.6538%2026.4398%2015.4534%2026.325L12.813%2024.8153C12.7684%2024.7898%2012.7314%2024.7532%2012.7057%2024.7091C12.68%2024.665%2012.6664%2024.6149%2012.6664%2024.564C12.6664%2024.513%2012.68%2024.463%2012.7057%2024.4189C12.7314%2024.3748%2012.7684%2024.3382%2012.813%2024.3127L21.5288%2019.3459C21.551%2019.3331%2021.5694%2019.3148%2021.5823%2019.2928C21.5951%2019.2708%2021.6018%2019.2458%2021.6018%2019.2204C21.6018%2019.195%2021.5951%2019.1701%2021.5823%2019.148C21.5694%2019.126%2021.551%2019.1077%2021.5288%2019.0949L18.293%2017.2443C18.2039%2017.1933%2018.1029%2017.1665%2018%2017.1665C17.8972%2017.1665%2017.7961%2017.1933%2017.707%2017.2443L8.85425%2022.2931C8.78745%2022.3313%208.71168%2022.3514%208.63453%2022.3514C8.55738%2022.3514%208.4816%2022.3313%208.4148%2022.2931L7.4121%2021.7252C7.2106%2021.6107%207.04323%2021.4455%206.92695%2021.2463C6.81068%2021.0471%206.74963%2020.8211%206.75%2020.591V19.4416C6.74995%2019.3652%206.77023%2019.2901%206.8088%2019.2239C6.84738%2019.1577%206.90288%2019.1027%206.96973%2019.0645L19.6626%2011.8423C19.6848%2011.8296%2019.7032%2011.8113%2019.716%2011.7893C19.7289%2011.7672%2019.7356%2011.7423%2019.7356%2011.7169C19.7356%2011.6915%2019.7289%2011.6665%2019.716%2011.6445C19.7032%2011.6224%2019.6848%2011.6042%2019.6626%2011.5914L16.4216%209.73417C16.3326%209.68327%2016.2315%209.65645%2016.1287%209.65645C16.0258%209.65645%2015.9248%209.68327%2015.8357%209.73417L7.18945%2014.6575C7.14495%2014.683%207.09445%2014.6963%207.04305%2014.6964C6.99165%2014.6964%206.94115%2014.683%206.89663%2014.6576C6.8521%2014.6321%206.8151%2014.5956%206.78938%2014.5515C6.76363%2014.5075%206.75005%2014.4575%206.75%2014.4066V11.3869C6.74973%2011.1575%206.8105%2010.9321%206.92623%2010.7333C7.04195%2010.5346%207.20853%2010.3696%207.40918%2010.2549L15.4768%205.67385C15.6768%205.55995%2015.9035%205.5%2016.1342%205.5C16.3649%205.5%2016.5915%205.55995%2016.7915%205.67385L24.8408%2010.2708C25.0413%2010.3854%2025.2075%2010.55%2025.3233%2010.7484C25.439%2010.9467%2025.5%2011.1716%2025.5%2011.4007Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E",link:"https://bitkeep.com/download?type=2",mobileDeepLink:"https://bkcode.vip?action=dapp&url=$APP_URL",supportMobile:!0,disabled:function(){var e;return!(null===(e=window.bitkeep)||void 0===e?void 0:e.ethereum)},connector:function(e,t){var n;return b(null===(n=window.bitkeep)||void 0===n?void 0:n.ethereum,t)},switchChain:E},se={type:m.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:function(){return!window.NaboxWallet},connector:function(e,t){return b(window.NaboxWallet,t)},switchChain:E},ce={type:m.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:!1,link:"https://www.okx.com/",disabled:function(){return!window.okxwallet},connector:function(e,t){return b(window.okxwallet,t)},switchChain:E},ue={type:m.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,connector:function(e,t){return Z(e,t)}},fe={type:m.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:[y.MAINNET,y.GOERLI],checked:function(e){return!!e.PORTIS_ID},connector:function(e,t){return H(e,t)}},de={type:m.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:[y.MAINNET,y.GOERLI,y.BSC,y.POLYGON,y.ARBITRUM_ONE,y.AURORA,y.AVALANCHE,y.OPTIMISM],link:"https://app.safe.global/welcome",disabled:function(){return c(void 0,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return[4,V()];case 1:return[4,e.sent().getIsSafe()];case 2:return[2,!e.sent()]}}))}))},connector:function(e,t){return c(void 0,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return[4,V()];case 1:return[2,e.sent().default(t)]}}))}))}},pe={type:m.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",connector:function(e,t){return c(void 0,void 0,void 0,(function(){var n;return u(this,(function(r){switch(r.label){case 0:return[4,N()];case 1:return[2,r.sent().default(s(s({},e),{uAuthParams:s(s({walletConnect:function(){return ue.connector?ue.connector(e,t):Promise.resolve(void 0)}},e.uAuthParams),{clientID:null===(n=e.uAuthParams)||void 0===n?void 0:n.clientID})}),t)]}}))}))},disconnect:function(){return c(void 0,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return[4,N()];case 1:return[4,(0,e.sent().disconnectWallet)()];case 2:return e.sent(),[2]}}))}))}},he=Object.freeze({__proto__:null,WalletLink:ee,BSC:te,KuCoin:ne,Frontier:re,Ledger:oe,OpenBlock:ie,OneKey:ae,Bitkeep:le,Nabox:se,OKXWallet:ce,WalletConnect:ue,Portis:fe,Gnosis:de,UAuth:pe}),Ce={type:m.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:E,disabled:function(){return!window.ethereum}},ve=Object.values(Q),ye=Object.values(he),me=h(h([Ce],p(ve),!1),p(ye),!1),we=s(s({},Q),he),De=s(s({},ie),{disabled:function(){return!1},type:m.openBlockIframe,connector:j}),ge=[ue.showName,Ce.showName,ee.showName];function be(e){var t,n,r=void 0===e?{}:e,o=r.PORTIS_ID,i=r.chainId,a=r.includes,l=r.excludes,s=r.keysSort,c=r.mobileKeysSort,u=r.showSupportExtensionInjected,f=r.afterHooks,d=S(),C=(!a||a.includes(m.injected))&&(!l||!l.includes(m.injected)),v={PORTIS_ID:o},y=[],w=!1;C&&((n=ve.find((function(e){if(!e.disabled)throw new Error("injected wallet need checked");return!e.disabled()})))||(n=Ce),n.connector=function(e,t){return b(void 0,t)},y.push(n),w=!!n.disabled&&!n.disabled());var D=function(e){return!(null==l?void 0:l.includes(e.type))&&(!(e.checked&&e.type!==m.injected&&!e.checked(v))&&(!(i&&e.supportChains&&!e.supportChains.includes(i))&&!(a&&!a.includes(e.type))))};if(d)if(w)D(ue)&&y.push(ue);else{me.forEach((function(e){return!(!D(e)||!e.supportMobile||e.showName===(null==n?void 0:n.showName))&&(y.push(e),!0)}));var g=(null!==(t=null!=c?c:s)&&void 0!==t?t:[]).map((function(e){var t=we[e];if(!t)throw new Error("unknown key ".concat(e));return t.showName})).filter((function(e){return!ge.includes(e)})),E=h(h([],p(ge),!1),p(g),!1);y=y.sort((function(e,t){var n=E.indexOf(e.showName),r=E.indexOf(t.showName);return-1===n&&(n=999),-1===r&&(r=999),n-r}))}else{var _=[];if(u&&ve.forEach((function(e){return!(!e.supportExtension||!D(e)||e.showName===(null==n?void 0:n.showName))&&(_.push(e),!0)})),ye.forEach((function(e){return!!D(e)&&(_.push(e),!0)})),s){var F=s.map((function(e){var t=we[e];if(!t)throw new Error("unknown key ".concat(e));return t.showName}));_=_.sort((function(e,t){var n=F.indexOf(e.showName),r=F.indexOf(t.showName);return-1===n&&(n=999),-1===r&&(r=999),n-r}))}y=h(h([],p(y),!1),p(_),!1)}return f?f({isMobile:d,PORTIS_ID:o,chainId:i,includes:a,excludes:l,showSupportExtensionInjected:u,hasInjectedWallet:w,walletList:y}):y}function Ee(){return c(this,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return"undefined"==typeof window||window.top===window?[3,4]:[4,V()];case 1:return[4,e.sent().getIsSafe()];case 2:return e.sent()?[2,de]:[4,R()];case 3:if(e.sent())return[2,De];e.label=4;case 4:return[2,void 0]}}))}))}function _e(){return c(this,void 0,void 0,(function(){var e,t,n,r=this;return u(this,(function(o){switch(o.label){case 0:return e=[],t=[],n=new Set,me.forEach((function(o){if(o.disabled){var i=o.disabled(),a=o.type===m.injected;"boolean"==typeof i?a&&i?e.push(o.showName):i&&n.add(o.type):t.push((function(){return c(r,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return[4,i];case 1:return e.sent()&&n.add(o.type),[2]}}))}))}))}})),[4,Promise.all(t.map((function(e){return e()})))];case 1:return o.sent(),[2,function(t){return t.type===m.injected?e.includes(t.showName):n.has(t.type)}]}}))}))}const Fe=new WeakMap;function xe(e,t,n){const r=Fe.get(e);let o;"production"===(import.meta.env&&import.meta.env.MODE)||r||console.warn("Please use proxy object");const i=[],a=r[3];let l=!1;const s=a((e=>{i.push(e),n?t(i.splice(0)):o||(o=Promise.resolve().then((()=>{o=void 0,l&&t(i.splice(0))})))}));return l=!0,()=>{l=!1,s()}}function Oe(e,t){const n=Fe.get(e);"production"===(import.meta.env&&import.meta.env.MODE)||n||console.warn("Please use proxy object");const[r,o,i]=n;return i(r,o(),t)}let ke;const Ae=Symbol();var Se,Le={exports:{}},Be={};function Me(){if(Se)return Be;Se=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),f=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,h={};function C(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||d}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||d}C.prototype.isReactComponent={},C.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},C.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=C.prototype;var m=y.prototype=new v;m.constructor=y,p(m,C.prototype),m.isPureReactComponent=!0;var w=Array.isArray,D=Object.prototype.hasOwnProperty,g={current:null},b={key:!0,ref:!0,__self:!0,__source:!0};function E(t,n,r){var o,i={},a=null,l=null;if(null!=n)for(o in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(a=""+n.key),n)D.call(n,o)&&!b.hasOwnProperty(o)&&(i[o]=n[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];i.children=c}if(t&&t.defaultProps)for(o in s=t.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:e,type:t,key:a,ref:l,props:i,_owner:g.current}}function _(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var F=/\/+/g;function x(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(n,r,o,i,a){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var s=!1;if(null===n)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return a=a(s=n),n=""===i?"."+x(s,0):i,w(a)?(o="",null!=n&&(o=n.replace(F,"$&/")+"/"),O(a,r,o,"",(function(e){return e}))):null!=a&&(_(a)&&(a=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(a,o+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(F,"$&/")+"/")+n)),r.push(a)),1;if(s=0,i=""===i?".":i+":",w(n))for(var c=0;c<n.length;c++){var u=i+x(l=n[c],c);s+=O(l,r,o,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(n),"function"==typeof u)for(n=u.call(n),c=0;!(l=n.next()).done;)s+=O(l=l.value,r,o,u=i+x(l,c++),a);else if("object"===l)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function k(e,t,n){if(null==e)return e;var r=[],o=0;return O(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function A(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var S={current:null},L={transition:null},B={ReactCurrentDispatcher:S,ReactCurrentBatchConfig:L,ReactCurrentOwner:g};return Be.Children={map:k,forEach:function(e,t,n){k(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return k(e,(function(){t++})),t},toArray:function(e){return k(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},Be.Component=C,Be.Fragment=n,Be.Profiler=o,Be.PureComponent=y,Be.StrictMode=r,Be.Suspense=s,Be.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,Be.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=p({},t.props),i=t.key,a=t.ref,l=t._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,l=g.current),void 0!==n.key&&(i=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(c in n)D.call(n,c)&&!b.hasOwnProperty(c)&&(o[c]=void 0===n[c]&&void 0!==s?s[c]:n[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){s=Array(c);for(var u=0;u<c;u++)s[u]=arguments[u+2];o.children=s}return{$$typeof:e,type:t.type,key:i,ref:a,props:o,_owner:l}},Be.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},Be.createElement=E,Be.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},Be.createRef=function(){return{current:null}},Be.forwardRef=function(e){return{$$typeof:l,render:e}},Be.isValidElement=_,Be.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:A}},Be.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},Be.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},Be.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Be.useCallback=function(e,t){return S.current.useCallback(e,t)},Be.useContext=function(e){return S.current.useContext(e)},Be.useDebugValue=function(){},Be.useDeferredValue=function(e){return S.current.useDeferredValue(e)},Be.useEffect=function(e,t){return S.current.useEffect(e,t)},Be.useId=function(){return S.current.useId()},Be.useImperativeHandle=function(e,t,n){return S.current.useImperativeHandle(e,t,n)},Be.useInsertionEffect=function(e,t){return S.current.useInsertionEffect(e,t)},Be.useLayoutEffect=function(e,t){return S.current.useLayoutEffect(e,t)},Be.useMemo=function(e,t){return S.current.useMemo(e,t)},Be.useReducer=function(e,t,n){return S.current.useReducer(e,t,n)},Be.useRef=function(e){return S.current.useRef(e)},Be.useState=function(e){return S.current.useState(e)},Be.useSyncExternalStore=function(e,t,n){return S.current.useSyncExternalStore(e,t,n)},Be.useTransition=function(){return S.current.useTransition()},Be.version="18.2.0",Be}var Pe,Te,Re={exports:{}};
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* react.development.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/function je(){return Pe||(Pe=1,e=Re,t=Re.exports,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),C=Symbol.iterator,v="@@iterator";function y(e){if(null===e||"object"!=typeof e)return null;var t=C&&e[C]||e[v];return"function"==typeof t?t:null}var m={current:null},w={transition:null},D={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},g={current:null},b={},E=null;function _(e){E=e}b.setExtraStackFrame=function(e){E=e},b.getCurrentStack=null,b.getStackAddendum=function(){var e="";E&&(e+=E);var t=b.getCurrentStack;return t&&(e+=t()||""),e};var F=!1,x=!1,O=!1,k=!1,A=!1,S={ReactCurrentDispatcher:m,ReactCurrentBatchConfig:w,ReactCurrentOwner:g};function L(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];M("warn",e,n)}function B(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];M("error",e,n)}function M(e,t,n){var r=S.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}S.ReactDebugCurrentFrame=b,S.ReactCurrentActQueue=D;var P={};function T(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;P[o]||(B("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),P[o]=!0)}var R={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){T(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){T(e,"replaceState")},enqueueSetState:function(e,t,n,r){T(e,"setState")}},j=Object.assign,I={};function V(e,t,n){this.props=e,this.context=t,this.refs=I,this.updater=n||R}Object.freeze(I),V.prototype.isReactComponent={},V.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},V.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var N={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},H=function(e,t){Object.defineProperty(V.prototype,e,{get:function(){L("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var z in N)N.hasOwnProperty(z)&&H(z,N[z]);function Z(){}function U(e,t,n){this.props=e,this.context=t,this.refs=I,this.updater=n||R}Z.prototype=V.prototype;var W=U.prototype=new Z;W.constructor=U,j(W,V.prototype),W.isPureReactComponent=!0;var $=Array.isArray;function G(e){return $(e)}function K(e){return""+e}function q(e){if(function(e){try{return K(e),!1}catch(e){return!0}}(e))return B("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),K(e)}function Y(e){return e.displayName||"Context"}function X(e){if(null==e)return null;if("number"==typeof e.tag&&B("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case o:return"Fragment";case r:return"Portal";case a:return"Profiler";case i:return"StrictMode";case u:return"Suspense";case f:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return Y(e)+".Consumer";case l:return Y(e._context)+".Provider";case c:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case d:var t=e.displayName||null;return null!==t?t:X(e.type)||"Memo";case p:var n=e,h=n._payload,C=n._init;try{return X(C(h))}catch(e){return null}}return null}var J,Q,ee,te=Object.prototype.hasOwnProperty,ne={key:!0,ref:!0,__self:!0,__source:!0};function re(e){if(te.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function oe(e){if(te.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}ee={};var ie=function(e,t,r,o,i,a,l){var s={$$typeof:n,type:e,key:t,ref:r,props:l,_owner:a,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function ae(e,t,n){var r,o={},i=null,a=null,l=null,s=null;if(null!=t)for(r in re(t)&&(a=t.ref,function(e){if("string"==typeof e.ref&&g.current&&e.__self&&g.current.stateNode!==e.__self){var t=X(g.current.type);ee[t]||(B('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),ee[t]=!0)}}(t)),oe(t)&&(q(t.key),i=""+t.key),l=void 0===t.__self?null:t.__self,s=void 0===t.__source?null:t.__source,t)te.call(t,r)&&!ne.hasOwnProperty(r)&&(o[r]=t[r]);var c=arguments.length-2;if(1===c)o.children=n;else if(c>1){for(var u=Array(c),f=0;f<c;f++)u[f]=arguments[f+2];Object.freeze&&Object.freeze(u),o.children=u}if(e&&e.defaultProps){var d=e.defaultProps;for(r in d)void 0===o[r]&&(o[r]=d[r])}if(i||a){var p="function"==typeof e?e.displayName||e.name||"Unknown":e;i&&function(e,t){var n=function(){J||(J=!0,B("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,p),a&&function(e,t){var n=function(){Q||(Q=!0,B("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(o,p)}return ie(e,i,a,l,s,g.current,o)}function le(e,t,n){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r,o,i=j({},e.props),a=e.key,l=e.ref,s=e._self,c=e._source,u=e._owner;if(null!=t)for(r in re(t)&&(l=t.ref,u=g.current),oe(t)&&(q(t.key),a=""+t.key),e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)te.call(t,r)&&!ne.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==o?i[r]=o[r]:i[r]=t[r]);var f=arguments.length-2;if(1===f)i.children=n;else if(f>1){for(var d=Array(f),p=0;p<f;p++)d[p]=arguments[p+2];i.children=d}return ie(e.type,a,l,s,c,u,i)}function se(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var ce=".",ue=":",fe=!1,de=/\/+/g;function pe(e){return e.replace(de,"$&/")}function he(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(q(e.key),n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function Ce(e,t,o,i,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s,c,u,f=!1;if(null===e)f=!0;else switch(l){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case n:case r:f=!0}}if(f){var d=e,p=a(d),h=""===i?ce+he(d,0):i;if(G(p)){var C="";null!=h&&(C=pe(h)+"/"),Ce(p,t,C,"",(function(e){return e}))}else null!=p&&(se(p)&&(!p.key||d&&d.key===p.key||q(p.key),s=p,c=o+(!p.key||d&&d.key===p.key?"":pe(""+p.key)+"/")+h,p=ie(s.type,c,s.ref,s._self,s._source,s._owner,s.props)),t.push(p));return 1}var v=0,m=""===i?ce:i+ue;if(G(e))for(var w=0;w<e.length;w++)v+=Ce(u=e[w],t,o,m+he(u,w),a);else{var D=y(e);if("function"==typeof D){var g=e;D===g.entries&&(fe||L("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),fe=!0);for(var b,E=D.call(g),_=0;!(b=E.next()).done;)v+=Ce(u=b.value,t,o,m+he(u,_++),a)}else if("object"===l){var F=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===F?"object with keys {"+Object.keys(e).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}}return v}function ve(e,t,n){if(null==e)return e;var r=[],o=0;return Ce(e,r,"","",(function(e){return t.call(n,e,o++)})),r}var ye,me=-1,we=0,De=1,ge=2;function be(e){if(e._status===me){var t=(0,e._result)();if(t.then((function(t){if(e._status===we||e._status===me){var n=e;n._status=De,n._result=t}}),(function(t){if(e._status===we||e._status===me){var n=e;n._status=ge,n._result=t}})),e._status===me){var n=e;n._status=we,n._result=t}}if(e._status===De){var r=e._result;return void 0===r&&B("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",r),"default"in r||B("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",r),r.default}throw e._result}function Ee(e){return"string"==typeof e||"function"==typeof e||!!(e===o||e===a||A||e===i||e===u||e===f||k||e===h||F||x||O)||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===l||e.$$typeof===s||e.$$typeof===c||e.$$typeof===ye||void 0!==e.getModuleId)}function _e(){var e=m.current;return null===e&&B("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}ye=Symbol.for("react.module.reference");var Fe,xe,Oe,ke,Ae,Se,Le,Be=0;function Me(){}Me.__reactDisabledLog=!0;var Pe,Te=S.ReactCurrentDispatcher;function Re(e,t,n){if(void 0===Pe)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);Pe=r&&r[1]||""}return"\n"+Pe+e}var je,Ie=!1,Ve="function"==typeof WeakMap?WeakMap:Map;function Ne(e,t){if(!e||Ie)return"";var n,r=je.get(e);if(void 0!==r)return r;Ie=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Te.current,Te.current=null,function(){if(0===Be){Fe=console.log,xe=console.info,Oe=console.warn,ke=console.error,Ae=console.group,Se=console.groupCollapsed,Le=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Me,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Be++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){n=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){n=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),s=n.stack.split("\n"),c=l.length-1,u=s.length-1;c>=1&&u>=0&&l[c]!==s[u];)u--;for(;c>=1&&u>=0;c--,u--)if(l[c]!==s[u]){if(1!==c||1!==u)do{if(c--,--u<0||l[c]!==s[u]){var f="\n"+l[c].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&je.set(e,f),f}}while(c>=1&&u>=0);break}}}finally{Ie=!1,Te.current=o,function(){if(0==--Be){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:j({},e,{value:Fe}),info:j({},e,{value:xe}),warn:j({},e,{value:Oe}),error:j({},e,{value:ke}),group:j({},e,{value:Ae}),groupCollapsed:j({},e,{value:Se}),groupEnd:j({},e,{value:Le})})}Be<0&&B("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var d=e?e.displayName||e.name:"",p=d?Re(d):"";return"function"==typeof e&&je.set(e,p),p}function He(e,t,n){if(null==e)return"";if("function"==typeof e)return Ne(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Re(e);switch(e){case u:return Re("Suspense");case f:return Re("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return Ne(e.render,!1);case d:return He(e.type,t,n);case p:var r=e,o=r._payload,i=r._init;try{return He(i(o),t,n)}catch(e){}}return""}je=new Ve;var ze,Ze={},Ue=S.ReactDebugCurrentFrame;function We(e){if(e){var t=e._owner,n=He(e.type,e._source,t?t.type:null);Ue.setExtraStackFrame(n)}else Ue.setExtraStackFrame(null)}function $e(e){if(e){var t=e._owner;_(He(e.type,e._source,t?t.type:null))}else _(null)}function Ge(){if(g.current){var e=X(g.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ze=!1;var Ke={};function qe(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=Ge();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!Ke[n]){Ke[n]=!0;var r="";e&&e._owner&&e._owner!==g.current&&(r=" It was passed a child from "+X(e._owner.type)+"."),$e(e),B('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),$e(null)}}}function Ye(e,t){if("object"==typeof e)if(G(e))for(var n=0;n<e.length;n++){var r=e[n];se(r)&&qe(r,t)}else if(se(e))e._store&&(e._store.validated=!0);else if(e){var o=y(e);if("function"==typeof o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)se(i.value)&&qe(i.value,t)}}function Xe(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==c&&n.$$typeof!==d)return;t=n.propTypes}if(t){var r=X(n);!function(e,t,n,r,o){var i=Function.call.bind(te);for(var a in e)if(i(e,a)){var l=void 0;try{if("function"!=typeof e[a]){var s=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}!l||l instanceof Error||(We(o),B("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,a,typeof l),We(null)),l instanceof Error&&!(l.message in Ze)&&(Ze[l.message]=!0,We(o),B("Failed %s type: %s",n,l.message),We(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||ze||(ze=!0,B("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",X(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||B("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Je(e,t,r){var i,a,l=Ee(e);if(!l){var s="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(s+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var c,u=null!=(i=t)&&void 0!==(a=i.__source)?"\n\nCheck your code at "+a.fileName.replace(/^.*[\\\/]/,"")+":"+a.lineNumber+".":"";s+=u||Ge(),null===e?c="null":G(e)?c="array":void 0!==e&&e.$$typeof===n?(c="<"+(X(e.type)||"Unknown")+" />",s=" Did you accidentally export a JSX literal instead of a component?"):c=typeof e,B("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,s)}var f=ae.apply(this,arguments);if(null==f)return f;if(l)for(var d=2;d<arguments.length;d++)Ye(arguments[d],e);return e===o?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){$e(e),B("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),$e(null);break}}null!==e.ref&&($e(e),B("Invalid attribute `ref` supplied to `React.Fragment`."),$e(null))}(f):Xe(f),f}var Qe=!1,et=!1,tt=null,nt=0,rt=!1;function ot(e){e!==nt-1&&B("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),nt=e}function it(t,n,r){var o=D.current;if(null!==o)try{lt(o),function(t){if(null===tt)try{var n=("require"+Math.random()).slice(0,7);tt=(e&&e[n]).call(e,"timers").setImmediate}catch(e){tt=function(e){!1===et&&(et=!0,"undefined"==typeof MessageChannel&&B("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}tt(t)}((function(){0===o.length?(D.current=null,n(t)):it(t,n,r)}))}catch(e){r(e)}else n(t)}var at=!1;function lt(e){if(!at){at=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}e.length=0}catch(n){throw e=e.slice(t+1),n}finally{at=!1}}}var st=Je,ct=function(e,t,n){for(var r=le.apply(this,arguments),o=2;o<arguments.length;o++)Ye(arguments[o],r.type);return Xe(r),r},ut=function(e){var t=Je.bind(null,e);return t.type=e,Qe||(Qe=!0,L("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return L("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},ft={map:ve,forEach:function(e,t,n){ve(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return ve(e,(function(){t++})),t},toArray:function(e){return ve(e,(function(e){return e}))||[]},only:function(e){if(!se(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=ft,t.Component=V,t.Fragment=o,t.Profiler=a,t.PureComponent=U,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=S,t.cloneElement=ct,t.createContext=function(e){var t={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:l,_context:t};var n=!1,r=!1,o=!1,i={$$typeof:s,_context:t};return Object.defineProperties(i,{Provider:{get:function(){return r||(r=!0,B("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return n||(n=!0,B("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){o||(L("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),o=!0)}}}),t.Consumer=i,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=st,t.createFactory=ut,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===d?B("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?B("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&B("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||B("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,n={$$typeof:c,render:e};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(n){t=n,e.name||e.displayName||(e.displayName=n)}}),n},t.isValidElement=se,t.lazy=function(e){var t,n,r={$$typeof:p,_payload:{_status:me,_result:e},_init:be};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){B("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(r,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(e){B("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(r,"propTypes",{enumerable:!0})}}}),r},t.memo=function(e,t){Ee(e)||B("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var n,r={$$typeof:d,type:e,compare:void 0===t?null:t};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(e.displayName=t)}}),r},t.startTransition=function(e,t){var n=w.transition;w.transition={};var r=w.transition;w.transition._updatedFibers=new Set;try{e()}finally{w.transition=n,null===n&&r._updatedFibers&&(r._updatedFibers.size>10&&L("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),r._updatedFibers.clear())}},t.unstable_act=function(e){var t=nt;nt++,null===D.current&&(D.current=[]);var n,r=D.isBatchingLegacy;try{if(D.isBatchingLegacy=!0,n=e(),!r&&D.didScheduleLegacyUpdate){var o=D.current;null!==o&&(D.didScheduleLegacyUpdate=!1,lt(o))}}catch(e){throw ot(t),e}finally{D.isBatchingLegacy=r}if(null!==n&&"object"==typeof n&&"function"==typeof n.then){var i=n,a=!1,l={then:function(e,n){a=!0,i.then((function(r){ot(t),0===nt?it(r,e,n):e(r)}),(function(e){ot(t),n(e)}))}};return rt||"undefined"==typeof Promise||Promise.resolve().then((function(){})).then((function(){a||(rt=!0,B("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))})),l}var s=n;if(ot(t),0===nt){var c=D.current;return null!==c&&(lt(c),D.current=null),{then:function(e,t){null===D.current?(D.current=[],it(s,e,t)):e(s)}}}return{then:function(e,t){e(s)}}},t.useCallback=function(e,t){return _e().useCallback(e,t)},t.useContext=function(e){var t=_e();if(void 0!==e._context){var n=e._context;n.Consumer===e?B("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&B("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return _e().useDebugValue(e,t)},t.useDeferredValue=function(e){return _e().useDeferredValue(e)},t.useEffect=function(e,t){return _e().useEffect(e,t)},t.useId=function(){return _e().useId()},t.useImperativeHandle=function(e,t,n){return _e().useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return _e().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return _e().useLayoutEffect(e,t)},t.useMemo=function(e,t){return _e().useMemo(e,t)},t.useReducer=function(e,t,n){return _e().useReducer(e,t,n)},t.useRef=function(e){return _e().useRef(e)},t.useState=function(e){return _e().useState(e)},t.useSyncExternalStore=function(e,t,n){return _e().useSyncExternalStore(e,t,n)},t.useTransition=function(){return _e().useTransition()},t.version="18.2.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Re.exports;var e,t}Te=Le,"production"===process.env.NODE_ENV?Te.exports=Me():Te.exports=je();var Ie,Ve={};var Ne,He={};
|
|
11
|
-
/**
|
|
12
|
-
* @license React
|
|
13
|
-
* use-sync-external-store-shim.development.js
|
|
14
|
-
*
|
|
15
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the MIT license found in the
|
|
18
|
-
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/function ze(){return Ne||(Ne=1,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=Le.exports,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];!function(e,n,r){var o=t.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(n+="%s",r=r.concat([o]));var i=r.map((function(e){return String(e)}));i.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,i)}("error",e,r)}var r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=e.useState,i=e.useEffect,a=e.useLayoutEffect,l=e.useDebugValue,s=!1,c=!1;function u(e){var t=e.getSnapshot,n=e.value;try{var o=t();return!r(n,o)}catch(e){return!0}}var f=!!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)?function(e,t,n){return t()}:function(t,f,d){s||void 0!==e.startTransition&&(s=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var p=f();if(!c){var h=f();r(p,h)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var C=o({inst:{value:p,getSnapshot:f}}),v=C[0].inst,y=C[1];return a((function(){v.value=p,v.getSnapshot=f,u(v)&&y({inst:v})}),[t,p,f]),i((function(){u(v)&&y({inst:v});return t((function(){u(v)&&y({inst:v})}))}),[t]),l(p),p},d=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:f;He.useSyncExternalStore=d,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),He}!function(e){"production"===process.env.NODE_ENV?e.exports=function(){if(Ie)return Ve;Ie=1;var e=Le.exports,t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useState,r=e.useEffect,o=e.useLayoutEffect,i=e.useDebugValue;function a(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var l=t(),s=n({inst:{value:l,getSnapshot:t}}),c=s[0].inst,u=s[1];return o((function(){c.value=l,c.getSnapshot=t,a(c)&&u({inst:c})}),[e,l,t]),r((function(){return a(c)&&u({inst:c}),e((function(){a(c)&&u({inst:c})}))}),[e]),i(l),l};return Ve.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:l,Ve}():e.exports=ze()}({exports:{}});var Ze=o({chainId:1,account:void 0,accounts:void 0,provider:void 0,walletType:void 0,connectLoading:!1,connected:void 0});!function(e,t){"string"==typeof t&&(console.warn("string name option is deprecated, use { name }. https://github.com/pmndrs/valtio/pull/400"),t={name:t});const{enabled:n,name:r=""}=t||{};let o;try{o=(null!=n?n:"production"!==(import.meta.env&&import.meta.env.MODE))&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!o)return void("production"!==(import.meta.env&&import.meta.env.MODE)&&n&&console.warn("[Warning] Please install/enable Redux devtools extension"));let i=!1;const a=o.connect({name:r}),l=xe(e,(t=>{const n=t.filter((([e,t])=>t[0]!==Ae)).map((([e,t])=>`${e}:${t.map(String).join(".")}`)).join(", ");if(n)if(i)i=!1;else{const t=Object.assign({},Oe(e));delete t[Ae],a.send({type:n,updatedAt:(new Date).toLocaleString()},t)}})),s=a.subscribe((t=>{var n,r,o,l,s,c;if("ACTION"===t.type&&t.payload)try{Object.assign(e,JSON.parse(t.payload))}catch(e){console.error("please dispatch a serializable value that JSON.parse() and proxy() support\n",e)}if("DISPATCH"===t.type&&t.state){if("JUMP_TO_ACTION"===(null==(n=t.payload)?void 0:n.type)||"JUMP_TO_STATE"===(null==(r=t.payload)?void 0:r.type)){i=!0;const n=JSON.parse(t.state);Object.assign(e,n)}e[Ae]=t}else if("DISPATCH"===t.type&&"COMMIT"===(null==(o=t.payload)?void 0:o.type))a.init(Oe(e));else if("DISPATCH"===t.type&&"IMPORT_STATE"===(null==(l=t.payload)?void 0:l.type)){const n=null==(s=t.payload.nextLiftedState)?void 0:s.actionsById,r=(null==(c=t.payload.nextLiftedState)?void 0:c.computedStates)||[];i=!0,r.forEach((({state:t},r)=>{const o=n[r]||"No action found";Object.assign(e,t),0===r?a.init(Oe(e)):a.send(o,Oe(e))}))}}));a.init(Oe(e))}(Ze,{name:"dodo-wallet",enabled:!0});var Ue,We=[{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"}];function $e(){var e=Ze.provider;if(!e)throw new Error("provider is undefined");return e}!function(e){e[e.Failed=0]="Failed",e[e.Success=1]="Success",e[e.Warning=2]="Warning"}(Ue||(Ue={}));var Ge=function(e){return c(void 0,void 0,void 0,(function(){var t,n,r,o,i,a;return u(this,(function(l){switch(l.label){case 0:t=e.value,n=e.from,r=e.to,o=e.data,i={from:n,to:r,value:t,data:o},t&&!/^0x0*$/.test(t)||delete i.value,a=$e(),l.label=1;case 1:return l.trys.push([1,3,,4]),[4,a.estimateGas(i)];case 2:return[2,l.sent().add(5e4)];case 3:return l.sent(),a.call(e).then((function(e){if("test"!==process.env.NODE_ENV)throw new Error("Unexpected issue with estimating the gas. Please try again.")})).catch((function(e){if("test"!==process.env.NODE_ENV)throw e})),[3,4];case 4:return[2,null]}}))}))},Ke=function(){return c(void 0,void 0,void 0,(function(){var e;return u(this,(function(t){switch(t.label){case 0:e=$e(),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,e.getGasPrice()];case 2:return[2,t.sent()];case 3:return t.sent(),e.call({}).then((function(e){throw new Error("Unexpected issue with getting the gas price. Please try again.")})).catch((function(e){throw e})),[3,4];case 4:return[2,null]}}))}))},qe=function(e){return c(void 0,void 0,void 0,(function(){var t,n,r,o,i;return u(this,(function(a){switch(a.label){case 0:t=$e(),a.label=1;case 1:return a.trys.push([1,6,,7]),[4,t.getSigner().sendTransaction(e)];case 2:return n=a.sent(),(null===(i=Ze.connected)||void 0===i?void 0:i.isSafe)&&Ze.account?[4,V()]:[3,5];case 3:return[4,a.sent().getSafeTxHash(Ze.chainId,Ze.account,n.hash)];case 4:return r=a.sent(),[2,s(s({},n),{hash:r})];case 5:return[2,n];case 6:throw 4001===(null==(o=a.sent())?void 0:o.code)?new Error("Transaction rejected."):o;case 7:return[2]}}))}))};function Ye(e,o,i){if(!function(e){try{return r(e)}catch(e){return!1}}(e)||e===t)throw Error("Invalid 'address' parameter '".concat(e,"'."));var a=null!=i?i:$e(),l=Ze.account;return new n(e,o,function(e,t){return t?function(e,t){return e.getSigner(t).connectUnchecked()}(e,t):e}(a,l))}var Xe=new Map;function Je(t,n){return c(this,void 0,void 0,(function(){var r;return u(this,(function(o){return!t||t===Ze.chainId&&Ze.provider?[2,Ze.provider]:Xe.has(t)?[2,Xe.get(t)]:(r=new e(n),Xe.set(t,r),[2,r])}))}))}var Qe=function(e,t,n){return c(void 0,void 0,void 0,(function(){var r,o,i,a;return u(this,(function(l){switch(l.label){case 0:return r=Ye(e,We),o=r.interface.encodeFunctionData("approve",[t,n]),i={from:Ze.account,to:e,data:o,value:"0x0",gasLimit:void 0},[4,Ge(i)];case 1:return(a=l.sent())&&(i.gasLimit=a),[4,qe(i)];case 2:return[2,l.sent()]}}))}))};function et(e,t,n,r,o){var i;return c(this,void 0,void 0,(function(){var a,l,c,f,d,h,C,v;return u(this,(function(u){switch(u.label){case 0:a=$e(),u.label=1;case 1:if(t.killSwitch)return[3,11];u.label=2;case 2:return u.trys.push([2,8,,9]),(null===(i=Ze.connected)||void 0===i?void 0:i.isSafe)?[4,V()]:[3,5];case 3:return[4,u.sent().getSafeTxStatus(Ze.chainId,e,Ze.account)];case 4:return"rejected"===(l=u.sent())?[2,{status:Ue.Warning,transactionReceipt:null}]:(c=void 0,l&&(c=l.status?Ue.Success:Ue.Failed),void 0!==c?[2,{status:c,transactionReceipt:l?s(s({},l),{blockNumber:l.blockNumber||void 0,status:l.status?1:0}):null}]:[3,7]);case 5:return[4,Promise.all([o?o(e):a.getTransactionReceipt(e),a.getTransactionCount(null!=r?r:"")])];case 6:if(f=p.apply(void 0,[u.sent(),2]),d=f[0],h=f[1],console.log("[TX Watch] Web3",d,"/Current Nonce ",h,"/TX Nonce",n),C=void 0,d&&(C=d.status?Ue.Success:Ue.Failed),void 0===C&&n&&h>n&&(C=Ue.Warning),void 0!==C)return[2,{status:C,transactionReceipt:d}];u.label=7;case 7:return[3,9];case 8:return v=u.sent(),console.error("[TX Watch] Error",v.message),[3,9];case 9:return[4,new Promise((function(e){return setTimeout(e,t.interval)}))];case 10:return u.sent(),[3,1];case 11:return[2,null]}}))}))}var tt=function(){function e(e){var t=e.cacheKey,n=e.stateController;this.cacheKey=t,this.stateController=n}return e.prototype.setCacheType=function(e){localStorage.setItem(this.cacheKey,e)},e.prototype.removeCache=function(){localStorage.removeItem(this.cacheKey)},e.prototype.getCacheType=function(){return localStorage.getItem(this.cacheKey)},e.prototype.getConnectedWallet=function(){return c(this,void 0,void 0,(function(){var e,t;return u(this,(function(n){switch(n.label){case 0:return Ze.connectLoading?[4,Promise.race([new Promise((function(e){t=function(e,t){let n=!0;const r=new Set,o=new Map,i=()=>{n&&(n=!1,r.forEach((e=>e())),r.clear(),o.forEach((e=>e())),o.clear())},a=()=>{if(!n)return;r.forEach((e=>e())),r.clear();const i=new Set,l=ke;ke=r;try{const t=e((e=>(i.add(e),e)));t&&r.add(t)}finally{ke=l}o.forEach(((e,t)=>{i.has(t)?i.delete(t):(o.delete(t),e())})),i.forEach((e=>{const n=xe(e,a,null==t?void 0:t.sync);o.set(e,n)}))};return ke&&ke.add(i),a(),i}((function(t){!1===t(Ze).connectLoading&&e(!0)}))})),new Promise((function(t){e=setTimeout((function(){t(!1)}),4e3)}))])]:[3,2];case 1:n.sent(),clearTimeout(e),t&&t(),n.label=2;case 2:return[2,this._wallet]}}))}))},e.prototype.connectWallet=function(e,t,n){var r=(void 0===n?{}:n).isAutoConnect;return c(this,void 0,void 0,(function(){var n,o,i,a=this;return u(this,(function(l){switch(l.label){case 0:if(!e)throw new Error("wallet is not valid.");if(!e.connector)throw new Error("".concat(e.showName," is not valid."));return this.stateController.setConnectLoading(!0),n=e.type,[4,(0,e.connector)(t,{connect:function(e){var t=e.chainId,n=parseInt(t,16);n&&a.stateController.setChainId(n)},accountsChanged:function(e){a.stateController.setAccounts(e)},chainChanged:function(e){var t=parseInt(e,16);t&&a.stateController.setChainId(t)},message:function(){},disconnect:function(e){a.stateController.setConnected(void 0)}})];case 1:return(o=l.sent())?(this.setCacheType(n),this._wallet=e,[4,this.stateController.setProvider(o,n)]):[3,3];case 2:l.sent(),i=n===m.Gnosis,this.stateController.setConnected({isAutoConnect:!!r,wallet:e,isSafe:i}),!i&&n===m.WalletConnect&&Ze.account&&V().then((function(t){t.getAccountIsSafe(Ze.chainId,Ze.account).then((function(t){t&&a.stateController.setConnected({isAutoConnect:!!r,wallet:e,isSafe:!0})}))})),l.label=3;case 3:return this.stateController.setConnectLoading(!1),[2,o]}}))}))},e.prototype.disconnectWallet=function(){var e;return c(this,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return this.getCacheType()?(null===(e=this._wallet)||void 0===e?void 0:e.disconnect)?[4,this._wallet.disconnect()]:[3,2]:[2];case 1:t.sent(),t.label=2;case 2:return this._wallet=void 0,this.removeCache(),this.stateController.initialize(),[2]}}))}))},e}(),nt=function(){function t(e){var t=e.rpcUrl;this.rpcUrl=t,this.state=Ze}return t.prototype.setConnectLoading=function(e){Ze.connectLoading=e},t.prototype.setProvider=function(e,t){return c(this,void 0,void 0,(function(){var n,r;return u(this,(function(o){switch(o.label){case 0:return Ze.provider=i(e),[4,e.getNetwork()];case 1:return n=o.sent().chainId,r=[],t?[4,e.listAccounts()]:[3,3];case 2:r=o.sent(),o.label=3;case 3:return Ze.chainId=n,t?(Ze.walletType=t,Ze.accounts=r,Ze.account=Ze.accounts[0]):(Ze.account=void 0,Ze.accounts=void 0,Ze.walletType=void 0),[2]}}))}))},t.prototype.getProvider=function(){return Ze.provider},t.prototype.getState=function(){return Ze},t.prototype.setRpcUrl=function(t){if(this.rpcUrl=t,!Ze.provider){var n=new e(this.rpcUrl);this.setProvider(n)}},t.prototype.setChainId=function(e){Ze.chainId=null!=e?e:1},t.prototype.setAccounts=function(e){Ze.accounts=e,Ze.account=e.length?e[0]:void 0},t.prototype.setConnected=function(e){Ze.connected=e},t.prototype.initialize=function(){if(this.rpcUrl){var t=new e(this.rpcUrl);this.setProvider(t)}else Ze.chainId=1,Ze.account=void 0,Ze.accounts=void 0,Ze.walletType=void 0,Ze.provider=void 0},t}(),rt={cacheKey:"DODO-WALLET-CACHED-PROVIDER"},ot=function(){function e(e){var t;this.isOpenBlockIframe=!1,this.isSafeIframe=!1;var n=s(s({},rt),e),r=n.providerConfig,o=n.walletListConfig,i=n.cacheKey;this.providerConfig=r;var a=be(s({PORTIS_ID:null===(t=r.portisParams)||void 0===t?void 0:t.id},o));this.walletListConfig=o;var l=new nt({rpcUrl:r.rpcUrl});this.stateController=l,this.connectController=new tt({cacheKey:i,stateController:l}),this.autoConnect(a)}return e.prototype.autoConnect=function(e){return c(this,void 0,void 0,(function(){var t,n,r,o,i,a=this;return u(this,(function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),t=function(e){return a.connectToWallet(e,void 0,{isAutoConnect:!0})},[4,Ee()];case 1:return(n=l.sent())?[2,t(n)]:(r=this.connectController.getCacheType())&&(o=e.find((function(e){return e.type===r})))?[2,t(o)]:[3,3];case 2:return i=l.sent(),console.error(i),[3,3];case 3:return this.stateController.initialize(),[2]}}))}))},e.prototype.setRpcUrl=function(e){this.stateController.setRpcUrl(e)},e.prototype.getWalletList=function(e,t){var n;return be(s(s({PORTIS_ID:null===(n=this.providerConfig.portisParams)||void 0===n?void 0:n.id,chainId:e},this.walletListConfig),t))},e.prototype.connectToWallet=function(e,t,n){return void 0===n&&(n={}),c(this,void 0,void 0,(function(){return u(this,(function(r){return t&&(this.providerConfig=s(s({},this.providerConfig),t)),[2,this.connectController.connectWallet(e,this.providerConfig,n)]}))}))},e.prototype.getConnectedWallet=function(){return this.connectController.getConnectedWallet()},e.prototype.disconnectWallet=function(){return this.connectController.disconnectWallet()},e.prototype.connectWalletBefore=function(e,t){if(Ze.walletType===e.type&&Ze.account)return!1;if(t){var n=e.link;return k()?n=e.mobileAndroidDeepLink||e.mobileDeepLink||e.link:A()&&(n=e.mobileIOSDeepLink||e.mobileDeepLink||e.link),n&&window.open(n),!1}return!0},e.prototype.clickWallet=function(e,t,n){this.connectWalletBefore(e,t)&&this.connectToWallet(e,n)},e}();export{Ue as A,Ge as B,ot as C,Ke as D,qe as E,Ye as F,Je as G,x as H,Qe as I,et as J,De as O,m as W,c as _,u as a,h as b,p as c,g as d,s as e,l as f,w as g,ve as h,b as i,me as j,be as k,Ee as l,_e as m,Q as n,he as o,I as p,V as q,N as r,ye as s,H as t,z as u,Z as v,Ze as w,E as x,j as y,R as z};
|
package/dist/index-cecc22f4.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import e from"buffer";import t from"util";import{g as r}from"./index-b869aac9.js";import{g as n}from"./_commonjsHelpers-70de2c37.js";var o,i,a={exports:{}};
|
|
2
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */function u(){return i?o:(i=1,o=t.deprecate)}!function(t,r){var n=e,o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(i(n,r),r.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}}(a,a.exports);var s=function(e){var t=(e=e||{}).max||Number.MAX_SAFE_INTEGER,r=void 0!==e.start?e.start:Math.floor(Math.random()*t);return function(){return r%=t,r++}};var c,p,l={},h={},f=n(r),y={};function _(){if(c)return y;c=1,Object.defineProperty(y,"__esModule",{value:!0});var e=f,t=function(){function t(e){if(this._maxConcurrency=e,this._queue=[],e<=0)throw new Error("semaphore must be initialized to a positive value");this._value=e}return t.prototype.acquire=function(){var e=this,t=this.isLocked(),r=new Promise((function(t){return e._queue.push(t)}));return t||this._dispatch(),r},t.prototype.runExclusive=function(t){return e.__awaiter(this,void 0,void 0,(function(){var r,n,o;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,this.acquire()];case 1:r=e.sent(),n=r[0],o=r[1],e.label=2;case 2:return e.trys.push([2,,4,5]),[4,t(n)];case 3:return[2,e.sent()];case 4:return o(),[7];case 5:return[2]}}))}))},t.prototype.isLocked=function(){return this._value<=0},t.prototype.release=function(){if(this._maxConcurrency>1)throw new Error("this method is unavailabel on semaphores with concurrency > 1; use the scoped release returned by acquire instead");if(this._currentReleaser){var e=this._currentReleaser;this._currentReleaser=void 0,e()}},t.prototype._dispatch=function(){var e=this,t=this._queue.shift();if(t){var r=!1;this._currentReleaser=function(){r||(r=!0,e._value++,e._dispatch())},t([this._value--,this._currentReleaser])}},t}();return y.default=t,y}var m,d,g,v,b,B,w={};function k(){return d||(d=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.withTimeout=e.Semaphore=e.Mutex=void 0;var t=function(){if(p)return h;p=1,Object.defineProperty(h,"__esModule",{value:!0});var e=f,t=_(),r=function(){function r(){this._semaphore=new t.default(1)}return r.prototype.acquire=function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,this._semaphore.acquire()];case 1:return[2,e.sent()[1]]}}))}))},r.prototype.runExclusive=function(e){return this._semaphore.runExclusive((function(){return e()}))},r.prototype.isLocked=function(){return this._semaphore.isLocked()},r.prototype.release=function(){this._semaphore.release()},r}();return h.default=r,h}();Object.defineProperty(e,"Mutex",{enumerable:!0,get:function(){return t.default}});var r=_();Object.defineProperty(e,"Semaphore",{enumerable:!0,get:function(){return r.default}});var n=function(){if(m)return w;m=1,Object.defineProperty(w,"__esModule",{value:!0}),w.withTimeout=void 0;var e=f;return w.withTimeout=function(t,r,n){var o=this;return void 0===n&&(n=new Error("timeout")),{acquire:function(){return new Promise((function(i,a){return e.__awaiter(o,void 0,void 0,(function(){var o,u;return e.__generator(this,(function(e){switch(e.label){case 0:return o=!1,setTimeout((function(){o=!0,a(n)}),r),[4,t.acquire()];case 1:return u=e.sent(),o?(Array.isArray(u)?u[1]:u)():i(u),[2]}}))}))}))},runExclusive:function(t){return e.__awaiter(this,void 0,void 0,(function(){var r,n;return e.__generator(this,(function(e){switch(e.label){case 0:r=function(){},e.label=1;case 1:return e.trys.push([1,,7,8]),[4,this.acquire()];case 2:return n=e.sent(),Array.isArray(n)?(r=n[1],[4,t(n[0])]):[3,4];case 3:return[2,e.sent()];case 4:return r=n,[4,t()];case 5:return[2,e.sent()];case 6:return[3,8];case 7:return r(),[7];case 8:return[2]}}))}))},release:function(){t.release()},isLocked:function(){return t.isLocked()}}},w}();Object.defineProperty(e,"withTimeout",{enumerable:!0,get:function(){return n.withTimeout}})}(l)),l}function T(){if(v)return g;v=1,g=function(){for(var t={},r=0;r<arguments.length;r++){var n=arguments[r];for(var o in n)e.call(n,o)&&(t[o]=n[o])}return t};var e=Object.prototype.hasOwnProperty;return g}function A(){if(B)return b;B=1;const e=T(),t=s();function r(e){this.currentProvider=e}function n(e){return function(){var t=[].slice.call(arguments),r=t.pop();this.sendAsync({method:e,params:t},r)}}function o(e,t){return function(){var r=[].slice.call(arguments),n=r.pop();r.length<e&&r.push("latest"),this.sendAsync({method:t,params:r},n)}}return b=r,r.prototype.getBalance=o(2,"eth_getBalance"),r.prototype.getCode=o(2,"eth_getCode"),r.prototype.getTransactionCount=o(2,"eth_getTransactionCount"),r.prototype.getStorageAt=o(3,"eth_getStorageAt"),r.prototype.call=o(2,"eth_call"),r.prototype.protocolVersion=n("eth_protocolVersion"),r.prototype.syncing=n("eth_syncing"),r.prototype.coinbase=n("eth_coinbase"),r.prototype.mining=n("eth_mining"),r.prototype.hashrate=n("eth_hashrate"),r.prototype.gasPrice=n("eth_gasPrice"),r.prototype.accounts=n("eth_accounts"),r.prototype.blockNumber=n("eth_blockNumber"),r.prototype.getBlockTransactionCountByHash=n("eth_getBlockTransactionCountByHash"),r.prototype.getBlockTransactionCountByNumber=n("eth_getBlockTransactionCountByNumber"),r.prototype.getUncleCountByBlockHash=n("eth_getUncleCountByBlockHash"),r.prototype.getUncleCountByBlockNumber=n("eth_getUncleCountByBlockNumber"),r.prototype.sign=n("eth_sign"),r.prototype.sendTransaction=n("eth_sendTransaction"),r.prototype.sendRawTransaction=n("eth_sendRawTransaction"),r.prototype.estimateGas=n("eth_estimateGas"),r.prototype.getBlockByHash=n("eth_getBlockByHash"),r.prototype.getBlockByNumber=n("eth_getBlockByNumber"),r.prototype.getTransactionByHash=n("eth_getTransactionByHash"),r.prototype.getTransactionByBlockHashAndIndex=n("eth_getTransactionByBlockHashAndIndex"),r.prototype.getTransactionByBlockNumberAndIndex=n("eth_getTransactionByBlockNumberAndIndex"),r.prototype.getTransactionReceipt=n("eth_getTransactionReceipt"),r.prototype.getUncleByBlockHashAndIndex=n("eth_getUncleByBlockHashAndIndex"),r.prototype.getUncleByBlockNumberAndIndex=n("eth_getUncleByBlockNumberAndIndex"),r.prototype.getCompilers=n("eth_getCompilers"),r.prototype.compileLLL=n("eth_compileLLL"),r.prototype.compileSolidity=n("eth_compileSolidity"),r.prototype.compileSerpent=n("eth_compileSerpent"),r.prototype.newFilter=n("eth_newFilter"),r.prototype.newBlockFilter=n("eth_newBlockFilter"),r.prototype.newPendingTransactionFilter=n("eth_newPendingTransactionFilter"),r.prototype.uninstallFilter=n("eth_uninstallFilter"),r.prototype.getFilterChanges=n("eth_getFilterChanges"),r.prototype.getFilterLogs=n("eth_getFilterLogs"),r.prototype.getLogs=n("eth_getLogs"),r.prototype.getWork=n("eth_getWork"),r.prototype.submitWork=n("eth_submitWork"),r.prototype.submitHashrate=n("eth_submitHashrate"),r.prototype.sendAsync=function(r,n){var o;this.currentProvider.sendAsync((o=r,e({id:t(),jsonrpc:"2.0",params:[]},o)),(function(e,t){if(!e&&t.error&&(e=new Error("EthQuery - RPC Error - "+t.error.message)),e)return n(e);n(null,t.result)}))},b}export{A as a,k as b,f as c,T as d,s as j,u as r,a as s};
|
package/dist/index-e3ab6de5.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as e}from"./_commonjsHelpers-70de2c37.js";import r from"events";var t={},o={},n={};Object.defineProperty(n,"__esModule",{value:!0}),n.getUniqueId=void 0;const s=4294967295;let i=Math.floor(Math.random()*s);n.getUniqueId=function(){return i=(i+1)%s,i},Object.defineProperty(o,"__esModule",{value:!0}),o.createIdRemapMiddleware=void 0;const a=n;o.createIdRemapMiddleware=function(){return(e,r,t,o)=>{const n=e.id,s=a.getUniqueId();e.id=s,r.id=s,t((t=>{e.id=n,r.id=n,t()}))}};var d={};Object.defineProperty(d,"__esModule",{value:!0}),d.createAsyncMiddleware=void 0,d.createAsyncMiddleware=function(e){return async(r,t,o,n)=>{let s;const i=new Promise((e=>{s=e}));let a=null,d=!1;const c=async()=>{d=!0,o((e=>{a=e,s()})),await i};try{await e(r,t,c),d?(await i,a(null)):n(null)}catch(e){a?a(e):n(e)}}};var c={};Object.defineProperty(c,"__esModule",{value:!0}),c.createScaffoldMiddleware=void 0,c.createScaffoldMiddleware=function(e){return(r,t,o,n)=>{const s=e[r.method];return void 0===s?o():"function"==typeof s?s(r,t,o,n):(t.result=s,n())}};var u={},l={};Object.defineProperty(l,"__esModule",{value:!0});const f=r;function p(e,r,t){try{Reflect.apply(e,r,t)}catch(e){setTimeout((()=>{throw e}))}}class h extends f.EventEmitter{emit(e,...r){let t="error"===e;const o=this._events;if(void 0!==o)t=t&&void 0===o.error;else if(!t)return!1;if(t){let e;if(r.length>0&&([e]=r),e instanceof Error)throw e;const t=new Error("Unhandled error."+(e?` (${e.message})`:""));throw t.context=e,t}const n=o[e];if(void 0===n)return!1;if("function"==typeof n)p(n,this,r);else{const e=n.length,t=function(e){const r=e.length,t=new Array(r);for(let o=0;o<r;o+=1)t[o]=e[o];return t}(n);for(let o=0;o<e;o+=1)p(t[o],this,r)}return!0}}l.default=h;var m={},g={},v=R;R.default=R,R.stable=M,R.stableStringify=M;var y="[...]",E="[Circular]",b=[],w=[];function _(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function R(e,r,t,o){var n;void 0===o&&(o=_()),O(e,"",0,[],void 0,0,o);try{n=0===w.length?JSON.stringify(e,r,t):JSON.stringify(e,S(r),t)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==b.length;){var s=b.pop();4===s.length?Object.defineProperty(s[0],s[1],s[3]):s[0][s[1]]=s[2]}}return n}function P(e,r,t,o){var n=Object.getOwnPropertyDescriptor(o,t);void 0!==n.get?n.configurable?(Object.defineProperty(o,t,{value:e}),b.push([o,t,r,n])):w.push([r,t,e]):(o[t]=e,b.push([o,t,r]))}function O(e,r,t,o,n,s,i){var a;if(s+=1,"object"==typeof e&&null!==e){for(a=0;a<o.length;a++)if(o[a]===e)return void P(E,e,r,n);if(void 0!==i.depthLimit&&s>i.depthLimit)return void P(y,e,r,n);if(void 0!==i.edgesLimit&&t+1>i.edgesLimit)return void P(y,e,r,n);if(o.push(e),Array.isArray(e))for(a=0;a<e.length;a++)O(e[a],a,a,o,e,s,i);else{var d=Object.keys(e);for(a=0;a<d.length;a++){var c=d[a];O(e[c],c,a,o,e,s,i)}}o.pop()}}function j(e,r){return e<r?-1:e>r?1:0}function M(e,r,t,o){void 0===o&&(o=_());var n,s=C(e,"",0,[],void 0,0,o)||e;try{n=0===w.length?JSON.stringify(s,r,t):JSON.stringify(s,S(r),t)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==b.length;){var i=b.pop();4===i.length?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return n}function C(e,r,t,o,n,s,i){var a;if(s+=1,"object"==typeof e&&null!==e){for(a=0;a<o.length;a++)if(o[a]===e)return void P(E,e,r,n);try{if("function"==typeof e.toJSON)return}catch(e){return}if(void 0!==i.depthLimit&&s>i.depthLimit)return void P(y,e,r,n);if(void 0!==i.edgesLimit&&t+1>i.edgesLimit)return void P(y,e,r,n);if(o.push(e),Array.isArray(e))for(a=0;a<e.length;a++)C(e[a],a,a,o,e,s,i);else{var d={},c=Object.keys(e).sort(j);for(a=0;a<c.length;a++){var u=c[a];C(e[u],u,a,o,e,s,i),d[u]=e[u]}if(void 0===n)return d;b.push([n,r,e]),n[r]=d}o.pop()}}function S(e){return e=void 0!==e?e:function(e,r){return r},function(r,t){if(w.length>0)for(var o=0;o<w.length;o++){var n=w[o];if(n[1]===r&&n[0]===t){t=n[2],w.splice(o,1);break}}return e.call(this,r,t)}}Object.defineProperty(g,"__esModule",{value:!0}),g.EthereumProviderError=g.EthereumRpcError=void 0;const N=v;class A extends Error{constructor(e,r,t){if(!Number.isInteger(e))throw new Error('"code" must be an integer.');if(!r||"string"!=typeof r)throw new Error('"message" must be a nonempty string.');super(r),this.code=e,void 0!==t&&(this.data=t)}serialize(){const e={code:this.code,message:this.message};return void 0!==this.data&&(e.data=this.data),this.stack&&(e.stack=this.stack),e}toString(){return N.default(this.serialize(),I,2)}}g.EthereumRpcError=A;function I(e,r){if("[Circular]"!==r)return r}g.EthereumProviderError=class extends A{constructor(e,r,t){if(!function(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,r,t)}};var q={},J={};Object.defineProperty(J,"__esModule",{value:!0}),J.errorValues=J.errorCodes=void 0,J.errorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}},J.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.serializeError=e.isValidCode=e.getMessageFromCode=e.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;const r=J,t=g,o=r.errorCodes.rpc.internal,n="Unspecified error message. This is a bug, please report it.",s={code:o,message:i(o)};function i(t,o=n){if(Number.isInteger(t)){const o=t.toString();if(u(r.errorValues,o))return r.errorValues[o].message;if(d(t))return e.JSON_RPC_SERVER_ERROR_MESSAGE}return o}function a(e){if(!Number.isInteger(e))return!1;const t=e.toString();return!!r.errorValues[t]||!!d(e)}function d(e){return e>=-32099&&e<=-32e3}function c(e){return e&&"object"==typeof e&&!Array.isArray(e)?Object.assign({},e):e}function u(e,r){return Object.prototype.hasOwnProperty.call(e,r)}e.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.",e.getMessageFromCode=i,e.isValidCode=a,e.serializeError=function(e,{fallbackError:r=s,shouldIncludeStack:o=!1}={}){var n,d;if(!r||!Number.isInteger(r.code)||"string"!=typeof r.message)throw new Error("Must provide fallback error with integer number code and string message.");if(e instanceof t.EthereumRpcError)return e.serialize();const l={};if(e&&"object"==typeof e&&!Array.isArray(e)&&u(e,"code")&&a(e.code)){const r=e;l.code=r.code,r.message&&"string"==typeof r.message?(l.message=r.message,u(r,"data")&&(l.data=r.data)):(l.message=i(l.code),l.data={originalError:c(e)})}else{l.code=r.code;const t=null===(n=e)||void 0===n?void 0:n.message;l.message=t&&"string"==typeof t?t:r.message,l.data={originalError:c(e)}}const f=null===(d=e)||void 0===d?void 0:d.stack;return o&&e&&f&&"string"==typeof f&&(l.stack=f),l}}(q);var x={};Object.defineProperty(x,"__esModule",{value:!0}),x.ethErrors=void 0;const F=g,z=q,k=J;function T(e,r){const[t,o]=U(r);return new F.EthereumRpcError(e,t||z.getMessageFromCode(e),o)}function L(e,r){const[t,o]=U(r);return new F.EthereumProviderError(e,t||z.getMessageFromCode(e),o)}function U(e){if(e){if("string"==typeof e)return[e];if("object"==typeof e&&!Array.isArray(e)){const{message:r,data:t}=e;if(r&&"string"!=typeof r)throw new Error("Must specify string message.");return[r||void 0,t]}}return[]}x.ethErrors={rpc:{parse:e=>T(k.errorCodes.rpc.parse,e),invalidRequest:e=>T(k.errorCodes.rpc.invalidRequest,e),invalidParams:e=>T(k.errorCodes.rpc.invalidParams,e),methodNotFound:e=>T(k.errorCodes.rpc.methodNotFound,e),internal:e=>T(k.errorCodes.rpc.internal,e),server:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");const{code:r}=e;if(!Number.isInteger(r)||r>-32005||r<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return T(r,e)},invalidInput:e=>T(k.errorCodes.rpc.invalidInput,e),resourceNotFound:e=>T(k.errorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>T(k.errorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>T(k.errorCodes.rpc.transactionRejected,e),methodNotSupported:e=>T(k.errorCodes.rpc.methodNotSupported,e),limitExceeded:e=>T(k.errorCodes.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>L(k.errorCodes.provider.userRejectedRequest,e),unauthorized:e=>L(k.errorCodes.provider.unauthorized,e),unsupportedMethod:e=>L(k.errorCodes.provider.unsupportedMethod,e),disconnected:e=>L(k.errorCodes.provider.disconnected,e),chainDisconnected:e=>L(k.errorCodes.provider.chainDisconnected,e),custom:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw new Error("Ethereum Provider custom errors must provide single object argument.");const{code:r,message:t,data:o}=e;if(!t||"string"!=typeof t)throw new Error('"message" must be a nonempty string');return new F.EthereumProviderError(r,t,o)}}},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getMessageFromCode=e.serializeError=e.EthereumProviderError=e.EthereumRpcError=e.ethErrors=e.errorCodes=void 0;const r=g;Object.defineProperty(e,"EthereumRpcError",{enumerable:!0,get:function(){return r.EthereumRpcError}}),Object.defineProperty(e,"EthereumProviderError",{enumerable:!0,get:function(){return r.EthereumProviderError}});const t=q;Object.defineProperty(e,"serializeError",{enumerable:!0,get:function(){return t.serializeError}}),Object.defineProperty(e,"getMessageFromCode",{enumerable:!0,get:function(){return t.getMessageFromCode}});const o=x;Object.defineProperty(e,"ethErrors",{enumerable:!0,get:function(){return o.ethErrors}});const n=J;Object.defineProperty(e,"errorCodes",{enumerable:!0,get:function(){return n.errorCodes}})}(m);var V=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(u,"__esModule",{value:!0}),u.JsonRpcEngine=void 0;const H=V(l),$=m;class D extends H.default{constructor(){super(),this._middleware=[]}push(e){this._middleware.push(e)}handle(e,r){if(r&&"function"!=typeof r)throw new Error('"callback" must be a function if provided.');return Array.isArray(e)?r?this._handleBatch(e,r):this._handleBatch(e):r?this._handle(e,r):this._promiseHandle(e)}asMiddleware(){return async(e,r,t,o)=>{try{const[n,s,i]=await D._runAllMiddleware(e,r,this._middleware);return s?(await D._runReturnHandlers(i),o(n)):t((async e=>{try{await D._runReturnHandlers(i)}catch(r){return e(r)}return e()}))}catch(e){return o(e)}}}async _handleBatch(e,r){try{const t=await Promise.all(e.map(this._promiseHandle.bind(this)));return r?r(null,t):t}catch(e){if(r)return r(e);throw e}}_promiseHandle(e){return new Promise((r=>{this._handle(e,((e,t)=>{r(t)}))}))}async _handle(e,r){if(!e||Array.isArray(e)||"object"!=typeof e){const t=new $.EthereumRpcError($.errorCodes.rpc.invalidRequest,"Requests must be plain objects. Received: "+typeof e,{request:e});return r(t,{id:void 0,jsonrpc:"2.0",error:t})}if("string"!=typeof e.method){const t=new $.EthereumRpcError($.errorCodes.rpc.invalidRequest,"Must specify a string method. Received: "+typeof e.method,{request:e});return r(t,{id:e.id,jsonrpc:"2.0",error:t})}const t=Object.assign({},e),o={id:t.id,jsonrpc:t.jsonrpc};let n=null;try{await this._processRequest(t,o)}catch(e){n=e}return n&&(delete o.result,o.error||(o.error=$.serializeError(n))),r(n,o)}async _processRequest(e,r){const[t,o,n]=await D._runAllMiddleware(e,r,this._middleware);if(D._checkForCompletion(e,r,o),await D._runReturnHandlers(n),t)throw t}static async _runAllMiddleware(e,r,t){const o=[];let n=null,s=!1;for(const i of t)if([n,s]=await D._runMiddleware(e,r,i,o),s)break;return[n,s,o.reverse()]}static _runMiddleware(e,r,t,o){return new Promise((n=>{const s=e=>{const t=e||r.error;t&&(r.error=$.serializeError(t)),n([t,!0])},i=t=>{r.error?s(r.error):(t&&("function"!=typeof t&&s(new $.EthereumRpcError($.errorCodes.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof t}" for request:\n${G(e)}`,{request:e})),o.push(t)),n([null,!1]))};try{t(e,r,i,s)}catch(e){s(e)}}))}static async _runReturnHandlers(e){for(const r of e)await new Promise(((e,t)=>{r((r=>r?t(r):e()))}))}static _checkForCompletion(e,r,t){if(!("result"in r)&&!("error"in r))throw new $.EthereumRpcError($.errorCodes.rpc.internal,`JsonRpcEngine: Response has no error or result for request:\n${G(e)}`,{request:e});if(!t)throw new $.EthereumRpcError($.errorCodes.rpc.internal,`JsonRpcEngine: Nothing ended request:\n${G(e)}`,{request:e})}}function G(e){return JSON.stringify(e,null,2)}u.JsonRpcEngine=D;var B={};Object.defineProperty(B,"__esModule",{value:!0}),B.mergeMiddleware=void 0;const X=u;var K,Q,W;B.mergeMiddleware=function(e){const r=new X.JsonRpcEngine;return e.forEach((e=>r.push(e))),r.asMiddleware()},K=t,Q=e&&e.__createBinding||(Object.create?function(e,r,t,o){void 0===o&&(o=t),Object.defineProperty(e,o,{enumerable:!0,get:function(){return r[t]}})}:function(e,r,t,o){void 0===o&&(o=t),e[o]=r[t]}),W=e&&e.__exportStar||function(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||Q(r,e,t)},Object.defineProperty(K,"__esModule",{value:!0}),W(o,K),W(d,K),W(c,K),W(n,K),W(u,K),W(B,K);const Y=(e,r)=>function(){const t=r.promiseModule,o=new Array(arguments.length);for(let e=0;e<arguments.length;e++)o[e]=arguments[e];return new t(((t,n)=>{r.errorFirst?o.push((function(e,o){if(r.multiArgs){const r=new Array(arguments.length-1);for(let e=1;e<arguments.length;e++)r[e-1]=arguments[e];e?(r.unshift(e),n(r)):t(r)}else e?n(e):t(o)})):o.push((function(e){if(r.multiArgs){const e=new Array(arguments.length-1);for(let r=0;r<arguments.length;r++)e[r]=arguments[r];t(e)}else t(e)})),e.apply(this,o)}))};var Z=(e,r)=>{r=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},r);const t=e=>{const t=r=>"string"==typeof r?e===r:r.test(e);return r.include?r.include.some(t):!r.exclude.some(t)};let o;o="function"==typeof e?function(){return r.excludeMain?e.apply(this,arguments):Y(e,r).apply(this,arguments)}:Object.create(Object.getPrototypeOf(e));for(const n in e){const s=e[n];o[n]="function"==typeof s&&t(n)?Y(s,r):s}return o};export{t as d,v as f,Z as p,l as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t,e={exports:{}},o={exports:{}};!function(e){try{var r=require("util");if("function"!=typeof r.inherits)throw"";e.exports=r.inherits}catch(r){e.exports=(t||(t=1,"function"==typeof Object.create?o.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:o.exports=function(t,e){if(e){t.super_=e;var o=function(){};o.prototype=e.prototype,t.prototype=new o,t.prototype.constructor=t}}),o.exports)}}(e);export{e as i};
|