PageSourceSearch

https://yarafarmcare.com/_next/static/chunks/pages/search-f7dd06bdda50d8a9.js

js yarafarmcare.com collected 2026-09-24 14:03:12 UTC 33,767 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9603],{8266:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return s(27629)}])},9781:function(e,t,s){"use strict";s.d(t,{D:function(){return d}});var r=s(74093),i=s(15164),a=s(50712),l=s(26463),o=s(41609),n=s.n(o),C=s(76607),c=s(15958),h=s(39085);let d=e=>{var t;let s=(0,a._K)(),{eventTrack:o}=(0,i.SR)(),{data:d,error:u,isLoading:m,isValidating:p,setSize:x,size:_}=(0,C.ZP)((t,s)=>s&&n()(s)||!e.keyword||e.keyword.length<3||!e.farmerLocation.lat&&!e.farmerLocation.long?null:{...e,offset:t*(e.offset||r.E2),limit:e.limit||r.Jb,keyword:e.keyword},async e=>{var t,r;return c.c.continueSessionByModuleName(h.sZ.B2C_ORDERING_BODEGA_WEB,{name:h.vB.B2C_ORDERING_BODEGA_WEB.FETCH_SHOPS,timestamp:Date.now(),metadata:{farmerLocation:{lat:Number(null==e?void 0:null===(t=e.farmerLocation)||void 0===t?void 0:t.lat),long:Number(null==e?void 0:null===(r=e.farmerLocation)||void 0===r?void 0:r.long)},keyword:null==e?void 0:e.keyword,limit:null==e?void 0:e.limit,offset:null==e?void 0:e.offset}},h.VY.BODEGA_WEBVIEW),s.searchStores(e)},{onError:e=>{o(l._.errorBodega,e)}}),L=(null==d?void 0:null===(t=d[_-1])||void 0===t?void 0:t.length)===((null==e?void 0:e.limit)||r.Jb),f=d?[].concat(...d):[],j=m||_>0&&d&&void 0===d[_-1];return{shops:f,shopsError:u,shopsSize:_,setShopsSize:x,isShopsLoading:m,isShopsValidating:p,hasMoreShops:L,isDataForNextShopsPageLoading:j}}},87006:function(e,t,s){"use strict";s.d(t,{p:function(){return i}});var r,i,a=s(85893),l=s(60031),o=s(32802),n=s(15164),C=s(41241),c=s(55409),h=s(26463),d=s(11163),u=s(67294);(r=i||(i={})).shop="shops",r.product="products",r.account="account",r.home="home";let m={shops:h._.a_Farmers_Catalogue_shops,home:h._.a_Farmers_Catalogue_bodega,products:h._.a_Farmers_Catalogue_products,account:h._.a_Farmers_Catalogue_My_Profile};t.Z=e=>{let{items:t,value:s,customClass:r}=e,{eventTrack:i}=(0,u.useContext)(n.MN),h=(0,d.useRouter)(),p=(e,t)=>s=>{s.preventDefault(),i(m[t]),h.push(e)},{cartItems:x}=(0,c.CG)(C.jD);return(0,a.jsx)(l.Z,{showLabels:!0,value:s,className:"custom-bottom-navigation",children:t.map((e,t)=>{let{id:i,label:l,route:n,icon:C}=e;return(0,a.jsx)(o.Z,{classes:{root:r},label:l,onClick:p(n,i),icon:C(s===t,null==x?void 0:x.length)},i)})})}},83728:function(e,t,s){"use strict";s.d(t,{Z:function(){return a}});var r=s(67294),i=s(15561);function a(e){let[t,s]=(0,r.useState)(e||"");return{onChange:e=>s(e.target.value),debouncedSearch:(0,i.Z)(t,300),searchText:t,setSearchText:s}}},60121:function(e,t,s){"use strict";s.d(t,{M:function(){return a}});var r=s(55409),i=s(34736);let a=()=>{let e=(0,r.CG)(i.vv),{IS_HIDE_PRICE:t=!1}=null!=e?e:{};return t}},27629:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return X},default:function(){return Q}});var r=s(85893),i=s(67294),a=s(1286),l=function(e){return(0,r.jsx)("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M5.05697 4.33333V14H12.3903V4.33333M5.05697 4.33333H3.72363M5.05697 4.33333H12.3903M12.3903 4.33333H13.7236M7.05697 2H10.3903M7.3903 7.46667V11.2M10.057 7.46667V11.2",stroke:"#0066CC","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})})},o=s(21563).Z,n=s(64763),C=s.n(n),c=s(54162),h=s(94184),d=s.n(h),u=s(41609),m=s.n(u),p=s(25617),x=s(44147),_=s(55409),L=s(3679),f=s(40162).Z,j=s(4067),k=s(11163),v=s(15164),g=s(26463),w=s(47481),M=s(35852),Z=s(49324),y=s(38855),E=s(14295),S=function(e){return(0,r.jsxs)("svg",{width:"159",height:"143",viewBox:"0 0 159 143",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("mask",{id:"mask0_2103_15556",maskUnits:"userSpaceOnUse",x:"0",y:"70",width:"55",height:"54",children:(0,r.jsx)("path",{d:"M0.0948257 123.474H54.6948L54.6948 70.5539H0.0948257L0.0948257 123.474Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask0_2103_15556)",children:[(0,r.jsx)("path",{d:"M44.7948 94.2439C42.0348 102.494 41.4648 111.284 40.9248 119.964",stroke:"#F1C033","stroke-width":"2","stroke-miterlimit":"10"}),(0,r.jsx)("mask",{id:"mask1_2103_15556",maskUnits:"userSpaceOnUse",x:"2",y:"73",width:"41",height:"57",children:(0,r.jsx)("path",{d:"M41.8846 129.394C42.8446 123.834 43.5647 98.634 29.5847 79.144C28.1847 77.184 26.4846 75.454 24.6946 73.834L23.8146 82.784L15.1146 80.104L16.9846 88.454L10.7246 84.474L2.26465 98.094L12.4846 104.884C19.4246 109.484 24.6546 116.344 26.8946 124.354C27.0047 124.734 27.1046 125.124 27.1946 125.504L41.8746 129.384L41.8846 129.394Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask1_2103_15556)",children:[(0,r.jsx)("path",{d:"M44.8447 131.184C46.9947 127.014 43.5647 98.634 29.5847 79.144C28.1847 77.184 26.4846 75.454 24.6946 73.834L23.8146 82.784L15.1146 80.104L16.9846 88.454L10.7246 84.474L2.26465 98.094L13.9446 105.914C20.0046 109.974 24.5446 116.034 26.3746 123.094C26.4746 123.474 26.5646 123.854 26.6446 124.234L26.8347 125.094L44.8447 131.184Z",fill:"#FEE595"}),(0,r.jsx)("path",{d:"M17.5947 76.064C25.2147 81.424 30.9147 89.274 34.3947 97.924C37.8747 106.564 39.5847 117.294 38.6047 126.834",stroke:"#F1C033","stroke-width":"2","stroke-miterlimit":"10"}),(0,r.jsx)("path",{d:"M9.34473 82.1941C17.7547 86.1941 24.6947 92.9741 29.5747 100.914",stroke:"#F1C033","stroke-width":"2","stroke-miterlimit":"10"})]}),(0,r.jsx)("path",{d:"M26.1848 124.804C26.1848 124.804 20.6448 111.264 1.71484 109.884",stroke:"#F1C033","stroke-width":"2","stroke-miterlimit":"10"})]}),(0,r.jsx)("path",{d:"M132.533 138.403C134.08 136.811 134.589 134.797 133.67 133.904C132.751 133.011 130.752 133.578 129.205 135.17C127.658 136.762 127.148 138.777 128.067 139.67C128.986 140.563 130.985 139.996 132.533 138.403Z",fill:"#A67354"}),(0,r.jsx)("mask",{id:"mask2_2103_15556",maskUnits:"userSpaceOnUse",x:"127",y:"133",width:"8",he
1ight:"8",children:(0,r.jsx)("path",{d:"M132.533 138.403C134.08 136.811 134.589 134.797 133.67 133.904C132.751 133.011 130.752 133.578 129.205 135.17C127.658 136.762 127.148 138.777 128.067 139.67C128.986 140.563 130.985 139.996 132.533 138.403Z",fill:"white"})}),(0,r.jsx)("g",{mask:"url(#mask2_2103_15556)",children:(0,r.jsx)("path",{d:"M127.465 139.654C129.895 137.944 131.985 135.754 133.575 133.244",stroke:"#5D381D","stroke-width":"2","stroke-miterlimit":"10"})}),(0,r.jsx)("path",{d:"M138.25 140.723C140.774 139.762 142.372 137.804 141.818 136.348C141.264 134.892 138.769 134.491 136.245 135.451C133.721 136.412 132.123 138.37 132.677 139.826C133.231 141.282 135.726 141.683 138.25 140.723Z",fill:"#FEE595"}),(0,r.jsx)("mask",{id:"mask3_2103_15556",maskUnits:"userSpaceOnUse",x:"132",y:"134",width:"10",height:"8",children:(0,r.jsx)("path",{d:"M138.25 140.723C140.774 139.762 142.372 137.804 141.818 136.348C141.264 134.892 138.769 134.491 136.245 135.451C133.721 136.412 132.123 138.37 132.677 139.826C133.231 141.282 135.726 141.683 138.25 140.723Z",fill:"white"})}),(0,r.jsx)("g",{mask:"url(#mask3_2103_15556)",children:(0,r.jsx)("path",{d:"M132.025 139.514C135.575 138.874 138.995 137.534 142.045 135.594",stroke:"#F1C033","stroke-width":"2","stroke-miterlimit":"10"})}),(0,r.jsx)("path",{d:"M149.729 130.288C150.03 129.185 148.725 127.867 146.813 127.343C144.9 126.82 143.105 127.289 142.803 128.392C142.502 129.495 143.807 130.813 145.719 131.336C147.632 131.86 149.427 131.39 149.729 130.288Z",fill:"#FEE595"}),(0,r.jsx)("mask",{id:"mask4_2103_15556",maskUnits:"userSpaceOnUse",x:"142",y:"127",width:"8",height:"5",children:(0,r.jsx)("path",{d:"M149.729 130.288C150.03 129.185 148.725 127.867 146.813 127.343C144.9 126.82 143.105 127.289 142.803 128.392C142.502 129.495 143.807 130.813 145.719 131.336C147.632 131.86 149.427 131.39 149.729 130.288Z",fill:"white"})}),(0,r.jsx)("g",{mask:"url(#mask4_2103_15556)",children:(0,r.jsx)("path",{d:"M149.975 130.774C147.595 129.614 144.985 128.924 142.345 128.764",stroke:"#F1C033","stroke-width":"2","stroke-miterlimit":"10"})}),(0,r.jsx)("path",{d:"M131.225 62.3639C129.985 56.8739 129.755 51.1539 130.535 45.5739C131.135 41.2639 132.715 36.5739 136.585 34.5939C139.375 33.1639 142.995 33.5939 145.375 35.6239C147.755 37.6539 148.755 41.1639 147.785 44.1439C146.825 47.1239 143.955 49.3839 140.835 49.6339C142.125 52.1339 141.485 55.4739 139.615 57.5739C137.745 59.6739 133.755 61.1639 131.215 62.3739L131.225 62.3639Z",fill:"#7FAC15"}),(0,r.jsx)("path",{d:"M140.525 41.084C140.525 41.084 129.075 56.944 126.225 90.594",stroke:"#2D5200","stroke-width":"2","stroke-miterlimit":"10"}),(0,r.jsx)("path",{d:"M136.795 62.3238C138.965 61.4338 140.985 61.5638 142.685 63.1738C144.365 61.0538 146.345 58.9938 148.925 58.1638C151.505 57.3338 154.775 58.1238 155.995 60.5538C156.705 61.9638 156.605 63.6838 155.995 65.1338C155.385 66.5838 154.315 67.8038 153.125 68.8338C149.985 71.5738 145.545 73.1638 141.385 73.3238C137.235 73.4838 130.265 72.8038 130.265 72.8038C130.265 72.8038 132.555 64.0638 136.795 62.3238Z",fill:"#467500"}),(0,r.jsx)("path",{d:"M146.075 66.364C142.185 66.924 137.895 67.924 134.515 69.704C131.305 71.494 129.675 74.064 128.295 79.134",stroke:"#2D5200","stroke-width":"2","stroke-miterlimit":"10"}),(0,r.jsx)("path",{d:"M106.335 110.524C130.745 117.444 158.905 110.524 158.905 110.524C158.905 110.524 159.075 100.724 149.275 98.354C149.275 98.354 149.615 86.054 137.445 84.684C137.445 84.684 134.265 69.794 118.365 71.824C102.465 73.854 106.345 110.534 106.345 110.534L106.335 110.524Z",fill:"#C9D888"}),(0,r.jsx)("path",{d:"M158.465 95.864L150.835 103.834C150.835 103.834 159.925 106.074 158.465 95.864Z",fill:"#467500"}),(0,r.jsx)("path",{d:"M149.255 98.3838C145.875 98.5338 142.695 100.924 141.615 104.134",stroke:"#7FAC15","stroke-width":"2","stroke-miterlimit":"10"}),(0,r.jsx)("path",{d:"M29.3649 141.824L19.3249 127.564C19.3249 127.564 14.0549 139.734 29.3649 141.824Z",fill:"#C9D888"}),(0,r.jsx)("path",{d:"M44.1748 14.6139C45.5048 8.63391 56.6748 0.993906 66.2848 0.163906C81.5848 -1.16609 87.2348 6.02391 91.2248 6.39391C95.2148 6.76391 108.845 2.47391 114.665 20.7839",fill:"#A67354"}),(0,r.jsx)("path",{d:"M46.6447 15.7639L53.2547 14.2839C57.3947 13.3539 61.6747 13.0839 65.9147 13.4739C72.2647 14.0639 82.3247 15.1039 91.9047 16.5639C100.195 17.8339 107.825 19.2139 113.115 20.2239C117.425 21.0439 120.535 24.5039 120.595 28.5439C120.795 41.1139 121.205 67.6539 121.335 79.8739C121.455 91.7539 121.355 113.224 121.295 124.034C121.275 127.994 118.325 131.414 114.135 132.364C109.365 133.444 102.125 134.964 92.2347 136.724C82.1247 138.524 72.5447 139.674 66.8747 140.334C61.2047 140.994 55.3047 139.054 50.3347 136.334L43.7747 132.824C41.0147 131.314 39.2947 128.614 39.1947 125.674C38.8447 114.874 38.5747 88.2139 38.5747 71.2239C38.5747 55.5939 39.1547 34.4539 39.4747 23.8939C39.5947 20.0039 42.5247 16.6839 46.6447 15.7539V15.7639Z",fill:"#CCE5FF"}),(0,r.jsx)("path",{d:"M105.425 69.1639C105.445 69.9639 104.855 70.6439 104.105 70.6739L77.8347 71.5439C77.0847 71.5639 76.4547 70.8239 76.4447 69.8939L75.7647 37.3839C75.7447 3
16.4639 76.3347 35.7939 77.0747 35.8939L103.155 39.3739C103.895 39.4739 104.525 40.2039 104.555 41.0039L105.425 69.1639Z",fill:"white"}),(0,r.jsx)("path",{d:"M105.425 69.1639C105.445 69.9639 104.855 70.6439 104.105 70.6739L77.8347 71.5439C77.0847 71.5639 76.4547 70.8239 76.4447 69.8939L75.7647 37.3839C75.7447 36.4639 76.3347 35.7939 77.0747 35.8939L103.155 39.3739C103.895 39.4739 104.525 40.2039 104.555 41.0039L105.425 69.1639Z",fill:"#00205C"}),(0,r.jsx)("path",{d:"M94.3348 65.624C94.9848 65.334 95.2948 64.804 95.2748 63.954C95.2748 63.904 95.2748 63.864 95.2748 63.814C95.1848 62.704 94.3948 62.154 93.4648 62.144L90.9448 62.114L91.0948 67.894L92.2848 67.874L92.2348 65.804H93.0848L94.0548 67.844L95.3948 67.824L94.3548 65.634L94.3348 65.624ZM93.3448 64.824H92.1848L92.1448 63.134H93.3048C93.7548 63.134 94.0448 63.384 94.0548 63.974C94.0748 64.544 93.8248 64.824 93.3448 64.824Z",fill:"white"}),(0,r.jsx)("path",{d:"M84.6348 62.0339L83.2848 62.0139L82.5148 64.6439L81.5348 62.6739C81.3448 62.2939 80.9048 61.9839 80.5548 61.9839H79.8848L82.0248 66.3539L81.5248 68.0639H82.2248C82.5848 68.0439 82.9648 67.7139 83.0848 67.3139L84.6248 62.0539L84.6348 62.0339Z",fill:"white"}),(0,r.jsx)("path",{d:"M88.2849 65.3839H86.5849L87.2449 63.1739C87.3149 62.9439 87.4349 62.9439 87.5149 63.1739L88.2749 65.3839H88.2849ZM88.6249 66.3639L89.1749 67.9239L90.4449 67.9039L88.6549 62.7839C88.5149 62.3939 88.1149 62.0739 87.7649 62.0639L86.3149 62.0439L84.5649 67.9939H85.2049C85.5549 67.9739 85.9349 67.6439 86.0549 67.2539L86.3149 66.3839L88.6449 66.3639",fill:"white"}),(0,r.jsx)("path",{d:"M98.4549 63.2438C98.5249 63.0238 98.6449 63.0238 98.7249 63.2438L99.4949 65.3238H97.7949L98.4449 63.2438H98.4549ZM97.5149 66.2838L99.8449 66.2538L100.145 67.0638C100.285 67.4338 100.675 67.7238 101.025 67.7138H101.665L99.6149 62.2038H98.1649C97.8049 62.1838 97.4249 62.4838 97.3049 62.8638L95.7749 67.8238L97.0449 67.8038L97.5149 66.2938",fill:"white"}),(0,r.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M83.1946 45.1239C83.1146 41.5639 85.0146 39.5539 85.0146 39.5539C85.0646 39.5139 85.2246 39.5439 85.3446 39.5539C85.9046 39.6239 86.9346 39.7439 87.5346 39.8239C86.4546 40.8239 85.8446 43.6239 85.8846 45.3739C85.9246 47.1239 86.6846 50.0539 87.8246 51.2739C87.2246 51.2339 86.1846 51.1639 85.6346 51.1339C85.5046 51.1339 85.3446 51.1239 85.2946 51.0739C85.2946 51.0739 83.2846 48.6939 83.1946 45.1339V45.1239ZM94.7146 51.6739C94.7646 51.7239 94.9246 51.7239 95.0546 51.7339C95.6046 51.7639 96.6446 51.8339 97.2446 51.8739C96.1046 50.7139 95.3346 47.9139 95.2946 46.2439C95.2446 44.5739 95.8646 41.9039 96.9446 40.9539C96.3446 40.8839 95.3046 40.7539 94.7546 40.6939C94.6246 40.6739 94.4646 40.6539 94.4146 40.6939C94.4146 40.6939 92.5146 42.6039 92.6046 46.0039C92.6946 49.4039 94.7046 51.6839 94.7046 51.6839L94.7146 51.6739ZM90.0046 51.3739C90.0646 51.4239 90.2146 51.4239 90.3446 51.4339C90.8946 51.4739 91.9246 51.5339 92.5246 51.5739C91.3946 50.3839 90.6246 47.5139 90.5746 45.8139C90.5346 44.1039 91.1546 41.3739 92.2246 40.3939C91.6246 40.3239 90.5946 40.1939 90.0446 40.1339C89.9146 40.1139 89.7546 40.0939 89.7046 40.1339C89.7046 40.1339 87.8046 42.1339 87.8946 45.5739C87.9846 49.0139 89.9946 51.3839 89.9946 51.3839L90.0046 51.3739ZM100.855 56.3339C100.495 55.5639 99.8746 54.2539 99.7546 53.8139C99.7546 53.8139 99.3746 52.8039 100.315 52.7039C100.715 52.6639 100.965 52.3639 100.975 51.9439L100.955 51.4639C100.955 51.3939 100.895 51.3339 100.835 51.3239L99.2746 51.2239C99.2746 51.2239 98.1846 51.2839 98.2146 52.7339C98.2546 55.2039 98.3046 55.5439 97.7146 55.6239C97.6646 55.6239 97.6146 55.5639 97.6146 55.5039C97.6146 55.5039 97.6146 55.4539 97.6146 55.4339C97.5746 54.1139 96.5946 52.9839 95.4046 52.9239C94.8046 52.8939 94.2646 53.1439 93.8946 53.5739C93.8946 53.5739 93.8446 53.6339 93.7946 53.6339C93.7546 53.6339 93.7146 53.5939 93.6946 53.5639C93.2946 53.0839 92.7446 52.7739 92.1446 52.7339C91.5446 52.7039 91.0046 52.9539 90.6346 53.3939C90.6346 53.3939 90.5846 53.4539 90.5346 53.4539C90.4946 53.4539 90.4546 53.4139 90.4346 53.3839C90.0346 52.8939 89.4846 52.5739 88.8846 52.5439C88.2846 52.5039 87.7446 52.7739 87.3746 53.2139C87.3746 53.2139 87.3246 53.2739 87.2746 53.2739C87.2346 53.2739 87.1946 53.2339 87.1746 53.2039C86.7746 52.7139 86.2246 52.3839 85.6246 52.3439C84.4446 52.2739 83.5146 53.3639 83.5446 54.7839C83.5446 54.8139 83.5446 54.8339 83.5446 54.8639C83.5446 54.9339 83.4946 54.9839 83.4346 54.9839C82.8246 54.8339 82.8646 54.4939 82.7746 51.8039C82.7246 50.2339 81.6546 50.0139 81.6246 50.0139L80.0646 49.9039C80.0046 49.9039 79.9546 49.9639 79.9546 50.0439V50.5739C79.9946 51.0339 80.2646 51.4139 80.6646 51.5039C81.6146 51.7439 81.2846 52.8039 81.2846 52.8039C81.1846 53.2739 80.6346 54.6539 80.3146 55.4739
1C80.1146 56.0039 79.7046 57.3239 80.4146 58.6339C80.8246 59.3839 81.3146 60.0939 82.9746 60.0939L98.3746 60.4139C100.045 60.4739 100.495 59.8539 100.865 59.1939C101.515 58.0539 101.045 56.8439 100.815 56.3439L100.855 56.3339ZM85.6646 53.3539C84.9546 53.3139 84.3946 53.9739 84.4146 54.8139C84.4346 55.6639 85.0246 56.3739 85.7346 56.4039C86.4446 56.4339 87.0046 55.7739 86.9846 54.9439C86.9646 54.1039 86.3746 53.3939 85.6646 53.3639V53.3539ZM95.4446 53.8739C94.7346 53.8339 94.1746 54.4639 94.2046 55.2639C94.2246 56.0739 94.8146 56.7439 95.5246 56.7739C96.2346 56.8039 96.7946 56.1739 96.7646 55.3839C96.7446 54.5839 96.1546 53.9139 95.4446 53.8739ZM88.9246 53.5239C88.2146 53.4839 87.6546 54.1339 87.6746 54.9639C87.6946 55.7939 88.2846 56.4939 88.9946 56.5239C89.7046 56.5539 90.2646 55.9039 90.2446 55.0839C90.2246 54.2639 89.6346 53.5639 88.9246 53.5239ZM92.1846 53.6939C91.4746 53.6539 90.9146 54.2939 90.9346 55.1139C90.9546 55.9339 91.5446 56.6239 92.2546 56.6539C92.9646 56.6839 93.5246 56.0439 93.5046 55.2339C93.4846 54.4239 92.8946 53.7339 92.1846 53.7039V53.6939Z",fill:"white"}),(0,r.jsx)("mask",{id:"mask5_2103_15556",maskUnits:"userSpaceOnUse",x:"38",y:"13",width:"84",height:"128",children:(0,r.jsx)("path",{d:"M46.645 15.7639L53.255 14.2839C57.395 13.3539 61.675 13.0839 65.915 13.4739C72.265 14.0639 82.325 15.1039 91.905 16.5639C100.195 17.8339 107.825 19.2139 113.115 20.2239C117.425 21.0439 120.535 24.5039 120.595 28.5439C120.795 41.1139 121.205 67.6539 121.335 79.8739C121.455 91.7539 121.355 113.224 121.295 124.034C121.275 127.994 118.325 131.414 114.135 132.364C109.365 133.444 102.125 134.964 92.235 136.724C82.125 138.524 72.545 139.674 66.875 140.334C61.205 140.994 55.305 139.054 50.335 136.334C50.335 136.334 45.125 134.004 43.465 133.004C40.775 131.384 39.305 128.614 39.205 125.674C38.855 114.874 38.585 88.2139 38.585 71.2239C38.585 55.5939 39.165 34.4539 39.485 23.8939C39.605 20.0039 42.535 16.6839 46.655 15.7539L46.645 15.7639Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask5_2103_15556)",children:[(0,r.jsx)("path",{d:"M65.6148 10.6139C58.2948 13.0539 58.5248 16.5139 58.5248 20.1739C58.5248 23.8339 58.5748 130.654 58.9648 136.344C59.2448 140.364 63.8648 140.914 63.8648 140.914C63.8648 140.914 67.8248 159.924 64.5048 159.724C61.1848 159.524 24.1548 151.584 24.1548 151.584C24.1548 151.584 27.2548 79.9839 27.2548 75.5039C27.2548 71.0239 34.3448 10.0039 34.3448 10.0039L65.6048 10.6139H65.6148Z",fill:"#B8D9FF"}),(0,r.jsx)("path",{d:"M34.8049 89.4538L55.5049 94.1638C58.1249 94.7638 60.8349 94.9538 63.5249 94.7238L123.485 89.6638L124.155 145.204L63.1849 154.214L32.8149 141.634L34.8149 89.4438L34.8049 89.4538Z",fill:"#7FAC15"}),(0,r.jsx)("g",{opacity:"0.4",children:(0,r.jsx)("path",{d:"M106.335 85.634C115.455 81.024 122.445 72.994 125.335 63.824",stroke:"#CCE5FF","stroke-width":"2","stroke-miterlimit":"10"})}),(0,r.jsx)("path",{d:"M30.2749 58.2939C36.0949 51.4939 42.8149 45.3339 50.2349 39.9939",stroke:"#CCE5FF","stroke-width":"2","stroke-miterlimit":"10"})]}),(0,r.jsx)("path",{d:"M78.3546 106.564C79.0246 106.324 79.7346 106.134 80.4646 106.024C86.2846 105.114 91.6846 108.764 92.5346 114.174C93.3846 119.594 89.3546 124.724 83.5446 125.634C77.7246 126.544 72.3246 122.894 71.4746 117.484C71.1246 115.284 71.7346 112.854 73.4646 110.654",stroke:"white","stroke-width":"2","stroke-miterlimit":"10"}),(0,r.jsx)("path",{d:"M79.0547 117.294C78.9347 118.334 79.6748 119.264 80.7148 119.384L81.4547 119.474C82.2547 119.564 82.9148 120.154 83.0848 120.944L83.4448 122.574C83.5548 123.054 84.2147 123.124 84.4147 122.664L85.9748 119.064C86.2948 118.324 86.1147 117.474 85.5247 116.924L84.4048 115.884C84.0048 115.514 83.4648 115.334 82.9248 115.384L80.7347 115.614C79.8547 115.704 79.1547 116.394 79.0547 117.274V117.294Z",stroke:"white","stroke-width":"2","stroke-miterlimit":"10"}),(0,r.jsx)("path",{d:"M71.7449 117.814C70.6749 118.274 66.7149 116.714 67.8849 112.534C68.1949 111.414 69.0849 110.534 69.9749 109.784C70.8649 109.034 71.8549 108.414 72.7949 107.724C73.7349 107.034 74.6349 106.264 75.2649 105.284C75.8749 106.724 76.5949 108.184 76.8049 109.734C77.0149 111.284 76.8449 112.914 76.0949 114.284C75.3449 115.654 73.3049 117.694 71.7449 117.804",stroke:"white","stroke-width":"2","stroke-miterlimit":"10"}),(0,r.jsx)("path",{d:"M86.8545 107.064C85.7745 107.454 84.7945 108.074 83.8245 108.694C83.1145 109.144 82.3945 109.604 81.6845 110.054C81.1445 110.404 80.5145 110.964 80.7445 111.564C80.9045 111.984 81.4145 112.154 81.8645 112.154C82.3145 112.154 82.7545 112.014 83.2045 112.064C83.9345 112.134 84.5245 112.644 85.0745 113.124C85.6245 113.604 86.2145 114.114 86.9445 114.194C87.4645 114.244 88.0345 113.944 88.2645 113.504C88.4645 113.114 88.8345 112.824 89.2745 112.824C90.8345 112.854 89.9545 114.864 92.6145 114.644",stroke:"white","stroke-width":"2","stroke-miterlimit":"10"}),(0,r.jsx)("path",{d:"M39.1645 26.7839L56.2345 23.2639C57.3445 23.0339 58.4945 23.0539 59.5945 23.3239C64.0945 24.4139 77.1445 27.1939 89.1645 26.1839C103.214 25.0039 116.634 29.8539 120.664 31.4839C121.234 31.7139 121.844 31.2839 121.814 30.6839L121.234 20.6839C121.214 20.4039 121.064 20.1639 120.824 20.0239C118.834 18.9139 109.064 14.1439 88.5645 14.2939C70.2645 14.4239 62.0345 12.2139 59.3545 11.2539C58.6245 10.9939 57.8245 10.9339 57.0645 11.1039L39.8745 14.9139C39.5245 14.9939 39.2645 15.2739 39.2345 15.6239L38.1645 25.9039C38.1045 26.4539 38.6145 26.8939 39.1645 26.7839Z",fill:"#64A6F7"}),(0,r.jsx)("mask",{id:"mask6_2103_15556",maskUnits:"userSpaceOnUse",x:"38",y:"11",width:"84",height:"21",children:(0,r.jsx)("path",{d:"M39.1645 26.7839L56.2345 23.2639C57.3445 23.0339 58.4945 23.0539 59.5945 23.3239C64.0945 24.4139 77.1445 27.1939 89.1645 26.1839C103.214 25.0039 116.634 29.8539 120.664 31.4839C121.234 31.7139 121.844 31.2839 121.814 30.6839L121.234 20.6839C121.214 20.4039 121.064 20.1639 120.824 20.0239C118.834 18.9139 109.064 14.1439 88.5645 14.2939C70.2645 14.4239 62.0345 12.2139 59.3545 11.2539C58.6245 10.9939 57.8245 10.9339 57.0645 11.1039L39.8745 14.9139C39.5245 14.9939 39.2645 15.2739 39.2345 15.6239L38.1645 25.9039C38.1045 26.4539 38.6145 26.8939 39.1645 26.7839Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask6_2103_15556)",children:[(0,r.jsx)("path",{d:"M66.0146 17.3739C74.3546 16.3839 82.8846 14.7439 89.8846 10.2039",stroke:"#CCE5FF","stroke-width":"2","stroke-miterlimit":"10"}),(0,r.jsx)("path",{d:"M116.524 32.874C116.614 28.864 114.814 25.014 112.354 21.804",stroke:"#CCE5FF","stroke-width":"2","stroke-miterlimit":"10"})]}),(0,r.jsx)("path",{d:"M64.4398 5.54578L64.7559 7.33813L68.439 6.68869L68.123 4.89634L64.4398 5.54578Z",fill:"#5D381D"}),(0,r.jsx)("path",{d:"M86.7638 8.93213L88.0317 7.55762L85.2827 5.02178L84.0148 6.39629L86.7638 8.93213Z",fill:"#5D381D"}),(0,r.jsx)("path",{d:"M76.4136 6.045L75.4131 7.7998L78.3407 9.46899L79.3412 7.71418L76.4136 6.045Z",fill:"#5D381D"}),(0,r.jsx)("g",{children:(0,r.jsx)("path",{d:"M73.6802 5.00065L74.8892 3.36987L71.8847 1.14261L70.6758 2.77339L73.6802 5.00065Z",fill:"#A67354"})}),(0,r.jsx)("g",{children:(0,r.jsx)("path",{d:"M97.3911 7.9982L97.6377 9.6499L102.009 8.99735L101.763 7.34565L97.3911 7.9982Z",fill:"#A67354"})})]})},N=s(8201),D=s(12900),B=s(74093),F=s(50712),b=s(34736),O=s(76607),R=s(15958),H=s(39085);let G=e=>{var t;let s=(0,F._K)(),{eventTrack:r}=(0,v.SR)(),{TENANT_ID:a}=(0,_.CG)(b.vv);(0,i.useEffect)(()=>{e.searchKey&&e.searchKey.length>=3&&R.c.trackFrontendEvent("user_interaction",H.vB.B2C_ORDERING_BODEGA_WEB.SEARCH_PRODUCTS,{searchKey:e.searchKey},H.sZ.B2C_ORDERING_BODEGA_WEB,H.VY.BUY_PRODUCTS)},[e.searchKey]);let{data:l,isLoading:o,isValidating:n,setSize:C,size:c,error:h}=(0,O.ZP)((t,s)=>s&&m()(s)||!e.searchKey||e.searchKey.length<3?null:{...e,offset:t*(e.offset||B.xe),limit:e.limit||B.Jb,tenantId:a},e=>{let t={name:H.vB.B2C_ORDERING_BODEGA_WEB.SEARCH_PRODUCTS,timestamp:Date.now()};return R.c.getCurrentSessionId(H.sZ.B2C_ORDERING_BODEGA_WEB)?R.c.continueSessionByModuleName(H.sZ.B2C_ORDERING_BODEGA_WEB,t,H.VY.BUY_PRODUCTS):R.c.startFlowSession(H.sZ.B2C_ORDERING_BODEGA_WEB,H.VY.BUY_PRODUCTS,t),s.getSearchProductList(e)},{onError:e=>{r(g._.errorBodega,e)}}),d=(null==l?void 0:null===(t=l[c-1])||void 0===t?void 0:t.items.length)===((null==e?void 0:e.limit)||B.Jb),u=o||c>0&&l&&void 0===l[c-1];return{products:l?[].concat(...l):[],hasMoreProducts:d,isDataForNextProductsPageLoading:u,productsSize:c,setProductsSize:C,productsError:h,isProductsValidating:n,isProductsLoading:o}};var P=s(9781);let U=e=>{let t=(0,k.useRouter)(),s=t.query,{sortBy:r,sortOrder:a,offset:l,pageLimit:o,debouncedSearch:n,searchText:C,setSearchText:c}=e,[h,d]=(0,i.useState)(!!s.isFinalSearch),u=(0,_.TL)(),p=!!s.isFinalSearch,{coords:L,isTestUser:f}=(0,_.CG)(D.aF),{language:j}=(0,N.Z)();(0,i.useEffect)(()=>{(function(){let{isFinalSearch:e,searchKey:r,...i}=t.query;t.push({query:n?{...i,...h?{isFinalSearch:h}:{},...n?{searchKey:n}:{}}:{source:s.source}})})(),h&&u((0,x.Uz)(n))},[n,h]);let v=e=>{c(e||""),d(!1)},g=(0,i.useCallback)(()=>{C&&d(!0)},[C]),{products:M,productsError:Z,isProductsLoading:y,hasMoreProducts:E,setProductsSize:S,productsSize:F,isDataForNextProductsPageLoading:b}=function(){let{products:t,productsError:r,isDataForNextProductsPageLoading:i,setProductsSize:a,productsSize:n,hasMoreProducts:C,isProductsLoading:c}=G({searchKey:e.debouncedSearch,limit:o,offset:l,langCode:j,sortBy:"price"===s.sortBy?"minPrice"
1:""});return{products:[].concat(...t.map(e=>e.items)),productsError:r,isProductsLoading:c,isDataForNextProductsPageLoading:i,hasMoreProducts:C,productsSize:n,setProductsSize:a}}(),O=3,{shops:R,isShopsLoading:H,shopsError:U,hasMoreShops:T,setShopsSize:A,shopsSize:V,isDataForNextShopsPageLoading:I}=function(e){let t={keyword:e,farmerLocation:{lat:Number(null==L?void 0:L.lat),long:Number(null==L?void 0:L.lng)},isTestFarmer:f,limit:o,offset:l,productIds:[]},{shops:s,setShopsSize:r,shopsSize:i,isShopsLoading:a,shopsError:n,hasMoreShops:C,isDataForNextShopsPageLoading:c}=(0,P.D)(t);return{shops:s,isShopsLoading:a,shopsError:n,hasMoreShops:C,shopsSize:i,setShopsSize:r,isDataForNextShopsPageLoading:c}}(n),W=R.find(e=>{var t;null===(t=e.name)||void 0===t||t.includes(n)});m()(W)||(O=B.w7.SHOPS);let K=(0,w.ZH)(M||[],j),q=K.find(e=>{var t;null===(t=e.productName[j])||void 0===t||t.includes(n)});m()(q)||(O=B.w7.SERVICES);let Y=null==M?void 0:M.filter(e=>!(null==K?void 0:K.some(t=>t.productId==e.productId))),z=Y.find(e=>{var t,s;null===(s=e.productName)||void 0===s||null===(t=s[j])||void 0===t||t.includes(n)});return m()(z)||(O=B.w7.PRODUCTS),{isLoading:H||y,error:{productError:Z,shopError:U},data:{products:Y,services:K,shops:R},hasExactSearch:"",query:C,finalSearch:p,onQueryChange:v,resetSearch:v,onFinalSearch:g,hasMoreShops:T,setShopsSize:A,shopsSize:V,hasMoreProducts:E,setProductsSize:S,productsSize:F,fetchingProducts:y,fetchingStores:H,isDataForNextProductsPageLoading:b,isDataForNextShopsPageLoading:I,exactSearchTab:O}},T=()=>(0,r.jsx)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M4.30029 4.59995V19.4M12.3003 4.59995V8.39995M20.3003 4.59995V19.4M12.2003 19.0999C10.5434 19.0999 9.20029 17.7568 9.20029 16.0999C9.20029 14.443 10.5434 13.0999 12.2003 13.0999C13.8571 13.0999 15.2003 14.443 15.2003 16.0999C15.2003 17.7568 13.8571 19.0999 12.2003 19.0999Z",stroke:"white","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"})}),A=()=>(0,r.jsx)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M16.375 9.375L10.6655 15.1906H9.85158L7.625 12.9956M12 22C6.475 22 2 17.525 2 12C2 6.475 6.475 2 12 2C17.525 2 22 6.475 22 12C22 17.525 17.525 22 12 22Z",stroke:"#0F0F0F","stroke-opacity":"0.4","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"})});var V=s(77914),I=s(48216),W=s(1604);let K=e=>{let{eventData:t}=e,[s,a]=(0,i.useState)(!1),{t:l}=(0,j.$G)(),{eventTrack:o}=(0,i.useContext)(v.MN);return(0,r.jsxs)("div",{children:[(0,r.jsx)(q,{open:s,setOpen:a}),(0,r.jsxs)(E.Z,{variant:"contained",fullWidth:!0,className:"primaryBtn flex gap-8px br-0",onClick:()=>{a(!0),o(g._.a_farmers_search_sort,t)},children:[(0,r.jsx)("span",{children:l("sort-by")}),(0,r.jsx)(T,{})]})]})},q=e=>{let{open:t,setOpen:s,eventData:a}=e,l=(0,k.useRouter)(),o=l.query.sortBy,{t:n}=(0,j.$G)(),{eventTrack:C}=(0,i.useContext)(v.MN),c=()=>{let e=W.z.enum(["price","relevance"]).safeParse(o);return e.success?e.data:"relevance"},[h,d]=(0,i.useState)(()=>c()),u=()=>{C(g._.a_farmers_search_sort_close,{...a,sortCriteria:"relevance"===o?"relevance":"lowestToHighest"}),s(!1)},m=e=>{C(g._.a_farmers_search_sort_byCriteria,{...a,sortCriteria:"relevance"===e?"relevance":"lowestToHighest"}),l.push({pathname:l.pathname,query:{...l.query,sortBy:e}}),d(e)};return(0,r.jsxs)(I.Z,{isOpen:t,onClose:u,children:[(0,r.jsx)(I.Z.Container,{style:{maxHeight:216},children:(0,r.jsx)(I.Z.Content,{children:(0,r.jsxs)("div",{className:"px-1rem py-1rem flex flex-column justify-content-between h-100",children:[(0,r.jsx)("h3",{className:"title xs",children:n("sort-by")}),(0,r.jsxs)("ul",{style:{listStyle:"none"},className:"flex-1 flex flex-column justify-content-around py-12px",children:[(0,r.jsxs)("li",{className:"flex align-items-center gap-8px",onClick:()=>{m("price")},children:[(0,r.jsx)("span",{style:{fontWeight:"price"===h?"bold":"normal"},children:n("price-low-high")}),"price"===h&&(0,r.jsx)(A,{})]}),(0,r.jsxs)("li",{className:"flex align-items-center gap-8px",onClick:()=>{m("relevance")},children:[(0,r.jsx)("span",{style:{fontWeight:"relevance"===h?"bold":"normal"},children:n("relevance")}),"relevance"===h&&(0,r.jsx)(A,{})]})]}),(0,r.jsxs)("div",{className:"flex align-items-center gap-12px",onClick:u,role:"button",children:[(0,r.jsx)(V.Z,{color:"primary"}),(0,r.jsx)("span",{children:n("close")})]})]})})}),(0,r.jsx)(I.Z.Backdrop,{onTap:u})]})};var Y=s(83728),z=s(65747),J=s(87006);let $=e=>{let{searchHistory:t,search:s,source:a,locationsource:o}=e,n=(0,p.I0)(),{t:c}=(0,j.$G)(),{eventTrack:h}=(0,i.useContext)(v.MN),u=e=>{s(e),h(g._.a_Farmers_Search_recently_searched,{search_keyword:e}),h(g._.a_farmers_search_recentSearch,{searchLocationDict:{searchLocation:a,locationDetail:o},recentSearch:e})};return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:C().recentSearchContainer,children:[(0,r.jsx)(L.Z,{className:C().recentSearchTitle,children:c("search-recent-title")}),(0,r.jsxs)(L.Z,{className:C().endProperty,onClick:()=>{n((0,x.vE)())},children:[c("search-clear-all"),(0,r.jsx)(l,{})]})]}),(0,r.jsx)("div",{className:C().recentSearchListContainer,children:t.map(e=>(0,r.jsxs)("div",{className:d()("flex-center",C().recentSearchContext),onClick:()=>u(e),children:[(0,r.jsx)(f,{className:"caption small"}),(0,r.jsx)(L.Z,{className:"caption small",children:e})]}))})]})};var X=!0,Q=()=>{var e;let t=(0,k.useRouter)(),{searchKey:s,source:l,locationsource:n}=t.query,{t:h}=(0,j.$G)(),u=(0,_.CG)(x.u9),p=Number(t.query.activeTab||0),{searchText:L,setSearchText:f,debouncedSearch:N}=(0,Y.Z)(s),{eventTrack:D}=(0,i.useContext)(v.MN);(0,i.useEffect)(()=>{s&&f(s)},[]);let{data:B,isLoading:F,query:b,finalSearch:O,onQueryChange:R,resetSearch:H,onFinalSearch:G,setShopsSize:P,shopsSize:T,hasMoreShops:A,hasMoreProducts:V,setProductsSize:I,productsSize:W,fetchingProducts:q,fetchingStores:X,isDataForNextProductsPageLoading:Q,isDataForNextShopsPageLoading:ee,exactSearchTab:et}=U({pageLimit:10,offset:0,debouncedSearch:N,searchText:L,setSearchText:f}),es=(0,i.useMemo)(()=>({searchLocationDict:{searchLocation:l,locationDetail:n},searchInput:N,searchMatch:et<3?"exact":"approximate"}),[l,n,N,et]),{searchMatch:er,...ei}=es,ea=(0,i.useMemo)(()=>({...es,searchDefaultTab:et,tSearch:B.products.length+B.services.length+B.shops.length,searchResult:B}),[et,B]);(0,i.useEffect)(()=>{N.length&&D(g._.a_farmers_search_searchSubmit,es)},[N,et]),(0,i.useEffect)(()=>{s&&!F&&(m()(B.products)&&m()(B.services)&&m()(B.shops)&&D(g._.a_Farmers_Search_no_results,ei),D(g._.a_farmers_search_searchResultDelivered,ea))},[F,s]);let el=e=>{let{value:t}=e.target;R(t)};return(0,r.jsxs)("div",{className:d()("container"),children:[(0,r.jsxs)("div",{className:d()(C().searchInputContainer,"box flex-center "),children:[(0,r.jsx)(a.Z,{className:"primary hover",onClick:()=>
1{if(M.J.reset(),l===J.p.product){t.replace("/products");return}t.replace("/home")}}),(0,r.jsx)(o,{endAdornment:b&&(0,r.jsx)(Z.Z,{onClick:()=>{H(),D(g._.a_farmers_search_cross,{...ei,searchResultStatus:m()(B.products)&&m()(B.services)&&m()(B.shops)?"resultUnavailable":"resultAvailable"})},className:C().clearIcon}),className:C().searchInput,fullWidth:!0,value:L,onChange:e=>{if(el(e),1===e.target.value.length){let{searchInput:e,...t}=ei;D(g._.a_farmers_search_startTyping,t)}},placeholder:h("search"),onKeyDown:e=>{(0,w.Xe)(e,G)},autoFocus:!0}),(0,r.jsx)(E.Z,{"data-testid":"normalButton",className:C().searchButton,fullWidth:!0,onClick:G,children:(0,r.jsx)(y.Z,{})})]}),b?b?(0,r.jsx)("div",{className:C().resultContainer,children:(0,r.jsx)(c.Z,{stores:B.shops||[],products:B.products||[],services:B.services||[],loadMoreProducts:()=>I(W+1),loadMoreStores:()=>{P(T+1)},searchText:N,isFinalSearch:O,isLoading:F,hasMoreShops:A,hasMoreProducts:V,fetchingProducts:q,fetchingStores:X,isDataForNextProductsPageLoading:Q,isDataForNextShopsPageLoading:ee,eventData:ea})}):void 0:m()(u)?(0,r.jsxs)("div",{className:C().searchPlaceholder,children:[(0,r.jsx)(S,{}),(0,r.jsx)("div",{className:C().placeholderText,children:h("global-search-placeholder")})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)($,{searchHistory:u,search:e=>R(e),source:String(l),locationsource:String(n)}),(0,r.jsx)(z.E,{viewAll:!0})]}),b&&O&&(null===(e=B.products)||void 0===e?void 0:e.length)&&0===p?(0,r.jsx)(K,{eventData:{...ea,sortTab:0===Number(t.query.activeTab||0)?"product":0===Number(t.query.activeTab||0)?"searvice":"shop"}}):null]})}}},function(e){e.O(0,[1563,6066,1277,8472,1604,3303,3381,4376,4025,4763,2888,9774,179],function(){return e(e.s=8266)}),_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.