PageSourceSearch

https://basefarcaster.vercel.app/_next/static/chunks/6029-e3f070e8709076c3.js

js basefarcaster.vercel.app collected 2026-10-03 06:10:35 UTC 231,801 bytes, 33 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6029],{669:(e,t,n)=>{let r=n(46342).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];let t=Math.floor(e/7)+2,n=r(e),i=145===n?26:2*Math.ceil((n-13)/(2*t-2)),o=[n-7];for(let e=1;e<t-1;e++)o[e]=o[e-1]-i;return o.push(6),o.reverse()},t.getPositions=function(e){let n=[],r=t.getRowColCoords(e),i=r.length;for(let e=0;e<i;e++)for(let t=0;t<i;t++)(0!==e||0!==t)&&(0!==e||t!==i-1)&&(e!==i-1||0!==t)&&n.push([r[e],r[t]]);return n}},2091:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(78942);let i=(0,n(91053).x)({...r.o,id:10,name:"OP Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.optimism.io"]}},blockExplorers:{default:{name:"Optimism Explorer",url:"https://optimistic.etherscan.io",apiUrl:"https://api-optimistic.etherscan.io/api"}},contracts:{...r.o.contracts,disputeGameFactory:{1:{address:"0xe5965Ab5962eDc7477C8520243A95517CD252fA9"}},l2OutputOracle:{1:{address:"0xdfe97868233d1aa22e815a266982f2cf17685a27"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:4286263},portal:{1:{address:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"}},l1StandardBridge:{1:{address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"}}},sourceId:1})},2535:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{U:()=>r})},5227:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});let r=(0,n(91053).x)({id:42161,name:"Arbitrum One",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},blockTime:250,rpcUrls:{default:{http:["https://arb1.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://arbiscan.io",apiUrl:"https://api.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7654707}}})},10140:(e,t,n)=>{"use strict";function r(e,t){return JSON.parse(e,(e,n)=>{let r=n;return r?.__type==="bigint"&&(r=BigInt(r.value)),r?.__type==="Map"&&(r=new Map(r.value)),t?.(e,r)??r})}function i(e,t){return e.slice(0,t).join(".")||"."}function o(e,t){let{length:n}=e;for(let r=0;r<n;++r)if(e[r]===t)return r+1;return 0}function a(e,t,n,r){return JSON.stringify(e,function(e,t){let n="function"==typeof e,r="function"==typeof t,a=[],s=[];return function(l,c){if("object"==typeof c)if(a.length){let e=o(a,this);0===e?a[a.length]=this:(a.splice(e),s.splice(e)),s[s.length]=l;let n=o(a,c);if(0!==n)return r?t.call(this,l,c,i(s,n)):`[ref=${i(s,n)}]`}else a[0]=c,s[0]=l;return n?e.call(this,l,c):c}}((e,n)=>{let r=n;return"bigint"==typeof r&&(r={__type:"bigint",value:n.toString()}),r instanceof Map&&(r={__type:"Map",value:Array.from(n.entries())}),t?.(e,r)??r},r),n??void 0)}function s(e){let{deserialize:t=r,key:n="wagmi",serialize:i=a,storage:o=l}=e;function s(e){return e instanceof Promise?e.then(e=>e).catch(()=>null):e}return{...o,key:n,async getItem(e,r){let i=o.getItem(`${n}.${e}`),a=await s(i);return a?t(a)??null:r??null},async setItem(e,t){let r=`${n}.${e}`;null===t?await s(o.removeItem(r)):await s(o.setItem(r,i(t)))},async removeItem(e){await s(o.removeItem(`${n}.${e}`))}}}n.d(t,{wE:()=>s,XB:()=>c});let l={getItem:()=>null,setItem:()=>{},removeItem:()=>{}};function c(){let e="undefined"!=typeof window&&window.localStorage?window.localStorage:l;return{getItem:t=>e.getItem(t),removeItem(t){e.removeItem(t)},setItem(t,n){try{e.setItem(t,n)}catch{}}}}},10429:(e,t)=>{let n=new Uint8Array(512),r=new Uint8Array(256);!function(){let e=1;for(let t=0;t<255;t++)n[t]=e,r[e]=t,256&(e<<=1)&&(e^=285);for(let e=255;e<512;e++)n[e]=n[e-255]}(),t.log=function(e){if(e<1)throw Error("log("+e+")");return r[e]},t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[r[e]+r[t]]}},12673:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});let r=(0,n(91053).x)({id:137,name:"Polygon",blockTime:2e3,nativeCurrency:{name:"POL",symbol:"POL",decimals:18},rpcUrls:{default:{http:["https://polygon.drpc.org"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://polygonscan.com",apiUrl:"https://api.etherscan.io/v2/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0x18938b0}}})},12745:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(78942);let i=(0,n(91053).x)({...r.o,id:84532,network:"base-sepolia",name:"Base Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol
1:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://sepolia.basescan.org",apiUrl:"https://api-sepolia.basescan.org/api"}},contracts:{...r.o.contracts,disputeGameFactory:{0xaa36a7:{address:"0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1"}},l2OutputOracle:{0xaa36a7:{address:"0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254"}},portal:{0xaa36a7:{address:"0x49f53e41452c74589e85ca1677426ba426459e85",blockCreated:4446677}},l1StandardBridge:{0xaa36a7:{address:"0xfd0Bf71F60660E2f608ed56e1659C450eB113120",blockCreated:4446677}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1059647}},testnet:!0,sourceId:0xaa36a7});({...i,experimental_preconfirmationTime:200,rpcUrls:{default:{http:["https://sepolia-preconf.base.org"]}}})},15549:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,o||e,a),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,i),!0;case 5:return u.fn.call(u.context,t,r,i,o),!0;case 6:return u.fn.call(u.context,t,r,i,o,a),!0}for(c=1,l=Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var h,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,r);break;case 4:u[c].fn.call(u[c].context,t,r,i);break;default:if(!l)for(h=1,l=Array(d-1);h<d;h++)l[h-1]=arguments[h];u[c].fn.apply(u[c].context,l)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||i&&!s[l].once||r&&s[l].context!==r)&&c.push(s[l]);c.length?this._events[o]=1===c.length?c[0]:c:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},19056:(e,t,n)=>{"use strict";let r;n.d(t,{Z:()=>C});var i=n(95089);let o=e=>t=>{try{let n=e(t);if(n instanceof Promise)return n;return{then:e=>o(e)(n),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>o(t)(e)}}},a=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,o={setState:r,getState:i,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e))},a=t=e(r,i,o);return o},s=e=>e?a(e):a;var l=n(77608),c=n(73168),u=n(56674),d=n(37407),h=n(34561),f=n(43159),p=n(93420),m=n(2535);function g(e={}){let t,n,r,i,{shimDisconnect:o=!0,unstable_shimAsyncInject:a}=e;function s(){let t=e.target;if("function"==typeof t){let e=t();if(e)return e}return"object"==typeof t?t:"string"==typeof t?{...v[t]??{id:t,name:`${t[0].toUpperCase()}${t.slice(1)}`,provider:`is${t[0].toUpperCase()}${t.slice(1)}`}}:{id:"injected",name:"Injected",provider:e=>e?.ethereum}}return(0,m.U)(m=>({get icon(){return s().icon},get id(){return s().id},get name(){return s().name},get supportsSimulation(){return!0},type:g.type,async setup(){let n=await this.getProvider();n?.on&&e.target&&(r||(r=this.onConnect.bind(this),n.on("connect",r)),t||(t=this.onAccountsChanged.bind(this),n.on("accountsChanged",t)))},async connect({chainId:a,isReconnecting:s,withCapabilities:u}={}){let d=await this.getProvider();if(!d)throw new p.N;let h=[];if(s)h=await this.getAccounts().catch(()=>[]);else if(o)try{let e=await d.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]});(h=e[0]?.caveats?.[0]?.value?.map(e=>(0,l.b)(e))).length>0&&(h=await this.getAccounts())}catch(e){if(e.code===c.vx.code)throw new c.vx(e);if(e.code===c.qZ.code)throw e}try{h?.length||s||(h=(await d.request({method:"eth_requestAccounts"})).map(e=>(0,l.b)(e))),r&&(d.removeListener("connect",r),r=void 0),t||(t=this.onAccountsChanged.bind(this),d.on("accountsChanged",t)),n||(n=this.onChainChanged.bind(this),d.on("chainChanged",n)),i||(i=this.onDisconnect.bind(this),d.on("disconnect",i));let f=await this.getChainId();if(a&&f!==a){let e=await this.switchChain({chainId:a}).catch(e=>{if(e.code===c.vx.code)throw e;return{id:f}});f=e?.id??f}return o&&await m.storage?.removeItem(`${this.id}.disconnected`),e.target||await m.storage?.setItem("injected.connected",!0),{accounts:u?h.map(e=>({address:e,capabilities:{}})):h,chainId:f}}catch(e){if(e.code===c.vx.code)throw new c.vx(e);if(e.code===c.qZ.code)throw new c.qZ(e);throw e}},async disconnect(){let t=await this.getProvider();if(!t)throw new p.N;n&&(t.removeListener("chainChanged",n),n=void 0),i&&(t.removeListener("disconnect",i),i=void 0),r||(r=this.onConnect.bind(this),t.on("connect",r));try{await (0,u.w)(()=>t.request({method:"wallet_revokePermissions",params:[{eth_accounts:{}}]}),{timeout:100})}catch{}o&&await m.storage?.setItem(`${this.id}.disconnected`,!0),e.target||await m.storage?.removeItem("injected.connected")},async getAccounts(){let e=await this.getProvider();if(!e)throw new p.N;return(await e.request({method:"eth_accounts"})).map(e=>(0,l.b)(e))},async getChainId(){let e=await this.getProvider();if(!e)throw new p.N;return Number(await e.request({method:"eth_chainId"}))},async getProvider(){let e;if("undefined"==typeof window)return;let t=s();return(e="function"==typeof t.provider?t.provider(window):"string"==typeof t.provider?y(window,t.provider):t.provider)&&!e.removeListener&&("off"in e&&"function"==typeof e.off?e.removeListener=e.off:e.removeListener=()=>{}),e}
1,async isAuthorized(){try{if(o&&await m.storage?.getItem(`${this.id}.disconnected`)||!e.target&&!await m.storage?.getItem("injected.connected"))return!1;if(!await this.getProvider()){if(void 0!==a&&!1!==a){let e=async()=>("undefined"!=typeof window&&window.removeEventListener("ethereum#initialized",e),!!await this.getProvider()),t="number"==typeof a?a:1e3;if(await Promise.race([..."undefined"!=typeof window?[new Promise(t=>window.addEventListener("ethereum#initialized",()=>t(e()),{once:!0}))]:[],new Promise(n=>setTimeout(()=>n(e()),t))]))return!0}throw new p.N}return!!(await (0,d.b)(()=>this.getAccounts())).length}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:t}){let n=await this.getProvider();if(!n)throw new p.N;let r=m.chains.find(e=>e.id===t);if(!r)throw new c.ch(new f.nk);let i=new Promise(e=>{let n=r=>{"chainId"in r&&r.chainId===t&&(m.emitter.off("change",n),e())};m.emitter.on("change",n)});try{return await Promise.all([n.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,h.cK)(t)}]}).then(async()=>{await this.getChainId()===t&&m.emitter.emit("change",{chainId:t})}),i]),r}catch(o){if(4902===o.code||o?.data?.originalError?.code===4902)try{let o,a,{default:s,...l}=r.blockExplorers??{};e?.blockExplorerUrls?o=e.blockExplorerUrls:s&&(o=[s.url,...Object.values(l).map(e=>e.url)]),a=e?.rpcUrls?.length?e.rpcUrls:[r.rpcUrls.default?.http[0]??""];let u={blockExplorerUrls:o,chainId:(0,h.cK)(t),chainName:e?.chainName??r.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??r.nativeCurrency,rpcUrls:a};return await Promise.all([n.request({method:"wallet_addEthereumChain",params:[u]}).then(async()=>{if(await this.getChainId()===t)m.emitter.emit("change",{chainId:t});else throw new c.vx(Error("User rejected switch after adding network."))}),i]),r}catch(e){throw new c.vx(e)}if(o.code===c.vx.code)throw new c.vx(o);throw new c.ch(o)}},async onAccountsChanged(e){if(0===e.length)this.onDisconnect();else if(m.emitter.listenerCount("connect")){let e=(await this.getChainId()).toString();this.onConnect({chainId:e}),o&&await m.storage?.removeItem(`${this.id}.disconnected`)}else m.emitter.emit("change",{accounts:e.map(e=>(0,l.b)(e))})},onChainChanged(e){let t=Number(e);m.emitter.emit("change",{chainId:t})},async onConnect(e){let o=await this.getAccounts();if(0===o.length)return;let a=Number(e.chainId);m.emitter.emit("connect",{accounts:o,chainId:a});let s=await this.getProvider();s&&(r&&(s.removeListener("connect",r),r=void 0),t||(t=this.onAccountsChanged.bind(this),s.on("accountsChanged",t)),n||(n=this.onChainChanged.bind(this),s.on("chainChanged",n)),i||(i=this.onDisconnect.bind(this),s.on("disconnect",i)))},async onDisconnect(e){let t=await this.getProvider();e&&1013===e.code&&t&&(await this.getAccounts()).length||(m.emitter.emit("disconnect"),t&&(n&&(t.removeListener("chainChanged",n),n=void 0),i&&(t.removeListener("disconnect",i),i=void 0),r||(r=this.onConnect.bind(this),t.on("connect",r))))}}))}g.type="injected";let v={coinbaseWallet:{id:"coinbaseWallet",name:"Coinbase Wallet",provider:e=>e?.coinbaseWalletExtension?e.coinbaseWalletExtension:y(e,"isCoinbaseWallet")},metaMask:{id:"metaMask",name:"MetaMask",provider:e=>y(e,e=>{if(!e.isMetaMask||e.isBraveWallet&&!e._events&&!e._state)return!1;for(let t of["isApexWallet","isAvalanche","isBitKeep","isBlockWallet","isKuCoinWallet","isMathWallet","isOkxWallet","isOKExWallet","isOneInchIOSWallet","isOneInchAndroidWallet","isOpera","isPhantom","isPortal","isRabby","isTokenPocket","isTokenary","isUniswapWallet","isZerion"])if(e[t])return!1;return!0})},phantom:{id:"phantom",name:"Phantom",provider:e=>e?.phantom?.ethereum?e.phantom?.ethereum:y(e,"isPhantom")}};function y(e,t){function n(e){return"function"==typeof t?t(e):"string"!=typeof t||e[t]}let r=e.ethereum;return r?.providers?r.providers.find(e=>n(e)):r&&n(r)?r:void 0}var b=n(15549);class w{constructor(e){Object.defineProperty(this,"uid",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"_emitter",{enumerable:!0,configurable:!0,writable:!0,value:new b})}on(e,t){this._emitter.on(e,t)}once(e,t){this._emitter.once(e,t)}off(e,t){this._emitter.off(e,t)}emit(e,...t){let n=t[0];this._emitter.emit(e,{uid:this.uid,...n})}listenerCount(e){return this._emitter.listenerCount(e)}}var E=n(10140);let x=256;var k=n(46465);function C(e){let t,n,a,{multiInjectedProviderDiscovery:l=!0,storage:c=(0,E.wE)({storage:(0,E.XB)()}),syncConnectedChain:u=!0,ssr:d=!1,...h}=e,p="undefined"!=typeof window&&l?function(){let e=new Set,t=[],n=()=>(function(e){if("undefined"==typeof window)return;let t=t=>e(t.detail);return window.addEventListener("eip6963:announceProvider",t),window.dispatchEvent(new CustomEvent("eip6963:requestProvider")),()=>window.removeEventListener("eip6963:announceProvider",t)})(n=>{t.some(({info:e})=>
1e.uuid===n.info.uuid)||(t=[...t,n],e.forEach(e=>e(t,{added:[n]})))}),r=n();return{_listeners:()=>e,clear(){e.forEach(e=>e([],{removed:[...t]})),t=[]},destroy(){this.clear(),e.clear(),r?.()},findProvider:({rdns:e})=>t.find(t=>t.info.rdns===e),getProviders:()=>t,reset(){this.clear(),r?.(),r=n()},subscribe:(n,{emitImmediately:r}={})=>(e.add(n),r&&n(t,{added:t}),()=>e.delete(n))}}():void 0,m=s(()=>h.chains),v=s(()=>{let e=[],t=new Set;for(let n of h.connectors??[]){let r=y(n);if(e.push(r),!d&&r.rdns)for(let e of"string"==typeof r.rdns?[r.rdns]:r.rdns)t.add(e)}if(!d&&p)for(let n of p.getProviders())t.has(n.info.rdns)||e.push(y(b(n)));return e});function y(e){let t=new w(function(e=11){if(!r||x+e>512){r="",x=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(x,x+++e)}()),n={...e({emitter:t,chains:m.getState(),storage:c,transports:h.transports}),emitter:t,uid:t.uid};return t.on("connect",O),n.setup?.(),n}function b(e){let{info:t}=e,n=e.provider;return g({target:{...t,id:t.rdns,provider:n}})}let C=new Map;function T(){return{chainId:m.getState()[0].id,connections:new Map,current:null,status:"disconnected"}}let I="0.0.0-canary-";t=k.r.startsWith(I)?Number.parseInt(k.r.replace(I,""),10):Number.parseInt(k.r.split(".")[0]??"0",10);let N=s((a=c?(n={migrate(e,n){if(n===t)return e;let r=T(),i=S(e,r.chainId);return{...r,chainId:i}},name:"store",partialize:e=>({connections:{__type:"Map",value:Array.from(e.connections.entries()).map(([e,t])=>{let{id:n,name:r,type:i,uid:o}=t.connector;return[e,{...t,connector:{id:n,name:r,type:i,uid:o}}]})},chainId:e.chainId,current:e.current}),merge(e,t){"object"==typeof e&&e&&"status"in e&&delete e.status;let n=S(e,t.chainId);return{...t,...e,chainId:n}},skipHydration:d,storage:c,version:t},(e,t,r)=>{let i,a={storage:function(e,t){let n;try{n=e()}catch(e){return}return{getItem:e=>{var t;let r=e=>null===e?null:JSON.parse(e,void 0),i=null!=(t=n.getItem(e))?t:null;return i instanceof Promise?i.then(r):r(i)},setItem:(e,t)=>n.setItem(e,JSON.stringify(t,void 0)),removeItem:e=>n.removeItem(e)}}(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...n},s=!1,l=new Set,c=new Set,u=a.storage;if(!u)return T((...t)=>{console.warn(`[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`),e(...t)},t,r);let d=()=>{let e=a.partialize({...t()});return u.setItem(a.name,{state:e,version:a.version})},h=r.setState;r.setState=(e,t)=>{h(e,t),d()};let f=T((...t)=>{e(...t),d()},t,r);r.getInitialState=()=>f;let p=()=>{var n,r;if(!u)return;s=!1,l.forEach(e=>{var n;return e(null!=(n=t())?n:f)});let h=(null==(r=a.onRehydrateStorage)?void 0:r.call(a,null!=(n=t())?n:f))||void 0;return o(u.getItem.bind(u))(a.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===a.version)return[!1,e.state];else{if(a.migrate)return[!0,a.migrate(e.state,e.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(n=>{var r;let[o,s]=n;if(e(i=a.merge(s,null!=(r=t())?r:f),!0),o)return d()}).then(()=>{null==h||h(i,void 0),i=t(),s=!0,c.forEach(e=>e(i))}).catch(e=>{null==h||h(void 0,e)})};return r.persist={setOptions:e=>{a={...a,...e},e.storage&&(u=e.storage)},clearStorage:()=>{null==u||u.removeItem(a.name)},getOptions:()=>a,rehydrate:()=>p(),hasHydrated:()=>s,onHydrate:e=>(l.add(e),()=>{l.delete(e)}),onFinishHydration:e=>(c.add(e),()=>{c.delete(e)})},a.skipHydration||p(),i||f}):T,(e,t,n)=>{let r=n.subscribe;return n.subscribe=(e,t,i)=>{let o=e;if(t){let r=(null==i?void 0:i.equalityFn)||Object.is,a=e(n.getState());o=n=>{let i=e(n);if(!r(a,i)){let e=a;t(a=i,e)}},(null==i?void 0:i.fireImmediately)&&t(a,a)}return r(o)},a(e,t,n)}));function S(e,t){return e&&"object"==typeof e&&"chainId"in e&&"number"==typeof e.chainId&&m.getState().some(t=>t.id===e.chainId)?e.chainId:t}function _(e){N.setState(t=>{let n=t.connections.get(e.uid);return n?{...t,connections:new Map(t.connections).set(e.uid,{accounts:e.accounts??n.accounts,chainId:e.chainId??n.chainId,connector:n.connector})}:t})}function O(e){"connecting"!==N.getState().status&&"reconnecting"!==N.getState().status&&N.setState(t=>{let n=v.getState().find(t=>t.uid===e.uid);return n?(n.emitter.listenerCount("connect")&&n.emitter.off("connect",_),n.emitter.listenerCount("change")||n.emitter.on("change",_),n.emitter.listenerCount("disconnect")||n.emitter.on("disconnect",A),{...t,connections:new Map(t.connections).set(e.uid,{accounts:e.accounts,chainId:e.chainId,connector:n}),current:e.uid,status:"connected"}):t})}function A(e){N.setState(t=>{let n=t.connections.get(e.uid);if(n){let e=n.connector;e.emitter.listenerCount("change")&&n.connector.emitter.off("change",_),e.emitter.listenerCount("disconnect")&&n.connector.emitter.off("disconnect",A),e.emitter.listenerCount("connect")||n.connector.emitter.on("connect",O)}if(t.connections.delete(e.uid),0===t.connections.size)return{...t,connections:new Map,current:null,status:"disconnected"};let r=t.connections.values().next().value;return{...t,connections:new Map(t.connections),current:r.connector.uid}})}return N.setState(T()),u&&N.subscribe(({connections:e,current:t})=>t?e.get(t)?.chainId:void 0,e=>{if(m.getState().some(t=>t.id===e))return N.setState(t=>({...t,chainId:e??t.chainId}))}),p?.subscribe(e=>{let t=new Set,n=new Set;for(let e of v.getState())if(t.add(e.id),e.rdns)for(let t of"string"==typeof e.rdns?[e.rdns]:e.rdns)n.add(t);let r=[];for(let i of e){if(n.has(i.info.rdns))continue;let e=y(b(i));t.has(e.id)||r.push(e)}(!c||N.persist.hasHydrated())&&v.setState(e=>[...e,...r],!0)}),{get chains(){return m.getState()},get connectors(){return v.getState()},storage:c,getClient:function(e={}){let t,n=e.chainId??N.getState().chainId,r=m.getState().find(e=>e.id===n);if(e.chainId&&!r)throw new f.nk;{let e=C.get(N.getState().chainId);if(e&&!r)return e;if(!r)throw new f.nk}{let e=C.get(n);if(e)return e}if(h.client)t=h.client({chain:r});else{let e=r.id,n=m.getState().map(e=>e.id),o={};for(let[t,r]of Object.entries(h))if("chains"!==t&&"client"!==t&&"connectors"!==t&&"transports"!==t)if("object"==typeof r)if(e in r)o[t]=r[e];else{if(n.some(e=>e in r))continue;o[t]=r}else o[t]=r;t=(0,i.UU)({...o,chain:r,batch:o.batch??{multicall:!0},transport:t=>h.transports[e]({...t,connectors:v})})}return C.set(n,t),t},get state(){return N.getState()},setState(e){let t;t="function"==typeof e?e(N.getState()):e;let n=T();"object"!=typeof t&&(t=n),Object.keys(n).some(e=>!(e in t))&&(t=n),N.setState(t,!0)}
1,subscribe:(e,t,n)=>N.subscribe(e,t,n?{...n,fireImmediately:n.emitImmediately}:void 0),_internal:{mipd:p,async revalidate(){let e=N.getState(),t=e.connections,n=e.current;for(let[,e]of t){let r=e.connector;r.isAuthorized&&await r.isAuthorized()||(t.delete(r.uid),n===r.uid&&(n=null))}N.setState(e=>({...e,connections:t,current:n}))},store:N,ssr:!!d,syncConnectedChain:u,transports:h.transports,chains:{setState(e){let t="function"==typeof e?e(m.getState()):e;if(0!==t.length)return m.setState(t,!0)},subscribe:e=>m.subscribe(e)},connectors:{providerDetailToConnector:b,setup:y,setState:e=>v.setState("function"==typeof e?e(v.getState()):e,!0),subscribe:e=>v.subscribe(e)},events:{change:_,connect:O,disconnect:A}}}}},19542:(e,t)=>{t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};let n={N1:3,N2:3,N3:40,N4:10};t.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){let t=e.size,r=0,i=0,o=0,a=null,s=null;for(let l=0;l<t;l++){i=o=0,a=s=null;for(let c=0;c<t;c++){let t=e.get(l,c);t===a?i++:(i>=5&&(r+=n.N1+(i-5)),a=t,i=1),(t=e.get(c,l))===s?o++:(o>=5&&(r+=n.N1+(o-5)),s=t,o=1)}i>=5&&(r+=n.N1+(i-5)),o>=5&&(r+=n.N1+(o-5))}return r},t.getPenaltyN2=function(e){let t=e.size,r=0;for(let n=0;n<t-1;n++)for(let i=0;i<t-1;i++){let t=e.get(n,i)+e.get(n,i+1)+e.get(n+1,i)+e.get(n+1,i+1);(4===t||0===t)&&r++}return r*n.N2},t.getPenaltyN3=function(e){let t=e.size,r=0,i=0,o=0;for(let n=0;n<t;n++){i=o=0;for(let a=0;a<t;a++)i=i<<1&2047|e.get(n,a),a>=10&&(1488===i||93===i)&&r++,o=o<<1&2047|e.get(a,n),a>=10&&(1488===o||93===o)&&r++}return r*n.N3},t.getPenaltyN4=function(e){let t=0,r=e.data.length;for(let n=0;n<r;n++)t+=e.data[n];return Math.abs(Math.ceil(100*t/r/5)-10)*n.N4},t.applyMask=function(e,n){let r=n.size;for(let i=0;i<r;i++)for(let o=0;o<r;o++)n.isReserved(o,i)||n.xor(o,i,function(e,n,r){switch(e){case t.Patterns.PATTERN000:return(n+r)%2==0;case t.Patterns.PATTERN001:return n%2==0;case t.Patterns.PATTERN010:return r%3==0;case t.Patterns.PATTERN011:return(n+r)%3==0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case t.Patterns.PATTERN101:return n*r%2+n*r%3==0;case t.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case t.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw Error("bad maskPattern:"+e)}}(e,o,i))},t.getBestMask=function(e,n){let r=Object.keys(t.Patterns).length,i=0,o=1/0;for(let a=0;a<r;a++){n(a),t.applyMask(a,e);let r=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(a,e),r<o&&(o=r,i=a)}return i}},20369:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}},23308:(e,t,n)=>{let r=n(52686);function i(e,t){let n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function o(e,t,n){let r=e+t;return void 0!==n&&(r+=" "+n),r}t.render=function(e,t,n){let a=r.getOptions(t),s=e.modules.size,l=e.modules.data,c=s+2*a.margin,u=a.color.light.a?"<path "+i(a.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",d="<path "+i(a.color.dark,"stroke")+' d="'+function(e,t,n){let r="",i=0,a=!1,s=0;for(let l=0;l<e.length;l++){let c=Math.floor(l%t),u=Math.floor(l/t);c||a||(a=!0),e[l]?(s++,l>0&&c>0&&e[l-1]||(r+=a?o("M",c+n,.5+u+n):o("m",i,0),i=0,a=!1),c+1<t&&e[l+1]||(r+=o("h",s),s=0)):i++}return r}(l,s,a.margin)+'"/>',h='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+('viewBox="0 0 '+c+" ")+c+'" shape-rendering="crispEdges">'+u+d+"</svg>\n";return"function"==typeof n&&n(null,h),h}},24967:(e,t)=>{t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{if("string"!=typeof e)throw Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw Error("Unknown EC Level: "+e)}}catch(e){return n}}},28680:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(78942);let i=(0,n(91053).x)({...r.o,id:0xaa37dc,name:"OP Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol
1:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.optimism.io"]}},blockExplorers:{default:{name:"Blockscout",url:"https://optimism-sepolia.blockscout.com",apiUrl:"https://optimism-sepolia.blockscout.com/api"}},contracts:{...r.o.contracts,disputeGameFactory:{0xaa36a7:{address:"0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"}},l2OutputOracle:{0xaa36a7:{address:"0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1620204},portal:{0xaa36a7:{address:"0x16Fc5058F25648194471939df75CF27A2fdC48BC"}},l1StandardBridge:{0xaa36a7:{address:"0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1"}}},testnet:!0,sourceId:0xaa36a7})},29762:(e,t)=>{t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},31461:(e,t,n)=>{"use strict";n.d(t,{E:()=>f});var r=n(34049),i=n(80043),o=n(74268),a=n(38445),s=class extends a.Q{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let o=t.queryKey,a=t.queryHash??(0,r.F$)(o,t),s=this.get(a);return s||(s=new i.X({client:e,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(s)),s}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){o.jG.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.MK)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,r.MK)(e,t)):t}notify(e){o.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){o.jG.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){o.jG.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},l=n(38559),c=class extends a.Q{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#n=new Map,this.#r=0}#t;#n;#r;build(e,t,n){let r=new l.s({client:e,mutationCache:this,mutationId:++this.#r,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#t.add(e);let t=u(e);if("string"==typeof t){let n=this.#n.get(t);n?n.push(e):this.#n.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){let t=u(e);if("string"==typeof t){let n=this.#n.get(t);if(n)if(n.length>1){let t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#n.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=u(e);if("string"!=typeof t)return!0;{let n=this.#n.get(t),r=n?.find(e=>"pending"===e.state.status);return!r||r===e}}runNext(e){let t=u(e);if("string"!=typeof t)return Promise.resolve();{let n=this.#n.get(t)?.find(t=>
1t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){o.jG.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#n.clear()})}getAll(){return Array.from(this.#t)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.nJ)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,r.nJ)(e,t))}notify(e){o.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return o.jG.batch(()=>Promise.all(e.map(e=>e.continue().catch(r.lQ))))}};function u(e){return e.options.scope?.id}var d=n(56195),h=n(63122),f=class{#i;#o;#a;#s;#l;#c;#u;#d;constructor(e={}){this.#i=e.queryCache||new s,this.#o=e.mutationCache||new c,this.#a=e.defaultOptions||{},this.#s=new Map,this.#l=new Map,this.#c=0}mount(){this.#c++,1===this.#c&&(this.#u=d.m.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#i.onFocus())}),this.#d=h.t.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#i.onOnline())}))}unmount(){this.#c--,0===this.#c&&(this.#u?.(),this.#u=void 0,this.#d?.(),this.#d=void 0)}isFetching(e){return this.#i.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#o.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#i.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#i.build(this,t),i=n.state.data;return void 0===i?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime((0,r.d2)(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#i.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let i=this.defaultQueryOptions({queryKey:e}),o=this.#i.get(i.queryHash),a=o?.state.data,s=(0,r.Zw)(t,a);if(void 0!==s)return this.#i.build(this,i).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return o.jG.batch(()=>this.#i.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#i.get(t.queryHash)?.state}removeQueries(e){let t=this.#i;o.jG.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#i;return o.jG.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all(o.jG.batch(()=>this.#i.findAll(e).map(e=>e.cancel(n)))).then(r.lQ).catch(r.lQ)}invalidateQueries(e,t={}){return o.jG.batch(()=>(this.#i.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(o.jG.batch(()=>this.#i.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(r.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(r.lQ)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#i.build(this,t);return n.isStaleByTime((0,r.d2)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(r.lQ).catch(r.lQ)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(r.lQ).catch(r.lQ)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return h.t.isOnline()?this.#o.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#i}getMutationCache(){return this.#o}getDefaultOptions(){return this.#a}setDefaultOptions(e){this.#a=e}setQueryDefaults(e,t){this.#s.set((0,r.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#s.values()],n={};return t.forEach(t=>{(0,r.Cp)(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#l.set((0,r.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#l.values()],n={};return t.forEach(t=>{(0,r.Cp)(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#a.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,r.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===r.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#a.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#i.clear(),this.#o.clear()}}},31937:(e,t,n)=>{let r=n(89158),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(e){this.mode=r.ALPHANUMERIC,this.data=e}o.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=45*i.indexOf(this.data[t]);n+=i.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(i.indexOf(this.data[t]),6)},e.exports=o},33791:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});let r=(0,n(91053).x)({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol
1:"ETH",decimals:18},blockTime:12e3,rpcUrls:{default:{http:["https://ethereum.reth.rs/rpc"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensUniversalResolver:{address:"0xeeeeeeee14d718c2b47d9923deab1335e144eeee",blockCreated:0x16041f6},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0xdb04c1}}})},35425:e=>{function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){let t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)==1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},35432:(e,t,n)=>{"use strict";n.d(t,{$:()=>l});var r=n(2535),i=n(43159),o=n(34561),a=n(77608),s=n(73168);function l(e={}){let t,c,u,d;return(0,r.U)(r=>({id:"baseAccount",name:"Base Account",rdns:"app.base.account",type:"baseAccount",async connect({chainId:e,withCapabilities:t,...n}={}){try{let l=await this.getProvider(),h=e??r.chains[0]?.id;if(!h)throw new i.nk;let f=await l.request({method:"wallet_connect",params:[{capabilities:"capabilities"in n&&n.capabilities?n.capabilities:{},chainIds:[(0,o.cK)(h),...r.chains.filter(e=>e.id!==h).map(e=>(0,o.cK)(e.id))]}]}),p=f.accounts.map(e=>({address:(0,a.b)(e.address),capabilities:e.capabilities??{}})),m=Number(f.chainIds[0]);if(c||(c=this.onAccountsChanged.bind(this),l.on("accountsChanged",c)),u||(u=this.onChainChanged.bind(this),l.on("chainChanged",u)),d||(d=this.onDisconnect.bind(this),l.on("disconnect",d)),e&&m!==e){let t=await this.switchChain({chainId:e}).catch(e=>{if(e.code===s.vx.code)throw e;return{id:m}});m=t?.id??m}return{accounts:t?p:p.map(e=>e.address),chainId:m}}catch(e){if(/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(e.message))throw new s.vx(e);throw e}},async disconnect(){let e=await this.getProvider();c&&(e.removeListener("accountsChanged",c),c=void 0),u&&(e.removeListener("chainChanged",u),u=void 0),d&&(e.removeListener("disconnect",d),d=void 0),e.disconnect()},async getAccounts(){let e=await this.getProvider();return(await e.request({method:"eth_accounts"})).map(e=>(0,a.b)(e))},async getChainId(){let e=await this.getProvider();return Number(await e.request({method:"eth_chainId"}))}
1,async getProvider(){if(!t){let i="string"==typeof e.preference?{options:e.preference}:{...e.preference,options:e.preference?.options??"all"},{createBaseAccountSDK:o}=await Promise.all([n.e(1563),n.e(1128),n.e(7097),n.e(8273),n.e(7635)]).then(n.bind(n,17635));t=o({...e,appChainIds:r.chains.map(e=>e.id),preference:i}).getProvider()}return t},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:t}){let n=r.chains.find(e=>e.id===t);if(!n)throw new s.ch(new i.nk);let a=await this.getProvider();try{return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,o.cK)(n.id)}]}),n}catch(r){if(4902===r.code)try{let r,i;r=e?.blockExplorerUrls?e.blockExplorerUrls:n.blockExplorers?.default.url?[n.blockExplorers?.default.url]:[],i=e?.rpcUrls?.length?e.rpcUrls:[n.rpcUrls.default?.http[0]??""];let s={blockExplorerUrls:r,chainId:(0,o.cK)(t),chainName:e?.chainName??n.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??n.nativeCurrency,rpcUrls:i};return await a.request({method:"wallet_addEthereumChain",params:[s]}),n}catch(e){throw new s.vx(e)}throw new s.ch(r)}},onAccountsChanged(e){0===e.length?this.onDisconnect():r.emitter.emit("change",{accounts:e.map(e=>(0,a.b)(e))})},onChainChanged(e){let t=Number(e);r.emitter.emit("change",{chainId:t})},async onDisconnect(e){r.emitter.emit("disconnect");let t=await this.getProvider();c&&(t.removeListener("accountsChanged",c),c=void 0),u&&(t.removeListener("chainChanged",u),u=void 0),d&&(t.removeListener("disconnect",d),d=void 0)}}))}},35630:(e,t,n)=>{let r=n(46342).getSymbolSize;t.getPositions=function(e){let t=r(e);return[[0,0],[t-7,0],[0,t-7]]}},37734:e=>{e.exports={style:{fontFamily:"'Space Grotesk', 'Space Grotesk Fallback'",fontStyle:"normal"},className:"__className_dd5b2f",variable:"__variable_dd5b2f"}},41953:(e,t,n)=>{let r=n(46342),i=r.getBCHDigit(1335);t.getEncodedBits=function(e,t){let n=e.bit<<3|t,o=n<<10;for(;r.getBCHDigit(o)-i>=0;)o^=1335<<r.getBCHDigit(o)-i;return(n<<10|o)^21522}},44006:(e,t,n)=>{let r=n(89158);function i(e){this.mode=r.BYTE,"string"==typeof e?this.data=new TextEncoder().encode(e):this.data=new Uint8Array(e)}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},e.exports=i},45687:(e,t,n)=>{"use strict";var r,i;r=n(54592),i=n(49506),t.version=r.version,t.renderToString=r.renderToString,t.renderToStaticMarkup=r.renderToStaticMarkup,t.renderToReadableStream=i.renderToReadableStream,i.resume&&(t.resume=i.resume)},46342:(e,t)=>{let n,r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw Error('"version" cannot be null or undefined');if(e<1||e>40)throw Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return r[e]},t.getBCHDigit=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw Error('"toSJISFunc" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return void 0!==n},t.toSJIS=function(e){return n(e)}},47957:(e,t,n)=>{var r=0/0,i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),h=Object.prototype.toString,f=Math.max,p=Math.min,m=function(){return d.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==h.call(t))return r;if(g(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=g(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var c=a.test(e);return c||s.test(e)?l(e.slice(2),c?2:8):o.test(e)?r:+e}e.exports=function(e,t,n){var r,i,o,a,s,l,c=0,u=!1,d=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function b(e){var n=e-l,r=e-c;return void 0===l||n>=t||n<0||d&&r>=o}function w(){var e,n,r,i=m();if(b(i))return E(i);s=setTimeout(w,(e=i-l,n=i-c,r=t-e,d?p(r,o-n):r))}function E(e){return(s=void 0,h&&r)?y(e):(r=i=void 0,a)}function x(){var e,n=m(),o=b(n);if(r=arguments,i=this,l=n,o){if(void 0===s)return c=e=l,s=setTimeout(w,t),u?y(e):a;if(d)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=v(t)||0,g(n)&&(u=!!n.leading,o=(d="maxWait"in n)?f(v(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),x.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},x.flush=function(){return void 0===s?a:E(m())},x}},50915:(e,t,n)=>{let r=n(10429);t.mul=function(e,t){let n=new Uint8Array(e.length+t.length-1);for(let i=0;i<e.length;i++)for(let o=0;o<t.length;o++)n[i+o]^=r.mul(e[i],t[o]);return n},t.mod=function(e,t){let n=new Uint8Array(e);for(;n.length-t.length>=0;){let e=n[0];for(let i=0;i<t.length;i++)n[i]^=r.mul(t[i],e);let i=0;for(;i<n.length&&0===n[i];)i++;n=n.slice(i)}return n},t.generateECPolynomial=function(e){let n=new Uint8Array([1]);for(let i=0;i<e;i++)n=t.mul(n,new Uint8Array([1,r.exp(i)]));return n}},52686:(e,t)=>{function n(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");
1if(t.length<3||5===t.length||t.length>8)throw Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),6===t.length&&t.push("F","F");let n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});let t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;return{width:r,scale:r?4:i,margin:t,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){let r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){let i=n.modules.size,o=n.modules.data,a=t.getScale(i,r),s=Math.floor((i+2*r.margin)*a),l=r.margin*a,c=[r.color.light,r.color.dark];for(let t=0;t<s;t++)for(let n=0;n<s;n++){let u=(t*s+n)*4,d=r.color.light;t>=l&&n>=l&&t<s-l&&n<s-l&&(d=c[+!!o[Math.floor((t-l)/a)*i+Math.floor((n-l)/a)]]),e[u++]=d.r,e[u++]=d.g,e[u++]=d.b,e[u]=d.a}}},52749:(e,t,n)=>{var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n.g&&n.g,i=function(){function e(){this.fetch=!1,this.DOMException=r.DOMException}return e.prototype=r,new e}();!function(e){!function(t){var r=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==n.g&&n.g||{},i={searchParams:"URLSearchParams"in r,iterable:"Symbol"in r&&"iterator"in Symbol,blob:"FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in r,arrayBuffer:"ArrayBuffer"in r};if(i.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(e){return e&&o.indexOf(Object.prototype.toString.call(e))>-1};function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function l(e){return"string"!=typeof e&&(e=String(e)),e}function c(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i.iterable&&(t[Symbol.iterator]=function(){return t}),t}function u(e){this.map={},e instanceof u?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function d(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(TypeError("Already read"));e.bodyUsed=!0}}function h(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function f(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function p(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this.bodyUsed=this.bodyUsed,this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(i.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(i.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(i.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else{var t;i.arrayBuffer&&i.blob&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=p(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||a(e))?this._bodyArrayBuffer=p(e):this._bodyText=e=Object.prototype.toString.call(e)}else this._noBody=!0,this._bodyText="";!this.headers.get("content-type")&&("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(!this._bodyFormData)return Promise.resolve(new Blob([this._bodyText]));throw Error("could not read FormData body as blob")}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=d(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(i.blob)return this.blob().then(f);throw Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,o=d(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,n=h(t=new FileReader),i=(r=/charset=([A-Za-z0-9_-]+)/.exec(e.type))?r[1]:"utf-8",t.readAsText(e,i),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(!this._bodyFormData)return Promise.resolve(this._bodyText);throw Error("could not read FormData body as text")},i.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}u.prototype.append=function(e,t){e=s(e),t=l(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},u.prototype.delete=function(e){delete this.map[s(e)]},u.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},u.prototype.set=function(e,t){this.map[s(e)]=l(t)},u.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},u.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),c(e)},u.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),c(e)},u.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),c(e)},i.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);var g=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(e,t){if(!(this instanceof v))throw TypeError('Please use the "new" operator, this DOM object c
1onstructor cannot be called as a function.');var n,i,o=(t=t||{}).body;if(e instanceof v){if(e.bodyUsed)throw TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new u(t.headers)),this.method=(i=(n=t.method||this.method||"GET").toUpperCase(),g.indexOf(i)>-1?i:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in r)return new AbortController().signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),("GET"===this.method||"HEAD"===this.method)&&("no-store"===t.cache||"no-cache"===t.cache)){var a=/([?&])_=[^&]*/;a.test(this.url)?this.url=this.url.replace(a,"$1_="+new Date().getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+new Date().getTime()}}function y(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function b(e,t){if(!(this instanceof b))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},b.error=function(){var e=new b(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var w=[301,302,303,307,308];b.redirect=function(e,t){if(-1===w.indexOf(t))throw RangeError("Invalid status code");return new b(null,{status:t,headers:{location:e}})},t.DOMException=r.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function E(e,n){return new Promise(function(o,a){var c=new v(e,n);if(c.signal&&c.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var d=new XMLHttpRequest;function h(){d.abort()}if(d.onload=function(){var e,t,n={statusText:d.statusText,headers:(e=d.getAllResponseHeaders()||"",t=new u,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();try{t.append(r,i)}catch(e){console.warn("Response "+e.message)}}}),t)};0===c.url.indexOf("file://")&&(d.status<200||d.status>599)?n.status=200:n.status=d.status,n.url="responseURL"in d?d.responseURL:n.headers.get("X-Request-URL");var r="response"in d?d.response:d.responseText;setTimeout(function(){o(new b(r,n))},0)},d.onerror=function(){setTimeout(function(){a(TypeError("Network request failed"))},0)},d.ontimeout=function(){setTimeout(function(){a(TypeError("Network request timed out"))},0)},d.onabort=function(){setTimeout(function(){a(new t.DOMException("Aborted","AbortError"))},0)},d.open(c.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(c.url),!0),"include"===c.credentials?d.withCredentials=!0:"omit"===c.credentials&&(d.withCredentials=!1),"responseType"in d&&(i.blob?d.responseType="blob":i.arrayBuffer&&(d.responseType="arraybuffer")),n&&"object"==typeof n.headers&&!(n.headers instanceof u||r.Headers&&n.headers instanceof r.Headers)){var f=[];
1Object.getOwnPropertyNames(n.headers).forEach(function(e){f.push(s(e)),d.setRequestHeader(e,l(n.headers[e]))}),c.headers.forEach(function(e,t){-1===f.indexOf(t)&&d.setRequestHeader(t,e)})}else c.headers.forEach(function(e,t){d.setRequestHeader(t,e)});c.signal&&(c.signal.addEventListener("abort",h),d.onreadystatechange=function(){4===d.readyState&&c.signal.removeEventListener("abort",h)}),d.send(void 0===c._bodyInit?null:c._bodyInit)})}E.polyfill=!0,r.fetch||(r.fetch=E,r.Headers=u,r.Request=v,r.Response=b),t.Headers=u,t.Request=v,t.Response=b,t.fetch=E,Object.defineProperty(t,"__esModule",{value:!0})}({})}(i),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var o=r.fetch?r:i;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},52769:(e,t,n)=>{let r=n(91791),i=n(93711),o=n(85289),a=n(23308);function s(e,t,n,o,a){let s=[].slice.call(arguments,1),l=s.length,c="function"==typeof s[l-1];if(!c&&!r())throw Error("Callback required as last argument");if(c){if(l<2)throw Error("Too few arguments provided");2===l?(a=n,n=t,t=o=void 0):3===l&&(t.getContext&&void 0===a?(a=o,o=void 0):(a=o,o=n,n=t,t=void 0))}else{if(l<1)throw Error("Too few arguments provided");return 1===l?(n=t,t=o=void 0):2!==l||t.getContext||(o=n,n=t,t=void 0),new Promise(function(r,a){try{let a=i.create(n,o);r(e(a,t,o))}catch(e){a(e)}})}try{let r=i.create(n,o);a(null,e(r,t,o))}catch(e){a(e)}}i.create,s.bind(null,o.render),s.bind(null,o.renderToDataURL),s.bind(null,function(e,t,n){return a.render(e,n)})},53896:(e,t)=>{let n="[0-9]+",r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",i="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=RegExp(r,"g"),t.BYTE_KANJI=RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=RegExp(i,"g"),t.NUMERIC=RegExp(n,"g"),t.ALPHANUMERIC=RegExp("[A-Z $%*+\\-./:]+","g");let o=RegExp("^"+r+"$"),a=RegExp("^"+n+"$"),s=RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return o.test(e)},t.testNumeric=function(e){return a.test(e)},t.testAlphanumeric=function(e){return s.test(e)}},54415:(e,t,n)=>{let r=n(89158);function i(e){this.mode=r.NUMERIC,this.data=e.toString()}i.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t,n;for(t=0;t+3<=this.data.length;t+=3)n=parseInt(this.data.substr(t,3),10),e.put(n,10);let r=this.data.length-t;r>0&&(n=parseInt(this.data.substr(t),10),e.put(n,3*r+1))},e.exports=i},56674:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(24250);function i(e,{errorInstance:t=Error("timed out"),timeout:n,signal:i}){return new Promise((o,a)=>{(async()=>{let s,l=new AbortController;try{n>0&&(s=setTimeout(()=>{i?l.abort():a(t)},n)),o(await e({signal:l?.signal||null}))}catch(e){if(l?.signal.aborted&&(0,r.zf)(e))return void a(t);a(e)}finally{clearTimeout(s)}})()})}},62546:e=>{function t(e){if(!e||e<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}t.prototype.set=function(e,t,n,r){let i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)},t.prototype.get=function(e,t){return this.data[e*this.size+t]},t.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},t.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=t},69435:(e,t,n)=>{let r=n(46342),i=n(81010),o=n(24967),a=n(89158),s=n(29762),l=r.getBCHDigit(7973);function c(e,t){return a.getCharCountIndicator(e,t)+4}t.from=function(e,t){return s.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,n){if(!s.isValid(e))throw Error("Invalid QR Code version");void 0===n&&(n=a.BYTE);let o=(r.getSymbolTotalCodewords(e)-i.getTotalCodewordsCount(e,t))*8;if(n===a.MIXED)return o;let l=o-c(n,e);switch(n){case a.NUMERIC:return Math.floor(l/10*3);case a.ALPHANUMERIC:return Math.floor(l/11*2);case a.KANJI:return Math.floor(l/13);case a.BYTE:default:return Math.floor(l/8)}},t.getBestVersionForData=function(e,n){let r,i=o.from(n,o.M);if(Array.isArray(e)){if(e.length>1){for(let n=1;n<=40;n++)if(function(e,t){let n=0;return e.forEach(function(e){let r=c(e.mode,t);n+=r+e.getBitsLength()}),n}(e,n)<=t.getCapacity(n,i,a.MIXED))return n;return}if(0===e.length)return 1;r=e[0]}else r=e;return function(e,n,r){for(let i=1;i<=40;i++)if(n<=t.getCapacity(i,r,e))return i}(r.mode,r.getLength(),i)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw Error("Invalid QR Code version");let t=e<<12;
vendor: 3,171 bytes, line 1
1for(;r.getBCHDigit(t)-l>=0;)t^=7973<<r.getBCHDigit(t)-l;return e<<12|t}},70371:(e,t,n)=>{let r=n(89158),i=n(54415),o=n(31937),a=n(44006),s=n(73987),l=n(53896),c=n(46342),u=n(88072);function d(e){return unescape(encodeURIComponent(e)).length}function h(e,t,n){let r,i=[];for(;null!==(r=e.exec(n));)i.push({data:r[0],index:r.index,mode:t,length:r[0].length});return i}function f(e){let t,n,i=h(l.NUMERIC,r.NUMERIC,e),o=h(l.ALPHANUMERIC,r.ALPHANUMERIC,e);return c.isKanjiModeEnabled()?(t=h(l.BYTE,r.BYTE,e),n=h(l.KANJI,r.KANJI,e)):(t=h(l.BYTE_KANJI,r.BYTE,e),n=[]),i.concat(o,t,n).sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function p(e,t){switch(t){case r.NUMERIC:return i.getBitsLength(e);case r.ALPHANUMERIC:return o.getBitsLength(e);case r.KANJI:return s.getBitsLength(e);case r.BYTE:return a.getBitsLength(e)}}function m(e,t){let n,l=r.getBestModeForData(e);if((n=r.from(t,l))!==r.BYTE&&n.bit<l.bit)throw Error('"'+e+'" cannot be encoded with mode '+r.toString(n)+".\n Suggested mode is: "+r.toString(l));switch(n===r.KANJI&&!c.isKanjiModeEnabled()&&(n=r.BYTE),n){case r.NUMERIC:return new i(e);case r.ALPHANUMERIC:return new o(e);case r.KANJI:return new s(e);case r.BYTE:return new a(e)}}t.fromArray=function(e){return e.reduce(function(e,t){return"string"==typeof t?e.push(m(t,null)):t.data&&e.push(m(t.data,t.mode)),e},[])},t.fromString=function(e,n){let i=function(e,t){let n={},i={start:{}},o=["start"];for(let a=0;a<e.length;a++){let s=e[a],l=[];for(let e=0;e<s.length;e++){let c=s[e],u=""+a+e;l.push(u),n[u]={node:c,lastCount:0},i[u]={};for(let e=0;e<o.length;e++){let a=o[e];n[a]&&n[a].node.mode===c.mode?(i[a][u]=p(n[a].lastCount+c.length,c.mode)-p(n[a].lastCount,c.mode),n[a].lastCount+=c.length):(n[a]&&(n[a].lastCount=c.length),i[a][u]=p(c.length,c.mode)+4+r.getCharCountIndicator(c.mode,t))}}o=l}for(let e=0;e<o.length;e++)i[o[e]].end=0;return{map:i,table:n}}(function(e){let t=[];for(let n=0;n<e.length;n++){let i=e[n];switch(i.mode){case r.NUMERIC:t.push([i,{data:i.data,mode:r.ALPHANUMERIC,length:i.length},{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.ALPHANUMERIC:t.push([i,{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.KANJI:t.push([i,{data:i.data,mode:r.BYTE,length:d(i.data)}]);break;case r.BYTE:t.push([{data:i.data,mode:r.BYTE,length:d(i.data)}])}}return t}(f(e,c.isKanjiModeEnabled())),n),o=u.find_path(i.map,"start","end"),a=[];for(let e=1;e<o.length-1;e++)a.push(i.table[o[e]].node);return t.fromArray(a.reduce(function(e,t){let n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?e[e.length-1].data+=t.data:e.push(t),e},[]))},t.rawSplit=function(e){return t.fromArray(f(e,c.isKanjiModeEnabled()))}},71450:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>R,__assign:()=>o,__asyncDelegator:()=>T,__asyncGenerator:()=>C,__asyncValues:()=>I,__await:()=>k,__awaiter:()=>p,__classPrivateFieldGet:()=>D,__classPrivateFieldIn:()=>L,__classPrivateFieldSet:()=>P,__createBinding:()=>g,__decorate:()=>s,__disposeResources:()=>j,__esDecorate:()=>c,__exportStar:()=>v,__extends:()=>i,__generator:()=>m,__importDefault:()=>A,__importStar:()=>
1O,__makeTemplateObject:()=>N,__metadata:()=>f,__param:()=>l,__propKey:()=>d,__read:()=>b,__rest:()=>a,__rewriteRelativeImportExtension:()=>F,__runInitializers:()=>u,__setFunctionName:()=>h,__spread:()=>w,__spreadArray:()=>x,__spreadArrays:()=>E,__values:()=>y,default:()=>B});var r=function(e,t){return(r=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])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=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 a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){var i,o=arguments.length,a=o<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 s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),h=!1,f=n.length-1;f>=0;f--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var g=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&i.unshift(s)}else(s=a(g))&&("field"===l?i.unshift(s):d[c]=s)}u&&Object.defineProperty(u,r.name,d),h=!0}function u(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function h(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})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function m(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var c=[s,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
vendor: 4,267 bytes, line 1
1(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function y(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 TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function E(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function x(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 k(e){return this instanceof k?(this.v=e,this):new k(e)}function C(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(e,t){i[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{var n;(n=i[e](t)).value instanceof k?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(e){u(o[0][3],e)}}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function T(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,i){t[r]=e[r]?function(t){return(n=!n)?{value:k(e[r](t)),done:!1}:i?i(t):t}:i}}function I(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(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,i){var o,a,s;o=r,a=i,s=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:s})},a)})}}}function N(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},_=function(e){return(_=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)};function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=_(e),r=0;r<n.length;r++)"default"!==n[r]&&g(t,e,n[r]);return S(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function D(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw 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)}function P(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){var r,i;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");
1if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var M="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function j(e){function t(t){e.error=e.hasError?new M(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function i(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function F(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,n,r,i,o){return n?t?".jsx":".js":!r||i&&o?r+i+"."+o.toLowerCase()+"js":e}):e}let B={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__esDecorate:c,__runInitializers:u,__propKey:d,__setFunctionName:h,__metadata:f,__awaiter:p,__generator:m,__createBinding:g,__exportStar:v,__values:y,__read:b,__spread:w,__spreadArrays:E,__spreadArray:x,__await:k,__asyncGenerator:C,__asyncDelegator:T,__asyncValues:I,__makeTemplateOb
1ject:N,__importStar:O,__importDefault:A,__classPrivateFieldGet:D,__classPrivateFieldSet:P,__classPrivateFieldIn:L,__addDisposableResource:R,__disposeResources:j,__rewriteRelativeImportExtension:F}},73987:(e,t,n)=>{let r=n(89158),i=n(46342);function o(e){this.mode=r.KANJI,this.data=e}o.getBitsLength=function(e){return 13*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=i.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n=(n>>>8&255)*192+(255&n),e.put(n,13)}},e.exports=o},81010:(e,t,n)=>{let r=n(24967),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case r.L:return i[(e-1)*4+0];case r.M:return i[(e-1)*4+1];case r.Q:return i[(e-1)*4+2];case r.H:return i[(e-1)*4+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case r.L:return o[(e-1)*4+0];case r.M:return o[(e-1)*4+1];case r.Q:return o[(e-1)*4+2];case r.H:return o[(e-1)*4+3];default:return}}},82050:(e,t,n)=>{"use strict";n.d(t,{L:()=>m});var r=n(4058),i=n(13933);class o extends i.C{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro",name:"UrlRequiredError"})}}var a=n(67550),s=n(24250),l=n(56674),c=n(59350);let u={current:0,take(){return this.current++},reset(){this.current=0}};async function d(e,{maxResponseBodySize:t}){if(!1===t)return e.text();let n=e.headers.get("Content-Length");if(n){let e=Number(n);if(e>t)throw new r.f({maxSize:t,size:e})}if(!e.body){let n=await e.text(),i=new TextEncoder().encode(n).length;if(i>t)throw new r.f({maxSize:t,size:i});return n}let i=e.body.getReader(),o=new TextDecoder,a="",s=0;try{for(;;){let{done:e,value:n}=await i.read();if(e)break;if((s+=n.byteLength)>t)throw await i.cancel(),new r.f({maxSize:t,size:s});a+=o.decode(n,{stream:!0})}return a+=o.decode()}finally{i.releaseLock()}}var h=n(53473);let f=0,p=new WeakMap;function m(e,t={}){let{batch:n,fetchFn:i,fetchOptions:g,key:v="http",maxResponseBodySize:y,methods:b,name:w="HTTP JSON-RPC",onFetchRequest:E,onFetchResponse:x,retryDelay:k,raw:C}=t;return({chain:m,retryCount:T,timeout:I})=>{let{batchSize:N=1e3,wait:S=0}="object"==typeof n?n:{},_=t.retryCount??T,O=I??t.timeout??1e4,A=e||m?.rpcUrls.default.http[0];if(!A)throw new o;let D=function(e,t={}){let{url:n,headers:i}=function(e){try{let t=new URL(e),n=(()=>{if(t.username){let e=`${decodeURIComponent(t.username)}:${decodeURIComponent(t.password)}`;return t.username="",t.password="",{url:t.toString(),headers:{Authorization:`Basic ${btoa(e)}`}}}})();return{url:t.toString(),...n}}catch{return{url:e}}}(e);return{async request(e){let{body:o,fetchFn:a=t.fetchFn??fetch,maxResponseBodySize:h=t.maxResponseBodySize??0xa00000,onRequest:f=t.onRequest,onResponse:p=t.onResponse,timeout:m=t.timeout??1e4}=e,g={...t.fetchOptions??{},...e.fetchOptions??{}},{headers:v,method:y,signal:b}=g;
1try{let e,t=await (0,l.w)(async({signal:e})=>{let t={...g,body:Array.isArray(o)?(0,c.A)(o.map(e=>({jsonrpc:"2.0",id:e.id??u.take(),...e}))):(0,c.A)({jsonrpc:"2.0",id:o.id??u.take(),...o}),headers:{...i,"Content-Type":"application/json",...v},method:y||"POST",signal:b||(m>0?e:null)},r=new Request(n,t),s=await f?.(r,t)??{...t,url:n};return await a(s.url??n,s)},{errorInstance:new r.MU({body:o,url:n}),timeout:m,signal:!0});p&&await p(t);let s=await d(t,{maxResponseBodySize:h});if(t.headers.get("Content-Type")?.startsWith("application/json"))e=JSON.parse(s);else{e=s;try{e=JSON.parse(e||"{}")}catch(n){if(t.ok)throw n;e={error:e}}}if(!t.ok){if("number"==typeof e.error?.code&&"string"==typeof e.error?.message)return e;throw new r.Ci({body:o,details:(0,c.A)(e.error)||t.statusText,headers:t.headers,status:t.status,url:n})}return e}catch(e){if(b?.aborted)throw(0,s.TY)(b);if((0,s.zf)(e)||e instanceof r.Ci||e instanceof r.f||e instanceof r.MU)throw e;throw new r.Ci({body:o,cause:e,url:n})}}}}(A,{fetchFn:i,fetchOptions:g,maxResponseBodySize:y,onRequest:E,onResponse:x,timeout:O});return(0,h.o)({key:v,methods:b,name:w,async request({method:e,params:t},i){let o={method:e,params:t},s=i?.signal?{signal:i.signal}:void 0,{schedule:l}=(0,a.u)({id:`${A}.${function(e){if(!e)return"default";let t=p.get(e);if(void 0!==t)return t;let n=f++;return p.set(e,n),n}(i?.signal)}`,wait:S,shouldSplitBatch:e=>e.length>N,fn:e=>D.request({body:e,fetchOptions:s}),sort:(e,t)=>e.id-t.id}),c=async e=>n?l(e):[await D.request({body:e,fetchOptions:s})],[{error:u,result:d}]=await c(o);if(C)return{error:u,result:d};if(u)throw new r.J8({body:o,error:u,url:A});return d},retryCount:_,retryDelay:k,timeout:O,type:"http"},{fetchOptions:g,url:A})}}}
1,85289:(e,t,n)=>{let r=n(52686);t.render=function(e,t,n){var i;let o=n,a=t;void 0!==o||t&&t.getContext||(o=t,t=void 0),t||(a=function(){try{return document.createElement("canvas")}catch(e){throw Error("You need to specify a canvas element")}}()),o=r.getOptions(o);let s=r.getImageWidth(e.modules.size,o),l=a.getContext("2d"),c=l.createImageData(s,s);return r.qrToImageData(c.data,e,o),i=a,l.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px",l.putImageData(c,0,0),a},t.renderToDataURL=function(e,n,r){let i=r;void 0!==i||n&&n.getContext||(i=n,n=void 0),i||(i={});let o=t.render(e,n,i),a=i.type||"image/png",s=i.rendererOpts||{};return o.toDataURL(a,s.quality)}},87562:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});let r=(0,n(91053).x)({id:0xaa36a7,name:"Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://11155111.rpc.thirdweb.com"]}},blockExplorers:{default:{name:"Etherscan",url:"https://sepolia.etherscan.io",apiUrl:"https://api-sepolia.etherscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:751532},ensUniversalResolver:{address:"0xeeeeeeee14d718c2b47d9923deab1335e144eeee",blockCreated:8928790}},testnet:!0})},88072:e=>{"use strict";var t={single_source_shortest_paths:function(e,n,r){var i,o,a,s,l,c,u,d={},h={};h[n]=0;var f=t.PriorityQueue.make();for(f.push(n,0);!f.empty();)for(a in o=(i=f.pop()).value,s=i.cost,l=e[o]||{})l.hasOwnProperty(a)&&(c=s+l[a],u=h[a],(void 0===h[a]||u>c)&&(h[a]=c,f.push(a,c),d[a]=o));if(void 0!==r&&void 0===h[r])throw Error("Could not find a path from "+n+" to "+r+".");return d},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,n,r){var i=t.single_source_shortest_paths(e,n,r);return t.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(e){var n,r=t.PriorityQueue,i={};for(n in e=e||{},r)r.hasOwnProperty(n)&&(i[n]=r[n]);return i.queue=[],i.sorter=e.sorter||r.default_sorter,i},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t},89158:(e,t,n)=>{let r=n(29762),i=n(53896);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw Error("Invalid mode: "+e);if(!r.isValid(t))throw Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return i.testNumeric(e)?t.NUMERIC:i.testAlphanumeric(e)?t.ALPHANUMERIC:i.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{if("string"!=typeof e)throw Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw Error("Unknown mode: "+e)}}catch(e){return n}}},91791:e=>{e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},93711:(e,t,n)=>{let r=n(46342),i=n(24967),o=n(35425),a=n(62546),s=n(669),l=n(35630),c=n(19542),u=n(81010),d=n(95230),h=n(69435),f=n(41953),p=n(89158),m=n(70371);function g(e,t,n){let r,i,o=e.size,a=f.getEncodedBits(t,n);for(r=0;r<15;r++)i=(a>>r&1)==1,r<6?e.set(r,8,i,!0):r<8?e.set(r+1,8,i,!0):e.set(o-15+r,8,i,!0),r<8?e.set(8,o-r-1,i,!0):r<9?e.set(8,15-r-1+1,i,!0):e.set(8,15-r-1,i,!0);e.set(o-8,8,1,!0)}t.create=function(e,t){let n,f;if(void 0===e||""===e)throw Error("No input text");let v=i.M;return void 0!==t&&(v=i.from(t.errorCorrectionLevel,i.M),n=h.from(t.version),f=c.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),function(e,t,n,i){let f;if(Array.isArray(e))f=m.fromArray(e);else if("string"==typeof e){let r=t;if(!r){let t=m.rawSplit(e);r=h.getBestVersionForData(t,n)}f=m.fromString(e,r||40)}else throw Error("Invalid data");let v=h.getBestVersionForData(f,n);if(!v)throw Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<v)throw Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+v+".\n")}else t=v;let y=function(e,t,n){let i=new o;
1n.forEach(function(t){i.put(t.mode.bit,4),i.put(t.getLength(),p.getCharCountIndicator(t.mode,e)),t.write(i)});let a=(r.getSymbolTotalCodewords(e)-u.getTotalCodewordsCount(e,t))*8;for(i.getLengthInBits()+4<=a&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);let s=(a-i.getLengthInBits())/8;for(let e=0;e<s;e++)i.put(e%2?17:236,8);return function(e,t,n){let i,o,a=r.getSymbolTotalCodewords(t),s=a-u.getTotalCodewordsCount(t,n),l=u.getBlocksCount(t,n),c=a%l,h=l-c,f=Math.floor(a/l),p=Math.floor(s/l),m=p+1,g=f-p,v=new d(g),y=0,b=Array(l),w=Array(l),E=0,x=new Uint8Array(e.buffer);for(let e=0;e<l;e++){let t=e<h?p:m;b[e]=x.slice(y,y+t),w[e]=v.encode(b[e]),y+=t,E=Math.max(E,t)}let k=new Uint8Array(a),C=0;for(i=0;i<E;i++)for(o=0;o<l;o++)i<b[o].length&&(k[C++]=b[o][i]);for(i=0;i<g;i++)for(o=0;o<l;o++)k[C++]=w[o][i];return k}(i,e,t)}(t,n,f),b=new a(r.getSymbolSize(t));!function(e,t){let n=e.size,r=l.getPositions(t);for(let t=0;t<r.length;t++){let i=r[t][0],o=r[t][1];for(let t=-1;t<=7;t++)if(!(i+t<=-1)&&!(n<=i+t))for(let r=-1;r<=7;r++)o+r<=-1||n<=o+r||(t>=0&&t<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===t||6===t)||t>=2&&t<=4&&r>=2&&r<=4?e.set(i+t,o+r,!0,!0):e.set(i+t,o+r,!1,!0))}}(b,t);let w=b.size;for(let e=8;e<w-8;e++){let t=e%2==0;b.set(e,6,t,!0),b.set(6,e,t,!0)}return!function(e,t){let n=s.getPositions(t);for(let t=0;t<n.length;t++){let r=n[t][0],i=n[t][1];for(let t=-2;t<=2;t++)for(let n=-2;n<=2;n++)-2===t||2===t||-2===n||2===n||0===t&&0===n?e.set(r+t,i+n,!0,!0):e.set(r+t,i+n,!1,!0)}}(b,t),g(b,n,0),t>=7&&function(e,t){let n,r,i,o=e.size,a=h.getEncodedBits(t);for(let t=0;t<18;t++)n=Math.floor(t/3),r=t%3+o-8-3,i=(a>>t&1)==1,e.set(n,r,i,!0),e.set(r,n,i,!0)}(b,t),!function(e,t){let n=e.size,r=-1,i=n-1,o=7,a=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!e.isReserved(i,s-n)){let r=!1;a<t.length&&(r=(t[a]>>>o&1)==1),e.set(i,s-n,r),-1==--o&&(a++,o=7)}if((i+=r)<0||n<=i){i-=r,r=-r;break}}}(b,y),isNaN(i)&&(i=c.getBestMask(b,g.bind(null,b,n))),c.applyMask(i,b),g(b,n,i),{modules:b,version:t,errorCorrectionLevel:n,maskPattern:i,segments:f}}(e,n,v,f)}},95230:(e,t,n)=>{let r=n(50915);function i(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}i.prototype.initialize=function(e){this.degree=e,this.genPoly=r.generateECPolynomial(this.degree)},i.prototype.encode=function(e){if(!this.genPoly)throw Error("Encoder not initialized");let t=new Uint8Array(e.length+this.degree);t.set(e);let n=r.mod(t,this.genPoly),i=this.degree-n.length;if(i>0){let e=new Uint8Array(this.degree);return e.set(n,i),e}return n},e.exports=i},96040:(e,t,n)=>{"use strict";n.d(t,{QM:()=>X});var r,i,o,a,s,l,c,u=n(95155),d=n(12745);let h={apiKey:null,chain:d.Z,config:{analytics:!0,analyticsUrl:null,appearance:{name:null,logo:null,mode:null,theme:null},paymaster:null,wallet:{display:null,termsUrl:null,privacyUrl:null,supportedWallets:{rabby:!1,trust:!1,frame:!1}}},rpcUrl:null,schemaId:null,projectId:null,sessionId:null,miniKit:{enabled:!1}},f=e=>h[e];
1var p=n(12115),m=n.t(p,2),g=n(31461),v=n(99776),y=n(65465),b=n(35432),w=n(96729),E=n(66358),x=n(19056),k=n(10140);let C={getItem:e=>"undefined"==typeof window?null:function(e,t){let n=e.split("; ").find(e=>e.startsWith(`${t}=`));if(n)return n.substring(t.length+1)}(document.cookie,e)??null,setItem(e,t){"undefined"!=typeof window&&(document.cookie=`${e}=${t};path=/;samesite=Lax`)},removeItem(e){"undefined"!=typeof window&&(document.cookie=`${e}=;max-age=-1;path=/`)}};var T=n(82050),I=n(88848),N=n(2535),S=n(43159),_=n(77608),O=n(73168),A=n(34561);function D(e={}){var t,r;let i,o,a,s,l,c,u,d,h;return"3"===e.version||e.headlessMode?(t=e,(0,N.U)(e=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",rdns:"com.coinbase.wallet",type:D.type,async connect({chainId:e,withCapabilities:t}={}){try{let n=await this.getProvider(),r=(await n.request({method:"eth_requestAccounts"})).map(e=>(0,_.b)(e));a||(a=this.onAccountsChanged.bind(this),n.on("accountsChanged",a)),s||(s=this.onChainChanged.bind(this),n.on("chainChanged",s)),l||(l=this.onDisconnect.bind(this),n.on("disconnect",l));let i=await this.getChainId();if(e&&i!==e){let t=await this.switchChain({chainId:e}).catch(e=>{if(e.code===O.vx.code)throw e;return{id:i}});i=t?.id??i}return{accounts:t?r.map(e=>({address:e,capabilities:{}})):r,chainId:i}}catch(e){if(/(user closed modal|accounts received is empty|user denied account)/i.test(e.message))throw new O.vx(e);throw e}},async disconnect(){let e=await this.getProvider();a&&(e.removeListener("accountsChanged",a),a=void 0),s&&(e.removeListener("chainChanged",s),s=void 0),l&&(e.removeListener("disconnect",l),l=void 0),e.disconnect(),e.close()},async getAccounts(){let e=await this.getProvider();return(await e.request({method:"eth_accounts"})).map(e=>(0,_.b)(e))},async getChainId(){let e=await this.getProvider();return Number(await e.request({method:"eth_chainId"}))}
1,async getProvider(){if(!o){i=new(await (async()=>{let{default:e}=await Promise.all([n.e(2183),n.e(4147)]).then(n.t.bind(n,2183,19));return"function"!=typeof e&&"function"==typeof e.default?e.default:e})())({...t,reloadOnDisconnect:!1});let r=i.walletExtension?.getChainId(),a=e.chains.find(e=>t.chainId?e.id===t.chainId:e.id===r)||e.chains[0],s=t.chainId||a?.id,l=t.jsonRpcUrl||a?.rpcUrls.default.http[0];o=i.makeWeb3Provider(l,s)}return o},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:n}){let r=e.chains.find(e=>e.id===n);if(!r)throw new O.ch(new S.nk);let i=await this.getProvider();try{return await i.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,A.cK)(r.id)}]}),r}catch(e){if(4902===e.code)try{let e,o;e=t?.blockExplorerUrls?t.blockExplorerUrls:r.blockExplorers?.default.url?[r.blockExplorers?.default.url]:[],o=t?.rpcUrls?.length?t.rpcUrls:[r.rpcUrls.default?.http[0]??""];let a={blockExplorerUrls:e,chainId:(0,A.cK)(n),chainName:t?.chainName??r.name,iconUrls:t?.iconUrls,nativeCurrency:t?.nativeCurrency??r.nativeCurrency,rpcUrls:o};return await i.request({method:"wallet_addEthereumChain",params:[a]}),r}catch(e){throw new O.vx(e)}throw new O.ch(e)}},onAccountsChanged(t){0===t.length?this.onDisconnect():e.emitter.emit("change",{accounts:t.map(e=>(0,_.b)(e))})},onChainChanged(t){let n=Number(t);e.emitter.emit("change",{chainId:n})},async onDisconnect(t){e.emitter.emit("disconnect");let n=await this.getProvider();a&&(n.removeListener("accountsChanged",a),a=void 0),s&&(n.removeListener("chainChanged",s),s=void 0),l&&(n.removeListener("disconnect",l),l=void 0)}}))):(r=e,(0,N.U)(e=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",rdns:"com.coinbase.wallet",type:D.type,async connect({chainId:e,withCapabilities:t,...n}={}){try{let r=await this.getProvider(),i=(await r.request({method:"eth_requestAccounts",params:"instantOnboarding"in n&&n.instantOnboarding?[{onboarding:"instant"}]:[]})).map(e=>(0,_.b)(e));u||(u=this.onAccountsChanged.bind(this),r.on("accountsChanged",u)),d||(d=this.onChainChanged.bind(this),r.on("chainChanged",d)),h||(h=this.onDisconnect.bind(this),r.on("disconnect",h));let o=await this.getChainId();if(e&&o!==e){let t=await this.switchChain({chainId:e}).catch(e=>{if(e.code===O.vx.code)throw e;return{id:o}});o=t?.id??o}return{accounts:t?i.map(e=>({address:e,capabilities:{}})):i,chainId:o}}catch(e){if(/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(e.message))throw new O.vx(e);throw e}},async disconnect(){let e=await this.getProvider();u&&(e.removeListener("accountsChanged",u),u=void 0),d&&(e.removeListener("chainChanged",d),d=void 0),h&&(e.removeListener("disconnect",h),h=void 0),e.disconnect(),e.close?.()},async getAccounts(){let e=await this.getProvider();return(await e.request({method:"eth_accounts"})).map(e=>(0,_.b)(e))},async getChainId(){let e=await this.getProvider();return Number(await e.request({method:"eth_chainId"}))}
1,async getProvider(){if(!c){let t="string"==typeof r.preference?{options:r.preference}:{...r.preference,options:r.preference?.options??"all"},{createCoinbaseWalletSDK:i}=await Promise.all([n.e(1563),n.e(1128),n.e(7097),n.e(8273),n.e(2615)]).then(n.bind(n,92615));c=i({...r,appChainIds:e.chains.map(e=>e.id),preference:t}).getProvider()}return c},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:n}){let r=e.chains.find(e=>e.id===n);if(!r)throw new O.ch(new S.nk);let i=await this.getProvider();try{return await i.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,A.cK)(r.id)}]}),r}catch(e){if(4902===e.code)try{let e,o;e=t?.blockExplorerUrls?t.blockExplorerUrls:r.blockExplorers?.default.url?[r.blockExplorers?.default.url]:[],o=t?.rpcUrls?.length?t.rpcUrls:[r.rpcUrls.default?.http[0]??""];let a={blockExplorerUrls:e,chainId:(0,A.cK)(n),chainName:t?.chainName??r.name,iconUrls:t?.iconUrls,nativeCurrency:t?.nativeCurrency??r.nativeCurrency,rpcUrls:o};return await i.request({method:"wallet_addEthereumChain",params:[a]}),r}catch(e){throw new O.vx(e)}throw new O.ch(e)}},onAccountsChanged(t){0===t.length?this.onDisconnect():e.emitter.emit("change",{accounts:t.map(e=>(0,_.b)(e))})},onChainChanged(t){let n=Number(t);e.emitter.emit("change",{chainId:n})},async onDisconnect(t){e.emitter.emit("disconnect");let n=await this.getProvider();u&&(n.removeListener("accountsChanged",u),u=void 0),d&&(n.removeListener("chainChanged",d),d=void 0),h&&(n.removeListener("disconnect",h),h=void 0)}})))}D.type="coinbaseWallet";var P=n(20411),L=n(81207);let R=(0,p.createContext)(h);function M(e){let{children:t}=e,{providedWagmiConfig:n,providedQueryClient:r}=function(){let e=null,t=null;try{e=(0,P.U)()}catch(e){e instanceof L.E||console.error("Error fetching WagmiProvider, using default:",e)}try{t=(0,v.jE)()}catch(e){"No QueryClient set, use QueryClientProvider to set one"!==e.message&&console.error("Error fetching QueryClient, using default:",e)}return(0,p.useMemo)(()=>({providedWagmiConfig:e,providedQueryClient:t}),[e,t])}();return(0,u.jsx)(j,{providedWagmiConfig:n,children:(0,u.jsx)(F,{providedQueryClient:r,children:t})})}function j(e){var t,n,r,i,o,a,s;let{children:l,providedWagmiConfig:c}=e,h=(0,p.useContext)(R),f=(0,p.useContext)(E.$),m=null!=(o=h.apiKey)?o:void 0,g=null!=(a=null==(n=null==(t=h.config)?void 0:t.appearance)?void 0:n.name)?a:void 0,v=null!=(s=null==(i=null==(r=h.config)?void 0:r.appearance)?void 0:i.logo)?s:void 0,N=(0,p.useMemo)(()=>(null==f?void 0:f.context)?(0,w.G4)():(0,b.$)({appName:g,appLogoUrl:v}),[g,v,null==f?void 0:f.context]),S=(0,p.useMemo)(()=>c||(({apiKey:e,appName:t,appLogoUrl:n,connectors:r=[D({appName:t,appLogoUrl:n,preference:"all"})]})=>(0,x.Z)({chains:[I.E,d.Z],connectors:r,storage:(0,k.wE)({storage:C}),ssr:!0,transports:{[I.E.id]:e?(0,T.L)(`https://api.developer.coinbase.com/rpc/v1/base/${e}`):(0,T.L)(),[d.Z.id]:e?(0,T.L)(`https://api.developer.coinbase.com/rpc/v1/base-sepolia/${e}`):(0,T.L)()}}))({apiKey:m,appName:g,appLogoUrl:v,connectors:[N]}),[c,N,m,g,v]);return c?l:(0,u.jsx)(y.x,{config:S,children:l})}function F(e){let{children:t,providedQueryClient:n}=e,r=(0,p.useMemo)(()=>n||new g.E,[n]);return n?t:(0,u.jsx)(v.Ht,{client:r,children:t})}var B=n(2187);class U{constructor(){this.clientMeta=null,this.initPromise=null}async init({isMiniKit:e}){if(this.isInitialized())return void console.warn("ClientMetaManager already initialized");this.initPromise=this.handleInit({isMiniKit:e})}isInitialized(){return!!this.initPromise}async getClientMeta(){if(!this.initPromise)throw Error("ClientMetaManager not initialized");return this.clientMeta?this.clientMeta:await this.initPromise}async handleInit({isMiniKit:e}){var t;let n=null;try{let e=await B.Ay.context;n=(null==(t=null==e?void 0:e.client)?void 0:t.clientFid)||null}catch(e){console.error("Error getting client FID",e)}return this.clientMeta={mode:e?"minikit":"onchainkit",clientFid:n},this.clientMeta}}let z=new U,q={"Content-Type":"application/json","OnchainKit-Version":"1.0.0"};async function $(e,t){var n;let r=f("config");if(null==r?void 0:r.analytics)try{let i=await z.getClientMeta();await fetch((null==r?void 0:r.analyticsUrl)??"https://api.developer.coinbase.com/analytics",{method:"POST",headers:{...q,"OnchainKit-App-Name":document.title,"OnchainKit-Client-Fid":(null==(n=i.clientFid)?void 0:n.toString())??"","OnchainKit-Mode":i.mode},body:JSON.stringify({apiKey:f("apiKey")??"undefined",sessionId:f("sessionId")??"undefined",timestamp:Date.now(),eventType:e,data:t,origin:window.location.origin})})}catch(e){}}let V=(e,t)=>$(e,t),K={FundOptionSelected:"fundOptionSelected"},G={ComponentError:"componentError"};class H extends p.Component{constructor(){super(...arguments),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("Uncaught error:",e,t),V(G.ComponentError,{component:"OnchainKitProviderBoundary",error:e.message,metadata:{message:e.message,stack:t.componentStack}})}
1render(){if(this.state.error){if(this.props.fallback){let e=this.props.fallback;return(0,u.jsx)(e,{error:this.state.error})}return(0,u.jsx)("h1",{children:"Sorry, we had an unhandled error"})}return this.props.children}}d.Z.id,I.E.id;let W=new Set(["light","dark"]);n(47957);var Q="undefined"!=typeof window?p.useLayoutEffect:p.useEffect;function Y(e,t,n,r){let i=(0,p.useRef)(t);Q(()=>{i.current=t},[t]),(0,p.useEffect)(()=>{let t=(null==n?void 0:n.current)??window;if(!(t&&t.addEventListener))return;let o=e=>{i.current(e)};return t.addEventListener(e,o,r),()=>{t.removeEventListener(e,o,r)}},[e,n,r])}function J(e){let t=(0,p.useRef)(()=>{throw Error("Cannot call an event handler while rendering.")});return Q(()=>{t.current=e},[e]),(0,p.useCallback)((...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)},[t])}var Z="undefined"==typeof window;function X(e){var t,n,r;let{analytics:i,apiKey:o,chain:a,children:s,config:l,projectId:c,rpcUrl:d,schemaId:f,miniKit:m={enabled:!1},defaultPublicClients:g}=e;if(f&&!RegExp("^0x[a-fA-F0-9]{64}$").test(f))throw Error('EAS schemaId must be 64 characters prefixed with "0x"');let[v]=function(e,t,n={}){let{initializeWithValue:r=!0}=n,i=(0,p.useCallback)(e=>n.serializer?n.serializer(e):JSON.stringify(e),[n]),o=(0,p.useCallback)(e=>{let r;if(n.deserializer)return n.deserializer(e);if("undefined"===e)return;let i=t instanceof Function?t():t;try{r=JSON.parse(e)}catch(e){return console.error("Error parsing JSON:",e),i}return r},[n,t]),a=(0,p.useCallback)(()=>{let n=t instanceof Function?t():t;if(Z)return n;try{let t=window.sessionStorage.getItem(e);return t?o(t):n}catch(t){return console.warn(`Error reading sessionStorage key \u201C${e}\u201D:`,t),n}},[t,e,o]),[s,l]=(0,p.useState)(()=>r?a():t instanceof Function?t():t),c=J(t=>{Z&&console.warn(`Tried setting sessionStorage key \u201C${e}\u201D even though environment is not a client`);try{let n=t instanceof Function?t(a()):t;window.sessionStorage.setItem(e,i(n)),l(n),window.dispatchEvent(new StorageEvent("session-storage",{key:e}))}catch(t){console.warn(`Error setting sessionStorage key \u201C${e}\u201D:`,t)}}),u=J(()=>{Z&&console.warn(`Tried removing sessionStorage key \u201C${e}\u201D even though environment is not a client`);let n=t instanceof Function?t():t;window.sessionStorage.removeItem(e),l(n),window.dispatchEvent(new StorageEvent("session-storage",{key:e}))});(0,p.useEffect)(()=>
1{l(a())},[e]);let d=(0,p.useCallback)(t=>{t.key&&t.key!==e||l(a())},[e,a]);return Y("storage",d),Y("session-storage",d),[s,c,u]}("ock-session-id",(()=>{if("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID();let e=(e=>{let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(16);return e[0].toString(16).padStart(2,"0")+e[1].toString(16).padStart(2,"0")+e[2].toString(16).padStart(2,"0")+e[3].toString(16).padStart(2,"0")+"-"+e[4].toString(16).padStart(2,"0")+e[5].toString(16).padStart(2,"0")+"-"+(15&e[6]|64).toString(16).padStart(2,"0")+e[7].toString(16).padStart(2,"0")+"-"+(63&e[8]|128).toString(16).padStart(2,"0")+e[9].toString(16).padStart(2,"0")+"-"+e[10].toString(16).padStart(2,"0")+e[11].toString(16).padStart(2,"0")+e[12].toString(16).padStart(2,"0")+e[13].toString(16).padStart(2,"0")+e[14].toString(16).padStart(2,"0")+e[15].toString(16).padStart(2,"0")})()),y=function({theme:e,mode:t}){return function({theme:e,mode:t,preferredMode:n}={}){let r=t&&W.has(t)?t:n,i=e||"default";return"cyberpunk"===i||"hacker"===i?i:`${i}-${r}`}({theme:e,mode:t,preferredMode:function(){let[e,t]=(0,p.useState)("light");return(0,p.useEffect)(()=>{let e=window.matchMedia("(prefers-color-scheme: dark)");function n(e){t(e.matches?"dark":"light")}return t(e.matches?"dark":"light"),e.addEventListener("change",n),()=>e.removeEventListener("change",n)},[]),e}()})}({theme:null==(t=null==l?void 0:l.appearance)?void 0:t.theme,mode:null==(n=null==l?void 0:l.appearance)?void 0:n.mode});(0,p.useLayoutEffect)(()=>{document.documentElement.setAttribute("data-ock-theme",y)},[y]);let b=!!(null==(r=(0,p.useContext)(E.$))?void 0:r.__isMiniKit);(0,p.useEffect)(()=>{z.isInitialized()||z.init({isMiniKit:b})},[b]);let w=(0,p.useMemo)(()=>{var e,t,n,r,s,u,p,y,b,w,E,x,k,C,T,I,N,S,_,O,A,D,P,L;let R=o?"https://api.developer.coinbase.com/rpc/v1/".concat(a.name.replace(" ","-").toLowerCase(),"/").concat(o):null,M={apiKey:null!=o?o:null,chain:a,config:{analytics:null==i||i,analyticsUrl:null!=(T=null==l?void 0:l.analyticsUrl)?T:null,appearance:{name:null!=(I=null==(e=null==l?void 0:l.appearance)?void 0:e.name)?I:"Dapp",logo:null!=(N=null==(t=null==l?void 0:l.appearance)?void 0:t.logo)?N:"",mode:null!=(S=null==(n=null==l?void 0:l.appearance)?void 0:n.mode)?S:"auto",theme:null!=(_=null==(r=null==l?void 0:l.appearance)?void 0:r.theme)?_:"default"},paymaster:(null==l?void 0:l.paymaster)||R,wallet:{display:null!=(O=null==(s=null==l?void 0:l.wallet)?void 0:s.display)?O:"classic",preference:null!=(A=null==(u=null==l?void 0:l.wallet)?void 0:u.preference)?A:"all",termsUrl:(null==(p=null==l?void 0:l.wallet)?void 0:p.termsUrl)||"https://base.org/terms-of-service",privacyUrl:(null==(y=null==l?void 0:l.wallet)?void 0:y.privacyUrl)||"https://base.org/privacy-policy",supp
1ortedWallets:{rabby:null!=(D=null==(w=null==(b=null==l?void 0:l.wallet)?void 0:b.supportedWallets)?void 0:w.rabby)&&D,trust:null!=(P=null==(x=null==(E=null==l?void 0:l.wallet)?void 0:E.supportedWallets)?void 0:x.trust)&&P,frame:null!=(L=null==(C=null==(k=null==l?void 0:l.wallet)?void 0:k.supportedWallets)?void 0:C.frame)&&L}}},projectId:null!=c?c:null,rpcUrl:null!=d?d:null,schemaId:null!=f?f:"0xf8b05c79f090979bf4a80270aba232dff11a10d9ca55c4f88de95317970f0de9",sessionId:v,defaultPublicClients:g,miniKit:m};return Object.assign(h,M),M},[i,o,a,l,c,d,f,v,g,m]);return(0,u.jsx)(R.Provider,{value:w,children:(0,u.jsx)(M,{children:(0,u.jsx)(E.h,{enabled:m.enabled,notificationProxyUrl:m.notificationProxyUrl,children:(0,u.jsx)(H,{children:s})})})})}let ee=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),et=[],en=(e,t,n)=>{if(0==e.length-t)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=en(e,t+1,i);if(n)return n}let o=n.validators;if(null===o)return;let a=0===t?e.join("-"):e.slice(t).join("-"),s=o.length;for(let e=0;e<s;e++){let t=o[e];if(t.validator(a))return t.classGroupId}},er=(e,t)=>{let n=ee();for(let r in e)ei(e[r],n,r,t);return n},ei=(e,t,n,r)=>{let i=e.length;for(let o=0;o<i;o++)eo(e[o],t,n,r)},eo=(e,t,n,r)=>"string"==typeof e?void ea(e,t,n):"function"==typeof e?void es(e,t,n,r):void el(e,t,n,r),ea=(e,t,n)=>{(""===e?t:ec(t,e)).classGroupId=n},es=(e,t,n,r)=>{if(eu(e))return void ei(e(r),t,n,r);null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:n,validator:e})},el=(e,t,n,r)=>{let i=Object.entries(e),o=i.length;for(let e=0;e<o;e++){let[o,a]=i[e];ei(a,ec(t,o),n,r)}},ec=(e,t)=>{let n=e,r=t.split("-"),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=ee(),n.nextPart.set(t,i)),n=i}return n},eu=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,ed=[],eh=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),ef=/\s+/,ep=e=>{let t;if("string"==typeof e)return e;let n="";for(let r=0;r<e.length;r++)e[r]&&(t=ep(e[r]))&&(n&&(n+=" "),n+=t);return n},em=(e,...t)=>{let n,r,i,o,a=e=>{let t=r(e);if(t)return t;let o=((e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o,postfixLookupClassGroupIds:a}=t,s=[],l=e.trim().split(ef),c="";for(let e=l.length-1;e>=0;e-=1){let t,u=l[e],{isExternal:d,modifiers:h,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(u);if(d){c=u+(c.length>0?" "+c:c);continue}let g=!!m;if(g){let e=(t=r(p.substring(0,m)))&&a[t]?r(p):void 0;e&&e!==t&&(t=e,g=!1)}else t=r(p);if(!t){if(!g||!(t=r(p))){c=u+(c.length>0?" "+c:c);continue}g=!1}let v=0===h.length?"":1===h.length?h[0]:o(h).join(":"),y=f?v+"!":v,b=y+t;if(s.indexOf(b)>-1)continue;s.push(b);let w=i(t,g);for(let e=0;e<w.length;++e){let t=w[e];s.push(y+t)}c=u+(c.length>0?" "+c:c)}return c})(e,n);return i(e,o),o};return o=s=>(r=(n=(e=>({cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,o)=>{n[i]=o,++t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(i(e,t),t):void 0},set(e,t){e in n?n[e]=t:i(e,t)}}})(e.cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t,n=[],r=0,i=0,o=0,a=e.length;for(let s=0;s<a;s++){let a=e[s];if(0===r&&0===i){if(":"===a){n.push(e.slice(o,s)),o=s+1;continue}if("/"===a){t=s;continue}}"["===a?r++:"]"===a?r--:"("===a?i++:")"===a&&i--}let s=0===n.length?e:e.slice(o),l=s,c=!1;return s.endsWith("!")?(l=s.slice(0,-1),c=!0):s.startsWith("!")&&(l=s.slice(1),c=!0),eh(n,c,l,t&&t>o?t-o:void 0)};if(t){let e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):eh(ed,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r})(e),sortModifiers:(e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let o=e[i],a="["===o[0],s=t.has(o);a||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(o)):r.push(o)}return r.length>0&&(r.sort(),n.push(...r)),n}})(e),postfixLookupClassGroupIds:(e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t})(e),...(e=>{let t=(e=>{let{theme:t,classGroups:n}=e;return er(n,t)})(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return(e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?"arbitrary.."+r:void 0})())(e);let n=e.split("-"),r=+(""===n[0]&&n.length>1);return en(n,r,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?((e,t)=>
1{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n})(i,t):t:i||et}return n[e]||et}}})(e)}))(t.reduce((e,t)=>t(e),e()))).cache.get,i=n.cache.set,o=a,a(s)),(...e)=>o(((...e)=>{let t,n,r=0,i="";for(;r<e.length;)(t=e[r++])&&(n=ep(t))&&(i&&(i+=" "),i+=n);return i})(...e))},eg=[],ev=e=>{let t=t=>t[e]||eg;return t.isThemeGetter=!0,t},ey=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,eb=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ew=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,eE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ex=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ek=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,eC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,eI=e=>ew.test(e),eN=e=>!!e&&!Number.isNaN(Number(e)),eS=e=>!!e&&Number.isInteger(Number(e)),e_=e=>e.endsWith("%")&&eN(e.slice(0,-1)),eO=e=>eE.test(e),eA=()=>!0,eD=e=>ex.test(e)&&!ek.test(e),eP=()=>!1,eL=e=>eC.test(e),eR=e=>eT.test(e),eM=e=>!eB(e)&&!eH(e),ej=e=>e.startsWith("@container")&&("/"===e[10]&&void 0!==e[11]||"s"===e[11]&&void 0!==e[16]&&e.startsWith("-size/",10)||"n"===e[11]&&void 0!==e[18]&&e.startsWith("-normal/",10)),eF=e=>e1(e,e6,eP),eB=e=>ey.test(e),eU=e=>e1(e,e7,eD),ez=e=>e1(e,e4,eN),eq=e=>e1(e,e9,eA),e$=e=>e1(e,e8,eP),eV=e=>e1(e,e5,eP),eK=e=>e1(e,e3,eR),eG=e=>e1(e,te,eL),eH=e=>eb.test(e),eW=e=>e2(e,e7),eQ=e=>e2(e,e8),eY=e=>e2(e,e5),eJ=e=>e2(e,e6),eZ=e=>e2(e,e3),eX=e=>e2(e,te,!0),e0=e=>e2(e,e9,!0),e1=(e,t,n)=>{let r=ey.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},e2=(e,t,n=!1)=>{let r=eb.exec(e);return!!r&&(r[1]?t(r[1]):n)},e5=e=>"position"===e||"percentage"===e,e3=e=>"image"===e||"url"===e,e6=e=>"length"===e||"size"===e||"bg-size"===e,e7=e=>"length"===e,e4=e=>"number"===e,e8=e=>"family-name"===e,e9=e=>"number"===e||"weight"===e,te=e=>"shadow"===e;Symbol.toStringTag;let tt=()=>{let e=ev("color"),t=ev("font"),n=ev("text"),r=ev("font-weight"),i=ev("tracking"),o=ev("leading"),a=ev("breakpoint"),s=ev("container"),l=ev("spacing"),c=ev("radius"),u=ev("shadow"),d=ev("inset-shadow"),h=ev("text-shadow"),f=ev("drop-shadow"),p=ev("blur"),m=ev("perspective"),g=ev("aspect"),v=ev("ease"),y=ev("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...w(),eH,eB],x=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],C=()=>[eH,eB,l],T=()=>[eI,"full","auto",...C()],I=()=>[eS,"none","subgrid",eH,eB],N=()=>["auto",{span:["full",eS,eH,eB]},eS,eH,eB],S=()=>[eS,"auto",eH,eB],_=()=>["auto","min","max","fr",eH,eB],O=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],A=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...C()],P=()=>[eI,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],L=()=>[eI,"screen","full","dvw","lvw","svw","min","max","fit",...C()],R=()=>[eI,"screen","full","lh","dvh","lvh","svh","min","max","fit",...C()],M=()=>[e,eH,eB],j=()=>[...w(),eY,eV,{position:[eH,eB]}],F=()=>["no-repeat",{repeat:["","x","y","space","round"]}],B=()=>["auto","cover","contain",eJ,eF,{size:[eH,eB]}],U=()=>[e_,eW,eU],z=()=>["","none","full",c,eH,eB],q=()=>["",eN,eW,eU],$=()=>["solid","dashed","dotted","double"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>[eN,e_,eY,eV],G=()=>["","none",p,eH,eB],H=()=>["none",eN,eH,eB],W=()=>["none",eN,eH,eB],Q=()=>[eN,eH,eB],Y=()=>[eI,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[eO],breakpoint:[eO],color:[eA],container:[eO],"drop-shadow":[eO],ease:["in","out","in-out"],font:[eM],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[eO],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[eO],shadow:[eO],spacing:["px",eN],text:[eO],"text-shadow":[eO],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",eI,eB,eH,g]}],container:["container"],"container-type":[{"@container":["","normal","size",eH,eB]}
vendor: 4,400 bytes, line 1
1],"container-named":[ej],columns:[{columns:[eN,eB,eH,s]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:x()}],"overflow-x":[{"overflow-x":x()}],"overflow-y":[{"overflow-y":x()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:["visible","invisible","collapse"],z:[{z:[eS,"auto",eH,eB]}],basis:[{basis:[eI,"full","auto",s,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[eN,eI,"auto","initial","none",eB]}],grow:[{grow:["",eN,eH,eB]}],shrink:[{shrink:["",eN,eH,eB]}],order:[{order:[eS,"first","last","none",eH,eB]}],"grid-cols":[{"grid-cols":I()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":S()}],"col-end":[{"col-end":S()}],"grid-rows":[{"grid-rows":I()}],"row-start-end":[{row:N()}],"row-start":[{"row-start":S()}],"row-end":[{"row-end":S()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":_()}],"auto-rows":[{"auto-rows":_()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...O(),"normal"]}],"justify-items":[{"justify-items":[...A(),"normal"]}],"justify-self":[{"justify-self":["auto",...A()]}],"align-content":[{content:["normal",...O()]}],"align-items":[{items:[...A(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...A(),{baseline:["","last"]}]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...A(),"baseline"]}],"place-self":[{"place-self":["auto",...A()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pbs:[{pbs:C()}],pbe:[{pbe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mbs:[{mbs:D()}],mbe:[{mbe:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:P()}],"inline-size":[{inline:["auto",...L()]}],"min-inline-size":[{"min-inline":["auto",...L()]}],"max-inline-size":[{"max-inline":["none",...L()]}],"block-size":[{block:["auto",...R()]}],"min-block-size":[{"min-block":["auto",...R()]}],"max-block-size":[{"max-block":["none",...R()]}],w:[{w:[s,"screen",...P()]}],"min-w":[{"min-w":[s,"screen","none",...P()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...P()]}],h:[{h:["screen","lh",...P()]}],"min-h":[{"min-h":["screen","lh","none",...P()]}],"max-h":[{"max-h":["screen","lh",...P()]}],"font-size":[{text:["base",n,eW,eU]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,e0,eq]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",e_,eB]}],"font-family":[{font:[eQ,e$,t]}],"font-features":[{"font-features":[eB]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,eH,eB]}
vendor: 9,074 bytes, line 1
1],"line-clamp":[{"line-clamp":[eN,"none",eH,ez]}],leading:[{leading:[o,...C()]}],"list-image":[{"list-image":["none",eH,eB]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",eH,eB]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:[eN,"from-font","auto",eH,eU]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[eN,"auto",eH,eB]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"tab-size":[{tab:[eS,eH,eB]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",eH,eB]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",eH,eB]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:j()}],"bg-repeat":[{bg:F()}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},eS,eH,eB],radial:["",eH,eB],conic:[eS,eH,eB]},eZ,eK]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:U()}],"gradient-via-pos":[{via:U()}],"gradient-to-pos":[{to:U()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:z()}],"rounded-s":[{"rounded-s":z()}],"rounded-e":[{"rounded-e":z()}],"rounded-t":[{"rounded-t":z()}],"rounded-r":[{"rounded-r":z()}],"rounded-b":[{"rounded-b":z()}],"rounded-l":[{"rounded-l":z()}],"rounded-ss":[{"rounded-ss":z()}],"rounded-se":[{"rounded-se":z()}],"rounded-ee":[{"rounded-ee":z()}],"rounded-es":[{"rounded-es":z()}],"rounded-tl":[{"rounded-tl":z()}],"rounded-tr":[{"rounded-tr":z()}],"rounded-br":[{"rounded-br":z()}],"rounded-bl":[{"rounded-bl":z()}],"border-w":[{border:q()}],"border-w-x":[{"border-x":q()}],"border-w-y":[{"border-y":q()}],"border-w-s":[{"border-s":q()}],"border-w-e":[{"border-e":q()}],"border-w-bs":[{"border-bs":q()}],"border-w-be":[{"border-be":q()}],"border-w-t":[{"border-t":q()}],"border-w-r":[{"border-r":q()}],"border-w-b":[{"border-b":q()}],"border-w-l":[{"border-l":q()}],"divide-x":[{"divide-x":q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...$(),"hidden","none"]}],"divide-style":[{divide:[...$(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...$(),"none","hidden"]}],"outline-offset":[{"outline-offset":[eN,eH,eB]}],"outline-w":[{outline:["",eN,eW,eU]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",u,eX,eG]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",d,eX,eG]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[eN,eU]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":q()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",h,eX,eG]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[eN,eH,eB]}],"mix-blend":[{"mix-blend":[...V(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":V()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[eN]}],"mask-image-linear-from-pos":[{"mask-linear-from":K()}],"mask-image-linear-to-pos":[{"mask-linear-to":K()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":K()}],"mask-image-t-to-pos":[{"mask-t-to":K()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":K()}],"mask-image-r-to-pos":[{"mask-r-to":K()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":K()}],"mask-image-b-to-pos":[{"mask-b-to":K()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":K()}],"mask-image-l-to-pos":[{"mask-l-to":K()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":K()}],"mask-image-x-to-pos":[{"mask-x-to":K()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":K()}],"mask-image-y-to-pos":[{"mask-y-to":K()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[eH,eB]}],"mask-image-radial-from-pos":[{"mask-radial-from":K()}],"mask-image-radial-to-pos":[{"mask-radial-to":K()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[eN]}],"mask-image-conic-from-pos":[{"mask-conic-from":K()}],"mask-image-conic-to-pos":[{"mask-conic-to":K()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:j()}],"mask-repeat":[{mask:F()}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",eH,eB]}],filter:[{filter:["","none",eH,eB]}],blur:[{blur:G()}],brightness:[{brightness:[eN,eH,eB]}],contrast:[{contrast:[eN,eH,eB]}],"drop-shadow":[{"drop-shadow":["","none",f,eX,eG]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",eN,eH,eB]}],"hue-rotate":[{"hue-rotate":[eN,eH,eB]}],invert:[{invert:["",eN,eH,eB]}],saturate:[{saturate:[eN,eH,eB]}],sepia:[{sepia:["",eN,eH,eB]}],"backdrop-filter":[{"backdrop-filter":["","none",eH,eB]}],"backdrop-blur":[{"backdrop-blur":G()}],"backdrop-brightness":[{"backdrop-brightness":[eN,eH,eB]}],"backdrop-contrast":[{"backdrop-contrast":[eN,eH,eB]}],"backdrop-grayscale":[{"backdrop-grayscale":["",eN,eH,eB]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[eN,eH,eB]}],"backdrop-invert":[{"backdrop-invert":["",eN,eH,eB]}],"backdrop-opacity":[{"backdrop-opacity":[eN,eH,eB]}],"backdrop-saturate":[{"backdrop-saturate":[eN,eH,eB]}],"backdrop-sepia":[{"backdrop-sepia":["",eN,eH,eB]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",eH,eB]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[eN,"initial",eH,eB]}],ease:[{ease:["linear","initial",v,eH,eB]}],delay:[{delay:[eN,eH,eB]}],animate:[{animate:["none",y,eH,eB]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,eH,eB]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:H()}],"rotate-x":[{"rotate-x":H()}],"rotate-y":[{"rotate-y":H()}],"rotate-z":[{"rotate-z":H()}],scale:[{scale:W()}],"scale-x":[{"scale-x":W()}],"scale-y":[{"scale-y":W()}],"scale-z":[{"scale-z":W()}],"scale-3d":["scale-3d"],skew:[{skew:Q()}],"skew-x":[{"skew-x":Q()}],"skew-y":[{"skew-y":Q()}],transform:[{transform:[eH,eB,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Y()}],"translate-x":[{"translate-x":Y()}],"translate-y":[{"translate-y":Y()}],"translate-z":[{"translate-z":Y()}],"translate-none":["translate-none"],zoom:[{zoom:[eS,eH,eB]}],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}
vendor: 5,067 bytes, line 1
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",eH,eB]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":M()}],"scrollbar-track-color":[{"scrollbar-track":M()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mbs":[{"scroll-mbs":C()}],"scroll-mbe":[{"scroll-mbe":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pbs":[{"scroll-pbs":C()}],"scroll-pbe":[{"scroll-pbe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",eH,eB]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[eN,eW,eU,ez]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},tn=(e,t,n)=>{void 0!==n&&(e[t]=n)},tr=(e,t)=>
1{if(t)for(let n in t)tn(e,n,t[n])},ti=(e,t)=>{if(t)for(let n in t)to(e,t,n)},to=(e,t,n)=>{let r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},ta=((e,...t)=>"function"==typeof e?em(tt,e,...t):em(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:o={}})=>(tn(e,"cacheSize",t),tn(e,"prefix",n),tn(e,"experimentalParseClassName",r),tr(e.theme,o.theme),tr(e.classGroups,o.classGroups),tr(e.conflictingClassGroups,o.conflictingClassGroups),tr(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),tn(e,"postfixLookupClassGroups",o.postfixLookupClassGroups),tn(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),ti(e.theme,i.theme),ti(e.classGroups,i.classGroups),ti(e.conflictingClassGroups,i.conflictingClassGroups),ti(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),to(e,i,"postfixLookupClassGroups"),to(e,i,"orderSensitiveModifiers"),e))(tt(),e),...t))({prefix:"ock",extend:{theme:{color:["ock-foreground","ock-foreground-muted","ock-foreground-inverse","ock-foreground-disabled","ock-background","ock-background-hover","ock-background-active","ock-background-alternate","ock-background-alternate-hover","ock-background-alternate-active","ock-background-inverse","ock-background-inverse-hover","ock-background-inverse-active","ock-background-reverse","ock-primary","ock-primary-hover","ock-primary-active","ock-primary-washed","ock-primary-disabled","ock-secondary","ock-secondary-hover","ock-secondary-active","ock-error","ock-warning","ock-success","ock-success-background","ock-line"]},classGroups:{shadow:["ock-default"],"font-family":["ock"],rounded:["ock-default","ock-inner"]}}});function ts(...e){return ta(function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r}(e))}let tl=e=>(function(e,t){return e.replace(RegExp(`(^|\\s)(?!${t})(\\S+)`,"g"),`$1${t}$2`)})(e,"ock:"),tc={base:tl("font-ock"),body:tl("font-ock font-normal text-base"),caption:tl("font-ock font-semibold text-xs"),headline:tl("font-ock font-semibold"),label1:tl("font-ock font-semibold text-sm"),label2:tl("font-ock text-sm"),legal:tl("font-ock text-xs"),title1:tl("font-ock font-semibold text-2xl"),title3:tl("font-ock font-semibold text-xl")},tu={default:tl("cursor-pointer bg-ock-background hover:bg-ock-background-hover active:bg-ock-background-active focus:bg-ock-background-active"),alternate:tl("cursor-pointer bg-ock-background-alternate hover:bg-ock-background-alternate-hover active:bg-ock-background-alternate-active focus:bg-ock-background-alternate-active"),inverse:tl("cursor-pointer bg-ock-background-inverse hover:bg-ock-background-inverse-hover active:bg-ock-background-inverse-active focus:bg-ock-background-inverse-active"),primary:tl("cursor-pointer bg-ock-primary hover:bg-ock-primary-hover active:bg-ock-primary-active focus:bg-ock-primary-active"),secondary:tl("cursor-pointer bg-ock-secondary hover:bg-ock-secondary-hover active:bg-ock-secondary-active focus:bg-ock-secondary-active"),coinbaseBranding:tl("cursor-pointer bg-[#0052FF] hover:bg-[#0045D8]"),disabled:tl("opacity-[0.38] pointer-events-none")},td={lineDefault:tl("border-ock-line border")};(0,p.createContext)({});
1class th extends Error{constructor(e,t){super(`${th.extractMessage(e)}: ${JSON.stringify({response:e,request:t})}`),Object.setPrototypeOf(this,th.prototype),this.response=e,this.request=t,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,th)}static extractMessage(e){return e.errors?.[0]?.message??`GraphQL Error (Code: ${e.status})`}}n(52749);let tf=/\r\n|[\n\r]/g;function tp(e,t){let n=0,r=1;for(let i of e.body.matchAll(tf)){if("number"==typeof i.index||function(e,t){if(!e)throw Error("Unexpected invariant triggered.")}(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function tm(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,l=t.column+s,c=`${e.name}:${a}:${l}
2`,u=r.split(/\r\n|[\n\r]/g),d=u[i];if(d.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e<d.length;e+=80)t.push(d.slice(e,e+80));return c+tg([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return c+tg([[`${a-1} |`,u[i-1]],[`${a} |`,d],["|","^".padStart(l)],[`${a+1} |`,u[i+1]]])}function tg(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}class tv extends Error{constructor(e,...t){var n,r,i;let{nodes:o,source:a,positions:s,path:l,originalError:c,extensions:u}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=c?c:void 0,this.nodes=ty(Array.isArray(o)?o:o?[o]:void 0);let d=ty(null==(n=this.nodes)?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=a?a:null==d||null==(r=d[0])?void 0:r.source,this.positions=null!=s?s:null==d?void 0:d.map(e=>e.start),this.locations=s&&a?s.map(e=>tp(a,e)):null==d?void 0:d.map(e=>tp(e.source,e.start));let h=!function(e){return"object"==typeof e&&null!==e}(null==c?void 0:c.extensions)||null==c?void 0:c.extensions;this.extensions=null!=(i=null!=u?u:h)?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,tv):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let n of this.nodes){var t;n.loc&&(e+="\n\n"+tm((t=n.loc).source,tp(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+tm(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function ty(e){return void 0===e||0===e.length?void 0:e}function tb(e,t,n){return new tv(`Syntax Error: ${n}`,{source:e,positions:[t]})}class tw{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class tE{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let tx={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
2Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},tk=new Set(Object.keys(tx));function tC(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&tk.has(t)}function tT(e){return 9===e||32===e}function tI(e){return e>=48&&e<=57}function tN(e){return e>=97&&e<=122||e>=65&&e<=90}function tS(e){return tN(e)||95===e}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(i||(i={})),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",e.DIRECTIVE_DEFINITION="DIRECTIVE_DEFINITION"}(o||(o={})),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.DIRECTIVE_EXTENSION="DirectiveExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(a||(a={})),!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}
2",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(s||(s={}));class t_{constructor(e){let t=new tE(s.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==s.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let n=e.source.body,r=n.length,i=t;for(;i<r;){let t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if(10===e||13===e)break;if(tO(e))++i;else if(tA(n,i))i+=2;else break}return tR(e,s.COMMENT,t,i,n.slice(t+1,i))}(e,i);case 33:return tR(e,s.BANG,i,i+1);case 36:return tR(e,s.DOLLAR,i,i+1);case 38:return tR(e,s.AMP,i,i+1);case 40:return tR(e,s.PAREN_L,i,i+1);case 41:return tR(e,s.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return tR(e,s.SPREAD,i,i+3);break;case 58:return tR(e,s.COLON,i,i+1);case 61:return tR(e,s.EQUALS,i,i+1);case 64:return tR(e,s.AT,i,i+1);case 91:return tR(e,s.BRACKET_L,i,i+1);case 93:return tR(e,s.BRACKET_R,i,i+1);case 123:return tR(e,s.BRACE_L,i,i+1);case 124:return tR(e,s.PIPE,i,i+1);case 125:return tR(e,s.BRACE_R,i,i+1);case 34:if(34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2))return function(e,t){let n=e.source.body,r=n.length,i=e.lineStart,o=t+3,a=o,l="",c=[];for(;o<r;){let r=n.charCodeAt(o);if(34===r&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)){l+=n.slice(a,o),c.push(l);let r=tR(e,s.BLOCK_STRING,t,o+3,(function(e){var t,n;let r=Number.MAX_SAFE_INTEGER,i=null,o=-1;for(let t=0;t<e.length;++t){let a=e[t],s=function(e){let t=0;for(;t<e.length&&tT(e.charCodeAt(t));)++t;return t}(a);s!==a.length&&(i=null!=(n=i)?n:t,o=t,0!==t&&s<r&&(r=s))}return e.map((e,t)=>0===t?e:e.slice(r)).slice(null!=(t=i)?t:0,o+1)})(c).join("\n"));return e.line+=c.length-1,e.lineStart=i,r}if(92===r&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)&&34===n.charCodeAt(o+3)){l+=n.slice(a,o),a=o+1,o+=4;continue}if(10===r||13===r){l+=n.slice(a,o),c.push(l),13===r&&10===n.charCodeAt(o+1)?o+=2:++o,l="",a=o,i=o;continue}if(tO(r))++o;else if(tA(n,o))o+=2;else throw tb(e.source,o,`Invalid character within String: ${tL(e,o)}.`)}throw tb(e.source,o,"Unterminated string.")}(e,i);return function(e,t){let n=e.source.body,r=n.length,i=t+1,o=i,a="";for(;i<r;){let r=n.charCodeAt(i);if(34===r)return a+=n.slice(o,i),tR(e,s.STRING,t,i+1,a);if(92===r){a+=n.slice(o,i);let t=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?function(e,t){let n=e.source.body,r=0,i=3;for(;i<12;){let e=n.charCodeAt(t+i++);if(125===e){if(i<5||!tO(r))break;return{value:String.fromCodePoint(r),size:i}}if((r=r<<4|tF(e))<0)break}throw tb(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}(e,i):function(e,t){let n=e.source.body,r=tj(n,t+2);if(tO(r))return{value:String.fromCodePoint(r),size:6};if(tD(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=tj(n,t+8);if(tP(e))return{value:String.fromCodePoint(r,e),size:12}}throw tb(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}(e,i):function(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"	",size:2}}throw tb(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}(e,i);a+=t.value,i+=t.size,o=i;continue}if(10===r||13===r)break;if(tO(r))++i;else if(tA(n,i))i+=2;else throw tb(e.source,i,`Invalid character within String: ${tL(e,i)}.`)}throw tb(e.source,i,"Unterminated string.")}(e,i)}if(tI(t)||45===t)return function(e,t,n){let r=e.source.body,i=t,o=n,a=!1;if(45===o&&(o=r.charCodeAt(++i)),48===o){if(tI(o=r.charCodeAt(++i))
2)throw tb(e.source,i,`Invalid number, unexpected digit after 0: ${tL(e,i)}.`)}else i=tM(e,i,o),o=r.charCodeAt(i);if(46===o&&(a=!0,o=r.charCodeAt(++i),i=tM(e,i,o),o=r.charCodeAt(i)),(69===o||101===o)&&(a=!0,(43===(o=r.charCodeAt(++i))||45===o)&&(o=r.charCodeAt(++i)),i=tM(e,i,o),o=r.charCodeAt(i)),46===o||tS(o))throw tb(e.source,i,`Invalid number, expected digit but got: ${tL(e,i)}.`);return tR(e,a?s.FLOAT:s.INT,t,i,r.slice(t,i))}(e,i,t);if(tS(t))return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){var o;if(tN(o=n.charCodeAt(i))||tI(o)||95===o)++i;else break}return tR(e,s.NAME,t,i,n.slice(t,i))}(e,i);throw tb(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":tO(t)||tA(n,i)?`Unexpected character: ${tL(e,i)}.`:`Invalid character: ${tL(e,i)}.`)}return tR(e,s.EOF,r,r)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===s.COMMENT);return e}}function tO(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function tA(e,t){return tD(e.charCodeAt(t))&&tP(e.charCodeAt(t+1))}function tD(e){return e>=55296&&e<=56319}function tP(e){return e>=56320&&e<=57343}function tL(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return s.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function tR(e,t,n,r,i){let o=e.line,a=1+n-e.lineStart;return new tE(t,n,r,o,a,i)}function tM(e,t,n){if(!tI(n))throw tb(e.source,t,`Invalid number, expected digit but got: ${tL(e,t)}.`);let r=e.source.body,i=t+1;for(;tI(r.charCodeAt(i));)++i;return i}function tj(e,t){return tF(e.charCodeAt(t))<<12|tF(e.charCodeAt(t+1))<<8|tF(e.charCodeAt(t+2))<<4|tF(e.charCodeAt(t+3))}function tF(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function tB(e,t){if(!e)throw Error(t)}function tU(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";let n=[...t,e];if("function"==typeof e.toJSON){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:tU(t,n)}else if(Array.isArray(e)){var r=e,i=n;if(0===r.length)return"[]";if(i.length>2)return"[Array]";let t=Math.min(10,r.length),o=r.length-t,a=[];for(let e=0;e<t;++e)a.push(tU(r[e],i));return 1===o?a.push("... 1 more item"):o>1&&a.push(`... ${o} more items`),"["+a.join(", ")+"]"}var o=e,a=n;let s=Object.entries(o);return 0===s.length?"{}":a.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(o)+"]":"{ "+s.map(([e,t])=>e+": "+tU(t,a)).join(", ")+" }"}(e,t);default:return String(e)}}let tz=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;let r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(n=e.constructor)?void 0:n.name)){let t=tU(e,[]);throw Error(`Cannot use ${r} "${t}" from another module or realm.
3
4Ensure that there is only one instance of "graphql" in the node_modules
5directory. If different versions of "graphql" are the dependencies of other
6relied on modules, use "resolutions" to ensure only one version is installed.
7
8https://yarnpkg.com/en/docs/selective-version-resolutions
9
10Duplicate "graphql" modules cannot be used at the same time since different
11versions may have different capabilities and behavior. The data from one
12version used in the function from another could produce confusing and
13spurious results.`)}}return!1};class tq{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||tB(!1,`Body must be a string. Received: ${tU(e,[])}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||tB(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||tB(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class t${constructor(e,t={}){let{lexer:n,...r}=t;if(n)this._lexer=n;
13else{let t=tz(e,tq)?e:new tq(e);this._lexer=new t_(t)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(s.NAME);return this.node(e,{kind:a.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:a.DOCUMENT,definitions:this.many(s.SOF,this.parseDefinition,s.EOF)})}parseDefinition(){if(this.peek(s.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===s.BRACE_L)throw tb(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===s.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw tb(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(s.BRACE_L))return this.node(t,{kind:a.OPERATION_DEFINITION,operation:i.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseDescription(),r=this.parseOperationType();return this.peek(s.NAME)&&(e=this.parseName()),this.node(t,{kind:a.OPERATION_DEFINITION,operation:r,description:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(s.NAME);switch(e.value){case"query":return i.QUERY;case"mutation":return i.MUTATION;case"subscription":return i.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(s.PAREN_L,this.parseVariableDefinition,s.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:a.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(s.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(s.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(s.DOLLAR),this.node(e,{kind:a.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:a.SELECTION_SET,selections:this.many(s.BRACE_L,this.parseSelection,s.BRACE_R)})}parseSelection(){return this.peek(s.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(s.COLON)?(e=r,t=this.parseName()):t=r,this.node(n,{kind:a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(s.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(s.PAREN_L,t,s.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:a.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(s.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(s.NAME)?this.node(e,{kind:a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:a.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:a.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case s.BRACKET_L:return this.parseList(e);case s.BRACE_L:return this.parseObject(e);case s.INT:return this.advanceLexer(),this.node(t,{kind:a.INT,value:t.value});case s.FLOAT:return this.advanceLexer(),this.node(t,{kind:a.FLOAT,value:t.value});case s.STRING:case s.BLOCK_STRING:return this.parseStringLiteral();case s.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:a.BOOLEAN,value:!0});case"false":return this.node(t,{kind:a.BOOLEAN,value:!1});case"null":return this.node(t,{kind:a.NULL});default:return this.node(t,{kind:a.ENUM,value:t.value})}case s.DOLLAR:if(e){if(this.expectToken(s.DOLLAR),this._lexer.token.kind===s.NAME){let e=this._lexer.token.value;throw tb(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:a.STRING,value:e.value,block:e.kind===s.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:a.LIST,values:this.any(s.BRACKET_L,t,s.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:a.OBJECT,fields:this.any(s.BRACE_L,t,s.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:a.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(s.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(s.AT),this.node(t,{kind:a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(s.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(s.BRACKET_R),e=this.node(t,{kind:a.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(s.BANG)?this.node(t,{kind:a.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:a.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(s.STRING)||this.peek(s.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.many(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);return this.node(e,{kind:a.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(s.COLON);let n=this.parseNamedType();return this.node(e,{kind:a.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:a.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:a.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(s.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseFieldDefinition,s.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(s.COLON);let i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:a.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(s.PAREN_L,this.parseInputValueDef,s.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(s.COLON);let i=this.parseTypeReference();this.expectOptionalToken(s.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:a.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:a.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:a.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(s.EQUALS)?this.delimitedMany(s.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:a.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(s.BRACE_L,this.parseEnumValueDefinition,s.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:a.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw tb(this._lexer.source,this._lexer.token.start,`${tV(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseInputValueDef,s.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===s.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension();case"directive":if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:a.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:a.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:a.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:a.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinitionExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(s.AT);let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:a.DIRECTIVE_EXTENSION,name:t,directives:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(s.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let l=this.parseDirectiveLocations();return this.node(e,{kind:a.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,directives:i,repeatable:o,locations:l})}parseDirectiveLocations(){return this.delimitedMany(s.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(o,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,n=this._lexer.token,r=this.expectOptionalToken(s.AT),i=this.parseName();return(!r&&this.expectOptionalToken(s.DOT)&&(e=this.parseName()),(r||e)&&this.expectOptionalToken(s.PAREN_L)&&(t=this.parseName(),this.expectToken(s.COLON),this.expectToken(s.PAREN_R)),r)?t?this.node(n,{kind:a.DIRECTIVE_ARGUMENT_COORDINATE,name:i,argumentName:t}):this.node(n,{kind:a.DIRECTIVE_COORDINATE,name:i}):e?t?this.node(n,{kind:a.ARGUMENT_COORDINATE,name:i,fieldName:e,argumentName:t}):this.node(n,{kind:a.MEMBER_COORDINATE,name:i,memberName:e}):this.node(n,{kind:a.TYPE_COORDINATE,name:i})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new tw(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw tb(this._lexer.source,t.start,`Expected ${tK(e)}, found ${tV(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.ad
13vanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===s.NAME&&t.value===e)this.advanceLexer();else throw tb(this._lexer.source,t.start,`Expected "${e}", found ${tV(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===s.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return tb(this._lexer.source,t.start,`Unexpected ${tV(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==s.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw tb(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function tV(e){let t=e.value;return tK(e.kind)+(null!=t?` "${t}"`:"")}function tK(e){return e===s.BANG||e===s.DOLLAR||e===s.AMP||e===s.PAREN_L||e===s.PAREN_R||e===s.DOT||e===s.SPREAD||e===s.COLON||e===s.EQUALS||e===s.AT||e===s.BRACKET_L||e===s.BRACKET_R||e===s.BRACE_L||e===s.PIPE||e===s.BRACE_R?`"${e}"`:e}let tG=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function tH(e){return tW[e.charCodeAt(0)]}let tW=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],tQ=Object.freeze({}),tY={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>tJ(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=t1(e.variableDefinitions)?tX("(\n",tJ(e.variableDefinitions,"\n"),"\n)"):tX("(",tJ(e.variableDefinitions,", "),")"),n=tX("",e.description,"\n")+tJ([e.operation,tJ([e.name,t]),tJ(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r,description:i})=>tX("",i,"\n")+e+": "+t+tX(" = ",n)+tX(" ",tJ(r," "))},SelectionSet:{leave:({selections:e})=>tZ(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let o=tX("",e,": ")+t,a=o+tX("(",tJ(n,", "),")");return a.length>80&&(a=o+tX("(\n",t0(tJ(n,"\n")),"\n)")),tJ([a,tJ(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+tX(" ",tJ(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>tJ(["...",tX("on ",e),tJ(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i,description:o})=>tX("",o,"\n")+`fragment ${e}${tX("(",tJ(n,", "),")")} `+`on ${t} ${tX("",tJ(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?function(e,t){let n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),i=1===r.length,o=r.length>1&&r.slice(1).every(e=>0===e.length||tT(e.charCodeAt(0))),a=n.endsWith('\\"""'),s=e.endsWith('"')&&!a,l=e.endsWith("\\"),c=s||l,u=!i||e.length>70||c||o||a,d="",h=i&&tT(e.charCodeAt(0));return(u&&!h||o)&&(d+="\n"),d+=n,(u||c)&&(d+="\n"),'"""'+d+'"""'}(e):`"${e.replace(tG,tH)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+tJ(e,", ")+"]"}
13,ObjectValue:{leave:({fields:e})=>"{"+tJ(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+tX("(",tJ(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>tX("",e,"\n")+tJ(["schema",tJ(t," "),tZ(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>tX("",e,"\n")+tJ(["scalar",t,tJ(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>tX("",e,"\n")+tJ(["type",t,tX("implements ",tJ(n," & ")),tJ(r," "),tZ(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>tX("",e,"\n")+t+(t1(n)?tX("(\n",t0(tJ(n,"\n")),"\n)"):tX("(",tJ(n,", "),")"))+": "+r+tX(" ",tJ(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>tX("",e,"\n")+tJ([t+": "+n,tX("= ",r),tJ(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>tX("",e,"\n")+tJ(["interface",t,tX("implements ",tJ(n," & ")),tJ(r," "),tZ(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>tX("",e,"\n")+tJ(["union",t,tJ(n," "),tX("= ",tJ(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>tX("",e,"\n")+tJ(["enum",t,tJ(n," "),tZ(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>tX("",e,"\n")+tJ([t,tJ(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>tX("",e,"\n")+tJ(["input",t,tJ(n," "),tZ(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,directives:r,repeatable:i,locations:o})=>tX("",e,"\n")+"directive @"+t+(t1(n)?tX("(\n",t0(tJ(n,"\n")),"\n)"):tX("(",tJ(n,", "),")"))+tX(" ",tJ(r," "))+(i?" repeatable":"")+" on "+tJ(o," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>tJ(["extend schema",tJ(e," "),tZ(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>tJ(["extend scalar",e,tJ(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>tJ(["extend type",e,tX("implements ",tJ(t," & ")),tJ(n," "),tZ(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>tJ(["extend interface",e,tX("implements ",tJ(t," & ")),tJ(n," "),tZ(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>tJ(["extend union",e,tJ(t," "),tX("= ",tJ(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>tJ(["extend enum",e,tJ(t," "),tZ(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>tJ(["extend input",e,tJ(t," "),tZ(n)]," ")},DirectiveExtension:{leave:({name:e,directives:t})=>tJ(["extend directive @"+e,tJ(t," ")]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>tJ([e,tX(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>tJ([e,tX(".",t),tX("(",n,":)")])},DirectiveCoordinate:{leave:({name:e})=>tJ(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>tJ(["@",e,tX("(",t,":)")])}};function tJ(e,t=""){var n;return null!=(n=null==e?void 0:e.filter(e=>e).join(t))?n:""}function tZ(e){return tX("{\n",t0(tJ(e,"\n")),"\n}")}function tX(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function t0(e){return tX("  ",e.replace(/\n/g,"\n  "))}function t1(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}let t2=e=>{let t,n=e.definitions.filter(e=>"OperationDefinition"===e.kind);return 1===n.length&&(t=n[0]?.name?.value),t},t5="ping",t3="pong",t6="complete";class t7{get type(){return this._type}get id(){return this._id}get payload(){return this._payload}constructor(e,t,n){this._type=e,this._payload=t,this._id=n}get text(){let e={type:this.type};return null!=this.id&&void 0!=this.id&&(e.id=this.id),null!=this.payload&&void 0!=this.payload&&(e.payload=this.payload),JSON.stringify(e)}static parse(e,t){let{type:n,payload:r,id:i}=JSON.parse(e);return new t7(n,t(r),i)}}class t4{constructor(e,{onInit:t,onAcknowledged:n,onPing:r,onPong:i}){this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=e,e.addEventListener("open",async n=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={},e.send(new t7("connection_init",t?await t():null).text)}),e.addEventListener("close",e=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={}}),e.addEventListener("error",e=>{console.error(e)}),e.addEventListener("message",t=>{try{let o=function(e,t=e=>e){return t7.parse(e,t)}(t.data);switch(o.type){case"connection_ack":this.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(this.socketState.acknowledged=!0,n&&n(o.payload));return;case t5:r?r(o.payload).then(t=>e.send(t8(t).text)):e.send(t8(null).text);return;case t3:i&&i(o.payload);return}if(!this.socketState.acknowledged||void 0===o.id||null===o.id||!this.socketState.subscriptions[o.id])return;let{query:a,variables:s,subscriber:l}=this.socketState.subscriptions[o.id];switch(o.type){case"next":!o.payload.errors&&o.payload.data&&l.next&&l.next(o.payload.data),o.payload.errors&&l.error&&l.error(new th({...o.payload,status:200},{query:a,variables:s}));return;case"error":l.error&&l.error(new th({errors:o.payload,status:200},{query:a,variables:s}));return;case t6:l.complete&&l.complete(),delete this.socketState.subscriptions[o.id];return}}catch(t){console.error(t),e.close(1006)}e.close(4400,"Unknown graphql-ws message.")})}makeSubscribe(e,t,n,r){let i=(this.socketState.lastRequestId++).toString();return this.socketState.subscriptions[i]={query:e,variables:r,subscriber:n},this.socket.send(new t7("subscribe",{query:e,operationName:t,variables:r},i).text),()=>{this.socket.send(new t7(t6,void 0,i).text),delete this.socketState.subscriptions[i]}}rawRequest(e,t){return new Promise((n,r)=>{let i;this.rawSubscribe(e,{next:(e,t)=>
13i={data:e,extensions:t},error:r,complete:()=>n(i)},t)})}request(e,t){return new Promise((n,r)=>{let i;this.subscribe(e,{next:e=>i=e,error:r,complete:()=>n(i)},t)})}subscribe(e,t,n){let{query:r,operationName:i}=(e=>{if("string"==typeof e){let t;try{let n=function(e,t){let n=new t$(e,void 0),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}(e);t=t2(n)}catch(e){}return{query:e,operationName:t}}let t=t2(e);return{query:function(e,t,n=tx){let r,i,o,s=new Map;for(let e of Object.values(a))s.set(e,function(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let l=Array.isArray(e),c=[e],u=-1,d=[],h=e,f=[],p=[];do{var m,g,v;let e,a=++u===c.length,y=a&&0!==d.length;if(a){if(i=0===p.length?void 0:f[f.length-1],h=o,o=p.pop(),y)if(l){h=h.slice();let e=0;for(let[t,n]of d){let r=t-e;null===n?(h.splice(r,1),e++):h[r]=n}}else for(let[e,t]of(h={...h},d))h[e]=t;u=r.index,c=r.keys,d=r.edits,l=r.inArray,r=r.prev}else if(o){if(null==(h=o[i=l?u:c[u]]))continue;f.push(i)}if(!Array.isArray(h)){tC(h)||tB(!1,`Invalid AST Node: ${tU(h,[])}.`);let n=a?null==(m=s.get(h.kind))?void 0:m.leave:null==(g=s.get(h.kind))?void 0:g.enter;if((e=null==n?void 0:n.call(t,h,i,o,f,p))===tQ)break;if(!1===e){if(!a){f.pop();continue}}else if(void 0!==e&&(d.push([i,e]),!a))if(tC(e))h=e;else{f.pop();continue}}void 0===e&&y&&d.push([i,h]),a?f.pop():(r={inArray:l,index:u,keys:c,edits:d,prev:r},c=(l=Array.isArray(h))?h:null!=(v=n[h.kind])?v:[],u=-1,d=[],o&&p.push(o),o=h)}while(void 0!==r);return 0!==d.length?d[d.length-1][1]:e}(e,tY),operationName:t}})(e);return this.makeSubscribe(r,i,t,n)}rawSubscribe(e,t,n){return this.makeSubscribe(e,void 0,t,n)}ping(e){this.socket.send(new t7(t5,e,void 0).text)}close(){this.socket.close(1e3)}}function t8(e){return new t7(t3,e,void 0)}t4.PROTOCOL="graphql-transport-ws";let t9={id:I.E.id,easGraphqlAPI:"https://base.easscan.org/graphql",schemaUids:["0x1801901fabd0e6189356b4fb52bb0ab855276d84f7ec140839fbd1f6801ca065","0xf8b05c79f090979bf4a80270aba232dff11a10d9ca55c4f88de95317970f0de9"]},ne={id:d.Z.id,easGraphqlAPI:"https://base-sepolia.easscan.org/graphql",schemaUids:["0xef54ae90f47a187acc050ce631c55584fd4273c0ca9456ab21750921c3a84028","0x2f34a2ffe5f87b2f45fbc7c784896b768d77261e2f24f77341ae43751c765a69"]};var nt=n(2091);let nn={id:nt.R.id,easGraphqlAPI:"https://optimism.easscan.org/graphql",schemaUids:["0xac4c92fc5c7babed88f78a917cdbcdc1c496a8f4ab2d5b2ec29402736b2cf929","0x6ab5d34260fca0cfcf0e76e96d439cace6aa7c3c019d7c4580ed52c6845e9c89","0x401a80196f3805c57b00482ae2b575a9f270562b6b6de7711af9837f08fa0faf"]};t9.id,ne.id,nn.id,((e,...t)=>e.reduce((e,n,r)=>`${e}${n}${r in t?String(t[r]):""}`,""))`
14  query AttestationsForUsers(
15    $where: AttestationWhereInput
16    $distinct: [AttestationScalarFieldEnum!]
17    $take: Int
18  ) {
19    attestations(where: $where, distinct: $distinct, take: $take) {
20      id
21      txid
22      schemaId
23      attester
24      recipient
25      revoked
26      revocationTime
27      expirationTime
28      time
29      timeCreated
30      decodedDataJson
31    }
32  }
33`,tl("z-0"),tl("z-1"),tl("z-10"),tl("z-20"),tl("z-40"),tl("z-50");var nr=Object.defineProperty,ni=(e,t)=>nr(e,"name",{value:t,configurable:!0}),no=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function na(e,t,{checkForDefaultPrevented:n=!0}={}){return ni(function(r){if(e?.(r),!1===n||!r||!r.defaultPrevented)return t?.(r)},"handleEvent")}function ns(e){if(!no)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function nl(e){return"IFRAME"===e.tagName}ni(na,"composeEventHandlers"),ni(function(e){if(!no)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),ni(ns,"getOwnerDocument"),ni(function e(t,n=!1){let{activeElement:r}=ns(t);if(!r?.nodeName)return null;if(nl(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=ns(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),ni(nl,"isFrame");var nc=Object.defineProperty,nu=(e,t)=>nc(e,"name",{value:t,configurable:!0});
33function nd(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function nh(...e){return t=>{let n=!1,r=e.map(e=>{let r=nd(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():nd(e[t],null)}}}}function nf(...e){return p.useCallback(nh(...e),e)}nu(nd,"setRef"),nu(nh,"composeRefs"),nu(nf,"useComposedRefs");var np=Object.defineProperty,nm=(e,t)=>np(e,"name",{value:t,configurable:!0});function ng(e,t=[]){let n=[];function r(t,r){let i=p.createContext(r);i.displayName=t+"Context";let o=n.length;n=[...n,r];let a=nm(t=>{let{scope:n,children:r,...a}=t,s=n?.[e]?.[o]||i,l=p.useMemo(()=>a,Object.values(a));return(0,u.jsx)(s.Provider,{value:l,children:r})},"Provider");function s(n,a,l={}){let{optional:c=!1}=l,u=a?.[e]?.[o]||i,d=p.useContext(u);if(d)return d;if(void 0!==r)return r;if(!c)throw Error(`\`${n}\` must be used within \`${t}\``)}return a.displayName=t+"Provider",nm(s,"useContext"),[a,s]}nm(r,"createContext");let i=nm(()=>{let t=n.map(e=>p.createContext(e));return nm(function(n){let r=n?.[e]||t;return p.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},"useScope")},"createScope");return i.scopeName=e,[r,nv(i,...t)]}function nv(...e){let t=e[0];if(1===e.length)return t;let n=nm(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return nm(function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}nm(function(e,t){let n=p.createContext(t);n.displayName=e+"Context";let r=nm(e=>{let{children:t,...r}=e,i=p.useMemo(()=>r,Object.values(r));return(0,u.jsx)(n.Provider,{value:i,children:t})},"Provider");function i(r,o={}){let{optional:a=!1}=o,s=p.useContext(n);if(s)return s;if(void 0!==t)return t;if(!a)throw Error(`\`${r}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",nm(i,"useContext"),[r,i]},"createContext"),nm(ng,"createContextScope"),nm(nv,"composeContextScopes");var ny=globalThis?.document?p.useLayoutEffect:()=>{},nb=Object.defineProperty,nw=m[" useId ".trim().toString()]||(()=>void 0),nE=0;nb(function(e){let[t,n]=p.useState(nw());return ny(()=>{e||n(e=>e??String(nE++))},[e]),e||(t?`radix-${t}`:"")},"name",{value:"useId",configurable:!0});var nx=Object.defineProperty,nk=m[" useEffectEvent ".trim().toString()],nC=m[" useInsertionEffect ".trim().toString()];function nT(e){if("function"==typeof nk)return nk(e);let t=p.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof nC?nC(()=>{t.current=e}):ny(()=>{t.current=e}),p.useMemo(()=>(...e)=>t.current?.(...e),[])}nx(nT,"name",{value:"useEffectEvent",configurable:!0});var nI=Object.defineProperty,nN=(e,t)=>nI(e,"name",{value:t,configurable:!0}),nS=m[" useInsertionEffect ".trim().toString()]||ny;function n_({defaultProp:e,onChange:t}){let[n,r]=p.useState(e),i=p.useRef(n),o=p.useRef(t);return nS(()=>{o.current=t},[t]),p.useEffect(()=>{i.current!==n&&(o.current?.(n),i.current=n)},[n,i]),[n,r,o]}function nO(e){return"function"==typeof e}nN(function({prop:e,defaultProp:t,onChange:n=nN(()=>{},"onChange"),caller:r}){let[i,o,a]=n_({defaultProp:t,onChange:n}),s=void 0!==e,l=s?e:i;return[l,p.useCallback(t=>{if(s){let n=nO(t)?t(e):t;n!==e&&a.current?.(n)}else o(t)},[s,e,o,a])]},"useControllableState"),nN(n_,"useUncontrolledState"),nN(nO,"isFunction");var nA=Symbol("RADIX:SYNC_STATE");nN(function(e,t,n,r){let{prop:i,defaultProp:o,onChange:a,caller:s}=t,l=void 0!==i,c=nT(a),u=[{...n,state:o}];r&&u.push(r);let[d,h]=p.useReducer((t,n)=>{if(n.type===nA)return{...t,state:n.state};let r=e(t,n);return l&&!Object.is(r.state,t.state)&&c(r.state),r},...u),f=d.state,m=p.useRef(f);p.useEffect(()=>{m.current!==f&&(m.current=f,l||c(f))},[f,m,l]);let g=p.useMemo(()=>void 0!==i?{...d,state:i}:d,[d,i]);return p.useEffect(()=>{l&&!Object.is(i,d.state)&&h({type:nA,state:i})},[i,d.state,l]),[g,h]},"useControllableStateReducer");var nD=n(47650),nP=Object.defineProperty,nL=(e,t)=>nP(e,"name",{value:t,configurable:!0});
33function nR(e){let t=p.forwardRef((t,n)=>{let{children:r,...i}=t,o=null,a=!1,s=[];nq(r)&&"function"==typeof nG&&(r=nG(r._payload)),p.Children.forEach(r,e=>{if(nU(e)){a=!0;let t="child"in e.props?e.props.child:e.props.children;nq(t)&&"function"==typeof nG&&(t=nG(t._payload)),o=nj(e,t),s.push(o?.props?.children)}else s.push(e)}),o?o=p.cloneElement(o,void 0,s):!a&&1===p.Children.count(r)&&p.isValidElement(r)&&(o=r);let l=o?nB(o):void 0,c=nf(n,l);if(!o){if(r||0===r)throw Error(a?nK(e):nV(e));return r}let u=nF(i,o.props??{});return o.type!==p.Fragment&&(u.ref=n?c:l),p.cloneElement(o,u)});return t.displayName=`${e}.Slot`,t}nL(nR,"createSlot");var nM=Symbol.for("radix.slottable");nL(function(e){let t=nL(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=nM,t},"createSlottable");var nj=nL((e,t)=>{if("child"in e.props){let t=e.props.child;return p.isValidElement(t)?p.cloneElement(t,void 0,e.props.children(t.props.children)):null}return p.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function nF(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function nB(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function nU(e){return p.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===nM}nL(nF,"mergeProps"),nL(nB,"getElementRef"),nL(nU,"isSlottable");var nz=Symbol.for("react.lazy");function nq(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===nz&&"_payload"in e&&n$(e._payload)}function n$(e){return"object"==typeof e&&null!==e&&"then"in e}nL(nq,"isLazyComponent"),nL(n$,"isPromiseLike");var nV=nL(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),nK=nL(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),nG=m[" use ".trim().toString()],nH=Object.defineProperty,nW=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=nR(`Primitive.${t}`),r=p.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(i?n:t,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function nQ(e,t){e&&nD.flushSync(()=>e.dispatchEvent(t))}function nY(e){let t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...e)=>t.current?.(...e),[])}nH(nQ,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),(0,Object.defineProperty)(nY,"name",{value:"useCallbackRef",configurable:!0});var nJ=Object.defineProperty,nZ=(e,t)=>nJ(e,"name",{value:t,configurable:!0}),nX="dismissableLayer.update",n0=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),n1=p.forwardRef(nZ(function(e,t){var n,r;let{disableOutsidePointerEvents:i=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:d,onDismiss:h,...f}=e,m=p.useContext(n0),[g,v]=p.useState(null),y=null!=(r=null==g?void 0:g.ownerDocument)?r:null==(n=globalThis)?void 0:n.document,[,b]=p.useState({}),w=nf(t,v),E=Array.from(m.layers),[x]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),k=x?E.indexOf(x):-1,C=g?E.indexOf(g):-1,T=m.layersWithOutsidePointerEventsDisabled.size>0,I=C>=k,N=p.useRef(!1),S=n5(e=>{null==s||s(e),null==d||d(e),e.defaultPrevented||null==h||h()},{ownerDocument:y,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:N,dismissableSurfaces:m.dismissableSurfaces,shouldHandlePointerDownOutside:p.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...m.branches].some(t=>t.contains(e));return I&&!t},[m.branches,I])}),_=n3(e=>{if(o&&N.current)return;let t=e.target;![...m.branches].some(e=>e.contains(t))&&(null==c||c(e),null==d||d(e),e.defaultPrevented||null==h||h())},y),O=!!g&&C===E.length-1,A=nY(e=>{"Escape"===e.key&&(null==a||a(e),!e.defaultPrevented&&h&&(e.preventDefault(),h()))});return p.useEffect(()=>{if(O)return y.addEventListener("keydown",A,{capture:!0}),()=>y.removeEventListener("keydown",A,{capture:!0})},[y,O,A]),p.useEffect(()=>{if(g)return i&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(l=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(g)),m.layers.add(g),n6(),()=>{i&&(m.layersWithOutsidePointerEventsDisabled.delete(g),0===m.layersWithOutsidePointerEventsDisabled.size&&(y.body.style.pointerEvents=l))}},[g,y,i,m]),p.useEffect(()=>()=>{g&&(m.layers.delete(g),m.layersWithOutsidePointerEventsDisabled.delete(g),n6())},[g,m]),p.useEffect(()=>{let e=nZ(()=>b({}),"handleUpdate");return document.addEventListener(nX,e),()=>document.removeEventListener(nX,e)},[]),(0,u.jsx)(nW.div,{...f,ref:w,style:{pointerEvents:T?I?"auto":"none":void 0,...e.style},onFocusCapture:na(e.onFocusCapture,_.onFocusCapture),onBlurCapture:na(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:na(e.onPointerDownCapture,S.onPointerDownCapture)})},"DismissableLayer"));nZ(function(){let e=p.useContext(n0),[t,n]=p.useState(null);return p.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n},"useDismissableLayerSurface");var n2=nZ(()=>!0,"IS_TRUE");function n5(e,t){var n;let{ownerDocument:r=null==(n=globalThis)?void 0:n.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:a,shouldHandlePointerDownOutside:s=n2}=t,l=nY(e),c=p.useRef(!1),u=p.useRef(!1),d=p.useRef(new Map),h=p.useRef(()=>{});return p.useEffect(()=>{function e(){u.current=!1,o.current=!1,d.current.clear()}function t(){return Array.from(d.current.values()).some(Boolean)}function n(e){if(!u.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||d.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{u.current&&h.current()},0)}function f(e){u.current&&d.current.set(e.type,!1)}nZ(e,"resetOutsideInteraction"),nZ(t,"isOutsideInteractionIntercepted"),nZ(n,"handleInteractionCapture"),nZ(f,"handleInteractionBubble");let p=nZ(n=>{if(n.target&&!c.current){let a=function(){r.removeEventListener("click",h.current);let n=t();e(),n||n7("dismissableLayer.pointerDownOutside",l,f,{discrete:!0})};if(nZ(a,"handleAndDispatchPointerDownOutsideEvent"),!s(n.target)){r.removeEventListener("click",h.current),e(
33),c.current=!1;return}let f={originalEvent:n};u.current=!0,o.current=i&&0===n.button,d.current.clear(),i&&0===n.button?(r.removeEventListener("click",h.current),h.current=a,r.addEventListener("click",h.current,{once:!0})):a()}else r.removeEventListener("click",h.current),e();c.current=!1},"handlePointerDown"),m=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of m)r.addEventListener(e,n,!0),r.addEventListener(e,f);let g=window.setTimeout(()=>{r.addEventListener("pointerdown",p)},0);return()=>{for(let e of(window.clearTimeout(g),r.removeEventListener("pointerdown",p),r.removeEventListener("click",h.current),m))r.removeEventListener(e,n,!0),r.removeEventListener(e,f)}},[r,l,i,o,a,s]),{onPointerDownCapture:nZ(()=>c.current=!0,"onPointerDownCapture")}}function n3(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=nY(e),i=p.useRef(!1);return p.useEffect(()=>{let e=nZ(e=>{e.target&&!i.current&&n7("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})},"handleFocus");return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:nZ(()=>i.current=!0,"onFocusCapture"),onBlurCapture:nZ(()=>i.current=!1,"onBlurCapture")}}function n6(){let e=new CustomEvent(nX);document.dispatchEvent(e)}function n7(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),i?nQ(o,a):o.dispatchEvent(a)}nZ(n5,"usePointerDownOutside"),nZ(n3,"useFocusOutside"),nZ(n6,"dispatchUpdate"),nZ(n7,"handleAndDispatchCustomEvent");var n4=Object.defineProperty,n8=(e,t)=>n4(e,"name",{value:t,configurable:!0}),n9="focusScope.autoFocusOnMount",re="focusScope.autoFocusOnUnmount",rt={bubbles:!1,cancelable:!0},rn=p.forwardRef(n8(function(e,t){let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=p.useState(null),c=nY(i),d=nY(o),h=p.useRef(null),f=nf(t,l),m=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let e=function(e){if(m.paused||!s)return;let t=e.target;s.contains(t)?h.current=t:rc(h.current,{select:!0})},t=function(e){if(m.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||rc(h.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&rc(s)};n8(e,"handleFocusIn"),n8(t,"handleFocusOut"),n8(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[r,s,m.paused]),p.useEffect(()=>{if(s){ru.add(m);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(n9,rt);s.addEventListener(n9,c),s.dispatchEvent(t),t.defaultPrevented||(rr(rf(ro(s)),{select:!0}),document.activeElement===e&&rc(s))}return()=>{s.removeEventListener(n9,c),setTimeout(()=>{let t=new CustomEvent(re,rt);s.addEventListener(re,d),s.dispatchEvent(t),t.defaultPrevented||rc(null!=e?e:document.body,{select:!0}),s.removeEventListener(re,d),ru.remove(m)},0)}}},[s,c,d,m]);let g=p.useCallback(e=>{if(!n&&!r||m.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,o]=ri(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&rc(o,{select:!0})):(e.preventDefault(),n&&rc(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,m.paused]);return(0,u.jsx)(nW.div,{tabIndex:-1,...a,ref:f,onKeyDown:g})},"FocusScope"));function rr(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(rc(r,{select:t}),document.activeElement!==n)return}function ri(e){let t=ro(e);return[ra(t,e),ra(t.reverse(),e)]}function ro(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n8(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function ra(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):rs(r,{upTo:t})))return r}function rs(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function rl(e){return e instanceof HTMLInputElement&&"select"in e}function rc(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&rl(e)&&t&&e.select()}}n8(rr,"focusFirst"),n8(ri,"getTabbableEdges"),n8(ro,"getTabbableCandidates"),n8(ra,"findVisible"),n8(rs,"isHidden"),n8(rl,"isSelectableInput"),n8(rc,"focus");var ru=rd();function rd(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=rh(e,t)).unshift(t)},remove(t){var n;null==(n=(e=rh(e,t))[0])||n.resume()}}}function rh(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function rf(e){return e.filter(e=>"A"!==e.tagName)}n8(rd,"createFocusScopesStack"),n8(rh,"arrayRemove"),n8(rf,"removeLinks");var rp=Object.defineProperty,rm=(rp(function(e,t){var n,r;let{container:i,...o}=e,[a,s]=p.useState(!1);ny(()=>s(!0),[]);let l=i||a&&(null==(r=globalThis)||null==(n=r.document)?void 0:n.body);return l?nD.createPortal((0,u.jsx)(nW.div,{...o,ref:t}),l):null},"name",{value:"Portal",configurable:!0}),Object.defineProperty),rg=(e,t)=>rm(e,"name",{value:t,configurable:!0});function rv(e,t){return p.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},e)}function ry(e){let[t,n]=p.useState(),r=p.useRef(null),i=p.useRef(e),o=p.useRef("none"),a=p.useRef(void 0),[s,l]=rv(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{if("mounted"===s){var e;o.current=null!=(e=a.current)?e:rE(r.current),a.current=void 0}else o.current="none"},[s]),ny(()=>{let t=r.current,n=i.current;if(n!==e){let r=o.current,s=rE(t);e?(a.current=s,l("MOUNT")):"none"===s||(null==t?void 0:t.display)==="none"?l("UNMOUNT"):n&&r!==s?l("ANIMATION_OUT"):l("UNMOUNT"),i.current=e}},[e,l]),ny(()=>
33{if(t){var e;let n,a=null!=(e=t.ownerDocument.defaultView)?e:window,s=rg(e=>{let o=rE(r.current).includes(CSS.escape(e.animationName));if(e.target===t&&o&&(l("ANIMATION_END"),!i.current)){let e=t.style.animationFillMode;t.style.animationFillMode="forwards",n=a.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=e)})}},"handleAnimationEnd"),c=rg(e=>{e.target===t&&(o.current=rE(r.current))},"handleAnimationStart");return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",s),t.addEventListener("animationend",s),()=>{a.clearTimeout(n),t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",s),t.removeEventListener("animationend",s)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:p.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,a.current=rE(t)}else r.current=null;n(e)},[])}}function rb(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function rw(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=p.useRef(t);return r.current=t,p.useCallback(e=>{let t=r.current,n=!1,i=t.map(t=>{let r=rb(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<i.length;e++){let n=i[e];"function"==typeof n?n():rb(t[e],null)}}},[])}function rE(e){return(null==e?void 0:e.animationName)||"none"}function rx(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?e.ref:(i=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}rg(rv,"useStateMachine"),rg(ry,"usePresence"),rg(rb,"setRef"),rg(rw,"useStableComposedRefs"),rg(rE,"getAnimationName"),rg(rx,"getElementRef");var rk=Object.defineProperty,rC=(e,t)=>rk(e,"name",{value:t,configurable:!0}),rT=0,rI=null;function rN(){p.useEffect(()=>{rI||(rI={start:rS(),end:rS()});let{start:e,end:t}=rI;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),rT++,()=>{1===rT&&(null==rI||rI.start.remove(),null==rI||rI.end.remove(),rI=null),rT=Math.max(0,rT-1)}},[])}function rS(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}rC(function(e){return rN(),e.children},"FocusGuards"),rC(rN,"useFocusGuards"),rC(rS,"createFocusGuard");var r_=n(71450),rO="right-scroll-bar-position",rA="width-before-scroll-bar";function rD(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var rP="undefined"!=typeof window?p.useLayoutEffect:p.useEffect,rL=new WeakMap;function rR(e){return e}var rM=function(e){void 0===e&&(e={});var t,n,r,i=(void 0===t&&(t=rR),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}});return i.options=(0,r_.__assign)({async:!0,ssr:!1},e),i}(),rj=function(){},rF=p.forwardRef(function(e,t){var n,r,i,o,a=p.useRef(null),s=p.useState({onScrollCapture:rj,onWheelCapture:rj,onTouchMoveCapture:rj}),l=s[0],c=s[1],u=e.forwardProps,d=e.children,h=e.className,f=e.removeScrollBar,m=e.enabled,g=e.shards,v=e.sideCar,y=e.noRelative,b=e.noIsolation,w=e.inert,E=e.allowPinchZoom,x=e.as,k=e.gapMode,C=(0,r_.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=(n=[a,t],r=function(e){return n.forEac
33h(function(t){return rD(t,e)})},(i=(0,p.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,o=i.facade,rP(function(){var e=rL.get(o);if(e){var t=new Set(e),r=new Set(n),i=o.current;t.forEach(function(e){r.has(e)||rD(e,null)}),r.forEach(function(e){t.has(e)||rD(e,i)})}rL.set(o,n)},[n]),o),I=(0,r_.__assign)((0,r_.__assign)({},C),l);return p.createElement(p.Fragment,null,m&&p.createElement(v,{sideCar:rM,removeScrollBar:f,shards:g,noRelative:y,noIsolation:b,inert:w,setCallbacks:c,allowPinchZoom:!!E,lockRef:a,gapMode:k}),u?p.cloneElement(p.Children.only(d),(0,r_.__assign)((0,r_.__assign)({},I),{ref:T})):p.createElement(void 0===x?"div":x,(0,r_.__assign)({},I,{className:h,ref:T}),d))});rF.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},rF.classNames={fullWidth:rA,zeroRight:rO};var rB=function(e){var t=e.sideCar,n=(0,r_.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return p.createElement(r,(0,r_.__assign)({},n))};rB.isSideCarExport=!0;var rU=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},rz=function(){var e=rU();return function(t,n){p.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},rq=function(){var e=rz();return function(t){return e(t.styles,t.dynamic),null}},r$={left:0,top:0,right:0,gap:0},rV=function(e){return parseInt(e||"",10)||0},rK=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[rV(n),rV(r),rV(i)]},rG=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return r$;var t=rK(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},rH=rq(),rW="data-scroll-locked",rQ=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(s,"px ").concat(r,";\n  }\n  body[").concat(rW,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(o,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(rO," {\n    right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(rA," {\n    margin-right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(rO," .").concat(rO," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(rA," .").concat(rA," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(rW,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},rY=function(){var e=parseInt(document.body.getAttribute(rW)||"0",10);return isFinite(e)?e:0},rJ=function(){p.useEffect(function(){return document.body.setAttribute(rW,(rY()+1).toString()),function(){var e=rY()-1;e<=0?document.body.removeAttribute(rW):document.body.setAttribute(rW,e.toString())}},[])},rZ=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;rJ();var o=p.useMemo(function(){return rG(i)},[i]);return p.createElement(rH,{styles:rQ(o,!t,i,n?"":"!important")})},rX=!1;if("undefined"!=typeof window)try{var r0=Object.defineProperty({},"passive",{get:function(){return rX=!0,!0}});window.addEventListener("test",r0,r0),window.removeEventListener("test",r0,r0)}catch(e){rX=!1}var r1=!!rX&&{passive:!1},r2=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},r5=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),r3(e,r)){var i=r6(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},r3=function(e,t){return"v"===e?r2(t,"overflowY"):r2(t,"overflowX")},r6=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},r7=function(e,t,n,r,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*r,l=n.target,c=t.contains(l),u=!1,d=s>0,h=0,f=0;do{if(!l)break;var p=r6(e,l),m=p[0],g=p[1]-p[2]-a*m;(m||g)&&r3(e,l)&&(h+=g,f+=m);var v=l.parentNode;l=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(h)||!i&&s>h)?u=!0:!d&&(i&&1>Math.abs(f)||!i&&-s>f)&&(u=!0),u},r4=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},r8=function(e){return[e.deltaX,e.deltaY]},r9=function(e){return e&&"current"in e?e.current:e},ie=0,it=[];let ir=(r=function(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),i=p.useState(ie++)[0],o=p.useState(rq)[0],a=p.useRef(e);p.useEffect(function(){a.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,r_.__spreadArray)([e.lockRef.current],(e.shards||[]).map(r9),!0).filter(
33Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=p.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var i,o=r4(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-o[0],c="deltaY"in e?e.deltaY:s[1]-o[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var h=window.getSelection(),f=h&&h.anchorNode;if(f&&(f===u||f.contains(u)))return!1;var p=r5(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=r5(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=i),!i)return!0;var m=r.current||i;return r7(m,t,e,"h"===m?l:c,!0)},[]),l=p.useCallback(function(e){if(it.length&&it[it.length-1]===o){var n="deltaY"in e?r8(e):r4(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(a.current.shards||[]).map(r9).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=p.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),u=p.useCallback(function(e){n.current=r4(e),r.current=void 0},[]),d=p.useCallback(function(t){c(t.type,r8(t),t.target,s(t,e.lockRef.current))},[]),h=p.useCallback(function(t){c(t.type,r4(t),t.target,s(t,e.lockRef.current))},[]);p.useEffect(function(){return it.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,r1),document.addEventListener("touchmove",l,r1),document.addEventListener("touchstart",u,r1),function(){it=it.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,r1),document.removeEventListener("touchmove",l,r1),document.removeEventListener("touchstart",u,r1)}},[]);var f=e.removeScrollBar,m=e.inert;return p.createElement(p.Fragment,null,m?p.createElement(o,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,f?p.createElement(rZ,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},rM.useMedium(r),rB);p.forwardRef(function(e,t){return p.createElement(rF,(0,r_.__assign)({},e,{ref:t,sideCar:ir}))}).classNames=rF.classNames;var ii=new WeakMap,io=new WeakMap,ia=function(e){return e&&(e.host||ia(e.parentNode))},is=Object.defineProperty,il=(e,t)=>is(e,"name",{value:t,configurable:!0}),ic="Dialog",[iu,id]=ng(ic),[ih,ip]=iu(ic),[im,ig]=iu("DialogPortal",{forceMount:void 0});function iv(e){return e?"open":"closed"}nR("DialogOverlay.RemoveScroll"),il(iv,"getState");let iy=(0,u.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 146 146",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"Coinbase Wallet Logo",children:[(0,u.jsx)("title",{children:"Coinbase Wallet Logo"}),(0,u.jsx)("rect",{width:"146",height:"146",fill:"#0052FF"}),(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.9 73C21.9 102.053 45.1466 125.3 74.2 125.3C103.253 125.3 126.5 102.053 126.5 73C126.5 43.9466 103.253 20.7 74.2 20.7C45.1466 20.7 21.9 43.9466 21.9 73ZM60.5 54.75C58.5673 54.75 57 56.3173 57 58.25V87.75C57 89.6827 58.5673 91.25 60.5 91.25H87.9C89.8327 91.25 91.4 89.6827 91.4 87.75V58.25C91.4 56.3173 89.8327 54.75 87.9 54.75H60.5Z",fill:"white"})]});function ib(e){let{className:t,size:n=24,token:r}=e,{image:i,name:o}=r,a=(0,p.useMemo)(()=>({image:{width:"".concat(n,"px"),height:"".concat(n,"px"),minWidth:"".concat(n,"px"),minHeight:"".concat(n,"px")},placeholderImage:{background:function(e){var t=function(e){let t=0;for(let n=0;n<e.length;n++)t=e.charCodeAt(n)+((t<<5)-t);return t}(`${e}`);let n=Math.abs(t)%360,r=Math.abs(t>>8)%31+50,i=Math.abs(t>>16)%21+40;return`hsl(${n}, ${r}%, ${i}%)`}(o),width:"".concat(n,"px"),height:"".concat(n,"px"),minWidth:"".concat(n,"px"),minHeight:"".concat(n,"px")}}),[n,o]);return i?(0,u.jsx)("img",{className:ts("ock:overflow-hidden ock:rounded-[50%]",t),alt:"token-image","data-testid":"ockTokenImage_Image",style:a.image,src:i}):(0,u.jsx)("div",{className:ts("ock:overflow-hidden ock:rounded-full",t),"data-testid":"ockTokenImage_NoImage",style:a.image,children:(0,u.jsx)("div",{style:a.placeholderImage})})}ts("ock:text-ock-foreground"),I.E.id,d.Z.id,I.E.id,d.Z.id,I.E.id,I.E.id,I.E.id,I.E.id,I.E.id,I.E.id,I.E.id,n(70918),n(79144),n(45687).renderToString(iy),n(52769),
33(0,p.forwardRef)(({"aria-label":e,className:t,delayMs:n=0,disabled:r=!1,onBlur:i,onChange:o,onFocus:a,placeholder:s,setValue:l,inputMode:c,value:d,inputValidator:h=()=>!0,error:f,...m},g)=>{let v=((e,t)=>{let n=(0,p.useRef)(e),r=(0,p.useRef)(null);return(0,p.useLayoutEffect)(()=>{n.current=e}),(0,p.useEffect)(()=>()=>{r.current&&clearTimeout(r.current)},[]),(0,p.useCallback)((...e)=>{r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{n.current(...e)},t)},[t])})(e=>{o(e)},n),y=(0,p.useCallback)(e=>{let t=e.target.value;h(t)&&(null==l||l(t),n>0?v(t):o(t))},[o,v,n,l,h]);return(0,u.jsx)("input",{"data-testid":"ockTextInput_Input","aria-invalid":!!f,"aria-label":e,ref:g,type:"text",className:ts(t,!!f&&"ock:text-ock-error"),inputMode:c,placeholder:s,value:d,onBlur:i,onChange:y,onFocus:a,disabled:r,autoComplete:"off","data-1p-ignore":!0,...m})}).displayName="TextInput",(0,p.createContext)({skipPopoverPortal:!1,forceDropdownModal:!1});let iw=(0,u.jsx)("svg",{"data-testid":"ock-caretDownSvg",role:"img","aria-label":"ock-caretDownSvg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,u.jsx)("path",{d:"M12.95 4.85999L8.00001 9.80999L3.05001 4.85999L1.64001 6.27999L8.00001 12.64L14.36 6.27999L12.95 4.85999Z",className:"ock:fill-ock-foreground"})}),iE=(0,u.jsx)("svg",{"data-testid":"ock-caretUpSvg",role:"img","aria-label":"ock-caretUpSvg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,u.jsx)("path",{d:"M3.05329 10.9866L7.99996 6.03997L12.9466 10.9866L14.1266 9.80663L7.99996 3.67997L1.87329 9.80663L3.05329 10.9866Z",className:"ock:fill-ock-foreground"})});(0,p.forwardRef)(({onClick:e,token:t,isOpen:n,className:r},i)=>(0,u.jsxs)("button",{type:"button","data-testid":"ockTokenSelectButton_Button",className:ts(tu.default,"ock:shadow-ock-default","ock:rounded-ock-default",td.lineDefault,"ock:flex ock:w-fit ock:items-center ock:gap-2 ock:px-3 ock:py-1",r),onClick:e,ref:i,children:[t?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"ock:w-4",children:(0,u.jsx)(ib,{token:t,size:16})}),(0,u.jsx)("span",{className:ts(tc.headline,"ock:text-ock-foreground"),"data-testid":"ockTokenSelectButton_Symbol",children:t.symbol})]}):(0,u.jsx)("span",{className:tc.headline,children:"Select token"}),(0,u.jsxs)("div",{className:"ock:relative ock:flex ock:items-center ock:justify-center",children:[(0,u.jsx)("div",{className:"ock:absolute ock:top-0 ock:left-0 ock:h-4 ock:w-4"}),n?iE:iw]})]})).displayName="TokenSelectButton",(0,p.createContext)({});var ix=n(5227),ik=n(91053);let iC=(0,ik.x)({id:421614,name:"Arbitrum Sepolia",blockTime:250,nativeCurrency:{name:"Arbitrum Sepolia Ether",symbol:"ETH",decimals:18}
33,rpcUrls:{default:{http:["https://sepolia-rollup.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://sepolia.arbiscan.io",apiUrl:"https://api-sepolia.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:81930}},testnet:!0});var iT=n(28680),iI=n(12673);let iN=(0,ik.x)({id:80001,name:"Polygon Mumbai",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},rpcUrls:{default:{http:["https://80001.rpc.thirdweb.com"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://mumbai.polygonscan.com",apiUrl:"https://api-testnet.polygonscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0x18938b0}},testnet:!0});var iS=n(33791),i_=n(87562);d.Z.id,I.E.id,ix.D.id,iC.id,nt.R.id,iT.i.id,iI.n.id,iN.id,iS.r.id,i_.G.id;let iO=(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -29.75 165.5 165.5",preserveAspectRatio:"xMidYMid meet",id:"Artwork","data-testid":"ock-applePaySvg",width:"24",height:"24",children:[(0,u.jsx)("title",{children:"Apple Pay"}),(0,u.jsx)("path",{id:"XMLID_4_",d:"M150.7 0h-139c-1 0-2.1.1-3.1.3-1 .2-2 .5-3 1-.9.4-1.8 1.1-2.5 1.8S1.7 4.7 1.3 5.6c-.5.9-.8 1.9-1 3-.2 1-.2 2.1-.3 3.1v82.5c0 1 .1 2.1.3 3.1.2 1 .5 2 1 3 .5.9 1.1 1.8 1.8 2.5s1.6 1.4 2.5 1.8c.9.5 1.9.8 3 1 1 .2 2.1.2 3.1.3h142.1c1 0 2.1-.1 3.1-.3 1-.2 2-.5 3-1 .9-.5 1.8-1.1 2.5-1.8s1.4-1.6 1.8-2.5c.5-.9.8-1.9 1-3 .2-1 .2-2.1.3-3.1v-1.4-78-1.7-1.4c0-1-.1-2.1-.3-3.1-.2-1-.5-2-1-3-.5-.9-1.1-1.8-1.8-2.5s-1.6-1.4-2.5-1.8c-.9-.5-1.9-.8-3-1-1-.2-2.1-.2-3.1-.3H150.7z"}),(0,u.jsx)("path",{id:"XMLID_3_",fill:"#fff",d:"M150.7 3.5H153.8c.8 0 1.7.1 2.6.2.8.1 1.4.3 2 .6.6.3 1.1.7 1.6 1.2s.9 1 1.2 1.6c.3.6.5 1.2.6 2 .2.9.2 1.8.2 2.6v82.5c0 .8-.1 1.7-.2 2.6-.1.7-.3 1.4-.6 2-.3.6-.7 1.1-1.2 1.6s-1 .9-1.6 1.2c-.6.3-1.2.5-2 .6-.9.2-1.8.2-2.6.2H11.7c-.7 0-1.7-.1-2.6-.2-.7-.1-1.4-.3-2-.7-.6-.3-1.1-.7-1.6-1.2s-.9-1-1.2-1.6c-.3-.6-.5-1.2-.6-2-.2-.9-.2-1.8-.2-2.6v-81-1.4c0-.8.1-1.7.2-2.6.1-.7.3-1.4.6-2 .3-.6.7-1.1 1.2-1.6s1-.9 1.6-1.2c.6-.3 1.2-.5 2-.6.9-.2 1.8-.2 2.6-.2h139"}),(0,u.jsx)("path",{d:"M45.2 35.6c1.4-1.8 2.4-4.2 2.1-6.6-2.1.1-4.6 1.4-6.1 3.1-1.3 1.5-2.5 4-2.2 6.3 2.4.3 4.7-1 6.2-2.8M47.3 39c-3.4-.2-6.3 1.9-7.9 1.9-1.6 0-4.1-1.8-6.8-1.8-3.5.1-6.7 2-8.5 5.2-3.6 6.3-1 15.6 2.6 20.7 1.7 2.5 3.8 5.3 6.5 5.2 2.6-.1 3.6-1.7 6.7-1.7s4 1.7 6.8 1.6c2.8-.1 4.6-2.5 6.3-5.1 2-2.9 2.8-5.7 2.8-5.8-.1-.1-5.5-2.1-5.5-8.3-.1-5.2 4.2-7.7 4.4-7.8-2.3-3.6-6.1-4-7.4-4.1"}),(0,u.jsx)("g",{children:(0,u.jsx)("path",{d:"M76.7 31.9c7.4 0 12.5 5.1 12.5 12.4 0 7.4-5.2 12.5-12.7 12.5h-8.1v12.9h-5.9V31.9h14.2zm-8.3 20h6.7c5.1 0 8-2.8 8-7.5 0-4.8-2.9-7.5-8-7.5h-6.8v15zM90.7 62c0-4.8 3.7-7.8 10.3-8.2l7.6-.4v-2.1c0-3.1-2.1-4.9-5.5-4.9-3.3 0-5.3 1.6-5.8 4h-5.4c.3-5 4.6-8.7 11.4-8.7 6.7 0 11 3.5 11 9.1v19h-5.4v-4.5h-.1c-1.6 3.1-5.1 5-8.7 5-5.6 0-9.4-3.4-9.4-8.3zm17.9-2.5v-2.2l-6.8.4c-3.4.2-5.3 1.7-5.3 4.1 0 2.4 2 4 5 4 4 0 7.1-2.7 7.1-6.3zM119.3 80v-4.6c.4.1 1.4.1 1.8.1 2.6 0 4-1.1 4.9-3.9 0-.1.5-1.7.5-1.7l-10-27.6h6.1l7 22.5h.1l7-22.5h6l-10.3 29.1c-2.4 6.7-5.1 8.8-10.8 8.8-.4-.1-1.8-.1-2.3-.2z"})})]}),iA=(0,u.jsxs)("svg",{"data-testid":"ock-appleSvg",role:"img","aria-label":"ock-appleSvg",width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,u.jsx)("title",{children:"Apple"}
33),(0,u.jsx)("path",{d:"M10.0788 0C10.1161 0 10.1533 0 10.1926 0C10.284 1.12836 9.85329 1.97146 9.32986 2.58201C8.81627 3.18834 8.11298 3.77641 6.97549 3.68718C6.89961 2.57498 7.331 1.79441 7.85373 1.18527C8.33851 0.617575 9.22729 0.112414 10.0788 0Z",className:"ock:fill-ock-foreground"}),(0,u.jsx)("path",{d:"M13.5228 11.7446C13.5228 11.7558 13.5228 11.7657 13.5228 11.7762C13.2031 12.7444 12.7471 13.5741 12.1907 14.3442C11.6827 15.0432 11.0602 15.984 9.9487 15.984C8.98826 15.984 8.35031 15.3664 7.36598 15.3496C6.32475 15.3327 5.75214 15.866 4.80013 16.0002C4.69123 16.0002 4.58233 16.0002 4.47554 16.0002C3.77646 15.899 3.21228 15.3454 2.80127 14.8465C1.58931 13.3725 0.652757 11.4685 0.478516 9.0319C0.478516 8.79302 0.478516 8.55485 0.478516 8.31597C0.552287 6.57215 1.39961 5.15432 2.52586 4.46719C3.12025 4.10185 3.93735 3.7906 4.84721 3.92971C5.23714 3.99014 5.63551 4.12363 5.98469 4.25571C6.31561 4.38288 6.72944 4.60841 7.12148 4.59647C7.38706 4.58874 7.65123 4.45033 7.91892 4.35267C8.70301 4.06953 9.47164 3.74493 10.4848 3.89739C11.7024 4.08147 12.5665 4.62246 13.1005 5.45714C12.0705 6.11265 11.2562 7.10049 11.3953 8.7874C11.519 10.3197 12.4099 11.2162 13.5228 11.7446Z",className:"ock:fill-ock-foreground"})]}),iD=(0,u.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"ock:fill-ock-foreground","data-testid":"coinbaseLogoSvg",children:[(0,u.jsx)("title",{children:"Coinbase Pay Onramp"}),(0,u.jsx)("path",{d:"M7.93154 12.5C5.74045 12.5 3.96577 10.6354 3.96577 8.33333C3.96577 6.03125 5.74045 4.16667 7.93154 4.16667C9.8946 4.16667 11.5239 5.67014 11.8378 7.63889H15.8333C15.4962 3.36111 12.089 0 7.93154 0C3.55267 0 0 3.73264 0 8.33333C0 12.934 3.55267 16.6667 7.93154 16.6667C12.089 16.6667 15.4962 13.3056 15.8333 9.02778H11.8378C11.5239 10.9965 9.8946 12.5 7.93154 12.5Z",fill:"#0052FF"})]}),iP=(0,u.jsx)("svg",{role:"img","aria-label":"ock-coinbasePaySvg",width:"100%",height:"100%",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.0145 14.1666C7.82346 14.1666 6.04878 12.302 6.04878 9.99996C6.04878 7.69788 7.82346 5.83329 10.0145 5.83329C11.9776 5.83329 13.6069 7.33677 13.9208 9.30552H17.9163C17.5793 5.02774 14.172 1.66663 10.0145 1.66663C5.63568 1.66663 2.08301 5.39926 2.08301 9.99996C2.08301 14.6007 5.63568 18.3333 10.0145 18.3333C14.172 18.3333 17.5793 14.9722 17.9163 10.6944H13.9208C13.6069 12.6632 11.9776 14.1666 10.0145 14.1666Z",fill:"#f9fafb"})}),iL=(0,u.jsxs)("svg",{"data-testid":"ock-creditCardSvg",role:"img","aria-label":"ock-creditCardSvg",width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,u.jsx)("title",{children:"Credit Card"}),(0,u.jsx)("path",{d:"M0.478516 2.33325V12.9999H13.5228V2.33325H0.478516ZM12.164 3.99992V5.33325H1.83729V3.99992H12.164ZM1.83729 11.3333V7.66659H12.164V11.3333H1.83729Z",className:"ock:fill-ock-foreground"}),(0,u.jsx)("path",{d:"M2.65256 8.66659H7.00064V9.66659H2.65256V8.66659Z",className:"ock:fill-ock-foreground"})]}),iR=(0,u.jsx)("svg",{role:"img","aria-label":"ock-fundWalletSvg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5 4.5C13.5 6.15685 14.8431 7.5 16.5 7.5V10.5C14.8431 10.5 13.5 11.8431 13.5 13.5H4.5C4.5 11.8431 3.15685 10.5 1.5 10.5L1.5 13.5V7.5C3.15685 7.5 4.5 6.15685 4.5 4.5H13.5ZM0 3V15H18V3H0ZM11.25 9C11.25 7.75736 10.2426 6.75 9 6.75C7.75736 6.75 6.75 7.75736 6.75 9C6.75 10.2426 7.75736 11.25 9 11.25C10.2426 11.25 11.25 10.2426 11.25 9Z",fill:"#0A0B0D",className:"ock:fill-ock-foreground"})}),iM=(0,u.jsx)("svg",{role:"img","aria-label":"ock-swapSettingsSvg",width:"100%",height:"100%",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.92071 5.89742e-08C8.00371 5.89742e-08 7.22171 0.663 7.07071 1.567L6.89271 2.639C6.87271 2.759 6.77771 2.899 6.59571 2.987C6.25306 3.15171 5.92344 3.34226 5.60971 3.557C5.44371 3.672 5.27571 3.683 5.15971 3.64L4.14271 3.258C3.72695 3.10224 3.26941 3.09906 2.85152 3.24904C2.43364 3.39901 2.08254 3.69241 1.86071 4.077L0.938708 5.674C0.716797 6.05836 0.638423 6.50897 0.717525 6.94569C0.796628 7.3824 1.02808 7.7769 1.37071 8.059L2.21071 8.751C2.30571 8.829 2.38071 8.98 2.36471 9.181C2.33621 9.56013 2.33621 9.94087 2.36471 10.32C2.37971 10.52 2.30571 10.672 2.21171 10.75L1.37071 11.442C1.02808 11.7241 0.796628 12.1186 0.717525 12.5553C0.638423 12.992 0.716797 13.4426 0.938708 13.827L1.86071 15.424C2.08269 15.8084 2.43387 16.1016 2.85173 16.2514C3.2696 16.4012 3.72706 16.3978 4.14271 16.242L5.16171 15.86C5.27671 15.817 5.44471 15.829 5.61171 15.942C5.92371 16.156 6.25271 16.347 6.59671 16.512C6.77871 16.6 6.87371 16.74 6.89371 16.862L7.07171 17.933C7.22271 18.837 8.00471 19.5 8.92171 19.5H10.7657C11.6817 19.5 12.4647 18.837 12.6157 17.933L12.7937 16.861C12.8137 16.741 12.9077 16.601 13.0907 16.512C13.4347 16.347 13.7637 16.156 14.0757 15.942C14.2427 15.828 14.4107 15.817 14.5257 15.86L15.5457 16.242C15.9612 16.3972 16.4183 16.4001 16.8357 16.2502C17.2532 16.1002 17.6039 15.8071 17.8257 15.423L18.7487 13.826C18.9706 13.4416 19.049 12.991 18.9699 12.5543C18.8908 12.1176 18.6593 11.7231 18.3167 11.441L17.4767 10.749C17.3817 10.671 17.3067 10.52 17.3227 10.319C17.3511 9.93987 17.3511 9.55913 17.3227 9.18C17.3067 8.98 17.3817 8.828 17.4757 8.75L18.3157 8.058C19.0237 7.476 19.2067 6.468 18.7487 5.673L17.8267 4.076C17.6047 3.69159 17.2535 3.3984 16.8357 3.24861C16.4178 3.09883 15.9604 3.10215 15.5447 3.258L14.5247 3.64C14.4107 3.683 14.2427 3.671 14.0757 3.557C13.7623 3.3423 13.433 3.15175 13.0907 2.987C12.9077 2.9 12.8137 2.76 12.7937 2.639L12.6147 1.567C12.5418 1.12906 12.3158 0.731216 11.977 0.444267C11.6383 0.157318 11.2087 -0.00011124 10.7647 5.89742e-08H8.92171H8.92071ZM9.84271 13.5C10.8373 13.5 11.7911 13.1049 12.4944 12.4017C13.1976 11.6984 13.5927 10.7446 13.5927 9.75C13.5927 8.75544 13.1976 7.80161 12.4944 7.09835C11.7911 6.39509 10.8373 6 9.84271 6C8.84815 6 7.89432 6.39509 7.19106 7.09835C6.4878 7.80161 6.09271 8.75544 6.09271 9.75C6.09271 10.7446 6.4878 11.6984 7.19106 12.4017C7.89432 13.1049 8.84815 13.5 9.84271 13.5Z",fill:"#6B7280",className:"ock:fill-ock-foreground"})}),ij=(0,u.jsxs)("svg",{role:"img","aria-label":"ock-toggleSvg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-testid":"ock-toggleSvg",children:[(0,u.jsx)("g",{clipPath:"url(#clip0_2077_4627)",children:(0,u.jsx)("path",{d:"M14.5659 4.93434L13.4345 6.06571L11.8002 4.43
33139L11.8002 10.75L10.2002 10.75L10.2002 4.43139L8.56592 6.06571L7.43455 4.93434L11.0002 1.36865L14.5659 4.93434ZM8.56592 12.0657L5.00023 15.6314L1.43455 12.0657L2.56592 10.9343L4.20023 12.5687L4.20023 6.25002L5.80023 6.25002L5.80023 12.5687L7.43455 10.9343L8.56592 12.0657Z",className:"ock:fill-ock-foreground"})}),(0,u.jsx)("defs",{children:(0,u.jsx)("clipPath",{id:"clip0_2077_4627",children:(0,u.jsx)("rect",{width:"16",height:"16",fill:"white",transform:"translate(0 0.5)"})})})]}),iF=(0,u.jsx)("svg",{role:"img","aria-label":"ock-walletSvg",width:"100%",height:"100%",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 10C0 15.5222 4.47778 20 10 20C15.5222 20 20 15.5222 20 10C20 4.47778 15.5222 0 10 0C4.47778 0 0 4.47778 0 10ZM7.44444 6.77778C7.075 6.77778 6.77778 7.075 6.77778 7.44444V12.5556C6.77778 12.925 7.075 13.2222 7.44444 13.2222H12.5556C12.925 13.2222 13.2222 12.925 13.2222 12.5556V7.44444C13.2222 7.075 12.925 6.77778 12.5556 6.77778H7.44444Z",className:"ock:fill-ock-foreground"})});function iB({className:e,paymentMethod:t}){let{icon:n}=t,r=(({icon:e})=>(0,p.useMemo)(()=>{if(void 0===e)return null;switch(e){case"coinbasePay":return iP;case"coinbaseLogo":return iD;case"fundWallet":return iR;case"swapSettings":return iM;case"wallet":return iF;case"toggle":return ij;case"applePay":return iO;case"apple":return iA;case"creditCard":return iL}if((0,p.isValidElement)(e))return e},[e]))({icon:n});return(0,u.jsx)("div",{"data-testid":"ockFundCardPaymentMethodImage__iconContainer",className:ts("ock:flex ock:items-center ock:justify-center ock:overflow-hidden ock:rounded-[50%]",e),children:r})}(0,p.createContext)({}),ts(tc.caption,"ock:text-ock-foreground-muted","ock:h-[1.625rem]"),(0,p.createContext)({}),(0,p.memo)(({paymentMethod:e,onClick:t,hideImage:n,hideDescription:r,disabled:i,disabledReason:o,testId:a})=>{let{sendAnalytics:s}={sendAnalytics:V},l=(0,p.useCallback)(()=>{i||(null==t||t(e),s(K.FundOptionSelected,{option:e.id}))},[i,t,e,s]);return(0,u.jsx)("button",{"data-testid":a,type:"button",className:ts(tu.default,"ock:bg-ock-background ock:rounded-ock-default ock:flex ock:w-full ock:items-center ock:justify-between ock:px-4 ock:py-2",{[tu.disabled]:i}),onClick:l,disabled:i,title:o,children:(0,u.jsxs)("span",{className:"ock:flex ock:items-center ock:gap-3",children:[!n&&(0,u.jsx)(iB,{paymentMethod:e,className:ts("ock:h-4 ock:w-4",{[tu.disabled]:i})}),(0,u.jsxs)("span",{className:"ock:flex ock:flex-col ock:items-start",children:[(0,u.jsx)("span",{className:ts(tc.headline),children:e.name}),!r&&(0,u.jsx)("span",{className:ts(tc.label2,"ock:text-ock-foreground-muted","ock:font-normal"),children:o||e.description})]})]})})}).displayName="FundCardPaymentMethodSelectRow",(0,p.forwardRef)(({onClick:e,paymentMethod:t,isOpen:n,className:r},i)=>(0,u.jsxs)("button",{type:"button",className:ts(tu.default,td.lineDefault,"ock:rounded-ock-default ock:flex ock:h-12 ock:w-full ock:items-center ock:gap-2 ock:px-3 ock:py-1",r),onClick:e,ref:i,"data-testid":"ockFundCardPaymentMethodSelectorToggle",children:[(0,u.jsx)("div",{className:"ock:w-4",children:(0,u.jsx)(iB,{paymentMethod:t,className:"ock:h-4 ock:w-4"})}),(0,u.jsx)("span",{className:ts(tc.headline,"ock:text-ock-foreground","ock:flex ock:w-full"),"data-testid":"ockFundCardPaymentMethodSelectorToggle__paymentMethodName",children:t.name}),(0,u.jsx)("span",{className:ts("ock:rotate-90 ock:transition-transform ock:duration-200",n&&"ock:rotate-180"),children:iE})]})).displayName="FundCardPaymentMethodSelectorToggle"},96729:(e,t,n)=>{"use strict";let r,i,o;n.d(t,{G4:()=>f});var a=n(11059),s=n(2535),l=n(43159),c=n(77608),u=n(11914),d=n(73168),h=n(34561);function f(){return(0,s.U)(e=>({id:"farcaster",name:"Farcaster",rdns:"xyz.farcaster.MiniAppWallet",icon:"https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/055c25d6-7fe7-4a49-abf9-49772021cf00/original",type:f.type,async connect({chainId:t}={}){let n=await this.getProvider(),a=await n.request({method:"eth_requestAccounts"}),s=t;if(!s){let t=await e.storage?.getItem("state")??{};s=e.chains.some(e=>e.id===t.chainId)?t.chainId:e.chains[0]?.id}if(!s)throw Error("No chains found on connector.");r||(r=this.onAccountsChanged.bind(this),n.on("accountsChanged",r)),i||(i=this.onChainChanged.bind(this),n.on("chainChanged",i)),o||(o=this.onDisconnect.bind(this),n.on("disconnect",o));let l=await this.getChainId();return s&&l!==s&&(l=(await this.switchChain({chainId:s})).id),{accounts:a.map(e=>(0,c.b)(e)),chainId:l}},async disconnect(){let e=await this.getProvider();r&&(e.removeListener("accountsChanged",r),r=void 0),i&&(e.removeListener("chainChanged",i),i=void 0),o&&(e.removeListener("disconnect",o),o=void 0)},async getAccounts(){let e=await this.getProvider();return(await e.request({method:"eth_accounts"})).map(e=>(0,c.b)(e))},async getChainId(){let e=await this.getProvider(),t=await e.request({method:"eth_chainId"});return(0,u.aD)(t,"number")},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({chainId:t}){let n=await this.getProvider(),r=e.chains.find(e=>e.id===t);
33if(!r)throw new d.ch(new l.nk);return await n.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,h.cK)(t)}]}),e.emitter.emit("change",{chainId:t}),r},onAccountsChanged(t){0===t.length?this.onDisconnect():e.emitter.emit("change",{accounts:t.map(e=>(0,c.b)(e))})},onChainChanged(t){let n=Number(t);e.emitter.emit("change",{chainId:n})},async onDisconnect(){e.emitter.emit("disconnect")},getProvider:async()=>a.Ay.wallet.ethProvider}))}f.type="farcasterMiniApp",f.type="farcasterFrame"}}]);

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.