PageSourceSearch

https://www.tradeindia.com/_next/static/chunks/TopRatedSlider-Component.243fd49461f6ba24.js

js tradeindia.com collected 2026-10-01 10:15:56 UTC 6,100 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2683],{43756:(e,i,a)=>{a.r(i),a.d(i,{default:()=>u});var t=a(37876);a(14232);var o=a(19357),r=a(36975),d=a(21626),s=a(72599),l=a(29837),n=a(72043),c=a(79242),p=a(16203),h=a(30235),g=a(89099);let m=e=>{let i=(0,g.useRouter)(),a="seller"===e.type?e.data.url:e.data.prod_url;return(0,t.jsx)(x,{imagesContainerSize:e.imagesContainerSize,children:(0,t.jsxs)(l.default,{htmlAnchor:!0,href:void 0!==a?"seller"!==e.type?h.A.getLocale(i,"/"+i.locale+a,a):a:"/",className:"d-flex align-items-center flex-column",children:[(0,t.jsx)("div",{className:"imageBox d-flex align-items-center p-1 justify-content-center mt-1 pt-1",children:"seller"===e.type?e&&e.data&&e.data.co_logo&&null!==e.data.co_logo?(0,t.jsx)(p.default,{alt:e.data?.co_name?e.data?.co_name:"Product",effect:"blur",src:e&&e.data&&e.data.co_logo,height:e.imageHeight,width:"150px"}):(0,t.jsx)(c.A,{smallNoImage:!0}):e&&e.data&&e.data.product_image&&null!==e.data.product_image?(0,t.jsx)(p.default,{alt:e.data?.co_name?e.data?.co_name:"Product",effect:"blur",src:e&&e.data&&e.data.product_image,height:e.imageHeightTwo,width:"150px"}):(0,t.jsx)(c.A,{smallNoImage:!0})}),(e.data?.co_name||e.data?.long_tail_prod_name)&&"seller"===e.type?(0,t.jsx)(s.Kg,{color:r.A.colors.theme_primary.dark,as:"p",className:"mt-2 firstletter Body3R",children:h.A.getLocale(i,e.data?.co_name_hi,e.data?.co_name)}):(0,t.jsx)(s.Kg,{color:r.A.colors.theme_primary.dark,as:"p",className:"mt-2 firstletter Body3R",children:h.A.getLocale(i,e.data?.long_tail_prod_name_hi?e.data?.long_tail_prod_name_hi:e.data?.co_name_hi,e.data?.long_tail_prod_name?e.data?.long_tail_prod_name:e.data?.co_name)}),(e.data?.city||e.data?.country_name||e.data?.co_name)&&"seller"===e.type?(0,t.jsxs)(s.Gn,{className:"Body4R",mfontWeight:300,color:r.A.colors.theme_secondary[400],children:[h.A.getLocale(i,e.data?.city_hi,e.data?.city),",",h.A.getLocale(i,e.data?.country_name_hi,e.data?.country_name)]}):(0,t.jsx)(s.Gn,{className:"Body4R",mfontWeight:300,color:r.A.colors.theme_secondary[400],children:h.A.getLocale(i,e.data?.co_name_hi,e.data?.co_name)}),e.data?.rating&&(0,t.jsx)(n.A,{rating:e.data?.rating})]})})},x=d.Ay.div.withConfig({componentId:"sc-9400b60e-0"})(["width:100%;border:1px solid #eef0f3;text-align:center;border-radius:8px;height:180px;.imageBox img{object-fit:contain;}.firstletter{height:1.4em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;}a{text-decoration:none !important;height:inherit;padding:10px 10px;}"," "," @media (min-width:768px){box-shadow:3px 31px 40px rgba(187,194,205,0.15);"," ","}"],e=>!e.imagesContainerSize&&(0,d.AH)(["height:auto;.imageBox{border-radius:8px;overflow:hidden;width:70px;height:61px;background-color:white;box-sizing:border-box;position:relative;}"]),e=>e.imagesContainerSize&&(0,d.AH)(["height:auto;.imageBox{border-radius:8px;overflow:hidden;width:100%;height:100px;background-color:white;box-sizing:border-box;position:relative;padding:0 !important;margin:0 !important;}"]),e=>!e.imagesContainerSize&&(0,d.AH)(["height:180px;"]),e=>e.imagesContainerSize&&(0,d.AH)(["height:215px;"]));var _=a(80917);let f={dots:!1,infinite:!1,speed:500,slidesToShow:5,slidesToScroll:1,arrows:!0,autoplay:!1,autoplaySpeed:5e3,pauseOnHover:!1,responsive:[{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1,arrows:!1}}]},b=d.Ay.div.withConfig({componentId:"sc-95cd9e76-0"})([".slick-slide{width:70vh;}.slick-list{margin:0 -5px;}.slick-slider{padding-top:10px;}.slick-slide > div{margin:0 5px;}.slick-track{margin-left:0 !important;}@media (min-width:768px){.topRatedCnt{border-radius:8px;border:solid 1px ",";padding-top:20px;padding-left:20px;padding-right:20px;}.slick-slide{width:inherit;}.slick-slider{padding-top:0;}.slick-list{padding:18px 0px 32px 0px;margin:0px;}.slick-slide > div{margin:0 10px;}.slick-next,.slick-prev{background-color:#fff;width:32px;height:32px;border-radius:50%;border:solid 1px ",';z-index:2;top:60px;}.slick-prev{left:inherit;right:52px;top:-12px;padding:0 0 0 4px;}.slick-next{right:4px;top:-12px;padding:0 4px 0 0;}.slick-prev:before,.slick-next:before{content:"";display:block;margin:0 auto;width:8px;height:8px;border-right:solid 1px ',";border-top:solid 1px ",";transform:rotate(-135deg);}.slick-next:before{transform:rotate(45deg);}.slick-next:hover,.slick-prev:hover{background-color:",";}.slick-prev:hover:before,.slick-next:hover:before{border-color:#fff;}}@media screen and (min-width:576px){div.slick-slide{width:inherit;}button.slick-arrow.slick-prev.slick-disabled,button.slick-arrow.slick-next.slick-disabled{border-color:#d7d7d7;}.slick-prev.slick-disabled:hover,.slick-next.slick-disabled:hover{background-color:white;}.slick-prev.slick-disabled:hover:before,.slick-next.slick-disabled:hover:before{border-color:#d7d7d7;}}"],r.A.colors.theme_secondary[100],r.A.colors.theme_connecting_dots.secondary.main,r.A.colors.theme_connecting_dots.secondary.main,r.A.colors.theme_connecting_dots.secondary.main,r.A.colors.theme_connecting_dots.secondary.main),u=e=>{let{className:i}=e;return(0,t.jsx)(_.X,{children:(0,t.jsx)(b,{className:i,children:(0,t.jsxs)("div",{className:"top
1RatedCnt mb-4",children:[(0,t.jsx)(s.Kg,{color:r.A.colors.theme_secondary.dark,as:"p",children:e.heading}),e.sliderItems.length>0&&(0,t.jsx)(o.A,{...f,children:e.sliderItems?.map((i,a)=>(0,t.jsx)(m,{imageHeight:"50px",imageHeightTwo:"100px",imagesContainerSize:e.imagesContainerSize,data:i,type:e.type},a))})]})})})}},72043:(e,i,a)=>{a.d(i,{A:()=>s});var t=a(37876);a(14232);var o=a(21626),r=a(68827),d=a.n(r);let s=e=>(0,t.jsx)(l,{children:e.rating?e.rating>0&&[...Array(parseInt(e.rating))].map((e,i)=>(0,t.jsx)(d(),{layout:"fixed",objectFit:"contain",src:"/images/default/star-rating.svg",alt:"product",height:"14",width:"14",className:"w-100"},i)):[void 0,void 0,void 0,void 0,void 0].map((e,i)=>(0,t.jsx)(d(),{layout:"fixed",objectFit:"contain",src:"/images/default/star-rating.svg",alt:"product",height:"14",width:"14",className:"w-100"},i))}),l=o.Ay.div.withConfig({componentId:"sc-7f658eb2-0"})(["display:inline-flex;"])}}]);

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.