"use strict";var k=Object.defineProperty;var M=(l,t,s)=>t in l?k(l,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):l[t]=s;var e=(l,t,s)=>M(l,typeof t!="symbol"?t+"":t,s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class r extends Error{constructor(s,a){super(s);e(this,"name","WalletError");e(this,"wallet");Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.wallet=a}}class m extends r{constructor(){super(...arguments);e(this,"name","AuthError")}}class g extends r{constructor(){super(...arguments);e(this,"name","NotInstalledError")}}class o{constructor(){e(this,"extensionName","");e(this,"title","");e(this,"installUrl","");e(this,"logo",{src:"",alt:""});e(this,"_extension");e(this,"_signer");e(this,"transformError",t=>t.message.includes("pending authorization request")?new m(t.message,this):t);e(this,"enable",async t=>{var s;if(!t)throw new Error("MissingParamsError: Dapp name is required.");if(!this.installed)throw new g(`Refresh the browser if ${this.title} is already installed.`,this);try{const a=this.rawExtension,c=await((s=a==null?void 0:a.enable)==null?void 0:s.call(a,t));if(!c)throw new g(`${this.title} is installed but is not returned by the 'Wallet.enable(dappname)' function`,this);const n={...c,name:this.extensionName,version:a.version??"?"};this._extension=n,this._signer=n==null?void 0:n.signer}catch(a){throw this.transformError(a)}});e(this,"getAccounts",async t=>{if(!this._extension)throw new g("The 'Wallet.enable(dappname)' function should be called first.",this);return(await this._extension.accounts.get(t)).map(c=>{var n,i;return{...c,source:(n=this._extension)==null?void 0:n.name,wallet:this,signer:(i=this._extension)==null?void 0:i.signer}})});e(this,"subscribeAccounts",async t=>{if(!this._extension)throw new g("The 'Wallet.enable(dappname)' function should be called first.",this);return this._extension.accounts.subscribe(a=>{const c=a.map(n=>{var i,d;return{...n,source:(i=this._extension)==null?void 0:i.name,wallet:this,signer:(d=this._extension)==null?void 0:d.signer}});t(c)})})}get extension(){return this._extension}get signer(){return this._signer}get installed(){var a;const t=window;return!!((a=t==null?void 0:t.injectedWeb3)==null?void 0:a[this.extensionName])}get rawExtension(){var a;const t=window;return(a=t==null?void 0:t.injectedWeb3)==null?void 0:a[this.extensionName]}}const N="data:image/svg+xml,%3csvg%20viewBox='0%200%2080%2080'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M80%2040C80%2017.909%2062.091%200%2040%200S0%2017.909%200%2040s17.909%2040%2040%2040%2040-17.909%2040-40Z'/%3e%3cpath%20fill='%2314202a'%20fill-rule='evenodd'%20d='M65.7%2033.5H53.9l-9.3-21.2c-.1-.3-.4-.5-.7-.5H36c-.3%200-.6.2-.7.5L26%2033.5H14.3c-.4%200-.8.3-.8.8v5.5c0%20.4.3.8.8.8H23l-9%2020.6c-.1.2-.1.5.1.7.1.2.4.3.6.3h6.8c.3%200%20.6-.2.7-.5L40%2019.4l17.8%2042.3c.1.3.4.5.7.5h6.8c.3%200%20.5-.1.6-.3.1-.2.2-.5.1-.7l-9-20.6h8.7c.4%200%20.8-.3.8-.8v-5.5c-.1-.5-.4-.8-.8-.8Z'/%3e%3c/svg%3e";class h extends o{constructor(){super(...arguments);e(this,"extensionName","aleph-zero");e(this,"title","Aleph Zero Signer");e(this,"installUrl","https://alephzero.org/signer");e(this,"noExtensionMessage","You can use any Polkadot compatible wallet but we recommend using Talisman");e(this,"logo",{src:N,alt:"Aleph Zero Logo"})}}const L="data:image/svg+xml,%3csvg%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20120%20120'%3e%3cdefs%3e%3cradialGradient%20id='a'%20cx='-164.98'%20cy='566.58'%20r='1'%20gradientTransform='matrix(-15%20136.5%20135.36%2014.88%20-79032.62%2014076.16)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23704bff'/%3e%3cstop%20offset='.21'%20stop-color='%23c549ff'/%3e%3c/radialGradient%3e%3c/defs%3e%3cpath%20d='M0%2023.09A23.09%2023.09%200%200%201%2023.09%200H120v17.72a16.6%2016.6%200%200%201-16.6%2016.6H57.84a23.09%2023.09%200%200%200-23.09%2023.09v5.87a23.1%2023.1%200%200%200%2023.09%2023.1h45.56A16.6%2016.6%200%200%201%20120%20103v17H23.09A23.09%2023.09%200%200%201%200%2096.91ZM58.84%2044h46.73A14.43%2014.43%200%200%201%20120%2058.4v3.89a14.43%2014.43%200%200%201-14.43%2014.43H58.84A14.44%2014.44%200%200%201%2044.4%2062.29V58.4A14.44%2014.44%200%200%201%2058.84%2044Z'%20style='fill-rule:evenodd;fill:url(%23a)'/%3e%3c/svg%3e";class p extends o{constructor(){super(...arguments);e(this,"extensionName","enkrypt");e(this,"title","Enkrypt");e(this,"installUrl","https://www.enkrypt.com/#overview");e(this,"noExtensionMessage","You can use any Polkadot compatible wallet but we recommend using Talisman");e(this,"logo",{src:L,alt:"Enkrypt Logo"})}}const Z="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m31.631%2011.315-12.371%201.61a.325.325%200%200%200-.187.09l-1.018%201.003a.327.327%200%200%201-.459%200l-.178-.176a.32.32%200%200%201%200-.456l1.215-1.197a.32.32%200%200%200%200-.456L16.23%209.366a.327.327%200%200%200-.458%200l-2.405%202.367a.32.32%200%200%200%200%20.456l1.216%201.197a.32.32%200%200%201%200%20.456l-.179.176a.327.327%200%200%201-.458%200l-1.018-1.002a.327.327%200%200%200-.187-.091L.368%2011.315c-.308-.04-.492.33-.271.548l2.698%202.655c.206.202.06.55-.23.55a.321.321%200%200%200-.228.55l2.529%202.489c.041.04.093.07.15.084l8.608%202.136c.07.017.132.057.177.113l1.331%201.675c.238.325.639.7.639.7a.327.327%200%200%200%20.458%200s.332-.332.639-.7L18.2%2020.44a.325.325%200%200%201%20.176-.113l8.608-2.136a.326.326%200%200%200%20.15-.084l2.53-2.489a.321.321%200%200%200-.23-.55.321.321%200%200%201-.229-.55l2.698-2.655c.22-.217.037-.588-.271-.548Z'%20fill='%23ED145B'/%3e%3c/svg%3e";class u extends o{constructor(){super(...arguments);e(this,"extensionName","fearless-wallet");e(this,"title","Fearless Wallet");e(this,"installUrl","https://chrome.google.com/webstore/detail/fearless-wallet/nhlnehondigmgckngjomcpcefcdplmgc");e(this,"noExtensionMessage","You can use any Polkadot compatible wallet but we recommend using Talisman");e(this,"logo",{src:Z,alt:"Fearless Wallet Logo"})}}const A="data:image/svg+xml,%3csvg%20viewBox='0%200%2064%2064'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='%231f2326'%20fill-rule='evenodd'%20d='M64%2032C64%2014.327%2049.673%200%2032%200%2014.327%200%200%2014.327%200%2032c0%2017.673%2014.327%2032%2032%2032%2017.673%200%2032-14.327%2032-32Z'/%3e%3clinearGradient%20id='a'%20x1='0'%20y1='64'%20x2='64'%20y2='64'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%2329ccb9'/%3e%3cstop%20offset='.495'%20stop-color='%230091ff'/%3e%3cstop%20offset='1'%20stop-color='%23ff66b7'/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23a)'%20fill-rule='evenodd'%20d='M14.878%2054.95C7.891%2049.73%203.368%2041.393%203.368%2032%203.368%2016.187%2016.187%203.368%2032%203.368c13.051%200%2027.302%207.8%2030.749%2019.744C58.897%209.764%2046.591%200%2032%200%2014.327%200%200%2014.327%200%2032c0%2017.673%2014.327%2032%2032%2032%2017.673%200%2032-14.327%2032-32v-1.684h-1.758l-.234-.003a57.376%2057.376%200%200%201-3.863-.202c-2.401-.208-5.14-.616-7.004-1.36-3-1.2-4.695-2.788-6.63-4.646l-.112-.108c-1.939-1.862-4.117-3.955-7.893-5.732-3.719-1.75-7.831-1.469-10.854-.847a27.51%2027.51%200%200%200-3.781%201.07c-.372.134-.74.277-1.105.43-1.52.64-2.997%201.398-4.489%202.1%200%200%202.928.804%204.377%201.252.052.017.134.043.24.079a16.952%2016.952%200%200%201%203.668%201.752c1.563%201.004%202.858%202.268%203.39%203.819-3.317.436-6.428%201.892-8.754%203.26a35.814%2035.814%200%200%200-4.369%203.038c-.189.156-3.183%202.795-3.183%202.795s3.863.411%205.77.795c1.267.256%202.977.667%204.76%201.29%201.792.624%203.602%201.443%205.104%202.492%201.505%201.05%202.607%202.265%203.151%203.655%201.584%204.049.03%207.993-3.091%2010.211-3.085%202.192-7.774%202.714-12.462-.506Zm10.918%205.007a12.918%2012.918%200%200%200%203.495-1.755c4.247-3.02%206.482-8.549%204.277-14.184-.867-2.214-2.522-3.907-4.36-5.19-1.842-1.286-3.961-2.227-5.922-2.911-1.19-.413-2.4-.767-3.626-1.061.41-.267.825-.525%201.246-.773%202.592-1.525%205.857-2.925%208.988-2.925%204.719%200%208.234%201.448%2011.589%203.002.305.14.611.285.919.429%202.999%201.407%206.148%202.884%209.807%202.884%203.549%200%206.313-1.003%208.218-2.04C58.73%2049.627%2046.65%2060.632%2031.999%2060.632c-2.13%200-4.206-.233-6.204-.674Zm30.992-26.594c-1.261.43-2.79.742-4.578.742-2.87%200-5.337-1.15-8.468-2.61-.275-.129-.556-.26-.843-.392-3.135-1.452-6.762-2.99-11.483-3.27-.633-3.126-3.002-5.262-5.032-6.566-.222-.143-.447-.28-.675-.413.203-.048.41-.094.623-.137%202.727-.562%205.983-.702%208.74.596%203.273%201.54%205.12%203.313%207.04%205.158l.066.063c1.976%201.898%204.066%203.887%207.713%205.344%202.026.809%204.649%201.244%206.897%201.485Z'/%3e%3c/svg%3e";class w extends o{constructor(){super(...arguments);e(this,"extensionName","manta-wallet-js");e(this,"title","Manta Wallet");e(this,"installUrl","https://chrome.google.com/webstore/detail/manta-wallet/enabgbdfcbaehmbigakijjabdpdnimlg");e(this,"noExtensionMessage","You can use any Polkadot compatible wallet but we recommend using Talisman");e(this,"logo",{src:A,alt:"Manta Logo"})}}const P="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20324%20324'%20style='enable-background:new%200%200%20324%20324'%20xml:space='preserve'%3e%3cradialGradient%20id='a'%20cx='8.15'%20cy='19.93'%20r='372.636'%20gradientTransform='matrix(1%200%200%20-1%200%20326)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.053'%20style='stop-color:%23d7d3e9'/%3e%3cstop%20offset='.193'%20style='stop-color:%23a19cde'/%3e%3cstop%20offset='.383'%20style='stop-color:%23696bd9'/%3e%3cstop%20offset='.54'%20style='stop-color:%233a5ae7'/%3e%3cstop%20offset='.773'%20style='stop-color:%23225fe7'/%3e%3cstop%20offset='1'%20style='stop-color:%230883d1'/%3e%3c/radialGradient%3e%3cpath%20d='M84.1%200h155.8C286.3%200%20324%2037.7%20324%2084.1v155.8c0%2046.5-37.7%2084.1-84.1%2084.1H84.1C37.7%20324%200%20286.3%200%20239.9V84.1C0%2037.7%2037.7%200%2084.1%200z'%20style='fill:url(%23a)'/%3e%3cpath%20d='M275%20166.7v3c-18.4%202.9-58%209.8-77.5%2017.2-7%202.7-12.5%208.1-15.2%2015.1-7.4%2019.4-14.4%2059.2-17.3%2077.7h-6c-2.9-18.5-9.9-58.4-17.3-77.7-2.7-6.9-8.2-12.4-15.2-15.1-19.5-7.5-59-14.3-77.5-17.2v-6c18.4-2.9%2058-9.8%2077.5-17.2%207-2.7%2012.5-8.1%2015.2-15.1%207.5-19.4%2014.4-59.2%2017.3-77.7h6c2.9%2018.5%209.9%2058.3%2017.3%2077.7%202.7%206.9%208.2%2012.4%2015.2%2015.1%2019.5%207.4%2059.1%2014.3%2077.5%2017.2v3z'%20style='fill:%23fff'/%3e%3c/svg%3e";class f extends o{constructor(){super(...arguments);e(this,"extensionName","polkadot-js");e(this,"title","Nova Wallet");e(this,"noExtensionMessage","You can use any Polkadot js compatible option but we recommend using Nova Wallet");e(this,"installUrl","https://novawallet.io");e(this,"logo",{src:P,alt:"Nova Wallet Logo"})}}const S="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='15%2015%20140%20140'%20style='enable-background:new%200%200%20170%20170;zoom:1'%20xml:space='preserve'%3e%3ccircle%20cx='85'%20cy='85'%20r='70'%20style='fill:%23ff8c00'/%3e%3cpath%20d='M85%2034.7c-20.8%200-37.8%2016.9-37.8%2037.8%200%204.2.7%208.3%202%2012.3.9%202.7%203.9%204.2%206.7%203.3%202.7-.9%204.2-3.9%203.3-6.7-1.1-3.1-1.6-6.4-1.5-9.7.4-14.1%2011.8-25.7%2025.9-26.4%2015.7-.8%2028.7%2011.7%2028.7%2027.2%200%2014.5-11.4%2026.4-25.7%2027.2%200%200-5.3.3-7.9.7-1.3.2-2.3.4-3%20.5-.3.1-.6-.2-.5-.5l.9-4.4L81%2073.4c.6-2.8-1.2-5.6-4-6.2-2.8-.6-5.6%201.2-6.2%204%200%200-11.8%2055-11.9%2055.6-.6%202.8%201.2%205.6%204%206.2%202.8.6%205.6-1.2%206.2-4%20.1-.6%201.7-7.9%201.7-7.9%201.2-5.6%205.8-9.7%2011.2-10.4%201.2-.2%205.9-.5%205.9-.5%2019.5-1.5%2034.9-17.8%2034.9-37.7%200-20.9-17-37.8-37.8-37.8zm2.7%2087c-3.4-.7-6.8%201.4-7.5%204.9-.7%203.4%201.4%206.8%204.9%207.5%203.4.7%206.8-1.4%207.5-4.9.7-3.5-1.4-6.8-4.9-7.5z'%20style='fill:%23fff'/%3e%3c/svg%3e";class x extends o{constructor(){super(...arguments);e(this,"extensionName","polkadot-js");e(this,"title","Polkadot.js");e(this,"noExtensionMessage","You can use any Polkadot compatible wallet but we recommend using Talisman");e(this,"installUrl","https://polkadot.js.org/extension/");e(this,"logo",{src:S,alt:"Polkadotjs Logo"})}}const j="data:image/svg+xml,%3csvg%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20128%20128'%3e%3ccircle%20cx='64'%20cy='64'%20r='64'/%3e%3cpath%20d='M106.34%2028.67a27.44%2027.44%200%200%200-8.2-4.78%2046%2046%200%200%200-15.61-2.82%2076%2076%200%200%200-22.48%203.1%2055%2055%200%200%200-9.8%203.5l-.16.07a62.5%2062.5%200%200%201%2013.47-1.24A39.59%2039.59%200%200%201%2077%2028.93a23.67%2023.67%200%200%201%207.07%204.12%2017.05%2017.05%200%200%201%206.17%2013.43A26.43%2026.43%200%200%201%2086.83%2059a51.08%2051.08%200%200%201-11.76%2014.42%2078.89%2078.89%200%200%201-22.91%2014%2073.11%2073.11%200%200%201-24.53%205.48%2044.63%2044.63%200%200%201-13.14-1.25%2029.41%2029.41%200%200%200%208.82%204.4%2050.59%2050.59%200%200%200%2017.51%202.1%2084.75%2084.75%200%200%200%2028.47-6.4%2091.72%2091.72%200%200%200%2026.59-16.21%2059.26%2059.26%200%200%200%2013.66-16.76%2030.81%2030.81%200%200%200%204-14.52%2019.79%2019.79%200%200%200-7.2-15.59Z'%20style='fill:%23e30b7b'/%3e%3cpath%20d='M65.56%2080.54c1-.66%202-1.34%203-2-1.69-.4-3.44-.86-5-1.33-4.76-1.47-3.17-7.82-2-9.38a68.72%2068.72%200%200%200%207.14-13.4c1.49-4.1.19-9.22-.49-11.36-.12-.33-.24-.67-.34-1l-1.84-5.56a19.56%2019.56%200%200%200-2.53-4.67%207.58%207.58%200%200%200-6-3.14%2016.22%2016.22%200%200%200-3.74.33c-2%20.32-4%20.68-6%201a1%201%200%200%201-.21%200c.48.61.9%201.14%201.3%201.67.59.8%201.17%201.62%201.77%202.42A8.63%208.63%200%200%201%2052.34%2039a17.49%2017.49%200%200%201-.24%203.32%2070.31%2070.31%200%200%200-5.45%208.89L31.74%2080.62a1.34%201.34%200%200%200-.07.18l.06.06%205-3%20.06.07q-8.03%2012.87-16.08%2025.74h.05L23%20102.4c-.63%201.54-1.22%203-1.84%204.54A9.49%209.49%200%200%200%2024%20105.4a7.82%207.82%200%200%200%202.1-2.49l.42.71.29-.35c3.73-4.73%207.59-9.36%2011.63-13.84a107.25%20107.25%200%200%201%209.77-9.77A23.36%2023.36%200%200%201%2053%2076.35a5.4%205.4%200%200%201%202-.59l-2.59%202.79c1.88-1%202.15-.31%204-1.27l.21.22c1.62%201.92%205.27%202.6%207.77%202.82a7.53%207.53%200%200%201%201.17.22Z'%20style='fill:%23fff'/%3e%3c/svg%3e";class v extends o{constructor(){super(...arguments);e(this,"extensionName","polkagate");e(this,"title","PolkaGate");e(this,"noExtensionMessage","You can use any Polkadot compatible wallet but we recommend using Talisman");e(this,"installUrl","https://chrome.google.com/webstore/detail/polkagate-the-gateway-to/ginchbkmljhldofnbjabmeophlhdldgp");e(this,"logo",{src:j,alt:"PolkaGate Logo"})}}const T="data:image/svg+xml,%3csvg%20width='66'%20height='100'%20viewBox='0%200%2066%20100'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M66%2036.1V22.2L11%200%200%205.6v43.1l41.8%2016.7-22.2%209.5v-7.3L9.4%2063.4%200%2067.8v26.4l11%205.6%2055-25V57L16.8%2037.1V24.9l39.6%2015.9%209.6-4.7Z'%20fill='url(%23a)'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='0'%20y1='0'%20x2='90.967'%20y2='59.017'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.21'%20stop-color='%2361FEC0'/%3e%3cstop%20offset='.92'%20stop-color='%230425FE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";class b extends o{constructor(){super(...arguments);e(this,"extensionName","subwallet-js");e(this,"title","SubWallet");e(this,"installUrl","https://chrome.google.com/webstore/detail/subwallet/onhogfjeacnfoofkfgppdlbmlmnplgbn?hl=en&authuser=0");e(this,"noExtensionMessage","You can use any Polkadot compatible wallet but we recommend using Talisman");e(this,"logo",{src:T,alt:"Subwallet Logo"})}}const U="data:image/svg+xml,%3csvg%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='%23d5ff5c'%20fill-rule='evenodd'%20d='M0%2070.25c0%2021.255%200%2031.883%204.463%2039.852a35%2035%200%200%200%2013.435%2013.435C25.867%20128%2036.495%20128%2057.75%20128h12.5c21.255%200%2031.883%200%2039.852-4.463a35%2035%200%200%200%2013.435-13.435C128%20102.133%20128%2091.505%20128%2070.25v-12.5c0-21.255%200-31.883-4.463-39.852a35%2035%200%200%200-13.435-13.435C102.133%200%2091.505%200%2070.25%200h-12.5C36.495%200%2025.867%200%2017.898%204.463A35%2035%200%200%200%204.463%2017.898C0%2025.867%200%2036.495%200%2057.75Z'/%3e%3cpath%20fill='%23fd4848'%20fill-rule='evenodd'%20d='m33.879%2035.117-.5%2019.165c8.107%204.168%2015.75%204.075%2024.74%202.063%203.56-1.397%206.056-1.702%209.511%200%209.067%202.816%2016.969%201.95%2025.185-2.243l-.485-19.187c0-10.805-7.004-14.962-14.632-12.739-.779.232-1.944%201.274-1.944%202.207l-.181%2018.733a1.77%201.77%200%201%201-3.538-.015V20.067a8.838%208.838%200%200%200-17.675%200V43.1a1.77%201.77%200%201%201-3.538.015l-.176-18.743c0-.923-1.109-1.96-1.882-2.192-8.8-2.61-14.88%202.538-14.88%2012.936Zm2.475%2023.843a48.43%2048.43%200%200%201-5.209-2.254c-4.73-2.269-12.095-1.562-17.072%204.111-2.274%202.6-.515%206.36%202.77%207.448%201.583.526%203.017%201.413%204.353%202.408l.464.336c4.132%202.965%206.793%207.406%207.056%2012.486l.253%204.812a31.616%2031.616%200%200%200%2019.428%2025.959%2038.59%2038.59%200%200%200%2029.327%200%2031.616%2031.616%200%200%200%2019.429-25.959c.046-.825.061-1.65.051-2.465l.124-2.347c.263-5.08%202.924-9.52%207.056-12.486l.464-.336c1.34-.995%202.77-1.882%204.353-2.408%203.285-1.089%205.05-4.849%202.77-7.448-4.978-5.673-12.343-6.375-17.072-4.11-1.718.825-3.435%201.65-5.21%202.253l-3.62%201.238-.01.041c-6.654%201.842-12.12%201.847-18.398-.742-3.177-1.31-6.38-1.558-9.48%200-5.967%201.856-12.048%202.64-18.206.701l-3.626-1.238Zm26.665%2044.732c13.39%200%2024.241-15.596%2024.241-15.596S76.41%2072.499%2063.02%2072.499c-13.385%200-24.236%2015.597-24.236%2015.597s10.851%2015.596%2024.24%2015.596Zm10.883-15.596c0%206.01-4.872%2010.882-10.883%2010.882-6.01%200-10.882-4.872-10.882-10.882s4.872-10.883%2010.882-10.883%2010.883%204.872%2010.883%2010.883Zm-10.883%204.936a4.936%204.936%200%201%200%200-9.872%204.936%204.936%200%200%200%200%209.872Z'/%3e%3c/svg%3e";class y extends o{constructor(){super(...arguments);e(this,"extensionName","talisman");e(this,"title","Talisman");e(this,"installUrl","https://talisman.xyz/download");e(this,"noExtensionMessage","You can use any Polkadot compatible wallet but we recommend using Talisman");e(this,"logo",{src:U,alt:"Talisman Logo"})}}const W=[new y,new f,new b,new w,new v,new u,new p,new x,new h];function B(){return W}function E(l){return W.find(t=>t.extensionName===l)}function C(l){const t=E(l);return t==null?void 0:t.installed}class _ extends r{constructor(){super(...arguments);e(this,"name","SetupNotDoneError")}}exports.AlephZeroWallet=h;exports.AuthError=m;exports.BaseDotsamaWallet=o;exports.BaseWalletError=r;exports.EnkryptWallet=p;exports.FearlessWallet=u;exports.MantaWallet=w;exports.NotInstalledError=g;exports.NovaWallet=f;exports.PolkaGate=v;exports.PolkadotjsWallet=x;exports.SetupNotDoneError=_;exports.SubWallet=b;exports.TalismanWallet=y;exports.getWalletBySource=E;exports.getWallets=B;exports.isWalletInstalled=C;