PageSourceSearch

https://www.fitpetmall.com/mall/_next/static/chunks/7414-38b099af2574210b.js

js fitpetmall.com collected 2026-10-01 15:24:37 UTC 22,268 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7414],{50476:function(e,t,r){var i=r(31549),n=r(32728),o=r.n(n),a=r(48541),s=r(85469),d=r(36367),l=r(11800),c=r(70379),u=r(68222),p=r(28246),h=r(1317),m=r(44236),g=r(71463),x=r(17747),f=r(34418),v=r(29105),y=r(99511);let _=o()(()=>r.e(7259).then(r.bind(r,97259)),{loadableGenerated:{webpack:()=>[97259]},ssr:!1}),C=o()(()=>Promise.resolve().then(r.bind(r,79603)),{loadableGenerated:{webpack:()=>[79603]},ssr:!1}),w=s.ZP.div.withConfig({displayName:"SearchProductHeader__StyledHeader",componentId:"sc-4f35cf19-0"})(["z-index:",";position:sticky;top:0;width:100%;max-width:",";background-color:",";transition:transform 0.2s;-webkit-transition:transform 0.2s;"],g.IF.HEADER,g.SM.BODY_MAX_WIDTH,e=>{let{theme:{color:{grayWhite:t}}}=e;return t}),j=s.ZP.div.withConfig({displayName:"SearchProductHeader__StyledSearchBarContainer",componentId:"sc-4f35cf19-1"})(["padding-left:1.6rem;padding-right:1.6rem;display:flex;justify-content:space-between;align-items:center;gap:1.6rem;height:5.8rem;flex-flow:nowrap;"]),S=s.ZP.div.withConfig({displayName:"SearchProductHeader__StyledIconContainer",componentId:"sc-4f35cf19-2"})(["position:relative;display:flex;align-items:center;gap:10px;max-width:100%;min-height:1px;padding-inline-end:0;"]),b=s.ZP.div.withConfig({displayName:"SearchProductHeader__StyledSearchBarInputText",componentId:"sc-4f35cf19-3"})(["flex:1;"]);t.Z=()=>{let{pathname:e}=(0,a.useRouter)(),{refetch:t,headerRefCallback:r}=v.w.useContainer();return(0,i.jsx)(w,{ref:r,id:f.j.Header,children:(0,i.jsxs)("div",{id:"header-above-nav",children:[(0,i.jsxs)(j,{children:[(0,i.jsx)(d.Qj,{goBack:!0,children:(0,i.jsx)(l.Z,{type:h.d.IcBack,size:m.Z.Size24})}),(0,i.jsx)(b,{children:(0,i.jsx)(u.u7,{onRefetch:t})}),(0,i.jsxs)(S,{style:{paddingRight:"0"},children:[e!==x.ZP.SEARCH&&(0,i.jsx)(d.Qj,{url:y.lI?void 0:x.ZP.INDEX,onClick:()=>{y.lI&&(0,y.ZP)(e=>e.goDeepLink("fitpetmall","/main"))},style:{display:"flex",alignItems:"center"},children:(0,i.jsx)(l.Z,{type:h.d.IcHome,size:m.Z.Size24})}),(0,i.jsxs)(d.Qj,{rel:"nosublink",url:x.ZP.CART,style:{display:"flex",alignItems:"center"},children:[(0,i.jsx)(c.y7,{}),(0,i.jsx)(l.Z,{type:h.d.IcCart,size:m.Z.Size24})]})]})]}),e!==x.ZP.SEARCH&&(0,i.jsx)(C,{}),(0,i.jsx)(p.HN,{}),e!==x.ZP.SEARCH&&(0,i.jsx)(_,{})]})})}},59908:function(e,t,r){r.d(t,{Q:function(){return em}});var i=r(31549),n=r(44194),o=r(85469),a=r(23570),s=r(48541),d=r(33117),l=r(49232),c=r(68581),u=r(25085),p=r(71463),h=r(8550),m=r(48333),g=r(13412),x=r(29105),f=r(27944);let v=[h.s.PRICE_ASC,h.s.BEST_SELLING,h.s.REVIEW_SCORE,h.s.REVIEW_COUNT,h.s.DISCOUNT_RATE,h.s.RECOMMEND,h.s.PRICE_DESC,h.s.NEWEST],y=o.ZP.div.withConfig({displayName:"ProductFilterTopBarForV4__StyledProductFilterTopBarContainer",componentId:"sc-3c60168f-0"})(["padding:0 1.6rem;position:relative;background-color:",";.product-filter-top-bar{&__bread-crumb{margin:0.4rem 0 0.8rem;}&__container{display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-bottom:1.4rem;}&__container-left{display:flex;flex-direction:row;align-items:center;gap:1.2rem;}&__container-right{display:flex;flex-direction:row;align-items:center;gap:0.5rem;}&__select-filter{border:none;background-color:",";font-size:16px;@media ","{font-size:14px;}color:",";direction:rtl;font-weight:normal;text-align:right;cursor:pointer;:focus-visible{outline:none;}appearance:none;-moz-appearance:none;-webkit-appearance:none;}}"],e=>{let{theme:{color:{grayWhite:t}}}=e;return t},e=>{let{theme:{color:{grayWhite:t}}}=e;return t},p.vM.xs,e=>{let{theme:{color:{gray500:t}}}=e;return t});var _=()=>{let{pathname:e,query:{[m.r.OrderBy]:t,[m.r.FilterExcept]:r,[m.r.SearchQuery]:n,keyword:a}}=(0,s.useRouter)(),{appendFilterQuery:p,totalCount:_,isLoading:C}=x.w.useContainer(),{color:w}=(0,o.Fg)();return(0,i.jsxs)(y,{children:[(0,i.jsx)("div",{className:"product-filter-top-bar__bread-crumb",children:(0,i.jsxs)(f.Jd,{as:"h1",variant:f.J1.Body5Regular,color:w.gray200,children:[n||a||""," | 검색 결과 - 핏펫몰"]})}),(0,i.jsxs)("div",{className:"product-filter-top-bar__container",children:[(0,i.jsxs)("div",{className:"product-filter-top-bar__container-left",children:[C?(0,i.jsx)(c.A,{height:"1.8rem",width:"2.4rem"}):(0,i.jsxs)(f.Jd,{variant:f.J1.Body3Regular,color:w.gray500,children:[null==_?void 0:_.toLocaleStr
1ing(),"개"]}),(0,i.jsx)(l.o2,{id:"soldout",checked:r===g.C.SoldOut,onChange:t=>{p(e,{[m.r.FilterExcept]:t.target.checked?g.C.SoldOut:g.C.None})},size:u.g.Sm,children:(0,i.jsx)(f.Jd,{variant:f.J1.Body3Regular,color:w.gray500,children:"품절상품 제외"})})]}),(0,i.jsxs)("div",{className:"product-filter-top-bar__container-right",children:[(0,i.jsx)("select",{className:"product-filter-top-bar__select-filter",value:t||h.s.RECOMMEND.value,onChange:t=>{p(e,{[m.r.OrderBy]:t.target.value})},children:v.map(e=>{let{value:t,text:r}=e;return(0,i.jsx)(f.Jd,{as:"option",value:t,variant:f.J1.Body3Regular,color:w.gray500,children:r},t)})}),(0,i.jsx)(d.sH,{name:"ic_down_gray700_w6",svg:!0})]})]})]})},C=r(28464),w=r(43574),j=r(69659),S=r(66879),b=r(96235),P=r(78093),R=r(70379),k=r(51098),N=r(26364),L=r(85683),E=r(17751);let I=e=>{let{products:t,brands:r,searchKeyword:n,petType:a,searchLocation:s}=e,{color:d}=(0,o.Fg)(),{trackClickSearchResultBrandProduct:l}=(0,N.A)(),c=e=>{l({searchKeyword:n,petType:a,searchLocation:s,brand:r[0],product:e})};return(0,i.jsxs)(B,{className:"brand-products__wrapper",children:[(0,i.jsx)("div",{className:"brand-products__title",children:(0,i.jsxs)(f.Jd,{as:"h2",variant:f.J1.Heading6Bold,color:d.gray900,children:["내가 찾아 본",(0,i.jsx)("br",{}),(0,i.jsxs)("div",{className:"brand-products__keyword-recommendation",children:[(0,i.jsx)(f.Jd,{as:"span",variant:f.J1.Heading6Bold,color:d.blue500,style:{textOverflow:"ellipsis",overflow:"hidden",maxWidth:"18rem",whiteSpace:"nowrap",marginRight:"0.4rem"},children:n}),"관련 추천상품"]})]})}),(0,i.jsx)(R.l$,{children:(0,i.jsx)("section",{className:"brand-products__list",children:null==t?void 0:t.map((e,t)=>{let r=(0,L.w)(e);return(0,i.jsx)("div",{className:"brand-products__item",children:(0,i.jsx)(S.u,{hasCartButton:!0,trackerData:{addLocation:k._.SearchResultBrand,searchKeyword:n,searchLocation:s,listIndex:t,listType:"Brand"},product:r,size:b.eN.lg,onClickProductCard:()=>c(r)})},e.id)})})})]})},B=o.zo.div.withConfig({displayName:"SearchResultBrandProductsList__StyledSearchResultBrandProductsListWrapper",componentId:"sc-2d132010-0"})(["padding-bottom:2.4rem;.brand-products{&__title{padding-left:1.6rem;margin-bottom:0.8rem;}&__keyword-recommendation{display:flex;align-items:center;}&__list{",";display:flex;gap:0.8rem;& > *:first-child{margin-left:16px;}& > *:last-child{padding-right:16px;}}}"],E.Dh);var T=r(32019),Z=r(17282),D=r(17747);let F=o.ZP.div.withConfig({displayName:"SearchResultEmpty__StyledContainer",componentId:"sc-29409f47-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;margin:8rem 0;"]),M=o.ZP.div.withConfig({displayName:"SearchResultEmpty__StyledImage",componentId:"sc-29409f47-1"})(["position:relative;margin-bottom:24px;line-height:0;"]),O=o.ZP.div.withConfig({displayName:"SearchResultEmpty__StyledNoResultText",componentId:"sc-29409f47-2"})(["font-size:16px;font-weight:400;line-height:20px;letter-spacing:-0.02em;color:",";"],e=>{let{theme:{color:{gray500:t}}}=e;return t}),A=o.ZP.div.withConfig({displayName:"SearchResultEmpty__ResetButton",componentId:"sc-29409f47-3"})(["display:flex;flex-direction:row;justify-content:center;align-items:center;gap:4px;margin-top:24px;padding:14px 16px 14px 14px;width:168px;height:48px;background:",";border:","  border-radius:8px;cursor:pointer;"],e=>{let{theme:{color:{grayWhite:t}}}=e;return t},e=>{let{theme:{color:{gray200:t}}}=e;return"1px solid ".concat(t,";")}),H=o.ZP.div.withConfig({displayName:"SearchResultEmpty__StyledText",componentId:"sc-29409f47-4"})(["font-weight:500;font-size:16px;line-height:20px;letter-spacing:-0.02em;color:",";"],e=>{let{theme:{color:{gray900:t}}}=e;return t});var z=()=>{let{query:e,replace:t}=(0,s.useRouter)(),{[m.r.FilterCategory]:r,[m.r.FilterBrand]:n,[m.r.FilterPrice]:o}=e,a=!!(r||n||o);return(0,i.jsxs)(F,{children:[(0,i.jsx)(M,{children:(0,i.jsx)(T.W1,{})}),(0,i.jsx)(O,{children:a?"선택한 필터에 대한 검색 결과가 없습니다.":"검색 결과가 없습니다."}),a&&(0,i.jsxs)(A,{onClick:()=>{let r={...e};null==r||delete r[m.r.OrderBy],null==r||delete r[m.r.FilterExcept],null==r||delete r[m.r.FilterCategory],null==r||delete r[m.r.FilterBrand],null==r||delete r[m.r.FilterPrice],t({pathname:D.ZP.SEARCH_RESULT,query:{...r}})},children:[(0,i.jsx)(T.X5,{color:Z.c.Gray900}),(0,i.jsx)(H,{children:"검색 필터 초기화"})]})]})};let W=e=>{let{recentlyBoughtProducts:t,searchKeyword:r,searchLocation:a,petType:s,onClickProductCardTracker:d}=e,{color:l}=(0,o.Fg)(),{trackClickSearchResultFrequentProduct:c}
1=(0,N.A)(),u=(0,w.n)("recommend-list-for-search-result"),p=e=>{let{productData:t,boughtCount:i}=e;c({productId:t.id,productName:t.name,boughtCount:i,searchKeyword:r,searchLocation:a,petType:s})};return(0,i.jsxs)(J,{className:"recently-bought-products",children:[(0,i.jsx)(f.Jd,{variant:f.J1.Heading6Bold,className:"recently-bought-products__title",children:"최근 구매한 이 상품은 어때요?"}),(0,i.jsx)("div",{className:"recently-bought-products__list",children:t.map(e=>{var t;let{product:o,boughtCount:s}=e,c=(0,L.w)(o),h=u.contain("".concat(o.id.toString(),"::bought-product"));return(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)(S.u,{product:c,size:b.eN.md,cartType:"HORIZONTAL",hasCartButton:!0,label:{value:"".concat(s,"회 구매"),backgroundColor:l.blue500,variant:"Body5 Bold"},onClickProductCard:()=>{p({productData:c,boughtCount:s}),u.push("".concat(o.id.toString(),"::bought-product"))},trackerData:{searchKeyword:r,searchLocation:a,addLocation:k._.SearchResultFrequent,boughtCount:s,brandId:null===(t=c.brand)||void 0===t?void 0:t.id,brandName:c.brand.name,supplyType:c.supplyType}}),h&&(0,i.jsx)(V,{children:(0,i.jsx)(j.t,{name:"recommend-list-for-search-result",justViewedProduct:(0,L.w)(o),onClickProductCardTracker:d,trackerData:{location:"search",addLocation:"search_result"}})})]},c.id)})})]})},J=o.ZP.div.withConfig({displayName:"SearchResultRecentlyBoughtProducts__StyledSearchResultRecentlyBoughtProducts",componentId:"sc-b690f74a-0"})(["display:flex;flex-direction:column;gap:0.8rem;"]),V=o.ZP.div.withConfig({displayName:"SearchResultRecentlyBoughtProducts__StyledJustViewedProductListWrapper",componentId:"sc-b690f74a-1"})(["margin-top:2.4rem;"]);var q=r(54014);let G=e=>{let{searchKeyword:t,searchLocation:r,petType:o,recentlyBoughtProducts:a,onClickProductCardTracker:s,searchBrandProducts:d}=e,{isLoading:l,ref:c,isSuccess:u,searchProducts:p,isFetchingNextPage:h,isEmpty:m}=x.w.useContainer(),g=(0,w.n)("recommend-list-for-search-result"),f=e=>{let{item:t,index:r}=e;s({item:t,index:r})},v=(0,n.useMemo)(()=>(p?p.pages.map(e=>e.products||[]):[]).flatMap(e=>e).reduce((e,t,r,i)=>r%2==0?[...e,i.slice(r,r+2)]:e,[]),[p]);return(0,i.jsxs)(Q,{className:"search-result-product-list",children:[m&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(z,{}),a.length>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("hr",{className:"search-result-product-list__empty-divider"}),(0,i.jsx)("div",{className:"search-result-product-list__empty-wrapper-recently-bought-products",children:(0,i.jsx)(W,{searchLocation:r,searchKeyword:t,recentlyBoughtProducts:a,petType:o})})]})]}),u&&v.length>0&&(0,i.jsx)("div",{children:v.map((e,l)=>{let u=g.front(),p=e.some(e=>g.contain("".concat(l,"::").concat(e.id))),h=e.find(e=>{var t;return null==u?void 0:null===(t=u.condition)||void 0===t?void 0:t.includes(e.id.toString())}),m=0===l&&a.length>0,x=0===l&&(null==d?void 0:d.products)&&(null==d?void 0:d.products.length)>0;return(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)(K,{children:null==e?void 0:e.map((e,o)=>{if(!e)return null;let a=(0,L.w)(e);return(0,i.jsx)(n.Fragment,{children:(0,i.jsx)("div",{className:"search-result-product-list__card",ref:c,children:(0,i.jsx)(S.u,{product:a,size:b.eN.half,rankingNumber:o,hasCartButton:!0,onClickProductCard:()=>{f({item:a,index:o}),g.push("".concat(l.toString(),"::").concat(a.id))},trackerData:{searchKeyword:t,searchLocation:r,addLocation:k._.SearchResult,listIndex:o}})})},a.id)})}),p&&h&&(0,i.jsx)(Y,{children:(0,i.jsx)(j.t,{name:"recommend-list-for-search-result",justViewedProduct:(0,L.w)(h),onClickProductCardTracker:s,trackerData:{location:"search",addLocation:"search_result"}})}),x&&(0,i.jsx)("div",{className:"search-result-product-list__brand-products",children:(0,i.jsx)(I,{products:(null==d?void 0:d.products)||[],brands:(null==d?void 0:d.brands)||[],searchKeyword:t,petType:o,searchLocation:r})}),x&&m&&(0,i.jsx)("hr",{className:"search-result-product-list__empty-divider search-result-product-list__empty-divider--brand-products"}),m&&(0,i.jsx)("div",{className:"search-result-product-list__recently-bought-products",children:(0,i.jsx)(W,{searchLocation:r,searchKeyword:t,recentlyBoughtProducts:a,petType:o,onClickProductCardTracker:s})})]},l)})}),h||l&&(0,i.jsx)(U,{children:(0,i.jsx)(P.Z,{length:6,size:q.v.Fill})})]})},Q=o.ZP.section.withConfig({displayName:"SearchResultProductList__StyledSearchResultProductList",componentId:"sc-14fff87e-0"})([".search-result-product-list{&__empty-divider{margin:0 -1.6rem 0;border:none;width:calc(100% + 3.2rem);height:0.8rem;background-color:",";}&__empty-divider--brand-products{margin:0;width:100%;margin-bottom:1.6rem;}&__empty-wrapper-recently-bought-products{padding:2.4rem 0 calc(env(safe-area-inset-bottom) + 2.4rem);}&__card{margin-bottom:2.4rem;}&__recently-bought-products{margin-bottom:2.4rem;& >
1 div:first-child{& > *:first-child,& > *:nth-child(2) > div > div > *:first-child{padding-left:1.6rem;}& > *:nth-child(2) > div > div > *:last-child{padding-right:1.6rem;}}}}"],e=>{let{theme:{color:{gray70:t}}}=e;return t}),K=o.ZP.div.withConfig({displayName:"SearchResultProductList__StyledSearchResultProductListContainer",componentId:"sc-14fff87e-1"})(["display:grid;grid-template-columns:1fr 1fr;grid-column-gap:8px;padding:0 1.6rem;"]),U=o.ZP.div.withConfig({displayName:"SearchResultProductList__StyledSkeleton",componentId:"sc-14fff87e-2"})(["display:grid;grid-template-columns:1fr 1fr;grid-column-gap:8px;& > div{&:nth-child(1),&:nth-child(2){margin-top:0;}}"]),Y=o.ZP.div.withConfig({displayName:"SearchResultProductList__StyledJustViewedProductListWrapper",componentId:"sc-14fff87e-3"})(["padding:2.4rem 0;"]);var X=r(429),$=r(86474),ee=r(87931),et=r(36066),er=r(44535),ei=r(50214),en=r(34321),eo=r(56541),ea=r(61334),es=r(28791);let ed=e=>{let{size:t,page:r,sortBy:i,sortDirection:n,keyword:o,petType:a,minPrice:s,maxPrice:d,brandIds:l,categoryIds:c,includeSoldOut:u=!1}=e,p=(0,en.I0)(),{data:h,isLoading:m}=(0,eo.ZfV)({size:t,page:r,sortBy:i,sortDirection:n,keyword:o,petType:a,includeSoldOut:u,minPrice:s,maxPrice:d,brandIds:l,categoryIds:c,filterByHomeBrand:!0,sortSoldOutToLast:!0},{query:{onError:e=>{if(e instanceof ei.d7){var h;let m=null===(h=e.response)||void 0===h?void 0:h.data.errors,g=es.u.getError(e);er.Tb("검색 결과 브랜드 리스트 서버 에러",{extra:{size:t,page:r,sortBy:i,sortDirection:n,keyword:o,petType:a,includeSoldOut:u,minPrice:s,maxPrice:d,brandIds:l,categoryIds:c,filterByHomeBrand:!0,sortSoldOutToLast:!0,responseData:m},tags:{errorMessage:g.message}}),p((0,ea.wd)({content:"".concat(g.message,"\n오류가 지속된다면 고객센터에 문의해 주세요"),duration:5}))}else{let a=es.u.getError(e);er.Tb("검색 결과 브랜드 리스트 네트워크 에러",{extra:{size:t,page:r,sortBy:i,sortDirection:n,keyword:o},tags:{errorMessage:a.message}}),p((0,ea.wd)({content:"".concat(a.message,"\n오류가 지속된다면 고객센터에 문의해 주세요"),duration:5}))}},select:e=>{var t;let r=null==e?void 0:null===(t=e.products)||void 0===t?void 0:t.filter(e=>!e.isSuspend);return{...e,products:r}}}});return{data:h,isLoading:m}};var el=r(90876),ec=r(41921);let eu=e=>{let{page:t=1,size:r=1,keyword:i="사료"}=e,{me:n}=ec.c.useContainer(),{data:o,fetchNextPage:a,isLoading:s}=(0,el.N)((0,eo.QvV)({page:t,size:r,keyword:i}),e=>{let{pageParam:n=t}=e;return(0,eo.gDk)({page:n,size:r,keyword:i})},{getNextPageParam:e=>{if(e.page.hasNextPage)return e.page.page+1},enabled:!!n});return{data:(null==o?void 0:o.pages.map(e=>e.data).flat())||[],fetchNextPage:a,isRecentlyBoughtProductsLoading:s}};var ep=r(41603),eh=r(59408);let em=()=>{let{isShowSearchedKeywords:e}=(0,C.Z)(),{trackViewSearchResultEvent:t,trackClickSearchListProductEvent:r,trackViewSearchResultFrequentProduct:o,trackViewSearchResultBrandProduct:s}=(0,N.A)(),{asPath:d}=(0,ee.cD)(),{query:l,queryParams:c}=(0,et.C)(),{petTypeQueryParam:u,searchKeywordQueryParam:p,searchLocation:m,sortBy:f,except:v,filterCategory:y,filterBrand:w,filterPrice:j,petTypePathParam:S,searchKeywordPathParam:b}=l,{totalCount:P,soldOutCount:R,getCategoryNameById:E,getBrandNameById:I,isLoading:B}=x.w.useContainer(),{data:T,isLoading:Z}=ed({...c,size:X.p.SEARCH_BRAND,page:X.p.DEFAULT_PAGE,sortBy:a.Hf.SALES_SCORE,sortDirection:a.cL.DESC}),D=String(p||b||""),F=eh.f.urlParamToPetType(u||S),M=F===ep.MY.All||F===ep.MY.Cat,O=F===ep.MY.All||F===ep.MY.Dog,{data:A,isRecentlyBoughtProductsLoading:H}=eu({page:1,size:1,keyword:D}),z=e=>{var t;let{item:i,index:n,properties:o={}}=e;r({isPetTypeSearchCat:M,isPetTypeSearchDog:O,searchPetType:F,searchKeyword:D,searchListIndex:n,searchResultCount:P,...m?{searchLocation:m}:{},productId:i.id,productName:i.name,productPrice:i.price,productDiscountRate:i.discountRate||0,productPurchasePrice:i.salePrice,productReviewAvgScore:i.reviewScore,productReviewTotalCount:i.reviewCount,is_shownprice_coupondiscounted:i.hasApplicableProductCoupon,productIsInStock:!i.isRealSoldOut,cum_sales_skuquantity:i.salesQuantity,max_mileage:i.expectedMileage,brandId:null===(t=i.brand)||void 0===t?void 0:t.id,brandName:i.brand.name,supplyType:i.supplyType,location:"search",addLocation:"search_result",...o})},W=e=>{let r={[h.s.RECOMMEND.value]:$.v.Recommend,[h.s.BEST_SELLING.value]:$.v.Popular,[h.s.NEWEST.value]:$.v.Recent,[h.s.PRICE_ASC.value]:$.v.
1LowPrice,[h.s.PRICE_DESC.value]:$.v.HighPrice,[h.s.DISCOUNT_RATE.value]:$.v.Discount,[h.s.REVIEW_COUNT.value]:$.v.Review,[h.s.REVIEW_SCORE.value]:$.v.ReviewScore};t({searchKeyword:D,petTypeSearch:F,searchResultCount:P,searchOutofstockCount:R,excludeOutofstock:v===g.C.SoldOut,searchLocation:m,isDirectResult:e,sortBy:r[f]||$.v.Recommend,filterCategory:E(y),filterBrand:I(w),filterPriceMin:j?Number(j.split("~")[0]):null,filterPriceMax:j?Number(j.split("~")[1]):null})};return((0,n.useEffect)(()=>{B||H||H||!((null==A?void 0:A.length)>0)||o({searchKeyword:D,petType:F,boughtCount:A[0].boughtCount,product:(0,L.o)(A[0].product),searchLocation:k.p.SearchResultFrequent})},[d,B,H]),(0,n.useEffect)(()=>{var e,t;!B&&(W("submit"===m),!Z&&!Z&&(null==T?void 0:T.products)&&(null==T?void 0:null===(e=T.products)||void 0===e?void 0:e.length)>0&&s({searchKeyword:D,petType:F,searchLocation:k.p.SearchResultFrequent,brand:null==T?void 0:null===(t=T.brands)||void 0===t?void 0:t[0]}))},[d,B,Z]),D)?(0,i.jsxs)(ex,{hasKeywords:e,children:[(0,i.jsx)(_,{}),(0,i.jsx)(G,{searchKeyword:D,searchLocation:m,searchBrandProducts:T,petType:F,recentlyBoughtProducts:A,onClickProductCardTracker:e=>{let{item:t,index:r,properties:i}=e;return z({item:t,index:r,properties:i})}})]}):null},eg=(0,o.F4)(["from{opacity:0;}to{opacity:1;}"]),ex=o.ZP.div.withConfig({displayName:"SearchResultBody__StyledSearchResultBodyContainer",componentId:"sc-627c32e0-0"})(["display:",";animation:"," 0.5s ease-in-out;"],e=>{let{hasKeywords:t}=e;return t?"none":"block"},eg)},6199:function(e,t,r){var i=r(31549);t.Z=e=>{let{onClick:t}=e;return(0,i.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:t,children:[(0,i.jsx)("path",{d:"M15 15L10 10L15 5",stroke:"#8C949C",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M5 15L10 10L5 5",stroke:"#8C949C",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}},59274:function(e,t,r){var i=r(31549);t.Z=e=>{let{color:t}=e;return(0,i.jsxs)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M14 8.20001C14 11.5137 11.3137 14.2 8 14.2C4.68629 14.2 2 11.5137 2 8.20001C2 4.8863 4.68629 2.20001 8 2.20001C9.61022 2.20001 11.0723 2.83431 12.15 3.86668",stroke:t,strokeWidth:"2",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M13 2.20001V5.20001H11.5H10",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}},32019:function(e,t,r){r.d(t,{KL:function(){return n},X5:function(){return o.Z},W1:function(){return a}}),r(6199);var i=r(31549),n=e=>{let{active:t}=e;return(0,i.jsx)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M5 5L5.35355 5.35355C5.15829 5.54882 4.84171 5.54882 4.64645 5.35355L5 5ZM8.64645 0.646447C8.84171 0.451185 9.15829 0.451185 9.35355 0.646447C9.54882 0.841709 9.54882 1.15829 9.35355 1.35355L8.64645 0.646447ZM0.646447 1.35355C0.451184 1.15829 0.451184 0.841709 0.646447 0.646447C0.841709 0.451185 1.15829 0.451185 1.35355 0.646447L0.646447 1.35355ZM4.64645 4.64645L8.64645 0.646447L9.35355 1.35355L5.35355 5.35355L4.64645 4.64645ZM1.35355 0.646447L5.35355 4.64645L4.64645 5.35355L0.646447 1.35355L1.35355 0.646447Z",fill:t?"#42494F":"#8C949C"})})},o=r(59274),a=()=>(0,i.jsxs)("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("circle",{cx:"29.5",cy:"28",r:"25",stroke:"#DFE3E8",strokeWidth:"6",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("rect",{x:"47.5",y:"43",width:"24",height:"6",rx:"3",transform:"rotate(45 47.5 43)",fill:"#DFE3E8"})]})},7242:function(e,t,r){r.d(t,{y:function(){return i}});let i=e=>{switch(e){case"ALL":default:return{petType:"강아지/고양이",petOwner:"주인님/집사님"};case"CAT":return{petType:"고양이",petOwner:"집사님"};case"DOG":return{petType:"강아지",petOwner:"주인님"}}}}}]);
2//# sourceMappingURL=7414-38b099af2574210b.js.map

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.