1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[238],{10884:(s,e,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/sources",function(){return l(58514)}])},58514:(s,e,l)=>{"use strict";l.r(e),l.d(e,{__N_SSP:()=>m,default:()=>h});var r=l(37876),a=l(29304),n=l(11394),d=l(63602),c=l(31836),o=l(83397);let u=s=>{let{columns:e,options:l}=s,{data:a,status:n,...u}=(0,o.useInfiniteQuery)("admin/sources",l);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.KN,{pageParams:null==a?void 0:a.pageParams}),"loading"===n&&(0,r.jsx)(d.v1,{name:"sources",columns:e}),"error"===n&&(0,r.jsx)(d.rQ,{name:"sources",columns:e}),"success"===n&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.EK,{name:"sources",columns:e,data:a,...u}),(0,r.jsx)("div",{className:"px-4 sm:p-4",children:(0,r.jsx)(c.Pw,{...u})})]})]})};var t=l(30496),i=l(85729),x=l(14232),m=!0;let h=(0,a.ru)(()=>{let[s,e]=(0,x.useState)({});return(0,r.jsxs)(n.PE,{children:[(0,r.jsxs)("div",{className:"flex flex-col rounded-lg border bg-white shadow",children:[(0,r.jsxs)("div",{className:"flex justify-between border-b p-4",children:[(0,r.jsx)("h3",{className:"text-base font-semibold md:text-xl lg:text-2xl",children:"All Sources"}),(0,r.jsx)(n.wO,{href:"/admin/add-source"})]}),(0,r.jsx)("div",{className:"rounded-lg bg-gray-100 p-4",children:(0,r.jsx)(t.JL,{setOptions:e})})]}),(0,r.jsx)("div",{className:"flex w-full flex-col overflow-x-auto rounded-lg bg-white pb-0 shadow",children:(0,r.jsx)(u,{columns:i.H8,options:s})})]})})}},s=>{s.O(0,[636,6593,8792],()=>s(s.s=10884)),_N_E=s.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.