(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[720],{28182:function(t,e,n){"use strict";n.d(e,{Z:function(){return I}});var i=n(52322),M=n(2784),u=n(57483),r=n.n(u),a=n(43791),o=n(41332),c=n(32617),N=n(5103),j=n(4366);function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return(0,M.useMemo)((function(){return{externalLink:function(n){(0,j.nz)(t,L({},e,n))},contentAction:function(n){(0,j.bC)(t,L({},e,n))}}}),[t,e])}(t,z),x=[c.MODERATED_COMMUNITY,c.UNMODERATED_COMMUNITY].includes(t.editorial_status),m=t.isEnglish&&(t.isQuiz||x);return(0,i.jsx)(i.Fragment,{children:m&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:r().footerCommunityBanner,children:[(0,i.jsxs)("div",{className:r().flexContainer,children:[(0,i.jsxs)("div",{className:r().flexContainerTitle,children:["Want to get your very own quizzes and posts featured on BuzzFeed\u2019s homepage and app?",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Become a Community Contributor."]}),(0,i.jsx)("div",{className:r().flexContainerImgWrapper,children:(0,i.jsx)("img",{className:r().flexContainerImg,src:y(),alt:"promo"})})]}),(0,i.jsxs)("div",{className:r().buttonsContainer,children:[!n&&(0,i.jsx)("a",{className:r().loginBtn,role:"button",onClick:function(){return g(!0)},children:(0,i.jsx)("p",{children:"Sign up to get started"})}),(0,i.jsx)("a",{className:n?r().learnMoreBtn:r().promoLink,target:"_blank",href:"https://www.buzzfeed.com/community/about",rel:"noreferrer",ref:D,children:"Learn more about Community"})]})]}),(0,i.jsx)(a.fA,{isOpen:s,onClose:function(){return g(!1)},track:d})]})})}))},70211:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(52322),M=n(2784),u=n(13980),r=n.n(u),a=n(39252),o=n(8546),c=n(41332),N=n(36491),j=n(30729),s=n(76139),L=n.n(s),T=function(t){var e=t.dateline,n="https://img.buzzfeed.com/buzzfeed-static".concat(e.dateline_image);return(0,i.jsxs)("div",{className:L().dateline,children:[(0,i.jsx)(a.lS,{src:(0,j.Z)(n),className:L().dateline_map,alt:"Map of ".concat(e.name)}),(0,i.jsxs)("div",{className:"xs-flex-grow-1",children:[(0,i.jsx)("p",{className:L().datelineTitle,children:"Reporting From"}),(0,i.jsx)("strong",{className:L().datelineName,children:e.name})]})]})};T.propTypes={dateline:r().shape({name:r().string.isRequired,dateline_image:r().string.isRequired})};var g=T,y=n(50381),l=n.n(y),I=n(3695),D=(0,N.Z)((function(){return n.e(33).then(n.bind(n,67740))}),{ssr:!1});function z(t){var e=t.byline,n=t.advertiserClass,u=t.index,r=t.isSingle,N=void 0!==r&&r,s=(0,M.useContext)(c.Z),L="1"===e.description_id,T=(0,I.G)(s)?"/author/".concat(e.username):"/".concat(e.username),g=(0,M.useMemo)((function(){return{eventCategory:"Header",eventAction:"link",eventLabel:T,unit_type:"buzz_head",unit_name:s.id,item_name:"byline",item_type:"profile",position_in_unit:u,target_content_type:"user",target_content_id:e.id}}),[s,e.id,T,u]),y=(0,o.R)(g);return e?(0,i.jsxs)("div",{className:"".concat((0,I.G)(s)?l().newsByline:""," ").concat((0,I.G)(s)&&N?l().singleByline:""),children:[(0,i.jsx)("a",{ref:y,href:T,className:l().headlineByline,children:(0,i.jsxs)("div",{className:l().bylineContainer,children:[(0,i.jsx)(a.lS,{src:(0,j.Z)(e.avatar),className:"".concat(l().avatar," ").concat(n," embed-byline-avatar"),alt:e.display_name}),(0,i.jsxs)("div",{className:"".concat(l().bylineText," embed-byline-text"),children:[(0,i.jsx)("span",{className:"".concat(l().text," ").concat(n),children:"by "}),(0,i.jsx)("span",{className:"metadata-link ".concat(l().bylineName),dangerouslySetInnerHTML:{__html:e.display_name}}),(0,i.jsx)("p",{className:l().position,children:e.title})]})]})}),L&&(0,i.jsx)("div",{className:l().internetPointsContainer,children:(0,i.jsx)("div",{className:l().internetPointsContainerInner,children:(0,i.jsx)(D,{className:l().desktopShow,userId:e.id})})})]}):null}function d(t){var e=t.byline,n=t.advertiserClass,u=t.isLastByline,r=t.index,N=(0,M.useContext)(c.Z),s=(0,M.useMemo)((function(){return{eventCategory:"Header",eventAction:"link",eventLabel:"/".concat(e.username),unit_type:"buzz_head",unit_name:N.id,item_name:"byline",item_type:"profile",position_in_unit:r,target_content_type:"user",target_content_id:e.id}}),[N,e.id,e.username,r]),L=(0,o.R)(s);return(0,i.jsxs)("a",{ref:L,href:"/".concat(e.username),className:"".concat(l().headlineByline," ").concat(l().twoAuthors),children:[(0,i.jsxs)("div",{className:l().bylineContainer,children:[(0,i.jsx)(a.lS,{src:(0,j.Z)(e.avatar),className:"".concat(l().avatar," ").concat(l().desktopShow," ").concat(n),alt:e.display_name}),(0,i.jsxs)("div",{className:l().bylineText,children:[(0,i.jsxs)("span",{className:"".concat(l().desktopShow," ").concat(l().text," ").concat(n),children:["by"," "]}),(0,i.jsx)("span",{className:"metadata-link ".concat(l().bylineName),dangerouslySetInnerHTML:{__html:e.display_name}}),(0,i.jsx)("p",{className:l().desktopShow,children:e.title})]})]}),!u&&(0,i.jsx)("span",{className:l().desktopHide,children:", "})]})}function x(){var t=(0,M.useContext)(c.Z),e=(0,M.useMemo)((function(){return{eventCategory:"Header",eventAction:"link",eventLabel:"/community/about",unit_type:"buzz_head",unit_name:t.id,item_name:"byline",item_type:"profile",position_in_unit:1,target_content_type:"feed",target_content_id:"community_about"}}),[t.id]),n=(0,o.R)(e);return(0,i.jsx)("a",{ref:n,href:"/community/about",className:"".concat(l().headlineByline," ").concat(l().communityTeamByline),children:(0,i.jsxs)("div",{className:l().bylineContainer,children:[(0,i.jsx)(a.lS,{src:(0,j.Z)("https://img.buzzfeed.com/store-an-image-prod-us-east-1/p9aVli648.png"),className:"".concat(l().avatar," ").concat(l().desktopShow),alt:"BuzzFeed Community Team"}),(0,i.jsxs)("div",{children:[(0,i.jsxs)("span",{className:"".concat(l().text," ").concat(l().communityTeamBy),children:["Approved and edited by"," "]}),(0,i.jsx)("span",{className:"metadata-link ".concat(l().bylineName),children:"BuzzFeed Community Team"})]})]})})}function m(t){var e=t.byline,n=t.isLastByline,u=t.index,r=(0,M.useContext)(c.Z),a=(0,M.useMemo)((function(){return{eventCategory:"Header",eventAction:"link",eventLabel:"/".concat(e.username),unit_type:"buzz_head",unit_name:r.id,item_name:"byline",item_type:"profile",position_in_unit:u,target_content_type:"user",target_content_id:e.id}}),[r,e.id,e.username,u]),N=(0,o.R)(a);return(0,i.jsxs)("span",{className:l().textByline,children:[(0,i.jsx)("a",{className:l().headlineByline,ref:N,href:"/".concat(e.username),children:(0,i.jsx)("span",{className:"metadata-link ".concat(l().bylineName),dangerouslySetInnerHTML:{__html:e.display_name}})}),!n&&", "]})}function A(t){var e=t.bylines,n=void 0===e?[]:e,M=t.isAd,u=void 0!==M&&M,r=t.buzz,a=void 0===r?{}:r,o=u?l().isAdvertiser:"",c=a.isCommunity&&a.isModerated,N=a.datelines;return(0,I.G)(a)?(0,i.jsxs)("div",{className:"".concat(l().newsHeadlineByline," ").concat(1!==n.length||N.length?"":[l().singleHeadlineByline]," embed-byline"),children:[(0,i.jsx)("span",{className:l().text,children:"By "}),n.map((function(t,e){return(0,i.jsxs)("span",{className:l().bylineWrap,children:[(0,i.jsx)(z,{byline:t,advertiserClass:o,index:e,isSingle:1===n.length&&!N.length},t.id),e!==n.length-1&&(0,i.jsx)("span",{className:l().text,children:" and "})]},t.id)})),!!N.length&&N.map((function(t){return(0,i.jsx)(g,{dateline:t},t.name)}))]}):n.length>2?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:l().text,children:"by "}),n.map((function(t,e){var M=n.length===e+1;return(0,i.jsx)(m,{byline:t,isLastByline:M,index:e},t.id)}))]}):2===n.length?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("span",{className:"".concat(l().desktopHide," ").concat(l().text," ").concat(o),children:["by"," "]}),n.map((function(t,e){var n=1===e;return(0,i.jsx)(d,{byline:t,advertiserClass:o,isLastByline:n,index:e},t.id)}))]}):n.map((function(t,e){return(0,i.jsxs)("div",{className:l().adaptiveBylineContainer,children:[(0,i.jsx)(z,{byline:t,advertiserClass:o,index:e},t.id),c&&(0,i.jsx)(x,{})]},t.id)}))}A.propTypes={bylines:r().arrayOf(r().object).isRequired,isAd:r().bool.isRequired};var p=A},15185:function(t,e,n){"use strict";var i=n(52322),M=(n(2784),n(13980)),u=n.n(M),r=n(84225),a=n(5103),o=n(38362),c=n.n(o);function N(t){return new Date(1e3*t).toISOString()}function j(t){var e=t.timestampPublishedUnix,n=t.timestampUpdatedUnix,M=t.showUpdatedTimestampOnly,u=t.countryCode,a=t.t,o=t.destination;if(!e||!u)return null;var j,s,L,T,g="buzzfeed_news"===o,y=N(e),l=N(n);return g?(M||(j=(0,r.i$)(e,u,{month:"long",hour:"numeric",minute:"numeric"})).hasTimestampString||(j.formattedTimestamp=j.formattedTimestamp.replace(" AM"," am").replace(" PM"," pm")),(n||M)&&((s=(0,r.i$)(n||e,u,{month:"long",hour:"numeric",minute:"numeric"})).hasTimestampString||(s.formattedTimestamp=s.formattedTimestamp.replace(" AM"," am").replace(" PM"," pm")))):n>e?s=(0,r.i$)(n,u):j=(0,r.i$)(e,u),j&&(L=j.hasTimestampString?a("posted"):a("posted_on")),s&&(T=s.hasTimestampString?a("updated"):a("updated_on")),(0,i.jsxs)("span",{className:"".concat(g?c().timestampNews:c().timestamp," embed-timestamp"),children:[!g&&s&&(0,i.jsxs)("time",{dateTime:l,children:[T," ",s.formattedTimestamp]}),!g&&j&&(0,i.jsxs)("time",{dateTime:y,children:[L," ",j.formattedTimestamp]}),g&&(0,i.jsx)("span",{className:"".concat(c().timestampNews," embed-timestamp"),children:(0,i.jsxs)("time",{dateTime:s?l:y,children:[s&&(0,i.jsxs)("span",{className:c().timeDisplay,children:[T," ",s.formattedTimestamp]}),j&&(0,i.jsxs)("span",{className:c().timeDisplay,children:[L," ",j.formattedTimestamp]})]})})]})}j.defaultProps={timestampPublishedUnix:0,timestampUpdatedUnix:0,showUpdatedTimestampOnly:!1,countryCode:"en-us",destination:"buzzfeed"},j.propTypes={timestampPublishedUnix:u().number.isRequired,timestampUpdatedUnix:u().number.isRequired,showUpdatedTimestampOnly:u().bool,countryCode:u().string.isRequired,destination:u().string},e.Z=(0,a.withTranslation)("common")(j)},35693:function(t,e,n){"use strict";n.d(e,{Z:function(){return rn}});var i=n(52322),M=n(2784),u=n(13980),r=n.n(u),a=["trending","viral"],o=["news"],c=["1999","2018","2018midterms","2020election","2020protests","amtodm","areaofexpertise","blackfutures","bodyweek2021","bodyweek2022","climate","climatechange","coronavirus","emergingwriters","endgame","fincen-files","followthis","futurefood","futurehistory","goodnews","hopesweek","impeachingtrump","investigatingtonyrobbins","itsbrutalouthere","jpg","letsgetphysical","loveyourlibrary","mentalhealthweek","moneyweek","newyearsrevolution","opinion","opportunitycosts","outsideyourbubble","parentingweek2020","popculturenostalgia","robertdurstontrial","securethebag","sex","sexweek","sexweek2021","sneakylinks","stanweek","thatwas2020","thefacebookleaks","themoneytrail","themuellermemos","theroyaltea","thingsweloved","travelweek2021","unpacking","weinsteinontrial","whatnow","whatweowe","wwfsecretwar","ukraine"],N=n(3695),j=n(30353);function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:{}).max,n=void 0===e?4:e,i=[],M=T(t),u=g(t);return M.filter((function(t){return!t.tags.some((function(t){return u.find((function(e){return e.feed_tags.includes(t)}))}))})).forEach((function(t){i.push({text:t.title,url:t.url})})),u.forEach((function(t){i.push({text:"".concat(t.name," Quiz"),url:"/quizzes".concat(t.url)})})),i.splice(n),i}(t);if(n.length)return{primary:n,secondary:[]}}var i,M=t.classification.section||t.category,u=t.all_classifications.sections,r=(t.laser_tags||{}).subbuzz,s=(void 0===r?{}:r).commerce_category,L=(void 0===s?[]:s).map((function(t){return t.tag_name}))||[],y=[],l=[],I=M,z=M.toLowerCase();if("buzzfeed"===z&&(z=(I=u&&"BuzzFeed"!==u[0]?u[0]:"Buzz").toLowerCase()),z in x){var A=x[z];I=A.text,i=A.url}else m.includes(z)&&(I="Entertainment",i="/entertainment");if(y.push({text:I,url:i||"/".concat(I.toLowerCase().replace(/&/g,"and").replace(/ /g,"-"))}),"Shopping"===M&&(l=D(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!t.length)return e;var n,i=d.find((function(e){return t.includes(e.laser_tag)}))||"";if(i&&(e.push({text:i.name,url:"/shopping/".concat(i.id)}),null===(n=i.children)||void 0===n?void 0:n.length)){var M,u=i.children.find((function(e){return t.includes(e.laser_tag)}))||"";if(u&&(e.push({text:u.name,url:"/shopping/".concat(i.id,"/").concat(u.id)}),null===(M=u.children)||void 0===M?void 0:M.length)){var r=u.children.find((function(e){return t.includes(e.laser_tag)}))||"";e.push({text:r.name,url:"/shopping/".concat(i.id,"/").concat(u.id,"/").concat(r.id)})}}return e}(L)).concat(D(l))),(0,N.G)(t)){if(e.length){var p=j.destinations.buzzfeed.base_url,O=e[0];a.includes(O.badge_type)||("opinion"===O.type?l.push({text:"opinion",url:"/collection/opinion"}):c.includes(O.link_to)?l.push({text:O.name,url:"/collection/".concat(O.link_to)}):l.push({text:O.name,url:"".concat(p,"/badge/").concat(O.link_to||O.type)}))}if(!l.length){var E,S,f=null===(E=t.laser_tags)||void 0===E||null===(S=E.bf_content_description)||void 0===S?void 0:S.topic;f&&f.length&&(l=D(function(t){return t&&t.length?[{text:t[0].tag_display_name,url:"/topic/".concat(t[0].tag_name.replace(/_/g,"-"))}]:[]}(f)).concat(D(l)))}(y=y.filter((function(t){return!o.includes(t.text.toLowerCase())}))).forEach((function(t){t.url="/section".concat(t.url)}))}return{primary:y,secondary:l}}var p=n(81298),O=n(67654),E=n.n(O),S=n(8546),f=n(41332),b=n(3207),C={comma:(0,i.jsxs)("span",{className:E().comma,"aria-hidden":"true",children:[","," "]}),caret:(0,i.jsx)(p.QU,{className:"caret-separator ".concat(E().caret),"aria-hidden":"true"}),midot:(0,i.jsx)("span",{className:"bold ".concat(E().midot),children:"\xb7"})};function w(t){var e=t.buzz,n=t.text,u=t.url,r=t.index,a=(0,M.useMemo)((function(){return{eventCategory:"Header",eventAction:"link",eventLabel:u,unit_type:"buzz_head",unit_name:e.id,item_name:(0,N.G)(e)?n:(0,b.z)(u),item_type:"text",position_in_unit:(0,N.G)(e)?null:r,position_in_subunit:(0,N.G)(e)?r:null,subunit_name:(0,N.G)(e)?"breadcrumbs":"",subunit_type:(0,N.G)(e)?"component":"",target_content_type:"feed",target_content_id:(0,b.z)(u)}}),[e.id,r,u]),o=(0,S.R)(a);return(0,i.jsx)("a",{ref:o,className:"metadata-link",href:u,children:n})}function h(t){var e=t.breadcrumbs,n=t.hasSecondaryBreadcrumbs,u=void 0!==n&&n,r=(0,M.useContext)(f.Z),a=function(t){var e;switch(!0){case t.isNews:e="default";break;case t.isQuiz:e="midot";break;default:e="caret"}return C[e]}(r);return(0,i.jsx)(i.Fragment,{children:e.map((function(t,n){var M=e.length===n+1,o=r.isNews?E().breadcrumbNewsItem:E().breadcrumbItem;return(0,i.jsxs)("li",{className:o,children:[(0,i.jsx)(w,{buzz:r,text:t.text,url:t.url,index:n}),(!M||u)&&a]},"".concat(t,"--").concat(n))}))})}function _(t){var e=t.breadcrumbs,n=t.secondaryBreadcrumbs,M=void 0===n?[]:n,u=Boolean(M.length);return(0,i.jsxs)("ol",{children:[(0,i.jsx)(h,{breadcrumbs:e,hasSecondaryBreadcrumbs:u}),u&&(0,i.jsx)(h,{breadcrumbs:M})]})}_.propTypes={breadcrumbs:r().array.isRequired,secondaryBreadcrumbs:r().array};var k=n(15185),v=n(70211),Q=n(5103),U=n(81677),Y=n.n(U);var P=(0,Q.withTranslation)("common")((function(t){var e=t.t,n=(0,M.useContext)(f.Z),u=(0,M.useMemo)((function(){return{unit_type:"buzz_head",unit_name:n.id,item_name:"return_to_article",item_type:"text",target_content_type:"buzz",target_content_id:n.id}}),[n]),r=(0,S.R)(u);return(0,i.jsxs)("div",{className:Y().headlineComments,children:[(0,i.jsxs)("a",{ref:r,href:n.canonical_url,className:"blue-link ".concat(Y().returnLink),children:[(0,i.jsx)(p.BN,{className:Y().returnIcon}),(0,i.jsx)("span",{children:e("return_to_article")})]}),(0,i.jsx)("div",{className:Y().commentOn,children:e("comments_on")})]})}));function Z(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n=5e4&&(0,i.jsxs)("div",{className:"".concat(V().trendingTitle," ").concat(V().trendingViewCount),children:[(0,H.x)(r)," ",n("views")]})]})]})}X.propTypes={buzzId:r().string.isRequired};var $=(0,Q.withTranslation)("common")(X),tt=n(39252),et=n(14257),nt=n.n(et),it=n(89732),Mt=n.n(it),ut=n(23679),rt=n.n(ut),at=n(71962),ot=n.n(at),ct=n(74756),Nt=n.n(ct),jt=n(58724),st=n.n(jt),Lt=n(24958),Tt=n.n(Lt),gt=n(39751),yt=n.n(gt),lt=n(84818),It=n.n(lt),Dt=n(62660),zt=n.n(Dt),dt=n(63847),xt=n.n(dt),mt=n(99139),At=n.n(mt),pt=n(33175),Ot=n.n(pt),Et=n(37943),St=n.n(Et),ft=n(55805),bt=n.n(ft),Ct=n(24560),wt=n.n(Ct),ht=n(19519),_t=n.n(ht),kt=n(84006),vt=n.n(kt),Qt=n(14446),Ut=n.n(Qt),Yt=n(63453),Pt=n.n(Yt),Zt=n(628),Bt=n.n(Zt),Wt=n(12803),Gt=n.n(Wt),Rt=n(51326),Ht=n.n(Rt),Ft=n(89089),Jt=n.n(Ft),Vt=n(49432),qt=n.n(Vt),Kt=n(2915),Xt=n.n(Kt),$t=n(54116),te=n.n($t),ee=n(33455),ne=n.n(ee),ie=n(64742),Me=n.n(ie),ue=n(40073),re=n.n(ue),ae=n(61623),oe=n.n(ae),ce=n(59922),Ne=n.n(ce),je=n(40583),se=n.n(je),Le=n(98217),Te=n.n(Le),ge=n(8150),ye=n.n(ge),le=n(7870),Ie=n.n(le),De=n(15700),ze=n.n(De),de=n(64651),xe=n.n(de),me=n(51716),Ae=n.n(me),pe=n(12371),Oe=n.n(pe),Ee=n(60937),Se=n.n(Ee),fe=n(48061),be=n.n(fe),Ce=n(42340),we=n.n(Ce),he=n(87351),_e=n.n(he),ke=n(71529),ve=n.n(ke),Qe=n(47756),Ue=n.n(Qe),Ye={de:{cute:nt(),fail:Mt(),lol:rt(),omg:ot(),win:Nt(),wtf:st()},en:{cute:Tt(),fail:yt(),lol:It(),omg:zt(),win:xt(),wtf:At()},es:{cute:Ot(),fail:St(),lol:bt(),omg:wt(),win:_t(),wtf:vt()},"es-es":{cute:Ut(),fail:Pt(),lol:Bt(),omg:Gt(),win:Ht(),wtf:Jt()},fr:{cute:qt(),fail:Xt(),lol:te(),omg:ne(),win:Me(),wtf:re()},general:{fail:Ne(),quiz:oe(),trending:se(),viral:Te()},ja:{cute:ye(),fail:Ie(),lol:ze(),omg:xe(),win:Ae(),wtf:Oe()},pt:{cute:Se(),fail:be(),lol:we(),omg:_e(),win:ve(),wtf:Ue()}};function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ze={Triggered:{priority:1},Editorial:{priority:2},Reaction:{priority:3},Others:{priority:4}},Be=["cute","omg","win","fail","wtf","lol","trending","viral","quiz"],We=["cute","omg","win","fail","wtf","lol"];function Ge(t){var e=t.index,n=t.badge,u=t.buzzId,r=(0,M.useMemo)((function(){return{eventCategory:"Buzz:content",eventAction:n.badge_type,eventLabel:null,unit_type:"buzz_head",unit_name:u,item_name:n.link_to,item_type:"badge",position_in_unit:e,target_content_type:"feed",target_content_id:n.link_to}}),[n.badge_type,u,e]),a=(0,S.R)(r);return(0,i.jsx)("a",{ref:a,className:V().badge,href:"/badge/".concat(n.link_to),children:n.has_svg&&n.badge_language?(0,i.jsx)("img",{src:Ye[n.badge_language][n.badge_type],alt:"".concat(n.name," badge")}):(0,i.jsx)(tt.lS,{src:"".concat(j.image_service_url).concat(n.path),alt:"".concat(n.name," badge")})},e)}function Re(t){var e=t.badges,n=t.countryCode,M=t.flags,u=t.buzzId;if(!e)return null;var r=e.find((function(t){return"trending"===t.badge_type})),a=e.filter((function(t){return!G.includes(t.badge_type)&&!function(t,e){var n=0===e.sensitive,i=0===e.sensitive&&0===e.nsfw&&1===e.brand_safe,M=["Editorial","Reaction"].includes(t.category),u=["Custom","Thematic"].includes(t.category),r=!t.path;return!n&&M||!i&&u||r}(t,M)&&(!r||r&&"viral"!==t.badge_type)})).map((function(t){var e=t.badge_type;return t.badge_language=We.includes(e)?function(t){if("es-es"===t)return t;var e=B((t||"").split("-"),1)[0];return W.includes(e)?e:"en"}(n):"general",t.has_svg=Be.includes(e),t.link_to=t.link_to||e,t.category in Ze||(t.category="Others"),function(t){for(var e=1;ee.priority?1:t.prioritye.price?1:t.price0,w=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,M.useMemo)((function(){return{internalLink:function(n){(0,en.TW)(t,Mn({},e,n))},contentAction:function(n){(0,en.bC)(t,Mn({},e,n))},impression:function(n){(0,en.Oz)(t,Mn({},e,n))}}}),[t,e])}(c,{unit_type:"buzz_head",unit_name:c.id,item_type:"button"}),h=c.longform_custom_header&&c.longform_custom_header.style&&c.longform_custom_header.style.text_over;if(c.hasQuizSharedResult){var Q=s[0];return Q.has_svg=!0,Q.badge_language="general",(0,i.jsxs)("div",{className:Je().sharedResultHeadlineWrapper,children:[(0,i.jsxs)("div",{className:Je().sharedResultBadge,children:[(0,i.jsx)(Ge,{index:0,badge:Q,buzzId:c.buzzId}),(0,i.jsx)("p",{children:"Result from"})]}),(0,i.jsx)("h1",{className:Je().sharedResultTitle,children:(0,i.jsx)("a",{href:c.canonical_url,children:c.title})})]})}var U=(0,i.jsxs)("div",{className:"".concat(Je().container," embed-breadcrumbs"),children:[d?(0,i.jsx)("span",{className:Je().paidPostBreadcrumb,children:L("paid_post")}):(0,i.jsxs)("nav",{"aria-label":"Breadcrumb",className:(0,N.G)(c)?Je().breadcrumbContainerNews:Je().breadcrumbContainer,children:[(0,i.jsx)(_,{breadcrumbs:p,secondaryBreadcrumbs:O}),"buzzfeed"===T&&0!==p.length&&y>0&&(0,i.jsx)("span",{className:"bold ".concat(Je().middot),children:"\xb7"})]}),"buzzfeed"===T&&(0,i.jsx)(k.Z,{timestampPublishedUnix:y,timestampUpdatedUnix:l,countryCode:x,destination:T})]}),Y={adDisclaimer:!g&&E,badges:!g&&!c.isAd&&"buzzfeed"===T,breadcrumbAboveTitle:!g&&C,breadcrumbBelowTitle:g&&C,byline:!g,commerceDisclaimer:!g,communityDisclaimer:!g&&!c.isModerated,timestamp:!g&&"buzzfeed_news"===T};return(0,i.jsxs)("div",{className:"".concat(Je().headline," ").concat(Je()[c.bfpTheme]||""," ").concat(Je()[T]," embed-buzz-header"),children:[Y.badges&&(0,i.jsx)("div",{className:Je().container,children:(0,i.jsx)(He,{badges:s,buzzId:c.id,countryCode:x,flags:c.flags})}),g&&(0,i.jsx)(P,{}),Y.commerceDisclaimer&&(0,i.jsx)(Xe,{buzz:c}),Y.communityDisclaimer&&(0,i.jsxs)("div",{className:"".concat(Je().disclaimer," ").concat(Je().container),children:[L("community_disclaimer"),(0,i.jsxs)("a",{className:"blue-link",href:"http://community.buzzfeed.com/",children:[" ",L("community_try")]})]}),Y.adDisclaimer&&(0,i.jsx)("div",{className:"".concat(Je().disclaimer," ").concat(Je().container),children:L("ad_disclaimer")}),Y.breadcrumbAboveTitle&&U,D&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)($e.Z,{topic:"Taylor Swift",subscriptions:[{subscriptionId:"buzzfeed_email_taylor-swift-weekly-rundown",title:"Weekly Rundown",description:"Our weekly Taylor Swift rundown right to your inbox.",isSubscribed:!0},{subscriptionId:"buzzfeed_email_taylor-swift-daily-rundown",title:"Daily Rundown",description:"Can\u2019t wait a whole week? Get updated on all things Taylor Swift daily.",isSubscribed:!1}],isSignedIn:!!(0,tn.zk)(),siteCaptchaKey:j.site_captcha_key,track:w}),(0,i.jsx)("br",{})]}),z&&!D&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)($e.Z,{topic:"Arcade",description:"Be notified on the launch of new games, AI image generators, filters, and experiments \u2014 no more than once a week!",descriptionLoggedOut:"Be notified on the launch of new games, AI image generators, filters, and experiments \u2014 no more than once a week!",subscriptions:[{subscriptionId:"buzzfeed_email_arcade-highlights-weekly",title:"Arcade Highlights",description:"",isSubscribed:!0}],isSignedIn:!!(0,tn.zk)(),siteCaptchaKey:j.site_captcha_key,track:w}),(0,i.jsx)("br",{})]}),(0,i.jsxs)("div",{className:"".concat(Je().container," ").concat(h?Je().hideTitle:""," embed-headline"),children:[(0,i.jsx)("h1",{className:"".concat(Je().title," embed-headline-title"),dangerouslySetInnerHTML:{__html:f}}),(0,i.jsx)("p",{className:"".concat(Je().description," embed-headline-description"),dangerouslySetInnerHTML:{__html:b}})]}),Y.breadcrumbBelowTitle&&U,Y.byline&&(0,i.jsx)(v.Z,{bylines:c.bylines,isAd:d,buzz:c}),Y.timestamp&&(0,i.jsx)(k.Z,{timestampPublishedUnix:y,timestampUpdatedUnix:l,showUpdatedTimestampOnly:I,countryCode:x,destination:T})]})}un.propTypes={buzz:r().object.isRequired,badges:r().array};var rn=(0,Ve.Z)((0,Q.withTranslation)("common")(un),{onError:qe.Tb})},29794:function(t,e,n){"use strict";n.d(e,{Z:function(){return Lt}});var M=n(52322),u=n(54761),r=n(2784),a=n(99523),o=n.n(a),c=n(41332),N=n(99112),j=n(4366);function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L(t){var e=(0,r.useRef)(null),n=(0,r.useContext)(c.Z),i=(0,r.useContext)(N.Z).destination;return(0,r.useEffect)((function(){var i=e.current;if(!i)return function(){};var M=function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"",e=document.createElement("div");return e.innerHTML=t,e.textContent};function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n=0||(M[n]=t[n]);return M}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(M[n]=t[n])}return M}function Lt(t){var e=t.isNewDesign,n=st(t,["isNewDesign"]);return(0,M.jsx)(u.Z,{children:e?(0,M.jsx)(ct,{}):(0,M.jsx)(et,jt({},n))})}},52406:function(t,e,n){"use strict";n.d(e,{Z:function(){return FM}});var i=n(52322),M=n(2784),u=n(13980),r=n.n(u),a=n(9772),o=n(410),c=n(5103),N=n(16938),j=n(21871),s=n(32561),L=n(3695),T=function(t){var e;return(null===t||void 0===t||null===(e=t.bylines)||void 0===e?void 0:e.length)&&t.bylines.some((function(t){return"Brand Publisher"===(null===t||void 0===t?void 0:t.title)}))},g=n(91136),y=n.n(g),l=n(70733),I=n.n(l),D=n(48492),z=n(49101),d=n(70028),x=n(4366),m=n(36491),A=(0,m.Z)((function(){return Promise.resolve().then(n.bind(n,64762))}),{ssr:!1});function p(t){var e=t.buzz,n=t.commentCount,u=t.showShareBar,r=t.className,a=void 0===r?"":r,o=t.destination,c=void 0===o?"buzzfeed":o,N=(0,d.i)(e),j=(0,M.useContext)(z.Z),s=j.commentsEnabled,T=j.isCommentsPanelOpen,g=j.toggleCommentsPanel,l=(0,L.G)(e)?function(t){var n=t.element,i=t.index,M=t.platform,u=t.shareUrl;(0,x.aF)(n,e,{subunit_name:"share",subunit_type:"component",unit_type:"buzz_head",unit_name:e.id,item_name:M,item_type:"button",position_in_subunit:i,target_content_type:"url",target_content_id:u})}:void 0;(0,M.useEffect)((function(){var t=window.localStorage.getItem("COMMENT_"+window.location.host+window.location.pathname),e=new URLSearchParams(window.location.search).has("open_comments");null!==n&&(t||e)&&g(!0)}),[n]);var m=s&&(0,i.jsx)(A,{commentCount:n,track:N,locale:e.language||"en",destination:c,onCtaClick:function(){return g(!0)},disabled:T}),p=u&&(0,i.jsx)(D.ZP,{buzz:e,type:"pagelevel",position:"top_share_bar",className:I().shareTop,onLoaded:l});return e.hasQuizSharedResult?null:(0,i.jsx)("div",{className:"".concat(y().actionBar," ").concat(y()[c]," ").concat(a," embed-action-bar"),children:(0,L.G)(e)?(0,i.jsxs)(i.Fragment,{children:[p,m]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:y().commentsCtaWrapper,children:m}),p]})})}p.propTypes={buzz:r().object.isRequired,isMobile:r().bool};var O=p,E=n(83661),S=n(13715),f=n.n(S),b=n(39252),C=n(30729);function w(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);ne&&(t=(n=[e,t])[0],e=n[1]);return Math.floor(Math.random()*(e-t+1))+t},R=function(t){var e=t.className,n=void 0===e?"":e,u=t.emoji,r=void 0===u?"\ud83e\udd2f":u,a=t.onTransitionEndComplete,o=t.range,c=void 0===o?[10,15]:o,N=(0,M.useRef)(G.apply(void 0,W(c))),j=(0,M.useRef)(function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.degreeMax,i=void 0===n?45:n,M=e.degreeMin,u=void 0===M?-45:M,r=e.distributionFactor,a=void 0===r?1:r,o=[],c=i-u,N=0;N1&&void 0!==arguments[1]?arguments[1]:1;if(!t)return"0";var n={billion:"B",million:"M",thousand:"K"};return t>=1e9?(t/1e9).toFixed(e).replace(/\.0+$/,"")+n.billion:t>=1e6?(t/1e6).toFixed(e).replace(/\.0+$/,"")+n.million:t>=1e3?(t/1e3).toFixed(e).replace(/\.0+$/,"")+n.thousand:t.toString()},X="user-entries",$=n(83816),tt=n.n($);function et(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e=t.namespace,n=void 0===e?X:e,i=t.limit,M=void 0===i?100:i;return{getAll:function(){try{return JSON.parse(window.localStorage.getItem(n))||[]}catch(t){return[]}},get:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!t)throw new Error("An `entry` value is required.");var e=this.getAll();return e.find((function(e){return e.startsWith(t)}))||""},set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!t)throw new Error("An `entry` value is required.");var e=this.getAll();e.includes(t)?e.splice(e.indexOf(t),1):e.unshift(t),M&&e.length>M&&(e=e.slice(0,M)),window.localStorage.setItem(n,JSON.stringify(e))}}}({namespace:"localUserEmojis"}),rt=function(t){var e=t.name,n=t.localEmojiName,u=t.count,r=void 0===u?0:u,a=t.onClick,o=void 0===a?function(){}:a,c=t.isClicked,N=void 0!==c&&c,j=(0,M.useState)(!1),s=j[0],L=j[1];return(0,i.jsxs)("li",{className:"".concat(tt().reactionsItem," ").concat(!N&&tt().reactionsItemActive),children:[(0,i.jsx)("button",{className:tt().reactionBtn,disabled:N,onClick:function(){ut.set(n),o(e),L(!0)},children:e}),0!==r&&(0,i.jsx)("span",{className:tt().count,children:K(r)}),s&&(0,i.jsx)(H,{className:tt().confetti,emoji:e,onTransitionEndComplete:function(){return L(!1)}})]},e)};rt.propTypes={count:r().number.isRequired,onClick:r().func.isRequired,name:r().string.isRequired,localEmojiName:r().string.isRequired};var at=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.className,n=void 0===e?"":e,u=t.contentId,r=t.contentType,a=void 0===r?"content-object":r,o=t.isSponsored,N=(0,c.useTranslation)("common").t,j=(0,M.useState)(null),s=j[0],L=j[1],T=(0,M.useState)(null),g=T[0],y=T[1],l=(0,M.useState)(null),I=l[0],D=l[1],z=Mt(Y.T).concat(Mt(Y.n));(0,M.useEffect)((function(){var t=ut.get("".concat(a,":").concat(u));if(t){var e=t.split(":").pop();(!o&&z.includes(e)||o&&Y.T.includes(e))&&L(e)}}),[u,a]);var d=function(t){g||y(t.name),t.increment();var e=I.map((function(e){return e.name===t.name?e.count++:e.name===s&&e.count--,e}));D(e),L(t.name)},x=(0,M.useContext)(F.Z),m=(0,J.z)((0,q.h)(x),!0),A=m.reactions,p=m.serverError;if(!A.length)return null;g&&g!=s&&A.forEach((function(t){t.name==g&&(t.count--,y(s))}));var O=[];A.forEach((function(t){t.displayPriority=Y.n.includes(t.name)?1/(Y.n.indexOf(t.name)+Y.T.length+1):1/(Y.T.indexOf(t.name)+1),o&&Y.n.includes(t.name)||O.push(t)}));var E=O.sort((function(t,e){return e.count+e.displayPriority-(t.count+t.displayPriority)}));return(null===I||void 0===I?void 0:I.length)||D(E),(0,i.jsxs)("section",{className:"".concat(n," ").concat(tt().reactions),children:[(0,i.jsx)(V.Z,{id:"reactions-title",children:N("what_do_you_think")}),p&&(0,i.jsx)("p",{className:tt().error,children:N("server_error")}),(0,i.jsx)("ul",{"aria-label":"Emoji Reactions","aria-controls":"dialog",className:"".concat(tt().reactionsList," ").concat(A.some((function(t){return t.count>0}))&&tt().hasReactions),children:I&&I.map((function(t){return(0,i.jsx)(rt,it({isClicked:s==t.name,localEmojiName:"".concat(a,":").concat(u,":").concat(t.name),onClick:function(){d(t)}},t),t.name)}))})]})};at.propTypes={className:r().string,contentId:r().string,contentType:r().string};var ot=at,ct=n(45243),Nt=n.n(ct),jt=n(81550),st=(0,m.Z)((function(){return n.e(36).then(n.bind(n,10305))}),{ssr:!1});function Lt(t){var e=t.data,n=void 0===e?{}:e,u=n.images,r=(0,M.useContext)(F.Z),a=(0,M.useContext)(U.Z).destination,o=r.longform_custom_header.style&&r.longform_custom_header.style.text_over,c=o&&r.longform_custom_header.style.text_over.gradient&&"no_gradient"!==r.longform_custom_header.style.text_over.gradient,N=r.longform_custom_header,j=N.title,s=N.description;if(!u)return null;var L=u.mobile||u.standard||{width:1,height:1},T=L.width,g=L.height,y=parseInt(g/T*100,10);return(0,i.jsxs)("div",{className:"".concat(Nt().featureImageWrapper," ").concat(Nt()["featureImage-".concat(a)]," embed-feature-image"),children:[(0,i.jsx)("div",{style:{paddingBottom:"".concat(y,"%")},className:Nt().featureImagePlaceholder,children:(0,i.jsx)(st,{data:n})}),o&&(0,i.jsx)("div",{className:"".concat(Nt().featureText," ").concat(c?Nt().featureImageShadow:""),children:(0,i.jsxs)("div",{className:Nt().featureTextInner,children:[(0,i.jsx)("div",{className:Nt().title,dangerouslySetInnerHTML:{__html:j}}),(0,i.jsx)("p",{className:Nt().description,dangerouslySetInnerHTML:{__html:s}})]})})]})}Lt.propTypes={data:r().object};var Tt=(0,jt.Z)(Lt,{onError:o.Tb}),gt=n(28182),yt=n(35693),lt=n(64762),It=n(80266),Dt=n.n(It),zt=n(26349),dt=n.n(zt),xt=n(15185),mt=n(70211);function At(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var pt=function(t){var e,n=t.primaryColor,i=t.textColor,M=void 0===i?"#000":i,u=t.subbuzzHeaderBackgroundColor,r=void 0===u?n:u,a=t.subbuzzHeaderOpacity,o=void 0===a?.3:a;return At(e={},dt().primaryColor,n),At(e,dt().textColor,M),At(e,dt().subbuzzHeaderBackground,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseInt(t.slice(1,3),16),i=parseInt(t.slice(3,5),16),M=parseInt(t.slice(5,7),16);return"rgba(".concat(n,",").concat(i,",").concat(M,",").concat(e,")")}(r,o)),e},Ot={core_peach:pt({primaryColor:"#FFE3D4",subbuzzHeaderOpacity:1}),rose:pt({primaryColor:"#FFC0C5"}),watermelon:pt({primaryColor:"#F4A2A2"}),sand:pt({primaryColor:"#F7C597"}),hunter:pt({primaryColor:"#587E6F",textColor:"#fff"}),mint:pt({primaryColor:"#B4DBC8"}),periwinkle:pt({primaryColor:"#6772E5",textColor:"#fff",subbuzzHeaderBackgroundColor:"#8CA2E9"}),stone:pt({primaryColor:"#B0C1D1"}),black:pt({primaryColor:"#2B3249",textColor:"#fff"}),orange:pt({primaryColor:"#BB6719"})},Et={6213166:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/2wr8eZ7PB.png",alt:"foo bar",caption:"Image caption here"},{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/mrut2VKAq.png",alt:"foo bar",caption:"Image caption here"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/2wr8eZ7PB.png",alt:"foo bar",caption:"Image caption here"}]},6318306:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/Kkep1TlKv.png",alt:": A woman in a vibrant floral suit and a woman in a mid-length lilac shirt dress",caption:"via Nordstrom"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/m4991T6wJ.png",alt:": A woman in a vibrant floral suit and a woman in a mid-length lilac shirt dress",caption:"via Nordstrom"}]},6317663:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/ojJJkGRzs.png",alt:"smiling young woman holding gift",caption:"via Nordstrom Rack"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/EFWAnH_vV.png",alt:"smiling young woman holding gift",caption:"via Nordstrom Rack"}]},6328731:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/_urLEETyh.png",alt:"GUESS Originals - Betty Boop Capsule",caption:"via GUESS Originals"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/Vnh84j7By.png",alt:"GUESS Originals - Betty Boop Capsule",caption:"via GUESS Originals"}]},6338670:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/YgB-ffkzG.png",alt:"woman wearing a purple suit jacket",caption:"via Express"},{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/QqTTkj6UI.png",alt:"two women wearing grey outfits",caption:"via Express"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/YgB-ffkzG.png",alt:"woman wearing a purple suit jacket",caption:"via Express"}]},6343747:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/_LYFS3vSe.png",alt:"Inga hosting a potluck party",caption:"Shannon Soule & Morgan Demeter / BuzzFeed"},{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/M3zC6OHNV.png",alt:"Jasmine hosting a cocktail party",caption:"Morgan Demeter / BuzzFeed"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/pMMRuj_bo.png",alt:"Inga hosting a potluck party",caption:"Shannon Soule / BuzzFeed"}]},6345368:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/DS46CxGjP.png",alt:"Elise sits on couch to wrap presents",caption:"BuzzFeed"},{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/bOUr4sHDm.png",alt:"Elise writes holiday cards",caption:"BuzzFeed"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/wmD5lwXnY.png",alt:"Elise sits on couch to wrap presents",caption:"BuzzFeed"}]},6345370:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/mVAhnRJRK.png",alt:"Rie puts flannels into boxes lined with tissue paper",caption:"BuzzFeed"},{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/Qsxen0jb1.png",alt:"Rie holds out ribbon above table with wrapping",caption:"BuzzFeed"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/AqNNrXv8f.png",alt:"Rie puts flannels into boxes lined with tissue paper",caption:"BuzzFeed"}]},6356153:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/BROOyjyP9.png",alt:"Krista wrapping a present",caption:"Shannon Soule / BuzzFeed"},{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/SpwcsDXYJ.png",alt:"Krista opening a present",caption:"Shannon Soule / BuzzFeed"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/vPCt23PGQ.png",alt:"Krista wrapping a present",caption:"Shannon Soule / BuzzFeed"}]},6356259:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/WALG2BALK.png",alt:"Woman models silver sequin one-shouldered top and skirt",caption:"Express"},{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/6addLd8V9.png",alt:"Woman walks down city crosswalk wearing long black sequin dress and open-toed black heels",caption:"Express"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/mKXQxIrY-.png",alt:"Woman models silver sequin one-shouldered top and skirt",caption:"Express"}]},7372811:{desktop:[{src:"https://img.buzzfeed.com/thumbnailer-prod-us-east-1/hive/binaries/491935.jpg",alt:"Models lounge in leggings, bras, shorts, and shirts from the Hanes Originals Collection",caption:"Hanes"},{src:"https://img.buzzfeed.com/thumbnailer-prod-us-east-1/hive/binaries/491939.jpg",alt:"Man wears boxers and tank while woman wears bra and underwear from the Hanes Originals Collection",caption:"Hanes"}],mobile:[{src:"https://img.buzzfeed.com/thumbnailer-prod-us-east-1/hive/binaries/491937.jpg",alt:"Models lounge in leggings, bras, shorts, and shirts from the Hanes Originals Collection",caption:"Hanes"}]},7538615:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/v6ckgPVfn.png",alt:"Two women dressed in fairy halloween costumes taking a selfie outside",caption:"Party City"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/v6ckgPVfn.png",alt:"Two women dressed in fairy halloween costumes taking a selfie outside",caption:"Party City"}]},7562607:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/DyHTTsHRn.png",alt:"Two dogs lying in front of a christmas tree and fireplace",caption:"Petsmart"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/DyHTTsHRn.png",alt:"Two dogs lying in front of a christmas tree and fireplace",caption:"Petsmart"}]},7633098:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/dl0YcJ-Rt.png",alt:"Two women standing in a field against a cloud back drop",caption:"via Walmart Canada"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/dl0YcJ-Rt.png",alt:"Two women standing in a field against a cloud back drop",caption:"via Walmart Canada"}]},7727906:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/8C5A6X2CW.png?output-format=jpg&output-quality=95",alt:'dog in front of a "happy halloween" sign, jack-o-lanterns and decorative bats.',caption:"via Getty Images"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/8C5A6X2CW.png?output-format=jpg&output-quality=95",alt:'dog in front of a "happy halloween" sign, jack-o-lanterns and decorative bats.',caption:"via Getty Images"}]}};function St(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:{};return c.i18n.t(t.toLowerCase(),e)},Oe=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.baseUrl=e,this.abeagle=n,this.addBehavior=ge.Application.addBehavior.bind(ge.Application),this.addModule=ge.Application.addModule.bind(ge.Application),this.broadcast=ge.Application.broadcast.bind(ge.Application),this.on=ge.Application.on.bind(ge.Application),this.off=ge.Application.off.bind(ge.Application),this.start=ge.Application.start.bind(ge.Application),this.startAll=ge.Application.startAll.bind(ge.Application),this.stop=ge.Application.stop.bind(ge.Application),this.getGlobalConfig=ge.Application.getGlobalConfig.bind(ge.Application)}var e,n,i;return e=t,(n=[{key:"init",value:function(t){var e={abeagle:this.abeagle,bf_url:this.baseUrl,canonical_path:t.canonical_path,category:t.category,country:t.country_code,edition:t.classification.edition,debug:"dev"===ze.ENV||"stage"===ze.ENV,description:t.description,formatDate:Ae(t),isAd:t.isAd,language:t.language,mango_url:ze.mango_url,picture:t.picture,shareBehavior:"share-behavior",tags:t.tags,laser_tags:t.laser_tags,title:t.title,tracking:this.tracking,translate:pe};ge.Application.init(e),ge.Application.addBehavior("share-behavior",De.bind(null,t))}},{key:"destroy",value:function(){ge.Application.destroy()}},{key:"_setTrackingFns",value:function(t){this.tracking=t}}])&&me(e.prototype,n),i&&me(e,i),t}();function Ee(){var t=(0,M.useState)(null),e=t[0],n=t[1],i=(0,M.useContext)(F.Z),u=(0,M.useContext)(U.Z).base_url,r=(0,de.Z)(i),a=(0,xe.Z)();return(0,M.useEffect)((function(){window.BZFD.App=window.BZFD.App||new Oe(u,a),window.BZFD.App._setTrackingFns(r),n(window.BZFD.App)}),[i.id,r]),e}function Se(t,e,n,i,M,u,r){try{var a=t[u](r),o=a.value}catch(c){return void n(c)}a.done?e(o):Promise.resolve(o).then(i,M)}function fe(t){return function(){var e=this,n=arguments;return new Promise((function(i,M){var u=t.apply(e,n);function r(t){Se(u,i,M,r,a,"next",t)}function a(t){Se(u,i,M,r,a,"throw",t)}r(void 0)}))}}var be=n(73035);function Ce(t){var e=t.buzz,n=void 0===e?{}:e,i=t.index,u=(0,M.useRef)(null),r=(0,M.useContext)(vt.Z).experiments;return(0,M.useEffect)((function(){var t=u.current;t&&r.loaded&&t.querySelectorAll("a[href]").forEach((function(t){(0,ue.D1)(t.href)&&(t.classList.contains("js-aagc-modified")||(t.classList.add("js-aagc-modified"),function(t){var e=t.element;if(e){var n=e.href.match("/([a-zA-Z0-9]{10})(?:[/?]|$)"),i=new URL(e.href);e.setAttribute("data-aps-asin",n&&!(0,be.B$)(e.href)?n[1]:null),e.setAttribute("data-aps-asc-tag",i.searchParams.get("tag")),e.setAttribute("data-aps-asc-subtag",i.searchParams.get("ascsubtag"))}}({element:t,buzz:n,index:i})))}))}),[r]),u}function we(t){t.buzz;var e=(0,M.useRef)(null),n=(0,M.useContext)(vt.Z),i=n.experiments,u=n.getExperimentValue,r=(n.getFeatureFlagValue,(0,M.useState)(!1)),a=r[0],o=r[1];return(0,M.useEffect)((function(){i&&i.loaded&&o("control"===u("RT-1150-ButtonPostTap-abtest",{rejectErrors:!1}))}),[i,u]),(0,M.useEffect)((function(){var t=e.current;t&&a&&t.querySelectorAll("a[href]").forEach((function(t){(0,ue.D1)(t.href)&&(t.classList.contains("js-buttonposttap-modified")||(t.classList.add("js-buttonposttap-modified"),t.classList.add("noskim"),function(t){var e=t.element,n=t.experiments;if(e){var i={platform:(0,be.b5)(),origin:(0,be.P$)({origin:(0,be.wH)(e)}),experiment:(0,be.wp)(n),pubhubId:(0,be.hp)(),bioId:(0,be.pw)(),linkId:e.getAttribute("data-vars-link-id")||"0",module:"0",rank:"0"},M=!0,u=!1,r=void 0;try{for(var a,o=["origin","linkId"][Symbol.iterator]();!(M=(a=o.next()).done);M=!0){var c=a.value;i[c]&&"0"!==i[c]||delete i[c]}}catch(j){u=!0,r=j}finally{try{M||null==o.return||o.return()}finally{if(u)throw r}}var N=(0,ue.mL)(e.href,i);e.href="https://r.bttn.io?btn_ref=org-21949126c81417e9&btn_url="+encodeURIComponent(N+"%2C".concat((0,be.o6)()||"0"))}}({element:t,experiments:i})))}))}),[a,i]),e}var he=["japan"],_e=["--disable-skimlinks-lib","noskimlinks"],ke=["advertiser","aunews","business","canadanews","community","francenews","japannews","lgbt","politics","quickpost","science","tech","uknews","ukpolitics","usnews","world"];function ve(t){var e=t.buzz,n=void 0===e?{}:e,i=(0,M.useRef)(null),u=(0,M.useContext)(vt.Z).experiments;return(0,M.useEffect)((function(){var t=i.current,e=-1!==he.indexOf(n.classification.edition.toLowerCase()),M=-1!==ke.indexOf(n.classification.section.toLowerCase()),r=_e.some((function(t){return n.tags.includes(t)})),a="uk"===n.classification.edition.toLowerCase()&&"shopping"!==n.classification.section.toLowerCase();if(!(!t||e||M||r||n.isAd||0!==n.flags.sensitive||0!==n.flags.nsfw||a)){var o=(0,be.wp)(u);t.querySelectorAll("a[href]").forEach((function(t){t.classList.contains("js-skimlink-subtag-modified")||(t.classList.add("js-skimlink-subtag-modified"),t.hasAttribute("data-skimlinks-tracking")||t.setAttribute("data-skimlinks-tracking",n.id||""),t.addEventListener("click",(function(t){!function(t){var e=t.element,n=t.experimentSubtags;if(e){var i="https://go.redirectingat.com/".replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),M=i+"/?\\?id=(.*)&sref=(.*)&url=(http.*)&xs=(.*)",u=new RegExp(i+"/?\\?id=(.*)&site=(.*)&xs=(.*)&url=(http.*)"),r=new RegExp(M),a=(0,ue.nC)(e)["link-id"];if(u.test(e.href)||r.test(e.href)){var o=decodeURIComponent((0,ue.Wy)(e).xcust||"").split("|")||"";o[1]=(0,be.b5)(),o[2]=(0,be.o6)(),o[3]=n,o[4]=a,(0,ue.tF)(e,{xcust:encodeURIComponent(o.join("|"))})}}}({element:t.target.closest("a"),experimentSubtags:o})}),{once:!0}))})),document.querySelector('script[src*="skimresources"]')||(0,_t.v)("https://s.skimresources.com/js/74679X1524629.skimlinks.js")}}),[n.id,u.loaded]),i}var Qe=n(33402),Ue=n(5291),Ye=n(95829),Pe=n(81732);function Ze(t,e,n,i,M,u,r){try{var a=t[u](r),o=a.value}catch(c){return void n(c)}a.done?e(o):Promise.resolve(o).then(i,M)}function Be(t){return function(){var e=this,n=arguments;return new Promise((function(i,M){var u=t.apply(e,n);function r(t){Ze(u,i,M,r,a,"next",t)}function a(t){Ze(u,i,M,r,a,"throw",t)}r(void 0)}))}}var We=!1,Ge=function(){return We||(We=new Pe.$P({cluster:ze.CLUSTER})),We};function Re(){return He.apply(this,arguments)}function He(){return(He=Be(Te().mark((function t(){return Te().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ge();case 2:t.sent.trackEvent();case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var Fe=n(13607);function Je(t,e,n,i,M,u,r){try{var a=t[u](r),o=a.value}catch(c){return void n(c)}a.done?e(o):Promise.resolve(o).then(i,M)}var Ve=function(){var t,e=(t=Te().mark((function t(e){var n,i,M,u,r,a,o;return Te().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.subbuzzElement,i=e.element,M=e.buzz,u=e.isPermutiveEnabled,i.hasAttribute("data-affiliate")&&(r=(0,ue.nC)(i),a=n?n.querySelector("div.subbuzz-anchor"):null,o=a&&a.id?a.id:null,(0,Qe.iZ)(M.destination_name,M,{section:M.classification.section,currency:r["price.currency"],contents:r.href,value:r["price.value"],linkId:r["link-id"],"subbuzz-id":o}),u&&(0,Ye.m)({affiliate:r.affiliate,campaign:r.campaign,href:r.href,name:r.name,price:{value:Number(parseFloat(r["price.value"]||0).toFixed(2)),currency:r["price.currency"]||""},redirectUrl:r.redirecturl,keywords:"string"===typeof r.keywords?r.keywords.split(","):[],retailers:"string"===typeof r.retailers?r.retailers.split(","):[],affiliateLinkId:r["link-id"]},M),(0,Ue.w)(),Re());case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,M){var u=t.apply(e,n);function r(t){Je(u,i,M,r,a,"next",t)}function a(t){Je(u,i,M,r,a,"throw",t)}r(void 0)}))});return function(t){return e.apply(this,arguments)}}();function qe(t){var e=t.buzz,n=void 0===e?{}:e,i=(0,M.useRef)(null),u=(0,M.useContext)(Fe.Z).tracking,r=u.consentValue,a=u.isConsentReady,o=(0,(0,M.useContext)(vt.Z).getFeatureFlagValue)("ADSGROUP-442-permutive");return(0,M.useEffect)((function(){var t=i.current;t&&a&&(!a||r)&&null!==o&&t.querySelectorAll("a[href]").forEach((function(e){(0,be.Uz)(e)&&e.addEventListener("click",(function(e){Ve({subbuzzElement:t,element:e.target.closest("a"),buzz:n,isPermutiveEnabled:o})}))}))}),[n,a,r,o]),i}var Ke=n(90093);function Xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $e(t){for(var e=1;e/g,"p>"):j.replace(//g,"p>"))}}),(0,i.jsxs)("div",{className:on().infoWrapper,children:[(0,i.jsx)("div",{className:"bold xs-text-4 xs-mt2 text-gray",children:e.product_price}),(0,i.jsxs)("div",{className:"xs-text-6 text-gray-lightest ",children:["on ",e.retailer]})]})]})]})},Ln=n(50060),Tn=n.n(Ln);function gn(t,e,n,i,M,u,r){try{var a=t[u](r),o=a.value}catch(c){return void n(c)}a.done?e(o):Promise.resolve(o).then(i,M)}function yn(t){return function(){var e=this,n=arguments;return new Promise((function(i,M){var u=t.apply(e,n);function r(t){gn(u,i,M,r,a,"next",t)}function a(t){gn(u,i,M,r,a,"throw",t)}r(void 0)}))}}function ln(){return ln=yn(Te().mark((function t(e){var n,i,M,u,r,a;return Te().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.productId,i=e.setProducts,M=e.pageSize,u="https://recsys-api.buzzfeed.com/web/related-product-unit/product?product_id=".concat(n,"&page_size=").concat(M),t.prev=2,t.next=5,fetch(u,{});case 5:return r=t.sent,t.next=8,r.json();case 8:(a=t.sent)&&a.results&&i(a.results),t.next=15;break;case 12:return t.prev=12,t.t0=t.catch(2),t.abrupt("return",t.t0);case 15:return t.abrupt("return",{});case 16:case"end":return t.stop()}}),t,null,[[2,12]])}))),ln.apply(this,arguments)}function In(t){for(var e=t.buzz,n=t.hasRelatedProductsLasertag,i=(0,M.useState)(),u=i[0],r=i[1],a="",o=0;o4&&(0,i.jsx)("div",{className:on().seeMoreButtonWrapper,children:(0,i.jsxs)("button",{className:on().seeMoreButton,onClick:Z,children:["See ",k.length-E," more"]})})]}),(0,i.jsxs)("div",{className:on().feedbackWrapper,children:[(0,i.jsx)("span",{children:" Have thoughts on this unit?"}),(0,i.jsx)("a",{href:"https://docs.google.com/forms/d/e/1FAIpQLSf5D1hohLfrGtwLP5nhS6lqPoVtZ7YydJhpncqwxlMAvllUnQ/viewform",className:on().feedbackLink,target:"_blank",rel:"noreferrer",children:"Submit your feedback."})]})]})}),b)}),[a,k,B,Z,w,Y,o,b,E,T,l,v,j]),(0,i.jsx)(i.Fragment,{})},An=n(33528),pn=n.n(An),On=function(t){var e=t.className,n=t.fill,M=void 0===n?"none":n,u=t.title,r=void 0===u?"":u,a=t.stroke,o=void 0===a?"":a;return(0,i.jsxs)("svg",{className:e,fill:M,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",children:[(0,i.jsx)("title",{children:r}),(0,i.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M5.5 3L10.5 8L5.5 13",stroke:o||"#5246f5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})};function En(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sn(t,e){if(null==t)return{};var n,i,M=function(t,e){if(null==t)return{};var n,i,M={},u=Object.keys(t);for(i=0;i=0||(M[n]=t[n]);return M}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(M[n]=t[n])}return M}var fn=function(t){var e=t.className,n=t.title,M=void 0===n?"BuzzFeed Trending":n,u=Sn(t,["className","title"]);return(0,i.jsxs)("svg",function(t){for(var e=1;e90&&v?pn().longVisualPromoTitle:""),style:{"--promoThemeColor1":Q.color1,"--promoThemeColor2":Q.color2,"--promoThemeTextColor":Q.textColor},children:[v&&(0,i.jsx)("img",{alt:"",className:pn().visualPromoImage,src:v,"aria-hidden":!0}),(0,i.jsxs)("div",{className:pn().visualPromoContent,children:[(0,i.jsxs)("div",{className:pn().visualPromoCopy,children:[(0,i.jsxs)("div",{className:pn().visualPromoPill,children:[(0,i.jsx)(fn,{className:pn().visualPromoIcon,"aria-hidden":!0}),"Hot Topic"]}),(0,i.jsx)("div",{className:pn().visualPromoTitle,children:_})]}),(0,i.jsxs)("div",{className:pn().visualPromoCta,children:[k,(0,i.jsx)(On,{className:pn().carret,stroke:Q.textColor})]})]})]})};Cn.propTypes={buzz:r().object.isRequired,itemType:r().oneOf(["text","card"]),positionInUnit:r().number,subunitName:r().string,subunitType:r().string};var wn=Cn,hn=n(35167),_n=n(15449),kn=n(48570),vn=n(51171),Qn=n(71520),Un=n(14125);var Yn=n(29014),Pn=n.n(Yn);function Zn(t){var e,n=t.buzz,u=void 0===n?{}:n,r=t.showOnTopQuiz,o=void 0!==r&&r,c=(0,M.useState)(null),N=c[0],j=c[1],s=(0,M.useContext)(a.$),T=(0,M.useState)(null),g=T[0],y=T[1],l=(0,M.useRef)(null),I=(0,M.useRef)(!1),D=(0,Un.yA)(u)||o,d=(0,M.useContext)(z.Z).isCommentsPanelOpen,x=null===s||void 0===s||null===(e=s.env)||void 0===e?void 0:e.userCountry,m=(0,L.G)(u)?"buzzfeed_news":"buzzfeed",A=(0,Qn.Q)("backfill",m,o),p=A.embedId,O=A.playerId,E="player-".concat(p);return(0,M.useEffect)((function(){if(D&&x&&!I.current){if(I.current=!0,!N){var t="https://capi.connatix.com/tr/si?token=".concat(O,"&cid=").concat(Qn.k),e=new Image;e.src=t,j(e)}window.cnx.cmd.push((function(){window.cnx({playerId:O,settings:{rendering:{insertPosition:window.cnx.configEnums.InsertPositionEnum.WithinContainer}}}).render(E,(function(t,e){t?console.error("Player rendering failed:",t):y(e)}))}))}}),[D,x,O,E,N]),function(t,e,n){var i=(0,M.useRef)(!1);(0,M.useEffect)((function(){if(!n)return null===t||void 0===t||t.disableFloatingMode(),void(i.current=!1);if(n&&e.current&&"function"===typeof t.enableFloatingMode&&"function"===typeof t.disableFloatingMode&&"undefined"!==typeof IntersectionObserver){var M=e.current;M&&(M.style.minHeight="100px");var u=new IntersectionObserver((function(e){e.forEach((function(e){var n=e.boundingClientRect,M=window.innerHeight||document.documentElement.clientHeight;!e.isIntersecting&&n.top<0&&!i.current?(t.enableFloatingMode(),i.current=!0):e.isIntersecting&&n.bottom<=M&&i.current&&(t.disableFloatingMode(),i.current=!1)}))}),{threshold:[0,.1],rootMargin:"0px"});return M&&u.observe(M),function(){M&&u.unobserve(M)}}}),[n,t,e])}(g,l,g&&window.innerWidth<=1025&&(0,Un.$0)(u)&&!d||!1),D&&x?(0,i.jsx)("div",{className:"bf-cnx-override ".concat(o?Pn().bfElementsWrapperQuiz:Pn().bfElementsWrapper),children:(0,i.jsx)("div",{id:E,ref:l,className:"bf-cnx-player"})}):""}var Bn=n(89013),Wn=n.n(Bn);function Gn(){var t=(0,M.useRef)(null);return(0,M.useEffect)((function(){var e=document.createElement("script");e.type="text/javascript",e.innerHTML='(apscustom = window.apscustom || []).push({ id: "93b7dd52-a8ce-11ed-afa1-0242ac120002:1"});',t.current.appendChild(e)}),[t]),(0,i.jsx)("div",{className:Wn().amazonAiWrapper,children:(0,i.jsx)("div",{ref:t,className:"apscustom",id:"93b7dd52-a8ce-11ed-afa1-0242ac120002:1"})})}var Rn=n(23467),Hn=n(75449),Fn=n.n(Hn),Jn=n(24823),Vn=n(8698),qn=n(68446),Kn=n.n(qn);function Xn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $n(t){for(var e=1;e=0||(M[n]=t[n]);return M}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(M[n]=t[n])}return M}function ai(t){var e=t.buzz,n=void 0===e?{}:e,u=t.version,r=ri(t,["buzz","version"]),a="var1"===u,o=(0,Vn.I)(),c=(0,M.useContext)(U.Z).base_url,N="".concat(ze.recsys_api_origin,"/users-personalized-products?client_uuid=").concat(o),j="".concat(c,"/site-component/v1/en-us/trending-products?convert_links=true&"),s=(0,M.useState)([]),L=s[0],T=s[1],g=(0,M.useState)(""),y=g[0],l=g[1],I=(0,M.useState)(0),D=I[0],z=I[1],d=(0,M.useState)(!0),m=d[0],A=d[1],p=(0,M.useState)(window.innerWidth<831),O=p[0],S=p[1],f=(0,M.useRef)(null),b=ae({buzz:n}),C=ve({buzz:n}),w={item_name:"product",item_type:"card",position_in_unit:1,unit_type:"buzz_body",unit_name:n.id,subunit_type:"package",subunit_name:"personalized_see_more",target_content_type:"subbuzz"},h=(0,M.useMemo)((function(){return ui({},w)}),[n.id]);if((0,M.useLayoutEffect)((function(){f.current&&(0,x.aF)(f.current,n,w)}),[f]),(0,M.useEffect)((function(){var t=function(){return S(window.innerWidth<831)};return window.addEventListener("resize",t),function(){return window.removeEventListener("resize",t)}}),[]),(0,M.useEffect)((function(){var t=function(){var t=ii(Te().mark((function t(){var e,n,i,M,u,r;return Te().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A(!0),e=a?N:j,t.prev=2,t.next=5,fetch(e);case 5:return n=t.sent,t.next=8,n.json();case 8:i=t.sent,M=a?null===i||void 0===i?void 0:i.results:null===i||void 0===i?void 0:i.items,r=null!==(u=null===M||void 0===M?void 0:M.sort((function(){return.5-Math.random()})).slice(0,3))&&void 0!==u?u:[],T(r),t.next=19;break;case 15:t.prev=15,t.t0=t.catch(2),console.error("Error fetching products:",t.t0),T([]);case 19:return t.prev=19,A(!1),t.finish(19);case 22:case"end":return t.stop()}}),t,null,[[2,15,19,22]])})));return function(){return t.apply(this,arguments)}}();o&&t()}),[o,a,N,j]),(0,M.useEffect)((function(){var t=function(){var t=ii(Te().mark((function t(){var e,n,i,M,u,r;return Te().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a){t.next=3;break}return l("Other products our readers are loving"),t.abrupt("return");case 3:return t.prev=3,t.next=7,fetch("".concat(ze.recsys_api_origin,"/users-top-product-category?client_uuid=").concat(o));case 7:return i=t.sent,t.next=10,i.json();case 10:M=t.sent,r=null!==(u=null===M||void 0===M||null===(e=M[0])||void 0===e||null===(n=e[0])||void 0===n?void 0:n.replace(/^:/,"").trim())&&void 0!==u?u:"",l(r?"Because you like ".concat(r):"Just Picked for you!"),t.next=19;break;case 16:t.prev=16,t.t0=t.catch(3),l("Just Picked for you!");case 19:case"end":return t.stop()}}),t,null,[[3,16]])})));return function(){return t.apply(this,arguments)}}();t()}),[a,o]),m)return null;if(L.length<3)return(0,i.jsx)(E.Z,ui({},r));var _={dots:!1,infinite:!1,speed:500,slidesToShow:1,slidesToScroll:1,arrows:!0,nextArrow:(0,i.jsx)(ti,{isHidden:2===D}),prevArrow:(0,i.jsx)(ei,{isHidden:0===D}),centerMode:!0,centerPadding:"50px",beforeChange:function(t,e){return z(e)}},k={useUnitTracking:bn.R,tracking:h,className:Fn().productsWrapper,productClassName:Fn().product,showButton:!0,trackingTag:"stockupeverydayessentialsbcp-20"};return(0,i.jsxs)("div",{className:Fn().component,ref:f,children:[(0,i.jsxs)("div",{className:Fn().header,children:[(0,i.jsx)("div",{className:Fn().header__title,children:y}),(0,i.jsx)("div",{className:Fn().header__subtitle,children:a?"Based on what you've seen, here are some suggestions:":"Popular products you might want to check out:"}),!O&&(0,i.jsx)("div",{className:Fn().header__crystal_ball,children:(0,i.jsx)("img",{src:Kn(),alt:"Crystal ball"})})]}),(0,i.jsx)("div",{className:Fn().content,ref:(0,se.Z)(b,C),children:O?(0,i.jsxs)(i.Fragment,{children:[0!==D&&(0,i.jsx)("div",{className:Fn().gradientOverlayLeft}),2!==D&&(0,i.jsx)("div",{className:Fn().gradientOverlayRight}),(0,i.jsx)(Rn.Z,ui({},_,{children:L.map((function(t,e){return(0,i.jsx)("div",{className:Fn().carouselSlide,children:(0,i.jsx)(Jn.Z,ui({products:[t],len:1},k))},e)}))}))]}):(0,i.jsx)(Jn.Z,ui({products:L,len:3},k))})]})}function oi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t||h)&&s.current&&b.sort((function(t,e){var n,i;return((null===t||void 0===t||null===(n=t.messageData)||void 0===n?void 0:n.subbuzzIndex)||0)-((null===e||void 0===e||null===(i=e.messageData)||void 0===i?void 0:i.subbuzzIndex)||0)})).forEach((function(t){s.current.onBFPReady(t.messageData)}))}),[b,s,u.id,h]),(0,M.useEffect)((function(){if(!d.loaded)return function(){};if("loaded"!==r.status)return function(){};var t,e,n=3;return u.is_quiz&&!u.isBFPQuiz&&(n=c||O?1:I?3:2,(t=(0,kn.Z)({AdUnit:E.Z,buzz:u,disablePromo1Native:A,element:j.current,onAdsReady:function(t){return y(g.concat(t))},pixiedust:D,presetDensity:n,skipNUnits:!1})).init()),(e=(0,_n.Z)({AdUnit:Ni,buzz:u,element:j.current,onAdsReady:function(t){y(g.concat(t))},pixiedust:D,skipNUnits:!1,presetDensity:c||p||"variant1"===S?"density_200":"variant2"===S&&"density_275",presetPlacements:c||p||"variant1"===S?"placements_1":"variant2"===S&&"placements_2"})).init(),function(){e&&e.destroy(),t&&t.destroy()}}),[u.id,r,d.loaded]),(0,M.useEffect)((function(){if(!d.loaded)return function(){};if("loaded"!==r.status)return function(){};var t=3;return u.is_quiz&&u.bfpFormats.length>0&&(t=c||O?1:I?3:2,s.current=(0,vn.Z)({AdUnit:E.Z,disablePromo1Native:A,element:j.current,onAdsReady:function(t){return y(g.concat(t))},pixiedust:D,presetDensity:t,skipNUnits:!1}),s.current.init()),function(){s.current&&s.current.destroy()}}),[u.id,r,d.loaded]),(0,M.useEffect)((function(){if((0,L.G)(u)&&(null===j||void 0===j?void 0:j.current)&&!window.pgmApi&&g.length&&"disabled"!==r.status){var t=document.createElement("div");t.setAttribute("id","publicGood"),t.classList.add("loading","clearfix","ad-ex");var e={partnerId:"buzzfeed-buzzfeed-news"};"dev"!==ze.CLUSTER&&"stage"!==ze.CLUSTER||(e.attributes={targetId:"2d3d74ba-3807-4e28-875a-dfc5d67706f8",targetType:"campaign"}),(0,_t.v)("https://assets.publicgood.com/pgm/v1/pgm-api.js",document.body).then(function(){var n,i=(n=Te().mark((function n(i){var M;return Te().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i.onload();case 2:M=Math.floor(g.length/2),j.current.querySelectorAll(".js-ad-placement")[M].insertAdjacentElement("afterend",t),window.pgmApi.create(t,Ti({},e,{onShow:function(){t.classList.remove("loading");var e=document.createElement("h2");e.classList.add("ad__disclosure--ex"),e.innerText="ARTICLE CONTINUES BELOW",t.insertAdjacentElement("afterbegin",e)},onHide:function(){window.pgmApi.remove(),t.remove()}}));case 6:case"end":return n.stop()}}),n)})),function(){var t=this,e=arguments;return new Promise((function(i,M){var u=n.apply(t,e);function r(t){si(u,i,M,r,a,"next",t)}function a(t){si(u,i,M,r,a,"throw",t)}r(void 0)}))});return function(t){return i.apply(this,arguments)}}())}}),[u,r,g,j,_t.v]),(0,i.jsxs)("div",{ref:j,children:["jp"!==o&&(0,i.jsx)(Zn,{buzz:u}),(0,i.jsx)(t,Ti({},e)),g.map((function(t,e){return(0,i.jsx)(t,{},e)}))]})}};function Ii(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e=Ee(),n=(0,M.useState)(!1),i=n[0],u=n[1],r=(0,M.useRef)(t).current;return(0,M.useEffect)((function(){if(!i){if(t.inline_js){var e=document.body,n=document.createElement("script");n.innerHTML=t.inline_js,e.appendChild(n)}t.js&&function(){M.apply(this,arguments)}()}function M(){return M=fe(Te().mark((function e(){return Te().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Promise.all(t.js.map(function(){var t=fe(Te().mark((function t(e){return Te().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,_t.v)(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 3:u(!0),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),(0,o.Tb)(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])}))),M.apply(this,arguments)}}),[r,i]),e&&i?e:null}(u.assets);!function(){var t=(0,M.useContext)(F.Z);(0,M.useEffect)((function(){window.clientEventTracking={getPageContextLayer:function(){return(0,x.z4)(t)},env:ze.CLUSTER}}),[t])}();var j=(0,c.useTranslation)("common").t,s=u.subbuzzes?Di(u.subbuzzes):[],L=["list","long"].reduce((function(t,n){return e.format.page_type.includes(n)&&(t+="buzz--".concat(n)),t}),"");if("breaking"===e.format.page_type&&s.length){var T=s.find((function(t){return t.includes("buzz__update")}));if(T){var g=s.indexOf(T);s.splice(g,0,'

'.concat(j("updates"),"

"))}}return(0,M.useEffect)((function(){return N&&N.init&&N.init(e),function(){N&&N.destroy&&N.destroy()}}),[e,N]),(0,M.useEffect)((function(){var t;if("buzzfeed_news"===r&&(null===a||void 0===a?void 0:a.current)){var e=a.current.querySelectorAll(".js-subbuzz-wrapper"),n=e.length-1;(null===(t=e[n-1])||void 0===t?void 0:t.querySelector(".subbuzz-bfp--related_links"))&&(n-=1)}}),[r,a]),(0,i.jsx)("div",{className:"\n ".concat(L,"\n buzz--").concat(e.category,"\n subbuzzes-wrapper\n subbuzzes--").concat(r,"\n "),ref:a,children:s.map((function(t,n){var u,r,a,o,c;return(0,i.jsxs)(M.Fragment,{children:[0===n&&"connatix_video"!==(null===(u=null===e||void 0===e?void 0:e.sub_buzzes[0])||void 0===u?void 0:u.format_name)&&(0,i.jsx)(Cn,{buzz:e,itemType:"text",positionInUnit:n}),1===n&&"connatix_video"===(null===(r=null===e||void 0===e?void 0:e.sub_buzzes[0])||void 0===r?void 0:r.format_name)&&(0,i.jsx)(Cn,{buzz:e,itemType:"text",positionInUnit:n}),(0,i.jsx)(zi,{html:t,buzz:e,index:n},n),(3===n||n===(null===e||void 0===e||null===(a=e.sub_buzzes)||void 0===a?void 0:a.length)-1&&(null===e||void 0===e||null===(o=e.sub_buzzes)||void 0===o?void 0:o.length)<4)&&(0,i.jsx)(Cn,{buzz:e,itemType:"card",positionInUnit:n,unitType:3===n?"buzz_body":"buzz_bottom"}),n===s.length-1&&(null===e||void 0===e||null===(c=e.sub_buzzes)||void 0===c?void 0:c.length)>4&&(0,i.jsx)(Cn,{buzz:e,itemType:"text",positionInUnit:n,unitType:"buzz_bottom"})]},n)}))})};di.propTypes={subbuzzData:r().shape({assets:r().object,subbuzzes:r().array})};var xi=li(di),mi=n(60319),Ai=n.n(mi),pi=n(21038);function Oi(t){var e=t.isMobile,n=t.placement,u=void 0===n?1:n,r=(0,M.useState)(),a=r[0],o=r[1],c=(0,M.useState)(),N=c[0],j=c[1],s=(0,M.useState)(),L=s[0],T=s[1],g=(0,M.useState)(),y=g[0],l=g[1],I=(0,M.useContext)(F.Z),D=I.classification,z=I.flags,d=I.isPreview,x=I.tags;(0,M.useEffect)((function(){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=t?"SP":"Desktop",i="taboola-below-article-thumbnails-".concat(t?"sp":"desktop").concat(e),M=1==e?"thumbnails-a":"alternating-thumbnails-a",u="\n window._taboola = window._taboola || [];\n if (publishedDate > firstDecDate) {\n // MG code\n _taboola.push({\n mode: '".concat(M,"',\n container: '").concat(i,"',\n placement: 'Below Article Thumbnails ").concat(n).concat(e,"',\n target_type: 'mix'\n });\n } else {\n //Rev share code\n _taboola.push({\n mode: '").concat(M,"',\n container: '").concat(i,"',\n placement: 'Below Article Thumbnails ").concat(n).concat(e," Past',\n target_type: 'mix'\n });\n }\n ");return{id:i,inline_js:u}}(e,u),n=t.id,i=t.inline_js;T(n),l(i)}),[e]);var m=!z.sensitive&&!z.nsfw&&!z.ad&&!x.includes("--noads")&&!d&&"Japan"===D.edition;return(0,M.useEffect)((function(){pi.hi.getTCData().then((function(t){var e=t.tcData,n=e.gdprApplies,i=e.eventStatus;if(n&&!["useractioncomplete","tcloaded"].includes(i)||document.getElementById("tb_loader_script"))N||a||(pi.hi.setTCFListener((function(t){var e=t.tcData;o("useractioncomplete"===e.eventStatus||"tcloaded"===e.eventStatus)})),j(!0));else{var M=document.createElement("script");M.type="text/javascript",M.innerHTML="\n window._taboola = window._taboola || [];\n _taboola.push({article:'auto'});\n !function (e, f, u, i) {\n if (!document.getElementById(i)){\n e.async = 1;\n e.src = u;\n e.id = i;\n f.parentNode.insertBefore(e, f);\n }\n }(document.createElement('script'),\n document.getElementsByTagName('script')[0],\n '//cdn.taboola.com/libtrc/buzzfeedjapan/loader.js',\n 'tb_loader_script');\n if(window.performance && typeof window.performance.mark == 'function')\n {window.performance.mark('tbl_ic');}\n",document.head.appendChild(M);var u=document.createElement("script");u.type="text/javascript",u.innerHTML="\n window._taboola = window._taboola || [];\n _taboola.push({flush: true});\n",document.body.appendChild(u),a||o(!0)}}))}),[N,a]),m&&(0,i.jsxs)("div",{className:Ai().taboolaWrapper,children:[1==u&&(0,i.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:'\n var docString = document.documentElement.innerHTML.toString();\n var arrPublished = docString.split("datePublished");\n var publishedDateString = arrPublished[1].split(\'"\')[2];\n var arrModified = docString.split("dateModified");\n var modifiedDateString = arrModified[1].split(\'"\')[2];\n if(modifiedDateString){\n // replacing publishedDate if dateModified has value\n publishedDateString = modifiedDateString;\n }\n var publishedDate = new Date(publishedDateString);\n var firstDecDate = new Date("12/01/2022");\n'}}),(0,i.jsx)("div",{id:L}),(0,i.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:y}})]})}Oi.propTypes={isMobile:r().bool,placement:r().number};var Ei=Oi,Si=n(31284),fi=n.n(Si),bi=function(t){var e=t.topic,n=t.buzz,u=t.index,r=e.tag_name.replace(/_/g,"-"),a=(0,M.useMemo)((function(){return{item_type:"button",item_name:e.tag_display_name,subunit_name:"topic_in_article",subunit_type:"component",unit_type:"buzz_body",unit_name:n.id,target_content_type:"feed",target_content_id:"topic_".concat(r),position_in_subunit:u}}),[n.id,e.tag_name,u]),o=(0,bn.R)(a);return(0,i.jsx)("a",{ref:o,href:"/topic/".concat(r),children:e.tag_display_name})},Ci=function(t){var e,n,M=t.buzz,u=(null===(e=M.laser_tags)||void 0===e||null===(n=e.bf_content_description)||void 0===n?void 0:n.topic)||[];return u.length?(0,i.jsxs)("div",{className:fi().topics,children:[(0,i.jsx)("h2",{className:fi().heading,children:"Topics in this article"}),(0,i.jsx)("ul",{children:u.slice(0,3).map((function(t,e){return(0,i.jsx)("li",{children:(0,i.jsx)(bi,{topic:t,buzz:M,index:e})},e)}))})]}):null},wi=n(48121),hi=n.n(wi);function _i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ki=function(t){return(0,i.jsx)("svg",function(t){for(var e=1;e1710959400);(0,M.useEffect)((function(){(0,L.G)(r)&&(document.querySelector("body").style.overflowX="hidden")}),[r,r.format.page_width]),(0,M.useEffect)((function(){var t=C("RT-946-shopping-recirc-bfn",{rejectErrors:!1});(0,L.G)(r)&&"var1"===t&&_(!0)}),[C]);var W=(0,M.useCallback)((function(){l(!1)}),[l]);return(0,i.jsxs)("main",{className:"".concat(I().main," ").concat(I()[m]," embed-content"),id:"buzz-content",ref:x,children:[r.longform_custom_header&&(0,i.jsx)(Tt,{data:r.longform_custom_header}),(0,i.jsx)("div",{className:"".concat(I().article," ").concat(I()[m]," ").concat(I().wide," ").concat(I()[r.bfpTheme]||""," embed-post"),children:(0,i.jsxs)("div",{className:I().content,children:[(0,i.jsxs)("article",{className:"featured-post",children:[r.lookbookPalette?(0,i.jsx)(Ct,{buzz:r,commentCount:f,showShareBar:Y}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(yt.Z,{buzz:r,badges:g}),(0,i.jsx)(p,{buzz:r,commentCount:f,showShareBar:Y,destination:m})]}),(0,i.jsx)(Yi,{buzz:r,postRef:x}),(0,i.jsx)(xi,{buzz:r,subbuzzData:a,pixiedust:{unit_type:"buzz_body",unit_name:r.id,position_in_unit:0}}),r.hasStudiosPromoUnit&&(0,i.jsx)(je,{buzz:r}),(0,L.G)(r)&&(0,i.jsx)(Ci,{buzz:r}),(0,i.jsx)(k,{buzz:r}),(0,i.jsx)(Q.Z,{buzz:r})]}),(0,i.jsxs)(j.Z,{onError:o.Tb,children:[(0,i.jsx)(E.Z,{type:"subbuzz",pixiedust:{unit_type:"buzz_bottom",unit_name:r.id,position_in_unit:0}}),"Japan"===r.classification.edition&&(0,i.jsx)(wt.Z,{children:(0,i.jsx)(Ei,{isMobile:O})}),!B&&(Z?(0,i.jsx)(Xt,{}):(0,i.jsx)(Ft,{})),B&&(0,i.jsx)(ot,{contentId:r.id,isSponsored:T(r)}),A&&(0,i.jsx)(v.Z,{buzz:r,commentCount:f,onCommentsLoaded:b,firstPage:100,repliesFirstPage:2,perPage:100}),A&&(0,i.jsx)(wn,{buzz:r,subunitName:"comments",subunitType:"component",unitType:"buzz_bottom"}),P&&(0,i.jsx)(D.ZP,{buzz:r,heading:d("share_article"),position:"bottom_share_bar",type:"pagelevel",className:I().shareBottom}),!r.isAd&&(null===(e=r.laser_tags)||void 0===e||null===(n=e.bf_content_description)||void 0===n||null===(u=n.topic)||void 0===u?void 0:u.some((function(t){return"2024_elections"===t.tag_name})))&&(0,i.jsx)(Fi,{}),"buzzfeed"===m&&!r.isShopping&&!(0,L.G)(r)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Pt.Z,{style:{marginBottom:"3rem"},isNewDesign:!0}),(0,i.jsx)(E.Z,{type:"story-bpage-desktop",pixiedust:{unit_type:"buzz_bottom",unit_name:r.id,position_in_unit:1},style:{marginTop:"-2rem"}})]}),(0,i.jsx)($t.d$,{}),"buzzfeed"===m&&r.isShopping&&!(0,L.G)(r)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(E.Z,{type:"story-bpage-desktop",pixiedust:{unit_type:"buzz_bottom",unit_name:r.id,position_in_unit:1}}),(0,i.jsx)(Pt.Z,{style:{marginTop:O?"1rem":"-2rem"},isNewDesign:!0})]}),(0,i.jsx)(ht.Z,{}),(0,i.jsx)(gt.Z,{}),O&&(0,i.jsx)(E.Z,{type:"bigstory",pixiedust:{unit_type:"buzz_bottom",unit_name:r.id,position_in_unit:1}})]})]})}),(0,i.jsxs)(j.Z,{onError:o.Tb,children:[(0,i.jsx)(Gi,{}),"Japan"===r.classification.edition&&(0,i.jsx)(wt.Z,{children:(0,i.jsx)(Ei,{placement:2,isMobile:O})}),(0,L.G)(r)&&(0,i.jsx)(s.Z,{jumpTo:"news-footer",className:"skipToFooter",label:"Skip to footer"}),(0,L.G)(r)&&(h?(0,i.jsx)(Pt.Z,{style:{marginBottom:"3rem",marginTop:"-2rem"},isNewDesign:!1}):(0,i.jsx)(Yt,{})),(0,i.jsx)($t.cM,{})]}),y&&(0,i.jsx)(Wt,{onOverlayClick:W})]})}Ji.propTypes={buzz:r().object.isRequired,badges:r().array,subbuzzData:r().shape({assets:r().object,subbuzzes:r().array})};var Vi=Ji;function qi(t){var e=t.pixiedust;return(0,i.jsx)(E.Z,{config:{adType:"ex",adPos:"promo-inline-trending-ad-unit-slot",size:[hn.J7.PROGRAMMATIC_SMARTPHONE_BANNER,hn.J7.PROGRAMMATIC_MEDIUM_RECTANGLE,hn.J7.PROGRAMMATIC_LEADERBOARD,hn.J7.NATIVE,hn.J7.FLUID],viewability:"high"},pixiedust:e})}var Ki=function(){var t=(0,M.useContext)(F.Z),e=(0,M.useContext)(Fe.Z).tracking,n=e.consentValue,u=e.isConsentReady,r=!t.isAd&&"news"!==t.metavertical&&!t.flags.sensitive&&!t.flags.nsfw&&t.isUS&&-1!==ke.indexOf(t.category.toLowerCase());return(0,M.useEffect)((function(){r&&n&&u&&(0,_t.v)("//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=8e4d6210-350e-4d17-b9c5-70937cc906ff")}),[r,n,u]),r?(0,i.jsx)("div",{id:"amzn-assoc-ad-8e4d6210-350e-4d17-b9c5-70937cc906ff"}):null};var Xi=function(t){var e,n=t.buzz,M=(0,c.useTranslation)("common").t;return n.tags.forEach((function(t){t.includes("--commerce-seo-links-")&&(e=t.replace("--commerce-seo-links-",""))})),e&&""!==e&&"Choose"!==e&&["US"].some((function(t){return t===n.classification.edition}))&&["en"].some((function(t){return t===n.language}))?(0,i.jsx)("div",{className:"subbuzz subbuzz-text xs-mb4 xs-relative",children:(0,i.jsx)("h2",{dangerouslySetInnerHTML:{__html:M("COMMERCE_SEO_"+e.toUpperCase())}})}):null};var $i=function(){var t,e=(0,M.useContext)(F.Z),n=(0,M.useContext)(a.$),u=null===n||void 0===n||null===(t=n.env)||void 0===t?void 0:t.userCountry,r=!(0,L.G)(e)&&"Japan"!==e.classification.edition&&!e.isAd&&("au"===u||"nz"===u),o="dev"!==ze.CLUSTER&&"stage"!==ze.CLUSTER,c="\n window.PubFeedHeader = true;\n var script = document.createElement('script');\n script.src = \"https://".concat(o?"pubfeed":"staging-pubfeed",".linkby.com/widget.js\";\n document.getElementsByTagName('head')[0].appendChild(script);\n ");if(!r)return"";if(r&&!window.PubFeedHeader){var N=document.createElement("script");N.type="text/javascript",N.innerHTML=c,document.head.appendChild(N)}return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"linkby-widget","data-type":"listicle"})})},tM=n(83199);var eM=function(){var t=(0,M.useContext)(F.Z),e=(0,M.useContext)(vt.Z).getFeatureFlagValue,n=e("RT-1042-Admiral-script-on-BFDC")||e("RT-1042-Admiral-script-on-BFN"),u=(0,M.useState)(!1),r=u[0],a=u[1];return(0,M.useEffect)((function(){n&&!r&&(a(!0),tM.cL.init(t.destination_name))}),[n]),(0,i.jsx)(i.Fragment,{})},nM=n(66070),iM=n.n(nM),MM=n(3207),uM="Take this quiz with friends in real time and compare results",rM="Can you beat your friends at this quiz? Challenge them to a trivia party!",aM="Check it out!",oM="bpage_promo_v2",cM=function(t){return t.quizTrivia?(0,i.jsx)("div",{className:iM().triviaLogo,children:"\xa0"}):(0,i.jsx)("div",{className:iM().logo,children:"\xa0"})},NM=function(t){var e=t.quizTrivia,n=uM,M=rM;return e?(0,i.jsx)("p",{className:iM().triviaDesc,children:M}):(0,i.jsx)("p",{children:n})};var jM=function(){var t,e,n,u,r,a,o,c,N,j=(0,M.useContext)(F.Z),s="trivia"===(null===(t=j.sub_buzzes)||void 0===t||null===(e=t[0])||void 0===e||null===(n=e.bfp_data)||void 0===n||null===(u=n.data)||void 0===u?void 0:u.type),L=((null===(r=j.laser_tags)||void 0===r||null===(a=r.bf_post_properties)||void 0===a?void 0:a.quiz_render)||[]).find((function(t){return"bfp_quiz"===t.tag_name}));if("en"!==j.language)return null;var T="Advertising"===j.editorial_status&&(null===(o=j.laser_tags)||void 0===o||null===(c=o.bf_content_description)||void 0===c||null===(N=c.frames_and_formats)||void 0===N?void 0:N.some((function(t){return"quiz_party"===t.tag_name}))),g=["Moderated Community","Editorial"].includes(j.editorial_status)||T;if(!L||!g)return null;var y=aM,l=oM,I=["qurl=".concat(j.canonical_path),"utm_medium=referral","utm_source=buzzfeed","utm_campaign=".concat(l)],D="/quizparty?".concat(I.join("&"));return(0,i.jsxs)("div",{className:iM().quizPartyPromo,children:[(0,i.jsx)("div",{className:iM().title,children:"BuzzFeed Quiz Party!"}),(0,i.jsx)(cM,{quizTrivia:s}),(0,i.jsx)(NM,{quizTrivia:s}),(0,i.jsx)("a",{className:iM().quizPartyLink,href:D,onClick:function(){(0,x.TW)(j,{target_content_id:(0,MM.z)(D),target_content_type:"url",item_name:"cta",item_type:"button",position_in_subunit:0,position_in_unit:0,subunit_name:"quizparty_promo",subunit_type:"component",unit_name:j.id,unit_type:"buzz_head"})},children:y})]})},sM=n(99377),LM=n(95705),TM=n.n(LM);function gM(t){var e=t.content,n=t.onClick,M=t.onClose,u=e.btnText;return(0,i.jsx)("div",{className:TM().container,children:(0,i.jsxs)("div",{className:TM().button,children:[(0,i.jsx)("div",{className:TM().link,onClick:function(){return n()},children:u}),(0,i.jsx)("div",{className:TM().close,onClick:function(){return M()},children:"\xd7"})]})})}var yM=n(35346),lM=n.n(yM);function IM(t){var e=t.content,n=t.onClick,M=t.onClose,u=e.titleText,r=e.descText,a=e.btnText,o=e.closeText;return(0,i.jsxs)("div",{className:lM().container,children:[(0,i.jsx)("div",{className:lM().icon,children:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 38",children:[(0,i.jsx)("title",{children:"BuzzFeed Trending Arrow"}),(0,i.jsx)("path",{d:"M19 38C8.5 38 0 29.5 0 19S8.5 0 19 0s19 8.5 19 19-8.5 19-19 19zm9.9-19.4l-1.3-9-8.4 3.4 3.3 1.9-3.1 5.4-5.4-3-5.4 9.3 3 1.7 3.6-6.3 5.4 3.1 4.9-8.5 3.4 2z"})]})}),(0,i.jsx)("div",{className:lM().title,children:u}),(0,i.jsx)("div",{className:lM().desc,children:r}),(0,i.jsx)("div",{className:lM().button,onClick:function(){return n()},children:a}),(0,i.jsx)("div",{className:lM().close,onClick:function(){return M()},children:o})]})}var DM=[{name:"facebook",enabled:!1,match:function(t,e){return"facebook"==e},content:{promoType:"card",titleText:"Life is better in the app!",descText:"What\u2019s trending, funny tweets, quizzes, games, and more.",btnText:"Get the BuzzFeed app",closeText:"Not now",campaignId:"post-fb"}},{name:"quiz",enabled:!0,match:function(t){return t.isQuiz},content:{promoType:"button",btnText:"More Quizzes in the App!",campaignId:"quiz"}},{name:"default",enabled:!1,match:function(t){return!t.isQuiz},content:{promoType:"button",btnText:"Get the App!",campaignId:"post"}},{name:"quiz-complete",enabled:!0,match:function(t){return t.isQuiz},content:{promoType:"card",titleText:"Quizzes are better in the app!",descText:"What\u2019s trending, funny tweets, quizzes, games, and more.",btnText:"Get the BuzzFeed app",closeText:"Not now",campaignId:"quiz-complete"}}],zM={ios:"https://apps.apple.com/app/apple-store/id352969997?pt=329394&&mt=8&ct=",android:"https://play.google.com/store/apps/details?id=com.buzzfeed.android&utm_campaign=",desktop:"https://www.buzzfeed.com/app?c="},dM=n(96547),xM=n.n(dM);function mM(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function AM(t){for(var e=1;e0?N:c).map((function(t){return t.tag_name.replaceAll("_"," ")})),s=(0,M.useState)([]),L=s[0],T=s[1],g=(0,M.useContext)(U.Z).base_url;return(0,M.useEffect)((function(){function t(){return(t=bM(Te().mark((function t(){var e,n,i;return Te().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=4,fetch("".concat(g,"/site-component/v1/commerce-product-search?q=retailer:amazon AND ").concat(encodeURIComponent(j.join(" OR "))));case 4:return n=t.sent,t.next=7,n.json();case 7:i=t.sent,T((null===i||void 0===i||null===(e=i.items)||void 0===e?void 0:e.slice(0,4))||[]),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(0),console.error("Error fetching products:",t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})))).apply(this,arguments)}j.length>0&&function(){t.apply(this,arguments)}()}),[]),L&&L.forEach((function(t,e){delete L[e].latest_subbuzz.id,L[e].latest_subbuzz.parent_buzz_canonical_url=L[e].detail_page_url})),0===L.length?null:(0,i.jsx)(wM,{buzz:o,products:L})}var wM=function(t){var e=t.buzz,n=t.products,u=ae({buzz:e}),r=ve({buzz:e}),a=(0,M.useMemo)((function(){return{unit_type:"buzz_bottom",unit_name:e.id}}),[e.id]);return(0,i.jsxs)("div",{className:SM().retailProductsGridWrapper,children:[(0,i.jsx)(V.Z,{id:"reactions-title",children:"Our Bestselling Products"}),(0,i.jsx)("div",{className:SM().retailProductsGrid,ref:(0,se.Z)(u,r),children:(0,i.jsx)(Jn.Z,{offset:0,len:4,products:n,useUnitTracking:bn.R,tracking:a})})]})},hM=n(66376),_M=n(19925),kM=n.n(_M);var vM=function(t){var e=t.buzz,n=(0,M.useMemo)((function(){return{position_in_unit:0,unit_type:"buzz_body",unit_name:"quiz_result",subunit_type:"component",subunit_name:"quiz_result_links",target_content_id:e.id,target_content_type:"buzz",item_name:e.id,item_type:"card"}}),[e.id]),u=(0,bn.R)(n);return e.hasQuizSharedResult?(0,i.jsxs)("section",{className:kM().container,children:[(0,i.jsx)(V.Z,{id:"takeQuizYourself",children:"Take this Quiz Yourself"}),(0,i.jsxs)("a",{className:kM().quizLink,href:e.canonical_url,ref:u,children:[(0,i.jsx)("img",{src:e.picture,className:kM().quizImg,alt:e.pictureAlt||""}),(0,i.jsx)("span",{className:kM().quizTitle,children:e.title})]})]}):null},QM=(0,m.Z)((function(){return n.e(520).then(n.bind(n,51336))}),{ssr:!1}),UM=(0,m.Z)((function(){return n.e(562).then(n.bind(n,4195))}),{ssr:!0}),YM=(0,m.Z)((function(){return n.e(969).then(n.bind(n,77402))}),{ssr:!1}),PM=(0,m.Z)((function(){return n.e(84).then(n.bind(n,89813))}),{ssr:!1});function ZM(t){var e,n,u,r,a=t.buzz,g=t.subbuzzData,y=t.badges,l=t.showOverlay,d=t.setShowOverlay,x=t.giftguideHeader,m=(0,c.useTranslation)("common").t,A=(0,M.useRef)(null),O=(0,M.useContext)(U.Z).destination,S=(0,M.useContext)(z.Z).commentsEnabled,f=(0,N.Z)("(max-width:500px)"),b=(0,N.Z)("(min-width: 64rem)"),C=a.isTrivia||a.isPersonality,w=!(a.shouldHideBuzzSharing||a.shouldShowPostContentOnly)&&!f||(0,L.G)(a),h=!a.shouldHideBuzzSharing&&!a.shouldShowPostContentOnly&&"buzzfeed"===O,_=(0,M.useState)(null),Y=_[0],P=_[1],Z=(0,M.useContext)(vt.Z),B=Z.getFeatureFlagValue,W=Z.experiments,G=Z.getExperimentValue,R=(0,M.useState)(!1),H=R[0],F=R[1],J=(0,M.useState)(!1),V=J[0],q=J[1],K=(0,M.useState)(!1),X=K[0],$=K[1],tt=(0,M.useState)("control"),et=tt[0],nt=tt[1],it=!!(a.published&&parseInt(a.published,10)>1710959400);(0,M.useEffect)((function(){var t=B("shoppybot_bpage_promo"),e=G("shoppy-bpage-test",{rejectErrors:!1});F(!("chat"!==e&&!t))}),[B,G]),(0,M.useEffect)((function(){var t=G("RT-946-shopping-recirc-bfn",{rejectErrors:!1});(0,L.G)(a)&&"var1"===t&&q(!0)}),[G]),(0,M.useEffect)((function(){W&&W.loaded&&nt(G("ads_retail_media_network",{rejectErrors:!1}))}),[W,G]),(0,M.useEffect)((function(){W&&W.loaded&&$(G("RT-1378-us-quiz-top-sticky",{rejectErrors:!1}))}),[W,G]);var Mt=(0,M.useCallback)((function(){d(!1)}),[d]);return(0,i.jsxs)("main",{id:"buzz-content",className:"".concat(I().main," ").concat(I()[O]," embed-content"),ref:A,children:[(0,i.jsxs)(j.Z,{onError:o.Tb,children:[(0,i.jsx)(eM,{}),(0,i.jsx)(Ki,{buzz:a})]}),(0,i.jsxs)("div",{className:"".concat(I().article," ").concat(I().default," ").concat(I()[O]," embed-post"),children:[(0,i.jsxs)("div",{className:I().content,children:[(0,i.jsxs)("article",{children:[(0,i.jsx)(yt.Z,{buzz:a,badges:y}),(0,i.jsx)(p,{buzz:a,commentCount:Y,showShareBar:w,destination:O}),(0,i.jsx)(Yi,{buzz:a,postRef:A}),a.tags.some((function(t){return["etsy-strategy","etsy_strategy","etsy strategy"].includes(t)}))&&(0,i.jsx)(qi,{pixiedust:{unit_type:"buzz_body",unit_name:a.id,position_in_unit:0}}),(0,i.jsx)(OM,{}),"top_video_player_on_quiz"===X?(0,i.jsx)(Zn,{buzz:a,showOnTopQuiz:!0}):(0,i.jsx)(jM,{}),(0,i.jsx)(xi,{buzz:a,subbuzzData:g,pixiedust:{unit_type:"buzz_body",unit_name:a.id,position_in_unit:0}},a.id),a.hasStudiosPromoUnit&&(0,i.jsx)(je,{buzz:a}),(0,L.G)(a)&&(0,i.jsx)(Ci,{buzz:a}),(0,i.jsx)(Xi,{buzz:a}),(0,i.jsx)(k,{buzz:a}),(0,i.jsx)(Q.Z,{buzz:a}),!b&&a.walmartBundle&&(0,i.jsx)(QM,{buzz:a})]}),"buzzfeed"===O&&a.isShopping&&!(0,L.G)(a)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(E.Z,{type:"story-bpage-desktop",pixiedust:{unit_type:"buzz_bottom",unit_name:a.id,position_in_unit:1}}),(0,i.jsx)(Pt.Z,{style:{marginTop:f?"1rem":"-2rem"},isNewDesign:!0})]}),(0,i.jsxs)(j.Z,{onError:o.Tb,children:[(0,i.jsx)(vM,{buzz:a}),(0,i.jsx)(E.Z,{type:"subbuzz",pixiedust:{unit_type:"buzz_bottom",unit_name:a.id,position_in_unit:0}}),"Japan"===a.classification.edition&&(0,i.jsx)(Ei,{isMobile:f}),"Shopping"===(null===a||void 0===a||null===(e=a.classification)||void 0===e?void 0:e.section)&&(0,i.jsx)(PM,{buzz:a,giftguideHeader:x}),!it&&(C?(0,i.jsx)(Xt,{}):(0,i.jsx)(Ft,{})),it&&(0,i.jsx)(ot,{contentId:a.id,isSponsored:T(a)}),S&&(0,i.jsx)(v.Z,{buzz:a,commentCount:Y,onCommentsLoaded:P,firstPage:100,repliesFirstPage:2,perPage:100}),S&&(0,i.jsx)(wn,{buzz:a,subunitName:"comments",subunitType:"component",unitType:"buzz_bottom"}),h&&(0,i.jsx)(D.ZP,{buzz:a,heading:m("share_article"),position:"bottom_share_bar",type:"pagelevel",className:"".concat(I().shareBottom," ").concat(a.is_quiz?I().quiz:"")}),!a.isAd&&(null===(n=a.laser_tags)||void 0===n||null===(u=n.bf_content_description)||void 0===u||null===(r=u.topic)||void 0===r?void 0:r.some((function(t){return"2024_elections"===t.tag_name})))&&(0,i.jsx)(Fi,{}),"var1"===et&&(0,i.jsx)(CM,{version:et,buzz:a}),(0,i.jsx)($i,{}),a.tags.some((function(t){return"--commerce-user-reviews"===t}))&&(0,i.jsx)(UM,{buzz:a}),"buzzfeed"===O&&!a.isShopping&&!(0,L.G)(a)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Pt.Z,{style:{marginBottom:"3rem"},isNewDesign:!0}),"var2"===et&&(0,i.jsx)(CM,{version:et,buzz:a}),(0,i.jsx)(E.Z,{type:"story-bpage-desktop",pixiedust:{unit_type:"buzz_bottom",unit_name:a.id,position_in_unit:1},style:{marginTop:"-2rem"}})]})||"var2"===et&&(0,i.jsx)(CM,{version:et,buzz:a}),(0,i.jsx)($t.d$,{}),H&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{style:{height:f?"575px":"700px",margin:"40px 0"},children:(0,i.jsx)("iframe",{border:"0",height:"100%",id:"chatframe",scrolling:"no",src:"/ai-ui/games/shoppy-chat?page=".concat(a.id),width:"100%"})})}),(0,i.jsx)(ht.Z,{}),(0,i.jsx)(gt.Z,{}),f&&(0,i.jsx)(E.Z,{type:"bigstory",pixiedust:{unit_type:"buzz_bottom",unit_name:a.id,position_in_unit:1}}),C&&(0,i.jsx)(YM,{})]})]}),(0,i.jsx)(hM.Z,{pixiedust:{unit_type:"sidebar",unit_name:"right",position_in_unit:0}})]}),(0,i.jsxs)(j.Z,{onError:o.Tb,children:[(0,i.jsx)(Gi,{}),"Japan"===a.classification.edition&&(0,i.jsx)(Ei,{placement:2,isMobile:f}),(0,L.G)(a)&&(0,i.jsx)(s.Z,{jumpTo:"news-footer",className:"skipToFooter",label:"Skip to footer"}),(0,L.G)(a)&&(V?(0,i.jsx)(Pt.Z,{style:{marginBottom:"3rem",marginTop:"-2rem"},isNewDesign:!0}):(0,i.jsx)(Yt,{})),(0,i.jsx)($t.cM,{})]}),l&&(0,i.jsx)(Wt,{onOverlayClick:Mt})]})}ZM.propTypes={buzz:r().object.isRequired,badges:r().array,subbuzzData:r().shape({assets:r().object,subbuzzes:r().array})};var BM=ZM;function WM(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function GM(t){for(var e=1;e=0||(M[n]=t[n]);return M}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(M[n]=t[n])}return M}function HM(t){var e=t.buzz,n=RM(t,["buzz"]);return function(t,e){(0,M.useEffect)((function(){e&&e.eventBus&&e.eventBus.on("ads:initialized",(function(){(0,_t.v)("https://www.dwin2.com/pub.304459.min.js")}))}),[e,t])}(e,(0,M.useContext)(a.$)),"wide"===e.format.page_width?(0,i.jsx)(Vi,GM({buzz:e},n)):(0,i.jsx)(BM,GM({buzz:e},n))}HM.propTypes={buzz:r().object.isRequired};var FM=HM},93935:function(t,e,n){"use strict";function i(t){return!(t.flags.sensitive||"news"===t.metavertical||"Japan"===t.classification.edition||"France"===t.classification.edition||t.tags.includes("--add-yours")||t.tags.includes("--post-content-only"))}n.d(e,{h:function(){return i}})},11455:function(t,e,n){"use strict";function i(t){return!(t.flags.sensitive||"news"===t.metavertical||"Japan"===t.classification.edition||"France"===t.classification.edition||t.tags.includes("--add-yours")||t.tags.includes("--post-content-only"))}n.d(e,{h:function(){return i}})},82924:function(t,e,n){"use strict";n.d(e,{N:function(){return N}});var i=n(52322),M=n(2784),u=n(13980),r=n.n(u),a=n(99112),o=n(62245),c=n.n(o);function N(t){var e=t.children,n=t.id,u=(0,M.useContext)(a.Z).destination;return e?(0,i.jsx)("h2",{id:n,className:"".concat(c().sectionTitle," ").concat(c()[u]),children:e}):null}N.propTypes={children:r().oneOfType([r().arrayOf(r().node),r().node]),id:r().string},e.Z=N},48185:function(t,e,n){"use strict";function i(t,e){return!(!t.isShopping||e||t.isAd||!["US","UK"].includes(t.classification.edition)||!t.isEnglish)}n.d(e,{h:function(){return i}})},32617:function(t){"use strict";t.exports={ADVERTISING:"Advertising",EDITORIAL:"Editorial",MODERATED_COMMUNITY:"Moderated Community",UNMODERATED_COMMUNITY:"Unmoderated Community"}},73385:function(t,e,n){"use strict";n.d(e,{s:function(){return o}});var i=n(2784),M=n(90093),u=n(4366);function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){for(var e=1;e1&&void 0!==arguments[1]&&arguments[1],n=(0,i.useContext)(u.Z);(0,M.Z)("tracking");var a=(0,i.useRef)(null);return(0,i.useEffect)((function(){var i=a.current;if(!i)return function(){};var M=(0,r.aF)(i,n,t),u=e?(0,r.W3)(i,n,t):(0,r.Ev)(i,n,t);return function(){M(),u()}}),[t,e]),a}},66172:function(t){"use strict";t.exports={category:"shopping",component_name:"packages",aria_title:"Shpping MegaSplash",countdown:1582537027,cta:{text:"ys See more shopping deals",url:"https://stage.buzzfeed.com/tag/primeday2019"},data_source:"curator_api",package_id:"5176267",results:[{author:"maitlandquitmeyer",canonical_path:"/maitlandquitmeyer/the-ultimate-guide-to-packing",created_at:"2019-10-07T19:16:14Z",data_source:"curator_api",description:"::bookmarks this and the Google flights page::",id:"5176267",image:"https://img.buzzfeed.com/buzzfeed-stage/static/2019-10/1/21/tmp/9d6a82acff73/tmp-name-2-1160-1569964871-0_dblbig.jpg",image_alt_text:"Test Alt Text",name:"37 Packing Basics You Should Probably Know By Now",url:"https://stage.buzzfeed.com/maitlandquitmeyer/the-ultimate-guide-to-packing"},{author:"emilyshwake",canonical_path:"/emilyshwake/things-from-walmart-thatll-help-cooking-go-faster",created_at:"2019-10-18T12:01:07Z",data_source:"curator_api",description:"You'll have dinner on the table in an Instant (Pot).",id:"5186539",image:"https://img.buzzfeed.com/buzzfeed-stage/static/2019-10/14/20/campaign_images/0eea6d275cc0/29-things-from-walmart-thatll-help-time-fly-by-in-2-1121-1571085255-0_dblbig.jpg",image_alt_text:"",name:"29 Things From Walmart That'll Help Cooking Go Faster",url:"https://stage.buzzfeed.com/emilyshwake/things-from-walmart-thatll-help-cooking-go-faster"},{author:"marquaysa",canonical_path:"/marquaysa/amazon-products-that-made-over-1000-people-give-a",created_at:"2019-10-17T13:01:08Z",data_source:"curator_api",description:"From acne products to throwback games to cooking tools, these are the crowd faves.",id:"5192014",image:"https://img.buzzfeed.com/buzzfeed-stage/static/2019-10/11/13/tmp/b43ab1bc39b0/tmp-name-2-1118-1570801958-0_dblbig.jpg",image_alt_text:"",name:"27 Products On Amazon That Inspired Over 1,000 People To Leave A Five Star Review",url:"https://stage.buzzfeed.com/marquaysa/amazon-products-that-made-over-1000-people-give-a"},{author:"ryanmac",canonical_path:"/ryanmac/unsworth-reply-elon-musk-fucking-idiot",created_at:"2019-10-08T05:58:56Z",data_source:"curator_api",description:"Musk: 'I\u2019m a fucking idiot.'",id:"5189980",image:"https://img.buzzfeed.com/buzzfeed-stage/static/2019-10/9/5/campaign_images/805012a9d6a3/the-cave-rescuer-suing-elon-musk-claims-the-tesla-2-2951-1570598440-0_dblbig.jpg",image_alt_text:"",name:"The Cave Rescuer Suing Elon Musk Claims The Tesla CEO Fabricated Pedophilia Claims Against Him",url:"https://stage.buzzfeednews.com/article/ryanmac/unsworth-reply-elon-musk-fucking-idiot"},{author:"kaylaboyd",canonical_path:"/kaylaboyd/witchy-products-that-would-probably-make-sabrina-s-3m7z79lu2",created_at:"2019-10-16T15:01:08Z",data_source:"curator_api",description:"Looking for a little bubble, bubble, toil, and trouble? \ud83d\udd2e",id:"5191497",image:"https://img.buzzfeed.com/buzzfeed-stage/static/2019-10/11/20/tmp/43273aea2118/tmp-name-2-1373-1570826863-0_dblbig.jpg",image_alt_text:"",name:"21 Witchy Products That Would Probably Make Sabrina Spellman Jealous",url:"https://stage.buzzfeed.com/kaylaboyd/witchy-products-that-would-probably-make-sabrina-s-3m7z79lu2"}],template:"countdown",theme:"green",title:"Shpping MegaSplash",treatments:["shopping","visual","large-first-item"]}},81985:function(t,e,n){"use strict";n.d(e,{z:function(){return I}});var i=n(94776),M=n.n(i),u=n(2784),r=n(41332),a=n(99112),o=n(10432),c=n(8698),N=n(4366);function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:1;return function(n){return n.name===t?g({},n,{count:n.count+e}):n}}(t))}))}),[]);return(0,u.useEffect)((function(){if(n&&t){var i="edition=".concat(n.country_code);C(e?"".concat(j,"/content-reactions-api/v2/emoji/buzz/").concat(n.id,"?").concat(i):"".concat(j,"/content-reactions-api/v1/buzz/").concat(n.id,"?").concat(i))}}),[j,n,t,C]),(0,u.useEffect)((function(){f?p(f):b&&b.reactions&&D((function(){var t=b.reactions.sort(l),e=y(t,1)[0],n=(void 0===e?{}:e).count;return t.map((function(t){return g({},t,{increment:function(){return w(t.name)},height:function(t){return function(t,e){return 3*t<90?3*e:e>t?93:Math.round(90*e/t)}(n,t)}})}))}))}),[f,b,w]),(0,u.useEffect)((function(){function t(){return(t=L(M().mark((function t(i){var u,r,a,o;return M().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,u=["reaction=".concat(i),"client_uuid=".concat(O),"edition=".concat(n.country_code)].join("&"),r=e?"".concat(j,"/content-reactions-api/v2/emoji/buzz/").concat(n.id,"?").concat(u,"&page_type=buzz&page_id=").concat(n.id):"".concat(j,"/content-reactions-api/v1/buzz/").concat(n.id,"?").concat(u),t.next=5,fetch(r,{method:"POST"});case 5:return a=t.sent,t.next=8,a.json();case 8:if((o=t.sent)&&o.success){t.next=12;break}return p("request failed"),t.abrupt("return");case 12:(0,N.bC)(n,{action_type:"react",action_value:i,item_name:i,item_type:"button",subunit_name:"reactions",subunit_type:"component",unit_name:n.id,unit_type:"buzz_bottom"}),t.next=18;break;case 15:t.prev=15,t.t0=t.catch(0),p(t.t0);case 18:case"end":return t.stop()}}),t,null,[[0,15]])})))).apply(this,arguments)}d&&function(e){t.apply(this,arguments)}(d)}),[j,n,s,d,O]),{reactions:I,lastReacted:d,serverError:A}}},15382:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(29572),M=n(20238),u=n(30353);function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){if(null==t)return{};var n,i,M=function(t,e){if(null==t)return{};var n,i,M={},u=Object.keys(t);for(i=0;i=0||(M[n]=t[n]);return M}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(M[n]=t[n])}return M}var o={edition:"en-us",page_size:30,buzz_id:"",page:1,lang:"en",country:"us"};function c(t,e){var n=e.pageSize,c=e.buzzId,N=e.language,j=a(e,["pageSize","buzzId","language"]);if(!t)throw new Error("endpoint is required");var s=i.Nl.getIds(),L=function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:120;if(!t)return"";var n=t.indexOf("?")>=0?"&":"?",i=t.includes("downsize");return i?t:"".concat(t).concat(n,"downsize=").concat(e,":*")}},12383:function(t,e,n){"use strict";function i(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}n.d(e,{x:function(){return i}})},3207:function(t,e,n){"use strict";n.d(e,{C:function(){return i},z:function(){return M}});var i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.url,n=void 0===e?"":e,i=t.canonical_path,M=void 0===i?"":i,u=t.destination_name,r=void 0===u?"":u,a=t.is_external,o=void 0!==a&&a,c=M.includes("/watch/video/")||o,N=M;return{href:!c&&n.length&&r.length?"/[...slug]":n,hrefAs:M.length?N:n,url:n}},M=function(t){if(!t)return"";var e=t;try{e=new URL(t).pathname}catch(n){}return"/"===e.charAt(0)&&(e=e.slice(1,e.length)),e.replace(/\//g,"_")}},70448:function(t,e,n){"use strict";n.d(e,{zk:function(){return a}});var M=n(3379);function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n