PageSourceSearch

https://bmc-dev.vercel.app/_next/static/chunks/pages/[username]/embed-fedaec416d276337cd7a.js

js bmc-dev.vercel.app collected 2026-10-03 06:17:53 UTC 7,279 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6419],{87587:function(e,n,t){"use strict";t.d(n,{d:function(){return d},f:function(){return u}});var r=t(19642),s=t(67294),a=t(58529),i=t(60852),l=t(92506),o=(0,s.createContext)(null);function c(){var e=(0,s.useContext)(o);if(null===e){var n=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(n,c),n}return e}function u(){var e=(0,s.useState)([]),n=e[0],t=e[1];return[n.length>0?n.join(" "):void 0,(0,s.useMemo)((function(){return function(e){var n=(0,s.useCallback)((function(e){return t((function(n){return[].concat(n,[e])})),function(){return t((function(n){var t=n.slice(),r=t.indexOf(e);return-1!==r&&t.splice(r,1),t}))}}),[]),r=(0,s.useMemo)((function(){return{register:n,slot:e.slot,name:e.name,props:e.props}}),[n,e.slot,e.name,e.props]);return s.createElement(o.Provider,{value:r},e.children)}}),[t])]}function d(e){var n=c(),t="headlessui-description-"+(0,l.M)();(0,i.e)((function(){return n.register(t)}),[t,n.register]);var s=e,o=(0,r.gY)({},n.props,{id:t});return(0,a.sY)({props:(0,r.gY)({},s,o),slot:n.slot||{},defaultTag:"p",name:n.name||"Description"})}},28421:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return v},default:function(){return j}});var r=t(85893),s=t(809),a=t.n(s),i=t(92447),l=t(67294),o=t(76049),c=t(63802),u=t(33582),d=t(91561),m=t(52045),f=t(9155),p=t(46441),x=t(91939),h=t(99245),g=t(26291),b=t(3789),v=!0;function j(e){var n=e.user,t=e.embedTitle,s=(0,l.useState)(b.TV[18]),v=s[0],j=s[1],w=(0,l.useState)(1),N=w[0],y=w[1],k=(0,l.useState)(""),_=k[0],C=k[1],E=(0,l.useState)(void 0),S=E[0],O=E[1],T=(0,x.g8)(b.TV,S),A=(0,g.Kw)((function(e){return e})).signer,F=function(){var e=(0,i.Z)(a().mark((function e(){var t,r,s,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=h.ko.connect("0x398E4948e373Db819606A459456176D31C3B1F91",A),r=f.wn(["string"],[n.username]),s=p.fi(N.toString()),i=h.BO.connect(v.address,A),e.next=6,i.approve("0x398E4948e373Db819606A459456176D31C3B1F91",s);case 6:return e.next=8,t.supportCreatorOnce(r,v.address,s,_,v.address);case 8:e.sent;case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,r.jsxs)("div",{className:"bg-white px-4 py-5 sm:px-6 min-h-screen flex flex-col border-4 border-blue-200",children:[(0,r.jsx)("h2",{id:"timeline-title",className:"text-lg font-medium text-gray-900",children:t?(0,r.jsx)("span",{children:t}):(0,r.jsxs)(r.Fragment,{children:["Buy ",(0,r.jsx)("span",{className:"font-bold text-gray-500",children:n.name})," a coffee"]})}),(0,r.jsxs)("div",{className:"mt-2 flex flex-row flex-wrap justify-between align-middle",children:[(0,r.jsx)(u.R,{value:v,onChange:j,children:function(e){var n=e.open;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"mt-2 relative",children:[(0,r.jsxs)(u.R.Button,{className:"relative w-32 bg-white hover:bg-gray-100 border border-gray-300 rounded-md shadow-sm pl-3 pr-10 py-2 text-left cursor-default focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500 sm:text-sm",children:[(0,r.jsxs)("span",{className:"flex items-center",children:[(0,r.jsx)("img",{src:v.logoURI,alt:"",className:"flex-shrink-0 h-4 w-4 rounded-full"}),(0,r.jsx)("span",{className:"ml-3 block truncate text-sm font-mono",children:v.symbol})]}),(0,r.jsx)("span",{className:"ml-3 absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none",children:(0,r.jsx)(o.v4q,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})})]}),(0,r.jsx)(d.u,{show:n,as:l.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsxs)(u.R.Options,{static:!0,className:"absolute z-10 mt-1 w-56 bg-white shadow-lg max-h-56 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm",children:[(0,r.jsxs)("div",{className:"relative rounded-md",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,r.jsx)("span",{className:"text-gray-500 sm:text-sm",children:(0,r.jsx)(o.W1M,{className:"h-5 w-5"})})}),(0,r.jsx)("input",{type:"text",name:"price",id:"price",className:"block w-full pl-10 pr-2 sm:text-sm border-0 rounded-md focus:ring-0",placeholder:"Search token",value:S,onChange:function(e){return O(e.target.value)}})]}),T.map((function(e){return(0,r.jsx)(u.R.Option,{className:function(e){var n=e.active;return(0,x.AK)(n?"text-white bg-blue-600":"text-gray-900","cursor-default select-none relative py-2 pl-3 pr-9")},value:e,children:function(n){var t=n.selected,s=n.active;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("img",{src:e.logoURI,alt:"",className:"flex-shrink-0 h-6 w-6 rounded-full"}),(0,r.jsx)("span",{className:(0,x.AK)(t?"font-semibold":"font-normal","ml-3 block truncate"),children:e.name})]}),t?(0,r.jsx)("span",{className:(0,x.AK)(s?"text-white":"text-blue-600","absolute inset-y-0 right-0 flex items-center pr-4"),children:(0,r.jsx)(c.nQG,{className:"h-5 w-5","aria-hidden":"true"})}):null]})}},e.address)}))]})})]})})}}),(0,r.jsxs)(m.E,{value:N,onChange:y,className:"mt-2 space-x-3 flex flex-row align-middle place-items-center",children:[[1,3,5].map((function(e){return(0,r.jsx)(m.E.Option,{value:e,className:"place-items-center outline-none",children:function(n){var t=n.checked;return(0,r.jsx)("span",{className:(0,x.AK)(t?"bg-blue-600 text-white hover:bg-blue-700":"","h-9 w-9 rounded-md flex items-center justify-center ring-1 ring-gray-200 font-mono bg-white place-items-center hover:bg-gray-100 select-none"),children:e})}},e)})),(0,r.jsx)("input",{type:"text",pattern:"[0-9]{5}",className:"border-0 text-center h-9 w-9 rounded-md flex items-center justify-center ring-1 ring-gray-200 font-mono bg-white place-items-center hover:bg-gray-100 select-none p-2 appearance-none m-0",style:{WebkitAppearance:"none",MozAp
1pearance:"none"},onChange:function(e){return y(Number(e.target.value))},placeholder:"1"})]})]}),(0,r.jsx)("label",{htmlFor:"price",className:"block text-sm font-medium text-gray-700 mt-4",children:"Message (Optional)"}),(0,r.jsx)("div",{className:"flex-1 flex flex-col mt-1 relative rounded-md shadow-sm",children:(0,r.jsx)("textarea",{name:"price",id:"price",onChange:function(e){return C(e.target.value)},className:"flex-1 min-h-20 h-28 focus:ring-blue-500 focus:border-blue-500 block w-full pr-12 sm:text-sm border-gray-300 rounded-md form-textarea",placeholder:"Say something nice \ud83e\udd17"})}),(0,r.jsx)("div",{className:"mt-6 flex flex-col justify-stretch",children:(0,r.jsxs)("button",{type:"button",onClick:F,className:"inline-flex items-center justify-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",children:["Support ",n.name]})})]})}},17133:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[username]/embed",function(){return t(28421)}])}},function(e){e.O(0,[3532,3802,6049,3582,3137,3789,9774,2888,179],(function(){return n=17133,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.