1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="e6d51fb7-cd77-fb5f-0513-69eaeae8ebb1")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,912542,e=>{"use strict";var t=e.i(271645),n=e.i(803959),r=e.i(677615),i=e.i(796516),o=e.i(823838),a=e.i(675107),s=e.i(924452),l=e.i(774295),c=e.i(843476),u=e.i(33750);let d=(0,n.create)(()=>({listings:[],loading:!1})),h=d.setState,p=(e=!0)=>{let n=(0,r.u)(),i=d(e=>e.listings),o=d(e=>e.loading),a=!!i.length;return(0,t.useEffect)(()=>{e&&!a&&(h({listings:[],loading:!0}),(async e=>{let t=new URL("v3/wallets","https://explorer-api.walletconnect.com");t.searchParams.append("projectId",e);let n=await fetch(t);return n.ok?Object.values((await n.json()).listings).sort(({slug:e},{slug:t})=>"rainbow"===e&&"metamask"===t?1:"metamask"===e||"rainbow"===e?-1:1):(console.debug(`Failed to fetch WalletConnect listings: ${await n.text().catch(()=>"No response.")}`),[])})(n.walletConnectCloudProjectId).then(e=>h({listings:e,loading:!1})).catch(e=>{console.error(e),h({listings:[],loading:!1})}))},[e,a,n.walletConnectCloudProjectId]),{listings:i,loading:o}};function f(e){return"cryptocom"===e?"cryptocom-defi":"binance"===e?"binance-defi":e.replace(/[-_]wallet$/,"")}function m(e){return"ethereum"===e.type}function g(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r?.address!==i?.address||r&&i&&m(r)&&m(i)&&r?.chainId!==i?.chainId||r?.connectorType!==i?.connectorType||r?.connectedAt!==i?.connectedAt||r?.walletClientType!==i?.walletClientType||r?.isConnected!==i?.isConnected||r?.linked!==i?.linked)return!1}return!0}let y=(e,t)=>e.rpcTimeouts&&e.rpcTimeouts[t]||r.o;class v extends l.W{buildConnectedWallet(e,t,n,r){let i=async()=>!!this.wallets.find(t=>(0,o.getAddress)(t.address)===(0,o.getAddress)(e));return{type:"ethereum",address:(0,o.getAddress)(e),chainId:t,meta:n,imported:r,switchChain:async n=>{let r,i,a=this.wallets.find(t=>(0,o.getAddress)(t.address)===(0,o.getAddress)(e))?.chainId;if(!a)throw new s.g("Unable to determine current chainId.");if("number"==typeof n?(r=`0x${n.toString(16)}`,i=n):(r=n,i=Number(n)),a===(0,l.f)(r))return;let c=this.chains.find(e=>e.id===i);if(!c)throw new s.g(`Unsupported chainId: ${n}`);let u=async()=>{await this.proxyProvider.request({method:"wallet_switchEthereumChain",params:[{chainId:r}]})};try{return await u()}catch(e){if(((e,t)=>{switch(t){case"coinbase_wallet":case"base_account":return e.message.includes("addEthereumChain");case"rabby_wallet":return e.message.includes("Unrecognized chain ID");default:return 4902===e.code||e.message?.includes("4902")}})(e,this.walletClientType))return"rabby_wallet"===this.walletClientType&&await (0,l.a)(300),await this.proxyProvider.request({method:"wallet_addEthereumChain",params:[{chainId:r,chainName:c.name,nativeCurrency:c.nativeCurrency,rpcUrls:[c.rpcUrls.default?.http[0]??""],blockExplorerUrls:[c.blockExplorers?.default.url??""]}]}),u();if("rainbow"===this.walletClientType&&e.message?.includes("wallet_switchEthereumChain"))throw new s.g(`Rainbow does not support the chainId ${t}`);throw e}},connectedAt:Date.now(),walletClientType:this.walletClientType,connectorType:this.connectorType,isConnected:i,getEthereumProvider:async()=>{if(!await i())throw new s.g("Wallet is not currently connected.");return this.proxyProvider},sign:async e=>{if(!await i())throw new s.g("Wallet is not currently connected.");return await this.sign(e)},disconnect:()=>{this.disconnect()}}}async syncAccounts(e){let t;l.c.debug("Syncing accounts",{wallet:this.walletClientType});let n=e;try{if(void 0===n){l.c.rpcRequest("eth_accounts",this.walletClientType);let e=await (0,l.i)(()=>this.proxyProvider.request({method:"eth_accounts"}),{maxAttempts:10,delayMs:500});l.c.rpcResponse("eth_accounts",this.walletClientType),Array.isArray(e)&&(n=e)}}catch(e){l.c.warn("Wallet did not respond to eth_accounts, using prefetched accounts",{wallet:this.walletClientType})}if(!n||!Array.isArray(n)||n.length<=0||!n[0])return void l.c.debug("No accounts found",{wallet:this.walletClientType});let a=n[0];if(!(0,i.isAddress)(a))return;let s=(0,o.getAddress)(a),c=[];if("privy"===this.walletClientType){let e=l.s.get((0,r.p)(s));this.chains.find(t=>
2t.id===Number(e))||(l.s.del((0,r.p)(s)),e=null),t=e||`0x${this.defaultChain.id.toString(16)}`;try{await this.proxyProvider.request({method:"wallet_switchEthereumChain",params:[{chainId:t}]})}catch(e){l.c.warn("Unable to switch embedded wallet chain on initialization",{wallet:this.walletClientType,chainId:t})}}else try{l.c.rpcRequest("eth_chainId",this.walletClientType);let e=await (0,l.i)(()=>this.proxyProvider.request({method:"eth_chainId"}),{maxAttempts:10,delayMs:500});if(l.c.rpcResponse("eth_chainId",this.walletClientType),"string"==typeof e)t=e;else{if("number"!=typeof e)throw Error("Invalid chainId returned from provider");t=`0x${e.toString(16)}`}}catch(e){l.c.warn("Failed to get chainId from provider, using default",{wallet:this.walletClientType,defaultChainId:r.q}),t=r.q}let u=(0,l.f)(t);if(!c.find(e=>(0,o.getAddress)(e.address)===s)){let e={name:this.walletBranding.name,icon:this.walletBranding.icon,id:this.walletBranding.id};c.push(this.buildConnectedWallet((0,o.getAddress)(a),u,e,"embedded_imported"===this.connectorType))}g(c,this.wallets)||(l.c.debug("Wallets updated",{wallet:this.walletClientType,address:s,chainId:u}),this.wallets=c,this.emit("walletsUpdated"))}async getConnectedWallet(){let e=await this.proxyProvider.request({method:"eth_accounts"});return this.wallets.sort((e,t)=>t.connectedAt-e.connectedAt).find(t=>e.find(e=>(0,o.getAddress)(e)===(0,o.getAddress)(t.address)))||null}async isConnected(){let e=await this.proxyProvider.request({method:"eth_accounts"});return Array.isArray(e)&&e.length>0}async sign(e){return await this.connect({showPrompt:!1}),this.proxyProvider.request({method:"personal_sign",params:[(0,a.toHex)(e),this.wallets[0]?.address]})}subscribeListeners(){this.proxyProvider.on("accountsChanged",this.onAccountsChanged),this.proxyProvider.on("chainChanged",this.onChainChanged),this.proxyProvider.on("disconnect",this.onDisconnect),this.proxyProvider.on("connect",this.onConnect)}unsubscribeListeners(){this.proxyProvider.removeListener("accountsChanged",this.onAccountsChanged),this.proxyProvider.removeListener("chainChanged",this.onChainChanged),this.proxyProvider.removeListener("disconnect",this.onDisconnect),this.proxyProvider.removeListener("connect",this.onConnect)}constructor(e,t,n,i){super(e),this.chainType="ethereum",this.onAccountsChanged=e=>{l.c.providerEvent("accountsChanged",this.walletClientType,{accountsCount:e.length}),0===e.length?this.onDisconnect():this.syncAccounts(e)},this.onChainChanged=e=>{l.c.providerEvent("chainChanged",this.walletClientType,{chainId:e}),this.wallets.forEach(t=>{t.chainId=(0,l.f)(e),"privy"===this.walletClientType&&l.s.put((0,r.p)(t.address),e)}),this.emit("walletsUpdated")},this.onDisconnect=()=>{l.c.providerEvent("disconnect",this.walletClientType),this.connected=!1,this.wallets=[],this.emit("walletsUpdated")},this.onConnect=async()=>{l.c.providerEvent("connect",this.walletClientType),"base_account"===this.connectorType&&this.connected||(this.connected=!0,"coinbase_wallet"===this.connectorType&&await (0,l.a)(500),this.syncAccounts())},this.wallets=[],this.walletClientType=e,this.chains=t,this.defaultChain=n,this.rpcConfig=i,this.rpcTimeoutDuration=y(i,e),this.connected=!1,this.initialized=!1}}class w{on(e,t){if(this.walletProvider)return this.walletProvider.on(e,t);this._subscriptions.push({eventName:e,listener:t})}async request(e){if(!this.walletProvider)throw new s.g(`A wallet request of type ${e.method} was made before setting a wallet provider.`);return Promise.race([this.walletProvider.request(e),this.walletTimeout()]).catch(e=>{throw(0,l.j)(e)})}constructor(e,t){this.removeListener=(e,t)=>{if(this.walletProvider)try{return this.walletProvider.removeListener(e,t)}catch(e){console.warn("Unable to remove wallet provider listener")}},this.walletTimeout=(e=new l.o,t=this.rpcTimeoutDuration)=>new Promise((n,r)=>setTimeout(()=>{r(e)},t)),this.setWalletProvider=e=>{this.walletProvider&&this._subscriptions.forEach(e=>{this.removeListener(e.eventName,e.listener)}),this.walletProvider=e,this._subscriptions.forEach(e=>{this.walletProvider?.on(e.eventName,e.listener)})},this.walletProvider=e,this.rpcTimeoutDuration=t||r.o,this._subscriptions=[]}}let b=["metamask","phantom","brave_wallet","rainbow","uniswap_wallet_extension","uniswap_extension","rabby_wallet","bybit_wallet","ronin_wallet","haha_wallet","crypto.com_wallet_extension","crypto.com_onchain","binance","bitget_wallet","coinbase_wallet","coinbase_smart_wallet","base_account","metamask","trust","safe","rainbow","uniswap","zerion","argent","spot","omni","cryptocom","blockchain","safepal","bitget_wallet","zengo","1inch","binance","exodus","mew_wallet","alphawallet","keyring_pro","mathwallet","unstoppable","obvious","ambire","internet_money_wallet","coin98","abc_wallet","arculus_wallet","haha","cling_wallet","broearn","copiosa","burrito_wallet","enjin_wallet","plasma_wallet","avacus","bee","pitaka","pltwallet","minerva","kryptogo","prema","slingshot","kriptonio","timeless","secux","bitizen","blocto","okx_wallet","safemoon","rabby_wallet","bybit_wallet","ronin_wallet","haha_wallet","privy","unknown","phantom","solflare","glow","backpack","jupiter","mobile_wallet_adapter"],x=Object.freeze({phantom:{client:"phantom",name:"Phantom",installLink:u.isFirefox?"https://addons.mozilla.org/en-US/firefox/addon/phantom-app/":"https://chrome.google.com/webstore/detail/phantom/bfnaelmomeimhlpmgjnjophhpkkoljpa?hl=en",chainTypes:["ethereum","solana"],get isInstalled(){if("phantom"in window){let e=window;if(e?.phantom?.ethereum?.isPhantom&&e?.phantom?.ethereum?.chainId||e?.ph
2antom?.solana?.isPhantom)return!0}return!1},getMobileRedirect({useUniversalLink:e,isSolana:t,connectOnly:n}){let r=S({client:this.client,isSolana:t,connectOnly:n});return`${e?"phantom://":"https://phantom.app/ul/"}browse/${r}?ref=${r}`}},solflare:{client:"solflare",name:"Solflare",installLink:u.isFirefox?"https://addons.mozilla.org/es/firefox/addon/solflare-wallet/":"https://chromewebstore.google.com/detail/solflare-wallet/bhhhlbepdkbapadjdnnojkbgioiodbic",chainTypes:["solana"],get isInstalled(){return"solflare"in window&&!!window?.solflare?.isSolflare},getMobileRedirect({useUniversalLink:e,isSolana:t,connectOnly:n}){let r=S({client:this.client,isSolana:t,connectOnly:n});return`${e?"solflare://ul/v1/":"https://solflare.com/ul/v1/"}browse/${r}?ref=${r}`}},jupiter:{client:"jupiter",name:"Jupiter Wallet",installLink:"https://chromewebstore.google.com/detail/jupiter-wallet/iledlaeogohbilgbfhmbgkgmpplbfboh",chainTypes:["solana"],get isInstalled(){return"jupiter"in window&&!!window?.jupiter?.isJupiter},getMobileRedirect({isSolana:e,connectOnly:t}){let n=S({client:this.client,isSolana:e,connectOnly:t});return`jupjupjup://jup.ag/browse/${n}?ref=${n}`}},backpack:{client:"backpack",name:"Backpack",installLink:"https://chromewebstore.google.com/detail/backpack/aflkmfhebedbjioipglgcbcmnbpgliof",chainTypes:["ethereum","solana"],get isInstalled(){return!(!("backpack"in window)||!window?.backpack?.ethereum?.isBackpack&&!window?.backpack?.solana?.isBackpack)},getMobileRedirect({useUniversalLink:e,isSolana:t,connectOnly:n}){let r=S({client:this.client,isSolana:t,connectOnly:n});return`${e?"backpack://ul/v1/":"https://backpack.app/ul/v1/"}browse/${r}?ref=${r}`}},okx_wallet:{client:"okx_wallet",name:"OKX Wallet",installLink:"https://chromewebstore.google.com/detail/okx-wallet/mcohilncbfahbmgdjkbpemcciiolgcge",chainTypes:["ethereum","solana"],get isInstalled(){return"okxwallet"in window&&!!window?.okxwallet?.isOkxWallet},getMobileRedirect({isSolana:e,connectOnly:t}){return`okx://wallet/dapp/url?dappUrl=${S({client:this.client,isSolana:e,connectOnly:t})}`}}});function S({client:e,isSolana:t,connectOnly:n}){let r=new URL(window.location.href);return r.searchParams.set("privy_connector",t?"solana_adapter":"injected"),r.searchParams.set("privy_wallet_client",e),r.searchParams.set("privy_connect_only",String(n)),encodeURIComponent(r.href.replace(/\/$/g,""))}class C extends l.S{get walletBranding(){return{id:this.id,name:this.name,icon:this.icon}}async initialize(){this.initialized=!0,this.emit("initialized")}async connect(){throw Error("connect called for an uninstalled wallet via the SolanaNullConnector")}constructor({id:e,name:t,icon:n}){super({name:t},!1),this.connectorType="null",this.proxyProvider=new w(void 0,r.o),this.disconnect=async()=>{throw Error("disconnect called for an uninstalled wallet via the SolanaNullConnector")},this.promptConnection=async()=>{throw Error("promptConnection called for an uninstalled wallet via the SolanaNullConnector")},this.id=e,this.name=t,this.icon=n}}e.s(["E",0,v,"M",0,({...e}={})=>(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...e,children:[(0,c.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"#121314"}),(0,c.jsx)("g",{transform:"translate(4, 4)",children:(0,c.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 318.6 318.6",children:[(0,c.jsx)("style",{children:".s1{stroke-linecap:round;stroke-linejoin:round}.s2{fill:#e4761b;stroke:#e4761b}.s3{fill:#f6851b;stroke:#f6851b}"}),(0,c.jsx)("path",{fill:"#e2761b",stroke:"#e2761b",className:"s1",d:"m274.1 35.5-99.5 73.9L193 65.8z"}),(0,c.jsx)("path",{d:"m44.4 35.5 98.7 74.6-17.5-44.3zm193.9 171.3-26.5 40.6 56.7 15.6 16.3-55.3zm-204.4.9L50.1 263l56.7-15.6-26.5-40.6z",className:"s1 s2"}),(0,c.jsx)("path",{d:"m103.6 138.2-15.8 23.9 56.3 2.5-2-60.5zm111.3 0-39-34.8-1.3 61.2 56.2-2.5zM106.8 247.4l33.8-16.5-29.2-22.8zm71.1-16.5 33.9 16.5-4.7-39.3z",className:"s1 s2"}),(0,c.jsx)("path",{fill:"#d7c1b3",stroke:"#d7c1b3",className:"s1",d:"m211.8 247.4-33.9-16.5 2.7 22.1-.3 9.3zm-105 0 31.5 14.9-.2-9.3 2.5-22.1z"}),(0,c.jsx)("path",{fill:"#233447",stroke:"#233447",className:"s1",d:"m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"}),(0,c.jsx)("path",{fill:"#cd6116",stroke:"#cd6116",className:"s1",d:"m106.8 247.4 4.8-40.6-31.3.9zM207 206.8l4.8 40.6 26.5-39.7zm23.8-44.7-56.2 2.5 5.2 28.9 8.3-17.4 20 9.1zm-120.2 23.1 20-9.1 8.2 17.4 5.3-28.9-56.3-2.5z"}),(0,c.jsx)("path",{fill:"#e4751f",stroke:"#e4751f",className:"s1",d:"m87.8 162.1 23.6 46-.8-22.9zm120.3 23.1-1 22.9 23.7-46zm-64-20.6-5.3 28.9 6.6 34.1 1.5-44.9zm30.5 0-2.7 18 1.2 45 6.7-34.1z"}),(0,c.jsx)("path",{d:"m179.8 193.5-6.7 34.1 4.8 3.3 29.2-22.8 1-22.9zm-69.2-8.3.8 22.9 29.2 22.8 4.8-3.3-6.6-34.1z",className:"s3"}),(0,c.jsx)("path",{fill:"#c0ad9e",stroke:"#c0ad9e",className:"s1",d:"m180.3 262.3.3-9.3-2.5-2.2h-37.7l-2.3 2.2.2 9.3-31.5-14.9 11 9 22.3 15.5h38.3l22.4-15.5 11-9z"}),(0,c.jsx)("path",{fill:"#161616",stroke:"#161616",className:"s1",d:"m177.9 230.9-4.8-3.3h-27.7l-4.8 3.3-2.5 22.1 2.3-2.2h37.7l2.5 2.2z"}),(0,c.jsx)("path",{fill:"#763d16",stroke:"#763d16",className:"s1",d:"m278.3 114.2 8.5-40.8-12.7-37.9-96.2 71.4 37 31.3 52.3 15.3 11.6-13.5-5-3.6 8-7.3-6.2-4.8 8-6.1zM31.8 73.4l8.5 40.8-5.4 4 8 6.1-6.1 4.8 8 7.3-5 3.6 11.5 13.5 52.3-15.3 37-31.3-96.2-71.4z"}),(0,c.jsx)("path",{d:"m267.2 153.5-52.3-15.3 15.9 23.9-23.7 46 31.2-.4h4
26.5zm-163.6-15.3-52.3 15.3-17.4 54.2h46.4l31.1.4-23.6-46zm71 26.4 3.3-57.7 15.2-41.1h-67.5l15 41.1 3.5 57.7 1.2 18.2.1 44.8h27.7l.2-44.8z",className:"s3"})]})})]}),"P",0,w,"S",0,C,"a",0,g,"b",0,function({connectorType:e,walletClientType:t}){for(let n of b)if(e===n||t===n)return x[n]},"c",0,function(e){return"solana"===e.type},"d",0,function(e){return"solana"===e.chainType},"e",0,e=>{let t;try{t=new URL(e).hostname}catch(e){return}return d.getState().listings.find(({homepage:e})=>{let n;try{n=new URL(e).hostname}catch(e){return!1}return t.includes(n)})},"f",0,e=>d.getState().listings.find(({slug:t})=>f(t)===f(e)),"g",0,y,"h",0,function(e){return"ethereum"===e.chainType},"i",0,m,"j",0,class extends v{get walletBranding(){return{id:this.id,name:this.name,icon:this.icon}}async initialize(){this.initialized=!0,this.emit("initialized")}async connect(){throw Error("connect called for an uninstalled wallet via the EthereumNullConnector")}disconnect(){throw Error("disconnect called for an uninstalled wallet via the EthereumNullConnector")}promptConnection(e){throw Error(`promptConnection called for an uninstalled wallet via the EthereumNullConnector for ${e}`)}constructor({id:e,name:t,icon:n,walletClientType:i,defaultChain:o}){super(i,[],o,{}),this.connectorType="null",this.proxyProvider=new w(void 0,r.o),this.id=e,this.name=t,this.icon=n}},"k",0,e=>{let{listings:t}=p();return t.find(({slug:t})=>f(t)===f(e))},"l",0,function({isMobile:e,walletConfig:t}){return!e&&"phantom"===t?.client},"m",0,x,"s",0,function(e){return["wallet_connect","backpack","binance","binanceus","bitget_wallet","bybit_wallet","cryptocom","haha_wallet","jupiter","metamask","okx_wallet","phantom","rabby_wallet","rainbow","ronin_wallet","safe","solflare","uniswap","zerion","kraken_wallet"].some(t=>e?.includes(t))},"u",0,p])},982357,(e,t,n)=>{t.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(i=n?n.call(r,u,d,c):void 0)||void 0===i&&u!==d)return!1}return!0}},997053,e=>{"use strict";var t=e.i(247167),n=function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function r(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,e.i(934537);var i=e.i(271645),o=e.i(982357),a="-ms-",s="-moz-",l="-webkit-",c="comm",u="rule",d="decl",h="@ke
2yframes",p=Math.abs,f=String.fromCharCode,m=Object.assign;function g(e,t){return(e=t.exec(e))?e[0]:e}function y(e,t,n){return e.replace(t,n)}function v(e,t,n){return e.indexOf(t,n)}function w(e,t){return 0|e.charCodeAt(t)}function b(e,t,n){return e.slice(t,n)}function x(e){return e.length}function S(e,t){return t.push(e),e}function C(e,t){return e.filter(function(e){return!g(e,t)})}var k=1,_=1,P=0,I=0,$=0,T="";function j(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:k,column:_,length:a,return:"",siblings:s}}function A(e,t){return m(j("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function E(e){for(;e.root;)e=A(e.root,{children:[e]});S(e,e.siblings)}function z(){return $=I<P?w(T,I++):0,_++,10===$&&(_=1,k++),$}function N(){return w(T,I)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function O(e){var t,n;return(t=I-1,n=function e(t){for(;z();)switch($){case t:return I;case 34:case 39:34!==t&&39!==t&&e($);break;case 40:41===t&&e(t);break;case 92:z()}return I}(91===e?e+2:40===e?e+1:e),b(T,t,n)).trim()}function L(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function D(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case d:return e.return=e.return||e.value;case c:return"";case h:return e.return=e.value+"{"+L(e.children,r)+"}";case u:if(!x(e.value=e.props.join(",")))return""}return x(n=L(e.children,r))?e.return=e.value+"{"+n+"}":""}function W(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case d:e.return=function e(t,n,r){var i;switch(i=n,45^w(t,0)?(((i<<2^w(t,0))<<2^w(t,1))<<2^w(t,2))<<2^w(t,3):0){case 5103:return l+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return l+t+t;case 4789:return s+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return l+t+s+t+a+t+t;case 5936:switch(w(t,n+11)){case 114:return l+t+a+y(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
vendor: 11,843 bytes, line 2
2case 108:return l+t+a+y(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return l+t+a+y(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return l+t+a+t+t;case 6165:return l+t+a+"flex-"+t+t;case 5187:return l+t+y(t,/(\w+).+(:[^]+)/,l+"box-$1$2"+a+"flex-$1$2")+t;case 5443:return l+t+a+"flex-item-"+y(t,/flex-|-self/g,"")+(g(t,/flex-|baseline/)?"":a+"grid-row-"+y(t,/flex-|-self/g,""))+t;case 4675:return l+t+a+"flex-line-pack"+y(t,/align-content|flex-|-self/g,"")+t;case 5548:return l+t+a+y(t,"shrink","negative")+t;case 5292:return l+t+a+y(t,"basis","preferred-size")+t;case 6060:return l+"box-"+y(t,"-grow","")+l+t+a+y(t,"grow","positive")+t;case 4554:return l+y(t,/([^-])(transform)/g,"$1"+l+"$2")+t;case 6187:return y(y(y(t,/(zoom-|grab)/,l+"$1"),/(image-set)/,l+"$1"),t,"")+t;case 5495:case 3959:return y(t,/(image-set\([^]*)/,l+"$1$`$1");case 4968:return y(y(t,/(.+:)(flex-)?(.*)/,l+"box-pack:$3"+a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+l+t+t;case 4200:if(!g(t,/flex-|baseline/))return a+"grid-column-align"+b(t,n)+t;break;case 2592:case 3360:return a+y(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,g(e.props,/grid-\w+-end/)}))return~v(t+(r=r[n].value),"span",0)?t:a+y(t,"-start","")+t+a+"grid-row-span:"+(~v(r,"span",0)?g(r,/\d+/):g(r,/\d+/)-g(t,/\d+/))+";";return a+y(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return g(e.props,/grid-\w+-start/)})?t:a+y(y(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return y(t,/(.+)-inline(.+)/,l+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(x(t)-1-n>6)switch(w(t,n+1)){case 109:if(45!==w(t,n+4))break;case 102:return y(t,/(.+:)(.+)-([^]+)/,"$1"+l+"$2-$3$1"+s+(108==w(t,n+3)?"$3":"$2-$3"))+t;case 115:return~v(t,"stretch",0)?e(y(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return y(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,i,o,s,l){return a+n+":"+r+l+(i?a+n+"-span:"+(o?s:s-r)+l:"")+t});case 4949:if(121===w(t,n+6))return y(t,":",":"+l)+t;break;case 6444:switch(w(t,45===w(t,14)?18:11)){case 120:return y(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+l+(45===w(t,14)?"inline-":"")+"box$3$1"+l+"$2$3$1"+a+"$2box$3")+t;case 100:return y(t,":",":"+a)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return y(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case h:return L([A(e,{value:y(e.value,"@","@"+l)})],r);case u:if(e.length){var i,o;return i=n=e.props,o=function(t){switch(g(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":E(A(e,{props:[y(t,/:(read-\w+)/,":"+s+"$1")]})),E(A(e,{props:[t]})),m(e,{props:C(n,r)});break;case"::placeholder":E(A(e,{props:[y(t,/:(plac\w+)/,":"+l+"input-$1")]})),E(A(e,{props:[y(t,/:(plac\w+)/,":"+s+"$1")]})),E(A(e,{props:[y(t,/:(plac\w+)/,a+"input-$1")]})),E(A(e,{props:[t]})),m(e,{props:C(n,r)})}return""},i.map(o).join("")}}}function M(e,t,n,r,i,o,a,s,l,c,d,h){for(var f=i-1,m=0===i?o:[""],g=m.length,v=0,w=0,x=0;v<r;++v)for(var S=0,C=b(e,f+1,f=p(w=a[v])),k=e;S<g;++S)(k=(w>0?m[S]+" "+C:y(C,/&\f/g,m[S])).trim())&&(l[x++]=k);return j(e,t,n,0===i?u:s,l,c,d,h)}function B(e,t,n,r,i){return j(e,t,n,d,b(e,0,r),b(e,r+1,-1),r,i)}var F={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},U=void 0!==t.default&&void 0!==t.default.env&&(t.default.env.REACT_APP_SC_ATTR||t.default.env.SC_ATTR)||"data-styled",G="active",q="data-styled-version",Y="6.1.15",H="/*!sc*/\n",J="u">typeof window&&"HTMLElement"in window,K=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==t.default&&void 0!==t.default.env&&void 0!==t.default.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==t.default.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==t.default.env.REACT_APP_SC_DISABLE_SPEEDY&&t.default.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==t.default&&void 0!==t.default.env&&void 0!==t.default.env.SC_DISABLE_SPEEDY&&""!==t.default.env.SC_DISABLE_SPEEDY&&"false"!==t.default.env.SC_DISABLE_SPEEDY&&t.default.env.SC_DISABLE_SPEEDY),V={},X=Object.freeze([]),Z=Object.freeze({});function Q(e,t,n){return void 0===n&&(n=Z),e.theme!==n.theme&&e.theme||t||n.theme}var ee=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),et=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,en=/(^-|-$)/g;function er(e){return e.replace(et,"-").replace(en,"")}var ei=/(a)(d)/gi,eo=function(e){return String.fromCharCode(e+(e>25?39:97))};function ea(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=eo(t%52)+n;return(eo(t%52)+n).replace(ei,"$1-$2")}var es,el=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ec=function(e){return el(5381,e)};function eu(e){return ea(ec(e)>>>0)}function ed(e){return"string"==typeof e}var eh="function"==typeof Symbol&&Symbol.for,ep=eh?Symbol.for("react.memo"):60115,ef=eh?Symbol.for("react.forward_ref"):60112,em={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},eg={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ey={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ev=((es={})[ef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},es[ep]=ey,es);function ew(e){return("type"in e&&e.type.$$typeof)===ep?ey:"$$typeof"in e?ev[e.$$typeof]:em}var eb=Object.defineProperty,ex=Object.getOwnPropertyNames,eS=Object.getOwnPropertySymbols,eC=Object.getOwnPropertyDescriptor,ek=Object.getPrototypeOf,e_=Object.prototype;function eP(e){return"function"==typeof e}function eI(e){return"object"==typeof e&&"styledComponentId"in e}function e$(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function eT(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function ej(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function eA(e,t){Object.defineProperty(e,"toString",{value:t})}function eE(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var ez=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw eE(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=(o=0,t.length);o<s;o++)this.tag.insertRule(a,t[o])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(H);return t},e}(),eN=new Map,eR=new Map,eO=1,eL=function(e){if(eN.has(e))return eN.get(e);for(;eR.has(eO);)eO++;var t=eO++;return eN.set(e,t),eR.set(t,e),t},eD=function(e,t){eO=t+1,eN.set(e,t),eR.set(t,e)},eW="style[".concat(U,"][").concat(q,'="').concat(Y,'"]'),eM=new RegExp("^".concat(U,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),eB=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},eF=function(e,t){for(var n,r=(null!=(n=t.textContent)?n:"").split(H),i=[],o=0,a=r.length;o<a;o++){var s=r[o].trim();if(s){var l=s.match(eM);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(eD(u,c),eB(e,u,l[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(s)}}},eU=function(e){for(var t=document.querySelectorAll(eW),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(U)!==G&&(eF(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function eG(){return"u">typeof __webpack_nonce__?__webpack_nonce__:null}var eq=function(e){var t,n=document.head,r=e||n,i=document.createElement("style"),o=(t=Array.from(r.querySelectorAll("style[".concat(U,"]"))))[t.length-1],a=void 0!==o?o.nextSibling:null;i.setAttribute(U,G),i.setAttribute(q,Y);var s=eG();return s&&i.setAttribute("nonce",s),r.insertBefore(i,a),i},eY=function(){function e(e){this.element=eq(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw eE(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),eH=function(){function e(e){this.element=eq(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),eJ=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),eK=J,eV={isServer:!J,useCSSOMInjection:!K},eX=function(){function e(e,t,r){void 0===e&&(e=Z),void 0===t&&(t={});var i=this;this.options=n(n({},eV),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&J&&eK&&(eK=!1,eU(this)),eA(this,function(){for(var e=i.getTag(),t=e.length,n="",r=0;r<t;r++)!function(t){var r=eR.get(t);if(void 0===r)return;var o=i.names.get(r),a=e.getGroup(t);
2if(void 0!==o&&o.size&&0!==a.length){var s="".concat(U,".g").concat(t,'[id="').concat(r,'"]'),l="";void 0!==o&&o.forEach(function(e){e.length>0&&(l+="".concat(e,","))}),n+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(H)}}(r);return n})}return e.registerId=function(e){return eL(e)},e.prototype.rehydrate=function(){!this.server&&J&&eU(this)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(n(n({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,n=e.target,new ez(e.isServer?new eJ(n):t?new eY(n):new eH(n))))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(eL(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(eL(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(eL(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),eZ=/&/g,eQ=/^\s*\/\/.*$/gm;function e0(e){var t,n,r,i=void 0===e?Z:e,o=i.options,a=void 0===o?Z:o,s=i.plugins,l=void 0===s?X:s,d=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},h=l.slice();h.push(function(e){e.type===u&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(eZ,n).replace(r,d))}),a.prefix&&h.push(W),h.push(D);var m=function(e,i,o,s){void 0===i&&(i=""),void 0===o&&(o=""),void 0===s&&(s="&"),t=s,n=i,r=RegExp("\\".concat(n,"\\b"),"g");var l,u,d,m,g,C,A=e.replace(eQ,""),E=(g=function e(t,n,r,i,o,a,s,l,u){for(var d,h,m,g,C=0,P=0,A=s,E=0,L=0,D=0,W=1,F=1,U=1,G=0,q="",Y=o,H=a,J=i,K=q;F;)switch(D=G,G=z()){case 40:if(108!=D&&58==w(K,A-1)){-1!=v(K+=y(O(G),"&","&\f"),"&\f",p(C?l[C-1]:0))&&(U=-1);break}case 34:case 39:case 91:K+=O(G);break;case 9:case 10:case 13:case 32:K+=function(e){for(;$=N();)if($<33)z();else break;return R(e)>2||R($)>3?"":" "}(D);break;case 92:K+=function(e,t){for(var n;--t&&z()&&!($<48)&&!($>102)&&(!($>57)||!($<65))&&(!($>70)||!($<97)););return n=I+(t<6&&32==N()&&32==z()),b(T,e,n)}(I-1,7);continue;case 47:switch(N()){case 42:case 47:S((d=function(e,t){for(;z();)if(e+$===57)break;else if(e+$===84&&47===N())break;return"/*"+b(T,t,I-1)+"*"+f(47===e?e:z())}(z(),I),h=n,m=r,g=u,j(d,h,m,c,f($),b(d,2,-2),0,g)),u);break;default:K+="/"}break;case 123*W:l[C++]=x(K)*U;case 125*W:case 59:case 0:switch(G){case 0:case 125:F=0;case 59+P:-1==U&&(K=y(K,/\f/g,"")),L>0&&x(K)-A&&S(L>32?B(K+";",i,r,A-1,u):B(y(K," ","")+";",i,r,A-2,u),u);break;case 59:K+=";";default:if(S(J=M(K,n,r,C,P,o,l,q,Y=[],H=[],A,a),a),123===G)if(0===P)e(K,n,J,J,Y,a,A,l,H);else switch(99===E&&110===w(K,3)?100:E){case 100:case 108:case 109:case 115:e(t,J,J,i&&S(M(t,J,J,0,0,o,l,q,o,Y=[],A,H),H),o,H,A,l,i?Y:H);break;default:e(K,J,J,J,[""],H,0,l,H)}}C=P=L=0,W=U=1,q=K="",A=s;break;case 58:A=1+x(K),L=D;default:if(W<1){if(123==G)--W;else if(125==G&&0==W++&&125==($=I>0?w(T,--I):0,_--,10===$&&(_=1,k--),$))continue}switch(K+=f(G),G*W){case 38:U=P>0?1:(K+="\f",-1);break;case 44:l[C++]=(x(K)-1)*U,U=1;break;case 64:45===N()&&(K+=O(z())),E=N(),P=A=x(q=K+=function(e){for(;!R(N());)z();return b(T,e,I)}(I)),G++;break;case 45:45===D&&2==x(K)&&(W=0)}}return a}("",null,null,null,[""],(m=d=o||i?"".concat(o," ").concat(i," { ").concat(A," }"):A,k=_=1,P=x(T=m),I=0,d=[]),0,[0],d),T="",g);a.namespace&&(E=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(E,a.namespace));var D=[];return L(E,(u=(l=h.concat((C=function(e){return D.push(e)},function(e){!e.root&&(e=e.return)&&C(e)}))).length,function(e,t,n,r){for(var i="",o=0;o<u;o++)i+=l[o](e,t,n,r)||"";return i})),D};return m.hash=l.length?l.reduce(function(e,t){return t.name||eE(15),el(e,t.name)},5381).toString():"",m}var e1=new eX,e2=e0(),e3=i.default.createContext({shouldForwardProp:void 0,styleSheet:e1,stylis:e2}),e5=(e3.Consumer,i.default.createContext(void 0));function e4(){return(0,i.useContext)(e3)}function e6(e){var t=(0,i.useState)(e.stylisPlugins),n=t[0],r=t[1],a=e4().styleSheet,s=(0,i.useMemo)(function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,a]),l=(0,i.useMemo)(function(){return e0({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,i.useEffect)(function(){(0,o.default)(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var c=(0,i.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:s,stylis:l}},[e.shouldForwardProp,s,l]);return i.default.createElement(e3.Provider,{value:c},i.default.createElement(e5.Provider,{value:l},e.children))}var e9=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=e2);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,eA(this,function(){throw eE(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=e2),this.name+e.hash},e}();function e7(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;r>="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var e8=function(e){return null==e||!1===e||""===e},te=function(e){var t=[];for(var n in e){var i=e[n];e.hasOwnProperty(n)&&!e8(i)&&(Array.isArray(i)&&i.isCss||eP(i)?t.push("".concat(e7(n),":"),i,";"):ej(i)?t.push.apply(t,r(r(["".concat(n," {")],te(i),!1),["}"],!1)):t.push("".concat(e7(n),": ").concat(null==i||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in F||n.startsWith("--")?String(i).trim():"".concat(i,"px"),";")))}return t};function tt(e,t,n,r){if(e8(e))return[];if(eI(e))return[".".concat(e.styledComponentId)];if(eP(e))return!eP(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:tt(e(t),t,n,r);return e instanceof e9?n?(e.inject(n,r),[e.getName(r)]):[e]:ej(e)?te(e):Array.isArray(e)?Array.prototype.concat.apply(X,e.map(function(e){return tt(e,t,n,r)})):[e.toString()]}function tn(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(eP(n)&&!eI(n))return!1}return!0}var tr=ec(Y),ti=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&tn(e),this.componentId=t,this.baseHash=el(tr,t),this.baseStyle=n,eX.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n
vendor: 4,131 bytes, line 2
2):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=e$(r,this.staticRulesId);else{var i=eT(tt(this.rules,e,t,n)),o=ea(el(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var a=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,a)}r=e$(r,o),this.staticRulesId=o}else{for(var s=el(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var d=eT(tt(u,e,t,n));s=el(s,d+c),l+=d}}if(l){var h=ea(s>>>0);t.hasNameForId(this.componentId,h)||t.insertRules(this.componentId,h,n(l,".".concat(h),void 0,this.componentId)),r=e$(r,h)}}return r},e}(),to=i.default.createContext(void 0);to.Consumer;var ta={};function ts(e,t,r){var o,a,s,l,c=eI(e),u=!ed(e),d=t.attrs,h=void 0===d?X:d,p=t.componentId,f=void 0===p?(o=t.displayName,a=t.parentComponentId,ta[s="string"!=typeof o?"sc":er(o)]=(ta[s]||0)+1,l="".concat(s,"-").concat(eu(Y+s+ta[s])),a?"".concat(a,"-").concat(l):l):p,m=t.displayName,g=void 0===m?ed(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):m,y=t.displayName&&t.componentId?"".concat(er(t.displayName),"-").concat(t.componentId):t.componentId||f,v=c&&e.attrs?e.attrs.concat(h).filter(Boolean):h,w=t.shouldForwardProp;if(c&&e.shouldForwardProp){var b=e.shouldForwardProp;if(t.shouldForwardProp){var x=t.shouldForwardProp;w=function(e,t){return b(e,t)&&x(e,t)}}else w=b}var S=new ti(r,y,c?e.componentStyle:void 0);function C(e,t){return function(e,t,r){var o,a=e.attrs,s=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,h=i.default.useContext(to),p=e4(),f=e.shouldForwardProp||p.shouldForwardProp,m=Q(t,h,l)||Z,g=function(e,t,r){for(var i,o=n(n({},t),{className:void 0,theme:r}),a=0;a<e.length;a+=1){var s=eP(i=e[a])?i(o):i;for(var l in s)o[l]="className"===l?e$(o[l],s[l]):"style"===l?n(n({},o[l]),s[l]):s[l]}return t.className&&(o.className=e$(o.className,t.className)),o}(a,t,m),y=g.as||d,v={};for(var w in g)void 0===g[w]||"$"===w[0]||"as"===w||"theme"===w&&g.theme===m||("forwardedAs"===w?v.as=g.forwardedAs:f&&!f(w,y)||(v[w]=g[w]));var b=(o=e4(),s.generateAndInjectStyles(g,o.styleSheet,o.stylis)),x=e$(c,u);return b&&(x+=" "+b),g.className&&(x+=" "+g.className),v[ed(y)&&!ee.has(y)?"class":"className"]=x,r&&(v.ref=r),(0,i.createElement)(y,v)}(k,e,t)}C.displayName=g;var k=i.default.forwardRef(C);return k.attrs=v,k.componentStyle=S,k.displayName=g,k.shouldForwardProp=w,k.foldedComponentIds=c?e$(e.foldedComponentIds,e.styledComponentId):"",k.styledComponentId=y,k.target=c?e.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=c?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)!function e(t,n,r){if(void 0===r&&(r=!1),!r&&!ej(t)&&!Array.isArray(t))return n;if(Array.isArray(n))for(var i=0;i<n.length;i++)t[i]=e(t[i],n[i]);else if(ej(n))for(var i in n)t[i]=e(t[i],n[i]);return t}(e,t[r],!0);return e}({},e.defaultProps,t):t}}),eA(k,function(){return".".concat(k.styledComponentId)}),u&&function e(t,n,r){if("string"!=typeof n){if(e_){var i=ek(n);i&&i!==e_&&e(t,i,r)}var o=ex(n);eS&&(o=o.concat(eS(n)));for(var a=ew(t),s=ew(n),l=0;l<o.length;++l){var c=o[l];if(!(c in eg||r&&r[c]||s&&c in s||a&&c in a)){var u=eC(n,c);try{eb(t,c,u)}catch(e){}}}}return t}(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function tl(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var tc=function(e){return Object.assign(e,{isCss:!0})};function tu(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return eP(e)||ej(e)?tc(tt(tl(X,r([e],t,!0)))):0===t.length&&1===e.length&&"string"==typeof e[0]?tt(e):tc(tt(tl(e,t)))}var td=function(e){return function e(t,i,o){if(void 0===o&&(o=Z),!i)throw eE(1,i);var a=function(e){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];return t(i,o,tu.apply(void 0,r([e],n,!1)))};return a.attrs=function(r){return e(t,i,n(n({}
2,o),{attrs:Array.prototype.concat(o.attrs,r).filter(Boolean)}))},a.withConfig=function(r){return e(t,i,n(n({},o),r))},a}(ts,e)};ee.forEach(function(e){td[e]=td(e)});var th=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=tn(e),eX.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var i=r(eT(tt(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&eX.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function tp(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=eG(),r=eT([n&&'nonce="'.concat(n,'"'),"".concat(U,'="true"'),"".concat(q,'="').concat(Y,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw eE(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw eE(2);var t,r=e.instance.toString();if(!r)return[];var o=((t={})[U]="",t[q]=Y,t.dangerouslySetInnerHTML={__html:r},t),a=eG();return a&&(o.nonce=a),[i.default.createElement("style",n({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new eX({isServer:!0}),this.sealed=!1}tp.prototype.collectStyles=function(e){if(this.sealed)throw eE(2);return i.default.createElement(e6,{sheet:this.instance},e)},tp.prototype.interleaveWithNodeStream=function(e){throw eE(3)},e.s(["createGlobalStyle",0,function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];var a=tu.apply(void 0,r([e],t,!1)),s="sc-global-".concat(eu(JSON.stringify(a))),l=new th(a,s),c=function(e){var t=e4(),n=i.default.useContext(to),r=i.default.useRef(t.styleSheet.allocateGSInstance(s)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),i.default.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return l.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,t,r,i,o){if(l.isStatic)l.renderStyles(e,V,r,o);else{var a=n(n({},t),{theme:Q(t,i,c.defaultProps)});l.renderStyles(e,a,r,o)}}return i.default.memo(c)},"css",0,tu,"keyframes",0,function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=eT(tu.apply(void 0,r([e],t,!1)));return new e9(eu(i),i)},"styled",0,td],997053)},818163,e=>{"use strict";var t=e.i(271645),n=e.i(997053),r=e.i(843476),i=e.i(677615),o=e.i(69599),a=e.i(774295),s=e.i(924452),l=e.i(313990);e.i(912542),e.i(538933);var c=e.i(803959);let u=n.styled.div` 3 text-align: left; 4 flex-grow: 1; 5`,d=n.styled.div` 6 display: flex; 7 flex-direction: column; 8 justify-content: flex-end; 9 flex-grow: 1; 10`,h=n.styled.div` 11 display: flex; 12 flex-direction: column; 13 gap: 8px; 14 15 /* for Internet Explorer, Edge */ 16 -ms-overflow-style: none; 17 18 /* for Firefox */ 19 scrollbar-width: none; 20 21 /* for Chrome, Safari, and Opera */ 22 &::-webkit-scrollbar {
23 display: none; 24 } 25`,p=(0,n.styled)(h)` 26 ${e=>"light"===e.$colorScheme?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.06)) bottom;":"dark"===e.$colorScheme?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.06)) bottom;":void 0} 27 28 background-repeat: no-repeat; 29 background-size: 30 100% 32px, 31 100% 16px; 32 background-attachment: local, scroll; 33 max-height: 400px; 34 overflow-y: auto; 35 scrollbar-width: none; 36 padding: 3px; 37`,f=n.css` 38 && { 39 width: 100%; 40 font-size: 16px; 41 line-height: 24px; 42 min-height: 56px; 43 44 /* Tablet and Up */ 45 @media (min-width: 440px) { 46 font-size: 14px; 47 } 48 49 display: flex; 50 gap: 12px; 51 align-items: center; 52 color: var(--privy-color-foreground); 53 54 padding: 10px 12px; 55 border: 1px solid var(--privy-color-foreground-4) !important; 56 border-radius: var(--privy-border-radius-md); 57 transition: background-color 200ms ease; 58 59 cursor: pointer; 60 61 &:hover { 62 background-color: var(--privy-color-background-2); 63 } 64 65 &:disabled { 66 cursor: pointer; 67 background-color: var(--privy-color-background-2); 68 } 69 } 70`,m=n.styled.div` 71 text-align: center; 72 font-size: 14px; 73 margin-bottom: 24px; 74`,g=n.styled.button.attrs({className:"login-method-button"})` 75 ${f} 76`;n.styled.a` 77 ${f} 78`;let y=n.styled.div` 79 width: 32px; 80 height: 32px; 81 border-radius: ${e=>e.$fullSize?"0":"4px"}; 82 background: ${e=>e.$fullSize?"transparent":"var(--privy-color-background-2)"}; 83 display: flex; 84 align-items: center; 85 justify-content: center; 86 flex-shrink: 0; 87 88 svg { 89 width: ${e=>e.$fullSize?"32px":"18px"}; 90 height: ${e=>e.$fullSize?"32px":"18px"}; 91 color: ${e=>e.$fullSize?"inherit":"var(--privy-color-icon-muted)"}; 92 } 93`,v=n.styled.div` 94 width: 100%; 95 height: 100%; 96 min-height: inherit; 97 display: flex; 98 flex-direction: column; 99 ${e=>e.$if?"display: none;":""} 100`,w=n.styled.div` 101 width: 100%; 102 height: 100%; 103 padding: ${e=>e.$withPadding?"64px 0px":"0px"}; 104`,b=n.styled.div` 105 display: flex; 106 flex-direction: column; 107 align-items: center; 108 justify-content: center; 109 margin-bottom: 32px; 110 gap: 12px; 111 & h3 { 112 font-size: 18px; 113 font-style: normal; 114 font-weight: 600; 115 line-height: 24px; 116 } 117 & p { 118 max-width: 300px; 119 font-size: 14px; 120 font-style: normal; 121 font-weight: 400; 122 line-height: 20px; 123 } 124`,x=n.styled.span` 125 && { 126 position: absolute; 127 top: 0; 128 left: 0; 129 z-index: 2; 130 } 131`,S=n.styled.span` 132 position: relative; 133 width: 82px; 134 height: 82px; 135 display: inline-block; 136`,C=n.styled.span` 137 && { 138 width: 82px; 139 height: 82px; 140 border-width: 4px; 141 border-style: solid; 142 border-color: ${e=>e.color??"var(--privy-color-icon-subtle)"}; 143 border-bottom-color: transparent; 144 border-radius: 50%; 145 display: inline-block; 146 box-sizing: border-box; 147 animation: rotation 1.2s linear infinite; 148 transition: border-color 800ms; 149 } 150 151 @keyframes rotation { 152 0% { 153 transform: rotate(0deg); 154 } 155 100% { 156 transform: rotate(360deg); 157 } 158 } 159 160 &&&.success { 161 border-color: var(--privy-color-icon-success); 162 border-bottom-color: var(--privy-color-icon-success); 163 } 164 165 &&&.fail { 166 border-color: var(--privy-color-icon-error); 167 border-bottom-color: var(--privy-color-icon-error); 168 } 169`,k=(0,n.styled)(C)` 170 && { 171 border-bottom-color: ${e=>e.color??"var(--privy-color-border-default)"}; 172 border-color: ${e=>e.color??"var(--privy-color-border-default)"}; 173 animation: none; 174 opacity: 0.5; 175 } 176`,_=(0,n.styled)(C)` 177 && { 178 height: 1rem; 179 width: 1rem; 180 margin: 2px 0; 181 border-width: 1.5px; 182 183 /* Override default Loader to match button transitions */ 184 transition: border-color 200ms ease; 185 } 186`,P=(0,t.createContext)({}),I=e=>`privy:${e}:recent-login-method`,$=e=>`privy:${e}:recent-login-wallet-client`,T=e=>`privy:${e}:recent-login-chain-type`,j=(0,c.create)(()=>({isModalOpen:!1,resolvers:null}));(0,c.create)(()=>({}));e.s(["A",0,d,"B",0,e=>(0,r.jsx)(_,{color:e.color||"var(--privy-color-foreground-3)"}
186),"C",0,({success:e,fail:t})=>(0,r.jsxs)(S,{children:[(0,r.jsx)(x,{children:(0,r.jsx)(k,{className:e?"success":t?"fail":""})}),(0,r.jsx)(x,{children:(0,r.jsx)(C,{className:e?"success":t?"fail":""})})]}),"E",0,w,"G",0,u,"H",0,v,"L",0,C,"R",0,({children:e})=>{let n=(0,i.u)(),[s,l]=(0,t.useState)({});return(0,o.u)("login",{onComplete:({loginAccount:e})=>{e&&"passkey"!==e.type&&"cross_app"!==e.type&&("wallet"!==e.type||"privy"!==e.walletClientType)&&(a.s.put(I(n.id),e.type),"wallet"===e.type?(a.s.put($(n.id),e.walletClientType),a.s.put(T(n.id),e.chainType),l({accountType:e.type,walletClientType:e.walletClientType,chainType:e.chainType})):(a.s.del($(n.id)),a.s.del(T(n.id)),l({accountType:e.type})))}}),(0,t.useEffect)(()=>{if(!n.id)return;let e=a.s.get(I(n.id)),t=a.s.get($(n.id)),r=a.s.get(T(n.id));e&&l("wallet"===e?{accountType:e,walletClientType:t,chainType:r}:{accountType:e})},[n.id]),(0,r.jsx)(P.Provider,{value:s,children:e})},"S",0,m,"a",0,e=>{(0,o.u)("fundWallet",e);let{fundWallet:t}=(0,s.u)();return{fundWallet:({address:e,options:n})=>t(e,n)}},"c",0,function(e){let{connectWallet:n}=(0,t.useContext)(l.P);return(0,o.u)("connectWallet",e),{connectWallet:n}},"d",0,function(e){let{login:n}=(0,t.useContext)(l.P);return(0,o.u)("login",e),{login:n}},"e",0,function(e){let{logout:n}=(0,t.useContext)(l.P);return(0,o.u)("logout",e),{logout:n}},"f",0,()=>(0,t.useContext)(P),"k",0,g,"l",0,y,"m",0,b,"n",0,p,"o",0,k,"p",0,h,"s",0,({address:e,client:t,appId:n})=>{let r,i=`${t}:${e}`;n&&a.s.put((r=n,`privy:${r}:active-wallet-connection`),i),j.setState({wallet:i})},"u",0,e=>{let[n,r]=(0,t.useState)("auto");return(0,t.useEffect)(()=>{let t=new ResizeObserver(e=>{r(e[0]?.contentRect.height??"auto")});return e.current&&t.observe(e.current),()=>{e.current&&t.unobserve(e.current)}},[e.current]),n}])}]); 187 188//# debugId=e6d51fb7-cd77-fb5f-0513-69eaeae8ebb1
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.