PageSourceSearch

https://ripplemind.com/_next/static/chunks/2804-3c7b5660c0e50d64.js

js ripplemind.com collected 2026-10-06 13:17:36 UTC 14,317 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2804],{51800:function(e,t,r){r.d(t,{Z:function(){return u}});var a=r(85893),i=r(59417),s=r(99603),o=r(41664),c=r.n(o),n=r(67294),l=r(88446),d=e=>{let t=e.id,r=e.auctiontype,i=e.pathname,s=e.categoryItems,[o,d]=(0,n.useState)([]),u=(0,n.useRef)(!1),p=e=>e.replace(/[^\w\s]/g," ").toLowerCase().replace(/\s+/g,"-").replace(/[^a-zA-Z0-9-]/g,"").replace(/-{2,}/g,"-").replace(/^-+|-+$/g,""),h=[],g=[];if(Array.isArray(s)&&s.length>0)for(let e of s)e.category_5>0&&g.push(e.category_5),e.category_4>0&&g.push(e.category_4),e.category_3>0&&g.push(e.category_3),e.category_2>0&&g.push(e.category_2),e.category_1>0&&g.push(e.category_1);let y=g.filter((e,t)=>g.indexOf(e)===t);for(let e=0;e<y.length;e++)h.push({basicSearchKey:"id",basicSearchValue:y[e],basicSearchType:"number"});return(0,n.useEffect)(()=>{let t=async()=>{try{let t={page_enabled:"y",page:1,limit:100,sortDetails:{sortKey:"category",sortType:1},searchDetails:h,auction_id:e.auctionid,product_type:r},a=await l.Z.post("/product-all-category-get/get-category-by-product-type-public",t),i=[],s=a.data.data,o=[],c=[];if(Array.isArray(s)&&s.length>0){for(let e of s)isNaN(e.category[0])||c.push(e),isNaN(e.category[0])&&o.push(e);i=o.concat(c),d(i)}}catch(e){console.error(e)}};return!1===u.current&&t(),()=>{u.current=!0}},[]),(0,a.jsx)(a.Fragment,{children:o.map((e,r)=>{let s=p(e.cat_url),o="/".concat(i,"/").concat(s,"/").concat(e.id);return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"px-2",children:(0,a.jsx)("span",{className:"flex w-full text-xs items-center py-1 px-2 font-medium first:mt-0 last:border-0 ",children:(0,a.jsx)(c(),{href:o,className:"".concat(t===e.id?"text-red-800":"hover:text-red-800"," lining-nums"),children:e.category})},r)})})})})},u=e=>{let[t,r]=(0,n.useState)(null),o=e.categoryItems,l=e.auctio_id,u=e.id,p=e.type,h=e.auctionType,g=[];if(Array.isArray(o)&&o.length>0)for(let e of o)g.push({category_hp:e.categoryHpDetails[0].category,category_hp_id:e.categoryHpDetails[0].id,category_hp_url:e.categoryHpDetails[0].cat_url,record:e.records});(0,n.useEffect)(()=>{"categoryHP"===p&&r(u)},[u]);let y=e=>{e===t?r(null):r(e)},m="";switch(h){case"p_auction_live":m="live-printed-auction";break;case"e_auction_live":m="live-e-auction";break;case"p_auction":case"p_auction_hP":m="printed-auction";break;case"e_auction":m="e-auction";break;case"e_store":m="e-shop"}let x=e=>e.replace(/[^\w\s]/g," ").toLowerCase().replace(/\s+/g,"-").replace(/[^a-zA-Z0-9-]/g,"").replace(/-{2,}/g,"-").replace(/^-+|-+$/g,"");return(0,a.jsx)(a.Fragment,{children:"p_auction_hP"!==h&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("ul",{className:"flex flex-col children:bg-white children:border-b children:text-gray-800 p-1",children:null==g?void 0:g.map((e,r)=>{let o=x(e.category_hp_url),n="/".concat(m,"/CHP/").concat(o,"/").concat(e.category_hp_id);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("li",{onClick:()=>y(e.category_hp_id),className:"flex w-full text-xs items-center py-1 px-2 font-medium first:mt-0 last:border-0 hover:bg-gray-50 cursor-pointer",children:[e.category_hp,(0,a.jsx)("span",{className:"ml-auto py-1 pl-2 rounded-full text-xs font-medium",children:t===e.category_hp_id?(0,a.jsx)(s.G,{icon:i.Kl4,className:"w-3 h-3 mt-1"}):(0,a.jsx)(s.G,{icon:i.r8p,className:"w-3 h-3 mt-1"})})]},r),t===e.category_hp_id&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("li",{className:"max-h-36 overflow-hidden overflow-y-auto px-2",children:[(0,a.jsx)("span",{className:"flex w-full text-xs items-center py-1 px-2 font-medium border-b ",children:(0,a.jsx)(c(),{href:n,className:"hover:text-red-800 lining-nums font-semibold",children:e.category_hp})}),(0,a.jsx)(d,{categoryItems:e.record,auctionid:l,auctiontype:h,pathname:m,id:u})]})})]})})})})})}},11719:function(e,t,r){var a=r(85893),i=r(59417),s=r(99603),o=r(41664),c=r.n(o);r(67294);let n=e=>e.replace(/[^\w\s]/g," ").toLowerCase().replace(/\s+/g,"-").replace(/[^a-zA-Z0-9-]/g,"").replace(/-{2,}/g,"-").replace(/^-+|-+$/g,"");t.Z=e=>{let t=[];try{let r="";switch(e.type){case"p-auction-archive":r="printed-auction";break;case"e-auction-archive":r="e-auction";break;case"live-p-auction":r="live-printed-auction";break;case"live-e-auction":r="live-e-auction";break;case"e-shop":r="e-shop";break;case"search":r="/search"}for(let a of e.category)if(Array.isArray(a)&&a.length>0){let i=a[0];if("number"==typeof(null==i?void 0:i.id)&&"string"==typeof(null==i?void 0:i.category)){if("search"!=e.type){let e=n(null==i?void 0:i.cat_url);t.push({category:i.category,cat_url:"/".concat(r,"/").concat(e,"/").concat(null==i?void 0:i.id)})}if("search"===e.type){let e=i.category;t.push({category:i.category,cat_url:e})}}}}catch(e){}return(0,a.jsx)(a.Fragment,{children:null==t?void 0:t.map((r,o)=>(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("span",{children:["search"!==e.type&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(c(),{href:r.cat_url,className:"hover:text-red-900 ",children:r.category})}),"search"===e.type&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(c(),{href:{pathname:"/search",query:{q:"".concat(r.cat_url)}},className:"hover:text-red-900 ",children:r.category})}),(0,a.jsx)("span",{children:o+1===t.length?(0,a.jsx)(a.Fragment,{}):(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(s.G,{icon:i.yOZ,size:"lg",className:"h-4 w-4 mt-auto"})})},o)]},o)}))})}},74293:function(e,t,r){var a=r(85893),i=r(67294),s=r(93729),o=r(88446),c=r(99603),n=r(59417),l=r(11163);t.Z=e=>{let t=e.code,r=e.type,d=e.loginStatus,u=e.wishlist_code,p=e.auction_type,h=e.view_type,g=t.toString().slice(-4),y=g.toString(),m=parseInt(parseInt(y,10).toString()),x=null==e?void 0:e.pageType,[f,b]=(0,i.useState)(!1),[v,j]=(0,i.useState)([]),w=(0,l.useRouter)(),[_,N]=(0,i.useState)("");(0,i.useEffect)(()=>{N(window.location.href)},[w]),(0,i.useEffect)(()=>
1{if(d&&2===r){A();return}},[d,t]),(0,i.useEffect)(()=>{Array.isArray(u)&&j(u)},[u]);let k="",F="";switch(p){case"p-auction-archive":case"e-auction-archive":k="";break;case"live-p-auction":k="/pauction-live-wishlist/get-product-2-live-wish-list",F="/pauction-live-wishlist/insert-product-2-live-wish-list";break;case"live-e-auction":k="/eauction-live-wishlist/get-product-1-live-wish-list",F="/eauction-live-wishlist/insert-product-1-live-wish-list";break;case"e-shop":k="/estore-wishlist/get-product-3-wish-list",F="/estore-wishlist/insert-product-3-wish-list"}let A=async()=>{let e=[];2===r&&e.push({basicSearchKey:"code",basicSearchValue:t,basicSearchType:"number"});try{let t=await o.Z.post("".concat(k),{page:1,limit:1,sortDetails:{sortKey:"id",sortType:-1},searchDetails:e,page_enabled:"n"});if(200===t.status&&2===r){var a;let e=null===(a=t.data)||void 0===a?void 0:a.count;b(!1),e>0&&b(!0)}}catch(e){console.error(e)}},G=async e=>{var r,a,i,c;try{let i=await o.Z.post("".concat(F),{code:t},{headers:{frontendurl:_||""}});if(200===i.status){let o=!1;if((null===(r=i.data)||void 0===r?void 0:r.code)>0&&2===e&&(o=!0,b(o)),1===e&&(null===(a=i.data)||void 0===a?void 0:a.code)>0){let e=i.data.code;e>0&&j([...v,e])}"e-shop"===p?(0,s.Z)({msg:"SKU # ".concat(t," is successfully added to your wishlist"),type:"success"}):(0,s.Z)({msg:"Lot # ".concat(m," is successfully added to your wishlist"),type:"success"})}}catch(e){console.error(e),(0,o.I)(e)&&"object"==typeof(null==e?void 0:null===(i=e.response)||void 0===i?void 0:i.data)&&(null==e?void 0:null===(c=e.response)||void 0===c?void 0:c.status)===400&&("e-shop"===p?(0,s.Z)({msg:"SKU # ".concat(t," already exists in your wishlist"),type:"error"}):(0,s.Z)({msg:"Lot # ".concat(m," already exists in your wishlist"),type:"error"}))}},S=()=>{let e=!1;return null==v||v.map(r=>{r===t&&(e=!0)}),e};return(0,a.jsxs)(a.Fragment,{children:[2===r&&"e-shop"!==p&&"printedAuction"===x&&(0,a.jsx)(a.Fragment,{children:f?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("button",{className:"px-2 mt-2  py-1 inline-flex justify-center gap-2 border-2 focus:border-gray-200 border-gray-100 rounded font-normal ",children:(0,a.jsxs)("span",{className:"xxxs:font-thin md:font-normal",children:[(0,a.jsx)(c.G,{icon:n.m6i,type:"far",size:"lg",className:"h-4 w-4 cursor-pointer mx-1 text-red-500","data-tooltip-id":"wish-tooltip"}),"Already In Wishlist"]})})}):(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("button",{onClick:()=>G(2),className:"px-2 mt-2   py-1 inline-flex justify-center gap-2 border-2 focus:border-gray-200 border-gray-100 rounded font-normal ",children:(0,a.jsxs)("span",{className:"font-normal gap-x-24",children:[(0,a.jsx)(c.G,{icon:n.m6i,type:"far",size:"lg",className:"h-4 w-4 cursor-pointer mx-1","data-tooltip-id":"wish-tooltip"}),"Add to Wishlist"]})})})}
1),"e-shop"===p&&1===r&&"eshopDetail"===x&&(0,a.jsx)(a.Fragment,{children:S()?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("button",{className:"px-2 mt-2 font-normal  py-1 inline-flex justify-center gap-2  border-2 focus:border-gray-200 border-gray-100 rounded  ",children:(0,a.jsxs)("span",{children:[(0,a.jsx)(c.G,{icon:n.m6i,type:"far",size:"lg",className:"h-4 w-4 cursor-pointer mx-1 text-red-500","data-tooltip-id":"wish-tooltip"}),"Already In Wishlist"]})})}):(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("button",{onClick:()=>G(1),className:"px-2 mt-2  py-1 inline-flex justify-center gap-2  border-2 focus:border-gray-200 border-gray-100 rounded font-normal ",children:(0,a.jsxs)("span",{children:[(0,a.jsx)(c.G,{icon:n.m6i,type:"far",size:"lg",className:"h-4 w-4 cursor-pointer mx-1","data-tooltip-id":"wish-tooltip"}),"Add to Wishlist"]})})})}),2===r&&"eshopDetail"!==x&&"printedAuction"!==x&&(0,a.jsx)(a.Fragment,{children:f?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("button",{className:"bg-gray-300 hover:bg-gray-400 focus:border-gray-200 border-gray-100 text-gray-800 font-bold py-1 px-2 rounded-r",children:(0,a.jsx)(c.G,{icon:n.m6i,size:"lg",className:"h-4 w-4 text-red-500"})})}):(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("button",{onClick:()=>G(2),className:"bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-1 px-2 rounded-r",children:(0,a.jsx)(c.G,{icon:n.m6i,size:"lg",className:"h-4 w-4 text-white"})})})}),1===r&&"e-shop"!==p&&"printedAuction"!==x&&(0,a.jsx)(a.Fragment,{children:S()?(0,a.jsx)("button",{className:"px-2 w-full py-1 flex justify-center gap-2 bg-gray-200 hover:bg-gray-100 border-2 focus:border-gray-200 border-gray-100 rounded ",children:(0,a.jsx)("span",{children:(0,a.jsx)(c.G,{icon:n.m6i,className:"text-red-500"})})}):(0,a.jsx)("button",{onClick:()=>G(1),className:"px-2 w-full py-1 flex justify-center gap-2 bg-gray-200 hover:bg-gray-100 border-2 focus:border-gray-200 border-gray-100 rounded ",children:(0,a.jsx)("span",{children:(0,a.jsx)(c.G,{icon:n.m6i,className:""})})})}),"e-shop"===p&&1===r&&"eshopDetail"!=x&&("list"===h||void 0===h)&&(0,a.jsx)(a.Fragment,{children:S()?(0,a.jsx)("span",{children:(0,a.jsx)(c.G,{icon:n.m6i,type:"far",size:"lg",className:"h-4 w-4 cursor-pointer mx-1 text-red-500","data-tooltip-id":"wish-tooltip"})}):(0,a.jsx)("span",{children:(0,a.jsx)(c.G,{onClick:()=>G(1),icon:n.m6i,type:"far",size:"lg",className:"h-4 w-4 cursor-pointer mx-1","data-tooltip-id":"wish-tooltip"})})}),"e-shop"===p&&1===r&&"grid"===h&&"eshopDetail"!=x&&(0,a.jsx)(a.Fragment,{children:S()?(0,a.jsx)("button",{className:"px-2 mt-2 my-2  py-1 inline-flex justify-center gap-2 bg-gray-200 hover:bg-gray-100 border-2 focus:border-gray-200 border-gray-100 rounded",children:(0,a.jsx)("span",{children:(0,a.jsx)(c.G,{icon:n.m6i,className:" h-3 w-3 text-red-500"})})}):(0,a.jsx)("button",{onClick:()=>G(1),className:"px-2 mt-2 my-2  py-1 inline-flex justify-center gap-2 bg-gray-200 hover:bg-gray-100 border-2 focus:border-gray-200 border-gray-100 rounded",children:(0,a.jsx)("span",{children:(0,a.jsx)(c.G,{icon:n.m6i,className:" h-3 w-3"})})})})]})}},76648:function(e,t,r){var a=r(85893),i=r(67294),s=r(99603),o=r(59417);t.Z=()=>{let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=()=>{window.scrollY>300?t(!0):t(!1)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,a.jsx)("div",{className:"fixed sm:bottom-24 md:bottom-20 right-5 bg-gray-300 cursor-pointer text-black p-3 rounded-full   ".concat(e?"opacity-100":"opacity-0"," transition-opacity duration-500"),onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:(0,a.jsx)(s.G,{icon:o.mTx})})}},7023:function(e,t){t.Z={OG_DESCRIPTION:"Auction, Buy & Sell of Coins, Notes, Stamps and Many Collectibles",OG_TYPE:"website",OG_IMAGE:"https://marudhararts.com/icons/ma_image.png",OG_TITLE:"marudhararts.com",OG_URL:"https://marudhararts.com"}},91132:function(e,t){t.Z=e=>{let t=e.auction_no,r=e.type,a=e.current_path,i="",s="",o="",c="";switch(r){case"p-auction-archive":i="printed-auctions/auctionno/",s="printed-auction-master-categories/",o="printed-auction/",c="printed-auction-master-categories/";break;case"e-auction-archive":i="e-auctions/auctionno/",s="e-auction-master-categories/",o="e-auction/",c="e-auction-master-categories/";break;case"live-p-auction":i="live-printed-auctions/auctionno/",s="live-printed-auction-master-categories/",o="live-printed-auction/",c="live-printed-auction-master-categories/";break;case"live-e-auction":i="live-e-auctions/auctionno/",s="live-e-auction-master-categories/",o="live-e-auction/",c="live-e-auction-master-categories/"}let n="",l=a.split("/");return"auctionno"===l[l.length-2]?(l.pop(),n=l="".concat(l.join("/"),"/").concat(t.toString())):n=a.includes("auctionno")?a.replace("".concat(i),"".concat(s)):a.replace("".concat(o),"".concat(c)),n}},99034:function(e,t){t.Z=e=>{let t=e.query;for(let e in t)null==t||delete t.aid,null==t||delete t.pid;return t}},79965:function(e,t,r){r(67294);var a=r(88446);let i=async e=>{let t=[];if(e.user_login_status){try{let i="";switch(e.auction_type){case"p-auction-archive":case"e-auction-archive":i="";break;case"live-p-auction":i="/pauction-live-wishlist/get-product-2-live-wish-list";break;case"live-e-auction":i="/eauction-live-wishlist/get-product-1-live-wish-list";break;case"e-shop":i="/estore-wishlist/get-product-3-wish-list"}let s=await a.Z.post("".concat(i),{page:1,limit:100,sortDetails:{sort
1Key:"id",sortType:1},searchDetails:[],page_enabled:"y"});if(200===s.status){var r;let e=null===(r=s.data)||void 0===r?void 0:r.data;if(Array.isArray(e)&&e.length>0)for(let r of e)t.push(r.code)}}catch(e){console.error(e)}return t}return[]};t.Z=i}}]);

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.