PageSourceSearch

https://www.article.com/assets/ContentfulReviews.74443588.js

js article.com collected 2026-09-24 08:49:53 UTC 4,267 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7f47a138-f978-43c9-8414-1dc84d4b016e",e._sentryDebugIdIdentifier="sentry-dbid-7f47a138-f978-43c9-8414-1dc84d4b016e")}catch(N){}import{c7 as e,cA as t,cB as i,b$ as a,cj as o,c9 as s,ca as r,cb as l,ce as d,cx as n,cf as c,cs as u,cc as p,ct as f,cy as v,d0 as m,d1 as g,cQ as w}from"./index.061e774e.js";import{P as y}from"./Product.35fc4e5d.js";import{_ as b}from"./ContentfulHeading.326f5d3e.js";import{C as h}from"./ContentfulField.50bca384.js";import{R as C}from"./ReadMore.01e816f1.js";import j from"./CanFavorite.197be563.js";import{u as R}from"./useProductReviews.e25fd8ad.js";import{u as P}from"./useProductSearch.74a749f9.js";import"./mediaUtils.018d7373.js";import"./AddToCartButton.7aa082a0.js";import"./useAddToCart.5a80e920.js";import"./DeviceUtils.44556013.js";import"./Swipe.0435a3f8.js";import"./slugify.a1a5eaaf.js";import"./useContentfulLivePreview.bf395284.js";import"./SortOptions.39674a4b.js";const x={class:"heading"},F={class:"review-grid"},S={key:0,class:"no-product-reviews"},k={class:"product-wrapper"},I={key:0,class:"no-product-reviews"},T={class:"review-content"},A={class:"review-rating accent"},_={class:"review-title"},D=["href","aria-label"],M={class:"review-snippet"};var H=e({name:"ContentfulReviews",components:{ReadMore:C,Product:y,CanFavorite:j,ContentfulHeading:b,ContentfulField:h},props:t,async setup(e,t){var s;const{data:r,init:l,defaultStyles:d}=i("reviewsSection",e,t),n=null==r?void 0:r.value,{products:c,updateInitialFilter:u,updatePageSize:p,updateReviewFilter:f,getReviewsForProductsFilter:v}=P(),{filteredProductReviews:m,fetchProductReviewsForProductIds:g}=R(),w=a(),y=null==n?void 0:n.title,b={taxonomyCategories:null==n?void 0:n.taxonomyCategories,taxonomyAttributes:null==n?void 0:n.taxonomyAttributes},h="All Topics"===(null==n?void 0:n.topic)?"":n.topic,C="All Reviews"===(null==n?void 0:n.rating)?"":n.rating,j={tag:"All Topics"===(null==n?void 0:n.topic)?"":n.topic,rating:"All Reviews"===(null==n?void 0:n.rating)?"":n.rating,page:0,count:1},x=o([]),F=e=>{null==e||e.map(((e,t)=>{x.value[t]=e?{...e,comment:e.comments,productImage:{url:e.productImageUrl},title:e.productTitle,url:w.resolve({name:"product",params:{id:e.productHashKey,slug:e.productSlug}}).href}:{comment:""}}))};return await l(),(null==(s=null==n?void 0:n.productids)?void 0:s.length)>0?(await g(n.productids,h,C),F(m.value)):(u(b),p(4),f(j),await v(),F(c.value)),{filteredReviews:x,reviewSectionTitle:y,quote:e=>`“${e}”`,defaultStyles:d}}},[["render",function(e,t,i,a,o,y){var b;const h=s("ContentfulHeading"),C=s("ReadMore"),j=s("Product"),R=s("CanFavorite"),P=s("ContentfulField");return r(),l(P,{component:"div","entry-id":null==(b=e.sys)?void 0:b.id,"field-id":"slug",class:"reviews wrapped bleedout to-edge container reviews-section",style:w(a.defaultStyles)},{default:d((()=>[n("div",x,[c(h,{"heading-tag":"h2","heading-text":a.reviewSectionTitle,class:"review-heading latest-buzz-title bottom-spacer ctf-restrict ctf-heading"},null,8,["heading-text"])]),n("div",F,[0===a.filteredReviews.length?(r(),u("div",S,t[1]||(t[1]=[n("p",null,"No reviews match the filters.",-1)]))):p("",!0),(r(!0),u(f,null,v(a.filteredReviews,((i,o)=>(r(),u("div",{key:o,class:"review-block"},[n("div",k,[i.comment.length?(r(),l(j,{key:1,product:i,"show-title":!1,class:"exp-review-container"},{detail:d((()=>[n("div",T,[n("div",A,[(r(!0),u(f,null,v(i.rating,(e=>(r(),u("i",{key:e,class:"af af-star"})))),128))]),n("div",_,[m(g(i.firstName)+" "+g(i.lastName)+" from "+g(i.city)+", "+g(i.regionCode)+" bought a ",1),n("a",{href:i.url,target:"_self","aria-label":i.title,onClick:t[0]||(t[0]=(...t)=>e.click&&e.click(...t))},g(i.productTitle),9,D)]),n("div",M,[c(C,{text:a.quote(i.comment)},{readMore:d((()=>[...t[3]||(t[3]=[m(" More ",-1)])])),_:2},1032,["text"])])])])),_:2},1032,["product"])):(r(),u("div",I,[...t[2]||(t[2]=[n("p",null,"No reviews match the Product ID.",-1)])]))])])))),128)),c(R)])])),_:1},8,["entry-id","style"])}]]);export{H as default};
2//# sourceMappingURL=ContentfulReviews.74443588.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.