1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1722],{57010:(e,t,n)=>{"use strict";n.d(t,{V:()=>l});var i=n(16927),r=n(85993),c=n(4902);n(76757);var s=n(78735),l=function(e){return(0,i._)(function(){var t;return(0,c.YH)(this,function(n){return t=[],e.sections.forEach(function(e){t=(0,r._)(t).concat((0,r._)(e.product_ids))}),[2,(0,s.zh)(t)]})})()}},71260:(e,t,n)=>{"use strict";n.d(t,{DS:()=>h,Rq:()=>v,SJ:()=>g,_3:()=>x,pU:()=>p,qf:()=>m});var i=n(16927),r=n(67684),c=n(62701),s=n(65699),l=n(4902),o=n(42252),a=n(79819),d=n(15526),u=n(66002),_=n(84367),f=n(93661),p=function(){var e=(0,d.n)(function(e){return(0,i._)(function(){return(0,l.YH)(this,function(t){switch(t.label){case 0:return[4,_.jU.createProductActionLog(e)];case 1:return[2,t.sent().createProductActionLog]}})})()});return(0,r._)({referenceUserId:(0,f.Tv)()},e)},h=function(e){var t=[u.g1,e],n=(0,o.I)({queryKey:t,queryFn:function(){return(0,i._)(function(){var t,n;return(0,l.YH)(this,function(i){switch(i.label){case 0:return[4,_.jU.getRelatedProduct(e)];case 1:return[2,(null==(n=i.sent())||null==(t=n.getRelatedProducts)?void 0:t.related_products)||[]]}})})()},cacheTime:1/0,staleTime:1/0,enabled:!!e});return(0,r._)({queryKey:t},n)},v=function(e){var t={id:e,page:1,limit:5};return(0,a.q)({queryKey:[u.QV,e],queryFn:function(e){var n=e.pageParam,r=void 0===n?t:n;return(0,i._)(function(){return(0,l.YH)(this,function(e){switch(e.label){case 0:return[4,_.jU.getSellerReviews(r)];case 1:return[2,e.sent().getSellerReviews]}})})()},getNextPageParam:function(e){if((null==e?void 0:e.page)!==(null==e?void 0:e.total_pages))return(0,c._)((0,r._)({},t),{page:(null==e?void 0:e.page)+1})}})},x=function(){return(0,d.n)(function(e){return _.jU.setFavoriteById(e)})},m=function(e,t){var n=t.isMobile,a=(0,s._)(t,["isMobile"]),d=[u.sj,e],f=(0,o.I)((0,r._)({queryKey:d,queryFn:function(){return(0,i._)(function(){return(0,l.YH)(this,function(t){switch(t.label){case 0:return[4,_.jU.getProductDetailV2("".concat(e),{isMobile:n})];case 1:return[2,t.sent()]}})})()}},a));return(0,c._)((0,r._)({},f),{queryKey:d})},g=function(e){return(0,o.I)((0,r._)({queryKey:[u._],queryFn:_.jU.getMyServices},e))}},97826:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var i=n(20294),r=n(37876),c=n(14678),s=n(15039),l=n.n(s),o=n(80782),a=n.n(o),d=n(89099),u=n(14232),_=n(69050),f=n(10997),p=n(79514),h=n(28341),v=n(50075),x=n(57010);let m=function(e){var t,n,s,o=e.intention,m=(0,d.useRouter)().query,g=(0,i._)((0,v.Bd)("common"),1)[0],j=(0,i._)((0,u.useState)([]),2),b=j[0],y=j[1],w=(0,i._)((0,u.useState)(""),2),N=w[0],k=w[1],S=(0,i._)((0,u.useState)(!1),2),q=S[0],I=S[1],P=function(){var e=o.sections.map(function(e){return{top:document.querySelector('[id="'.concat(e.sort_order,'"]')).offsetTop,id:"".concat(e.sort_order)}}),t=function(){var t,n,i=e.filter(function(e){return(0,h.$V)('[id="'.concat(e.id,'"]'),300)}).slice(-1);(null==i?void 0:i.length)&&((null==i?void 0:i.length)&&N!==(null==(t=i[0])?void 0:t.id)?k(null==(n=i[0])?void 0:n.id):""!==N&&k(""))};return window.addEventListener("scroll",a()(t,300)),function(){window.removeEventListener("scroll",t)}};(0,u.useLayoutEffect)(function(){return P()},[]),(0,u.useEffect)(function(){(0,x.V)(o).then(y).finally(function(){I(!0)})},[]);var F={slidesToShow:4,slidesToScroll:4,infinite:!1,arrows:!0};return(0,r.jsx)(p.w7,{children:(0,r.jsxs)("div",{className:"intention-page _pdbt-48px",children:[(0,r.jsx)("section",{className:"_dp-f _jtfct-ct _alit-ct _bgcl-neutral-500 _bgs-cv",style:{height:"200px",backgroundImage:"url(".concat(o.banner_background,")"),backgroundPosition:"right"},children:(0,r.jsxs)("div",{style:{color:"white"},children:[(0,r.jsx)("div",{className:"_fs-600 _fw-600 _tal-ct _ffml-secondary",children:o.banner_title}),(0,r.jsx)("div",{className:"_tal-ct _mgt-12px",children:o.banner_description})]})}),(0,r.jsx)("section",{className:"_pdt-32px _pdh-48px",children:(0,r.jsxs)("div",{className:"_dp-f",children:[(0,r.jsx)("div",{style:{width:"240px",minWidth:"240px",maxWidth:"240px"},children:(0,r.jsxs)("div",{className:"sticky _fs-300",children:[(0,r.jsx)("div",{className:"_ffml-secondary _fw-600",children:o.intention_title}),(0,r.jsx)("div",{className:"section-link-intentions _mgt-12px",children:null==o||null==(t=o.sections)?void 0:t.map(function(e){return(0,r.jsx)("a",{href:"#".concat(e.sort_order),"data-selenium":"intention-section.".concat(null==e?void 0:e.link_title,".link"),rel:"noreferrer",children:(0,r.jsx)("div",{className:l()("section-link-intention _cs-pt",{"-active":N==="".concat(e.sort_order)}),children:e.link_title},e.sort_order)},e.sort_order)})})]})}),(0,r.jsx)("div",{className:"_f-1 _dp-f _jtfct-ct _pdr-48px",children:(0,r.jsx)("div",{className:"_pdr-48px lo-12 _gg-48px",style:{width:"940px"},children:o.sections.map(function(e,t){var n;return(0,r.jsxs)("div",{id:"".concat(e.sort_order),children:[0!==t&&(0,r.jsx)("hr",{className:"_mgbt-48px"}),(0,r.jsxs)("div",{className:"_pdh-12px _dp-f",children:[(0,r.jsxs)("div",{className:"_f-1 _jtfct-spbtw",children:[(0,r.jsxs)("div",{className:"_fs-600 _fw-600 _ffml-secondary",children:[(0,r.jsx)("span",{children:e.title})," ",(0,r.jsx)("a",{href:"".concat(e.url,"?source=intention_").concat(null==m?void 0:m.intentionSlug),target:"_blank","data-selenium":"intention-section.".concat(null==e?void 0:e.link_title,".link"),className:"_cs-pt _cl-primary-500",rel:"noreferrer",children:e.link_title})]}),(0,r.jsx)("p",{className:"_mgt-32px",children:e.description})]}),(0,r.jsx)("div",{children:(0,r.jsx)("a",{href:"".concat(e.url,"?source=intention_").concat(null==m?void 0:m.intentionSlug),target:"_blank","data-selenium":"intention-section.".concat(null==e?void 0:e.link_title,".see-more"),rel:"noreferrer",children:(0,r.jsx)("div",{className:"tb-button -secondary -small",children:g("intention.see-more")})})})]}),(0,r.jsx)("div",{className:"_mgt-32px",style:{width:940},children:q?(0,r.jsx)(f.FN,{settings:F,itemPadding:"8px",itemPaddingBottom:"28px",containerClassName:"_w-100pct glider-container food-slider",isFluid:!0,children:null==(n=e.product_ids)?void 0:n.map(function(n,i){var c,s,l=b&&b.find(function(e){return e.objectID===n})||null;return l?(0,r.jsx)("div",{children:(0,r.jsx)("div",{style:{width:"220px"},children:(0,r.jsx)(_.c,{tabIndex:i,category:l.category,subcategory:l.subcategory,titleSubCate:null==m?void 0:m.intentionSlug,productId:l.objectID,className:"card-product",purchaseCount:null==l?void 0:l.purchase_count,title:l.title,coverPhoto:l.image||"",basePrice:l.base_price,slug:l.slug,rating:l.rating,badges:l.badges,user:l.user,fallbackSource:"intention_".concat(null==m?void 0:m.intentionSlug),reviewCount:l.review_count,responseTime:null==l||null==(s=l.user)||null==(c=s.stats)?void 0:c.response_time,productCardDecor:null==l?void 0:l.product_card_decor,productImageAlt:"".concat(null==e?void 0:e.title," ").concat(null==e?void 0:e.link_title," - ").concat(t+1),style:{minHeight:"360px"}},l.objectID)})},i):(0,r.jsx)(r.Fragment,{})})}):(0,r.jsx)("div",{className:"_dp-f",children:[1,2,3,4].map(function(e){return(0,r.jsx)("div",{className:"_pdh-12px _pdv-12px",children:(0,r.jsx)("div",{style:{width:"200px"},children:(0,r.jsx)(c.Rl,{})})},e)})})}),t===o.sections.length-1&&(0,r.jsx)("hr",{className:"_mgv-48px"})]},e.sort_order)})})})]})}),(0,r.jsx)("section",{className:"lo-container-desktop",children:(0,r.jsxs)("div",{className:"lo-2 _gg-16px",children:[(0,r.jsx)("div",{style:{height:"96px",color:"white",background:"#0045aa"},className:"_cl-white-100 _pd-12px _bdrd-8px _dp-f _alit-fe _ffml-secondary _fw-600",children:g("intention.related.title")}),null==o||null==(s=o.related_intentions)||null==(n=s.filter(function(e,t){return t<5}))?void 0:n.map(function(e,t){return(0,r.jsx)("a",{href:e.link,"data-selenium":"intention.related.".concat(e.title),target:"_blank",rel:"noreferrer",children:(0,r.jsx)("div",{style:{height:"96px",color:"white",backgroundImage:"url(".concat(e.image,")")},className:"_bgcl-neutral-300 _cl-white-100 _pd-12px _bdrd-8px _dp-f _alit-fe _ffml-secondary _fs-300 _fw-600 _bgs-cv _bgpst-ct",children:e.title},t)},t)})]})})]})})}},99342:e=>{e.exports=function(e){return void 0===e}}}]);
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.