1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5310],{70505:function(t,e,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/goods/list/search/[uuid]",function(){return o(85037)}])},85037:function(t,e,o){"use strict";o.r(e);var i=o(35944);o(92261);var r=o(29323),n=o(67294),c=o(91055),a=o(27527),l=o(35301),d=o(61411),s=o(95287);o(69831),o(56735),o(17771);var u=o(70100),h=o(53247),Z=o(35803),g=o(11163),f=o(68949),m=o(18357),p=o(10761),v=o(34960),y=o(13453),_=o(2246),w=o(96840),P=o(68930),x=o(68364),I=o(2962),S=o(66917),k=o(9793),C=o(29575);let GoodsSearchList=()=>{let t=(0,g.useRouter)();(0,p.oR)();let e=t.query.uuid,o=t.query.keyword,r="QUERY"==String(e)?o:e;return(0,i.BX)(d.Z,{children:[(0,i.tZ)(I.PB,{title:"".concat(r," - ì¨ë리ì¤í ì´ ê²ìê²°ê³¼"),description:"ì¨ë리ì¤í ì´ìì ".concat(r," ìí리ì¤í¸, ë¸ëëì ë¤ìí ì´ë²¤í¸ë¤ì íì¸í´ë³´ì¸ì.")}),(0,i.tZ)(i.HY,{children:(0,i.tZ)(k.Z,{type:"list_search",searchKeyword:r,children:(0,i.tZ)(v.Z,{title:r+" ê²ìê²°ê³¼",defaultHeader:!0,noSearchIcon:!0,titleContent:(0,i.tZ)(d.Z,{mx:-28,children:(0,i.tZ)(Z.Z,{enterKeyHint:"search",autoCompleteOff:!0,fullWidth:!0,searchIcon:!0,value:r,onClick:()=>{(0,f.z)(()=>{t.push({pathname:"/search",query:{keyword:r}})})}})}),onClickBackButton:()=>t.replace("/"),children:(0,i.tZ)(h.Z,{children:(0,i.tZ)(L,{searchKeyword:r})})})})})]})};GoodsSearchList.getLayout=t=>(0,i.tZ)(l.Z,{noBottomNav:!0,noTopHeaderForMobile:!0,noFooter:!0,children:(0,i.tZ)(w.CH,{children:t})}),e.default=(0,r.Pi)(GoodsSearchList);let L=(0,r.Pi)(t=>{var e,o,r,l;let{searchKeyword:h}=t;(0,g.useRouter)();let Z=(0,w.DO)(),{getGaContextInfo:p}=(0,k._)(),[v,I]=(0,m.YD)();return(0,n.useEffect)(()=>{Z.initFilter(),Z.fetchSearchKeywordCategories(h)},[h]),(0,n.useEffect)(()=>{Z.searchRouteGoods&&Z.goodsRouteBack?(0,f.z)(()=>{Z.searchRouteGoods=!1,Z.goodsRouteBack=!1}):(async()=>{var t;let e=await Z.fetchProductItemDataList({categoryUuid:void 0,searchKeyword:(null==h?void 0:h.toString())||""});(0,S.h9)({event:"view_item_list",ecommerce:{...p(),items:null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.map(t=>({...C._E.getProductGAInfo(t)}))}})})()},[h,Z.searchCategoryUuid,Z.filterPriceIndex,Z.filterBenefitTypeList,Z.filterRatingIndex,Z.filterSortTypeIndex]),(0,n.useEffect)(()=>{!I||Z.isLoading||Z.isInitLoading||Z.fetchProductItemDataList({categoryUuid:void 0,searchKeyword:(null==h?void 0:h.toString())||"",isContinuousData:!0})},[I]),(0,i.tZ)(d.Z,{pb:40,children:(0,i.BX)(d.Z,{display:"flex",children:[(0,i.BX)(d.Z,{flex:1,children:[(0,i.tZ)(y.Z,{pt:20,mb:-20,children:(0,i.tZ)(_.z,{store:Z})}),Z.isInitLoading?(0,i.tZ)(d.Z,{children:(0,i.tZ)(s.ZP,{container:!0,rowSpacing:{lg:60,xs:24},columnSpacing:{lg:20,xs:8},children:null===(e=Array(12).fill(0))||void 0===e?void 0:e.map((t,e)=>(0,i.tZ)(s.ZP,{item:!0,xs:6,lg:4,children:(0,i.tZ)(u.G,{isLoading:!0})},e))})}):0==Z.totalProductItemData.length?(0,i.tZ)(c.Z,{center:!0,py:{xs:80,lg:140},children:(0,i.tZ)(a.Z,{color:"#999999",children:"ê²ìê²°ê³¼ê° ììµëë¤."})}):(null===(o=Z.productItemData)||void 0===o?void 0:o.cursor)!=void 0&&(0,i.tZ)(s.ZP,{container:!0,rowSpacing:{lg:60,xs:24},columnSpacing:{lg:20,xs:8},children:null===(r=Z.totalProductItemData)||void 0===r?void 0:r.map(t=>(0,i.tZ)(s.ZP,{item:!0,xs:6,lg:4,children:(0,i.tZ)(x.Z,{tag:"goods_list_search_".concat(h,"_").concat(t.id),children:(0,i.tZ)(d.Z,{onClick:()=>(0,f.z)(()=>Z.searchRouteGoods=!0),children:(0,i.tZ)(u.G,{data:t})})})},t.uuid))}),(Z.isLoading||Z.totalDataCount>(null===(l=Z.totalProductItemData)||void 0===l?void 0:l.length))&&(0,i.BX)(d.Z,{mt:{lg:60,xs:24},children:[(0,i.tZ)(d.Z,{ref:v,mt:-100,position:"absolute"}),(0,i.tZ)(P.c,{items:4})]})]}),(0,i.tZ)(d.Z,{height:{lg:"20rem",xs:"4rem"}})]})})})}},function(t){t.O(0,[9323,4159,625,1740,4565,559,5675,5287,2667,9288,4306,9890,8680,9950,9718,792,581,5301,7630,100,9505,9774,2888,179],function(){return t(t.s=70505)}),_N_E=t.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.