1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8276],{43639:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/history",function(){return t(8957)}])},97439:function(e,s,t){"use strict";t.d(s,{Z:function(){return d}});var a=t(85893),n=t(41664),r=t.n(n),c=t(11163),l=t(3350),i=t(52609),o=t(45544);function d(){let e,s;let t=(0,c.useRouter)();return(0,a.jsxs)("div",{className:"fixed bottom-0 left-0 right-0 h-20 bg-white dark:bg-gray-900 border-t border-gray-100 dark:border-gray-800 flex items-center justify-around px-6 z-50",children:[(0,a.jsxs)(r(),{href:"/",className:"flex flex-col items-center gap-1 transition-all ".concat("/"===t.pathname?"text-green-600 scale-110":"text-gray-400"),children:[(0,a.jsx)(l.Z,{size:28}),(0,a.jsx)("span",{className:"text-[10px] font-black",children:"ãããã"})]}),(0,a.jsxs)(r(),{href:"/pay",className:"flex flex-col items-center gap-1 transition-all ".concat((e="/pay",t.pathname===e)?"text-green-600 scale-110":"text-gray-400"),children:[(0,a.jsx)(i.Z,{size:28}),(0,a.jsx)("span",{className:"text-[10px] font-black",children:"æã"})]}),(0,a.jsxs)(r(),{href:"/history",className:"flex flex-col items-center gap-1 transition-all ".concat((s="/history",t.pathname===s)?"text-green-600 scale-110":"text-gray-400"),children:[(0,a.jsx)(o.Z,{size:28}),(0,a.jsx)("span",{className:"text-[10px] font-black",children:"å±¥æ´"})]})]})}},64647:function(e,s,t){"use strict";t.d(s,{Z:function(){return o}});var a=t(85893),n=t(73279),r=t(92321),c=t(69267),l=t(67294),i=t(6192);function o(){let{address:e,isConnected:s}=(0,r.m)(),{setWallet:t,disconnect:o}=(0,i.X$)(),{data:d}=(0,c.K)({address:e,token:"0x6AE7Dfc73E0dDE900d309A9FfC03c8d8617d5274"});return(0,l.useEffect)(()=>{s&&e?t(e,(null==d?void 0:d.formatted)||"0"):o()},[s,e,d,t,o]),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(n.NL,{showBalance:!1,accountStatus:"address",chainStatus:"icon"}),s&&d&&(0,a.jsxs)("div",{className:"hidden sm:flex flex-col items-end bg-white/10 backdrop-blur-md border border-white/20 rounded-full px-4 py-1.5",children:[(0,a.jsx)("p",{className:"text-[10px] uppercase tracking-wider opacity-70 leading-none",children:"JPYC Balance"}),(0,a.jsxs)("p",{className:"text-sm font-bold leading-tight",children:[d.formatted," ",d.symbol]})]})]})}},6192:function(e,s,t){"use strict";t.d(s,{X$:function(){return c},YO:function(){return l},qr:function(){return r}});var a=t(64529),n=t(782);let r=(0,a.Ue)()((0,n.tJ)(e=>({tasks:[],currentLocation:null,setTasks:s=>e({tasks:s}),addTask:s=>e(e=>({tasks:[s,...e.tasks]})),setCurrentLocation:(s,t)=>e({currentLocation:{lat:s,lng:t}})}),{name:"hyperlocal-storage"})),c=(0,a.Ue)(e=>({isConnected:!1,address:null,balance:"0",setWallet:(s,t)=>e({isConnected:!0,address:s,balance:t}),setBalance:s=>e({balance:s}),disconnect:()=>e({isConnected:!1,address:null,balance:"0"})})),l=(0,a.Ue)(e=>({transactions:[],addTransaction:s=>e(e=>({transactions:[s,...e.transactions]})),updateTransactionStatus:(s,t)=>e(e=>({transactions:e.transactions.map(e=>e.id===s?{...e,status:t}:e)}))}))},8957:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return d}});var a=t(85893),n=t(9008),r=t.n(n),c=t(6192);function l(){let{transactions:e}=(0,c.YO)();return 0===e.length?(0,a.jsxs)("div",{className:"bg-white rounded-lg shadow p-6",children:[(0,a.jsx)("h2",{className:"text-2xl font-bold mb-4",children:"Transaction History"}),(0,a.jsx)("p",{className:"text-gray-500",children:"No transactions yet"})]}):(0,a.jsxs)("div",{className:"bg-white rounded-lg shadow p-6",children:[(0,a.jsx)("h2",{className:"text-2xl font-bold mb-4",children:"Transaction History"}),(0,a.jsx)("div",{className:"space-y-3",children:e.map(e=>(0,a.jsxs)("div",{className:"border border-gray-200 rounded-lg p-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,a.jsx)("span",{className:"px-2 py-1 rounded text-xs font-semibold ".concat("confirmed"===e.status?"bg-green-100 text-green-800":"pending"===e.status?"bg-yellow-100 text-yellow-800":"bg-red-100 text-red-800"),children:e.status.toUpperCase()}),(0,a.jsx)("span",{className:"text-xs text-gray-500",children:new Date(e.timestamp).toLocaleStr
1ing()})]}),(0,a.jsxs)("div",{className:"space-y-1 text-sm",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-gray-600",children:"From:"}),(0,a.jsxs)("span",{className:"ml-2 font-mono",children:[e.from.slice(0,10),"...",e.from.slice(-8)]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-gray-600",children:"To:"}),(0,a.jsxs)("span",{className:"ml-2 font-mono",children:[e.to.slice(0,10),"...",e.to.slice(-8)]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-gray-600",children:"Amount:"}),(0,a.jsxs)("span",{className:"ml-2 font-semibold",children:[e.amount," JPYC"]})]}),e.hash&&(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-gray-600",children:"Hash:"}),(0,a.jsxs)("a",{href:"https://polygonscan.com/tx/".concat(e.hash),target:"_blank",rel:"noopener noreferrer",className:"ml-2 font-mono text-blue-600 hover:underline",children:[e.hash.slice(0,10),"...",e.hash.slice(-8)]})]})]})]},e.id))})]})}var i=t(97439),o=t(64647);function d(){return(0,a.jsxs)("div",{className:"min-h-screen bg-gray-50 dark:bg-gray-950 pb-24 font-sans",children:[(0,a.jsx)(r(),{children:(0,a.jsx)("title",{children:"å±¥æ´ | HyperLocal"})}),(0,a.jsxs)("header",{className:"bg-white dark:bg-gray-900 p-4 shadow-sm sticky top-0 z-30 flex justify-between items-center border-b border-gray-100 dark:border-gray-800",children:[(0,a.jsx)("h1",{className:"text-xl font-black text-gray-900 dark:text-white",children:"HyperLocal"}),(0,a.jsx)(o.Z,{})]}),(0,a.jsx)("main",{className:"p-4 max-w-md mx-auto",children:(0,a.jsx)(l,{})}),(0,a.jsx)(i.Z,{})]})}}},function(e){e.O(0,[3309,2888,9774,179],function(){return e(e.s=43639)}),_N_E=e.O()}]);
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.