1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6309],{60757:(e,s,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin",function(){return l(96134)}])},96134:(e,s,l)=>{"use strict";l.r(s),l.d(s,{__N_SSP:()=>m,default:()=>h});var r=l(37876),a=l(29304),n=l(11394),d=l(63602),t=l(31836),i=l(85729),c=l(83397);let x=e=>{let{options:s}=e,{data:l,status:a,...n}=(0,c.useInfiniteQuery)("admin/articles",s);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.KN,{pageParams:null==l?void 0:l.pageParams}),"loading"===a&&(0,r.jsx)(d.v1,{name:"articles",columns:i.wF}),"error"===a&&(0,r.jsx)(d.rQ,{name:"articles",columns:i.wF}),"success"===a&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.EK,{name:"articles",columns:i.wF,data:l,...n}),(0,r.jsx)("div",{className:"px-4 sm:p-4",children:(0,r.jsx)(t.Pw,{...n})})]})]})};var o=l(30496),u=l(14232),m=!0;let h=(0,a.ru)(()=>{let[e,s]=(0,u.useState)({isDraft:!0});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 Articles"}),(0,r.jsx)(n.wO,{href:"/admin/add-article"})]}),(0,r.jsx)("div",{className:"rounded-lg bg-gray-100 p-4",children:(0,r.jsx)(o.IP,{setOptions:s})})]}),(0,r.jsx)("div",{className:"flex w-full flex-col overflow-x-auto rounded-lg border bg-white pb-0 shadow",children:(0,r.jsx)(x,{options:e})})]})})}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=60757)),_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.