1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2409],{33493:(e,l,s)=>{"use strict";s.r(l),s.d(l,{default:()=>c});var n=s(37876),r=s(95364),t=s(61875),i=s(67904),a=s(10553),d=s(77879);function c(e){let{data:l}=(0,a.useSession)();return l?(0,n.jsxs)(r.Ay,{children:[(0,n.jsx)(t.Av,{children:"Manage who you follow"}),(0,n.jsx)(d.A,{...e})]}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(i.w0,{message:"Sign in to manage who you follow.."})})}s(14232)},44920:(e,l,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/following",function(){return s(33493)}])},77879:(e,l,s)=>{"use strict";s.d(l,{A:()=>c});var n=s(37876),r=s(19512),t=s(55006),i=s(14232),a=s(71134),d=s(49795);function c(){let[e,l]=(0,i.useState)(!1),{userInfo:s,followSeller:c,reloadUser:o}=(0,d.P)();async function h(e,s){l(!0),await c(e,!0,s),l(!1)}return(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsxs)("table",{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{className:"text-sm font-bold border-b-[1px] border-neutral-800",children:[(0,n.jsx)("td",{className:"w-[180px]",children:"Artist/Label"}),(0,n.jsx)("td",{className:"w-[180px]",children:"Get Emails"})]})}),(0,n.jsx)("tbody",{children:s?.following?.sort((0,a.Rt)("seller_name")).map(e=>(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"text-sm pr-4 ",children:e.seller_name}),(0,n.jsx)("td",{className:"hover:bg-neutral-700",children:(0,n.jsx)("label",{htmlFor:e.seller_id,children:(0,n.jsx)("div",{children:(0,n.jsx)("input",{id:e.seller_id,type:"checkbox",checked:e.email,onChange:l=>h(e.seller_id,l.target.checked)})})})}),(0,n.jsx)("td",{children:(0,n.jsx)(r.A,{onClick:()=>{confirm("Are you should you want to unfollow "+e.seller_name)&&c(e.seller_id,!1,!1)},children:"Unfollow"})})]},e.id))})]}),e?(0,n.jsx)("div",{className:"absolute top-0 left-0 w-full h-full grid place-items-center",children:(0,n.jsx)(t.A,{})}):""]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=44920)),_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.