1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8928],{12993:(e,t,a)=>{a.d(t,{S:()=>r});var s=a(22456);function r(){return(0,s.jsxs)("svg",{fill:"none",height:"24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("title",{children:"Check"}),(0,s.jsx)("path",{d:"M11.375 20.328c.414 0 .727-.172.953-.508l7.344-11.453c.164-.25.226-.469.226-.68 0-.539-.375-.914-.921-.914-.383 0-.61.133-.844.5l-6.79 10.782-3.5-4.492c-.226-.305-.46-.43-.804-.43-.547 0-.945.39-.945.93 0 .234.086.46.281.703l4.047 5.062c.273.336.562.5.953.5ZM7.086 5.445c.101 0 .164-.07.18-.164.226-1.297.218-1.32 1.57-1.578.101-.015.164-.078.164-.18 0-.101-.063-.164-.164-.18-1.352-.273-1.32-.296-1.57-1.57-.016-.101-.079-.164-.18-.164-.102 0-.164.063-.18.157-.258 1.289-.218 1.32-1.578 1.578-.094.015-.164.078-.164.18 0 .101.063.163.164.18 1.36.273 1.336.288 1.578 1.577.016.094.078.164.18.164Zm3.75 5.383c.164 0 .273-.11.297-.281.25-2.078.344-2.133 2.453-2.469.187-.023.305-.125.305-.297 0-.156-.118-.265-.266-.289-2.133-.414-2.242-.398-2.492-2.469-.024-.171-.133-.28-.297-.28-.156 0-.274.109-.297.273-.266 2.109-.336 2.171-2.484 2.476a.284.284 0 0 0-.266.29c0 .163.11.265.258.296 2.164.422 2.219.414 2.492 2.485.024.156.14.265.297.265Z",fill:"currentColor"})]})}a(91796)},34056:(e,t,a)=>{a.d(t,{T:()=>r});var s=a(22456);function r(){return(0,s.jsxs)("svg",{fill:"none",height:"24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("title",{children:"Copy"}),(0,s.jsx)("path",{d:"M3.875 19.727c0 1.687.867 2.562 2.54 2.562h7.312c1.671 0 2.53-.883 2.53-2.562V18.28h1.329c1.672 0 2.539-.875 2.539-2.562V9.53c0-1.023-.21-1.68-.828-2.312L15.398 3.25c-.585-.602-1.28-.828-2.18-.828h-2.945c-1.664 0-2.539.875-2.539 2.562v1.438h-1.32c-1.672 0-2.539.883-2.539 2.562v10.743Zm11.602-8.211L11.242 7.21c-.601-.61-1.11-.774-1.976-.781V5.07c0-.718.382-1.117 1.14-1.117h3.266v3.735c0 .968.515 1.468 1.476 1.468h3.446v6.469c0 .727-.375 1.125-1.14 1.125h-1.196v-3.031c0-1.055-.125-1.54-.781-2.203Zm-.524-4.024V4.586l3.242 3.289h-2.86c-.265 0-.382-.11-.382-.383Zm-9.547 12.14V9.079c0-.719.375-1.125 1.133-1.125h2.399v4.281c0 1.118.554 1.664 1.664 1.664h4.125v5.735c0 .726-.375 1.125-1.133 1.125H6.539c-.758 0-1.133-.399-1.133-1.125Zm5.344-7.085c-.32 0-.46-.14-.46-.461V8.25l4.226 4.297H10.75Z",fill:"currentColor"})]})}a(91796)},61858:(e,t,a)=>{a.d(t,{d:()=>M});var s=a(22456),r=a(89381),l=a(86471),i=a(92950),n=a(7500),o=a(91796);function c(e){return(0,s.jsx)(l.$,{prefix:(0,s.jsx)(r.a,{as:"img",borderRadius:"2",size:"7",src:e.src,style:{pointerEvents:"none"}}),size:"xl",...e,style:{justifyContent:"center",userSelect:"none",width:"100%"}})}a(84789),a(47847),a(72682),a(29112);var d=a(39064),h=a(7367);a(55108);var x=a(12993),g=a(34056),p=a(48934),j=a(34883);function m({children:e,className:t}){return(0,s.jsx)(r.a,{as:"pre",className:(0,j.A)("o4oa330",t),children:e})}a(30873);var u=a(15263);function f(){return(0,s.jsxs)("svg",{height:16,style:{color:u.f.colors.blue,verticalAlign:"middle"},viewBox:"0 0 18 18",width:16,xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("title",{children:"Information"}),(0,s.jsx)("path",{d:"M8.991 0C13.926 0 18 4.072 18 9.004 18 13.937 13.935 18 9 18s-9-4.063-9-8.996C0 4.072 4.056 0 8.991 0zm.285 7.463H7.622c-.413 0-.74.31-.74.706 0 .43.327.723.74.723h.835v3.306h-.99a.724.724 0 00-.74.714c0 .422.327.724.74.724h3.48c.413 0 .74-.302.74-.724a.724.724 0 00-.74-.714h-.862V8.385c0-.56-.284-.922-.81-.922zm-.31-3.71c-.664 0-1.215.543-1.215 1.231 0 .663.551 1.223 1.215 1.223.68 0 1.223-.56 1.223-1.223 0-.688-.543-1.23-1.223-1.23z",fill:"currentColor",fillRule:"nonzero"})]})}var v=a(4010);a(89165);let b=v.bL,_=v.l9,y=(0,o.forwardRef)(({children:e,...t},a)=>(0,s.jsx)(v.UC,{className:"_1g1ptzo1x6 _1g1ptzo1qx _1g1ptzo1t0 _1g1ptzo1v3 _1g1ptzo2q9 _1g1ptzo41 _1g1ptzol4 _1i09cfj1",side:"top",sideOffset:5,...t,ref:a,children:e}));y.displayName="PopoverContent",a(78962);var z="_1g1ptzo1xb _1g1ptzo1r2 _1g1ptzo1y _1g1ptzo1v3 _1g1ptzokz _1o6hlrq8",w="_1g1ptzo1xb _1g1ptzo1r2 _1g1ptzo1y _1g1ptzo1v3 _1g1ptzol4 _1o6hlrq5";function C({"aria-label":e,data:t}
1){return(0,s.jsx)(r.a,{"aria-label":e,className:"_1o6hlrq0",marginBottom:"9",role:"region",tabIndex:0,children:(0,s.jsxs)(r.a,{as:"table",className:"_1o6hlrq1",children:[(0,s.jsx)(r.a,{as:"thead",children:(0,s.jsxs)(r.a,{as:"tr",children:[(0,s.jsx)(r.a,{as:"th",className:w,children:"Prop"}),(0,s.jsx)(r.a,{as:"th",className:w,children:"Type"}),(0,s.jsx)(r.a,{as:"th",className:w,children:"Default"})]})}),(0,s.jsx)(r.a,{as:"tbody",children:t.map(({default:e,description:t,name:a,required:n,type:o,typeSimple:c})=>(0,s.jsxs)(r.a,{as:"tr",children:[(0,s.jsxs)(r.a,{as:"td",className:z,children:[(0,s.jsxs)(i.C,{children:[a,n?"*":null]}),t&&(0,s.jsxs)(b,{children:[(0,s.jsx)(_,{asChild:!0,children:(0,s.jsx)(l.$,{marginLeft:"2",shape:"circle",size:"xs",style:{verticalAlign:"middle"},variant:"ghost",children:(0,s.jsx)(f,{})})}),(0,s.jsx)(y,{children:t})]})]}),(0,s.jsxs)(r.a,{as:"td",className:z,children:[(0,s.jsxs)(i.C,{children:[c||o," "]}),c&&(0,s.jsxs)(b,{children:[(0,s.jsx)(_,{asChild:!0,children:(0,s.jsx)(l.$,{marginLeft:"2",shape:"circle",size:"xs",style:{verticalAlign:"middle"},variant:"ghost",children:(0,s.jsx)(f,{})})}),(0,s.jsx)(y,{children:(0,s.jsx)(i.C,{style:{whiteSpace:"normal"},children:o})})]})]}),(0,s.jsx)(r.a,{as:"td",className:z,children:e?(0,s.jsx)(i.C,{children:e}):(0,s.jsx)(s.Fragment,{children:"â"})})]},a))})]})})}var k=a(96168);function N({data:e,dataTypes:t,key:a}){return(0,s.jsx)(r.a,{as:"tr",children:e.map((e,a)=>(0,s.jsx)(r.a,{as:"td",className:"_1g1ptzo1xb _1g1ptzo1r2 _1g1ptzo1y _1g1ptzo1v3 _1op51bk7",children:"code"===t[a]?(0,s.jsx)(i.C,{children:e}):(0,s.jsx)(k.E,{as:"p",color:"labelSecondary",style:{fontWeight:500},children:e})},`${t[a]}-${e}`))},a)}function E({"aria-label":e,header:t,dataTypes:a,data:l}){return(0,s.jsx)(r.a,{"aria-label":e,className:"_1op51bk0",marginBottom:"9",role:"region",tabIndex:0,children:(0,s.jsxs)(r.a,{as:"table",className:"_1op51bk1",children:[(0,s.jsx)(r.a,{as:"thead",children:(0,s.jsx)(r.a,{as:"tr",children:t.map(e=>(0,s.jsx)(r.a,{as:"th",className:"_1g1ptzo1xb _1g1ptzo1r2 _1g1ptzo1y _1g1ptzo1v3 _1g1ptzol4 _1op51bk5",children:e},e))})}),(0,s.jsx)(r.a,{as:"tbody",children:l.map(e=>(0,s.jsx)(N,{data:e,dataTypes:a},e.join("-")))})]})})}a(67039);var T=a(62287),B=a(36799),$=a.n(B),R=a(21826),q=a.n(R);a(2074);let M={a:e=>(0,s.jsx)(p.N,{...e}),Announcement:function({actionTitle:e,actionUrl:t,heading:a,props:i,subheading:n}){return(0,s.jsxs)(r.a,{as:"div",borderColor:"fillElevated",borderRadius:"3",borderWidth:"1",className:"_1tp3nmk0",display:"flex",flexDirection:"row",justifyContent:"space-between",marginBottom:"8",paddingBottom:"5",paddingTop:"5",paddingX:"5",...i,children:[(0,s.jsxs)(r.a,{display:"flex",flexDirection:"column",gap:"2",children:[(0,s.jsx)(k.E,{as:"h4",display:"inline",variant:"title3",weight:"medium",children:a}),(0,s.jsx)(k.E,{as:"p",color:"labelSecondary",style:{fontWeight:500},children:n})]}),(0,s.jsx)(r.a,{alignItems:"center",display:"flex",justifyContent:"center",children:(0,s.jsx)(q(),{href:t,children:(0,s.jsx)(l.$,{size:"m",variant:"blue",children:e})})})]})},blockquote:e=>(0,s.jsx)(r.a,{as:"blockquote",borderColor:"fillElevated",borderRadius:"3",borderWidth:"1",marginBottom:"5",paddingTop:"5",paddingX:"5",...e,style:{backgroundImage:`radial-gradient(circle at 240px -80px, ${u.f.colors.backgroundElevated} 0%, ${u.f.colors.fillElevated} 100%)`,overflow:"hidden"}}),code:({children:e,...t})=>"string"==typeof e?(0,s.jsx)(i.C,{...t,children:e}):(0,s.jsx)("code",{children:e}),CoolMode:function(){let e=(0,n.g)("/coinbase.svg"),t=(0,n.g)("/metaMask.svg"),a=(0,n.g)("/rainbow.svg"),l=(0,n.g)("/ready.svg"),i=(0,n.g)("/walletConnect.svg"),o=(0,n.g)("/trust.svg");return(0,s.jsxs)(r.a,{className:"_1wrg581 _1g1ptzo1xx _1g1ptzo1x6 _1g1ptzo1ro _1g1ptzo1qx _1g1ptzo1tr _1g1ptzo1t0 _1g1ptzo1vu _1g1ptzo1v3 _1g1ptzo46 _1g1ptzodw _1g1ptzon4 _1g1ptzomx",id:"cool-mode-demo",children:[(0,s.jsx)(r.a,{ref:a,children:(0,s.jsx)(c,{src:"/rainbow.svg",children:"Rainbow"})}),(0,s.jsx)(r.a,{ref:i,children:(0,s.jsx)(c,{src:"/walletConnect.svg",children:"WalletConnect"})}),(0,s.jsx)(r.a,{ref:t,children:(0,s.jsx)(c,{src:"/metaMask.svg",children:"MetaMask"})}),(0,s.jsx)(r.a,{ref:e,children:(0,s.jsx)(c,{src:"/coinbase.svg",children:"Coinbase"})}),(0,s.jsx)(r.a,{ref:l,children:(0,s.jsx)(c,{src:"/ready.svg",children:"Ready"})}),(0,s.jsx)(r.a,{ref:o,children:(0,s.jsx)(c,{src:"/trust.svg",children:"Trust"})})]})},h1:e=>(0,s.jsx)(k.E,{as:"h1",marginBottom:"1",variant:"titleLarge",weight:"heavy",...e}),h2:e=>(0,s.jsx)(k.E,{as:"h2",color:"labelSecondary",marginBottom:"6",marginTop:"1",variant:"title3",weight:"medium",...e}
1),h3:({id:e,...t})=>(0,s.jsx)(r.a,{id:e,marginBottom:"2",marginTop:"11",scrollMarginTop:"12",children:(0,s.jsx)(p.N,{href:`#${e}`,children:(0,s.jsx)(k.E,{as:"h3",display:"inline",variant:"title2",weight:"semibold",...t})})}),h4:({id:e,...t})=>(0,s.jsx)(r.a,{id:e,marginBottom:"2",marginTop:"10",scrollMarginTop:"12",children:(0,s.jsx)(p.N,{href:`#${e}`,children:(0,s.jsx)(k.E,{as:"h4",display:"inline",variant:"title3",weight:"semibold",...t})})}),h5:({id:e,...t})=>(0,s.jsx)(r.a,{id:e,marginBottom:"2",scrollMarginTop:"2",children:(0,s.jsx)(p.N,{href:`#${e}`,children:(0,s.jsx)(k.E,{as:"h5",display:"inline",variant:"body",weight:"semibold",...t})})}),Img:({id:e,src:t,...a})=>(0,s.jsx)(r.a,{id:e,marginBottom:"8",children:(0,s.jsx)($(),{layout:"responsive",loading:"lazy",src:t,...a})}),li:({children:e,...t})=>(0,s.jsxs)(r.a,{alignItems:"center",as:"li",display:"flex",...t,children:[(0,s.jsx)(r.a,{as:"span",backgroundColor:"fill",borderRadius:"1",display:"inline-block",height:"1",marginRight:"4",width:"4"}),(0,s.jsx)(k.E,{color:"labelSecondary",style:{fontWeight:500,lineHeight:"25px"},variant:"body",children:e})]}),p:e=>(0,s.jsx)(k.E,{as:"p",color:"labelSecondary",marginBottom:"5",style:{fontWeight:500,lineHeight:"25px"},...e}),pre:({children:e,...t})=>{let[a,i]=(0,o.useState)(!1),[n,c]=o.useState(void 0),d=o.useRef(null);return o.useEffect(()=>{d.current&&c(d.current.querySelector("code").innerText.replace(/\n{2,}/g,"\n"))},[]),o.useEffect(()=>{a&&(0,T.A)(n),setTimeout(()=>i(!1),1500)},[a,n]),(0,s.jsxs)(r.a,{borderRadius:"5",marginY:"5",position:"relative",ref:d,style:{overflow:"hidden"},children:[(0,s.jsx)(m,{marginBottom:"9",marginTop:"5",...t,children:e}),(0,s.jsx)(r.a,{"data-copy":!0,position:"absolute",right:"3",top:"3",children:(0,s.jsx)(l.$,{onClick:()=>i(!0),shape:"square",size:"xl",style:{backgroundColor:`${u.f.colors.lightBlue}`,boxShadow:`0 0 8px ${u.f.colors.fillElevated}`},tabIndex:-1,variant:"blue",children:a?(0,s.jsx)(x.S,{}):(0,s.jsx)(g.T,{})})}),(0,s.jsx)("div",{"data-pre-gradient":!0})]})},PropsTable:e=>(0,s.jsx)(C,{"aria-label":"Component Props",...e}),Table:e=>(0,s.jsx)(E,{"aria-label":"Props Table",...e}),ul:e=>(0,s.jsx)(r.a,{as:"ul",marginBottom:"5",paddingLeft:"3",...e}),WalletButtonDemo:function(){let{locale:e}=(0,h.useRouter)();return(0,s.jsx)(d.qL,{locale:e,children:(0,s.jsxs)(r.a,{className:"ry8ofx1 _1g1ptzo1xx _1g1ptzo1wr _1g1ptzo1ro _1g1ptzo1qi _1g1ptzo1tr _1g1ptzo1sl _1g1ptzo1vu _1g1ptzo1uo _1g1ptzo46 _1g1ptzodw _1g1ptzon4 _1g1ptzomx",id:"wallet-button-demo",children:[(0,s.jsx)(r.a,{alignItems:"flex-start",children:(0,s.jsx)(d.U3,{wallet:"rainbow"})}),(0,s.jsx)(r.a,{children:(0,s.jsx)(d.U3,{wallet:"metaMask"})}),(0,s.jsx)(r.a,{children:(0,s.jsx)(d.U3,{wallet:"baseAccount"})}),(0,s.jsx)(r.a,{children:(0,s.jsx)(d.U3,{wallet:"trust"})}),(0,s.jsx)(r.a,{children:(0,s.jsx)(d.U3,{wallet:"ready"})}),(0,s.jsx)(r.a,{children:(0,s.jsx)(d.U3,{wallet:"omni"})})]})})},Video:e=>(0,s.jsx)(r.a,{as:"video",autoPlay:!0,borderRadius:"3",controls:!0,display:"block",marginBottom:"5",muted:!0,playsInline:!0,style:{width:"100%"},...e})}},84411:(e,t,a)=>{a.d(t,{K:()=>o});var s=a(22456),r=a(35356),l=a.n(r),i=a(7367),n=a(4488);function o({color:e="white",description:t,image:a,pathname:r,title:c="RainbowKit",url:d="https://rainbowkit.com"}){let h=(0,i.useRouter)(),x=(0,n.c)("landing"),g=`${d}/social/${a||"default.png"}`,p=r||h.pathname;return(0,s.jsxs)(l(),{children:[(0,s.jsx)("title",{children:c}),(0,s.jsx)("meta",{content:t||x("meta.description"),name:"description"}),(0,s.jsx)("meta",{content:`${d}${p}`,property:"og:url"}),(0,s.jsx)("meta",{content:c,property:"og:title"}),(0,s.jsx)("meta",{content:t,property:"og:description"}),(0,s.jsx)("meta",{content:g,property:"og:image"}),(0,s.jsx)("meta",{content:"@rainbowdotme",name:"twitter:site"}),(0,s.jsx)("meta",{content:"summary_large_image",name:"twitter:card"}),(0,s.jsx)("meta",{content:g,name:"twitter:image"}),(0,s.jsx)("link",{href:"/favicon.ico",rel:"shortcut icon",type:"image/x-icon"}),(0,s.jsx)("meta",{content:e,name:"theme-color"})]})}a(91796)}}]);
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.