PageSourceSearch

https://pickbazar-react-rest.vercel.app/_next/static/chunks/pages/reports-b261668ab691dcc5.js

js pickbazar-react-rest.vercel.app collected 2026-10-03 07:30:17 UTC 8,442 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6053],{99828:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reports",function(){return r(12721)}])},27798:function(e,t,r){"use strict";var n=r(85893),a=r(2962);t.Z=e=>{let{title:t,description:r,images:i,url:l,...o}=e;return(0,n.jsx)(a.PB,{title:t,openGraph:{...!!l&&{url:"".concat("https://pickbazar-react-rest.vercel.app","/").concat(l)},title:t,description:r,...!!i&&{images:null==i?void 0:i.map(e=>{var t;return{url:null==e?void 0:null===(t=e.image)||void 0===t?void 0:t.original,alt:null==e?void 0:e.title}})}},...o})}},831:function(e,t,r){"use strict";var n=r(85893),a=r(94184),i=r.n(a),l=r(5233),o=r(29620),s=r(2638);t.Z=e=>{let{className:t,text:r}=e,{t:a}=(0,l.$G)();return(0,n.jsxs)("div",{className:i()("flex flex-col items-center",t),children:[(0,n.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,n.jsx)(o.E,{src:s.Z,alt:a(r||"text-no-result-found"),className:"w-full h-full object-contain"})}),r&&(0,n.jsx)("h3",{className:"w-full text-center text-xl font-semibold text-body my-7",children:a(r)})]})}},27899:function(e,t,r){"use strict";r.d(t,{i:function(){return n.ZP}}),r(20229);var n=r(9485)},12721:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return O},default:function(){return k}});var n=r(85893),a=r(56980),i=r(27798),l=r(22257),o=r(45957),s=r(5233),c=r(831),d=r(88767),u=r(49906),f=r(95439),m=r(9580),x=r(92787),h=r(27484),g=r.n(h),p=r(84110),y=r.n(
1p),v=r(70178),b=r.n(v),w=r(29387),j=r.n(w),_=r(27899),N=r(24561),table_loader=e=>(0,n.jsxs)(N.ZP,{speed:2,width:"100%",height:300,viewBox:"0 0 875 300",backgroundColor:"#f3f3f3",foregroundColor:"#ecebeb",...e,children:[(0,n.jsx)("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"900",height:"35"}),(0,n.jsx)("rect",{x:"0",y:"55",rx:"0",ry:"0",width:"80",height:"245"}),(0,n.jsx)("rect",{x:"105",y:"55",rx:"0",ry:"0",width:"250",height:"245"}),(0,n.jsx)("rect",{x:"380",y:"55",rx:"0",ry:"0",width:"120",height:"245"}),(0,n.jsx)("rect",{x:"525",y:"55",rx:"0",ry:"0",width:"120",height:"245"}),(0,n.jsx)("rect",{x:"670",y:"55",rx:"0",ry:"0",width:"100",height:"245"}),(0,n.jsx)("rect",{x:"795",y:"55",rx:"0",ry:"0",width:"80",height:"245"})]}),E=r(11163),report_view=()=>{let{t:e}=(0,s.$G)("common"),{alignLeft:t}=(0,x.S)(),{locale:r}=(0,E.useRouter)(),{reports:a,isLoading:i,isLoadingMore:l,error:h,hasMore:p,loadMore:v}=function(e){var t,r;let{data:n,isLoading:a,error:i,fetchNextPage:l,hasNextPage:o,isFetching:s,isFetchingNextPage:c}=(0,d.useInfiniteQuery)([f.P.MY_REPORTS,e],e=>{let{queryKey:t,pageParam:r}=e;return u.Z.myReports.all(Object.assign({},t[1],r))},{getNextPageParam:e=>{let{current_page:t,last_page:r}=e;return r>t&&{page:t+1}}});return{reports:null!==(r=null==n?void 0:null===(t=n.pages)||void 0===t?void 0:t.flatMap(e=>e.data))&&void 0!==r?r:[],paginatorInfo:Array.isArray(null==n?void 0:n.pages)?(0,m.Q)(null==n?void 0:n.pages[n.pages.length-1]):null,isLoading:a,error:i,isFetching:s,isLoadingMore:c,loadMore:function(){l()},hasMore:!!o}}({language:r,limit:50});if(h)return(0,n.jsx)(o.default,{message:h.message});let w=[{title:e("text-id"),dataIndex:"id",key:"id",align:"center",className:"!text-sm",width:80},{title:e("text-message"),dataIndex:"message",key:"message",align:t,className:"!text-sm min-w-fit"},{title:e("text-date"),dataIndex:"created_at",key:"created_at",align:"center",className:"!text-sm",width:160,render:e=>(g().extend(y()),g().extend(b()),g().extend(j()),(0,n.jsx)("span",{className:"whitespace-nowrap",children:g().utc(e).tz(g().tz.guess()).fromNow()}))}];return!a.length&&i?(0,n.jsxs)("div",{className:"flex w-full flex-col",children:[(0,n.jsx)("div",{className:"mb-8 flex items-center justify-center sm:mb-10",children:(0,n.jsx)("h1",{className:"text-center text-lg font-semibold text-heading sm:text-xl",children:e("profile-sidebar-my-reports")})}),(0,n.jsx)(table_loader,{uniqueKey:"table-loader"})]}):a.length||i?(0,n.jsxs)("div",{className:"flex w-full flex-col",children:[(0,n.jsx)("h3",{className:"mb-8 text-center text-2xl font-semibold text-heading",children:e("profile-sidebar-my-reports")}),(0,n.jsx)(_.i,{columns:w,data:a,rowKey:e=>e.created_at,className:"w-full border border-gray-200",rowClassName:"!cursor-auto",scroll:{x:350,y:500}})]}):(0,n.jsxs)("div",{className:"flex w-full flex-col",children:[(0,n.jsx)("div",{className:"mb-8 flex items-center justify-between sm:mb-10",children:(0,n.jsx)("h1",{className:"ml-auto text-center text-lg font-semibold text-heading sm:text-xl",children:e("profile-sidebar-my-reports")})}),(0,n.jsx)(c.Z,{text:"text-no-download",className:"mx-auto w-full md:w-7/12"})]})};let MyReportsPage=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.Z,{noindex:!0,nofollow:!0}),(0,n.jsx)(a.Z,{className:"w-full self-stretch shadow-none sm:shadow",children:(0,n.jsx)(report_view,{})})]});MyReportsPage.authenticationRequired=!0,MyReportsPage.getLayout=function(e){return(0,n.jsx)(l.Z,{children:e})};var O=!0,k=MyReportsPage},24561:function(e,t,r){"use strict";var n=r(67294),__assign=function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},SVG=function(e){var t=e.animate,r=void 0===t||t,a=e.animateBegin,i=e.backgroundColor,l=void 0===i?"#f5f6f7":i,o=e.backgroundOpacity,s=void 0===o?1:o,c=e.baseUrl,d=void 0===c?"":c,u=e.children,f=e.foregroundColor,m=e.foregroundOpacity,x=e.gradientRatio,h=void 0===x?2:x,g=e.gradientDirection,p=e.uniqueKey,y=e.interval,v=e.rtl,b=e.speed,w=e.style,j=void 0===w?{}:w,_=e.title,N=void 0===_?"Loading...":_,E=e.beforeMask,O=void 0===E?
1null:E,k=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}(e,["animate","animateBegin","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","gradientDirection","uniqueKey","interval","rtl","speed","style","title","beforeMask"]),C=p||Math.random().toString(36).substring(6),P=C+"-diff",R=C+"-animated-diff",M=C+"-aria",Z="0; "+(void 0===y?.25:y)+"; 1",S=(void 0===b?1.2:b)+"s";return(0,n.createElement)("svg",__assign({"aria-labelledby":M,role:"img",style:__assign(__assign({},j),void 0!==v&&v?{transform:"scaleX(-1)"}:null)},k),N?(0,n.createElement)("title",{id:M},N):null,O&&(0,n.isValidElement)(O)?O:null,(0,n.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url("+d+"#"+P+")",style:{fill:"url("+d+"#"+R+")"}}),(0,n.createElement)("defs",null,(0,n.createElement)("clipPath",{id:P},u),(0,n.createElement)("linearGradient",{id:R,gradientTransform:"top-bottom"===(void 0===g?"left-right":g)?"rotate(90)":void 0},(0,n.createElement)("stop",{offset:"0%",stopColor:l,stopOpacity:s},r&&(0,n.createElement)("animate",{attributeName:"offset",values:-h+"; "+-h+"; 1",keyTimes:Z,dur:S,repeatCount:"indefinite",begin:a})),(0,n.createElement)("stop",{offset:"50%",stopColor:void 0===f?"#eee":f,stopOpacity:void 0===m?1:m},r&&(0,n.createElement)("animate",{attributeName:"offset",values:-h/2+"; "+-h/2+"; "+(1+h/2),keyTimes:Z,dur:S,repeatCount:"indefinite",begin:a})),(0,n.createElement)("stop",{offset:"100%",stopColor:l,stopOpacity:s},r&&(0,n.createElement)("animate",{attributeName:"offset",values:"0; 0; "+(1+h),keyTimes:Z,dur:S,repeatCount:"indefinite",begin:a})))))},ContentLoader=function(e){return e.children?(0,n.createElement)(SVG,__assign({},e)):(0,n.createElement)(ReactContentLoaderFacebook,__assign({},e))},ReactContentLoaderFacebook=function(e){return(0,n.createElement)(ContentLoader,__assign({viewBox:"0 0 476 124"},e),(0,n.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,n.createElement)("circle",{cx:"20",cy:"20",r:"20"}))};t.ZP=ContentLoader}},function(e){e.O(0,[1255,1858,4714,8104,1607,9774,2888,179],function(){return e(e.s=99828)}),_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.