(()=>{var e,t,o,n={75430:(e,t,o)=>{const n=o(5556),r=o(96540),a=o(71284),{PaywallInlineBarrierWrapper:i}=o(55838),{trackComponent:l}=o(92716),{interactionResponse:s}=o(56187),d=function(e){r.useEffect((()=>{(async()=>{await s(),l("PaywallInlineBarrier")})()}),[]);const{position:t="paywall-inline-barrier",className:o}=e;return r.createElement(i,{className:o,"data-testid":"PaywallInlineBarrierWrapper"},r.createElement(a,{position:t,aria:{"aria-live":"polite"}}))};d.propTypes={className:n.string,position:n.string},e.exports=d},36898:(e,t,o)=>{e.exports=o(75430)},55838:(e,t,o)=>{const{default:n}=o(92168),r=n.aside.withConfig({displayName:"PaywallInlineBarrierWrapper"})`
width: auto;
height: auto;
@media print {
display: none;
}
`;e.exports={PaywallInlineBarrierWrapper:r}},72987:(e,t,o)=>{const n=o(96540),{useState:r}=o(96540),a=o(5556),i=o(31850),{PaymentGateway:l}=o(92807),{asConfiguredComponent:s}=o(12892),{StickyMidContentAdWrapper:d}=o(36185),c=o(34967),u={"300x250":500,"320x100":500,"300x50":500,"320x50":500},m=e=>{const{isNoAds:t}=e,o=e.config.adsConfig.enableStickyMidContent||!1,[a,s]=r(),c=o&&a&&2===a.length?`${a[0]}x${a[1]}`:"0x0";return t?null:n.createElement(d,{height:u[c]||null,className:"ad-stickymidcontent"},n.createElement(l,{group:"ads"},n.createElement(i,{position:"mid-content",handleAdSizeChange:e=>{s(e)},shouldDisplayLabel:!0,...e})))};m.propTypes={config:a.object,isNoAds:a.bool},m.displayName="StickyMidContent",e.exports=c(s(m,"StickyMidContent"),{keysToPluck:["isNoAds"]})},79243:(e,t,o)=>{const{requestUserContentAggregatorService:n}=o(99774),{queryGalleryUserPoll:r,queryGalleryUserPollNoResults:a,queryGalleryPolls:i,mutateGalleryPoll:l,mutateGalleryVote:s,mutateGalleryVoteNoResults:d,mutateGalleryPollNoResults:c}=o(52872);e.exports=e=>{const t=t=>{e({type:"SET_KEY",key:"galleryPoll.vote",value:t})},o=t=>{e({type:"SET_KEY",key:"galleryPoll.isAuthenticated",value:t})};return{fetchGalleryUserPoll:async e=>{const{uri:t,...o}=e;try{return await n(t,e.hideVotingResults?a:r,{...o})}catch(e){throw new Error("GraphQL could not resolve gallery user poll query")}},fetchGalleryPolls:async e=>{const{uri:t,...o}=e;try{return n(t,i,{...o})}catch(e){throw new Error("GraphQL could not resolve gallery poll query")}},createGalleryPoll:async e=>{const{uri:r,...a}=e;try{const i=await n(r,e.hideVotingResults?c:l,{...a});return t(i.addPoll.votes),o(i.isAuthenticated),i}catch(e){throw new Error(e)}},addGalleryVote:async e=>{const{uri:r,...a}=e;try{const i=await n(r,e.hideVotingResults?d:s,{...a});return t(i.addVote.votes),o(i.isAuthenticated),i}catch(e){throw new Error(e)}}}}},52872:e=>{e.exports={queryGalleryUserPoll:"\n query GetGalleryUserPoll($orgId: ID!, $galleryId: String, $userId: String) {\n getUserPoll(orgId: $orgId, userId: $userId, galleryId: $galleryId) {\n orgId\n userId\n galleryId\n votes {\n imageId\n result\n }\n computation {\n imageId\n tallyResults {\n result\n count\n percentage\n }\n }\n }\n }\n",queryGalleryUserPollNoResults:"\n query GetGalleryUserPoll($orgId: ID!, $galleryId: String, $userId: String) {\n getUserPoll(orgId: $orgId, userId: $userId, galleryId: $galleryId) {\n orgId\n userId\n galleryId\n votes {\n imageId\n result\n }\n }\n }\n",queryGalleryPolls:"\n query GetGalleryPolls($galleryId: String) {\n getAllVotes(galleryId: $galleryId) {\n userId\n galleryId\n votes {\n imageId\n result\n }\n }\n }\n",mutateGalleryPoll:"\n mutation MutateGalleryPoll(\n $orgId: ID!\n $userId: String!\n $galleryId: String!\n $imageId: String\n $result: Boolean\n ) {\n addPoll(\n input: {\n orgId: $orgId\n userId: $userId\n galleryId: $galleryId\n vote: { imageId: $imageId, result: $result }\n }\n ) {\n orgId\n userId\n galleryId\n votes {\n imageId\n result\n }\n computation {\n imageId\n tallyResults {\n result\n count\n percentage\n }\n }\n }\n }\n",mutateGalleryPollNoResults:"\n mutation MutateGalleryPoll(\n $orgId: ID!\n $userId: String!\n $galleryId: String!\n $imageId: String\n $result: Boolean\n ) {\n addPoll(\n input: {\n orgId: $orgId\n userId: $userId\n galleryId: $galleryId\n vote: { imageId: $imageId, result: $result }\n }\n ) {\n orgId\n userId\n galleryId\n votes {\n imageId\n result\n }\n }\n }\n",mutateGalleryVote:"\n mutation MutateGalleryVote(\n $orgId: ID!\n $userId: String\n $galleryId: String\n $imageId: String\n $result: Boolean\n ) {\n addVote(\n input: {\n orgId: $orgId\n userId: $userId\n galleryId: $galleryId\n vote: { imageId: $imageId, result: $result }\n }\n ) {\n orgId\n userId\n galleryId\n votes {\n imageId\n result\n }\n computation {\n imageId\n tallyResults {\n result\n count\n percentage\n }\n }\n }\n }\n",mutateGalleryVoteNoResults:"\n mutation MutateGalleryVote(\n $orgId: ID!\n $userId: String\n $galleryId: String\n $imageId: String\n $result: Boolean\n ) {\n addVote(\n input: {\n orgId: $orgId\n userId: $userId\n galleryId: $galleryId\n vote: { imageId: $imageId, result: $result }\n }\n ) {\n orgId\n userId\n galleryId\n votes {\n imageId\n result\n }\n }\n }\n"}},95472:(e,t,o)=>{const n=o(5556),r=o(96540),{useState:a}=o(96540),{useIntl:i}=o(37243),l=o(8509).A,s=o(19163),{Link:d,ProductSummaryGridShowMore:c,ProductSummaryGridShowLess:u,ProductSummaryGridCardCounter:m,ProductSummaryGridShowMoreLessWrapper:g,ProductSummaryGridShowLessDivider:p,ProductSummaryGridTitle:h}=o(363),y=({chunks:e,gridTitle:t,productsToDisplayOnLoad:o=3,showPriceOnButton:n=!0,showLocalisedOffers:y=!0,isUpcEnabled:b,actionIdFlags:f={},shouldUseBlackButton:w})=>{const{formatMessage:C}=i(),k=e.filter((e=>!(e.functionalTags&&e.functionalTags.length>0&&e.functionalTags.some((({name:e})=>"_no-product-summary-grid"===e))))),P=k.length>o?o:e.length,I=k.length>=10?10:k.length,[S,E]=a(!0),[v,x]=a(!1),[G,$]=a(P);return r.createElement(r.Fragment,null,r.createElement(h,null,t||C(l.defaultProductSummaryGridTitle)),k.slice(0,G).map(((e,t)=>r.createElement(s,{key:e.id||t,...e,itemIndex:t,showPriceOnButton:n,showLocalisedOffers:y,isUpcEnabled:b,actionIdFlags:f,shouldUseBlackButton:w}))),r.createElement(g,null,k.length>3&&S&&r.createElement(d,{onClick:()=>{if((()=>{const e=I+G;e>=k.length?($(k.length),E(!1)):$(e),x(!0)})(),window.dataLayer){const e={"Product-Grid":"showmore"};window.dataLayer.push({event:"product-grid-showmore",...e})}}},r.createElement(c,{showMore:S,showLess:v},C(l.showMore))),G>o&&v&&r.createElement(d,{onClick:()=>{$(P),x(!1),E(!0)}},r.createElement(p,{showMore:S}),r.createElement(u,null,C(l.showLess))),r.createElement(m,null,G," / ",k.length)))};y.propTypes={actionIdFlags:n.object,chunks:n.array.isRequired,gridTitle:n.string,isUpcEnabled:n.bool,productsToDisplayOnLoad:n.number,shouldUseBlackButton:n.bool,showLocalisedOffers:n.bool,showPriceOnButton:n.bool},y.displayName="ProductSummaryGrid",e.exports=y},19163:(e,t,o)=>{const n=o(5556),r=o(96540),{useIntl:a}=o(37243),i=o(38221),l=o(32485),s=o(73275),d=o(39832),{ProductEmbedImageLink:c}=o(53985),u=o(99172),m=o(8509).A,{formatGtmData:g,productImpressionTracking:p}=o(60162),{ProductSummaryWrapper:h,ProductSummaryImage:y,ProductSummaryAssetWrapper:b,ProductSummaryResponsiveAsset:f,ProductSummaryButton:w,ProductSummaryHed:C,ProductSummaryHedText:k,ProductSummaryDekReadMore:P,ProductSummaryBrandAndName:I}=o(363),{handleLinkClick:S}=o(43428),E=({brandAndName:e,ctaHref:t,ctaText:o,dangerousHed:n,isClickable:a,offers:i,productId:l,itemIndex:s,isUpcEnabled:c})=>{if(!n&&!e)return null;const u=r.createElement(C,null,n&&r.createElement(k,{isUpcEnabled:c,dangerouslySetInnerHTML:{__html:n}}),e&&r.createElement(I,{dangerouslySetInnerHTML:{__html:e}}),i.length>0&&r.createElement(P,{href:`#${l}`,dangerouslySetInnerHTML:{__html:o},onClick:()=>{if(window.dataLayer){const t={"Product-Grid":"recc-readmore","Product-Name":`${e}`,"Product-Grid-Click-Position":`${s}`};window.dataLayer.push({event:"product-grid-recc-readmore",...t})}}}));return a&&t?r.createElement(d,{href:t},u):u};E.propTypes={brandAndName:n.string,ctaHref:n.string,ctaText:n.string,dangerousHed:n.string,isClickable:n.bool,isUpcEnabled:n.bool,itemIndex:n.number,offers:n.array,productId:n.string};const v=({brand:e,buttonVariation:t,btnStyle:o,className:n,contentType:s,ctaHref:C,dangerousHed:k,dropShipSellers:P,image:I,itemIndex:v,isHedClickable:x,name:G,offers:$,id:R,showLocalisedOffers:B,showPriceOnButton:T,showOfferUrl:A,defaultImageForProductSummaryGrid:V,isUpcEnabled:L,actionIdFlags:M,shouldUseBlackButton:D})=>{const{formatMessage:N}=a(),_=[e,G].filter(Boolean).join(" "),O=N(m.readMore),U="product"===s?`${R}`:"",H="product"===s?{"data-buy-button":!0}:{},F=(I?.length?I[0]:I)||V,j=e=>{if($&&$.length>0)return e?$[0].offerUrl:$[0].purchaseUri},W=j(A),q={dangerousHed:k,brand:{name:e},id:U||R,index:v,contentType:s,offers:$,component:"product_summary_grid"};r.useEffect((()=>{window.addEventListener("load",(()=>p("ProductEmbed",document.getElementsByClassName("product-embed")))),window.addEventListener("scroll",i((()=>{p("ProductEmbed",document.getElementsByClassName("product-embed"))}),1e3))}),[]);const z=(e,t,o)=>{g({window,product:{...q},index:e,actionId:o,layout:"ProductEmbed",event:t,layoutTitle:k})};let J=!0;P?.length>0&&(J=P?.some((e=>!j(A)?.toLowerCase().includes(e))));const K={brand:e,brandAndName:_,buttonVariation:t,btnStyle:o,className:n,contentType:s,ctaHref:C,ctaText:O,dataAttrs:H,dropShipSellers:P,itemIndex:v,name:G,offers:$,productId:U,showLocalisedOffers:B,showPriceOnButton:T,showOfferUrl:A,isUpcEnabled:L,shouldUseBlackButton:D},Y=M?.enableActionIdForProductSummaryGrid,Q=W?.includes("cna.st")&&Y;return r.createElement(h,{className:l("product-embed",n),"data-event-boundary":"click",imageForItem:F,"data-testid":"ProductSummaryWrapper","data-item":JSON.stringify(q),onClick:()=>{if(window.dataLayer){const e={"Product-Grid":`info - ${k}`,"Product-Name":`${_}`,"Product-Grid-Click-Position":`${v}`};window.dataLayer.push({event:"product-grid-info-title",...e})}}},r.createElement(y,null,F&&r.createElement(b,{contentType:s,isUpcEnabled:L},"product"===s&&$&&$.length>0?r.createElement(c,{as:d,href:W,target:J?"_blank":"_self",rel:"sponsored noopener",onClick:(e,t)=>((e,t)=>{const o=e?.currentTarget?.getAttribute("href");Q&&o?S({event:e,gtmTrackOnClick:z,linkProps:o,setLinkProps:e=>{window.open(e,"_blank","noopener, noreferrer")},position:t,type:"GallerySlideImage",component:"product_summary_grid"}):z(t,e)})(e,t),attributes:{tabIndex:-1,"aria-hidden":!0,"data-offer-retailer":$[0].sellerName,"data-offer-url":$[0].offerUrl}},r.createElement(f,{...F})):r.createElement(f,{...F})),r.createElement(E,{brandAndName:_,ctaHref:C,ctaText:O,dangerousHed:k,isClickable:x,offers:$,productId:U,itemIndex:v,isUpcEnabled:L}),r.createElement(w,{productId:U,isUpcEnabled:L,actionIdFlags:M,...K,ctaHref:C||`#${R}`,as:u,gtmClickHandler:z})))};v.propTypes={actionIdFlags:n.object,brand:n.string,btnStyle:n.oneOf(["filled","outlined","text"]),buttonVariation:n.string,className:n.string,contentType:n.string.isRequired,cta:n.shape({article:n.string,product:n.string,recipe:n.string,review:n.string}),ctaHref:n.string,ctaText:n.string,dangerousHed:n.string,defaultImageForProductSummaryGrid:n.shape(s.propTypes),defaultProductSummaryImage:n.shape(s.propTypes),dropShipSellers:n.array,id:n.string,image:n.shape(s.propTypes),isHedClickable:n.bool,isUpcEnabled:n.bool,itemIndex:n.number,name:n.string,offers:n.array,price:n.string,shouldUseBlackButton:n.bool,showLocalisedOffers:n.bool,showOfferUrl:n.bool,showPriceOnButton:n.bool},v.displayName="ProductSummaryGridItem",e.exports=v},99172:(e,t,o)=>{const n=o(62193),r=o(5556),a=o(96540),i=o(18059),l=o(73730),{ProductSummaryGridOfferWrapper:s}=o(363),{handleAffiliateLinkClick:d}=o(14307),c=({buttonVariation:e,btnStyle:t,ctaHref:o,ctaText:r,dataAttrs:c,dropShipSellers:u,offers:m,showLocalisedOffers:g,showPriceOnButton:p,productId:h,showOfferUrl:y,brandAndName:b,itemIndex:f,isUpcEnabled:w,gtmClickHandler:C,actionIdFlags:k={},shouldUseBlackButton:P})=>{const I=k?.enableActionIdForProductSummaryGrid;return a.createElement(s,{isUpcEnabled:w},a.createElement(i,{buttonVariation:e,btnStyle:t,dataAttrs:c,defaultCTAText:r,offers:m,productId:h,showSellerNameBelowPrice:w,showCount:1,showPriceOnButton:p,showOfferUrl:y,dropShipSellers:u,showLocalisedOffers:g,onClickHandler:(e,t,o,n,a)=>{if(C(t,n,a),d(n,{label:e,position:t,link:o,component:"affiliate_button_link",actionId:a}),window.dataLayer){const e={"Product-Grid":"recc-buybutton","Product-Name":`${b||r}`,"Product-Grid-Click-Position":`${f}`};window.dataLayer.push({event:"product-grid-recc-buybutton",...e})}},isProductSummaryGridOffer:w,isActionIdEnabledForComponent:I,shouldUseBlackButton:P}),n(m)?a.createElement(l.Primary,{buttonVariation:e,btnStyle:"outlined",href:o,inputKind:"link",label:r,onClickHandler:()=>{if(window.dataLayer){const e={"Product-Grid":"info - readmorebutton","Product-Name":`${b||r}`,"Product-Grid-Click-Position":`${f}`};window.dataLayer.push({event:"product-grid-info-readmorebutton",...e})}}}):null)};c.propTypes={actionIdFlags:r.object,brandAndName:r.string,btnStyle:r.oneOf(["filled","outlined","text"]),buttonVariation:r.string,ctaHref:r.string,ctaText:r.string,dataAttrs:r.object,dropShipSellers:r.array,gtmClickHandler:r.func,isUpcEnabled:r.bool,itemIndex:r.number,offers:r.array,productId:r.string,shouldUseBlackButton:r.bool,showLocalisedOffers:r.bool,showOfferUrl:r.bool,showPriceOnButton:r.bool},c.displayName="ProductSummaryGridOffer",e.exports=c},25646:(e,t,o)=>{const{asConfiguredComponent:n}=o(12892),r=o(95472);e.exports=n(r,"ProductSummaryGrid")},363:(e,t,o)=>{const{default:n,css:r}=o(92168),{BaseText:a}=o(76955),i=o(73730),{BaseLink:l}=o(60881),{calculateSpacing:s,maxScreen:d,minMaxScreen:c,getColorStyles:u,getTypographyStyles:m,getColorToken:g,getLinkStyles:p}=o(26865),{BREAKPOINTS:h}=o(96472),y=o(73275),{ResponsiveImageContainer:b}=o(7228),{ProductOfferCtaBlock:f}=o(61366),{ButtonLabel:w}=o(18974),C=n(a).withConfig({displayName:"ProductSummaryGridTitle"})`
border-top: 1px solid
${({theme:e})=>g(e,"colors.consumption.body.standard.divider")};
border-bottom: 1px solid
${({theme:e})=>g(e,"colors.consumption.body.standard.divider")};
padding: ${s(2)} 0 ${s(2)};
`;C.defaultProps={as:"header",typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-secondary"};const k=n.div.withConfig({displayName:"ProductSummaryCtaBlock"})``,P=n(i.Utility).withConfig({displayName:"ProductSummaryCaptionButton"})`
margin-top: ${s(4)};
`,I=n.span.withConfig({displayName:"ProductSummaryHedText"})`
display: block;
margin-bottom: ${s(1)};
${({isUpcEnabled:e,theme:t})=>e&&`\n ${m(t,"typography.definitions.globalEditorial.context-secondary")};\n ${u(t,"color","colors.interactive.base.black")};\n margin-bottom: ${s(1.5)}};\n `}
`,S=n(a).withConfig({displayName:"ProductSummaryHed"})`
grid-area: content;
`;S.defaultProps={colorToken:"colors.consumption.body.standard.subhed",typeIdentity:"typography.definitions.consumptionEditorial.subhed-aux-secondary"};const E=n.div.withConfig({displayName:"ProductSummaryBrandAndName"})`
${({theme:e})=>m(e,"typography.definitions.consumptionEditorial.description-embed")};
margin-bottom: ${s(1.5)};
${({theme:e})=>u(e,"color","colors.consumption.body.standard.body")};
`,v=n(l).withConfig({displayName:"ProductSummaryDekReadMore"})`
${({theme:e})=>m(e,"typography.definitions.utility.button-utility")}
display: inline-block;
font-style: normal;
`;v.defaultProps={as:"a",colorStaticLinkToken:"colors.interactive.base.black",colorToken:null,linkStyle:"global"};const x=n.div.withConfig({displayName:"ProductSummaryGridShowMoreLessWrapper"})`
display: grid;
grid-template-columns: auto auto repeat(5, 1fr);
align-items: center;
margin-top: ${s(2)};
`,G=n(l).withConfig({displayName:"ProductSummaryGridShowMore"})`
${({theme:e})=>m(e,"typography.definitions.utility.button-core")}
`;G.defaultProps={as:"a",colorStaticLinkToken:"colors.interactive.base.black",colorToken:null,linkStyle:"global"};const $=n(l).withConfig({displayName:"ProductSummaryGridShowLess"})`
${({theme:e})=>m(e,"typography.definitions.utility.button-core")}
`;$.defaultProps={as:"a",colorStaticLinkToken:"colors.interactive.base.black",colorToken:null,linkStyle:"global"};const R=n.div.withConfig({displayName:"ProductSummaryGridShowLessDivider"})`
${({showMore:e})=>e&&r`
display: inline-block;
margin: 0 ${s(1.5)};
border-left: 1px solid
${g("colors.consumption.body.standard.divider")};
height: 10px;
content: '';
${d(h.md)} {
margin-right: ${s(1.5)};
}
`}
`,B=n.div.withConfig({displayName:"ProductSummaryGridCardCounter"})`
grid-column: 8;
justify-self: end;
${({theme:e})=>m(e,"typography.definitions.globalEditorial.numerical-small")};
margin-top: ${s(.4)};
color: ${g("colors.consumption.body.standard.body-deemphasized")};
`,T=n.a.withConfig({displayName:"Link"})`
${({theme:e})=>p(e,"colors.consumption.body.standard.link","colors.consumption.body.standard.link-hover")};
`,A=n.div.withConfig({displayName:"ProductSummaryGridOfferWrapper"})`
grid-area: button;
a {
min-width: 15rem;
}
${f} > a, > a {
padding: 0;
${({isUpcEnabled:e})=>`height : ${e?"48px":"40px"};`};
@media (max-width: calc(${h.md} - 1px)) {
width: 100%;
}
${c(h.md,h.lg)} {
width: 300px;
}
${c(h.lg,h.xl)} {
width: 224px;
}
${c(h.xl,h.xxl)} {
width: 222px;
}
${w} {
/* stylelint-disable-next-line value-no-vendor-prefix */
display: -webkit-box;
padding: 0 8px 0;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
/* stylelint-disable-next-line value-no-vendor-prefix */
}
}
@media (max-width: calc(${h.md} - 1px)) {
margin-top: ${s(2.5)};
a {
width: 100%;
}
}
`,V=n.div.withConfig({displayName:"ProductSummaryButton"})``,L=n(y).withConfig({displayName:"ProductSummaryResponsiveAsset"})`
& {
${b} {
display: block;
width: 69px;
max-width: 100%;
}
}
& .responsive-image {
display: block;
}
`,M=n.div.withConfig({displayName:"ProductSummaryAssetWrapper"})`
grid-area: image;
picture {
width: 100%;
}
img {
background-color: ${({theme:e,isUpcEnabled:t})=>t&&`${g(e,"colors.consumption.body.standard.bg-card")}`};
}
a {
padding-left: 0;
}
`,D=n.figure.withConfig({displayName:"ProductSummaryImage"})`
display: grid;
grid-template-areas: 'image content button';
grid-template-columns: 1fr 3fr 2fr;
column-gap: ${s(1.5)};
margin: 0;
padding: ${s(2)} 0;
width: 100%;
@media (max-width: calc(${h.md} - 1px)) {
grid-template-areas:
'content content content image'
'button button button button';
}
`,N=n.div.withConfig({displayName:"ProductSummaryWrapper"})`
border-bottom: 1px solid
${({theme:e})=>g(e,"colors.consumption.body.standard.divider")};
${({hasBackground:e})=>e&&r`
${({theme:e})=>u(e,"background-color","colors.consumption.body.standard.bg-card")};
padding-bottom: ${s(6)};
${d(h.md)} {
margin: 0 0 ${s(12)};
}
${D} {
margin: 0;
}
`}
${M} {
width: 100%;
height: 100%;
}
`;e.exports={ProductSummaryWrapper:N,ProductSummaryImage:D,ProductSummaryAssetWrapper:M,ProductSummaryResponsiveAsset:L,ProductSummaryButton:V,ProductSummaryGridOfferWrapper:A,ProductSummaryBrandAndName:E,ProductSummaryHed:S,ProductSummaryHedText:I,ProductSummaryDekReadMore:v,ProductSummaryCtaBlock:k,ProductSummaryCaptionButton:P,ProductSummaryGridShowMoreLessWrapper:x,ProductSummaryGridShowMore:G,ProductSummaryGridShowLess:$,ProductSummaryGridShowLessDivider:R,ProductSummaryGridCardCounter:B,ProductSummaryGridTitle:C,Link:T}},8509:(e,t,o)=>{const n=o(37243);t.A=(0,n.defineMessages)({gridTitle:{id:"ProductSummaryGrid.GridTitle",defaultMessage:"Featured in this article",description:"Product Summary Grid title"},readMore:{id:"ProductSummaryGrid.ReadMore",defaultMessage:"Read more",description:"Product Summary Grid accordian to read more"},showMore:{id:"ProductSummaryGrid.ShowMore",defaultMessage:"Show more",description:"Product Summary Grid button text to show more grid items"},showLess:{id:"ProductSummaryGrid.ShowLess",defaultMessage:"Show less",description:"Product Summary Grid button text to show less grid items",isConfigurable:!0},defaultProductSummaryGridTitle:{id:"ProductSummaryGrid.DefaultProductSummaryGridTitle",defaultMessage:"Featured in this article",description:"default title for product summary grid"}})},8904:function(e,t,o){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConditionalWrapper=void 0;const r=n(o(5556));t.ConditionalWrapper=({condition:e,wrapper:t,children:o})=>e?t(o):o,t.ConditionalWrapper.propTypes={children:r.default.node.isRequired,condition:r.default.bool.isRequired,wrapper:r.default.func.isRequired}},82431:(e,t,o)=>{const n=o(32485),r=o(5556),a=o(96540),{injectIntl:i,useIntl:l}=o(37243),{useState:s,useEffect:d}=o(96540),c=o(38221),{Virtuoso:u}=o(35778),m=o(3820).A,g=o(15822).default,{I18nProvider:p}=o(20539),{asConfiguredComponent:h}=o(12892),y=o(92989),b=o(99244),f=o(6538),{BeopScript:w}=o(85508),C=o(31414),k=o(69389),P=o(71656),I=o(63510),S=o(75966),{googleAnalytics:E}=o(90090),v=o(78372),{PaymentGateway:x}=o(92807),G=o(36898),$=o(92726),R=o(21757),B=o(66657),T=o(14935),A=o(35676),V=o(31411),L=o(94136),{connector:M}=o(57744),D=o(96303),{getInterludePosition:N,galleryStrategies:_}=o(15316),O=o(72159),{PaywallCollaborator:U,withGalleryTruncation:H}=o(81427),{shouldRenderNothing:F}=o(29670),j=o(98531),W=o(48496),q=o(48286),z=o(77587),{ReadShopViewButton:J,ReadShopButtonWrapper:K,GalleryActionBar:Y,GalleryPageChunkRow:Q,GalleryPageTextBlock:Z,GalleryPageIntroBody:X,GalleryOutro:ee,GalleryPageSlides:te,GalleryPageDisclaimerGrid:oe,GalleryPageContenBackground:ne,GalleryPageContentChunks:re,GalleryPageHorizontalSliderComponent:ae,GalleryPageWrapper:ie,GalleryPageContentFooter:le,GalleryPageDisclaimer:se,GallerySignInCalloutWrapper:de,GallerySignInCalloutHed:ce,GallerySignInCalloutDek:ue,GallerySignInCalloutSignInLink:me,GalleryProductSummaryGridWrapper:ge}=o(52234),pe=o(10220),{MultiPackageRow:he}=o(67275),ye=o(49776),be=o(61852),fe=o(31226),{trackComponent:we}=o(92716),{interactionResponse:Ce}=o(56187),{getJsonMLChildren:ke}=o(26865),Pe=o(25646),Ie=o(87963),Se=o(72014),{getVariationNames:Ee}=o(81372),{isDesktopBrowser:ve}=o(72362),{getContentFooterWrapper:xe}=o(62265),{default:Ge}=o(56602),{ConditionalWrapper:$e}=o(8904),{withLightbox:Re}=o(83726),{Commenting:Be}=o(81063),{LazyGallery:Te,shouldDisplayInterlude:Ae,getInterludeRailPositionInstance:Ve,getMidContentAdJsx:Le,getAdForChunk:Me,textBlock:De}=o(46166),Ne=({chunks:e,config:t,componentConfig:o,isReadViewShopViewEnabled:r,dropShipSellers:i,shouldEnableBookmarkDrawers:c,nodeIndexForNewsletterPosition:p,shopType:h,gallery:y,getRef:f,gridColumns:w,hasDivider:C,hasPhotoBookmark:k,interlude:P,interludeRightRailFrequency:I,isInContentAdsDisabled:v,isMidContentAdsDisabled:x,relatedVideo:G,shouldUseProductSummaryGrid:$,showAdRail:B,showStyliticsMarker:T,showFirstRailRecirc:A,textBlockClamp:V,user:L,hasAdditionalDropcapStyling:M,newsletterPosition:D,isMobileDevice:U})=>{const[H,F]=s("");d((()=>{let e;e=window.location.pathname,F(`${g.oidcAuth}?redirectURL=${encodeURIComponent(e)}&skipAccountLink=true&authSource=sign-in-modal-voting&source=GALLERY_VOTING`)}),[]);const{alternateVotingPrompt:j,body:W,defaultVotingPrompt:Y,hasProduct:ne,hasHotel:ie,hasProductLisitingCarousel:le,hasVotingAuthBypass:pe,inContentGalleryPosition:he,items:we,newslettersInline:Ce,recircMostPopular:Ie,showOfferUrl:Se,shouldLoadOnScroll:Ee,maxSSRSlides:Re,signInCalloutHed:Be,signInCalloutHedAlt:Ne,signInCalloutDek:_e,slideFormat:Oe,shouldEnableHorizontalSlideView:Ue,tagCloud:He,shouldHideProductSummaryGrid:Fe,sponsorProductGalleryPosition:je,isUpcEnabled:We,showDisclaimer:qe,disclaimerText:ze,showVirtuosoGallery:Je,disclaimerPosition:Ke,enableCardLevelBookmark:Ye,enableCommentsCount:Qe,outro:Ze}=y,Xe=a.useMemo((()=>({brand:P.brand,playerBase:P.playerBase,embeddedVideos:P.embeddedVideos,hasExcludedEmbed:P.hasExcludedEmbed,humanName:P.humanName,isTitleLeftAligned:P.isTitleLeftAligned,isTitleBelowVideo:P.isTitleBelowVideo,isRailEligible:P.isRailEligible,isTitleLinkDisabled:P.isTitleLinkDisabled,enabled:P?.strategy?.enabled,interludeOverrideId:P.interludeOverrideId,shouldApplyMarginForInterlude:P.shouldApplyMarginForInterlude,relatedVideo:G})),[P,G]),{formatMessage:et}=l(),{isAuthenticated:tt}=L,[ot,nt]=s("");d((()=>{nt(h)}),[h]);const rt=a.useCallback((e=>{E.emitGoogleTrackingEvent("toggle-click-event",{name:e.toLowerCase(),value:e})}),[]),at="shop"===ot,it=a.createElement(K,{isReadViewShopViewEnabled:r},a.createElement(b,{isReadViewShopViewEnabled:r},a.createElement(J,{onClick:()=>rt("Read View")},a.createElement(fe.Utility,{btnStyle:"text",hasEnableIcon:!0,inputKind:"button",iconPosition:"before",ButtonIcon:be,isChecked:!at,className:n("read-button",{"is-button-active":"read"===ot}),onClickHandler:()=>nt("read"),label:"read view"})),a.createElement(J,{onClick:()=>rt("Shop View")},a.createElement(fe.Utility,{btnStyle:"text",hasEnableIcon:!0,inputKind:"button",iconPosition:"before",ButtonIcon:ye,isChecked:at,className:n("shop-button",{"is-button-active":"shop"===ot}),onClickHandler:()=>nt("shop"),label:"shop view"}))));let lt,st=0,dt=0,ct=0,ut=he,mt=0,gt=je;const pt=[];if(W){const t=ke(W);let o=[];t.forEach((e=>{const[t]=e;"ad"===t?(pt[dt]=o,dt++,o=[]):o=[...o,e]})),lt=o,(e=>{e.forEach(((e,t)=>{const o=dt>0&&t
st&&(ct=t+dt,ut=he-st-1),je<=st+o&&je>st&&(mt=t+dt,gt=je-st-1),st+=o}))})(e=[...pt,...e])}const ht=N(P,_,e.length,dt),yt=a.useMemo((()=>({...Xe,isRightRail:!1})),[Xe]),bt=e=>{const o=t?.adsConfig.maxMidContentAdsDesktop,n=t?.adsConfig.maxMidContentAdsMobile,r=ve();return!(!r&&n<=0||r&&o<=0||!(!r&&e>=n||r&&e>=o))},ft=a.useCallback(((t,l,s)=>{const d=!x&&(0===l&&s.length>=2||l>=1&&s[l+1]),u=0===l,g=l===s.length-1,h=Ae(Xe,l,I),y=Ve(Xe,l,I),b=xe(o,{type:"gallery",showAdRail:B,gridColumns:w}),P=e.length-1===l,S={newsletterType:"slim-newsletter",newsletters:Ce},v=lF.includes(e.url)));let z=null;l("signin-modal-oidc-sign-in-click",E.emitGoogleTrackingEvent("signin-modal-oidc-sign-in-click",{signInModalType:"gallery voting"}))},et(m.SignInCalloutLinkText)," »"))),l>=dt&&a.createElement(te,{alternateVotingPrompt:j,chunk:t,outro:Ze,chunksCount:e.length,defaultVotingPrompt:Y,getRef:f,inContentChunkIndex:ct,hasPhotoBookmark:k,showVirtuosoGallery:Je,inContentAdItemIndex:ut,sponsoredProductChunkIndex:mt,sponsorProductIndex:gt,slideFormat:Oe,index:l,shouldLoadOnScroll:Ee,shouldShowCM:u,isReadViewShopViewEnabled:r,dropShipSellers:i,hasProduct:ne,newslettersInline:Ce,nodeIndexForNewsletterPosition:p,shopTypeView:ot,showOfferUrl:Se,interlude:yt,shouldIncludeInterlude:ht===l,newsletterPosition:D,shouldEnableBookmarkDrawers:c,shouldEnableCardLevelBookmark:Ye,shouldEnableCommentsCount:Qe}),g&&T&&a.createElement("div",{id:"stylitics-marker"}),P&&a.createElement(ee,null,a.createElement(X,{hasIntroDivider:C,body:Ze}),"end-of-list"===D&&Ce&&a.createElement(O,{...S}))),B&&!U&&ve()&&Me({index:l,interludeProps:{...Xe,positionInstance:y},isFirstChunk:u,isLastChunk:g,isInterludeChunk:h,isTextChunk:l{let t;return e.offers&&e.offers[0]&&(t={ctaHref:e.offers[0].purchaseUri,sellerName:e.offers[0].sellerName,price:e.offers[0].price,reducedPrice:e.offers[0].reducedPrice}),{...e,dangerousDek:e.dek,...t}})),Ct=xe(o,{type:"gallery",showAdRail:B,gridColumns:w});if(Ue){const e=a.createElement("div",null,a.createElement(Ct,null,a.createElement(S,{slides:wt,display:"slideshow"}),B&&Me({interludeProps:Xe,isFirstChunk:!0,isLastChunk:!1,isInterludeChunk:!1,isTextChunk:!1})),a.createElement(Ct,null,a.createElement("div",null,De(W,ne,ie,le,V,C,B,We,qe,ze))));return a.createElement(re,{"data-attribute-verso-pattern":"gallery-body",hasAdditionalDropcapStyling:M},a.createElement(ae,null,e))}const kt=a.createElement(Q,null,a.createElement(Ct,null,a.createElement(oe,{disclaimerPosition:Ke},a.createElement(se,{disclaimerHtml:ze,hasTopRule:!1,contentAlign:"left",disclaimerPosition:Ke})))),Pt=$&&!Fe;return a.createElement(Ge,{isPhotoBookmarkingEnabled:k,channel:"StreetStyle"},a.createElement(re,{"data-attribute-verso-pattern":"gallery-body",hasAdditionalDropcapStyling:M},"middle"===Ke&&qe&&kt,Pt&&a.createElement(Q,null,a.createElement(Ct,null,a.createElement(ge,null,a.createElement(Pe,{chunks:e.slice(pt.length).flat(2),isUpcEnabled:We})))),a.createElement($e,{condition:!!Y,wrapper:e=>a.createElement(z,null,e)},!Je&&a.createElement(a.Fragment,null,e.map(((t,n,l)=>a.createElement(Te,{key:n,shouldLimitMidContent:bt(n),chunk:t,outro:Ze,ReadShopButtonWrapperJsx:it,textChunkCount:dt,componentConfig:o,newslettersInline:Ce,gridColumns:w,showAdRail:B,isMidContentAdsDisabled:x,interludeRightRailFrequency:I,alternateVotingPrompt:j,index:n,chunks:e,interludeInfo:Xe,original:l,defaultVotingPrompt:Y,getRef:f,inContentChunkIndex:ct,hasPhotoBookmark:k,showVirtuosoGallery:Je,inContentAdItemIndex:ut,sponsoredProductChunkIndex:mt,sponsorProductIndex:gt,slideFormat:Oe,shouldLoadOnScroll:Ee,isReadViewShopViewEnabled:r,dropShipSellers:i,hasProduct:ne,nodeIndexForNewsletterPosition:p,shopTypeView:ot,showOfferUrl:Se,interlude:yt,shouldIncludeInterlude:ht===n,newsletterPosition:D,shouldEnableBookmarkDrawers:c,shouldEnableCardLevelBookmark:Ye,shouldEnableCommentsCount:Qe,signInCalloutHedAlt:Ne,signInCalloutHed:Be,signInCalloutDek:_e,isAuthenticated:tt,hasVotingAuthBypass:pe,showStyliticsMarker:T,hasDivider:C,isMobileDevice:U,showFirstRailRecirc:A,recircMostPopular:Ie,tagCloud:He,hasHotel:ie,hasProductLisitingCarousel:le,textBlockClamp:V,isUpcEnabled:We,textChunkToBeIncludedWithSLide:lt})))),Je&&a.createElement(u,{useWindowScroll:!0,skipAnimationFrameInResizeObserver:!0,defaultItemHeight:3e3,initialTopMostItemIndex:0,rangeChanged:e=>{E.trackPageView(`list${e.endIndex}`)},initialItemCount:Re>0?Re:e.length,totalCount:e.length,increaseViewportBy:{top:5e3,bottom:5e3},itemContent:t=>ft(e[t],t,e)})),"bottom"===Ke&&qe&&kt))};Ne.propTypes={chunks:r.array,componentConfig:r.object,config:r.object,dropShipSellers:r.arrayOf(r.string),gallery:r.object.isRequired,getRef:r.func,gridColumns:r.shape({start:r.number,end:r.number}),hasAdditionalDropcapStyling:r.bool,hasDivider:r.bool,hasPhotoBookmark:r.bool,interlude:r.object,interludeRightRailFrequency:r.number,isInContentAdsDisabled:r.bool,isMidContentAdsDisabled:r.bool,isMobileDevice:r.bool,isReadViewShopViewEnabled:r.bool,newsletterPosition:r.oneOf(["end-of-list"]),newslettersInline:r.object,nodeIndexForNewsletterPosition:r.number,relatedVideo:r.object,shopType:r.string,shouldEnableBookmarkDrawers:r.bool,shouldUseProductSummaryGrid:r.bool,showAdRail:r.bool,showFirstRailRecirc:r.bool,showStyliticsMarker:r.bool,textBlockClamp:r.shape({analyticsEvent:r.string,breakpoint:r.string,clampReadLessText:r.string,clampReadMoreText:r.string,isCollapsible:r.bool,lines:r.number,includeCategories:r.arrayOf(r.string)}),user:r.object};const _e=({attributes:e,className:t,communityExperience:{enableCommunityExperience:o}={},componentConfig:r,config:i,featureFlags:l,gallery:s,hasChannelNavigation:d,hasDivider:u=!1,hasLightbox:m,hasPhotoBookmark:g,hasRecircDriver:b,hasSlideShow:I,interludeRightRailFrequency:S=0,isCartoonGallery:E=!1,layouts:v,nodeIndexForNewsletterPosition:R,hideLeadingZero:A=!1,taboola:M,payment:D,related:N=[],productCarousel:_={},shouldShowPromotionalSlide:O=!0,showAdRail:q=!0,showEnlargeIcon:z,showFirstRailRecirc:J,showOrderedGallery:K=!1,showSlideCount:Q=!0,beOp:X,isReadViewShopViewEnabled:ee,dropShipSellers:te,shopType:re,slideShowVariation:ae,textBlockClamp:de={isCollapsible:!1},actionBarLargeScreenVariation:ce,isActionBarStickyLargeScreen:ue,actionBarButtons:me,hasAdditionalDropcapStyling:ge=!1,newsletterPosition:ye,variationName:be})=>{const fe=a.useRef(0),ke=a.useRef();a.useEffect((()=>{const e=c((e=>{e?.enableActionBar&&ke?.current?.offsetHeight!==fe.current&&(fe.current=ke?.current?.offsetHeight)}),200);return window.addEventListener("scroll",e),window.addEventListener("resize",e),(async()=>{await Ce(),we("GalleryPage")})(),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}}),[]);const{id:Pe,changeCadenceAtSlide:Se,channelMap:Ee,contentWarnings:ve,defaultVotingPrompt:$e,hasAffiliateLinkDisabled:Te,header:Ae,hideContributorBio:Ve,hierarchy:Le,initialMidContentPosition:Me,interlude:De={},isInContentAdsDisabled:_e,isMidContentAdsDisabled:Oe,isMobileDevice:Ue,isUpcEnabled:He,items:Fe,itemsCount:je,lang:We,langTranslations:qe,longGalleryDisplayMidContentCadence:ze,midContentCadence:Je,newsletter:Ke,newslettersInline:Ye,photoItems:Qe,promotionalSlide:Ze,promotionalSlideIndex:Xe=0,recircRelated:et,relatedVideo:tt,showAgeGate:ot,showBookmark:nt,showBreadcrumbTrail:rt,showHotelRecirc:at,socialMedia:it,tagCloud:lt={},shouldEnableVMG:st,recircs:dt=[],cnCoupons:ct=[],customHeading:ut={},showDisclaimer:mt,disclaimerText:gt,shouldUseProductSummaryGrid:pt,disclaimerPosition:ht}=s,{noAdRail:yt}=v||{},{gridColumns:bt}=yt||{},ft=je.count>=15,wt=!Oe&&!F("ads",D,l);let Ct=0;const kt=(e,t,o,n,r)=>{if(!t&&!o)return"";const a=`${n+1}`;return o?e||1!==a.length?a:`0${a}`:`${a}/${r.length}`},Pt=Fe.map(((e,t)=>{const o=((e,t=!1)=>{const o=e+1;return{include:t?(o+3)%8==0:o%6==0}})(t,wt);return o.include&&Ct++,{...e,order:t,totalCount:Fe.length,preHeaderOne:kt(A,Q,K,t,Fe),showOrderedGallery:K,...ft&&o.include?{recirc:{...o,reelId:Ct}}:{},hasAffiliateLinkDisabled:Te}}));O&&Ze&&Pt.splice(Xe,0,Ze);const It=wt?C(Pt,{initialMidContentPosition:Me,midContentCadence:Je,changeCadenceAtSlide:Se,longGalleryDisplayMidContentCadence:ze}):[Pt],St=xe(r,{type:"gallery",showAdRail:q,gridColumns:bt}),{contributors:Et}=s.header,vt=dt.map(((e,t)=>{const o=h(j,e.displayName),{results:n,destinationPage:r,heading:i,location:l,recommendedClickout:s,recommendedType:d}=e;return b&&r?a.createElement(L,{key:`SummaryCollectionSplitColumns${t}`,recommendedItems:{items:n,recommendedType:d,recommendedClickout:s},guideItem:[r],location:l}):a.createElement(W,{key:`ConnectedErrorBoundary${t}`},a.createElement(o,{related:e.related,heading:i}))})),xt=tt&&tt.useRelatedVideo,Gt=d&&a.createElement(P,null),{enableEnhancedCartoonExperience:$t,enableStyliticsMarker:Rt,hasNativeShareButton:Bt,shouldEnableNativeShareOnDesktop:Tt,shouldRemoveBackgroundColor:At,enableActionBar:Vt,enableBookmarking:Lt}=l,Mt=i?.account?.bookmark,Dt=Mt?.enableBookmarkDrawers||!1,Nt=$t&&E,_t=H(m?Re({Component:Ne,slides:Qe,hasSlideShow:I,slideShowVariation:ae,showEnlargeIcon:z,theme:"inverted",variationName:be}):Ne,"chunks");return a.createElement(ie,{additionalNavigation:Gt,config:i,featureFlags:l,hasBaseAds:!0,lang:We,customHeading:ut,mainRef:ke,isUpcEnabled:He},(e=>{const t=e?.accountID||"";return!!e?.isEnabled&&a.createElement(w,{accountId:t})})(X),a.createElement(p,{locale:We,translations:qe},(nt||$e)&&a.createElement(T,{analyticsType:"saved stories"}),a.createElement("article",{...e,className:n("gallery","main-content",t),lang:We},mt&&"top"===ht&&a.createElement(B,null,a.createElement(oe,{as:St,disclaimerPosition:ht},a.createElement(se,{disclaimerHtml:gt,hasTopRule:!1,contentAlign:"center",disclaimerPosition:ht}))),Nt?a.createElement(Ie,{items:Fe,midGalleryAdCadence:10,midGalleryAdFirstIndex:4,showPublishedDate:!0,id:s.id,title:s?.header?.dangerousHed,carouselPlacedIn:"gallery"}):a.createElement(a.Fragment,null,a.createElement(B,null,Ae.sponsoredContentHeaderProps&&a.createElement(V,{...Ae.sponsoredContentHeaderProps,className:"light-theme"}),rt&&a.createElement(f,{hierarchy:Le,shouldRemoveBackgroundColor:At}),a.createElement(k,{...Ae,className:Ae.className,itemsCount:je,socialMedia:it,stickySocialAnchorBottom:[{selector:".recirc-list__container",edge:"bottom"},{selector:".content-bottom-anchor",edge:"bottom"}],stickySocialAnchorTop:{selector:".sticky-box__gallery-anchor-top"},hasNativeShareButton:Bt,shouldEnableNativeShareOnDesktop:Tt})),a.createElement(ne,{enableActionBar:Vt},a.createElement(Ge,{isPhotoBookmarkingEnabled:g},a.createElement(Y,{actionBarLargeScreenVariation:ce,isActionBarStickyLargeScreen:ue,actionBarButtons:me,showActionBar:Vt,articleLength:fe.current,shouldEnableBookmarkDrawers:Dt,image:Ae.lede})),a.createElement(U,{chunks:It,config:i,component:_t,interlude:De,interludeRightRailFrequency:S,isInContentAdsDisabled:_e,isMidContentAdsDisabled:Oe,isMobileDevice:Ue,isBookmarkingEnabled:Lt,hasDivider:u,hasPhotoBookmark:g,gallery:s,gridColumns:bt,name:"chunked-gallery-content",nodeIndexForNewsletterPosition:R,relatedVideo:tt,showAdRail:q,showStyliticsMarker:Rt,isReadViewShopViewEnabled:ee,dropShipSellers:te,shopType:re,shouldUseProductSummaryGrid:Fe.length>0&&pt,showFirstRailRecirc:J,textBlockClamp:de,hasAdditionalDropcapStyling:ge,newsletterPosition:ye,shouldEnableBookmarkDrawers:Dt})),a.createElement(St,null,a.createElement(Z,{shouldEnableDataJourneyHook:!1},a.createElement($,null),a.createElement(x,{group:"paywall"},a.createElement(G,null)))),((e,t)=>t?.isEnabled&&a.createElement(B,null,a.createElement(e,null,a.createElement("div",{className:"beop-body"},a.createElement("div",null,a.createElement("div",{className:"BeOpWidget"}))))))(St,X),_&&a.createElement(he,{key:"galleryCarouselProduct",dataJourneyHook:"row-content"},a.createElement(pe,{isUpcEnabled:He,..._,copilotId:Pe,hasAffiliateLinkDisabled:Te})),o&&a.createElement(Be,{hed:Ae.dangerousHed,id:Pe,ContentWrapper:St}),a.createElement(le,{showAdRail:q,channelMap:Ee,ContentWrapper:St,contributors:Et,hideContributorBio:Ve,newsletter:Ke,newslettersInline:Ye,taboola:M,recircs:dt,recircListElements:vt,recircRelated:et,related:N,relatedVideo:tt,tagCloud:lt,useRelatedVideo:xt,shouldEnableVMG:st,showHotelRecirc:at,cnCoupons:ct})),ot&&a.createElement(y,{content:{contentWarnings:ve}}))))};_e.propTypes={actionBarButtons:r.arrayOf(r.oneOf(["audio","bookmark"])),actionBarLargeScreenVariation:r.oneOf(Ee(Se)),attributes:r.object,beOp:r.shape({accountID:r.string,isEnabled:r.boolean}),className:r.string,communityExperience:r.shape({enableCommunityExperience:r.bool}),componentConfig:r.object,config:r.object,dropShipSellers:r.arrayOf(r.string),featureFlags:r.object,gallery:r.shape({alternateVotingPrompt:r.string,body:r.array,changeCadenceAtSlide:r.number,channelMap:r.object,cnCoupons:r.array,contentWarnings:r.array,customHeading:r.object,defaultVotingPrompt:r.string,disclaimerPosition:r.string,disclaimerText:r.string,showVirtuosoGallery:r.bool,showAgeGate:r.bool,showHotelRecirc:r.bool,hasAffiliateLinkDisabled:r.bool,hasHotel:r.bool,hasProduct:r.bool,hasProductLisitingCarousel:r.bool,hideContributorBio:r.bool,hierarchy:r.array,id:r.string,inContentGalleryPosition:r.number,initialMidContentPosition:r.number,isInContentAdsDisabled:r.bool,isMidContentAdsDisabled:r.bool,isMobileDevice:r.bool,hasProductSummaryGridConfigChannel:r.bool,isUpcEnabled:r.bool,header:r.shape(k.propTypes).isRequired,interlude:r.shape({...D.propTypes,rightRail:r.bool,strategy:r.object}),items:r.arrayOf(r.shape(I.propTypes)).isRequired,itemsCount:r.shape(v.propTypes),lang:r.string,langTranslations:r.object,longGalleryDisplayMidContentCadence:r.number,midContentCadence:r.number,newsletter:r.object,newslettersInline:r.array,outro:r.array,promotionalSlide:r.shape(I.propTypes),promotionalSlideIndex:r.number,recircMostPopular:r.array,recircRelated:r.array,relatedVideo:r.object,recircs:r.array,shouldLoadOnScroll:r.bool,maxSSRSlides:r.number,shouldEnableVMG:r.bool,shouldUseProductSummaryGrid:r.bool,showOfferUrl:r.bool,showBookmark:r.bool,showBreadcrumbTrail:r.bool,showDisclaimer:r.bool,socialMedia:r.shape(A.propTypes),sponsorProductGalleryPosition:r.number,tagCloud:r.shape({tags:r.arrayOf(r.shape({tag:r.string.isRequired,url:r.string}))}),photoItems:r.arrayOf(I.propTypes)}).isRequired,hasAdditionalDropcapStyling:r.bool,hasChannelNavigation:r.bool,hasDivider:r.bool,hasLightbox:r.bool,hasPhotoBookmark:r.bool,hasRecircDriver:r.bool,hasSlideShow:r.bool,hideLeadingZero:r.bool,interludeRightRailFrequency:r.number,isActionBarStickyLargeScreen:r.bool,isCartoonGallery:r.bool,isReadViewShopViewEnabled:r.bool,layouts:r.object,newsletterPosition:r.oneOf(["end-of-list"]),nodeIndexForNewsletterPosition:r.number,payment:r.object,productCarousel:r.object,related:r.array,shopType:r.string,shouldShowPromotionalSlide:r.bool,showAdRail:r.bool,showEnlargeIcon:r.bool,showFirstRailRecirc:r.bool,showOrderedGallery:r.bool,showSlideCount:r.bool,slideShowVariation:r.string,sponsoredProductGalleryItemPosition:r.number,taboola:r.shape({publisherId:r.string.isRequired,widgetScriptExcludeContentTypes:r.array,widgetScriptTextContentMode:r.string,widgetScriptTextContentContainer:r.string,widgetScriptTextContentPlacement:r.string}),textBlockClamp:r.shape({analyticsEvent:r.string,breakpoint:r.string,clampReadLessText:r.string,clampReadMoreText:r.string,isCollapsible:r.bool,lines:r.number,includeCategories:r.arrayOf(r.string)}),variationName:r.oneOf(["GalleryEmbed","Default"])},_e.displayName="GalleryPage",e.exports=M(i(_e),{keysToPluck:["communityExperience","componentConfig","config","gallery","taboola","productCarousel","related","payment","featureFlags","showFirstRailRecirc","isCartoonGallery","beOp","user"]})},77587:(e,t,o)=>{const n=o(5556),r=o(96540),{useIntl:a}=o(37243),{useState:i,useEffect:l}=o(96540),{connect:s}=o(67851),d=o(79243),c=o(22509),u=o(15564),{getCookie:m}=o(56892),g=o(3820).A,p="voting-id",{storageFactory:h}=o(60663),y=h((()=>window.localStorage)),{trackContentEngagementEvent:b}=o(14307),f=({addGalleryVote:e,children:t,createGalleryPoll:o,fetchGalleryUserPoll:n,gallery:s,user:d})=>{const[h,f]=i([]),[w,C]=i([]),[k,P]=i(!1),{formatMessage:I}=a(),S=()=>{const e=y.getItem(p),t=e||m("CN_xid");return"false"===t?e||!1:t};l((()=>{(async()=>{const e=S();if(e&&(s.defaultVotingPrompt&&d.isAuthenticated||s.hasVotingAuthBypass))try{const t=await n({galleryId:s.id,orgId:s.orgId,uri:s.userContentAggregatorUri,hasVersoProxy:s.hasVersoProxy,hideVotingResults:s.hideVotingResults,userId:e});f(t.getUserPoll.votes),C(t.getUserPoll.computation),P(t.getUserPoll.votes?.length>0)}catch{P(!1)}})()}),[]);const E=r.useCallback((async t=>{let n=S();if(n||(n=(()=>{if(!window||!window.self.crypto.randomUUID)return!1;let e=y.getItem(p);return e||(e=window.self.crypto.randomUUID(),y.setItem(p,e)),e})()),d.isAuthenticated||s.hasVotingAuthBypass){const r={galleryId:s.id,orgId:s.orgId,imageId:t.imageId,result:t.value,uri:s.userContentAggregatorUri,hasVersoProxy:s.hasVersoProxy,hideVotingResults:s.hideVotingResults,userId:n};if(h.some((e=>e.imageId===t.imageId))){const e=h.map((e=>e.imageId===t.imageId?{imageId:t.imageId,result:t.value}:e));f(e)}else f([...h,{imageId:t.imageId,result:t.value}]);P(!0),(async(t,n)=>{try{if(k){const o=await e(t);o&&o.addVote&&o.addVote.computation&&C(o.addVote.computation)}else{const e=await o(t);e&&e.addPoll&&e.addPoll.computation&&C(e.addPoll.computation)}(e=>{if(window.dataLayer){const t=e.value?"Yes":"No";window.dataLayer.push({event:"vote-click",voteTopic:e.imageId,vote:t})}})(n),(({type:e,subject:t,content_id:o,result:n})=>{b({type:e,subject:t,items:[{content_id:o}],result:n})})({type:"vote",subject:"gallery_voting",content_id:n.imageId||"",result:n.value?"Yes":"No"})}catch(e){throw new Error(`Gallery vote failed "${e}".`)}})(r,t)}else c.doDisplayModal({authSource:"sign-in-modal-voting",dangerousHed:I(g.galleryVotingDangerousHed),dangerousHedSpanTag:I(g.galleryVotingDangerousHedSpanTag),dangerousDek:I(g.galleryVotingDangerousDek),redirectURL:document.location.pathname,source:"GALLERY_VOTING",type:"voting",analyticsType:"gallery voting"})}),[d,s,k,h,w]);return r.createElement(u.Provider,{value:{votes:h,onVoteCast:E,allVotes:w}},t)};f.propTypes={addGalleryVote:n.func,children:n.node,createGalleryPoll:n.func,fetchGalleryUserPoll:n.func,gallery:n.object.isRequired,user:n.object},f.displayName="GalleryVoting",e.exports=s((({gallery:e,user:t})=>({gallery:e,user:t})),(e=>{const{addGalleryVote:t,createGalleryPoll:o,fetchGalleryUserPoll:n}=d(e);return{addGalleryVote:t,createGalleryPoll:o,fetchGalleryUserPoll:n}}))(f)},46166:(e,t,o)=>{const n=o(32485),r=o(5556),a=o(96540),{useIntl:i}=o(37243),{useInView:l}=o(46762),s=o(3820).A,d=o(19607),c=o(72987),u=o(71284),{googleAnalytics:m}=o(90090),{PaymentGateway:g}=o(92807),p=o(28433),h=o(96303),y=o(21757),b=o(72159),f=o(40855),w=o(69234),C=o(48286),{GalleryPageChunkRow:k,GalleryPageTextBlock:P,GalleryPageIntroBody:I,GalleryOutro:S,GalleryPageSlides:E,GallerySignInCalloutWrapper:v,GallerySignInCalloutHed:x,GallerySignInCalloutDek:G,GallerySignInCalloutSignInLink:$,LazyChunk:R}=o(52234),{isDesktopBrowser:B}=o(72362),{getContentFooterWrapper:T}=o(62265),A=(e,t,o)=>!(!e.enabled||o<1)&&(t+1)%o==0,V=(e,t,o)=>!e.enabled||o<1?0:0===t?1:(t+1)%o==0?o/(t+1)+1:0,L=(e,t)=>t&&a.createElement(c,{index:e,shouldHoldSpace:!0}),M=({index:e,interludeProps:t,isFirstChunk:o,isLastChunk:n,isInterludeChunk:r,isTextChunk:i,showFirstRailRecirc:l,items:s,tagCloud:c})=>{const m=!(i||n);return o||r?((e,t,o,n,r)=>a.createElement(f,{anchorTop:{selector:"[data-testid='ContentHeaderLeadRailAnchor']",edge:"top"},anchorBottom:{edge:"bottom"},shouldRemoveAbsolute:!0},a.createElement(p,null,a.createElement(g,{group:"ads"},t?.enabled&&t?.isRailEligible&&a.createElement(h,{...t,isRightRail:!0}),a.createElement(d,{position:"rail",index:e})),a.createElement(g,{group:"consumer-marketing"},a.createElement(u,{position:"display-rail"})),o&&a.createElement(w,{categoriesMap:r?.tags,items:n}))))(e,t,!i&&o&&l,s,c):((e,t,o,n)=>a.createElement(p,null,a.createElement(g,{group:"ads"},a.createElement(d,{position:"rail",index:t})),a.createElement(g,{group:"consumer-marketing"},a.createElement(u,{position:"display-rail"})),e&&a.createElement(w,{categoriesMap:n?.tags,index:t,items:o})))(m,e,s,c)},D=({chunk:e,gridColumns:t,original:o,interludeInfo:r,chunks:d,alternateVotingPrompt:c,outro:u,defaultVotingPrompt:g,getRef:p,inContentChunkIndex:h,hasPhotoBookmark:f,showVirtuosoGallery:w,newslettersInline:D,inContentAdItemIndex:N,sponsoredProductChunkIndex:_,sponsorProductIndex:O,slideFormat:U,index:H,shouldLoadOnScroll:F,isMidContentAdsDisabled:j,interludeRightRailFrequency:W,showAdRail:q,componentConfig:z,isReadViewShopViewEnabled:J,dropShipSellers:K,hasProduct:Y,nodeIndexForNewsletterPosition:Q,shopTypeView:Z,showOfferUrl:X,interlude:ee,shouldIncludeInterlude:te,newsletterPosition:oe,shouldEnableBookmarkDrawers:ne,shouldEnableCardLevelBookmark:re,shouldEnableCommentsCount:ae,textChunkCount:ie,ReadShopButtonWrapperJsx:le,signInCalloutHedAlt:se,signInCalloutHed:de,signInCalloutDek:ce,isAuthenticated:ue,hasVotingAuthBypass:me,oidcAuthUrl:ge,showStyliticsMarker:pe,hasDivider:he,isMobileDevice:ye,showFirstRailRecirc:be,recircMostPopular:fe,tagCloud:we,hasHotel:Ce,hasProductLisitingCarousel:ke,textBlockClamp:Pe,isUpcEnabled:Ie,shouldLimitMidContent:Se,textChunkToBeIncludedWithSLide:Ee})=>{const{formatMessage:ve}=i(),xe=0===H,Ge=H===o.length-1,$e=d.length-1===H,Re=a.useMemo((()=>A(r,H,W)),[r,H,W]),Be=a.useMemo((()=>V(r,H,W)),[r,H,W]),Te=!j&&(0===H&&o.length>=2||H>=1&&o[H+1]),Ae=a.useMemo((()=>T(z,{type:"gallery",showAdRail:q,gridColumns:t})),[z,q,t]),[Ve,Le]=l({triggerOnce:!0,initialInView:!(F&&H>1),skip:!F}),Me=a.useCallback((e=>m.emitGoogleTrackingEvent(e,{signInModalType:"gallery voting"})),[]);a.useEffect((()=>{Le&&(window.cnBus.emit("ads.componentDidUpdate.galleryChunkRender"),m.trackPageView(`list${d.length===H+1?"_end":H+1}`))}),[Le,d.length,H]);const De=He{const{analyticsEvent:t,lines:o,isCollapsible:n,breakpoint:r,clampReadMoreText:i,clampReadLessText:l,includeCategories:s}=Pe;return s?.length&&!we?.tags?.some((e=>s.includes(e.url)))||!n?a.createElement(I,{className:"body__container",hasIntroDivider:he,body:e,isUpcEnabled:Ie}):a.createElement(C,{analyticsEvent:t,breakpoint:r,className:"body__container",clampReadLessText:l,clampReadMoreText:i,isCollapsible:n,isClampGalleryVariation:!0,lines:o},a.createElement(I,{hasIntroDivider:he,body:e}))})(Ne)),xe&&HMe("signin-modal-oidc-sign-in-click")},ve(s.SignInCalloutLinkText)," "," »"))):null,H>=ie&&a.createElement(E,{key:H,alternateVotingPrompt:c,chunk:e,outro:u,chunksCount:d.length,defaultVotingPrompt:g,getRef:p,inContentChunkIndex:h,hasPhotoBookmark:f,showVirtuosoGallery:w,inContentAdItemIndex:N,sponsoredProductChunkIndex:_,sponsorProductIndex:O,slideFormat:U,index:H,shouldShowCM:xe,isReadViewShopViewEnabled:J,dropShipSellers:K,hasProduct:Y,newslettersInline:D,nodeIndexForNewsletterPosition:Q,shopTypeView:Z,showOfferUrl:X,interlude:ee,shouldIncludeInterlude:te,newsletterPosition:oe,shouldEnableBookmarkDrawers:ne,shouldEnableCardLevelBookmark:re,shouldEnableCommentsCount:ae}),Ge&&pe&&a.createElement("div",{id:"stylitics-marker"}),$e?a.createElement(S,null,a.createElement(I,{hasIntroDivider:he,body:u}),"end-of-list"===oe&&D&&a.createElement(b,{newsletterType:"slim-newsletter",newsletters:D})):null),q&&!ye&&B()&&M({index:H,interludeProps:{...r,positionInstance:Be},isFirstChunk:xe,isLastChunk:Ge,isInterludeChunk:Re,isTextChunk:H{const{analyticsEvent:c,lines:u,isCollapsible:m,breakpoint:g,clampReadMoreText:p,clampReadLessText:h,includeCategories:y}=r;let b=!0;y?.length&&(b=l?.tags?.some((e=>y?.includes(e.url))));const f=b&&m;return(e?.length||t||o||n)&&a.createElement(P,{showAdRail:s},f?a.createElement(C,{analyticsEvent:c,breakpoint:g,className:"body__container",clampReadLessText:h,clampReadMoreText:p,isCollapsible:m,isClampGalleryVariation:f,lines:u},a.createElement(I,{hasIntroDivider:i,body:e})):a.createElement(I,{className:"body__container",hasIntroDivider:i,body:e,isUpcEnabled:d}))}}},31414:e=>{e.exports=function(e,{initialMidContentPosition:t,midContentCadence:o,changeCadenceAtSlide:n,longGalleryDisplayMidContentCadence:r}){const a=t||3,i=o||4,l=r||i;let s=[e.slice(0,a)];for(let t=a;t{const n=o(82431),{asConfiguredComponent:r}=o(12892);e.exports=r(n,"GalleryPage")},52234:(e,t,o)=>{const{default:n}=o(92168),r=o(62193),{BREAKPOINTS:a}=o(96472),{BaseLink:i}=o(76955),{applyGridSpacing:l}=o(1123),{getPattern:s}=o(30),{calculateSpacing:d,minScreen:c,getColorToken:u,getTypographyStyles:m,maxScreen:g,minMaxScreen:p}=o(26865),h=o(66657),y=o(22652),b=o(70497),{Disclaimer:f}=o(74307),w=o(61127),{withRecircContextProvider:C}=o(85207),k=C(o(30543)),P=o(90532),{GallerySlideWrapper:I}=o(55082),{UnifiedProductCardWrapper:S}=o(22039),{GalleryEmbedCaptionWrapper:E}=o(56082),{GroupCalloutWrapper:v}=o(68426),{GridItem:x}=o(40653),{RecircMostPopularWrapper:G,RecircMostPopularHeading:$}=o(16302),{ToggleChipListWrapper:R}=o(14952),{ButtonIconWrapper:B}=o(18974),{CneVideoEmbedContainer:T}=o(25423),A=n.div.withConfig({displayName:"GalleryPageTextBlock"})`
margin-bottom: ${d(2)};
${({showAdRail:e})=>e&&`\n ${T} {\n margin-right: auto;\n margin-left: auto;\n width: auto;\n }`}
`,V=n.div.withConfig({displayName:"GalleryOutro"})`
&& {
@media (min-width: 0) and (max-width: ${a.lg}) {
${l("padding")};
}
}
`,L=n("div").withConfig({displayName:"ArticlePageContentBackGround"})`
${({theme:e})=>s(e,"lede-background")}
${({enableActionBar:e})=>e&&`\n ${c(a.lg)} {\n position: relative;\n }\n `}
`,M=n.div.withConfig({displayName:"ReadShopButtonWrapper"})`
display: flex;
justify-content: center;
padding-top: ${d(4)};
padding-bottom: ${d(6)};
${({isReadViewShopViewEnabled:e,theme:t})=>e?`\n .is-button-active {\n background:${u(t,"colors.interactive.base.black")};\n border-radius:3rem;\n transition: background-color 0.25s, color 0.25s;\n .button__label {\n color: ${u(t,"colors.interactive.base.white")};\n }\n .button__icon-container svg {\n fill: ${u(t,"colors.interactive.base.white")};\n }\n }\n `:`.is-button-active {\n .button__label {\n border-bottom: 1px solid;\n color: ${u("colors.consumption.body.standard.body")};\n }\n\n .button__icon-container svg {\n fill: ${u("colors.consumption.body.standard.body")};\n }\n @media (min-width: ${a.lg}) {\n &:hover > .button__label {\n border-bottom: 1px solid;\n color: ${u("colors.consumption.body.standard.body-deemphasized")};\n }\n }\n }`}
${R} {
border-radius: 3rem;
background-color: rgba(
${u("colors.interactive.base.black",{rgbOnly:!0})},
0.1
);
}
${B} {
padding-right: ${d(.5)};
}
button {
${({isReadViewShopViewEnabled:e,isChecked:t,theme:o})=>e?` \n height:2.5rem;\n border-radius:3rem;\n padding-left:${d(1)};\n padding-right:${d(2)};\n color: ${u(o,"colors.interactive.base.black")};\n .button__icon-container svg {\n fill:${u(o,"colors.interactive.base.black")};\n width:2rem;\n height:2rem;\n }\n &:hover,\n &:focus {\n outline: 0;\n box-shadow: 0 0 0 1px ${u(o,"colors.interactive.base.black")} inset;\n color:${u(o,"colors.interactive.base.black")};\n }\n ${t&&`color: ${u(o,"colors.interactive.base.white")};\n .button__icon-container svg {\n fill:${u(o,"colors.interactive.base.white")};\n }\n }\n `}\n `:`\n color: ${u("colors.consumption.body.standard.body-deemphasized")};\n\n .button__icon-container svg {\n fill: ${u("colors.consumption.body.standard.body-deemphasized")};\n }\n\n @media (min-width: ${a.lg}) {\n &:hover > .button__icon-container svg {\n fill: ${u("colors.consumption.body.standard.body-deemphasized")};\n }\n }\n\n &:hover > span {\n border-bottom: 1px solid;\n color: ${u("colors.consumption.body.standard.body-deemphasized")};\n }`}
}
`,D=n.div.withConfig({displayName:"ReadShopViewButton"})``,N=n(h).withConfig({displayName:"GalleryPageChunkRow"})`
margin-top: ${d(2)};
${c(a.md)} {
margin-top: ${d(4)};
}
&& {
.grid-margins {
/* Single Column Styles */
&:not(.grid-layout--adrail) {
grid-template-columns: repeat(12, 1fr);
/* Align Grid Items centrally */
.grid--item {
&.grid-columns--start-2-end-10 {
${c(a.md)} {
grid-column-end: 10;
grid-column-start: 2;
}
}
grid-column: 1/-1;
${c(a.md)} {
grid-column-end: 10;
grid-column-start: 4;
}
}
/* Have body line up with slide caption */
.container--body {
display: grid;
grid-template-columns: repeat(6, 1fr);
}
.container--body-inner {
margin: 0 22px;
${c(a.md)} {
grid-column: 2 / -2;
}
${c(a.lg)} {
margin: 0;
}
}
}
${c(a.lg)} {
padding-right: 0;
padding-left: 0;
}
@media (min-width: 0) and (max-width: ${a.lg}) {
padding-right: 0;
padding-left: 0;
.grid-layout__aside .ad--rail {
min-height: 250px;
}
${A} {
${l("padding")}
}
}
.grid-layout--adrail.narrow,
.grid-layout__aside {
${G} {
&:first-child {
margin-top: 0;
${$} {
margin-top: 0;
}
}
}
}
}
}
`,_=n.div.withConfig({displayName:"GalleryProductSummaryGridWrapper"})`
padding-bottom: ${d(1.5)};
@media (max-width: calc(${a.lg} - 1px)) {
padding-right: calc(1 * var(--grid-margin));
padding-left: calc(1 * var(--grid-margin));
}
`,O=n(y).withConfig({displayName:"GalleryPageIntroBody"})`
&& {
grid-column: 1 / -1;
.container--body {
max-width: none;
}
.container--body-inner {
${c(a.md)} {
grid-column: 1 / -1;
}
p:last-child {
margin-bottom: 0;
}
}
${({isUpcEnabled:e})=>e&&`\n .grid-items-3 > div:last-child:nth-child(2n+1) {\n ${p(0,a.md)} {\n grid-column: 1/-1;\n width: 100%;\n }\n }\n `}
${({hasIntroDivider:e,theme:t})=>e&&`\n margin-bottom: ${d(5)};\n border-bottom: 1px solid ${u(t,"colors.consumption.body.standard.divider")};\n padding-bottom: ${d(5)};\n `};
}
`,U=n(b).withConfig({displayName:"GalleryPageSlides"})`
margin: 0;
padding: 0;
list-style: none;
.gallery__slides__slide {
scroll-margin-top: 4em;
}
${c(a.sm)} {
padding-right: 1.5rem;
padding-left: 1.5rem;
}
${c(a.lg)} {
padding: 0;
}
.gallery__slides__slide .ad.ad--sponsor-product {
${c(a.sm)} {
margin-bottom: 50px;
}
}
.gallery__slides__slide .ad.ad--in-content {
${c(a.sm)} {
margin-bottom: 6rem;
}
}
.gallery-slide__cm-container {
display: block;
position: relative;
margin: ${d(5)} 0;
width: 100%;
}
${({hasProduct:e})=>!e&&`\n .gallery__slides__slide:last-child {\n ${I} {\n margin-bottom: 0;\n }\n }\n `};
${({outro:e})=>!r(e)&&`\n .gallery__slides__slide:last-child {\n ${I} {\n margin: 0;\n padding-bottom: 1.5rem;\n }\n ${S} {\n padding-bottom: 1.5rem;\n }\n }\n `};
.gallery__slides__slide--rca {
.gallery-slide__cm-container {
margin: 0;
}
}
`,H=n.div.withConfig({displayName:"GalleryPageContentChunks"})`
/* stylelint-disable declaration-no-important */
> div > div:nth-child(1) {
top: auto !important;
}
/* stylelint-enable declaration-no-important */
${({hasAdditionalDropcapStyling:e,theme:t})=>e&&`\n .grid:first-of-type .body__container p.has-dropcap::first-letter {\n ${m(t,"typography.definitions.consumptionEditorial.display-large")};\n color: ${u(t,"colors.consumption.body.standard.accent")};\n font-size: 80px;\n padding: ${d(2)} ${d(2)} 0;\n margin: 0;\n }\n `}
`,F=n(y).withConfig({displayName:"GalleryPageBody"})`
grid-column: 1 / -1;
`,j=n(f).withConfig({displayName:"GalleryPageDisclaimer"})`
p {
${({disclaimerPosition:e})=>m("bottom"===e?"typography.definitions.consumptionEditorial.body-core":"typography.definitions.globalEditorial.context-secondary")};
font-style: ${({disclaimerPosition:e})=>"bottom"===e?"italic":"none"};
}
`,W=n(k).withConfig({displayName:"GalleryPageWrapper"})`
${({theme:e})=>s(e,"page-background")}
${({isUpcEnabled:e})=>e&&`${g(a.xl)} {\n ${v} {\n grid-template-columns: repeat(2,1fr);\n }\n }\n `}
`,q=n(w).withConfig({displayName:"GalleryPageContentFooter"})`
margin-top: ${d(5)};
${({showAdRail:e})=>!e&&`\n ${x} {\n grid-column: 1 / -1;\n ${c(a.md)} {\n grid-column: 3 / span 8;\n }\n }`}
`,z=n("div").withConfig({displayName:"GalleryPageDisclaimerGrid"})`
${({disclaimerPosition:e})=>("bottom"===e||"middle"===e)&&`\n &&& {\n @media (max-width: calc(${a.lg} - 1px)) {\n padding-right: calc(1 * var(--grid-margin));\n padding-left: calc(1 * var(--grid-margin));\n }\n }\n `}
.grid-layout__content {
grid-column: 1 / -1;
}
`,J=n.div.withConfig({displayName:"GallerySignInCalloutWrapper"})`
margin: 1.5rem 0 2rem 0;
border-top: 1px solid
${({theme:e})=>u(e,"colors.consumption.body.standard.divider")};
border-bottom: 1px solid
${({theme:e})=>u(e,"colors.consumption.body.standard.divider")};
padding: 1.5rem 0 1.5rem 0;
@media (min-width: 0) and (max-width: ${a.lg}) {
${l("margin")};
}
`,K=n.div.withConfig({displayName:"GallerySignInCalloutHed"})`
${m("typography.definitions.consumptionEditorial.subhed-aux-primary")};
margin-bottom: 0.5rem;
`,Y=n.div.withConfig({displayName:"GallerySignInCalloutDek"})`
${m("typography.definitions.consumptionEditorial.description-embed")};
`,Q=n(i).withConfig({displayName:"GallerySignInCalloutSignInLink"})`
${m("typography.definitions.consumptionEditorial.description-embed")};
&& {
margin-left: 5px;
text-decoration: underline;
}
`,Z=n.div.withConfig({displayName:"GalleryPageHorizontalSliderComponent"})`
margin-top: 3rem;
${E} {
margin-bottom: 0;
}
${I} {
margin-bottom: 0;
}
`,X=n(P).withConfig({displayName:"GalleryActionBar"})`
${g(a.md)} {
padding-top: ${d(4)};
}
`,ee=n("div").withConfig({displayName:"LazyChunk"})`
min-height: 500px;
`;e.exports={ReadShopViewButton:D,ReadShopButtonWrapper:M,GalleryActionBar:X,GalleryPageChunkRow:N,GalleryPageTextBlock:A,GalleryPageIntroBody:O,GalleryOutro:V,GalleryPageSlides:U,GalleryPageContenBackground:L,GalleryPageContentChunks:H,GalleryPageBody:F,GalleryPageWrapper:W,GalleryPageContentFooter:q,GalleryPageDisclaimer:j,GallerySignInCalloutWrapper:J,GallerySignInCalloutHed:K,GallerySignInCalloutDek:Y,GallerySignInCalloutSignInLink:Q,GalleryPageDisclaimerGrid:z,GalleryPageHorizontalSliderComponent:Z,GalleryProductSummaryGridWrapper:_,LazyChunk:ee}},3820:(e,t,o)=>{const n=o(37243);t.A=(0,n.defineMessages)({SignInCalloutLinkText:{id:"GalleryPage.SignInCalloutLinkText",defaultMessage:"Sign in or create an account to vote",description:"GalleryPage component sign in callout SignIn link text"},galleryVotingDangerousHed:{id:"GalleryVoting.galleryVotingDangerousHed",defaultMessage:"To vote, sign in or",description:"GalleryVoting Page component sign in callout SignIn link text"},galleryVotingDangerousHedSpanTag:{id:"GalleryVoting.galleryVotingDangerousHedSpanTag",defaultMessage:"create an account",description:"GalleryVoting Page component sign in callout SignIn link text"},galleryVotingDangerousDek:{id:"GalleryVoting.galleryVotingDangerousDek",defaultMessage:"You can also save stories and manage newsletter preferences",description:"GalleryVoting Page component sign in callout SignIn link text"}})},99774:function(e,t,o){var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){void 0===n&&(n=o);var r=Object.getOwnPropertyDescriptor(t,o);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(e,n,r)}:function(e,t,o,n){void 0===n&&(n=o),e[n]=t[o]}),r=this&&this.__exportStar||function(e,t){for(var o in e)"default"===o||Object.prototype.hasOwnProperty.call(t,o)||n(t,e,o)};Object.defineProperty(t,"__esModule",{value:!0}),r(o(73157),t)},73157:function(e,t,o){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.requestUserContentAggregatorService=void 0;const r=o(96497),a=n(o(53788)),i=o(22214),l=o(57743),{oidcCookies:s}=a.default;t.requestUserContentAggregatorService=async(e,t,o,n={})=>{const a=await i.UserAuthenticationClient.checkAccessWithRefresh(),d=a&&i.UserAuthenticationClient.getCookieValue(s.access),c={query:t,userContentAggregatorUri:e,variables:o,isAuthenticated:a};try{if(o?.hasVersoProxy){const e=await(0,l.fetchWithTimeout)("/api/user-content-aggregator",{method:"POST",body:JSON.stringify(c),headers:{...d&&{Authorization:`Bearer ${d}`}}},5e3),{userContentAggregator:t}=await e.json();return t}if(a){const i=new r.GraphQLClient(e,{headers:{...n,Authorization:`Bearer ${d}`}});return{...await i.request(t,o)||{},isAuthenticated:a}}return{isAuthenticated:!1}}catch(e){return{Error:`Error in Method: requestUserContentAggregatorService:: ${e}`}}}},21182:function(e,t,o){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(o(41321));(0,n(o(41782)).default)(r.default)}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(o.exports,o,o.exports,a),o.loaded=!0,o.exports}a.m=n,e=[],a.O=(t,o,n,r)=>{if(!o){var i=1/0;for(c=0;c=r)&&Object.keys(a.O).every((e=>a.O[e](o[s])))?o.splice(s--,1):(l=!1,r0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[o,n,r]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,n){if(1&n&&(e=this(e)),8&n)return e;if("object"==typeof e&&e){if(4&n&&e.__esModule)return e;if(16&n&&"function"==typeof e.then)return e}var r=Object.create(null);a.r(r);var i={};t=t||[null,o({}),o([]),o(o)];for(var l=2&n&&e;"object"==typeof l&&!~t.indexOf(l);l=o(l))Object.getOwnPropertyNames(l).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,a.d(r,i),r},a.d=(e,t)=>{for(var o in t)a.o(t,o)&&!a.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={4600:0};a.O.j=t=>0===e[t];var t=(t,o)=>{var n,r,[i,l,s]=o,d=0;if(i.some((t=>0!==e[t]))){for(n in l)a.o(l,n)&&(a.m[n]=l[n]);if(s)var c=s(a)}for(t&&t(o);da(21182)));i=a.O(i)})();