PageSourceSearch

https://velaflow.com/_next/static/chunks/pages/settings/privacy-security/blocked-accounts-c3ad49939bd803a9.js

js velaflow.com collected 2026-09-24 13:03:23 UTC 3,877 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5321],{25035:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var c=s(37876);s(14232);var r=s(96145);let l=e=>{let{onBack:t,text:s}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"flex items-center ml-7 space-x-2 mb-6",children:[(0,c.jsx)(r.In,{onClick:t,id:"arrow-left-icn",className:"w-5 h-5 align-middle inline-block cursor-pointer"}),(0,c.jsx)(r.DZ,{type:"h2",text:s,className:"text-14 text-black"})]}),(0,c.jsx)("hr",{className:"my-2 pl-0 border-dividerGrey"})]})}},58321:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/privacy-security/blocked-accounts",function(){return s(82731)}])},69706:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var c=s(37876);s(14232);var r=s(96145);let l=e=>{let{page:t,clickAction:s,accounts:l,loading:n}=e,a="muted"===t,i=a?"muted_user":"blocked_user";return(0,c.jsxs)("div",{className:"space-y-4 ".concat(0===l.length?"px-20":""),children:[n?(0,c.jsx)("div",{className:"flex justify-center",children:(0,c.jsx)(r.aH,{className:"text-black"})}):l.map((e,l)=>{let n=e[i],a="".concat(null==n?void 0:n.first_name," ").concat(null==n?void 0:n.last_name),o=null==n?void 0:n.username;return(0,c.jsxs)("div",{className:"flex items-center justify-between",children:[(0,c.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,c.jsx)(r.Zc,{src:(null==n?void 0:n.profile_pic)||"/images/profile-logo.png",alt:null==n?void 0:n.display_name,className:"w-12 h-12 rounded-full object-cover"}),(0,c.jsxs)("div",{children:[(0,c.jsx)("p",{className:"text-14 text-black capitalize",children:a}),(0,c.jsxs)("p",{className:"text-12 text-grey",children:["@",o]})]})]}),(0,c.jsx)(r.$n,{onClick:()=>s(e),className:"text-14 px-4 py-1 bg-divider text-grey rounded-md border border-transparent hover:border-gray-300 transition",children:"muted"===t?"Unmute":"Unblock"})]},"blockedAccounts-".concat(l))}),(null==l?void 0:l.length)===0&&(0,c.jsx)("div",{className:"flex justify-center bg-dividerGrey p-5 rounded-lg text-center text-14",children:a?'You have not muted any accounts yet. To mute an account, go to their profile and select "Mute account" from the menu on their account.':'You have not blocked any accounts yet. To block an account, go to their profile and select "Block account" from the menu on their account.'})]})}},80612:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var c=s(37876),r=s(77328),l=s.n(r);function n(e){let{title:t}=e;return(0,c.jsx)(l(),{children:(0,c.jsx)("title",{children:t?"".concat(t," | Velaflow"):"Velaflow"})})}},82731:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>x,default:()=>m});var c=s(37876),r=s(14232),l=s(25035),n=s(89099),a=s(69706),i=s(81220);let o=e=>{let{blockedAccountsList:t}=e,s=(null==t?void 0:t.blockedUsers)||[],[o,d]=(0,r.useState)(s),[u,x]=(0,r.useState)(!1),m=(0,n.useRouter)(),h=async()=>{try{let t=await (0,i.RC)({limit:10,offset:0});if(!t.error){var e;let s=(null==t||null==(e=t.content)?void 0:e.blockedUsers)||[];d(s),x(!1)}}catch(e){console.error(e,"error"),x(!1)}},v=async e=>{x(!0);let t={user_id:null==e?void 0:e.blocked_user_id};try{let e=await (0,i.Gv)(t);(null==e?void 0:e.error)||h()}catch(e){console.error(e,"error"),x(!1)}};return(0,c.jsxs)("div",{className:"w-full mt-6 rounded-md",children:[(0,c.jsx)("div",{children:(0,c.jsx)(l.A,{onBack:()=>{m.push("/settings/privacy-security")},text:"Blocked Accounts"})}),(0,c.jsx)("div",{className:"mt-4 p-4",children:(0,c.jsx)(a.A,{clickAction:v,accounts:o,page:"blocked",loading:u})})]})};var d=s(23555),u=s(80612),x=!0;function m(e){let{userDetails:t,blockedAccountsList:s,suggestionList:r,tagsList:l}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(u.A,{title:"Blocked Accounts"}),(0,c.jsx)(d.A,{tagsList:l,userDetails:t,suggestionList:r,children:(0,c.jsx)(o,{blockedAccountsList:s})})]})}}},e=>{e.O(0,[9634,3555,636,6593,8792],()=>e(e.s=58321)),_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.