1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8667],{5482:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/category/[category]/[type]",function(){return s(87976)}])},15268:function(e,t,s){"use strict";var a=s(87066),i=s(43812);let n=i.BUILDER_URL,r=e=>{let{job_id:t,endpoint:s,payload:r,responseData:l,errorMsg:o}=e,c=JSON.stringify(r),d=JSON.stringify(o),m={responseData:JSON.stringify({job_id:t,endpoint:s,payLoad:c,responseData:l,error:d})};(0,i.isDevelopment)()||a.Z.post("".concat(n,"/error-log"),m).then(e=>{200===e.status&&console.log("Success response",e.data)}).catch(e=>{})};t.Z=r},4921:function(e,t,s){"use strict";s.d(t,{Z:function(){return o}});var a=s(85893),i=s(9008),n=s.n(i),r=s(85574),l=s(67294);function o(e){let{title:t="",description:s="",keyword:i=""}=e,{domainData:o}=(0,l.useContext)(r.UserContext);return o.seo_domain_name||window.location.hostname,(0,a.jsxs)(n(),{children:[(0,a.jsx)("title",{children:t||""}),(0,a.jsx)("meta",{name:"description",content:s}),(0,a.jsx)("meta",{name:"keywords",content:i}),(0,a.jsx)("meta",{name:"title",content:t})]})}},4422:function(e,t,s){"use strict";var a=s(67294),i=s(82940),n=s(87066),r=s(37351);let l=()=>{let e="#";for(let t=0;t<6;t++)e+="0123456789ABCDEF"[Math.floor(16*Math.random())];return e},o=()=>{let e=new Date,t="".concat(e.getFullYear()).concat((e.getMonth()+1).toString().padStart(2,"0")).concat(e.getDate().toString().padStart(2,"0")).concat(e.getHours().toString().padStart(2,"0")).concat(e.getMinutes().toString().padStart(2,"0")).concat(e.getSeconds().toString().padStart(2,"0"));return t+l()},c=e=>{let t=(0,i.b)(),s=(0,a.useContext)(r.ThemeContext),l=async()=>{if(1===s.siteStatus){let a={};try{let i=await n.Z.get("https://api.ipify.org?format=json"),r=await n.Z.get("https://ipapi.co/".concat(i.data.ip,"/json/"));a=r.data}catch(d){console.warn("Failed to fetch IP details from ipapi.co. Trying fallback...");try{let l=await n.Z.get("https://ipwhois.app/json/");a=l.data}catch(c){console.warn("Failed to fetch IP details from fallback service. Proceeding without IP data.")}}let m={ipDetails:JSON.stringify(a),reference:window.location.hostname,track:"track",page:window.location.href,method:"open",page_type:e,UID:"",scode:o()};try{await t.post("user/tracking",m)}catch(h){console.error("Error sending tracking data:",h)}}else console.error("Tracking not enabled due to site status.")};return l};t.Z=c},90614:function(e,t,s){"use strict";s.r(t),s.d(t,{Error404Order:function(){return l},NoDataFound:function(){return d},PageNotFound:function(){return o},ProductNotFound:function(){return c}});var a=s(85893),i=s(67294),n=s(85574);let r=()=>{let{errorImages:e,errorLoading:t}=(0,i.useContext)(n.UserContext),s=(null==e?void 0:e.somethingWentWrong)||"/images/502.jpeg";return t?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"flex items-center justify-center p-2 min-h-[50vh] md:min-h-screen",children:(0,a.jsx)("div",{className:"w-3/4 md:w-1/2 bg-gray-300 animate-pulse",style:{height:"300px",maxWidth:"100%"}})})}):(0,a.jsx)("div",{className:"flex items-center justify-center p-2 min-h-[50vh] md:min-h-screen",children:(0,a.jsx)("img",{src:s,alt:"Error",className:"w-3/4 md:w-1/2 object-contain ",style:{maxWidth:"100%",height:"auto"}})})},l=()=>{let{errorImages:e,errorLoading:t}=(0,i.useContext)(n.UserContext),s=(null==e?void 0:e.somethingWentWrong)||"/images/502.jpeg";return t?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"flex items-center justify-center p-2 min-h-[50vh] md:min-h-screen",children:(0,a.jsx)("div",{className:"w-3/4 md:w-1/2 bg-gray-300 animate-pulse",style:{height:"300px",maxWidth:"100%"}})})}):(0,a.jsx)("div",{className:"flex items-center justify-center p-2 min-h-[50vh] md:min-h-screen",children:(0,a.jsx)("img",{src:s,alt:"Error",className:"w-3/4 md:w-1/2 object-contain ",style:{maxWidth:"100%",height:"auto"}})})},o=()=>{let{errorImages:e,errorLoading:t}=(0,i.useContext)(n.UserContext),s=(null==e?void 0:e.pageNotFound)||"https://img.freepik.com/free-vector/page-found-concept-illustration_114360-1869.jpg?size=338&ext=jpg&ga=GA1.1.1413502914.1720051200&semt=sph";return t?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"flex items-center justify-center p-2 min-h-[50vh] md:min-
1h-screen",children:(0,a.jsx)("div",{className:"w-3/4 md:w-1/2 bg-gray-300 animate-pulse",style:{height:"300px",maxWidth:"100%"}})})}):(0,a.jsx)("div",{className:"flex items-center justify-center p-2 min-h-[50vh] md:min-h-screen",children:(0,a.jsx)("img",{src:s,alt:"Page Not Found",className:"w-3/4 md:w-1/2 object-contain ",style:{maxWidth:"100%",height:"auto"}})})},c=()=>{let{errorImages:e,errorLoading:t}=(0,i.useContext)(n.UserContext),s=(null==e?void 0:e.productNotFound)||"/images/404/404-error.jpg";return t?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"flex items-center justify-center p-2 min-h-[50vh] md:min-h-screen",children:(0,a.jsx)("div",{className:"w-3/4 md:w-1/2 bg-gray-300 animate-pulse",style:{height:"300px",maxWidth:"100%"}})})}):(0,a.jsx)("div",{className:"flex items-center p-2 justify-center min-h-[50vh] md:min-h-screen",children:(0,a.jsx)("img",{src:s,alt:"Product Not Found",className:"w-3/4 md:w-1/2 object-contain ",style:{maxWidth:"100%",height:"auto"}})})},d=()=>{let{errorImages:e,errorLoading:t}=(0,i.useContext)(n.UserContext),s=(null==e?void 0:e.noDataFound)||"https://img.freepik.com/free-vector/flat-design-no-data-illustration_23-2150527142.jpg?size=626&ext=jpg&ga=GA1.1.946237680.1700816731&semt=ais";return t?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"flex items-center justify-center p-2 min-h-[50vh] md:min-h-screen",children:(0,a.jsx)("div",{className:"w-3/4 md:w-1/2 bg-gray-300 animate-pulse",style:{height:"300px",maxWidth:"100%"}})})}):(0,a.jsx)("div",{className:"flex items-center justify-center p-2 min-h-[50vh] md:min-h-screen",children:(0,a.jsx)("img",{src:s,alt:"No Data Found",className:"w-3/4 md:w-1/2 object-contain ",style:{maxWidth:"100%",height:"auto"}})})};t.default=r},87976:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return j}});var a=s(85893),i=s(67294),n=s(11163),r=s(82940),l=s(41664),o=s.n(l),c=s(43812),d=s(68015),m=s(15268),h=s(4422),u=s(25675),x=s.n(u),g=s(4921),p=s(90614);let f=()=>{var e;let t=(0,n.useRouter)(),s=(0,h.Z)("Category List Page"),[l,u]=(0,i.useState)([]),[f,j]=(0,i.useState)(""),[v,y]=(0,i.useState)(""),[N,w]=(0,i.useState)(""),[b,_]=(0,i.useState)(!0),[S,F]=(0,i.useState)(null),{jboId:C}=(0,d.useJobId)(),k=(0,r.b)(),{category:P,type:W}=t.query;if(!P||!W)return;(0,i.useEffect)(()=>{if(t.isReady&&P&&W){let e="/".concat(P,"/").concat(W),a={url:e},i=async()=>{var t,s,i,n,r,l,o,c,d;_(!0);try{let h=await k.post("product/productListPage",a);j(null==h?void 0:null===(t=h.data)||void 0===t?void 0:null===(s=t.page_property)||void 0===s?void 0:s.seo_title),y(null==h?void 0:null===(i=h.data)||void 0===i?void 0:i.page_property.seo_description),w(null==h?void 0:null===(n=h.data)||void 0===n?void 0:null===(r=n.page_property)||void 0===r?void 0:r.seo_keyword),u(null==h?void 0:null===(l=h.data)||void 0===l?void 0:l.thumbnail),F((null==h?void 0:null===(o=h.data)||void 0===o?void 0:null===(c=o.page_property)||void 0===c?void 0:c.faq)||null)}catch(g){let x=(null==g?void 0:null===(d=g.response)||void 0===d?void 0:d.data)?g.response.data:"";(0,m.Z)({job_id:C,endpoint:"product/productListPage",payload:{url:e},responseData:x,errorMsg:g})}_(!1)};i(),s()}},[t.isReady,t.query]);let D=Array.isArray(null==S?void 0:S.items)&&(null==S?void 0:null===(e=S.items)||void 0===e?void 0:e.length)>0,E=()=>(0,a.jsx)("div",{className:"xl:container px-4 mx-auto p-4 grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-6",children:[...Array(10)].map((e,t)=>(0,a.jsxs)("div",{className:"flex flex-col overflow-hidden shadow-lg rounded-lg animate-pulse",children:[(0,a.jsx)("div",{className:"h-72 w-full bg-gray-300 shimmer"}),(0,a.jsxs)("div",{className:"flex-1 p-4 space-y-3",children:[(0,a.jsx)("div",{className:"h-6 bg-gray-300 shimmer rounded"}),(0,a.jsx)("div",{className:"h-6 bg-gray-300 shimmer rounded w-1/2"})]})]},t))});if(b)return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(E,{})});if(!l||(null==l?void 0:l.length)===0)return(0,a.jsx)(p.NoDataFound,{});let U=e=>e.replace(/[_-]/g," ").split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" ");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g.Z,{title:f,description:v,keyword:N}),(0,a.jsx)("div",{className:"xl:container px-4 py-4 flex justify-between ",children:(0,a.jsxs)("div",{className:"flex gap-3 items-center",children:[(0,a.jsx)(o(),{href:"/",className:"text-primary text-base",children:(0,a.jsx)("i",{className:"fas fa-home"})}),(0,a.jsxs)("div",{className:"flex gap-3 items-center mt-1",children:[(0,a.jsx)("span",{className:"text-sm text-gray-500",children:(0,a.jsx)("i",{className:"fas fa-chevron-right "})}),(0,a.jsx)("span",{className:"text-gray-500 font-medium uppercase",children:P})]})]})}),(0,a.jsx)("div",{className:"xl:container px-4 mx-auto",children:(0,a.jsxs)("h1",{className:"text-2xl font-bold text-gray-800 capitalize px-4 pt-2 pb-1",children:[U(P)," ",U(W)]})}),(0,a.jsx)("div",{className:"xl:container px-4 mx-auto p-4 grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 ga
1p-6",children:null==l?void 0:l.map((e,t)=>(0,a.jsxs)("div",{className:"flex flex-col overflow-hidden shadow-lg rounded-lg cursor-pointer transform transition duration-500 hover:scale-105",children:[(0,a.jsxs)(o(),{href:"".concat(e.url),className:"flex-shrink-0 relative h-72 md:h-[200px] lg:h-[250px] lg1:h-[300px] w-full",children:[" ",(0,a.jsx)(x(),{onLoad:e=>e.target.classList.remove("shimmer"),alt:e.name,src:(0,c.setImageSrc)(e.thumbnail_image,""),layout:"fill",objectFit:"fill",className:"shimmer"})]}),(0,a.jsxs)("div",{className:"flex-1 bg-white p-4 flex flex-col justify-between",children:[(0,a.jsx)("h2",{className:"text-xl font-semibold text-gray-800 mb-3",children:e.name}),(0,a.jsx)(o(),{href:"".concat(e.url),className:"text-primary hover:underline text-sm",children:"View Product"})]})]},t))}),D&&(0,a.jsxs)("div",{className:"border border-gray-300 p-5 m-8 rounded-xl shadow-sm",children:[S.topic&&(0,a.jsx)("h2",{className:"text-xl font-semibold text-gray-800 mb-4 border-b border-gray-200 pb-2",children:S.topic}),Array.isArray(S.items)&&S.items.length>0&&(0,a.jsx)("div",{className:"space-y-6",children:S.items.map((e,t)=>(0,a.jsxs)("div",{className:"flex gap-5 px-2 py-3",children:[(0,a.jsxs)("span",{className:"flex-shrink-0 text-base font-bold text-gray-700",children:[t+1,"."]}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{className:"text-md font-semibold text-gray-800",children:e.question}),(0,a.jsx)("p",{className:"text-sm text-gray-600 leading-relaxed",children:e.answer})]})]},t))})]})]})};var j=!0;t.default=f}},function(e){e.O(0,[7066,5675,1664,17,2940,9774,2888,179],function(){return e(e.s=5482)}),_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.