PageSourceSearch

https://ripplemind.com/_next/static/chunks/3018-c4d6d8b69a466a78.js

js ripplemind.com collected 2026-10-06 13:17:59 UTC 24,733 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3018],{28646:function(e,t,a){"use strict";var i=a(85893),r=a(41664),l=a.n(r),o=a(11163);a(67294),t.Z=()=>{let e=(0,o.useRouter)(),t=e.asPath;return(0,i.jsxs)("div",{className:"md:mx-28 text-center text-red-500 p-10 bg-gray-100 text-xl",children:["Your are not Logged in to use this functionality .......! ",(0,i.jsx)("br",{}),(0,i.jsx)(l(),{className:"text-blue-500",href:"/login?re_url=".concat(t),children:"Click here to Login"})]})}},22632:function(e,t){"use strict";let a=e=>{var t,a,i;let r=null==e?void 0:e.replace(/[^\w\s]/g," "),l=null===(t=null==r?void 0:r.toLowerCase())||void 0===t?void 0:t.replace(/\s+/g,"-");return null===(a=null===(i=null==l?void 0:l.replace(/[^a-zA-Z0-9-]/g,""))||void 0===i?void 0:i.replace(/-{2,}/g,"-"))||void 0===a?void 0:a.replace(/^-+|-+$/g,"")};t.Z=e=>{try{var t,i,r;let l="",o="",s=e.code,n=e.isLive,c=null==s?void 0:s.toString().slice(-4),d=null==c?void 0:c.toString(),u=parseInt(null===(t=parseInt(d,10))||void 0===t?void 0:t.toString()),h=parseInt(null==s?void 0:s.toString().substring(0,2)),g=e.auctiontype;if("all"===g)switch(h){case 10:g=1==n?"live-e-auction":"e-auction-archive";break;case 20:g=1==n?"live-p-auction":"p-auction-archive";break;case 30:g="e-shop"}if(1===e.type){for(let t of e.category)if(Array.isArray(t)&&(null==t?void 0:t.length)>0){let e=t[0];if("number"==typeof(null==e?void 0:e.id)&&"string"==typeof(null==e?void 0:e.category)&&(null===(i=e.cat_url)||void 0===i?void 0:i.length)>0){let t=a(null==e?void 0:e.cat_url);o+="".concat(t,"/")}}}else if(2===e.type){for(let t of e.category)if(Array.isArray(t)&&(null==t?void 0:t.length)>0){let e=t[0];if("number"==typeof(null==e?void 0:e.id)&&"string"==typeof(null==e?void 0:e.category)&&(null===(r=e.cat_url)||void 0===r?void 0:r.length)>0){let t=a(null==e?void 0:e.cat_url);o+="".concat(t,"/")}}}let v=a(e.title),m=o.substring(0,(null==o?void 0:o.length)-1);switch(g){case"p-auction-archive":l="/printed-auction/auction-no-".concat(e.auction,"/lot-no-").concat(u,"/").concat(m,"/").concat(v);break;case"e-auction-archive":l="/e-auction/auction-no-".concat(e.auction,"/lot-no-").concat(u,"/").concat(m,"/").concat(v);break;case"live-p-auction":l="/live-printed-auction/auction-no-".concat(e.auction,"/lot-no-").concat(u,"/").concat(m,"/").concat(v);break;case"live-e-auction":l="/live-e-auction/auction-no-".concat(e.auction,"/lot-no-").concat(u,"/").concat(m,"/").concat(v);break;case"e-shop":l="/e-shop/pid-no-".concat(u,"/").concat(m,"/").concat(v)}return l}catch(e){console.error(e)}return""}},79810:function(e,t,a){"use strict";a.d(t,{Z:function(){return P}});var i=a(85893),r=a(67294),l=a(59417),o=a(99603),s=e=>{let t=(0,r.useRef)(null),a=e.data,s=e.data.length,n=e.per_page,c=e.page,d=e.handleAfterPageClick,u=e.handleSettingPerPage,h=Math.ceil(s/n),g=[],v=c-2<1?1:c-2,m=c+2<=h?c+2:h;g.push({pageNo:1});for(let e=v;e<=m;e++)e>1&&e<h&&g.push({pageNo:e});let p=e=>{let t=(e-1)*n,i=t+n-1,r=[];for(let e=t;e<s&&e<=i;e++)r.push(a[e]);d(r,e)};return(0,r.useEffect)(()=>{p(c)},[n]),(0,i.jsx)(i.Fragment,{children:h>=1&&(0,i.jsx)("div",{className:"flex xxxs:pb-5",children:(0,i.jsxs)("nav",{className:"flex flex-row gap-3",children:[(0,i.jsxs)("div",{className:"flex flex-col",children:[(0,i.jsxs)("select",{onChange:e=>{u(Number(e.target.value))},className:"text-gray-600 border-gray-300 rounded-l-md border-2 outline-none focus:border-gray-400",value:n>=10?n:"",children:[(0,i.jsxs)("option",{value:"",className:"selected hidden",children:["Page No"," "]}),(0,i.jsx)("option",{value:"10",children:"10"}),(0,i.jsx)("option",{value:"20",children:"20"}),(0,i.jsx)("option",{value:"25",children:"25"}),(0,i.jsx)("option",{value:"30",children:"30"}),(0,i.jsx)("option",{value:"40",children:"40"}),(0,i.jsx)("option",{value:"50",children:"50"}),(0,i.jsx)("option",{value:"100",children:"100"})]}),(0,i.jsx)("h1",{className:"p-1",children:"Per Page"})]}),(0,i.jsxs)("ul",{className:"flex -space-x-px h-4 text-sm lining-nums",children:[c>1&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("li",{onClick:()=>{p(c-1)},className:"flex items-center justify-center px-3 h-7 ml-0 leading-tight text-gray-500 bg-white border cursor-pointer border-gray-300 rounded-l-lg hover:bg-gray-100 hover:text-gray-700",children:(0,i.jsx)(o.G,{icon:l.EyR,className:"w-2.5 h-2.5"})})}),g.map((e,a)=>(0,i.jsx)(i.Fragment,{children:e.pageNo<=h&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("li",{onClick:()=>{var a;p(e.pageNo),null==t||null===(a=t.current)||void 0===a||a.scrollIntoView()},value:e.pageNo,className:"flex items-center justify-center px-3 h-7 leading-tight cursor-pointer border-gray-300 border ".concat(e.pageNo===c?"bg-gray-100 hover:text-gray-700 ":" text-gray-500 bg-white hover:bg-gray-100 hover:text-gray-700 "),children:e.pageNo},a)})})),h>1&&(0,i.jsx)("li",{onClick:e=>{var a;p(e.target.value),null===(a=t.current)||void 0===a||a.scrollIntoView()},value:h,className:"flex items-center justify-center px-3 h-7 leading-tight cursor-pointer border-gray-300 border ".concat(c==h?"bg-gray-100 hover:text-gray-700 ":" text-gray-500 bg-white hover:bg-gray-100 hover:text-gray-700 "),children:h}),c<h&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("li",{onClick:()=>{p(c+1)},className:"flex    items-center justify-center px-3 h-7 leading-tight text-gray-500 bg-white border border-gray-300 rounded-r-lg cursor-pointer hover:bg-gray-100 hover:text-gray-700 ",children:(0,i.jsx)(o.G,{icon:l.yOZ,className:"w-2.5 h-2.5"})})})]})]})})})},n=a(22632),c=a(29552),d=a(41664),u=a.n(d),h=a(88754),g=a(88446),v=a(44080),m=a(91479),p=a(61839),x=e=>{var t;
1let{lotno:a,auctionNo:s,itemCode:n,pageType:c}=e,d=(0,r.useRef)(null),[u,x]=(0,r.useState)(!1),[y,b]=(0,r.useState)([]),[j,f]=(0,r.useState)({loading:!1,success:"",error:""}),N=async e=>{f({loading:!0,success:"",error:""});try{let t,a;"e-Auction"===c?t={page_enabled:"n",page:1,limit:100,sortDetails:{sortKey:"id",sortType:1},searchDetails:[{basicSearchKey:"lotno",basicSearchValue:s,basicSearchType:"regex-number"}],searchDetailsAnd:[],searchQuery:"",auction_id:s}:"p-Auction"===c&&(t={page_enabled:"n",page:1,limit:100,sortDetails:{sortKey:"id",sortType:1},searchDetails:[{basicSearchKey:"lotno",basicSearchValue:s,basicSearchType:"regex-number"}],searchDetailsAnd:[],searchQuery:"",auction_id:s}),"p-Auction"===c?a=[g.Z.post("/product-2-bid/get-product-2-bid-list",t),g.Z.post("/product-2-bid/getProduct_2_bid_archive",t)]:"e-Auction"===c&&(a=[g.Z.post("/product-1-bid/get-product-1-bid-list",t),g.Z.post("/product-1-bid/getProduct_1_bid_archive",t)]);let[i,r]=await Promise.all(a),l=i.data.data,o=r.data.data,n=[...o||[],...l||[]].filter(t=>t.lotno==e);if(console.log(n,"lotno combinedBid"),Array.isArray(n))b(n),f({loading:!1,success:"success",error:""});else throw Error("Invalid response format")}catch(e){console.error("Error fetching bid history:",e),f({loading:!1,success:"",error:"Something went wrong while fetching bid history."})}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{onClick:()=>{N(n),x(!0)},className:"bg-blue-400 p-2 rounded-md text-white",children:"Bid History"}),u&&(0,i.jsx)(v.u.Root,{show:u,children:(0,i.jsxs)(m.V,{as:"div",className:"relative z-10",initialFocus:d,onClose:x,children:[(0,i.jsx)(v.u.Child,{enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,i.jsx)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})}),(0,i.jsx)("div",{className:"fixed inset-0 z-10 w-full overflow-y-auto",children:(0,i.jsx)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:(0,i.jsx)(v.u.Child,{enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:(0,i.jsx)(m.V.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full ",children:(0,i.jsxs)("div",{className:"bg-white px-4 pb-4 max-w-sm md:max-w-fit pt-5 sm:p-6 sm:pb-4",children:[(0,i.jsxs)("div",{className:"mx-auto flex  p-3  justify-between  border rounded-md rounded-b-none ",children:[(0,i.jsx)("h1",{className:"p-3",children:"".concat("p-Auction"===c?"Printed Auction":"E Auction"," (Lot # ").concat((null===(t=y[0])||void 0===t?void 0:t.lotno)||"",")")}),u&&(0,i.jsx)("button",{className:"outline-none",onClick:()=>{x(!1)},children:(0,i.jsx)(o.G,{icon:l.YIN})})]}),(0,i.jsx)("div",{className:"sm:flex ",children:(0,i.jsx)("div",{className:" text-center border rounded-md rounded-t-none p-5 w-full ",children:(0,i.jsx)("div",{className:"overflow-x-auto",children:(0,i.jsxs)("table",{className:"w-full table-auto overflow-scroll border ",children:[(0,i.jsx)("thead",{className:"h-14",children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{className:"border",children:"Secret Bid"}),(0,i.jsx)("th",{className:"border",children:"Bid"}),(0,i.jsx)("th",{className:"border",children:"Bid Time"}),(0,i.jsx)("th",{className:"border",children:"Status"})]})}),(0,i.jsx)("tbody",{className:" text-center ",children:0!==y.length?y.map((e,t)=>(0,i.jsxs)("tr",{className:"h-10 odd:bg-gray-100 ",children:[(0,i.jsx)("td",{className:"border  px-10",children:(null==e?void 0:e.s_bid)!==0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.G,{icon:l.H0g}),(0,h.b)(null==e?void 0:e.s_bid)," "]}):"-"}),(0,i.jsx)("td",{className:"border  px-10 ",children:(null==e?void 0:e.bid)!==0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.G,{icon:l.H0g}
1),(0,h.b)(null==e?void 0:e.bid)," "]}):"-"}),(0,i.jsx)("td",{className:"border  px-10",children:(0,p.Z)(null==e?void 0:e.bidtime,"MMMM dd, yyyy , hh:mm a")}),(0,i.jsx)("td",{className:"border  px-10  ".concat((null==e?void 0:e.statusBidAcceptReject)==="reject"?"text-red-500":"text-green-500"),children:null==e?void 0:e.statusBidAcceptReject})]},t)):(0,i.jsx)("tr",{children:(0,i.jsx)("th",{colSpan:8,className:" bg-gray-200 p-3",children:j.loading?(0,i.jsx)("h1",{children:"Please Wait Data is Loading.!"}):(0,i.jsxs)("h1",{className:"font-thin ",children:["Sorry, you dont have any bid history for Live e Auction No:"," ",s.toString().slice(2)]})})})})]})})})})]})})})})})]})})]})},y=a(9008),b=a.n(y);let j=async e=>{let t,a,{userId:i,pageType:r,auctionNo:l,setRequestGetData:o,setProduct:s,setProductPerPage:n,setTotalCount:c}=e;o({loading:!0,success:"",error:""}),"p-Auction"===r?t={page:1,limit:1e3,sortDetails:{sortKey:"code",sortType:1},searchDetails:[{basicSearchKey:"auction_id",basicSearchValue:l,basicSearchType:"number"}],page_enabled:"n",auction_id:l}:"e-Auction"===r&&(t={page:1,limit:1e3,sortDetails:{sortKey:"code",sortType:1},searchDetails:[],page_enabled:"n",auction_id:parseInt(l.toString().slice(-2))}),"p-Auction"===r?a={page_enabled:"n",page:1,limit:1e3,sortDetails:{sortKey:"id",sortType:1},searchDetails:[{basicSearchKey:"lotno",basicSearchValue:l,basicSearchType:"regex-number"}],searchDetailsAnd:[],searchQuery:"",auction_id:l}:"e-Auction"===r&&(a={page_enabled:"n",page:1,limit:100,sortDetails:{sortKey:"id",sortType:1},searchDetails:[{basicSearchKey:"lotno",basicSearchValue:l,basicSearchType:"regex-number"}],searchDetailsAnd:[],searchQuery:"",auction_id:l});try{let e,d;-1!=l&&("p-Auction"===r?e=[g.Z.post("/product_2_live/get-product-2-live-list-public",t),g.Z.post("/product_2/getProduct_2List_public",t)]:"e-Auction"===r&&(e=[g.Z.post("/product_1_live/get-product-1-live-list-public",t),g.Z.post("/product_1/getProduct_1List_public",t)]));let[u,h]=await Promise.all(e),v=u.data.data,m=h.data.data;-1!=l&&("p-Auction"===r?d=[g.Z.post("/product-2-bid/get-product-2-bid-list",a),g.Z.post("/product-2-bid/getProduct_2_bid_archive",a)]:"e-Auction"===r&&(d=[g.Z.post("/product-1-bid/get-product-1-bid-list",a),g.Z.post("/product-1-bid/getProduct_1_bid_archive",a)]));let[p,x]=await Promise.all(d),y=p.data.data,b=x.data.data,j=[...v,...m],f=[...y,...b],N=j.map((e,t)=>{var a,i,r,l;let o=f.filter(t=>t.lotno===e.code);return{title:e.title,minimum_price:e.minimum_price,category_0:e.category_0,category_1:e.category_1,c
1ategory_2:e.category_2,category_3:e.category_3,category_4:e.category_4,category_5:e.category_5,imagesArr:e.imagesArr,bid:e.bid,s_bid:e.s_bid,bidder:e.bidder,no_of_bids:o.length,end_time:(null===(a=e.auctionDetails)||void 0===a?void 0:null===(i=a[0])||void 0===i?void 0:i.end_date)||"",code:e.code,auction_no:(null===(r=e.auctionDetails)||void 0===r?void 0:null===(l=r[0])||void 0===l?void 0:l.auction_no)||"",lot_no:e.id,category0Details:e.category0Details,category1Details:e.category1Details,category2Details:e.category2Details,category3Details:e.category3Details,category4Details:e.category4Details,category5Details:e.category5Details,bidArr:o,status:e.status}}).filter(e=>e.bidArr.length>=1||e.bidder==i);c(N.length),n(N.slice(0,10)),s(N),o({loading:!1,success:"Data fetched successfully",error:""})}catch(e){console.error("Error fetching data:",e),o({loading:!1,success:"",error:"Failed to fetch data. Please try again."})}},f=async e=>{let{setRequestGetUser:t,setUserId:a,setFormData:i,router:r}=e;try{t({loading:!0,success:"",error:""});let e=await g.Z.get("/user/viewuser");200===e.status&&(a(null==e?void 0:e.data.id),i(null==e?void 0:e.data),1===e.data.email_v&&2===e.data.mobile_v&&e.data.status.split(",").includes("8")||r.push("/customers")),t({loading:!1,success:"success",error:""})}catch(e){console.error(e),t({loading:!1,success:"",error:"something went wrong"})}},N=async e=>{let{setRequestGetList:t,setAuctionList:a,pageType:i}=e;try{var r,l;t({loading:!0,success:"",error:""});let e=await g.Z.post("/auction_no_archive/get-auction-list-public",{page_enabled:"n",page:1,limit:100,sortDetails:{sortKey:"auction_no",sortType:-1},searchDetails:[{basicSearchKey:"auction_type",basicSearchValue:"e-Auction"===i?1:2,basicSearchType:"number"}]});Array.isArray(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.data)&&a(null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.data),t({loading:!1,success:"success",error:""})}catch(e){console.error(e),t({loading:!1,success:"",error:"Error"})}},_=e=>{var t,a,i;let r="",l=e.sort((e,t)=>new Date(t.bidtime).getTime()-new Date(e.bidtime).getTime());return"string"==typeof(null===(t=l[0])||void 0===t?void 0:t.ip)&&(null===(a=l[0])||void 0===a?void 0:a.ip.length)>0&&(r="IP".concat(null===(i=l[0])||void 0===i?void 0:i.ip)),r},D=e=>{var t;let a=null==e?void 0:e.sort((e,t)=>new Date(t.bidtime).getTime()-new Date(e.bidtime).getTime());return(0,p.Z)(null===(t=a[0])||void 0===t?void 0:t.bidtime,"MMMM dd, yyyy , hh:mm a")},S=async e=>{let{setRequestGet:t,setAuctionNo:a,pageType:i}=e;try{var r,l,o;t({loading:!0,success:"",error:""});let e=await g.Z.post("/auction_no_archive/get-auction-list-public",{page_enabled:"n",page:1,limit:10,sortDetails:{sortKey:"auction_id",sortType:-1},searchDetails:[{basicSearchKey:"auction_type",basicSearchValue:"e-Auction"===i?1:2,basicSearchType:"number"}],searchDetailsAnd:[],searchQuery:""});if(Array.isArray(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.data)){let i=e.data.data,r=i.filter(e=>1===e.status);a(r.length>0?{auctionNo:null===(l=r[0])||void 0===l?void 0:l.auction_id,status:1}:i.length>0?{auctionNo:null===(o=i[0])||void 0===o?void 0:o.auction_id,status:0}:{auctionNo:null,status:0}),t({loading:!1,success:"success",error:""})}}catch(e){console.error(e),t({loading:!1,success:"",error:"something went wrong"})}};var A=a(48583),w=a(94543),T=a(11163),P=e=>{var t,a,d,g;let{pageType:v}=e,m=(0,T.useRouter)(),p=(0,A.Dv)(w.ZP),y=null==p?void 0:null===(t=p.userDetails)||void 0===t?void 0:t.status,P=(0,r.useRef)(null),[C,Z]=(0,r.useState)(!1),[F,k]=(0,r.useState)([]),[I,L]=(0,r.useState)([]),[B,K]=(0,r.useState)([]),[E,H]=(0,r.useState)(-1),[M,R]=(0,r.useState)(1),[V,U]=(0,r.useState)(10),[G,O]=(0,r.useState)(0),[Q,Y]=(0,r.useState)({auctionNo:-1,status:-1}),[z,W]=(0,r.useState)({loading:!1,success:"",error:""}),[$,q]=(0,r.useState)({loading:!1,success:"",error:""}),[J,X]=(0,r.useState)({loading:!1,success:"",error:""}),[ee,et]=(0,r.useState)({loading:!1,success:"",error:""}),[ea,ei]=(0,r.useState)({status:""});return(0,r.useEffect)(()=>{j({userId:E,pageType:v,auctionNo:Q.auctionNo,setRequestGetData:W,setProduct:L,setProductPerPage:k,setTotalCount:O})},[Q.auctionNo]),(0,r.useEffect)(()=>{f({setRequestGetUser:X,setUserId:H,setFormData:ei,router:m}),S({setRequestGet:et,setAuctionNo:Y,pageType:v})},[]),(0,r.useEffect)(()=>{N({setRequestGetList:q,setAuctionList:K,pageType:v})},[Q]),(0,i.jsxs)("div",{className:"lg:mx-28",children:[(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(b(),{children:(0,i.jsx)("title",{children:"Printed Auction Bid History"})})}),(0,i.jsxs)("div",{className:"container mx-auto",children:[(0,i.jsxs)("div",{className:"container mx-auto bg-gray-200 h-10 lg:my-3 rounded-md p-2 text-gray-500",children:[(0,i.jsx)(u(),{className:"hover:text-red-700",href:"/",children:"Home"}),"\xa0/\xa0",(0,i.jsx)(u(),{className:"hover:text-red-700",href:"/customers",children:"Dashboard"}),"\xa0/\xa0",(0,i.jsx)(u(),{className:"hover:text-red-700",href:"/customers/live-printed-auction/bidHistory",children:"Printed Auction Bid History"})]}),(null===(a=null==y?void 0:y.split(","))||void 0===a?void 0:a.includes("1"))&&(null===(d=null==y?void 0:y.split(","))||void 0===d?void 0:d.includes("2"))&&(null===(g=null==y?void 0:y.split(","))||void 0===g?void 0:g.includes("8"))?(0,i.jsxs)("div",{children:[(0,i.jsx)("h1",{className:"text-2xl mt-3 ml-3",children:"p-Auction"===v?"Printed Auction Bid History":"EAuction Bid History"}),(0,i.jsxs)("div",{className:"p-3 space-x-2 ",children:[(0,i.jsx)("label",{htmlFor:"auction",children:"Auction #No"}),(0,i.jsxs)("select",{className:"border p-1 outline-none ",name:"auction",id:"",value:null==Q?void 0:Q.auctionNo,disabled:null==$?void 0:$.loading,onChange:e=>{let t=e.target.value,a=e.target.options[e.target.selectedIndex].getAttribute("data-name");t&&a&&Y({auctionNo:parseInt(t),status:parseInt(a)}),k([]),R(1),U(10)},children:[(0,i.jsx)("option",{value:"0",children:"Select"}),B.map((e,t)=>(0,i.jsx)("option",{value:e.auction_id,"data-name":null==e?void 0:e.status,children:null==e?void 0:e.auction_no},t))]}),(0,i.jsxs)("label",{htmlFor:"auction",children:[(0,i.jsx)("strong",{className:"text-red-500",children:"*"}),"Please select Auction No"]})]}),(null==Q?void 0:Q.auctionNo)===void 0||-1===Q.auctionNo?(0,i.jsx)("h2",{className:"text-center text-2xl p-4",children:"Please select an auction number to view history details!"}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"flex  justify-between p-3",children:[(0,i.jsxs)("h1",{className:"font-bold  px-3",children:["Total Records # ",G]}),(0,i.jsx)("div",{ref:P,className:"flex space-x-3",children:(0,i.jsx)(s,{data:I,per_page:V,page:M,handleAfterPageClick:(e,t)=>{k(e),R(t)},handleSettingPerPage:e=>{U(e),R(1)}})})]}),(null==z?void 0:z.loading)||(null==ee?void 0:ee.loading)||(null==$?void 0:$.loading)?(0,i.jsxs)("h1",{className:"text-center text-green-500",children:["Loading Data...",(0,i.jsx)(o.G,{className:"px-1",icon:l.LM3,spin:!0})," "]}):null,(0,i.jsx)("div",{className:"overflow-x-auto",children:(0,i.jsxs)("table",{className:"w-full table-auto overflow-scroll border ",children:[(0,i.jsx)("thead",{className:"h-14",children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{className:"border",children:"Images"}),(0,i.jsx)("th",{className:"border",children:"Lot No"}),(0,i.jsx)("th",{className:"border",children:"Title"}),(0,i.jsx)("th",{className:"border",children:"Secret Bid"}),(0,i.jsx)("th",{className:"border",children:"Current Bid"}),(0,i.jsx)("th",{className:"border",children:"Bid Time"}),(0,i.jsx)("th",{className:"border",children:"Status"}),(0,i.jsx)("th",{className:"border",children:"Action"})]})}),(0,i.jsx)("tbody",{className:" text-center ",children:Array.isArray(F)&&(null==F?void 0:F.length)!==0?F.map((e,t)=>{var a,r,s;let d=parseInt(null==e?void 0:null===(a=e.code)||void 0===a?void 0:a.toString().slice(2,4)),g=parseInt(null==e?void 0:null===(r=e.code)||void 0===r?void 0:r.toString().slice(4)),m={};m.Details1=null==e?void 0:e.category1Details,m.Details2=null==e?void 0:e.category2Details,m.Details3=null==e?void 0:e.category3Details,m.Details4=null==e?void 0:e.category4Details,m.Details5=null==e?void 0:e.category5Details,m.auctionType=1===Q.status?"live-p-auction":"p-auction-archive",m.title=null==e?void 0:e.title;let p=(0,n.Z)({category:[null==m?void 0:m.Details1,null==m?void 0:m.Details2,null==m?void 0:m.Details3,null==m?void 0:m.Details4,null==m?void 0:m.Details5],title:null==m?void 0:m.title,auction:d,code:null==e?void 0:e.code,auctiontype:null==m?void 0:m.auctionType,type:1,isLive:0});return(0,i.jsxs)("tr",{className:"h-10 odd:bg-gray-100",children:[(0,i.jsx)("td",{className:"border  w-[15%] p-2",children:Array.isArray((null==e?void 0:e.imagesArr)||(null==e?void 0:e.imagesArr))?(null==e?void 0:e.imagesArr.length)>0?null==e?void 0:e.imagesArr.slice(0,1).map((e,t)=>{let a="",r=[...e],l=r.slice(0,4).join("").toString(),o=r.splice(9,1).toString();return"0"===o&&(a="t"),"1"===o&&(a="s"),"2"===o&&(a="m"),"3"===o&&(a="l"),"9"===o&&(a="o"),(0,i.jsx)("img",{className:" rounded-md",src:"".concat(c.Z.CDN_URL_PUBLIC,"/uploads/").concat(a,"/").concat(l,"/").concat(e)},t)}):null==e?void 0:e.imagesArr.slice(0,1).map((e,t)=>{let a="",r=[...e],l=r.slice(0,4).join("").toString(),o=r.splice(9,1).toString();return"0"===o&&(a="t"),"1"===o&&(a="s"),"2"===o&&(a="m"),"3"===o&&(a="l"),"9"===o&&(a="o"),(0,i.jsx)("img",{className:" rounded-md",src:"".concat(c.Z.CDN_URL_PUBLIC,"/uploads/").concat(a,"/").concat(l,"/").concat(e)},t)}):""}),(0,i.jsx)("td",{className:"border",children:(0,i.jsxs)(u(),{className:"hover:text-blue-500 ",href:p,children:["P-Auct # ",null==e?void 0:null===(s=e.code)||void 0===s?void 0:s.toString().slice(2,4),"-",g]})}),(0,i.jsx)("td",{className:"border w-[25%]",children:(0,i.jsx)(u(),{className:"hover:text-blue-500 ",href:p,children:null==e?void 0:e.title})}),(0,i.jsxs)("td",{className:"border ",children:[" ",(null==e?void 0:e.b
1idder)===E&&(null==e?void 0:e.s_bid)!==0?(0,i.jsxs)(i.Fragment,{children:[" ",(0,i.jsx)(o.G,{icon:l.H0g}),(0,h.b)(null==e?void 0:e.s_bid)]}):"-"]}),(0,i.jsxs)("td",{className:"border ",children:[" ",(null==e?void 0:e.bid)!==0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.G,{icon:l.H0g})," ",(0,h.b)(null==e?void 0:e.bid)]}):"-"]}),(0,i.jsxs)("td",{className:"border  ",children:[D(null==e?void 0:e.bidArr)," ",(0,i.jsx)("br",{})," ",_(null==e?void 0:e.bidArr)]}),(0,i.jsx)("td",{className:"border",children:(0,i.jsx)("strong",{children:B.filter(e=>e.auction_no==parseInt(Q.auctionNo.toString().slice(-2))).map(t=>0===t.status&&1===t.product_transfer_status?E===(null==e?void 0:e.bidder)?"You Won!":"Oops, You Lost":-1!==E?E===(null==e?void 0:e.bidder)?"Highest Bidder":"Outbid":"-")})}),(0,i.jsx)("td",{className:"border",children:(0,i.jsx)(x,{pageType:v,lotno:null==e?void 0:e.lot_no,auctionNo:Q.auctionNo,itemCode:null==e?void 0:e.code})})]},t)}):(0,i.jsx)("tr",{children:(0,i.jsx)("th",{colSpan:8,className:" bg-gray-200 p-3",children:(null==ee?void 0:ee.loading)||(null==z?void 0:z.loading)||(null==$?void 0:$.loading)||(null==J?void 0:J.loading)?(0,i.jsx)("h1",{children:"Please Wait Data is Loading.!"}):(0,i.jsxs)("h1",{className:"font-thin ",children:["Sorry, you dont have any bid history for Live Printed Auction No: ",null==Q?void 0:Q.auctionNo]})})})})]})})]})]}):null]})]})}},88754:function(e,t,a){"use strict";a.d(t,{b:function(){return i}});let i=e=>{try{let t="";if("number"==typeof e?t=e.toString():"string"==typeof e&&(t=e),t.includes("-")){let[e,a]=t.split("-");return r(e)+"-"+r(a)}return r(t)}catch(e){return console.error("Error formatting number:",e),"-"}},r=e=>{try{let t="",a=0,[i,r]=e.split(".");for(let e=i.length-1;e>=0;e--)t=i[e]+t,a++,3===a&&e>0?t=","+t:a>3&&(a-3)%2==0&&e>0&&(t=","+t);return r&&(t+="."+r),t}catch(e){return console.error("Error formatting part of the number:",e),"-"}}},61839:function(e,t,a){"use strict";var i=a(30120);t.Z=(e,t)=>{try{if(!e)return"Date does not exist";let a=new Date(e),r=a.valueOf();if("number"!=typeof r||isNaN(r))return"Invalid Date";let l={year:a.getUTCFullYear(),month:a.getUTCMonth(),date:a.getUTCDate(),hours:a.getUTCHours(),minutes:a.getUTCMinutes(),seconds:a.getUTCSeconds()},o=i.ou.fromObject({year:l.year,month:l.month+1,day:l.date,hour:l.hours,minute:l.minutes,second:l.seconds});if(t.length>0)return o.setZone("Asia/Kolkata").toFormat(t).toString();return o.setZone("Asia/Kolkata").toString()}catch(e){return console.error(e),"Invalid Date"}}},9008:function(e,t,a){e.exports=a(42636)}}]);

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.