PageSourceSearch

https://fear-and-greed-indexes.vercel.app/_next/static/chunks/pages/admin-72c8e9aa45ed2adb.js

js fear-and-greed-indexes.vercel.app collected 2026-10-03 06:56:06 UTC 2,544 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[964],{8195:function(e,s,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin",function(){return r(1652)}])},1652:function(e,s,r){"use strict";r.r(s),r.d(s,{__N_SSP:function(){return u},default:function(){return N}});var t=r(5893),n=r(7484),a=r.n(n),l=r(7294);r(1664);var c=r(1163),i=r.n(c),d=r(7536),x=r(4184),o=r.n(x),h=r(2918),p=r.n(h);a().extend(r(4110));let m=e=>{let{id:s,firstName:r,lastName:n,email:c,picture:d,createdAt:x,lastActiveAt:h,...p}=e,[m,u]=(0,l.useState)(!1);return(0,t.jsxs)("tr",{className:o()("hover:bg-gray-100",{"bg-green-100 hover:bg-green-100":m}),onClick:e=>u(!m),onDoubleClick:e=>i().push("/admin/user/".concat(s)),children:[(0,t.jsx)("td",{className:"p-1 border",children:(0,t.jsx)("img",{className:"h-10 mx-auto rounded-full",src:d,alt:"Face"})}),(0,t.jsxs)("td",{className:"px-4 py-2 border",children:[r," ",n]}),(0,t.jsx)("td",{className:"max-w-sm px-4 py-2 align-text-top border",children:m?p.canOffer:String(p.canOffer).substring(0,90)}),(0,t.jsx)("td",{className:"max-w-sm px-4 py-2 align-text-top border",children:m?p.lookingFor:String(p.lookingFor).substring(0,90)}),(0,t.jsx)("td",{className:"px-4 py-2 border",title:new Date(x),children:a()(x).fromNow()}),(0,t.jsx)("td",{className:"px-4 py-2 border",title:new Date(h),children:!!h&&a()(h).fromNow()}),(0,t.jsx)("td",{className:"px-4 py-2 border",children:p.active?"":"No"}),(0,t.jsx)("td",{className:"px-4 py-2 border",children:s})]},s)};var u=!0;function N(e){let{user:s,users:r,error:n,...a}=e;if(401===n)return(0,t.jsx)(p(),{statusCode:404});let l=(0,d.cI)({defaultValues:s}),{handleSubmit:c,formState:i,reset:x}=l;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"p-10 sm:p-5",children:[(0,t.jsx)("h1",{className:"text-left title",children:"Admin"}),(0,t.jsxs)("table",{className:"table-auto",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"px-4 py-2",children:"Title"}),(0,t.jsx)("th",{className:"px-4 py-2",children:"Name"}),(0,t.jsx)("th",{className:"px-4 py-2",children:"Can Offer"}),(0,t.jsx)("th",{className:"px-4 py-2",children:"Looking For"}),(0,t.jsx)("th",{className:"px-4 py-2",children:"Created"}),(0,t.jsx)("th",{className:"px-4 py-2",children:"Last Active"}),(0,t.jsx)("th",{className:"px-4 py-2",children:"Active"}),(0,t.jsx)("th",{className:"px-4 py-2",children:"Actions"})]})}),(0,t.jsx)("tbody",{children:r.map(m)})]})]})})}}},function(e){e.O(0,[664,874,774,888,179],function(){return e(e.s=8195)}),_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.