1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6800],{11631:(e,l,r)=>{r.d(l,{Gt:()=>i,W7:()=>s,el:()=>o,rV:()=>n});var t=r(95704);function a(e,l){var r;return"".concat(((r="liveCOV",true),void 0!==r)?r:"").concat(e).concat(l)}function s(e){var l,r,a;let s=null!=(l=t.env.ALGOLIA_INDEX)?l:"liveCOV",i=null!=(a=null!=(r=t.env.ALGOLIA_TRENDING_PRODUCT_INDEX_NAME)?r:"_products")?a:"_products";if(!s)throw Error("Algolia index env variables are missing");return"".concat(s).concat(e).concat(i)}function i(e){return a(e,"_products")}function n(e){let l="_suggestions_query_suggestions".trim();return a(e,!l||l.includes("query_suggestions")?"_suggestions":l)}function o(e){return a(e,"_categories".trim()||"_categories")}},43858:(e,l,r)=>{r.d(l,{$M:()=>a,Je:()=>o,Mv:()=>c,Yy:()=>u,d3:()=>m,z2:()=>d});var t=r(32321);let a="recently_viewed_product",s="AUTOCOMPLETE_RECENT_SEARCHES:RECENT_SEARCH",i=e=>"trending_".concat(e),n=e=>"trending_timestamp_".concat(e);function o(e){if(!e)return;let l=t.yD.getItem(s)||[];(l=l.filter(l=>l.label!==e)).unshift({id:e,label:e}),t.yD.setItem(s,l)}function c(){return(t.yD.getItem(s)||[]).slice(0,5)}function d(){let e=t.yD.getItem(a);if(e)if(Array.isArray(e))return e;else t.yD.removeItem(a);return[]}let u=e=>{let{isBrowser:l}=t.yD;if(!l())return[];let r=localStorage.getItem(i(e)),a=localStorage.getItem(n(e));if(!r||!a)return null;try{let l=parseInt(a,10),t=x();if(l<t)return localStorage.removeItem(i(e)),localStorage.removeItem(n(e)),null;return JSON.parse(r)}catch(e){return null}},m=(e,l)=>{let{isBrowser:r}=t.yD;r()&&(localStorage.setItem(i(e),JSON.stringify(l)),localStorage.setItem(n(e),Date.now().toString()))},x=()=>{let e=new Date;return e.setHours(0,0,0,0),e.getTime()}},96800:(e,l,r)=>{r.r(l),r.d(l,{default:()=>F});var t=r(95155),a=r(43366),s=r(78791),i=r(99965),n=r(10127),o=r(12115),c=r(73914),d=r(15239),u=r(1213),m=r(2582),x=r(43858),g=r(75355),h=r(33290),p=r(97215),f=r(83339),v=r(11423),w=r(90038),b=r(89256),j=r(11631);async function y(e,l,r){let t=(0,j.Gt)(e),{results:a}=await h.n.search([{indexName:t,params:{hitsPerPage:r,query:l}},{indexName:(0,j.rV)(e),params:{hitsPerPage:r,query:l}},{indexName:(0,j.el)(e),params:{hitsPerPage:r,query:l}}]);return a}function N(e){let{storeCode:l,setProducts:r,setSuggestions:a,setCategories:s,query:i,setQueryKey:n,handleKeyDown:c,setLoading:d,setQueryId:u}=e,x=(0,o.useRef)(null),N=(0,o.useRef)(null),{isDesktop:_}=(0,m.Q)();(0,o.useEffect)(()=>{let e=x.current;if(e)try{e.focus({preventScroll:!0})}catch(l){e.focus()}},[]);let S=(0,o.useRef)((0,p.A)(async e=>{let t=[],i=[],n=[],o="";if(e.length<3){r([]),a([]),s([]),null==d||d(!1);return}null==d||d(!0);try{var c,m,x,g,p,N;let r=!1;if((0,v.sM)())try{let{results:a}=await (0,w.Xx)({storeCode:l,query:e,hitsPerPage:10},(0,v.H2)()),[s,d,u]=null!=a?a:[];t=null!=(c=null==s?void 0:s.hits)?c:[],i=null!=(m=null==d?void 0:d.hits)?m:[],n=null!=(x=null==u?void 0:u.hits)?x:[],o=(null==s?void 0:s.queryID)||"",r=!0}catch(e){f.A.warn("Echo autocomplete failed; using Algolia direct",{component:"AutoCompleteAlgolia",err:e})}if(!r){let r,a,s;try{[r,a,s]=await y(l,e,10)}catch(a){f.A.warn("Algolia-direct autocomplete multi-search failed; products only",{component:"AutoCompleteAlgolia",err:a});let{results:t}=await h.n.search([{indexName:(0,j.Gt)(l),params:{hitsPerPage:10,query:e}}]);r=null==t?void 0:t[0]}t=null!=(g=null==r?void 0:r.hits)?g:[],i=null!=(p=null==a?void 0:a.hits)?p:[],n=null!=(N=null==s?void 0:s.hits)?N:[],o=(null==r?void 0:r.queryID)||""}}catch(e){f.A.error("Search autocomplete failed:",{component:"AutoCompleteAlgolia",err:e})}finally{r(t),a(i),s(n),null==d||d(!1),u(o),(0,b.vv)(t.map(e=>e.objectID),l)}},500)).current;return(0,o.useEffect)(()=>{if(!i||i.length<3){r([]),a([]),s([]),null==d||d(!1);return}return null==d||d(!0),S(i),()=>S.cancel()},[i,S,r,a,s,d]),(0,t.jsx)(g.default,{type:"text",className:"ios-no-zoom w-full appearance-none rounded-lg border border-none px-3 py-2 text-xs placeholder:text-xs focus:outline-none",style:_?{}:{fontSize:"16px",transform:"scale(0.875)",transformOrigin:"left center"},placeholder:"Search entire store here...",value:i,onChange:e=>{n(e.target.value)},onFocus:()=>{let e=window.scrollY,l=()=>{window.scrollTo({top:e,left:0,behavior:"auto"})}
1,r=window.visualViewport;r&&(r.addEventListener("resize",l),r.addEventListener("scroll",l)),setTimeout(l,0),N.current=()=>{r&&(r.removeEventListener("resize",l),r.removeEventListener("scroll",l))}},onBlur:()=>{var e;null==(e=N.current)||e.call(N),N.current=null},ref:x,onKeyDown:c})}var _=r(87826),S=r(31182),C=r(6829),E=r(32321),k=r(96414),A=r(70104),I=r(34339),D=r(11567),R=r(83121),P=r(53182),T=r(37627),O=r(77821),q=r(74644),z=r(49322),M=r(16062);let F=e=>{var l,r;let{switchToInitialSearch:g,query:h,setQueryKey:p,searchBoxClass:f,absoluteContentClass:v}=e,[w,j]=(0,o.useState)([]),[y,F]=(0,o.useState)([]),[L,U]=(0,o.useState)([]),[H,Q]=(0,o.useState)(!0),[G,V]=(0,o.useState)(""),{trendingSearch:B}=(0,u.d4)(e=>null==e?void 0:e.homeData),{storeCode:J,currencyCode:K}=(0,z.v)(),W=(0,u.d4)(e=>e.auth.customer),X=(0,o.useMemo)(()=>{var e;return B?null==B||null==(e=B.items)?void 0:e.algolia_banner_data:null},[B]),{isMobile:$}=(0,m.Q)(),Y=(0,o.useRef)(null),[Z,ee]=(0,o.useState)([]),[el,er]=(0,o.useState)(""),[et,ea]=(0,o.useState)(!1);(0,k.A)(!!Y.current),(0,o.useEffect)(()=>{var e;let l=J==_.wh.EU&&null!=(e=(0,C.Ri)(C.S3))?e:K;er((null!=l?l:"USD").substring(0,3))},[K,J]),(0,o.useEffect)(()=>{let e=e=>{let l=Y.current;null!=l&&l.contains(e.target)||g()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[g]);let{data:es,isFetching:ei}=(0,T.bW)(),en=(0,o.useMemo)(()=>{var e;return(null==B||null==(e=B.items)?void 0:e.categories)||[]},[B]),eo=(0,o.useMemo)(()=>{var e,l;let r=Number(null==W||null==(e=W.customer_extra_fields)?void 0:e.discount_percent)||0;return null!=(l=null==w?void 0:w.map(e=>{var l,t,a,s,i,n;let o=null==(t=null!=(a=null==e?void 0:e.price_with_tax)?a:null==e?void 0:e.price)||null==(l=t[null!=el?el:""])?void 0:l.default,c=(0,P.um)(o,0),d=r?(0,P.yi)(c,r):c.toFixed(2);return{id:null==e?void 0:e.sku,name:null==e?void 0:e.name,imageUrl:null==e?void 0:e.image_url,hoverImageUrl:null!=(s=null==e?void 0:e.hover_image_url)?s:null==e?void 0:e.image_url,productScore:null==e?void 0:e.product_score,reviewsCount:null!=(i=null==e?void 0:e.cov_review_count)?i:0,originalprice:(null==e?void 0:e.strike_price)||"",price:d,formattedPrice:S.IK[el]+d,formattedOriginalPrice:(null==e?void 0:e.strike_price)||"",rating:null!=(n=null==e?void 0:e.cov_rating)?n:0,url:e.url,objectId:null==e?void 0:e.objectID}}))?l:[]},[w,null==W||null==(l=W.customer_extra_fields)?void 0:l.discount_percent]),ec=(0,o.useCallback)(()=>{g()},[g]),ed=(0,o.useMemo)(()=>"string"==typeof h?(0,x.Mv)():[],[h]),eu=(0,o.useMemo)(()=>eo.length>0||y.length>0||L.length>0,[L,eo,y]),em=(0,o.useMemo)(()=>y.length>0?y:h.trim().length>2&&eo.length>0?[{objectID:h,query:h}]:[],[y,h,eo]),ex=(0,o.useCallback)(()=>0===em.length?null:(0,t.jsx)("section",{className:"flex w-full flex-col [@media_(min-width:1024px)_and_(max-width:1250px)]:w-[160px] [@media_(min-width:1251px)]:w-[180px]",children:(0,t.jsxs)("div",{children:[(0,t.jsx)(A.default,{variant:"body-base",weight:"medium",className:"text-primary-900 mb-2",children:"Suggestions"}),(0,t.jsx)("div",{className:"no-scrollbar flex overflow-x-auto lg:flex-col lg:flex-wrap",children:em.map(e=>(0,t.jsxs)("a",{href:"/catalogsearch/result/?q=".concat(e.query),onClick:()=>{(0,x.Je)(e.query)},className:"mr-2 flex shrink-0 items-center gap-1 overflow-hidden rounded-lg border border-gray-500 bg-white px-3 py-1 text-[10px] whitespace-nowrap lg:mr-0 lg:max-w-[180px] lg:border-none lg:p-1 lg:text-ellipsis",children:[(0,t.jsx)(a.$,{size:16,className:"flex-shrink-0"}),(0,t.jsx)(D.A,{className:"text-[14px]",element:"span",text:e.query,keyWord:h,mode:"substring"})]},e.objectID))})]})}),[h,em]),eg=(0,o.useCallback)(()=>0===eo.length?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.default,{variant:"body-base",weight:"medium",className:"text-primary-900 mb-4",children:"Similar Products"}),(0,t.jsx)("div",{className:"no-scrollbar flex gap-3 overflow-x-auto pb-4 lg:grid lg:grid-cols-3",children:eo.map((e,l)=>(0,t.jsxs)("a",{href:(0,E.wV)(e.url),className:"w-[35%] shrink-0 rounded-2xl border border-gray-500 p-2 lg:w-auto",onClick:()=>(0,b.t_)([e.objectId||""],G,J||_.wh.USA,l+1),children:[(0,t.jsx)("div",{className:"relative mx-auto aspect-[126/91] w-full max-w-[200px] overflow-hidden rounded-t-lg",children:(0,t.jsx)(d.default,{src:e.imageUrl,alt:e.name,fill:!0,className:"object-cover"})}),(0,t.jsx)(A.default,{variant:"body-xs",className:"text-primary-900 mt-1 mt-2 line-clamp-1",children:e.name}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-1",children:[(0,t.jsxs)(A.default,{variant:"body-3xs",className:"text-primary-900",children:["Starts From"," "]}),(null==e?void 0:e.price)&&!(null==e?void 0:e.originalprice)?(0,t.jsx)(A.default,{element:"span",weight:"medium",variant:"body-3xs",className:"text-primary pt-px pr-1",children:null==e?void 0:e.formattedPrice}):(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-end pt-px",children:[(0,t.jsx)(A.default,{element:"span",weight:"medium",variant:"body-3xs",className:"text-primary pr-1",children:null==e?void 0:e.formattedPrice}),(0,t.jsx)(A.default,{element:"span",variant:"body-3xs",className:"text-secondary-100 pr-1 line-through",children:(null==e?void 0:e.originalprice)?null==e?void 0:e.formattedOriginalPrice
1:0})]})]})]},e.id))})]}),[eo]),eh=(0,o.useCallback)(()=>0===L.length?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.default,{variant:"body-base",weight:"medium",className:"text-primary-900 mb-4",children:"Similar Categories"}),(0,t.jsx)("div",{className:"no-scrollbar flex gap-3 overflow-x-auto pb-4 lg:grid lg:grid-cols-4",children:L.map(e=>(0,t.jsxs)("a",{className:"w-[34%] shrink-0 rounded-[20px] border border-gray-500 pb-2 lg:w-auto [@media_(max-width:375px)]:w-[34%]",href:(0,E.wV)(e.url),children:[(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsx)(I.CDNImage,{src:e.image_url,alt:e.name,height:100,width:100,className:"w-full rounded-t-[20px] object-cover"})}),(0,t.jsx)(A.default,{variant:"body-xs",className:"text-primary-900 px-2 pt-2 text-center",children:e.name})]},e.objectID))})]}),[L]),ep=(0,o.useCallback)(()=>0===ed.length?null:(0,t.jsxs)("div",{className:"pb-4",children:[(0,t.jsx)(A.default,{variant:"body-base",weight:"medium",className:"text-primary-900 mb-2",children:"Recent Searches"}),(0,t.jsx)("div",{className:"no-scrollbar flex overflow-x-auto lg:flex-col lg:flex-wrap",children:ed.map(e=>(0,t.jsxs)("a",{href:"/catalogsearch/result/?q=".concat(e.label),onClick:()=>{(0,O.S)(q.Q.ADB_SEARCH_RECENT_PRODUCTS,{value:e},!0),g()},className:"mr-2 flex shrink-0 items-center gap-1 overflow-hidden rounded-lg border border-gray-500 bg-white px-3 py-1 whitespace-nowrap lg:mr-0 lg:max-w-[180px] lg:border-none lg:p-1 lg:text-ellipsis",children:[(0,t.jsx)("img",{src:"/images/icons/recent.svg",width:16,height:16,className:"hidden lg:block"}),(0,t.jsx)(s.K,{size:14,className:"flex-shrink-0 lg:hidden"}),(0,t.jsx)(A.default,{variant:"body-sm",className:"text-primary-900 truncate text-[14px]",children:e.label})]},e.id))})]}),[ed,g]),ef=(0,o.useCallback)(()=>{let e=(null==es?void 0:es.trendingSearch)||[];return ei?(0,t.jsxs)("div",{children:[(0,t.jsx)(R.E,{className:"mb-3 h-5 w-36"}),(0,t.jsxs)("div",{className:"flex flex-row gap-2 lg:flex-col",children:[(0,t.jsx)(R.E,{className:"h-4 w-44"}),(0,t.jsx)(R.E,{className:"h-4 w-32"})]})]}):0===e.length?null:(0,t.jsxs)("div",{className:"pb-4",children:[(0,t.jsx)(A.default,{variant:"body-base",weight:"medium",className:"text-primary-900 my-2",children:"Trending Searches"}),(0,t.jsx)("div",{className:"no-scrollbar flex overflow-x-auto lg:flex-col lg:flex-wrap",children:e.map(e=>(0,t.jsxs)("a",{href:(0,E.wV)(e.redirect_url),onClick:()=>{(0,O.S)(q.Q.Adb_SEARCH_TRENDING_PRODUCT,{value:e},!0),g()},title:e.keyword,className:"mr-2 flex shrink-0 items-center gap-1 overflow-hidden rounded-lg border border-gray-500 bg-white px-3 py-1 whitespace-nowrap lg:mr-0 lg:max-w-[180px] lg:border-none lg:p-1 lg:text-ellipsis",children:[(0,t.jsx)(i.e,{size:14,className:"flex-shrink-0"}),(0,t.jsx)(A.default,{variant:"body-xs",className:"text-primary-900 truncate",children:e.keyword})]},e.keyword))})]})},[g,es,ei]);(0,o.useEffect)(()=>{let e=(0,x.z2)();ee(null==e?void 0:e.slice(0,5).map(e=>{var l;return{id:null==e?void 0:e.product_id,name:null==e?void 0:e.name,imageUrl:null==e?void 0:e.image_url,price:null==e?void 0:e.final_price,formattedPrice:S.IK[el]+(0,P.yi)(Number(null==e?void 0:e.final_price),Number((null==W||null==(l=W.customer_extra_fields)?void 0:l.discount_percent)||0)),url:e.url}}))},[el,W]),(0,o.useEffect)(()=>{E.yD.getItem("topTickerClosed")||ea(!0)},[et,J]);let ev=(0,o.useRef)(!1);return(0,t.jsxs)("div",{ref:Y,className:"flex w-full items-center justify-between rounded-lg border border-neutral-200 bg-white py-0.75 pr-4 transition-all duration-200 md:mb-0",onClick:()=>{ev.current||(ev.current=!0,(0,O.S)(q.Q.ADB_SEARCH_BAR,{},!0))},children:[(0,t.jsx)(N,{storeCode:null!=J?J:_.wh.USA,setProducts:j,setSuggestions:F,setCategories:U,query:h,setQueryKey:p,switchToInitialSearch:g,handleKeyDown:e=>{"Enter"===e.key&&h&&((0,x.Je)(h),window.location.replace("/catalogsearch/result/?q=".concat(h)))},setLoading:Q,setQueryId:V}),0===h.length?(0,t.jsxs)("div",{className:"flex items-center gap-x-4",children:[(0,t.jsx)("button",{className:"cursor-pointer",onClick:g,children:(0,t.jsx)(n.u,{size:16})}),M.fA&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"h-6 w-[2px] bg-gray-700"}),(0,t.jsx)("div",{className:"flex h-6 w-6 items-center justify-center",children:(0,t.jsx)(c.A,{inModalPopup:!1})})]})]}):(0,t.jsxs)("div",{className:"flex items-center gap-x-4",children:[(0,t.jsx)("button",{onClick:()=>{p("")},children:(0,t.jsx)(n.u,{size:16})}),(0,t.jsx)("div",{className:"h-6 w-[2px] bg-gray-700"}),(0,t.jsx)("a",{className:"flex h-6 w-6 items-center justify-center hover:text-blue-600",href:"/catalogsearch/result/?q=".concat(h),onClick:()=>
1(0,x.Je)(h),children:(0,t.jsx)(a.$,{size:16})})]}),(0,t.jsx)("div",{className:(0,E.cn)("bg-opacity-grey absolute inset-0 top-full h-screen w-full",f),onClick:ec,children:(0,t.jsxs)("div",{className:(0,E.cn)("absolute left-0 z-10 mx-auto flex max-h-[73vh] w-full flex-col overflow-y-auto rounded-none bg-white px-4 pt-0 shadow-lg transition-all duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] sm:max-h-[65vh] sm:gap-8 sm:rounded-b-lg sm:px-6 sm:pt-6 lg:left-[195px] lg:grid lg:w-[calc(100vw-300px)] lg:max-w-[960px] lg:grid-cols-[1fr_auto] [@media_(min-width:1366px)]:left-[245px] [@media_(min-width:1441px)]:left-[calc(100vw/2-470px)]",v),onClick:e=>e.stopPropagation(),children:[h.trim().length>2?H?(0,t.jsx)(R.A,{}):eu?(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-2 lg:flex-row lg:gap-4",children:[ex(),(eo.length>0||L.length>0)&&(0,t.jsxs)("section",{className:"flex-1 pt-4 pb-2 lg:pt-0",children:[eg(),eh()]})]}):(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-6 flex flex-col self-start bg-gray-300 p-8",children:(0,t.jsxs)(A.default,{weight:"medium",children:["Sorry, we didnât find any matches for ",h]})}),en.length>0&&(0,t.jsx)("section",{className:"flex-1 pt-4 pb-2 lg:pt-0",children:(0,t.jsx)(t.Fragment,{children:en.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.default,{variant:"body-base",weight:"medium",className:"text-primary-900 mb-6",children:"Top categories"}),(0,t.jsx)("div",{className:"no-scrollbar flex gap-3 overflow-x-auto pb-4 lg:grid lg:grid-cols-4",children:en.map(e=>(0,t.jsxs)("a",{className:"w-[29%] shrink-0 rounded-[20px] border border-gray-500 pb-2 lg:w-auto [@media_(max-width:375px)]:w-[34%]",href:e.url,onClick:()=>{(0,O.S)(q.Q.ADB_SEARCH_TOP_CATEGORIES,{value:e},!0)},children:[(0,t.jsx)("div",{className:"aspect-sqaure overflow-hidden",children:(0,t.jsx)(d.default,{src:e.image,alt:e.name,height:100,width:100,className:"h-full w-full rounded-t-[20px] object-cover"})}),(0,t.jsx)(A.default,{variant:"body-xs",className:"text-primary-900 px-2 pt-2 text-center",children:e.name})]},e.id))})]})})})]}):H||!en.length?(0,t.jsx)(R.A,{}):(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-0 lg:flex-row lg:gap-4",children:[(0,t.jsxs)("section",{className:"flex w-full flex-col gap-2 lg:gap-0 [@media_(min-width:1024px)_and_(max-width:1250px)]:w-[160px] [@media_(min-width:1251px)]:w-[180px]",children:[ep(),ef()]}),(en.length>0||Z.length>0)&&(0,t.jsx)("section",{className:"flex-1 pt-4 pb-2 lg:pt-0",children:(0,t.jsxs)(t.Fragment,{children:[en.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.default,{variant:"body-base",weight:"medium",className:"text-primary-900 mb-6",children:"Top categories"}),(0,t.jsx)("div",{className:"no-scrollbar flex gap-3 overflow-x-auto pb-4 lg:grid lg:grid-cols-4 [@media_(max-width:1199px)]:grid-cols-3",children:en.map(e=>(0,t.jsxs)("a",{className:"w-[33%] shrink-0 rounded-[20px] border border-gray-500 pb-2 lg:w-auto [@media_(max-width:375px)]:w-[34%]",href:e.url,onClick:()=>{(0,O.S)(q.Q.ADB_SEARCH_TOP_CATEGORIES,{value:e},!0)},children:[(0,t.jsx)("div",{className:"aspect-square overflow-hidden",children:(0,t.jsx)(d.default,{src:e.image,alt:e.name,height:100,width:100,className:"h-full w-full rounded-t-[20px] object-cover"})}),(0,t.jsx)(A.default,{variant:"body-xs",className:"text-primary-900 px-2 pt-2 text-center",children:e.name})]},e.id))})]}),Z.length>0&&(0,t.jsxs)("div",{className:"pt-4 lg:pt-0",children:[(0,t.jsx)(A.default,{variant:"body-base",weight:"medium",className:"text-primary-900 mb-4",children:"Recently Viewed Products"}),(0,t.jsx)("div",{className:"no-scrollbar flex gap-3 overflow-x-auto pb-4 lg:grid lg:grid-cols-3",children:Z.map(e=>(0,t.jsxs)("a",{href:e.url,className:"w-[35%] shrink-0 rounded-[20px] border border-gray-500 p-1 lg:w-auto",children:[(0,t.jsx)("div",{className:"relative aspect-[126/91] overflow-hidden rounded-t-[20px]",children:(0,t.jsx)(d.default,{src:e.imageUrl,alt:e.name,fill:!0,className:"object-cover"})}),(0,t.jsx)(A.default,{variant:"body-xs",className:"text-primary-900 mt-1 mt-2 line-clamp-1 px-2",children:e.name}),(0,t.jsxs)(A.default,{className:"text-primary-900 px-2 pb-2 text-[10px]",children:["Starts From"," ",(0,t.jsx)(A.default,{element:"span",className:"text-primary text-[10px]",children:e.formattedPrice})]})]},e.id))})]})]})})]}),(0,t.jsx)("section",{className:"mt-2 mb-5 w-full lg:mt-0 [@media_(min-width:1024px)_and_(max-width:1250px)]:w-[156px] [@media_(min-width:1251px)]:w-[156px]",children:(0,t.jsx)("div",{className:"w-full",children:!!X&&(0,t.jsx)("a",{href:null!=(r=null==X?void 0:X.banner_url)?r:"https://www.coversandall.com/welcome-offer",onClick:()=>{(0,O.S)(q.Q.ADB_SEARCH_WELCOME_OFFER,{}
1,!0)},children:(0,t.jsx)(d.default,{src:($?null==X?void 0:X.mobile_banner_image:null==X?void 0:X.desktop_banner_image)||"",alt:"welcome-offer",width:300,height:0,className:"h-auto w-full rounded-lg object-cover"})})})})]})})]})}}}]);
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.