(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[727],{71031:function(t,e,n){"use strict";var i=n(52322),r=n(2784),u=n(13980),a=n.n(u),o=n(89966),c=n.n(o),s=n(56828),M=n.n(s),l=n(41332),j=n(46811),N=n(22813),d=function(t){var e=t.className,n=void 0===e?"":e,u=t.isFloatingShareButtonEnd,a=(0,r.useState)(!1),o=a[0],s=a[1],d=(0,r.useState)(!1),g=d[0],y=d[1],L=(0,r.useState)(!1),T=L[0],z=L[1],m=(0,r.useState)(!1),p=m[0],I=m[1],f=(0,r.useState)(!1),D=f[0],x=f[1],b=(0,r.useState)(null),O=b[0],A=b[1],h=(0,r.useState)(0),_=h[0],w=h[1],S=(0,r.useContext)(l.Z).id,E=(0,r.useRef)(null),v=(0,r.useRef)(!0);return(0,r.useEffect)((function(){return(0,j.Hd)()&&s(!0),v.current=!0,function(){v.current=!1}}),[]),(0,r.useEffect)((function(){y(!T&&p&&o&&!D)}),[T,p,D]),(0,r.useEffect)((function(){var t=window;if(!T&&v.current&&z(!0),!p&&v.current){var e=t.scrollTop>20||t.scrollY>20||t.pageYOffset>20;I(e)}if(O&&v.current){var n=t.scrollTop||t.scrollY||t.pageYOffset;x(n-O>50)}return M()((function(){clearTimeout(E.current),E.current=setTimeout((function(){v.current&&z(!1)}),250)}),60)(),function(){clearTimeout(E.current)}}),[_]),(0,r.useEffect)((function(){var t=window,e=function(){return w(Date.now())};return t.addEventListener("scroll",e),function(){t.removeEventListener("scroll",e)}}),[]),(0,r.useEffect)((function(){if(u&&v.current){var t=window,e=t.scrollTop||t.scrollY||t.pageYOffset;A(e)}}),[u]),(0,i.jsx)("div",{className:"".concat(c().floatingShareButton," ").concat(n,"\n ").concat(g?c().visible:"","\n ").concat(p?"":c().inactive),children:(0,i.jsx)(N.Z,{type:"page_level",variant:"icon_only",includeShortTitle:!0,trackingData:{unit_type:"modal",unit_name:S,subunit_type:"component",subunit_name:"floating_share"}})})};d.propTypes={className:a().string,isFloatingShareButtonEnd:a().bool},e.Z=d},83661:function(t,e,n){"use strict";n.d(e,{Z:function(){return it}});var i={};n.r(i),n.d(i,{getComponent:function(){return G},getMaxSizes:function(){return F},getTemplate:function(){return W},getWireframeOptions:function(){return H},isInline:function(){return B},isWideInline:function(){return R}});var r=n(52322),u=n(2784),a=n(13980),o=n.n(a),c=n(35167),s=n(14007),M=n(6294),l=n(93002),j=n(89809),N=n(93176),d=n(21576),g=n(82984),y=n(50320),L=n(17481),T=n(3873),z=n(95466),m=n(21764),p=n(65104),I=n(80226),f=n(65211),D=n(71049),x=n(22606),b=n(44399),O=n(54442),A=n(10918),h=n(66892),_=n(28403),w=n(53205),S=n(43517),E=n(27363),v=n(9895),C=n(12239);n(98254);N.lT.prototype.getEventId=function(){return"".concat(this.config.adPos,"-").concat(this.instanceId)};var k={AdAffiliatePixel:d.Z,AdAwareness:g.Z,AdBigstory:y.Z,AdBpageStory:L.Z,AdComment:T.Z,AdExBase:z.u,AdEx:z.S,AdExGrid:m.Z,AdGridStory:p.Z,AdPromoInline:I.Z,AdSubbuzz:f.Z,AdToolbar:D.Z},Q={AdAffiliatePixel:x.Z,AdAwareness:b.Z,AdBigstory:O.Z,AdBpageStory:A.Z,AdComment:h.Z,AdEx:_.Z,AdExGrid:w.Z,AdGridStory:S.Z,AdPromoInline:E.Z,AdSubbuzz:v.Z,AdToolbar:C.Z};function U(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}var f=n(70028),D=n(28316),x=n(32966),b=n(99404),O=n(35167);function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:document.head;(0,u.s)()?Promise.reject("Cannot load Connatix player on server"):new Promise((function(e,n){window.cnx&&e(window.cnx),window.cnx={},window.cnx.cmd=[];var i="//cd.connatix.com/connatix.player.js?cid=".concat(a),r=document.createElement("script");r.onload=function(){return e(window.cnx)},r.onerror=function(){n("Script at url ".concat(i," failed to load"))},r.src=i,r.async=!0,r.type="text/javascript",t.appendChild(r)}))}(),D(!0))}))}),[]),(0,r.useEffect)((function(){k&&(0,c.HU)({gdpr:k}).then((function(t){_(t)}))}),[k]),(0,r.useEffect)((function(){if(f&&E&&C&&!S.current&&h){if(S.current=!0,!z){var t="https://capi.connatix.com/tr/si?token=".concat(P,"&cid=").concat(s.k),e=new Image;e.src=t,m(e)}window.cnx.cmd.push((function(){var t={playerId:P,customParam1:h,settings:{rendering:{insertPosition:window.cnx.configEnums.InsertPositionEnum.WithinContainer}}};["uk","gb","ie"].includes(C)&&(t.playlistId=Y),window.cnx(t).render(Z,(function(t,e){t?console.error("Player rendering failed:",t):O(e)}))}))}}),[E,C,P,Z,z,h,f]),function(t,e,n){var i=(0,r.useRef)(!1);(0,r.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 r=e.current;r&&(r.style.minHeight="100px");var u=new IntersectionObserver((function(e){e.forEach((function(e){var n=e.boundingClientRect,r=window.innerHeight||document.documentElement.clientHeight;!e.isIntersecting&&n.top<0&&!i.current?(t.enableFloatingMode(),i.current=!0):e.isIntersecting&&n.bottom<=r&&i.current&&(t.disableFloatingMode(),i.current=!1)}))}),{threshold:[0,.1],rootMargin:"0px"});return r&&u.observe(r),function(){r&&u.unobserve(r)}}}),[n,t,e])}(b,w,b&&window.innerWidth<=1025&&(0,j.$0)(N)&&!v||!1),E&&C?(0,i.jsx)("div",{className:"bf-cnx-override ".concat(L?d().bfElementsWrapperQuiz:d().bfElementsWrapper),children:(0,i.jsx)("div",{id:Z,ref:w,className:"bf-cnx-player"})}):""}},52592:function(t,e,n){"use strict";var i=n(52322),r=n(2784),u=n(88163),a=n(81550),o=n(4366),c=n(42719),s=n(36001),M=n(57673),l=n(24678);e.Z=(0,a.Z)((function(t){var e=t.buzz,n=(0,r.useRef)(),a=(0,u.Z)({once:!0,threshold:1}),l=a.isIntersecting,j=a.setObservable,N=(0,r.useContext)(s.Z).observeArticleBottom;return(0,r.useEffect)((function(){if(n.current&&l){var t=n.current.getBoundingClientRect().top;(0,o.Y3)(e,{pixel_depth:parseInt((0,M.l)()+t,10),marker:"content_bottom"})}}),[e,l]),(0,r.useEffect)((function(){N(n.current)}),[N]),(0,i.jsx)("div",{ref:(0,c.Z)(n,j),style:{width:"100%",height:"1px",clear:"both"}})}),{onError:l.Tb})},63871:function(t,e,n){"use strict";n.d(e,{n:function(){return M}});var i=n(52322),r=n(99550),u=n.n(r),a=n(99112),o=n(30353),c=n(24678);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}var M=function(t){var e=t.destination,n=t.children;c.YA("destination",e);var r=function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.useMemo)((function(){return{externalLink:function(n){(0,l.nz)(t,N({},e,n))},contentAction:function(n){(0,l.bC)(t,N({},e,n))}}}),[t,e])}(e,p),f=[s.MODERATED_COMMUNITY,s.UNMODERATED_COMMUNITY].includes(e.editorial_status),D=e.isEnglish&&(e.isQuiz||f);return(0,i.jsx)(i.Fragment,{children:D&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:a().footerCommunityBanner,children:[(0,i.jsxs)("div",{className:a().flexContainer,children:[(0,i.jsxs)("div",{className:a().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:a().flexContainerImgWrapper,children:(0,i.jsx)("img",{className:a().flexContainerImg,src:y(),alt:"promo"})})]}),(0,i.jsxs)("div",{className:a().buttonsContainer,children:[!u&&(0,i.jsx)("a",{className:a().loginBtn,role:"button",onClick:function(){return T(!0)},children:(0,i.jsx)("p",{children:"Sign up to get started"})}),(0,i.jsx)("a",{className:u?a().learnMoreBtn:a().promoLink,target:"_blank",href:"https://www.buzzfeed.com/community/about",rel:"noreferrer",ref:m,children:"Learn more about Community"})]})]}),(0,i.jsx)(o.f,{isOpen:g,onClose:function(){return T(!1)},track:I})]})})}))},70211:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var i=n(52322),r=n(2784),u=n(13980),a=n.n(u),o=n(39252),c=n(64435),s=n(41332),M=n(36491),l=n(30729),j=n(76139),N=n.n(j),d=function(t){var e=t.dateline,n="https://img.buzzfeed.com/buzzfeed-static".concat(e.dateline_image);return(0,i.jsxs)("div",{className:N().dateline,children:[(0,i.jsx)(o.lS,{src:(0,l.Z)(n),className:N().dateline_map,alt:"Map of ".concat(e.name)}),(0,i.jsxs)("div",{className:"xs-flex-grow-1",children:[(0,i.jsx)("p",{className:N().datelineTitle,children:"Reporting From"}),(0,i.jsx)("strong",{className:N().datelineName,children:e.name})]})]})};d.propTypes={dateline:a().shape({name:a().string.isRequired,dateline_image:a().string.isRequired})};var g=d,y=n(50381),L=n.n(y),T=n(3695),z=n(27374),m=(0,M.Z)((function(){return n.e(33).then(n.bind(n,67740))}),{ssr:!1});function p(t){var e=t.byline,n=t.advertiserClass,u=t.index,a=t.isSingle,M=void 0!==a&&a,j=((0,r.useContext)(s.Z)||{}).buzz,N=void 0===j?{}:j,d="1"===e.description_id,g=(0,T.G)(N)?"/author/".concat(e.username):"/".concat(e.username),y=(0,r.useMemo)((function(){return{eventCategory:"Header",eventAction:"link",eventLabel:g,unit_type:"buzz_head",unit_name:N.id,item_name:"byline",item_type:"profile",position_in_unit:u,target_content_type:"user",target_content_id:e.id}}),[N,e.id,g,u]),z=(0,c.R)(y);return e?(0,i.jsxs)("div",{className:"".concat((0,T.G)(N)?L().newsByline:""," ").concat((0,T.G)(N)&&M?L().singleByline:""),children:[(0,i.jsx)("a",{ref:z,href:g,className:L().headlineByline,children:(0,i.jsxs)("div",{className:L().bylineContainer,children:[(0,i.jsx)(o.lS,{src:(0,l.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})]})]})}),d&&(0,i.jsx)("div",{className:L().internetPointsContainer,children:(0,i.jsx)("div",{className:L().internetPointsContainerInner,children:(0,i.jsx)(m,{className:L().desktopShow,userId:e.id})})})]}):null}function I(t){var e=t.byline,n=t.advertiserClass,u=t.isLastByline,a=t.index,M=((0,r.useContext)(s.Z)||{}).buzz,j=void 0===M?{}:M,N=(0,r.useMemo)((function(){return{eventCategory:"Header",eventAction:"link",eventLabel:"/".concat(e.username),unit_type:"buzz_head",unit_name:j.id,item_name:"byline",item_type:"profile",position_in_unit:a,target_content_type:"user",target_content_id:e.id}}),[j,e.id,e.username,a]),d=(0,c.R)(N);return(0,i.jsxs)("a",{ref:d,href:"/".concat(e.username),className:"".concat(L().headlineByline," ").concat(L().twoAuthors),children:[(0,i.jsxs)("div",{className:L().bylineContainer,children:[(0,i.jsx)(o.lS,{src:(0,l.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 f(){var t=((0,r.useContext)(s.Z)||{}).buzz,e=void 0===t?{}:t,n=(0,r.useMemo)((function(){return{eventCategory:"Header",eventAction:"link",eventLabel:"/community/about",unit_type:"buzz_head",unit_name:e.id,item_name:"byline",item_type:"profile",position_in_unit:1,target_content_type:"feed",target_content_id:"community_about"}}),[e.id]),u=(0,c.R)(n);return(0,i.jsx)("a",{ref:u,href:"/community/about",className:"".concat(L().headlineByline," ").concat(L().communityTeamByline),children:(0,i.jsxs)("div",{className:L().bylineContainer,children:[(0,i.jsx)(o.lS,{src:(0,l.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 D(t){var e=t.byline,n=t.className,u=void 0===n?"":n,a=t.isLastByline,o=t.index,M=((0,r.useContext)(s.Z)||{}).buzz,l=void 0===M?{}:M,j=(0,r.useMemo)((function(){return{eventCategory:"Header",eventAction:"link",eventLabel:"/".concat(e.username),unit_type:"buzz_head",unit_name:l.id,item_name:"byline",item_type:"profile",position_in_unit:o,target_content_type:"user",target_content_id:e.id}}),[l,e.id,e.username,o]),N=(0,c.R)(j);return(0,i.jsxs)("span",{className:"".concat(L().textByline," ").concat(u),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}})}),!a&&", "]})}function x(t){var e=t.bylines,n=void 0===e?[]:e,r=t.isAd,u=void 0!==r&&r,a=t.buzz,o=void 0===a?{}:a,c=u?L().isAdvertiser:"",s=o.isCommunity&&o.isModerated,M=o.datelines;if((0,z._)(o)){if("discuss"===(null===o||void 0===o?void 0:o.username))return null;var l=n[0];return(0,i.jsx)(D,{byline:l,className:L().discussionByline,isLastByline:!0,index:0},l.id)}return(0,T.G)(o)?(0,i.jsxs)("div",{className:"".concat(L().newsHeadlineByline," ").concat(1!==n.length||M.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)(p,{byline:t,advertiserClass:c,index:e,isSingle:1===n.length&&!M.length},t.id),e!==n.length-1&&(0,i.jsx)("span",{className:L().text,children:" and "})]},t.id)})),!!M.length&&M.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 r=n.length===e+1;return(0,i.jsx)(D,{byline:t,isLastByline:r,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(c),children:["by"," "]}),n.map((function(t,e){var n=1===e;return(0,i.jsx)(I,{byline:t,advertiserClass:c,isLastByline:n,index:e},t.id)}))]}):n.map((function(t,e){return(0,i.jsxs)("div",{className:L().adaptiveBylineContainer,children:[(0,i.jsx)(p,{byline:t,advertiserClass:c,index:e},t.id),s&&(0,i.jsx)(f,{})]},t.id)}))}x.propTypes={bylines:a().arrayOf(a().object).isRequired,isAd:a().bool.isRequired};var b=x},15185:function(t,e,n){"use strict";var i=n(52322),r=(n(2784),n(13980)),u=n.n(r),a=n(84225),o=n(5103),c=n(38362),s=n.n(c);function M(t){return new Date(1e3*t).toISOString()}function l(t){var e=t.timestampPublishedUnix,n=t.timestampUpdatedUnix,r=t.showUpdatedTimestampOnly,u=t.countryCode,o=t.t,c=t.destination;if(!e||!u)return null;var l,j,N,d,g="buzzfeed_news"===c,y=M(e),L=M(n);return g?(r||(l=(0,a.i$)(e,u,{month:"long",hour:"numeric",minute:"numeric"})).hasTimestampString||(l.formattedTimestamp=l.formattedTimestamp.replace(" AM"," am").replace(" PM"," pm")),(n||r)&&((j=(0,a.i$)(n||e,u,{month:"long",hour:"numeric",minute:"numeric"})).hasTimestampString||(j.formattedTimestamp=j.formattedTimestamp.replace(" AM"," am").replace(" PM"," pm")))):n>e?j=(0,a.i$)(n,u):l=(0,a.i$)(e,u),l&&(N=l.hasTimestampString?o("posted"):o("posted_on")),j&&(d=j.hasTimestampString?o("updated"):o("updated_on")),(0,i.jsxs)("span",{className:"".concat(g?s().timestampNews:s().timestamp," embed-timestamp"),children:[!g&&j&&(0,i.jsxs)("time",{dateTime:L,children:[d," ",j.formattedTimestamp]}),!g&&l&&(0,i.jsxs)("time",{dateTime:y,children:[N," ",l.formattedTimestamp]}),g&&(0,i.jsx)("span",{className:"".concat(s().timestampNews," embed-timestamp"),children:(0,i.jsxs)("time",{dateTime:j?L:y,children:[j&&(0,i.jsxs)("span",{className:s().timeDisplay,children:[d," ",j.formattedTimestamp]}),l&&(0,i.jsxs)("span",{className:s().timeDisplay,children:[N," ",l.formattedTimestamp]})]})})]})}l.defaultProps={timestampPublishedUnix:0,timestampUpdatedUnix:0,showUpdatedTimestampOnly:!1,countryCode:"en-us",destination:"buzzfeed"},l.propTypes={timestampPublishedUnix:u().number.isRequired,timestampUpdatedUnix:u().number.isRequired,showUpdatedTimestampOnly:u().bool,countryCode:u().string.isRequired,destination:u().string},e.Z=(0,o.withTranslation)("common")(l)},56643:function(t,e,n){"use strict";n.d(e,{Z:function(){return Ge}});var i=n(52322),r=n(2784),u=n(13980),a=n.n(u),o=n(17320),c=n(81298),s=n(67654),M=n.n(s),l=n(64435),j=n(41332),N=n(3207),d=n(3695),g={comma:(0,i.jsxs)("span",{className:M().comma,"aria-hidden":"true",children:[","," "]}),caret:(0,i.jsx)(c.QU,{className:"caret-separator ".concat(M().caret),"aria-hidden":"true"}),midot:(0,i.jsx)("span",{className:"bold ".concat(M().midot),children:"\xb7"})};function y(t){var e=t.buzz,n=t.text,u=t.url,a=t.index,o=(0,r.useMemo)((function(){return{eventCategory:"Header",eventAction:"link",eventLabel:u,unit_type:"buzz_head",unit_name:e.id,item_name:(0,d.G)(e)?n:(0,N.z)(u),item_type:"text",position_in_unit:(0,d.G)(e)?null:a,position_in_subunit:(0,d.G)(e)?a:null,subunit_name:(0,d.G)(e)?"breadcrumbs":"",subunit_type:(0,d.G)(e)?"component":"",target_content_type:"feed",target_content_id:(0,N.z)(u)}}),[e.id,a,u]),c=(0,l.R)(o);return(0,i.jsx)("a",{ref:c,className:"metadata-link",href:u,children:n})}function L(t){var e=t.breadcrumbs,n=t.hasSecondaryBreadcrumbs,u=void 0!==n&&n,a=((0,r.useContext)(j.Z)||{}).buzz,o=void 0===a?{}:a,c=function(t){var e;switch(!0){case t.isNews:e="default";break;case t.isQuiz:e="midot";break;default:e="caret"}return g[e]}(o);return(0,i.jsx)(i.Fragment,{children:e.map((function(t,n){var r=e.length===n+1,a=o.isNews?M().breadcrumbNewsItem:M().breadcrumbItem;return(0,i.jsxs)("li",{className:a,children:[(0,i.jsx)(y,{buzz:o,text:t.text,url:t.url,index:n}),(!r||u)&&c]},"".concat(t,"--").concat(n))}))})}function T(t){var e=t.breadcrumbs,n=t.secondaryBreadcrumbs,r=void 0===n?[]:n,u=Boolean(r.length);return(0,i.jsxs)("ol",{children:[(0,i.jsx)(L,{breadcrumbs:e,hasSecondaryBreadcrumbs:u}),u&&(0,i.jsx)(L,{breadcrumbs:r})]})}T.propTypes={breadcrumbs:a().array.isRequired,secondaryBreadcrumbs:a().array};var z=n(15185),m=n(70211),p=n(5103),I=n(81677),f=n.n(I);var D=(0,p.withTranslation)("common")((function(t){var e=t.t,n=(0,r.useContext)(j.Z).buzz,u=void 0===n?{}:n,a=(0,r.useMemo)((function(){return{unit_type:"buzz_head",unit_name:u.id,item_name:"return_to_article",item_type:"text",target_content_type:"buzz",target_content_id:u.id}}),[u]),o=(0,l.R)(a);return(0,i.jsxs)("div",{className:f().headlineComments,children:[(0,i.jsxs)("a",{ref:o,href:u.canonical_url,className:"blue-link ".concat(f().returnLink),children:[(0,i.jsx)(c.BN,{className:f().returnIcon}),(0,i.jsx)("span",{children:e("return_to_article")})]}),(0,i.jsx)("div",{className:f().commentOn,children:e("comments_on")})]})}));var x=n(30353);function b(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,w.x)(a)," ",n("views")]})]})]})}Q.propTypes={buzzId:a().string.isRequired};var U=(0,p.withTranslation)("common")(Q),Y=n(39252),P=n(14257),Z=n.n(P),B=n(89732),R=n.n(B),W=n(23679),G=n.n(W),F=n(71962),H=n.n(F),J=n(74756),V=n.n(J),q=n(58724),K=n.n(q),X=n(24958),$=n.n(X),tt=n(39751),et=n.n(tt),nt=n(84818),it=n.n(nt),rt=n(62660),ut=n.n(rt),at=n(63847),ot=n.n(at),ct=n(99139),st=n.n(ct),Mt=n(33175),lt=n.n(Mt),jt=n(37943),Nt=n.n(jt),dt=n(55805),gt=n.n(dt),yt=n(24560),Lt=n.n(yt),Tt=n(19519),zt=n.n(Tt),mt=n(84006),pt=n.n(mt),It=n(14446),ft=n.n(It),Dt=n(63453),xt=n.n(Dt),bt=n(628),Ot=n.n(bt),At=n(12803),ht=n.n(At),_t=n(51326),wt=n.n(_t),St=n(89089),Et=n.n(St),vt=n(49432),Ct=n.n(vt),kt=n(2915),Qt=n.n(kt),Ut=n(54116),Yt=n.n(Ut),Pt=n(33455),Zt=n.n(Pt),Bt=n(64742),Rt=n.n(Bt),Wt=n(40073),Gt=n.n(Wt),Ft=n(61623),Ht=n.n(Ft),Jt=n(59922),Vt=n.n(Jt),qt=n(40583),Kt=n.n(qt),Xt=n(98217),$t=n.n(Xt),te=n(8150),ee=n.n(te),ne=n(7870),ie=n.n(ne),re=n(15700),ue=n.n(re),ae=n(64651),oe=n.n(ae),ce=n(51716),se=n.n(ce),Me=n(12371),le=n.n(Me),je=n(60937),Ne=n.n(je),de=n(48061),ge=n.n(de),ye=n(42340),Le=n.n(ye),Te=n(87351),ze=n.n(Te),me=n(71529),pe=n.n(me),Ie=n(47756),fe=n.n(Ie),De={de:{cute:Z(),fail:R(),lol:G(),omg:H(),win:V(),wtf:K()},en:{cute:$(),fail:et(),lol:it(),omg:ut(),win:ot(),wtf:st()},es:{cute:lt(),fail:Nt(),lol:gt(),omg:Lt(),win:zt(),wtf:pt()},"es-es":{cute:ft(),fail:xt(),lol:Ot(),omg:ht(),win:wt(),wtf:Et()},fr:{cute:Ct(),fail:Qt(),lol:Yt(),omg:Zt(),win:Rt(),wtf:Gt()},general:{fail:Vt(),quiz:Ht(),trending:Kt(),viral:$t()},ja:{cute:ee(),fail:ie(),lol:ue(),omg:oe(),win:se(),wtf:le()},pt:{cute:Ne(),fail:ge(),lol:Le(),omg:ze(),win:pe(),wtf:fe()}};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}var be={Triggered:{priority:1},Editorial:{priority:2},Reaction:{priority:3},Others:{priority:4}},Oe=["cute","omg","win","fail","wtf","lol","trending","viral","quiz"],Ae=["cute","omg","win","fail","wtf","lol"];function he(t){var e=t.index,n=t.badge,u=t.buzzId,a=(0,r.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]),o=(0,l.R)(a);return(0,i.jsx)("a",{ref:o,className:v().badge,href:"/badge/".concat(n.link_to),children:n.has_svg&&n.badge_language?(0,i.jsx)("img",{src:De[n.badge_language][n.badge_type],alt:"".concat(n.name," badge")}):(0,i.jsx)(Y.lS,{src:"".concat(x.image_service_url).concat(n.path),alt:"".concat(n.name," badge")})},e)}function _e(t){var e=t.badges,n=t.countryCode,r=t.flags,u=t.buzzId;if(!e)return null;var a=e.find((function(t){return"trending"===t.badge_type})),o=e.filter((function(t){return!h.includes(t.badge_type)&&!function(t,e){var n=0===e.sensitive,i=0===e.sensitive&&0===e.nsfw&&1===e.brand_safe,r=["Editorial","Reaction"].includes(t.category),u=["Custom","Thematic"].includes(t.category),a=!t.path;return!n&&r||!i&&u||a}(t,r)&&(!a||a&&"viral"!==t.badge_type)})).map((function(t){var e=t.badge_type;return t.badge_language=Ae.includes(e)?function(t){if("es-es"===t)return t;var e=O((t||"").split("-"),1)[0];return A.includes(e)?e:"en"}(n):"general",t.has_svg=Oe.includes(e),t.link_to=t.link_to||e,t.category in be||(t.category="Others"),function(t){for(var e=1;ee.priority?1:t.prioritye.price?1:t.price1&&void 0!==arguments[1]?arguments[1]:"topic",u=Array.isArray(t)?t:[t],a=(null===e||void 0===e||null===(n=e.laser_tags)||void 0===n||null===(i=n.bf_content_description)||void 0===i?void 0:i[r])||[];return u.every((function(t){return a.some((function(e){return e.tag_name===t}))}))};e.isAd||e.isCommunity&&!e.isModerated?N=null:g("unsolved_ops","workflow")&&j?N="that_got_dark":(g("tv_shows")||g("movies"))&&j?N="screen_time":g("taylor_swift")&&j?N="taylor_swift":g("economy_hate_watch")&&j?N="economy_hate_watch":g("arcade")&&j?N="arcade":e.isShopping&&j?N="shopping":e.isQuiz&&j?N="quizzes":j&&(N="daily");var y=1===e.flags.ad,L=e.country_code,p=(0,o.Z)(e,n),I=p.primary,f=p.secondary,b=e.bylines.some((function(t){return"6"===t.description_id}))&&"Japan"!==e.classification.edition,O=e.longform_custom_header&&!(0,d.G)(e)?e.longform_custom_header:e,A=O.title,h=O.description,_=!(0,d.G)(e)||(0,d.G)(e)&&(I.length||f.length)>0,w={unit_type:"buzz_head",unit_name:e.id,item_type:"button"},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.useMemo)((function(){return{internalLink:function(n){(0,Ze.TW)(t,Re({},e,n))},contentAction:function(n){(0,Ze.bC)(t,Re({},e,n))},impression:function(n){(0,Ze.Oz)(t,Re({},e,n))}}}),[t,e])}(e,w),v=!!(0,Pe.zk)(),C=Ye[N];N&&!C&&console.warn("Unknown subscription offering: ".concat(N));var k=e.longform_custom_header&&e.longform_custom_header.style&&e.longform_custom_header.style.text_over;if(e.hasQuizSharedResult){var Q=n[0];return Q.has_svg=!0,Q.badge_language="general",(0,i.jsxs)("div",{className:Ee().sharedResultHeadlineWrapper,children:[(0,i.jsxs)("div",{className:Ee().sharedResultBadge,children:[(0,i.jsx)(he,{index:0,badge:Q,buzzId:e.buzzId}),(0,i.jsx)("p",{children:"Result from"})]}),(0,i.jsx)("h1",{className:Ee().sharedResultTitle,children:(0,i.jsx)("a",{href:e.canonical_url,children:e.title})})]})}var U=(0,i.jsxs)("div",{className:"".concat(Ee().container," embed-breadcrumbs"),children:[y?(0,i.jsx)("span",{className:Ee().paidPostBreadcrumb,children:u("paid_post")}):(0,i.jsxs)("nav",{"aria-label":"Breadcrumb",className:(0,d.G)(e)?Ee().breadcrumbContainerNews:Ee().breadcrumbContainer,children:[(0,i.jsx)(T,{breadcrumbs:I,secondaryBreadcrumbs:f}),"buzzfeed"===a&&0!==I.length&&s>0&&(0,i.jsx)("span",{className:"bold ".concat(Ee().middot),children:"\xb7"})]}),"buzzfeed"===a&&(0,i.jsx)(z.Z,{timestampPublishedUnix:s,timestampUpdatedUnix:M,countryCode:L,destination:a})]}),Y={adDisclaimer:!c&&b,badges:!c&&!e.isAd&&"buzzfeed"===a,breadcrumbAboveTitle:!c&&_,breadcrumbBelowTitle:c&&_,byline:!c,commerceDisclaimer:!c,communityDisclaimer:!c&&!e.isModerated,timestamp:!c&&"buzzfeed_news"===a};return(0,i.jsxs)("div",{className:"".concat(Ee().headline," ").concat(Ee()[e.bfpTheme]||""," ").concat(Ee()[a]," embed-buzz-header"),children:[Y.badges&&(0,i.jsx)("div",{className:Ee().container,children:(0,i.jsx)(we,{badges:n,buzzId:e.id,countryCode:L,flags:e.flags})}),c&&(0,i.jsx)(D,{}),Y.commerceDisclaimer&&(0,i.jsx)(Qe,{buzz:e}),Y.communityDisclaimer&&(0,i.jsxs)("div",{className:"".concat(Ee().disclaimer," ").concat(Ee().container),children:[u("community_disclaimer"),(0,i.jsxs)("a",{className:"blue-link",href:"http://community.buzzfeed.com/",children:[" ",u("community_try")]})]}),Y.adDisclaimer&&(0,i.jsx)("div",{className:"".concat(Ee().disclaimer," ").concat(Ee().container),children:u("ad_disclaimer")}),Y.breadcrumbAboveTitle&&U,C&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Ue.Z,{topic:C.topic,description:C.description,descriptionLoggedOut:C.descriptionLoggedOut,subscriptions:C.subscriptions,isSignedIn:v,siteCaptchaKey:x.site_captcha_key,track:E}),(0,i.jsx)("br",{})]}),(0,i.jsxs)("div",{className:"".concat(Ee().container," ").concat(k?Ee().hideTitle:""," embed-headline"),children:[(0,i.jsx)("h1",{className:"".concat(Ee().title," embed-headline-title"),dangerouslySetInnerHTML:{__html:A}}),(0,i.jsx)("p",{className:"".concat(Ee().description," embed-headline-description"),dangerouslySetInnerHTML:{__html:h}})]}),Y.breadcrumbBelowTitle&&U,Y.byline&&(0,i.jsx)(m.Z,{bylines:e.bylines,isAd:y,buzz:e}),Y.timestamp&&(0,i.jsx)(z.Z,{timestampPublishedUnix:s,timestampUpdatedUnix:M,showUpdatedTimestampOnly:l,countryCode:L,destination:a})]})}We.propTypes={buzz:a().object.isRequired,badges:a().array};var Ge=(0,ve.Z)((0,p.withTranslation)("common")(We),{onError:Ce.Tb})},54761:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(52322),r=n(2784),u=n(88163),a=n(41332);function o(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},u=Object.keys(t);for(i=0;i=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function c(t){var e=t.children,n=t.lazy,c=void 0===n||n,s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.preloadDistance,n=void 0===e?2:e,i=t.rootMargin,o=(0,r.useContext)(a.Z).id;if(void 0===i){var c="undefined"!==typeof document?document.documentElement.clientHeight:0;i="".concat(c*n,"px 0px")}var s=(0,u.Z)({rootMargin:i,once:!0,pageId:o}),M=s.isIntersecting,l=s.setObservable;return{canLoad:M,setObservable:l}}(o(t,["children","lazy"])),M=s.canLoad,l=s.setObservable;return(0,i.jsx)("div",{ref:c?l:null,children:!c||M?e:null})}},22813:function(t,e,n){"use strict";var i=n(94776),r=n.n(i),u=n(52322),a=n(13980),o=n.n(a),c=n(2784),s=n(6294),M=n(73931),l=n(81298),j=n(5103),N=n(41332),d=n(46811),g=n(4366),y=n(16179),L=n.n(y);function T(t,e,n,i,r,u,a){try{var o=t[u](a),c=o.value}catch(s){return void n(s)}o.done?e(c):Promise.resolve(c).then(i,r)}function z(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function m(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"",e=document.createElement("div");return e.innerHTML=t,e.textContent};function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n3&&void 0!==T[3]&&T[3],o=u||t(i||"control"),c=null,e.prev=3,e.next=6,fetch(o,{});case 6:return s=e.sent,e.next=9,s.json();case 9:if(M=e.sent,l=M.results||[],j=[],a&&((j=l.filter((function(t){return Array.isArray(t.laser_tags)&&t.laser_tags.some((function(t){return"prime_day"===t.tag_name&&"bf_content_description"===t.namespace_name}))}))).length<6&&(N=6-j.length,d=l.filter((function(t){return!j.some((function(e){return e.id===t.id}))})),L=d.slice(-N),j=j.concat(L)),l=j),l.length){e.next=15;break}return e.abrupt("return",null);case 15:(c=n).package_id=l[0].id,c.results=l.map((function(t){var e=null===t||void 0===t?void 0:t.image,n=null===t||void 0===t?void 0:t.image_alt;if(Array.isArray(t.thumbnails)&&t.thumbnails.length){var i=t.thumbnails[0];if(Array.isArray(i.sizes)&&i.sizes.length){var u=i.sizes.find((function(t){return"big"===t.size}))||i.sizes[0];u&&(e=u.url,n=u.alt_text||"")}}return{author:"",canonical_path:t.canonical_path,created_at:"",data_source:t.data_source_name,data_source_name:t.data_source_name,description:z(t.description),id:t.id,image:e,image_alt_text:n,name:t.name,url:t.url?"".concat(t.url,"?origin=").concat(r):"https://www.buzzfeed.com".concat(t.canonical_path,"?origin=").concat(r)}})),c.cta&&c.cta.url&&(c.cta.url+="?origin=".concat(r)),e.next=24;break;case 21:e.prev=21,e.t0=e.catch(3),"dev"===y.CLUSTER&&console.log("error fetching data",e.t0);case 24:return e.abrupt("return",c);case 25:case"end":return e.stop()}}),e,null,[[3,21]])})),function(){var t=this,n=arguments;return new Promise((function(i,r){var u=e.apply(t,n);function a(t){p(u,i,r,a,o,"next",t)}function o(t){p(u,i,r,a,o,"throw",t)}a(void 0)}))});return function(t,e,n){return i.apply(this,arguments)}}();return{fetchData:i}}();function b(t){var e=t.buzz,n=(0,a.useState)(null),i=n[0],r=n[1],u=(0,a.useContext)(L.Z),o=u.getFeatureFlagValue,c=u.getExperimentValue,s=u.experiments,l=e.country_code,j=e.isUS,N=(e.classification.section||e.category).toLowerCase(),d=e.laser_tags&&e.laser_tags.bf_content_description&&e.laser_tags.bf_content_description.topic||[],g=D(e.tags.filter((function(t){return!t.includes("--")}))).concat(D(d.map((function(t){return t.tag_name}))));(0,a.useContext)(M.Z).base_url;return(0,a.useEffect)((function(){var t;if(s.loaded){var n=(null===e||void 0===e||null===(t=e.flags)||void 0===t?void 0:t.sensitive)||!1,i=e.isUS&&!e.isAd&&!n&&!g.includes("ai quiz")&&!e.shouldHideRecircSection,u=c("shopping-package-v4-ml-1499",{rejectErrors:!1}),a=o("prime-day-bpage-recirc")||!1,M="";if((i||("nifty"===N||"shopping"===N)&&j)&&(M="shopping"),j&&"shopping"===M)if(a){x.fetchData(u,"bprime_pkg","https://weaver-api.buzzfeed.com/v1/feeds/shopping-package-prime-day",!0).then((function(t){t&&r(f({},t,{category:M}))}))}else{var l=function(t,e){var n={shopping:{shopping:"bshp",nifty:"nifty_pkg_bpage"}},i={giftguide:"bgg"};return n[t]&&n[t][e]?n[t][e]:i[t]||"shp"}(M,N);x.fetchData(u,l).then((function(t){t&&r(f({},t,{category:M}))}))}}}),[e.tags,N,j,l,s]),i}var O=n(39252),A=n(81298),h=n(52547),_=n(3207),w=n(90093),S=n(33859),E=n.n(S),v=function(t){var e=t.className;return(0,r.jsxs)("svg",{role:"img","aria-label":"BuzzFeed Shopping logo",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 535.7 153.8",className:e,children:[(0,r.jsx)("title",{children:"Shopping on BuzzFeed"}),(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M85.4 33v-9.5C85.4 9.6 72.9.4 57.6 2.8S29.7 18.6 29.7 32.5v11.7",fill:"none",stroke:"#000",strokeWidth:4.92,strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{fill:"#fff",stroke:"#000",strokeWidth:4.92,strokeLinecap:"round",strokeLinejoin:"round",d:"M2.5 51.2L11.8 56.4 21.1 47.5 30.4 52.7 39.7 43.8 49 49 58.3 40 67.6 45.3 76.9 36.3 86.2 41.6 95.6 32.7 102.7 37.9 102.7 144.1 3.6 135.6z"}),(0,r.jsx)("path",{fill:"#f37a7b",stroke:"#000",strokeWidth:4.92,strokeLinecap:"round",strokeLinejoin:"round",d:"M129.2 38.9L121.7 43.5 118.8 35.9 112.6 40.8 108.8 32.7 102.7 37.4 102.7 144.1 129.2 134z"}),(0,r.jsx)("path",{id:"Arrow",d:"M85.4 90.4L81.1 60.1 52.7 71.6 64 78.1 53.3 96.5 35 85.9 16.8 117.3 27 123.1 39.2 101.9 57.6 112.5 74.1 83.9z"}),(0,r.jsx)("path",{d:"M155.6 80.9V38.1h19c7.4 0 12 4.5 12 10.9 0 5.4-3.6 9-7.5 9.8 4.6.7 8.3 5.4 8.3 10.5 0 6.9-4.6 11.5-12.4 11.5h-19.4zm25.5-31.1c0-3.8-2.6-6.9-7.4-6.9h-12.8v13.8h12.8c4.8-.1 7.4-3 7.4-6.9zm.8 18.9c0-3.9-2.7-7.4-8-7.4h-13.1V76H174c5 .1 7.9-2.7 7.9-7.3zM204.8 64.3V38.1h5.3v26c0 7.8 4.2 12.8 12.1 12.8 7.9 0 12.1-4.9 12.1-12.8v-26h5.3v26.1c0 10.6-5.8 17.4-17.4 17.4-11.6 0-17.4-6.8-17.4-17.3zM256.7 80.9v-4.4l24-33.6h-24v-4.7h30.8v4.4l-24 33.6H288v4.7h-31.3zM303.1 80.9v-4.4l24-33.6h-24v-4.7h30.8v4.4l-24 33.6h24.5v4.7h-31.3zM351.4 80.9V38.1h28v4.7h-22.7v13.8H379v4.7h-22.2v19.5h-5.4zM395.6 80.9V38.1h28v4.7h-22.7v13.8h22.2v4.7h-22.2V76h22.7v4.7h-28zM441 80.9V38.1h28v4.7h-22.7v13.8h22.2v4.7h-22.2V76H469v4.7h-28zM486.4 80.9V38.1H501c13.3 0 21.9 9.3 21.9 21.4 0 12.2-8.7 21.4-21.9 21.4h-14.6zm31-21.4c0-9.2-5.8-16.7-16.4-16.7h-9.3v33.3h9.3c10.4 0 16.4-7.4 16.4-16.6z"}),(0,r.jsx)("path",{d:"M154.5 129.3l4.9-6.9c3 3.1 7.7 5.8 13.6 5.8 5 0 7.4-2.3 7.4-4.7 0-7.6-24.6-2.4-24.6-18.5 0-7.1 6.2-13 16.2-13 6.8 0 12.4 2.1 16.7 6l-5.1 6.7c-3.5-3.2-8.1-4.7-12.4-4.7-3.9 0-6.1 1.7-6.1 4.3 0 6.8 24.6 2.2 24.6 18.2 0 7.8-5.6 13.7-17.1 13.7-8.3-.1-14.2-2.8-18.1-6.9zM232.2 135.4v-18H212v18h-9.1V92.6h9.1v16.8h20.2V92.6h9.2v42.8h-9.2zM254.7 114c0-12.9 9.4-22.1 22.3-22.1 13 0 22.4 9.2 22.4 22.1 0 12.9-9.4 22.1-22.4 22.1-12.8 0-22.3-9.2-22.3-22.1zm35.4 0c0-8-5.1-14-13-14s-13 6-13 14 5.1 14 13 14 13-6 13-14zM312.9 135.4V92.6h20c9.3 0 14.4 6.3 14.4 13.8 0 7.4-5.1 13.8-14.4 13.8H322v15.2h-9.1zm25.1-29c0-3.6-2.7-5.8-6.3-5.8H322v11.5h9.7c3.6.1 6.3-2.2 6.3-5.7zM360 135.4V92.6h20c9.3 0 14.4 6.3 14.4 13.8 0 7.4-5.1 13.8-14.4 13.8h-10.9v15.2H360zm25-29c0-3.6-2.7-5.8-6.3-5.8H369v11.5h9.7c3.6.1 6.3-2.2 6.3-5.7zM407 135.4V92.6h9.1v42.8H407zM461.1 135.4l-20.4-27.9v27.9h-9.1V92.6h9.4l19.8 26.9V92.6h9.1v42.8h-8.8zM483.4 114c0-13.5 10.3-22.1 22.8-22.1 8.9 0 14.5 4.5 17.7 9.6l-7.6 4.1c-1.9-3-5.6-5.6-10.1-5.6-7.8 0-13.4 6-13.4 14 0 8.1 5.6 14 13.4 14 3.8 0 7.4-1.7 9.1-3.3v-5.1H504v-8h20.4V128c-4.4 4.9-10.5 8.1-18.2 8.1-12.5.1-22.8-8.6-22.8-22.1z"})]})]})},C=function(t){var e=t.children;return(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:E().packageWrapper,children:[(0,r.jsx)("div",{className:E().heading,children:(0,r.jsx)(v,{})}),e]})})},k=function(t){var e=t.className;return(0,r.jsx)("svg",{className:e,width:"11",height:"10",viewBox:"0 0 11 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.3146 4.99927L5.36504 0.0497586L4.12766 1.28714L7.84027 4.99976L4.12766 8.71237L5.36504 9.94975L10.3146 5.00024L10.3141 4.99976L10.3146 4.99927Z"})})};function Q(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function mt(t){var e=t.isNewDesign,n=t.isShoppingDesign,i=void 0!==n&&n,a=zt(t,["isNewDesign","isShoppingDesign"]);return(0,r.jsx)(u.Z,{children:e?(0,r.jsx)(yt,{isShoppingDesign:i}):(0,r.jsx)(K,Tt({},a))})}},61813:function(t,e,n){"use strict";n.d(e,{Z:function(){return X}});var i=n(52322),r=n(88163),u=n(16938),a=n(21871),o=n(24678),c=n(13980),s=n.n(c),M=n(2784),l=n(83661),j=n(10097),N=n(52592),d=n(99112),g=n(71031),y=function(t){var e=t.className,n=t.title;return(0,i.jsxs)("svg",{className:e,width:"15",height:"20",viewBox:"0 0 15 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("title",{children:n}),(0,i.jsx)("path",{d:"M11.6364 6.90906H12.8182C13.1316 6.90906 13.4322 7.03357 13.6539 7.2552C13.8755 7.47684 14 7.77744 14 8.09088V17.5454C14 17.8589 13.8755 18.1595 13.6539 18.3811C13.4322 18.6027 13.1316 18.7272 12.8182 18.7272H2.18182C1.86838 18.7272 1.56778 18.6027 1.34615 18.3811C1.12451 18.1595 1 17.8589 1 17.5454V8.09088C1 7.77744 1.12451 7.47684 1.34615 7.2552C1.56778 7.03357 1.86838 6.90906 2.18182 6.90906H3.36364",stroke:"#5246F5",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M7.5 1V9.27273",stroke:"#5246F5",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M4.54541 3.95455L7.49996 1L10.4545 3.95455",stroke:"#5246F5",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},L=n(29583),T=function(t){var e=t.className,n=void 0===e?"":e;return(0,i.jsx)("svg",{className:n,fill:"#EB5369",width:"15",height:"15",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M0 2.7907C0 1.24944 1.22104 0 2.72727 0H12.2727C13.779 0 15 1.24944 15 2.7907L15 8.37209C15 9.91335 13.779 11.1628 12.2727 11.1628H10.9091V15L4.77274 11.1628H2.72727C1.22104 11.1628 0 9.91335 0 8.37209C0 6.51163 0 4.65116 0 2.7907Z",fill:"#EB5369"})})},z=n(42494),m=n(43643),p=n(81298),I=n(30353),f=n(41332),D=n(64435),x=n(98195),b=n.n(x),O=function(t){var e,n=t.display_name,r=t.position,u=t.slug,a=(0,M.useContext)(f.Z).buzz,o=void 0===a?{}:a,c=(0,D.R)({unit_type:"top"===r?"buzz_head":"buzz_bottom",unit_name:o.id,item_type:"text",item_name:u,target_content_type:"feed",target_content_id:8}),s="".concat(null===(e=I.destinations.buzzfeed)||void 0===e?void 0:e.base_url,"/topic/").concat(u);return(0,i.jsx)("div",{className:"".concat(b().topicPageLink," ").concat(b()[r]),children:(0,i.jsxs)("a",{ref:c,href:s,children:[(0,i.jsx)(p.BN,{className:b().caret}),(0,i.jsxs)("div",{children:["Go Back to",(0,i.jsx)("span",{className:b().pageName,children:n})]})]})})},A=n(53407),h=n(4366),_=n(9100),w=n.n(_);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 E(t){for(var e=1;e0&&et.map((function(t,e){return(0,i.jsx)(Z,function(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},et=function(t){var e=t.className,n=void 0===e?"":e,i=t.emoji,a=void 0===i?"\ud83e\udd2f":i,o=t.onTransitionEndComplete,c=t.range,s=void 0===c?[10,15]:c,M=(0,u.useRef)(tt.apply(void 0,$(s))),l=(0,u.useRef)(function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.degreeMax,i=void 0===n?45:n,r=e.degreeMin,u=void 0===r?-45:r,a=e.distributionFactor,o=void 0===a?1:a,c=[],s=i-u,M=0;M1&&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()},ot="user-entries",ct=n(83816),st=n.n(ct);function Mt(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?ot:e,i=t.limit,r=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),r&&e.length>r&&(e=e.slice(0,r)),window.localStorage.setItem(n,JSON.stringify(e))}}}({namespace:"localUserEmojis"}),gt=function(t){var e=t.name,n=t.localEmojiName,i=t.count,a=void 0===i?0:i,o=t.onClick,c=void 0===o?function(){}:o,s=t.isClicked,M=void 0!==s&&s,l=(0,u.useState)(!1),j=l[0],N=l[1];return(0,r.jsxs)("li",{className:"".concat(st().reactionsItem," ").concat(!M&&st().reactionsItemActive),children:[(0,r.jsx)("button",{className:st().reactionBtn,disabled:M,onClick:function(){dt.set(n),c(e),N(!0)},children:e}),0!==a&&(0,r.jsx)("span",{className:st().count,children:at(a)}),j&&(0,r.jsx)(nt,{className:st().confetti,emoji:e,onTransitionEndComplete:function(){return N(!1)}})]},e)};gt.propTypes={count:o().number.isRequired,onClick:o().func.isRequired,name:o().string.isRequired,localEmojiName:o().string.isRequired};var yt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.className,n=void 0===e?"":e,i=t.contentId,a=t.contentType,o=void 0===a?"content-object":a,c=t.isSponsored,s=(0,Q.useTranslation)("common").t,M=(0,u.useState)(null),l=M[0],j=M[1],N=(0,u.useState)(null),d=N[0],g=N[1],y=(0,u.useState)(null),L=y[0],T=y[1],z=Nt(V.T).concat(Nt(V.n));(0,u.useEffect)((function(){var t=dt.get("".concat(o,":").concat(i));if(t){var e=t.split(":").pop();(!c&&z.includes(e)||c&&V.T.includes(e))&&j(e)}}),[i,o]);var m=function(t){d||g(t.name),t.increment();var e=L.map((function(e){return e.name===t.name?e.count++:e.name===l&&e.count--,e}));T(e),j(t.name)},p=(0,u.useContext)(E.Z),I=p.buzz,f=void 0===I?{}:I,D=(0,it.z)((0,ut.h)(f),!0),x=D.reactions,b=D.serverError;if(!x.length)return null;d&&d!=l&&x.forEach((function(t){t.name==d&&(t.count--,g(l))}));var O=[];x.forEach((function(t){t.displayPriority=V.n.includes(t.name)?1/(V.n.indexOf(t.name)+V.T.length+1):1/(V.T.indexOf(t.name)+1),c&&V.n.includes(t.name)||O.push(t)}));var A=O.sort((function(t,e){return e.count+e.displayPriority-(t.count+t.displayPriority)}));return(null===L||void 0===L?void 0:L.length)||T(A),(0,r.jsxs)("section",{className:"".concat(n," ").concat(st().reactions),children:[(0,r.jsx)(rt.Z,{id:"reactions-title",children:s("what_do_you_think")}),b&&(0,r.jsx)("p",{className:st().error,children:s("server_error")}),(0,r.jsx)("ul",{"aria-label":"Emoji Reactions","aria-controls":"dialog",className:"".concat(st().reactionsList," ").concat(x.some((function(t){return t.count>0}))&&st().hasReactions," ").concat((null===L||void 0===L?void 0:L.length)<8&&st().restrictedReactions),children:L&&L.map((function(t){return(0,r.jsx)(gt,jt({isClicked:l==t.name,localEmojiName:"".concat(o,":").concat(i,":").concat(t.name),onClick:function(){m(t)}},t),t.name)}))})]})};yt.propTypes={className:o().string,contentId:o().string,contentType:o().string};var Lt=yt,Tt=n(45243),zt=n.n(Tt),mt=n(81550),pt=(0,D.Z)((function(){return n.e(36).then(n.bind(n,10305))}),{ssr:!1});function It(t){var e=t.data,n=void 0===e?{}:e,i=n.images,a=(0,u.useContext)(E.Z).buzz,o=void 0===a?{}:a,c=(0,u.useContext)(J.Z).destination,s=o.longform_custom_header.style&&o.longform_custom_header.style.text_over,M=s&&o.longform_custom_header.style.text_over.gradient&&"no_gradient"!==o.longform_custom_header.style.text_over.gradient,l=o.longform_custom_header,j=l.title,N=l.description;if(!i)return null;var d=i.mobile||i.standard||{width:1,height:1},g=d.width,y=d.height,L=parseInt(y/g*100,10);return(0,r.jsxs)("div",{className:"".concat(zt().featureImageWrapper," ").concat(zt()["featureImage-".concat(c)]," embed-feature-image"),children:[(0,r.jsx)("div",{style:{paddingBottom:"".concat(L,"%")},className:zt().featureImagePlaceholder,children:(0,r.jsx)(pt,{data:n})}),s&&(0,r.jsx)("div",{className:"".concat(zt().featureText," ").concat(M?zt().featureImageShadow:""),children:(0,r.jsxs)("div",{className:zt().featureTextInner,children:[(0,r.jsx)("div",{className:zt().title,dangerouslySetInnerHTML:{__html:j}}),(0,r.jsx)("p",{className:zt().description,dangerouslySetInnerHTML:{__html:N}})]})})]})}It.propTypes={data:o().object};var ft=(0,mt.Z)(It,{onError:s.Tb}),Dt=n(28182),xt=n(56643),bt=n(64762),Ot=n(80266),At=n.n(Ot),ht=n(26349),_t=n.n(ht),wt=n(15185),St=n(70211);function Et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vt=function(t){var e,n=t.primaryColor,i=t.textColor,r=void 0===i?"#000":i,u=t.subbuzzHeaderBackgroundColor,a=void 0===u?n:u,o=t.subbuzzHeaderOpacity,c=void 0===o?.3:o;return Et(e={},_t().primaryColor,n),Et(e,_t().textColor,r),Et(e,_t().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),r=parseInt(t.slice(5,7),16);return"rgba(".concat(n,",").concat(i,",").concat(r,",").concat(e,")")}(a,c)),e},Ct={core_peach:vt({primaryColor:"#FFE3D4",subbuzzHeaderOpacity:1}),rose:vt({primaryColor:"#FFC0C5"}),watermelon:vt({primaryColor:"#F4A2A2"}),sand:vt({primaryColor:"#F7C597"}),hunter:vt({primaryColor:"#587E6F",textColor:"#fff"}),mint:vt({primaryColor:"#B4DBC8"}),periwinkle:vt({primaryColor:"#6772E5",textColor:"#fff",subbuzzHeaderBackgroundColor:"#8CA2E9"}),stone:vt({primaryColor:"#B0C1D1"}),black:vt({primaryColor:"#2B3249",textColor:"#fff"}),orange:vt({primaryColor:"#BB6719"})},kt={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"}]},7757785:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/eA2VM7NFv.png?output-format=jpg&output-quality=95",alt:"Two kids opening presents from Dick's Sporting Good by a Christmas tree",caption:"DICK'S Sporting Goods"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/eA2VM7NFv.png?output-format=jpg&output-quality=95",alt:"Two kids opening presents from Dick's Sporting Good by a Christmas tree",caption:"DICK'S Sporting Goods"}]},7765663:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/GVKPPABas.png?output-format=jpg&output-quality=95",alt:"a tin of cookies, a vanilla scented candkle, and two holiday themed mugs",caption:"Walmart Canada"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/GVKPPABas.png?output-format=jpg&output-quality=95",alt:"a tin of cookies, a vanilla scented candkle, and two holiday themed mugs",caption:"Walmart Canada"}]},7765768:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/tONV_zSyk.png?output-format=jpg&output-quality=95",alt:'table setting with a champagne flute, and pink and green plates that say "noel" with cupcakes on it. table is decorated with a pink and green tree and a disco ball',caption:"Walmart Canada"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/tONV_zSyk.png?output-format=jpg&output-quality=95",alt:'table setting with a champagne flute, and pink and green plates that say "noel" with cupcakes on it. table is decorated with a pink and green tree and a disco ball',caption:"Walmart Canada"}]},7829855:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/Aay1XOftY.png?output-format=jpg&output-quality=95",alt:"one child and one woman in denim shorts",caption:"Walmart Canada"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/Aay1XOftY.png?output-format=jpg&output-quality=95",alt:"one child and one woman in denim shorts",caption:"Walmart Canada"}]},7838751:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/h71dtWwyX.png?output-format=jpg&output-quality=95",alt:"family sitting on a patio with patio furniture",caption:"Walmart Canada"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/h71dtWwyX.png?output-format=jpg&output-quality=95",alt:"family sitting on a patio with patio furniture",caption:"Walmart Canada"}]},7859887:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/A_3KF9JWS.png?output-format=jpg&output-quality=95",alt:"woman up against a sky background, wearing a denim skirt and top",caption:"Walmart Canada"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/A_3KF9JWS.png?output-format=jpg&output-quality=95",alt:"woman up against a sky background, wearing a denim skirt and top",caption:"Walmart Canada"}]},7907094:{desktop:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/_27DACrNT.png?output-format=jpg&output-quality=95",alt:"kids smiling and walking against a pale background with lockers in the background",caption:"Walmart Canada"}],mobile:[{src:"https://img.buzzfeed.com/store-an-image-prod-us-east-1/_27DACrNT.png?output-format=jpg&output-quality=95",alt:"kids smiling and walking against a pale background with lockers in the background",caption:"Walmart Canada"}]}};function Qt(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=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),r=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(r,"',\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(r,"',\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,i),n=t.id,r=t.inline_js;d(n),L(r)}),[e]);var f=!m.sensitive&&!m.nsfw&&!m.ad&&!I.includes("--noads")&&!p&&"Japan"===z.edition;return(0,u.useEffect)((function(){ye.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"))M||o||(ye.hi.setTCFListener((function(t){var e=t.tcData;c("useractioncomplete"===e.eventStatus||"tcloaded"===e.eventStatus)})),l(!0));else{var r=document.createElement("script");r.type="text/javascript",r.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(r);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),o||c(!0)}}))}),[M,o]),f&&(0,r.jsxs)("div",{className:ge().taboolaWrapper,children:[1==i&&(0,r.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,r.jsx)("div",{id:N}),(0,r.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:y}})]})}Le.propTypes={isMobile:o().bool,placement:o().number};var Te=Le,ze=n(94200),me=n.n(ze),pe=n(84952),Ie=["IN","PH","SG","ID","MY","PK","HK","TH","KR","BD","VN","LK","TW","NP","KH","BN","PG","MO","LA","BT","TL","MN"];var fe=function(){var t=(0,u.useState)(),e=t[0],n=t[1],i=(0,u.useState)(),a=i[0],o=i[1],c=(0,u.useRef)(null),s=(0,u.useContext)(E.Z).buzz,M=s.classification,l=s.flags,j=s.isPreview,N=s.tags,d=!l.sensitive&&!l.nsfw&&!l.ad&&!N.includes("--noads")&&!j&&"Japan"!==M.edition&&-1!==Ie.indexOf((0,pe.pP)());return(0,u.useEffect)((function(){d&&ye.hi.getTCData().then((function(t){var i=t.tcData,r=i.gdprApplies,u=i.eventStatus;if(r&&!["useractioncomplete","tcloaded"].includes(u)||document.getElementById("tb_loader_script"))a||e||(ye.hi.setTCFListener((function(t){var e=t.tcData;n("useractioncomplete"===e.eventStatus||"tcloaded"===e.eventStatus)})),o(!0));else{var s=document.createElement("script");s.type="text/javascript",s.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/buzzfeed-international/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(s);var M=document.createElement("script");M.type="text/javascript",M.innerHTML="\n window._taboola = window._taboola || [];\n _taboola.push({\n mode: 'alternating-thumbnails-a',\n container: 'taboola-below-article-thumbnails',\n placement: 'Below Article Thumbnails',\n target_type: 'mix'\n });\n",c.current.appendChild(M);var l=document.createElement("script");l.type="text/javascript",l.innerHTML="\n window._taboola = window._taboola || [];\n _taboola.push({flush: true});\n",document.body.appendChild(l),e||n(!0)}}))}),[a,e]),d&&(0,r.jsx)("div",{className:me().taboolaWrapper,ref:c,children:(0,r.jsx)("div",{id:"taboola-below-article-thumbnails"})})},De=n(66330),xe=n(31284),be=n.n(xe),Oe=n(64435),Ae=function(t){var e=t.topic,n=t.buzz,i=t.index,a=e.tag_name.replace(/_/g,"-"),o=(0,u.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(a),position_in_subunit:i}}),[n.id,e.tag_name,i]),c=(0,Oe.R)(o);return(0,r.jsx)("a",{ref:c,href:"/topic/".concat(a),children:e.tag_display_name})},he=function(t){var e,n,i=t.buzz,u=(null===(e=i.laser_tags)||void 0===e||null===(n=e.bf_content_description)||void 0===n?void 0:n.topic)||[];return u.length?(0,r.jsxs)("div",{className:be().topics,children:[(0,r.jsx)("h2",{className:be().heading,children:"Topics in this article"}),(0,r.jsx)("ul",{children:u.slice(0,3).map((function(t,e){return(0,r.jsx)("li",{children:(0,r.jsx)(Ae,{topic:t,buzz:i,index:e})},e)}))})]}):null},_e=n(48121),we=n.n(_e);function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ee=function(t){return(0,r.jsx)("svg",function(t){for(var e=1;e1710959400),B=(0,u.useState)(!1),R=B[0],W=B[1],V=(0,u.useState)(null),q=V[0],K=V[1],X=null===n||void 0===n||null===(e=n.metadata)||void 0===e?void 0:e.subbuzzId;(0,u.useEffect)((function(){X&&W(!0)}),[]),(0,u.useEffect)((function(){(0,d.G)(n)&&(document.querySelector("body").style.overflowX="hidden")}),[n,n.format.page_width]),(0,u.useEffect)((function(){if(h&&h.loaded){var t=w("taboola_apac");Q(t)}}),[h,w]),(0,u.useEffect)((function(){h&&h.loaded&&K(w("RT-1749-move-package-above-comments"))}),[h,w]);var $=(0,u.useCallback)((function(){c(!1)}),[c]);return(0,r.jsxs)("main",{"aria-hidden":R,className:"".concat(z().main," ").concat(z()[I]," embed-content"),id:"buzz-content",ref:y,children:[!n.disableAds&&(0,r.jsx)(C,{}),(0,r.jsx)(nn,{buzz:n,isOpen:R,onRequestClose:function(){return W(!1)},subbuzzData:i,subbuzzId:X},"shared-modal-".concat(n.id)),n.longform_custom_header&&(0,r.jsx)(ft,{data:n.longform_custom_header}),(0,r.jsx)("div",{className:"".concat(z().article," ").concat(z()[I]," ").concat(z().wide," ").concat(z()[n.bfpTheme]||""," embed-post"),children:(0,r.jsxs)("div",{className:z().content,children:[(0,r.jsxs)("article",{className:"featured-post",children:[n.lookbookPalette?(0,r.jsx)(Pt,{buzz:n,commentCount:b,showShareBar:Y}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(xt.Z,{buzz:n,badges:a}),(0,r.jsx)(_,{buzz:n,commentCount:b,showShareBar:Y,destination:I,isFloatingShareButtonEnd:T})]}),(0,r.jsx)(Re,{buzz:n,postRef:y}),(0,r.jsx)(Ne.ZP,{buzz:n,subbuzzData:i,pixiedust:{unit_type:"buzz_body",unit_name:n.id,position_in_unit:0}}),n.hasStudiosPromoUnit&&(0,r.jsx)(je,{buzz:n}),(0,d.G)(n)&&(0,r.jsx)(he,{buzz:n}),(0,r.jsx)(G,{buzz:n}),(0,r.jsx)(H.Z,{buzz:n})]}),(0,r.jsx)(cn,{buzz:n}),(0,r.jsxs)(j.Z,{onError:s.Tb,children:[(0,r.jsx)(k.Z,{type:"subbuzz",pixiedust:{unit_type:"buzz_bottom",unit_name:n.id,position_in_unit:0}}),v&&(0,r.jsx)(Zt.Z,{children:(0,r.jsx)(fe,{})}),"Japan"===n.classification.edition&&(0,r.jsx)(Zt.Z,{children:(0,r.jsx)(Te,{isMobile:D})}),(0,r.jsx)(Ve.Z,{buzz:n}),!Z&&(P?(0,r.jsx)(ee,{}):(0,r.jsx)(qt,{})),Z&&(0,r.jsx)(Lt,{contentId:n.id,isSponsored:(0,g.f)(n)}),!n.isShopping&&!0===q&&(0,r.jsx)(Rt.Z,{style:{marginBottom:"3rem"},isNewDesign:!0,isShoppingDesign:!0}),f&&(0,r.jsx)(F.Z,{buzz:n,commentCount:b,onCommentsLoaded:O,firstPage:100,repliesFirstPage:2,perPage:100}),f&&(0,r.jsx)(De.Z,{buzz:n,subunitName:"comments",subunitType:"component",unitType:"buzz_bottom"}),"buzzfeed"===I&&!n.isShopping&&!(0,d.G)(n)&&(0,r.jsxs)(r.Fragment,{children:[!1===q&&(0,r.jsx)(Rt.Z,{style:{marginBottom:"3rem"},isNewDesign:!0}),(0,r.jsx)(k.Z,{type:"story-bpage-desktop",pixiedust:{unit_type:"buzz_bottom",unit_name:n.id,position_in_unit:1},style:{marginTop:"-2rem"}})]}),(0,r.jsx)(ne.d$,{}),"buzzfeed"===I&&n.isShopping&&!(0,d.G)(n)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(k.Z,{type:"story-bpage-desktop",pixiedust:{unit_type:"buzz_bottom",unit_name:n.id,position_in_unit:1}}),(0,r.jsx)(Rt.Z,{style:{marginTop:D?"1rem":"-2rem"},isNewDesign:!0})]}),(0,r.jsx)(Bt.Z,{}),(0,r.jsx)(Dt.Z,{}),D&&(0,r.jsx)(k.Z,{type:"bigstory",pixiedust:{unit_type:"buzz_bottom",unit_name:n.id,position_in_unit:1}})]})]})}),(0,r.jsxs)(j.Z,{onError:s.Tb,children:[(0,r.jsx)(Je,{}),"Japan"===n.classification.edition&&(0,r.jsx)(Zt.Z,{children:(0,r.jsx)(Te,{placement:2,isMobile:D})}),(0,d.G)(n)&&(0,r.jsx)(N.Z,{jumpTo:"news-footer",className:"skipToFooter",label:"Skip to footer"}),(0,r.jsx)("div",{ref:m}),(0,r.jsx)(ne.cM,{})]}),o&&(0,r.jsx)(Ft,{onOverlayClick:$})]})}sn.propTypes={buzz:o().object.isRequired,badges:o().array,subbuzzData:o().shape({assets:o().object,subbuzzes:o().array})};var Mn=sn,ln=n(14125),jn=n(35167);function Nn(t){var e=t.pixiedust;return(0,r.jsx)(k.Z,{config:{adType:"ex",adPos:"promo-inline-trending-ad-unit-slot",size:[jn.J7.PROGRAMMATIC_SMARTPHONE_BANNER,jn.J7.PROGRAMMATIC_MEDIUM_RECTANGLE,jn.J7.PROGRAMMATIC_LEADERBOARD,jn.J7.NATIVE,jn.J7.FLUID],viewability:"high"},pixiedust:e})}var dn=n(42235),gn=n(13607),yn=n(50946);var Ln=function(){var t=(0,u.useContext)(E.Z).buzz,e=(0,u.useContext)(gn.Z).tracking,n=e.consentValue,i=e.isConsentReady,a=!t.isAd&&"news"!==t.metavertical&&!t.flags.sensitive&&!t.flags.nsfw&&t.isUS&&-1!==yn.u.indexOf(t.category.toLowerCase());return(0,u.useEffect)((function(){a&&n&&i&&(0,dn.v)("//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=8e4d6210-350e-4d17-b9c5-70937cc906ff")}),[a,n,i]),a?(0,r.jsx)("div",{id:"amzn-assoc-ad-8e4d6210-350e-4d17-b9c5-70937cc906ff"}):null};var Tn=function(t){var e,n=t.buzz,i=(0,Q.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,r.jsx)("div",{className:"subbuzz subbuzz-text xs-mb4 xs-relative",children:(0,r.jsx)("h2",{dangerouslySetInnerHTML:{__html:i("COMMERCE_SEO_"+e.toUpperCase())}})}):null},zn=n(30353);var mn=function(){var t,e=(0,u.useContext)(E.Z).buzz,n=void 0===e?{}:e,i=(0,u.useContext)(c.$),a=null===i||void 0===i||null===(t=i.env)||void 0===t?void 0:t.userCountry,o=!(0,d.G)(n)&&"Japan"!==n.classification.edition&&!n.isAd&&("au"===a||"nz"===a),s="dev"!==zn.CLUSTER&&"stage"!==zn.CLUSTER,M="\n window.PubFeedHeader = true;\n var script = document.createElement('script');\n script.src = \"https://".concat(s?"pubfeed":"staging-pubfeed",".linkby.com/widget.js\";\n document.getElementsByTagName('head')[0].appendChild(script);\n ");if(!o)return"";if(o&&!window.PubFeedHeader){var l=document.createElement("script");l.type="text/javascript",l.innerHTML=M,document.head.appendChild(l)}return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"linkby-widget","data-type":"listicle"})})},pn=n(99377),In=n(95705),fn=n.n(In);function Dn(t){var e=t.content,n=t.onClick,i=t.onClose,u=e.btnText;return(0,r.jsx)("div",{className:fn().container,children:(0,r.jsxs)("div",{className:fn().button,children:[(0,r.jsx)("div",{className:fn().link,onClick:function(){return n()},children:u}),(0,r.jsx)("div",{className:fn().close,onClick:function(){return i()},children:"\xd7"})]})})}var xn=n(35346),bn=n.n(xn);function On(t){var e=t.content,n=t.onClick,i=t.onClose,u=e.titleText,a=e.descText,o=e.btnText,c=e.closeText;return(0,r.jsxs)("div",{className:bn().container,children:[(0,r.jsx)("div",{className:bn().icon,children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 38",children:[(0,r.jsx)("title",{children:"BuzzFeed Trending Arrow"}),(0,r.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,r.jsx)("div",{className:bn().title,children:u}),(0,r.jsx)("div",{className:bn().desc,children:a}),(0,r.jsx)("div",{className:bn().button,onClick:function(){return n()},children:o}),(0,r.jsx)("div",{className:bn().close,onClick:function(){return i()},children:c})]})}var An={buzzfeed:{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="},tasty:{ios:"https://apps.apple.com/us/app/tasty-recipes-cooking-videos/id1217456898?pt=xxxx&&mt=8&ct=",android:"https://play.google.com/store/apps/details?id=com.buzzfeed.tasty&utm_source=buzzfeed&utm_medium=web&utm_campaign=",desktop:"https://www.tasty.co/download?c="}},hn=[{name:"tasty",enabled:!0,match:function(t){return"Tasty"===t.category},content:{promoType:"button",btnText:"7,500+ recipes, 1 free app",campaignId:"bftasty",storeLinks:An.tasty,unit_name:"tasty",subunit_name:"tasty_mobile_app_promo"}},{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",storeLinks:An.buzzfeed}},{name:"quiz",enabled:!0,match:function(t){return t.isQuiz},content:{promoType:"button",btnText:"More Quizzes in the App!",campaignId:"quiz",storeLinks:An.buzzfeed}},{name:"default",enabled:!1,match:function(t){return!t.isQuiz},content:{promoType:"button",btnText:"Get the App!",campaignId:"post",storeLinks:An.buzzfeed}},{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",storeLinks:An.buzzfeed}}],_n=n(96547),wn=n.n(_n);function Sn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function En(t){for(var e=1;e0?M:s).map((function(t){return t.tag_name.replaceAll("_"," ")})),j=(0,u.useState)([]),N=j[0],d=j[1],g=(0,u.useContext)(J.Z).base_url;return(0,u.useEffect)((function(){function t(){return(t=Rn(Qn().mark((function t(){var e,n,i;return Qn().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(l.join(" OR "))));case 4:return n=t.sent,t.next=7,n.json();case 7:i=t.sent,d((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)}l.length>0&&function(){t.apply(this,arguments)}()}),[]),N&&N.forEach((function(t,e){delete N[e].latest_subbuzz.id,N[e].latest_subbuzz.parent_buzz_canonical_url=N[e].detail_page_url})),0===N.length?null:(0,r.jsx)(Gn,{buzz:c,products:N})}var Gn=function(t){var e=t.buzz,n=t.products,i=(0,ce.J)({buzz:e}),a=(0,Un.P)({buzz:e}),o=(0,u.useMemo)((function(){return{unit_type:"buzz_bottom",unit_name:e.id}}),[e.id]);return(0,r.jsxs)("div",{className:Zn().retailProductsGridWrapper,children:[(0,r.jsx)(rt.Z,{id:"reactions-title",children:"Our Bestselling Products"}),(0,r.jsx)("div",{className:Zn().retailProductsGrid,ref:(0,Ye.Z)(i,a),children:(0,r.jsx)(Yn.Z,{offset:0,len:4,products:n,useUnitTracking:Oe.R,tracking:o})})]})},Fn=n(43643),Hn=n(19925),Jn=n.n(Hn);var Vn=function(t){var e=t.buzz,n=(0,u.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]),i=(0,Oe.R)(n);return e.hasQuizSharedResult?(0,r.jsxs)("section",{className:Jn().container,children:[(0,r.jsx)(rt.Z,{id:"takeQuizYourself",children:"Take this Quiz Yourself"}),(0,r.jsxs)("a",{className:Jn().quizLink,href:e.canonical_url,ref:i,children:[(0,r.jsx)("img",{src:e.picture,className:Jn().quizImg,alt:e.pictureAlt||""}),(0,r.jsx)("span",{className:Jn().quizTitle,children:e.title})]})]}):null},qn=n(53020),Kn=n.n(qn),Xn=["AU","NZ"];var $n=function(){var t=(0,u.useState)(),e=t[0],n=t[1],i=(0,u.useState)(),a=i[0],o=i[1],c=(0,u.useRef)(null),s=(0,u.useContext)(E.Z).buzz,M=s.classification,l=s.flags,j=s.isPreview,N=s.tags,d=!l.sensitive&&!l.nsfw&&!l.ad&&!N.includes("--noads")&&!j&&"Japan"!==M.edition&&-1!==Xn.indexOf((0,pe.pP)());return(0,u.useEffect)((function(){d&&ye.hi.getTCData().then((function(t){var i=t.tcData,r=i.gdprApplies,u=i.eventStatus;if(r&&!["useractioncomplete","tcloaded"].includes(u)||document.getElementById("tb_loader_script"))a||e||(ye.hi.setTCFListener((function(t){var e=t.tcData;n("useractioncomplete"===e.eventStatus||"tcloaded"===e.eventStatus)})),o(!0));else{var s=document.createElement("script");s.type="text/javascript",s.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/teppei2/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(s);var M=document.createElement("script");M.type="text/javascript",M.innerHTML="\n window._taboola = window._taboola || [];\n _taboola.push({\n mode: 'thumbnails-vmd-test',\n container: 'taboola-below-article-thumbnails-vmd-test',\n placement: 'Below Article Thumbnails VMD Test',\n target_type: 'mix'\n });\n",c.current.appendChild(M);var l=document.createElement("script");l.type="text/javascript",l.innerHTML="\n window._taboola = window._taboola || [];\n _taboola.push({flush: true});\n",document.body.appendChild(l),e||n(!0)}}))}),[a,e]),d&&(0,r.jsx)("div",{className:Kn().taboolaWrapper,ref:c,children:(0,r.jsx)("div",{id:"taboola-below-article-thumbnails-vmd-test"})})},ti=n(19103),ei=n.n(ti);function ni(t,e,n,i,r,u,a){try{var o=t[u](a),c=o.value}catch(s){return void n(s)}o.done?e(c):Promise.resolve(c).then(i,r)}var ii=function(t){var e=new Date(t),n=new Date,i=Math.floor((n-e)/1e3),r=!0,u=!1,a=void 0;try{for(var o,c=[{label:"year",seconds:31536e3},{label:"month",seconds:2592e3},{label:"week",seconds:604800},{label:"day",seconds:86400},{label:"hour",seconds:3600},{label:"minute",seconds:60}][Symbol.iterator]();!(r=(o=c.next()).done);r=!0){var s=o.value,M=Math.floor(i/s.seconds);if(M>=1)return"".concat(M," ").concat(s.label).concat(M>1?"s":""," ago")}}catch(l){u=!0,a=l}finally{try{r||null==c.return||c.return()}finally{if(u)throw a}}return"Just now"},ri=function(t){var e=t.article,n=t.index,i=(0,u.useMemo)((function(){return{unit_name:"trending_posts",unit_type:"buzz_bottom",item_type:"card",item_name:e.id,position_in_unit:n+1,target_content_url:e.url,target_content_type:"buzz",target_content_id:e.id,data_source_name:"recsys_api",eventCategory:"list:bottom-feed"}}),[e,n]),a=(0,Oe.R)(i,!1,!1);return(0,r.jsx)("a",{href:"".concat(e.url,"?origin=btrend"),className:ei().link,ref:a,children:(0,r.jsxs)("div",{className:ei().cardWrapper,children:[(0,r.jsxs)("div",{className:ei().imageWrapper,children:[(0,r.jsx)("div",{className:ei().number,children:n+1}),(0,r.jsx)("img",{src:e.image,alt:e.title,className:ei().image})]}),(0,r.jsx)("div",{className:ei().timeAgo,children:ii(e.created_at)}),(0,r.jsx)("div",{className:ei().category,children:"TVAndMovies"===e.category?"TV & MOVIES":e.category}),(0,r.jsx)("h2",{className:ei().title,children:e.name})]})})},ui=function(){var t=(0,u.useContext)(J.Z).base_url,e=(0,u.useState)([]),n=e[0],i=e[1];return(0,u.useEffect)((function(){var e=new AbortController,n=function(){var n,r=(n=Qn().mark((function n(){var r,u;return Qn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,fetch("".concat(t,"/site-component/v1/en-us/trending"),{signal:e.signal});case 3:return r=n.sent,n.next=6,r.json();case 6:u=n.sent,i(u.results||[]),n.next=13;break;case 10:n.prev=10,n.t0=n.catch(0),e.signal.aborted||console.error("Fetch error:",n.t0);case 13:case"end":return n.stop()}}),n,null,[[0,10]])})),function(){var t=this,e=arguments;return new Promise((function(i,r){var u=n.apply(t,e);function a(t){ni(u,i,r,a,o,"next",t)}function o(t){ni(u,i,r,a,o,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return n(),function(){return e.abort()}}),[t]),n.length?(0,r.jsxs)("div",{className:ei().trending,children:[(0,r.jsx)("h1",{className:ei().header,children:"Trending on BuzzFeed"}),(0,r.jsx)("div",{className:ei().grid,children:n.slice(0,10).map((function(t,e){return(0,r.jsx)(ri,{article:t,index:e},t.id)}))})]}):null},ai=n(51340),oi=n(6277),ci=function(t){var e=t.width,n=t.height;return(0,r.jsx)("svg",{width:e,height:n,viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M1 1L6 6L11 1",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},si=n(82536),Mi=n.n(si),li=n(4042),ji=n.n(li),Ni=120,di=200,gi=function(t){var e=t.previousPath,n=(0,u.useState)(!1),i=n[0],a=n[1];return(0,r.jsxs)("button",{className:Mi().returnButton,type:"button",onMouseEnter:function(){return a(!0)},onMouseLeave:function(){return a(!1)},onClick:function(){e&&(window.location.href=e)},style:{display:"inline-flex",alignItems:"center"},children:[(0,r.jsx)("span",{className:Mi().returnButton__icon,style:{marginRight:"12px",display:"inline-flex",alignItems:"center",transform:i?"rotate(90deg)":"rotate(180deg)",transition:"transform 0.2s ease"},children:(0,r.jsx)(ci,{width:16,height:16})}),(0,r.jsx)("span",{className:Mi().returnButton__text,children:"Return to Previous Article"})]})},yi=function(t){var e=t.previousPath;return(0,r.jsx)("div",{style:{position:"relative",height:"".concat(Ni,"px")},children:(0,r.jsx)("div",{className:(0,oi.Z)(Mi().scrollCueBox,Mi().isReturning),style:{position:"relative",height:"".concat(Ni,"px"),backgroundImage:"url(".concat(ji(),")")},children:(0,r.jsx)("div",{className:Mi().overlayHolder,children:(0,r.jsx)(gi,{previousPath:e})})})})},Li=function(t){var e=t.previousPath,n=void 0===e?null:e,i=t.onExpandComplete,a=void 0===i?function(){}:i,o=t.onOffscreenScrollDown,c=void 0===o?function(){}:o,s=(0,l.Z)("(max-width: 600px)")?1:3,M=/Safari/.test(navigator.userAgent)&&!/Chrome|Chromium|CriOS|FxiOS|Edg|OPR/.test(navigator.userAgent),j=(0,u.useRef)(null),N=(0,u.useRef)(null),d=(0,u.useRef)(!1),g=(0,u.useRef)(null),y=(0,u.useRef)(!1),L=(0,u.useState)(3),T=L[0],z=L[1],m=(0,u.useState)(!1),p=m[0],I=m[1],f=(0,u.useState)(!1),D=f[0],x=f[1],b=(0,u.useState)(!1),O=b[0],A=b[1],h=(0,u.useState)(Ni),_=h[0],w=h[1],S=(0,u.useState)(!1),E=S[0],v=S[1],C=function(){var t,e=null===(t=j.current)||void 0===t?void 0:t.getBoundingClientRect();v(e&&e.top>=0&&e.bottom<=window.innerHeight),e&&e.top<=40&&!D&&(w(Ni),z(3))},k=function(){var t=j.current;if(t&&!D){var e=t.getBoundingClientRect(),n=window.innerHeight-e.bottom,i=Math.min(1,n/1200);t.style.backgroundPosition="center ".concat(100-40*i,"%"),t.style.backgroundImage="url(".concat(ji(),")"),e.bottom>-160?(M||window.scrollBy(0,15),g.current=requestAnimationFrame(k)):(cancelAnimationFrame(g.current),t.style.backgroundPosition="center top",t.style.height="".concat(Ni,"px"),setTimeout((function(){z(3),w(Ni),x(!0),A(!0),c()}),50))}};(0,u.useEffect)((function(){var t=null,e=function(t){y.current||(y.current=!0,function(t){var e=t>0;if(!(D||d.current&&e)){var n=t/(e?s:1);w((function(t){var i=e?Math.min(di,t+Math.abs(n)):Math.max(Ni,t-Math.abs(n));return z(i<140?1:i<180?2:3),!d.current&&i>=190&&(d.current=!0,I(!0),a(),requestAnimationFrame(k)),i}))}}(t),setTimeout((function(){y.current=!1}),16))},n=function(t){C(),E&&e(t.deltaY)},i=function(n){if(E&&1===n.touches.length){var i=n.touches[0].clientY;if(null!==t)e(t-i);t=i}},r=function(){t=null};return window.addEventListener("wheel",n,{passive:!0}),window.addEventListener("touchmove",i,{passive:!0}),window.addEventListener("touchend",r),window.addEventListener("touchcancel",r),window.addEventListener("scroll",C,{passive:!0}),function(){window.removeEventListener("wheel",n),window.removeEventListener("touchmove",i),window.removeEventListener("touchend",r),window.removeEventListener("touchcancel",r),window.removeEventListener("scroll",C)}}),[E,D]),(0,u.useEffect)((function(){D&&(w(Ni),z(3),I(!1),d.current=!1)}),[D]);var Q=(_-Ni)/80,U=40+20*Q,Y=(0,u.useMemo)((function(){return{position:"relative",height:"".concat(_,"px"),transition:"none",willChange:"height, background-position",backgroundImage:p||D?"url(".concat(ji(),")"):"linear-gradient(rgba(140,162,233,0.9), rgba(140,162,233,0.9)), url(".concat(ji(),")"),backgroundPosition:"center top",backgroundRepeat:"no-repeat"}}),[_,p,D]);return(0,r.jsx)("div",{ref:N,style:{position:"relative",height:"".concat(D?Ni:di,"px")},children:(0,r.jsxs)("div",{ref:j,tabIndex:0,className:(0,oi.Z)(Mi().scrollCueBox,O&&Mi().isReturning),style:Y,children:[!p&&!D&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:Mi().cueText,style:{position:"absolute",top:"".concat(U,"px")},children:"KEEP SCROLLING FOR NEXT ARTICLE"}),(0,r.jsx)("div",{className:Mi().cueArrows,children:[{width:36,height:62},{width:32,height:54},{width:24,height:42}].slice(0,T).map((function(t,e){var n=d.current?0:20*Q*e;return 0===n&&e>0?null:(0,r.jsx)("div",{className:Mi().cueArrowItem,style:{position:"absolute",left:"50%",transform:"translateX(-50%)",top:"".concat(U+24+n,"px"),zIndex:T-e},children:(0,r.jsx)(ci,{width:t.width,height:t.height})},e)}))})]}),D&&(0,r.jsx)("div",{className:Mi().overlayHolder,children:(0,r.jsx)(gi,{previousPath:n})})]})})},Ti=n(42457),zi=n(84361),mi=n(81374),pi=n(44381),Ii=n(50896),fi=n(29572),Di=n(27354),xi=n(99151),bi=(0,mt.Z)((function(t){var e=t.buzz,n=void 0===e?{}:e;return(0,zi.k)(n),(0,mi.L)(n),(0,pi.y)(n),(0,Ii.s)(n),(0,fi.mH)(n.id),(0,Di.l)(n.id),(0,xi.Z)(n.id),null}),{onError:s.Tb});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}var Ai=function(t){var e=t.buzz,n=t.subbuzzData,i=t.isActivePost,a=void 0!==i&&i,o=(0,u.useRef)(),c=(0,u.useContext)(E.Z).setValue;return(0,u.useEffect)((function(){var t="".concat((null===e||void 0===e?void 0:e.canonical_path)||(null===e||void 0===e?void 0:e.canonical_url),"?origin=shp-is");window.location.pathname+window.location.search!==t&&window.history.pushState(null,"",t),null===c||void 0===c||c(function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&void 0!==c[1]?c[1]:"",t.prev=1,"string"===typeof e){t.next=5;break}return t.abrupt("return",null);case 5:return t.next=7,fetch("".concat(e,".json"));case 7:if((r=t.sent).ok){t.next=10;break}return t.abrupt("return",null);case 10:return t.next=12,r.json();case 12:if(u=t.sent,(null===(a=u.buzz||u)||void 0===a?void 0:a.id)&&(null===a||void 0===a||null===(i=a.metadata)||void 0===i?void 0:i.title)){t.next=16;break}return t.abrupt("return",null);case 16:return t.abrupt("return",{id:a.id,buzz:ki({},a,{referrer:n}),subbuzzData:null!==(o=u.subbuzzes)&&void 0!==o?o:{subbuzzes:[],assets:{}},visible:!0,isActive:!1});case 20:return t.prev=20,t.t0=t.catch(1),t.abrupt("return",null);case 23:case"end":return t.stop()}}),t,null,[[1,20]])})));return function(e){return t.apply(this,arguments)}}(),[]),A=(0,u.useCallback)(Ei(Qn().mark((function t(){var e,i,r,u,a,o;return Qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!m&&x.current){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,fetch("https://recsys-api.buzzfeed.com/web/shopping-package-internal?page_size=10");case 4:return e=t.sent,t.next=7,e.json();case 7:return i=t.sent,r=(i.results||[]).map((function(t){return t.url})).filter((function(t){return"string"===typeof t})),c(r.slice(1)),t.next=12,O(r[0],n);case 12:(u=t.sent)&&x.current&&(D((null===(a=u.buzz)||void 0===a?void 0:a.canonical_path)||(null===(o=u.buzz)||void 0===o?void 0:o.canonical_url)||""),g(u));case 14:case"end":return t.stop()}}),t)}))),[O,n,m]),h=(0,u.useCallback)(Ei(Qn().mark((function t(){var e,n,i,r,u,a;return Qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==o.length){t.next=2;break}return t.abrupt("return");case 2:return e=Qi(o),n=e[0],i=e.slice(1),x.current&&c(i),t.next=6,O(n,f);case 6:(r=t.sent)&&x.current&&(D((null===(u=r.buzz)||void 0===u?void 0:u.canonical_path)||(null===(a=r.buzz)||void 0===a?void 0:a.canonical_url)||""),g(r));case 8:case"end":return t.stop()}}),t)}))),[o,O,f]);(0,u.useEffect)((function(){if(d&&x.current){var t=requestAnimationFrame((function(){x.current&&(l((function(t){if(t.find((function(t){var e,n;return(null===(e=t.buzz)||void 0===e?void 0:e.id)===(null===(n=d.buzz)||void 0===n?void 0:n.id)})))return t;var e=Ui(t);if(e[e.length-1]){var n=e[e.length-1];n.isActive=!1,e[e.length-1]=n}return d.isActive=!0,Ui(e).concat([d])})),p(!0),g(null),b&&x.current&&!1===m&&requestAnimationFrame((function(){setTimeout((function(){var t=window.scrollY;(t<100||t>2*window.innerHeight)&&window.scrollTo({top:Math.min(400,.6*window.innerHeight),behavior:"auto"})}),100)})))}));return function(){return cancelAnimationFrame(t)}}}),[d,b,m]),(0,u.useEffect)((function(){Ei(Qn().mark((function t(){return Qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,A();case 3:t.next=8;break;case 5:t.prev=5,t.t0=t.catch(0),console.error("loadInitial failed:",t.t0);case 8:case"end":return t.stop()}}),t,null,[[0,5]])})))()}),[A]);var _=function(t){l((function(e){if(t<0||t>=e.length)return e;var n=Ui(e);return n[t]=ki({},n[t],{visible:!1}),n}))},w=(0,u.useCallback)(function(){var t=Ei(Qn().mark((function t(e){var n;return Qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=M[e],"function"===typeof i&&i(!0),b&&n&&x.current&&(T(ki({},n,{previousPath:f})),_(e)),t.next=5,h();case 5:b&&x.current&&requestAnimationFrame((function(){setTimeout((function(){var t=document.querySelectorAll("[data-infinite-post]"),e=t[t.length-1];if(e){var n=e.getBoundingClientRect(),i=n.top+window.scrollY+Math.min(300,.2*n.height);window.scrollTo({top:i,behavior:"smooth"})}else window.scrollTo({top:Math.min(400,.6*window.innerHeight),behavior:"auto"})}),50)}));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[b,M,h,i,f]);return(0,u.useEffect)((function(){var t=Node.prototype.removeChild;return Node.prototype.removeChild=function(e){try{return this.contains&&this.contains(e)?t.call(this,e):this.parentNode&&this.parentNode.contains&&this.parentNode.contains(e)?this.parentNode.removeChild(e):e}catch(n){return e}},function(){Node.prototype.removeChild=t}}),[]),(0,r.jsxs)("div",{children:[L&&(0,r.jsx)(yi,{previousPath:L.previousPath},"final-".concat(L.id)),M.map((function(t,e){var n,i;if(!t.visible)return null;var a="".concat(null===(n=t.buzz)||void 0===n?void 0:n.id,"-").concat((null===(i=t.buzz)||void 0===i?void 0:i.canonical_path)||"");return(0,r.jsxs)(u.Fragment,{children:[(0,r.jsx)(j.Z,{fallback:null,children:(0,r.jsx)(_i,{buzz:t.buzz,subbuzzData:t.subbuzzData,index:e,isActivePost:t.isActive})}),!(e===M.length-1&&0===o.length)&&(0,r.jsx)(Li,{onExpandComplete:function(){return w(e)},onOffscreenScrollDown:function(){if(!b){var t=M[e];t&&x.current&&(T(ki({},t,{previousPath:f})),_(e))}}})]},a)}))]})},Zi=(0,D.Z)((function(){return n.e(520).then(n.bind(n,51336))}),{ssr:!1}),Bi=(0,D.Z)((function(){return n.e(562).then(n.bind(n,4195))}),{ssr:!0}),Ri=(0,D.Z)((function(){return Promise.all([n.e(893),n.e(969)]).then(n.bind(n,77402))}),{ssr:!1});function Wi(t){var e,n=t.buzz,i=t.subbuzzData,a=t.badges,o=t.showOverlay,c=t.setShowOverlay,y=(0,u.useRef)(null),L=(0,M.Z)({once:!0}),T=L.isIntersecting,m=L.setObservable,I=(0,u.useContext)(J.Z).destination,f=(0,u.useContext)(p.Z).commentsEnabled,D=(0,l.Z)("(max-width:500px)"),x=(0,l.Z)("(min-width: 64rem)"),b=n.isTrivia||n.isPersonality,O=!(n.shouldHideBuzzSharing||n.shouldShowPostContentOnly)&&!D||(0,d.G)(n),A=(0,u.useState)(null),h=A[0],w=A[1],E=(0,u.useContext)(S.Z),v=E.getFeatureFlagValue,Q=E.experiments,U=E.getExperimentValue,Y=(0,u.useState)(!1),P=Y[0],Z=Y[1],B=(0,u.useState)(!1),R=B[0],W=B[1],V=(0,u.useState)("control"),q=V[0],K=V[1],X=(0,u.useState)(!1),$=X[0],tt=X[1],et=(0,u.useState)(!1),nt=et[0],it=et[1],rt=(0,u.useState)(null),ut=rt[0],at=rt[1],ot=!!(n.published&&parseInt(n.published,10)>1710959400),ct=(0,u.useState)(!1),st=ct[0],Mt=ct[1],lt=null===n||void 0===n||null===(e=n.metadata)||void 0===e?void 0:e.subbuzzId,jt=(0,u.useState)(!1),Nt=jt[0],dt=jt[1];(0,u.useEffect)((function(){lt&&Mt(!0)}),[]),(0,u.useEffect)((function(){"is"===U("ads_shopping_infinite_scroll",{rejectErrors:!1})&&Z(!0)}),[U,n]),(0,u.useEffect)((function(){Q&&Q.loaded&&K(U("ads_retail_media_network",{rejectErrors:!1}))}),[Q,U]),(0,u.useEffect)((function(){Q&&Q.loaded&&!(0,ln.rK)(n)&&W(v("RT-1378-us-quiz-top-sticky-desktop")||v("ads-quiz-top-player-mobile"))}),[Q,v,U]),(0,u.useEffect)((function(){if(Q&&Q.loaded){var t=v("taboola_apac");tt(t);var e=v("taboola_au");it(e)}}),[Q,v]),(0,u.useEffect)((function(){Q&&Q.loaded&&at(v("RT-1749-move-package-above-comments"))}),[Q,v]);var gt=(0,u.useCallback)((function(){c(!1)}),[c]),yt=/Safari/.test(navigator.userAgent)&&!/Chrome|Chromium|CriOS|FxiOS|Edg|OPR/.test(navigator.userAgent),Tt=(0,u.useState)(!1),zt=Tt[0],mt=Tt[1],pt=(0,u.useState)(!1),It=pt[0],ft=pt[1],bt=(0,u.useState)(!1),Ot=bt[0],At=bt[1],ht=(0,u.useRef)(!0);(0,u.useEffect)((function(){return ht.current=!0,function(){ht.current=!1}}),[]);var _t=(0,u.useCallback)((function(){It||ft(!0)}),[It]),wt=(0,u.useCallback)((function(){zt||requestAnimationFrame((function(){requestAnimationFrame((function(){ht.current&&mt(!0)}))}))}),[zt]);return(0,u.useEffect)((function(){var t=Node.prototype.removeChild;return Node.prototype.removeChild=function(e){try{return t.call(this,e)}catch(n){return null}},function(){Node.prototype.removeChild=t}}),[]),(0,r.jsxs)("main",{"aria-hidden":st,id:"buzz-content",className:"".concat(z().main," ").concat(z()[I]," embed-content"),ref:y,children:[(0,r.jsxs)(j.Z,{onError:s.Tb,children:[!n.disableAds&&(0,r.jsx)(C,{}),(0,r.jsx)(Ln,{buzz:n})]}),(0,r.jsx)(nn,{buzz:n,isOpen:st,onRequestClose:function(){return Mt(!1)},subbuzzData:i,subbuzzId:lt},"shared-modal-".concat(n.id)),(0,r.jsxs)("div",{className:"".concat(z().article," ").concat(z().default," ").concat(z()[I]," embed-post"),children:[(0,r.jsxs)("div",{className:z().content,children:[(0,r.jsxs)("article",{children:[!zt&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(xt.Z,{buzz:n,badges:a}),(0,r.jsx)(_,{buzz:n,commentCount:h,showShareBar:O,destination:I,isFloatingShareButtonEnd:T}),(0,r.jsx)(Re,{buzz:n,postRef:y}),n.tags.some((function(t){return["etsy-strategy","etsy_strategy","etsy strategy"].includes(t)}))&&(0,r.jsx)(Nn,{pixiedust:{unit_type:"buzz_body",unit_name:n.id,position_in_unit:0}}),(0,r.jsx)(Cn,{}),R&&(0,r.jsx)(ai.Z,{buzz:n,showOnTopQuiz:!0}),(0,r.jsx)(Ne.ZP,{buzz:n,subbuzzData:i,hideAds:Nt,pixiedust:{unit_type:"buzz_body",unit_name:n.id,position_in_unit:0}},n.id),n.hasStudiosPromoUnit&&(0,r.jsx)(je,{buzz:n}),(0,d.G)(n)&&(0,r.jsx)(he,{buzz:n}),(0,r.jsx)(Tn,{buzz:n}),(0,r.jsx)(G,{buzz:n}),(0,r.jsx)(H.Z,{buzz:n}),!x&&n.walmartBundle&&(0,r.jsx)(Zi,{buzz:n})]}),n.isShopping&&P&&(0,r.jsxs)(r.Fragment,{children:[!Ot&&(0,r.jsx)(Li,{onExpandComplete:function(){dt(!0),_t(),yt&&wt()},onOffscreenScrollDown:function(){yt||wt()},previousPath:n.canonical_path||n.canonical_url}),It&&(0,r.jsx)(Pi,{disableDefaultIS:At})]})]}),(0,r.jsx)(cn,{buzz:n}),(0,r.jsxs)(j.Z,{onError:s.Tb,children:[(0,r.jsx)(Vn,{buzz:n}),(0,r.jsx)(k.Z,{type:"subbuzz",pixiedust:{unit_type:"buzz_bottom",unit_name:n.id,position_in_unit:0}}),"Japan"===n.classification.edition&&(0,r.jsx)(Te,{isMobile:D}),$&&(0,r.jsx)(fe,{}),(0,r.jsx)(Ve.Z,{buzz:n}),!n.isShopping&&(0,r.jsxs)(r.Fragment,{children:[!ot&&(b?(0,r.jsx)(ee,{}):(0,r.jsx)(qt,{})),ot&&(0,r.jsx)(Lt,{contentId:n.id,isSponsored:(0,g.f)(n)}),!0===ut&&(0,r.jsx)(Rt.Z,{style:{marginBottom:"3rem"},isNewDesign:!0,isShoppingDesign:!0}),f&&(0,r.jsx)(F.Z,{buzz:n,commentCount:h,onCommentsLoaded:w,firstPage:100,repliesFirstPage:2,perPage:100}),f&&(0,r.jsx)(De.Z,{buzz:n,subunitName:"comments",subunitType:"component",unitType:"buzz_bottom"}),"var1"===q&&(0,r.jsx)(Wn,{version:q,buzz:n})]}),(0,r.jsx)(mn,{}),nt&&(0,r.jsx)($n,{}),n.tags.some((function(t){return"--commerce-user-reviews"===t}))&&(0,r.jsx)(Bi,{buzz:n}),"buzzfeed"===I&&!n.isShopping&&!(0,d.G)(n)&&(0,r.jsxs)(r.Fragment,{children:[!1===ut&&(0,r.jsx)(Rt.Z,{style:{marginBottom:"3rem"},isNewDesign:!0}),"var2"===q&&(0,r.jsx)(Wn,{version:q,buzz:n}),(0,r.jsx)(k.Z,{type:"story-bpage-desktop",pixiedust:{unit_type:"buzz_bottom",unit_name:n.id,position_in_unit:1},style:{marginTop:"-2rem"}})]})||"var2"===q&&(0,r.jsx)(Wn,{version:q,buzz:n}),!n.isShopping&&(0,r.jsx)(ne.d$,{}),n.isShopping&&!P&&"var1"===q&&(0,r.jsx)(Wn,{version:q,buzz:n}),(0,r.jsx)(Bt.Z,{}),(0,r.jsx)(Dt.Z,{}),D&&!P&&(0,r.jsx)(k.Z,{type:"bigstory",pixiedust:{unit_type:"buzz_bottom",unit_name:n.id,position_in_unit:1}}),b&&(0,r.jsx)(Ri,{})]})]}),(0,r.jsx)(Fn.Z,{pixiedust:{unit_type:"sidebar",unit_name:"right",position_in_unit:0}},null===n||void 0===n?void 0:n.id)]}),(0,r.jsxs)(j.Z,{onError:s.Tb,children:["buzzfeed"===I&&n.isShopping&&!(0,d.G)(n)&&!P&&(0,r.jsx)(Rt.Z,{style:{marginTop:D?"1rem":"-2rem"},isNewDesign:!0}),n.isShopping&&"Japan"!==n.classification.edition&&!P&&(0,r.jsx)(ui,{}),!n.isShopping&&(0,r.jsx)(Je,{}),"Japan"===n.classification.edition&&(0,r.jsx)(Te,{placement:2,isMobile:D}),(0,d.G)(n)&&(0,r.jsx)(N.Z,{jumpTo:"news-footer",className:"skipToFooter",label:"Skip to footer"}),(0,r.jsx)("div",{ref:m}),!P&&(0,r.jsx)(ne.cM,{})]}),o&&(0,r.jsx)(Ft,{onOverlayClick:gt})]})}Wi.propTypes={buzz:o().object.isRequired,badges:o().array,subbuzzData:o().shape({assets:o().object,subbuzzes:o().array,gateIndex:o().number})};var Gi=Wi;function Fi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hi(t){for(var e=1;e=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function Vi(t){var e=t.buzz,n=Ji(t,["buzz"]);return function(t,e){var n=(0,u.useContext)(S.Z),i=n.experiments,r=n.getFeatureFlagValue;(0,u.useEffect)((function(){e&&e.eventBus&&i&&i.loaded&&(r("RT-1510-ButtonPostTap-Non-Amazon")||e.eventBus.on("ads:initialized",(function(){(0,dn.v)("https://www.dwin2.com/pub.304459.min.js")})))}),[e,t,i,r])}(e,(0,u.useContext)(c.$)),"wide"===e.format.page_width?(0,r.jsx)(Mn,Hi({buzz:e},n)):(0,r.jsx)(Gi,Hi({buzz:e},n))}Vi.propTypes={buzz:o().object.isRequired};var qi=Vi},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}})},15208:function(t,e,n){"use strict";function i(t){return![t.flags.sensitive,t.shouldHideRecircSection].some((function(t){return t}))}n.d(e,{h:function(){return i}})},60382:function(t){"use strict";t.exports={isEligible:function(t){return![t.isAd,t.isShopping,t.bfpFormats.includes("related_links"),"long"===t.format.page_type,t.tags.includes("coronavirus")||t.tags.includes("Coronavirus"),!t.isEnglish,!t.isModerated,t.shouldHideRecircSection].some((function(t){return t}))}}},42494:function(t,e,n){"use strict";n.d(e,{cM:function(){return L},d$:function(){return j},ru:function(){return T}});var i=n(36491),r=n(52322),u=n(2784),a=n(41332),o=n(54761),c=n(60382);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 M(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t-1?d("sidebar:debug"):g("sidebar:debug")}),[e,d,g]),(0,o.useEffect)((function(){if(k.current!==c){(0,W.A)("info","lifecycle","[SidebarDensity] BuzzId change detected: ".concat(k.current," \u2192 ").concat(c)),w(!1),clearTimeout(U.current),U.current=null,C.current=null;try{g("sidebar:active-item"),g("sidebar:preload-item"),g("sidebar:timer")}catch(t){console.error(t)}x(!0),A(!0),k.current=c}}),[c,g]),(0,o.useEffect)((function(){if(null===M||void 0===M?void 0:M.loaded){var t=k.current!==c,n=e!==C.current,i=null===C.current;(t||n||i)&&(C.current=e,w(!1),d("sidebar:preload-item"),clearTimeout(U.current),d("sidebar:timer"),x(!0),U.current=setTimeout((function(){(0,W.A)("info","lifecycle","Sidebar Refresh: Timer expired (page: ".concat(e,", buzzId: ").concat(c,")")),U.current=null,g("sidebar:timer"),x(!1)}),Y))}}),[e,c,d,g,M,Y]),(0,o.useEffect)((function(){return function(){return clearTimeout(U.current)}}),[]),(0,o.useEffect)((function(){if((0,W.A)("info","lifecycle","Sidebar Refresh: Checking preload conditions - isTimerLocked: ".concat(D,", isCurrentItemLocked: ").concat(O,", preloadNext: ").concat(_)),!D&&!O){(0,W.A)("info","lifecycle","Sidebar Refresh: Both locks released, setting preloadNext to true"),w(!0);var t=setTimeout((function(){g("sidebar:preload-item")}),2e3);return function(){return clearTimeout(t)}}(0,W.A)("info","lifecycle","Sidebar Refresh: Locks still active - timer: ".concat(D,", currentItem: ").concat(O))}),[p,D,O,_,g]),(0,o.useEffect)((function(){z({idx:e%y,props:{mode:"active",sidebarPage:e,acquireLock:function(){d("sidebar:active-item"),A(!0)},releaseLock:function(){g("sidebar:active-item"),A(!1)}}});var t=e+1;I({idx:t%y,props:{mode:"preload",sidebarPage:t,acquireLock:function(){d("sidebar:preload-item")},releaseLock:function(){g("sidebar:preload-item")}}})}),[e,y,d,g]),(0,o.useEffect)((function(){a&&(a.pattern=o.Children.map(n,(function(t){return t.type===Q})))}),[n,a]),T&&p&&o.Children.map(n,(function(t,n){var r=n===T.idx,u=_&&n===p.idx,a=r?T.props:u?p.props:{mode:"inactive"};return(0,i.jsx)(H,function(t){for(var e=1;et.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);n0||x.bottom>0);return p.current&&(B(),E.Z.subscribe(B)),t&&I.current&&(W(),E.Z.subscribe(W)),function(){E.Z.unsubscribe(B),t&&E.Z.unsubscribe(W)}}),[e.id,B,W,f,x]);var G=(0,o.useMemo)((function(){if(-1===f||0===x.top)return L;var t=document.querySelector(".embed-content"),e=t?t.getBoundingClientRect().top+window.pageYOffset:0,n=x.top-e,i=Math.max(n-50,200);return i}),[f,x.top,L]),F=(0,o.useMemo)((function(){if(-1===f||0===x.top)return L;return L}),[f,x,L]),H=(0,o.useMemo)((function(){if(-1===f||0===x.bottom)return 0;var t=document.querySelector(".embed-content"),e=t?t.getBoundingClientRect().top+window.pageYOffset:0;return x.bottom-e+50}),[f,x.bottom]),J=-1!==f&&x.top>0&&x.bottom>0;return h?(0,i.jsxs)(i.Fragment,{children:[u,(0,i.jsx)("section",{className:"".concat(d().sidebar," ").concat(d()[c]," ").concat(e.isAd?d().sidebarBranded:""),"aria-label":"".concat(l("promoted_content")," - Before Generator"),ref:p,style:ut({maxHeight:"".concat(G,"px"),overflow:"visible"},u),children:(0,i.jsxs)("div",{ref:m,className:"".concat(X.container," ").concat(y?X.transitioning:""),style:{top:"".concat(S,"px")},children:[u,(0,i.jsxs)(K,{sidebarPage:2*Math.floor(N/2),onNextPageReady:function(){return g((function(t){return t+1}))},maxHeight:G,isIntersecting:z,buzzId:"".concat(e.id,"-before"),adManager:h,children:[(0,i.jsx)(Q,{adManager:h,pixiedust:ut({},r,{unit_name:"".concat(r.unit_name,"_before_generator"),position_in_unit:0})}),(0,i.jsx)(Q,{adManager:h,pixiedust:ut({},r,{unit_name:"".concat(r.unit_name,"_before_generator"),position_in_unit:1})})]})]})}),(0,i.jsx)("section",{className:"".concat(d().sidebar," ").concat(d()[c]," ").concat(e.isAd?d().sidebarBranded:""),"aria-label":"".concat(l("promoted_content")," - After Generator"),ref:I,style:ut({transform:"translateY(0) translateX(-430px)",marginTop:"".concat(H,"px"),height:"".concat(F,"px"),overflow:"visible"},u),children:(0,i.jsxs)("div",{className:"".concat(X.container," ").concat(y?X.transitioning:""),ref:m,style:{top:"60px"},children:[u,J&&(0,i.jsxs)(K,{sidebarPage:2*Math.floor(N/2)+1,onNextPageReady:function(){return g((function(t){return t+1}))},maxHeight:F,isIntersecting:z,buzzId:"".concat(e.id,"-after"),adManager:h,children:[(0,i.jsx)(Q,{adManager:h,pixiedust:ut({},r,{unit_name:"".concat(r.unit_name,"_after_generator"),position_in_unit:0})}),(0,i.jsx)(Q,{adManager:h,pixiedust:ut({},r,{unit_name:"".concat(r.unit_name,"_after_generator"),position_in_unit:1})})]})]})})]}):null}ot.propTypes={buzz:m().object,containerRef:m().shape({current:m().object}),pixiedust:m().object};var ct=ot;function st(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mt(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return c.i18n.t(t.toLowerCase(),e)},x=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=j.Application.addBehavior.bind(j.Application),this.addModule=j.Application.addModule.bind(j.Application),this.broadcast=j.Application.broadcast.bind(j.Application),this.on=j.Application.on.bind(j.Application),this.off=j.Application.off.bind(j.Application),this.start=j.Application.start.bind(j.Application),this.startAll=j.Application.startAll.bind(j.Application),this.stop=j.Application.stop.bind(j.Application),this.getGlobalConfig=j.Application.getGlobalConfig.bind(j.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"===L.ENV||"stage"===L.ENV,description:t.description,formatDate:f(t),isAd:t.isAd,language:t.language,mango_url:L.mango_url,picture:t.picture,shareBehavior:"share-behavior",tags:t.tags,laser_tags:t.laser_tags,title:t.title,tracking:this.tracking,translate:D};j.Application.init(e),j.Application.addBehavior("share-behavior",y.bind(null,t))}},{key:"destroy",value:function(){j.Application.destroy()}},{key:"_setTrackingFns",value:function(t){this.tracking=t}}])&&I(e.prototype,n),i&&I(e,i),t}();function b(){var t=(0,r.useState)(null),e=t[0],n=t[1],i=(0,r.useContext)(m.Z).buzz,u=void 0===i?{}:i,a=(0,r.useContext)(T.Z).base_url,o=(0,z.Z)(u),c=(0,p.Z)();return(0,r.useEffect)((function(){window.BZFD.App=window.BZFD.App||new x(a,c),window.BZFD.App._setTrackingFns(o),n(window.BZFD.App)}),[u.id,o]),e}var O=n(42235);function A(t,e,n,i,r,u,a){try{var o=t[u](a),c=o.value}catch(s){return void n(s)}o.done?e(c):Promise.resolve(c).then(i,r)}function h(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var u=t.apply(e,n);function a(t){A(u,i,r,a,o,"next",t)}function o(t){A(u,i,r,a,o,"throw",t)}a(void 0)}))}}var _=n(67176),w=n(73035),S=n(32966);function E(t){var e=t.buzz,n=void 0===e?{}:e,i=t.index,u=(0,r.useRef)(null),a=(0,r.useContext)(S.Z),o=a.experiments,c=a.getFeatureFlagValue;return(0,r.useEffect)((function(){var t=u.current,e=c("ads_amazon_nca");t&&o.loaded&&e&&t.querySelectorAll("a[href]").forEach((function(t){(0,_.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,w.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})))}))}),[o]),u}var v=n(91872);var C=n(16981),k=n(88163),Q=n(4366);var U=n(62430),Y=n(48882),P=n(91904);function Z(t,e,n,i,r,u,a){try{var o=t[u](a),c=o.value}catch(s){return void n(s)}o.done?e(c):Promise.resolve(c).then(i,r)}var B=function(){var t,e=(t=M().mark((function t(e){var n,i,r,u,a,o;return M().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(n=e.element).hasAttribute("data-affiliate")&&n.hasAttribute("data-vars-product-id")&&(i=(0,_.nC)(n),r=i["product-id"],u=JSON.parse(localStorage.getItem("clickedProducts")||"[]"),a={id:i["product-id"],timestamp:Date.now()},o=u.some((function(t){return t.id===r})),r&&!o&&u.push(a),window.localStorage.setItem("clickedProducts",JSON.stringify(u)));case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var u=t.apply(e,n);function a(t){Z(u,i,r,a,o,"next",t)}function o(t){Z(u,i,r,a,o,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();var R=n(3695);function W(t){var e=t.buzz,n=t.subbuzzEl;return(0,r.useEffect)((function(){n.current&&(0,R.G)(e)&&e.tags.includes("comtent")&&n.current.querySelectorAll("a[href]").forEach((function(t){var e;"italic"!==getComputedStyle(t).fontStyle&&"I"!==(null===t||void 0===t||null===(e=t.firstElementChild)||void 0===e?void 0:e.tagName)||t.classList.add("js-news-product")}))}),[n]),(0,i.jsx)("div",{})}var G=n(66330),F=n(92929),H=n.n(F),J=function(t){var e,n,u,a=t.buzz,o=(0,r.useContext)(S.Z),c=o.experiments,s=o.getFeatureFlagValue,M=(0,r.useState)(!1),l=M[0],j=M[1],N=(0,r.useState)(!1),d=N[0],g=N[1];(0,r.useEffect)((function(){c&&c.loaded&&j(s("ads_shopsense"))}),[c,s]);var y=(null===a||void 0===a||null===(e=a.laser_tags)||void 0===e||null===(n=e.bf_content_description)||void 0===n||null===(u=n.workflow)||void 0===u?void 0:u.some((function(t){return"shopsense_disabled"===t.tag_name})))||!1;return(0,r.useEffect)((function(){if(!d&&l&&!y){var t=document.createElement("script");t.src="https://embeds.".concat("prod"===L.CLUSTER?"prod":"dev",".shopsense.ai/v2/shopsense-embed-injector.min.js"),t.async=!0,t.onload=function(){window.ShopsenseEmbeds.EmbedInjector.loadContextualEmbed({container_id:"shopsense-embed",publisher:"buzzfeed",meta:{}})},document.body.appendChild(t),g(!0)}}),[d,l,y]),l&&!y&&(0,i.jsx)("div",{id:"shopsense-embed",className:H().shopsenseWidget})},V=n(9772),q=n(35167),K=n(90141),X=n(48570),$=n(51171),tt=n(6294),et=n(83661),nt=n(93002),it=n(81550),rt=n(51340),ut=n(14125);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 ot=(0,it.Z)((function(t){var e,n=t.config.adPos,u=(0,r.useContext)(m.Z).buzz,a=void 0===u?{}:u,o=(0,r.useContext)(V.$),c=null===o||void 0===o||null===(e=o.env)||void 0===e?void 0:e.userCountry;return(0,ut.yR)(a)&&"promo-inline2"===n&&"jp"===c?(0,i.jsx)(rt.Z,{buzz:a}):(0,i.jsx)(et.Z,function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t||Y)&&g.current&&k.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){g.current.onBFPReady(t.messageData)}))}),[k,g,s.id,Y]),(0,r.useEffect)((function(){if(!x.loaded)return function(){};if("loaded"!==l.status)return function(){};var t,e,n=2;return s.is_quiz&&!s.isBFPQuiz&&((N||w)&&(n=1),(t=(0,X.Z)({AdUnit:et.Z,buzz:s,disablePromo1Native:h,element:d.current,onAdsReady:function(t){return z(T.concat(t))},pixiedust:I,presetDensity:n,skipNUnits:!1})).init()),(e=(0,K.Z)({AdUnit:ot,buzz:s,element:d.current,onAdsReady:function(t){z(T.concat(t))},pixiedust:I,abeagle:{experiments:x,getExperimentValue:A},skipNUnits:!1,presetDensity:"control"!==v?"density_"+v:N||_||"variant1"===E?"density_200":"variant2"===E&&"density_275",presetPlacements:"control"!==v?"placements_"+v:N||_||"variant1"===E?"placements_1":"variant2"===E&&"placements_2",looseTitles:"increase"===v})).init(),function(){e&&e.destroy(),t&&t.destroy()}}),[s.id,l,x.loaded]),(0,r.useEffect)((function(){if(!x.loaded)return function(){};if("loaded"!==l.status)return function(){};var t=2;return s.bfpFormats.length>0&&((N||w||"increase"===v)&&(t=1),g.current=(0,$.Z)({AdUnit:et.Z,disablePromo1Native:h,element:d.current,onAdsReady:function(t){return z(T.concat(t))},pixiedust:I,presetDensity:t,skipNUnits:!1}),g.current.init()),function(){g.current&&g.current.destroy()}}),[s.id,l,x.loaded]),(0,r.useEffect)((function(){if((0,R.G)(s)&&(null===d||void 0===d?void 0:d.current)&&!window.pgmApi&&T.length&&"disabled"!==l.status){var t=document.createElement("div");t.setAttribute("id","publicGood"),t.classList.add("loading","clearfix","ad-ex");var e={partnerId:"buzzfeed-buzzfeed-news"};"dev"!==L.CLUSTER&&"stage"!==L.CLUSTER||(e.attributes={targetId:"2d3d74ba-3807-4e28-875a-dfc5d67706f8",targetType:"campaign"}),(0,O.v)("https://assets.publicgood.com/pgm/v1/pgm-api.js",document.body).then(function(){var n,i=(n=M().mark((function n(i){var r;return M().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i.onload();case 2:r=Math.floor(T.length/2),d.current.querySelectorAll(".js-ad-placement")[r].insertAdjacentElement("afterend",t),window.pgmApi.create(t,lt({},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,r){var u=n.apply(t,e);function a(t){st(u,i,r,a,o,"next",t)}function o(t){st(u,i,r,a,o,"throw",t)}a(void 0)}))});return function(t){return i.apply(this,arguments)}}())}}),[s,l,T,d,O.v]),(0,i.jsxs)("div",{ref:d,children:["jp"!==j&&(0,i.jsx)(rt.Z,{buzz:s}),(0,i.jsx)(t,lt({},e)),!f&&T.map((function(t,e){return(0,i.jsx)(t,{},e)}))]})}},gt=n(90783);function yt(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=b(),n=(0,r.useState)(!1),i=n[0],u=n[1],a=(0,r.useRef)(t).current;return(0,r.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(){r.apply(this,arguments)}()}function r(){return r=h(M().mark((function e(){return M().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=h(M().mark((function t(e){return M().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,O.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,l.Tb)(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])}))),r.apply(this,arguments)}}),[a,i]),e&&i?e:null}(u.assets);!function(){var t=(0,r.useContext)(m.Z).buzz,e=void 0===t?{}:t;(0,r.useEffect)((function(){window.clientEventTracking={getPageContextLayer:function(){return(0,Q.z4)(e)},env:L.CLUSTER}}),[e])}();var j=(0,c.useTranslation)("common").t,N=u.subbuzzes?Lt(u.subbuzzes):[],d=["list","long"].reduce((function(t,n){return e.format.page_type.includes(n)&&(t+="buzz--".concat(n)),t}),"");if("breaking"===e.format.page_type&&N.length){var g=N.find((function(t){return t.includes("buzz__update")}));if(g){var y=N.indexOf(g);N.splice(y,0,'

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

"))}}return(0,r.useEffect)((function(){return s&&s.init&&s.init(e),function(){s&&s.stopAll&&s.stopAll()}}),[e,s]),(0,i.jsx)("div",{className:"\n ".concat(d,"\n buzz--").concat(e.category,"\n subbuzzes-wrapper\n subbuzzes--").concat(a,"\n "),ref:o,children:N.map((function(t,n){var a,o;return(0,i.jsxs)(r.Fragment,{children:[0===n&&"connatix_video"!==(null===(a=null===e||void 0===e?void 0:e.sub_buzzes[0])||void 0===a?void 0:a.format_name)&&(0,i.jsx)(G.W,{buzz:e,itemType:"text",positionInUnit:n}),1===n&&"connatix_video"===(null===(o=null===e||void 0===e?void 0:e.sub_buzzes[0])||void 0===o?void 0:o.format_name)&&(0,i.jsx)(G.W,{buzz:e,itemType:"text",positionInUnit:n}),(0,i.jsx)(Tt,{html:t,buzz:e,index:n,isContentGate:n===(null===u||void 0===u?void 0:u.gateIndex)},n),3===n&&(0,i.jsx)(J,{buzz:e}),(3===n||n===(null===N||void 0===N?void 0:N.length)-1&&(null===N||void 0===N?void 0:N.length)<4)&&(0,i.jsx)(G.W,{buzz:e,itemType:"card",positionInUnit:n,unitType:(null===N||void 0===N?void 0:N.length)>=4?"buzz_body":"buzz_bottom"})]},n)}))})};zt.propTypes={subbuzzData:a().shape({assets:a().object,subbuzzes:a().array,gateIndex:a().number})};var mt=dt(zt)},66330:function(t,e,n){"use strict";n.d(e,{W:function(){return d},Z:function(){return g}});var i=n(52322),r=(n(2784),n(13980)),u=n.n(r),a=n(30353),o=n(33528),c=n.n(o),s=function(t){var e=t.className,n=t.fill,r=void 0===n?"none":n,u=t.title,a=void 0===u?"":u,o=t.stroke,c=void 0===o?"":o;return(0,i.jsxs)("svg",{className:e,fill:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",children:[(0,i.jsx)("title",{children:a}),(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:c||"#5246f5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})};function M(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,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},u=Object.keys(t);for(i=0;i=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}var j=function(t){var e=t.className,n=t.title,r=void 0===n?"BuzzFeed Trending":n,u=l(t,["className","title"]);return(0,i.jsxs)("svg",function(t){for(var e=1;e90&&Z?c().longVisualPromoTitle:""),style:{"--promoThemeColor1":B.color1,"--promoThemeColor2":B.color2,"--promoThemeTextColor":B.textColor},children:[Z&&(0,i.jsx)("img",{alt:"",className:c().visualPromoImage,src:Z,"aria-hidden":!0}),(0,i.jsxs)("div",{className:c().visualPromoContent,children:[(0,i.jsxs)("div",{className:c().visualPromoCopy,children:[(0,i.jsxs)("div",{className:c().visualPromoPill,children:[(0,i.jsx)(j,{className:c().visualPromoIcon,"aria-hidden":!0}),"Hot Topic"]}),(0,i.jsx)("div",{className:c().visualPromoTitle,children:Y})]}),(0,i.jsxs)("div",{className:c().visualPromoCta,children:[P,(0,i.jsx)(s,{className:c().carret,stroke:B.textColor})]})]})]})};d.propTypes={buzz:u().object.isRequired,itemType:u().oneOf(["text","card"]),positionInUnit:u().number,subunitName:u().string,subunitType:u().string};var g=d},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}})},50946:function(t,e,n){"use strict";n.d(e,{wo:function(){return i},gK:function(){return r},u:function(){return u}});var i=["japan"],r=["--disable-skimlinks-lib","noskimlinks"],u=["advertiser","aunews","business","canadanews","community","francenews","japannews","lgbt","politics","quickpost","science","tech","uknews","ukpolitics","usnews","world"]},32617:function(t){"use strict";t.exports={ADVERTISING:"Advertising",EDITORIAL:"Editorial",MODERATED_COMMUNITY:"Moderated Community",UNMODERATED_COMMUNITY:"Unmoderated Community"}},32966:function(t,e,n){"use strict";var i=n(27625);e.Z=i.Z},41332:function(t,e,n){"use strict";n.d(e,{E:function(){return a}});var i=n(52322),r=n(2784),u=r.createContext({});e.Z=u;var a=function(t){var e=t.value,n=t.children,a=(0,r.useState)(e),o=a[0],c=a[1];return(0,i.jsx)(u.Provider,{value:{buzz:o,setValue:c},children:n})}},49101:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});var i=n(2784).createContext({}),r=i.Provider;e.Z=i},13607:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(2784).createContext({}),r=i.Provider;e.Z=i},99112:function(t,e,n){"use strict";var i=n(2784).createContext({});i.Provider;e.Z=i},36001:function(t,e,n){"use strict";var i=n(98638);e.Z=i.Z},33402:function(t,e,n){"use strict";n.d(e,{j2:function(){return j},iZ:function(){return d},Ey:function(){return y},rb:function(){return T},Sy:function(){return m},Lk:function(){return I},_l:function(){return D}});var i=n(94776),r=n.n(i),u=n(30353),a=n(20237),o=n(3379);function c(t,e,n,i,r,u,a){try{var o=t[u](a),c=o.value}catch(s){return void n(s)}o.done?e(c):Promise.resolve(c).then(i,r)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var u=t.apply(e,n);function a(t){c(u,i,r,a,o,"next",t)}function o(t){c(u,i,r,a,o,"throw",t)}a(void 0)}))}}var M={},l=function(t,e){if(null===e||void 0===e?void 0:e.hasVideoSubbuzz)return console.info("Disabled the Facebook Pixel on posts that include a video"),{trackEvent:function(){}};if(!(null===e||void 0===e?void 0:e.isShopping))return console.info("Disabled the Facebook Pixel on non-shopping posts"),{trackEvent:function(){}};if(!M[t]){var n=u.destinations[t].facebook_tracking_id;M[t]=new a.mS({trackingId:n,cluster:u.CLUSTER})}return M[t]};function j(t,e,n){return N.apply(this,arguments)}function N(){return(N=s(r().mark((function t(e,n,i){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l(e,n);case 2:t.sent.trackEvent({eventType:"PageView",eventData:i});case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function d(t,e,n){return g.apply(this,arguments)}function g(){return(g=s(r().mark((function t(e,n,i){var u,a;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l(e,n);case 2:u=t.sent,(a=o.Z.get("hem"))&&(i.em=atob(a.replace(/"/g,""))),u.trackEvent({eventType:"AddToCart",eventData:i}),u.trackEvent({eventType:"Purchase",eventData:i});case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function y(t,e,n){return L.apply(this,arguments)}function L(){return(L=s(r().mark((function t(e,n,i){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l(e,n);case 2:t.sent.trackEvent({eventType:"newsletterSignup",eventData:i,options:{custom:!0}});case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function T(t,e,n){return z.apply(this,arguments)}function z(){return(z=s(r().mark((function t(e,n,i){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l(e,n);case 2:t.sent.trackEvent({eventType:"Share",eventData:i,options:{custom:!0}});case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function m(t,e,n){return p.apply(this,arguments)}function p(){return(p=s(r().mark((function t(e,n,i){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l(e,n);case 2:t.sent.trackEvent({eventType:"Lead",eventData:i});case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function I(t,e,n){return f.apply(this,arguments)}function f(){return(f=s(r().mark((function t(e,n,i){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l(e,n);case 2:t.sent.trackEvent({eventType:"CompletedQuiz",eventData:i,options:{custom:!0}});case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function D(t,e,n){return x.apply(this,arguments)}function x(){return(x=s(r().mark((function t(e,n,i){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l(e,n);case 2:t.sent.trackEvent({eventType:"QuizAnswer",eventData:i,options:{custom:!0}});case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},5291:function(t,e,n){"use strict";n.d(e,{p:function(){return j},w:function(){return d}});var i,r=n(94776),u=n.n(r),a=n(20237),o=n(30353),c=n(18215);function s(t,e,n,i,r,u,a){try{var o=t[u](a),c=o.value}catch(s){return void n(s)}o.done?e(c):Promise.resolve(c).then(i,r)}function M(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var u=t.apply(e,n);function a(t){s(u,i,r,a,o,"next",t)}function o(t){s(u,i,r,a,o,"throw",t)}a(void 0)}))}}var l=function(){return i||(i=new a.FC({cluster:o.CLUSTER,ids:o.outbrain_ids})),i};function j(){return N.apply(this,arguments)}function N(){return(N=M(u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:"JP"===c.Z.get("bf-geo-country")&&l().trackPageView();case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function d(){return g.apply(this,arguments)}function g(){return(g=M(u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:"JP"===c.Z.get("bf-geo-country")&&l().trackAffiliateClick();case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},95829:function(t,e,n){"use strict";n.d(e,{k:function(){return y},m:function(){return T}});var i=n(94776),r=n.n(i),u=n(5229),a=n(20237),o=n(30353);function c(t,e,n,i,r,u,a){try{var o=t[u](a),c=o.value}catch(s){return void n(s)}o.done?e(c):Promise.resolve(c).then(i,r)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var u=t.apply(e,n);function a(t){c(u,i,r,a,o,"next",t)}function o(t){c(u,i,r,a,o,"throw",t)}a(void 0)}))}}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var l={},j=function(t){if(!t||!t.destination_name||!t.classification)throw new Error("Could not initialize Permutive because no buzz data was passed to establish the edition for a new instance.");var e=function(t){var e=t.classification,n=t.destination_name,i=e.edition,r=o.destinations[n].permutive_creds,u=r[i]||r.default,a=u.api_key;return{projectId:u.project_id,apiKey:a}}(t),n=t.destination_name,i=t.classification.edition;return l["".concat(n,"_").concat(i)]||(l["".concat(n,"_").concat(i)]=new a.TZ(function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:"",n="bf-affiliate",i=e.toLowerCase(),r=a.Z.get(n),u=new Set;r&&(u=new Set(r.split(",")));var o=(null===(t=Object.entries(x).find((function(t){var e=D(t,2);e[0];return e[1].some((function(t){return-1!==i.indexOf(t)}))})))||void 0===t?void 0:t[0])||"other";u.add(o);var c=a.Z.getBuzzfeedSubdomainOrWildcard(window.location.hostname);a.Z.set({name:n,value:Array.from(u).join(","),days:365,domain:c})},O=function(){var t,e=(t=r().mark((function t(e){var n,i,u,a,M,l,j;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.subbuzzElement,i=e.element,u=e.buzz,a=e.isPermutiveEnabled,i.hasAttribute("data-affiliate")&&(M=(0,T.nC)(i),l=n?n.querySelector("div.subbuzz-anchor"):null,j=l&&l.id?l.id:null,b(null===M||void 0===M?void 0:M.affiliate),(0,o.iZ)(u.destination_name,u,{section:u.classification.section,currency:M["price.currency"],contents:M.href,value:M["price.value"],linkId:M["link-id"],"subbuzz-id":j}),a&&(0,s.m)({affiliate:M.affiliate,campaign:M.campaign,href:M.href,name:M.name,price:{value:Number(parseFloat(M["price.value"]||0).toFixed(2)),currency:M["price.currency"]||""},redirectUrl:M.redirecturl,keywords:"string"===typeof M.keywords?M.keywords.split(","):[],retailers:"string"===typeof M.retailers?M.retailers.split(","):[],affiliateLinkId:M["link-id"]},u),(0,c.w)(),y());case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var u=t.apply(e,n);function a(t){f(u,i,r,a,o,"next",t)}function o(t){f(u,i,r,a,o,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function A(t){var e=t.buzz,n=void 0===e?{}:e,i=(0,u.useRef)(null),r=(0,u.useContext)(p.Z).tracking,a=r.consentValue,o=r.isConsentReady,c=(0,u.useContext)(m.Z),s=c.getFeatureFlagValue,M=c.experiments,l=c.getExperimentValue,j=s("ADSGROUP-442-permutive"),N=(0,u.useState)(null),d=N[0],g=N[1];(0,u.useEffect)((function(){M&&M.loaded&&g(l("ads_permutive_non_shopping",{rejectErrors:!1}))}),[M,l]);var y=j&&(n.isShopping||(null===M||void 0===M?void 0:M.loaded)&&"control"===d);return(0,u.useEffect)((function(){var t=i.current;!t||!o||o&&!a||null===j||null===d&&!n.isShopping||t.querySelectorAll("a[href]").forEach((function(e){(0,z.Uz)(e)&&e.addEventListener("click",(function(e){O({subbuzzElement:t,element:e.target.closest("a"),buzz:n,isPermutiveEnabled:y})}))}))}),[n,o,a,j,d]),i}},73385:function(t,e,n){"use strict";n.d(e,{s:function(){return c}});var i=n(2784),r=n(90093),u=n(4366);function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return(0,i.useMemo)((function(){return{trackClick:function(){t&&t.id&&(0,r.bC)(t,o({item_name:"comment-cta",item_type:"button",action_value:"comment-cta",action_type:"navigate",unit_name:t.id,unit_type:"buzz_head"},e))},trackImpression:function(n){(0,u.G)(t)&&(0,r.aF)(n,t,o({unit_type:"buzz_head",unit_name:t.id,item_name:"comment-cta",item_type:"button",target_content_type:"buzz",target_content_id:t.id},e))}}}),[t])}},30332:function(t,e,n){"use strict";n.d(e,{Z:function(){return M}});var i=n(2784),r=n(15404),u=n(4366);var a=n(33402);function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){for(var e=1;e=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function s(t,e){var n=(0,i.useContext)(a.Z).tracking,s=n.consentValue,M=n.isConsentReady,l={subbuzz:{item_name:e,item_type:"subbuzz",subunit_name:"",subunit_type:"",unit_type:"buzz_body"},bottom_share_bar:{subunit_name:"share_buttons",subunit_type:"component",unit_type:"buzz_bottom"},top_share_bar:{subunit_name:"",subunit_type:"",unit_type:"buzz_head"},quiz_results:{subunit_name:"",subunit_type:"",unit_type:"buzz_body"}};return(0,i.useCallback)((function(e){var n=e.platform,i=e.position,a=c(e,["platform","position"]);return function(){if(t&&t.id){var e=l[i.replace(/-/g,"_")]||{};(0,u.bC)(t,function(t){for(var e=1;e1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=(0,i.useRef)(null),M=(0,i.useContext)(r.Z),l=M.buzz,j=void 0===l?{}:l,N=(0,i.useContext)(u.Z).destination;return(0,i.useEffect)((function(){var i=function(n){if(e){var i=n.target.closest("a");if(i){var r=(0,o.nC)(i);t.eventLabel=r.href?(0,c.Q)(r.href):void 0}}},r=s.current;if(!r)return function(){};var u=(0,a.aF)(r,j,t),M=n?(0,a.W3)(r,j,t):(0,a.Ev)(r,j,t);return r.addEventListener("click",i),function(){u(),M(),r.removeEventListener("click",i)}}),[j,N,t,e,n]),s}},17730:function(t,e,n){"use strict";n.d(e,{Q:function(){return r},P:function(){return u}});var i=n(20238);function r(t){return t.replace("http://","").replace("https://","").replace("www.","")}function u(){var t,e=(0,i.jH)(null===window||void 0===window||null===(t=window.location)||void 0===t?void 0:t.search);return(null===e||void 0===e?void 0:e.origin)||""}},5875:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(2784),r=n(74967),u=n(32966),a=n(41332);function o(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]:1;return function(n){return n.name===t?g({},n,{count:n.count+e}):n}}(t))}))}),[]);return(0,u.useEffect)((function(){if(i&&t){var n="edition=".concat(i.country_code);S(e?"".concat(j,"/content-reactions-api/v2/emoji/buzz/").concat(i.id,"?").concat(n):"".concat(j,"/content-reactions-api/v1/buzz/").concat(i.id,"?").concat(n))}}),[j,i,t,S]),(0,u.useEffect)((function(){_?b(_):w&&w.reactions&&m((function(){var t=w.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 E(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)}})}))}))}),[_,w,E]),(0,u.useEffect)((function(){function t(){return(t=N(r().mark((function t(n){var u,a,o,c;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,u=["reaction=".concat(n),"client_uuid=".concat(O),"edition=".concat(i.country_code)].join("&"),a=e?"".concat(j,"/content-reactions-api/v2/emoji/buzz/").concat(i.id,"?").concat(u,"&page_type=buzz&page_id=").concat(i.id):"".concat(j,"/content-reactions-api/v1/buzz/").concat(i.id,"?").concat(u),t.next=5,fetch(a,{method:"POST"});case 5:return o=t.sent,t.next=8,o.json();case 8:if((c=t.sent)&&c.success){t.next=12;break}return b("request failed"),t.abrupt("return");case 12:(0,M.bC)(i,{action_type:"react",action_value:n,item_name:n,item_type:"button",subunit_name:"reactions",subunit_type:"component",unit_name:i.id,unit_type:"buzz_bottom"}),t.next=18;break;case 15:t.prev=15,t.t0=t.catch(0),b(t.t0);case 18:case"end":return t.stop()}}),t,null,[[0,15]])})))).apply(this,arguments)}I&&function(e){t.apply(this,arguments)}(I)}),[j,i,d,I,O]),{reactions:z,lastReacted:I,serverError:x}}},27354:function(t,e,n){"use strict";n.d(e,{l:function(){return l}});var i=n(94776),r=n.n(i),u=n(2784);function a(t,e,n,i,r,u,a){try{var o=t[u](a),c=o.value}catch(s){return void n(s)}o.done?e(c):Promise.resolve(c).then(i,r)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var u=t.apply(e,n);function o(t){a(u,i,r,o,c,"next",t)}function c(t){a(u,i,r,o,c,"throw",t)}o(void 0)}))}}function c(){return s.apply(this,arguments)}function s(){return(s=o(r().mark((function t(){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.e(507).then(n.bind(n,43462));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function M(t,e,n,i,r,u,a){try{var o=t[u](a),c=o.value}catch(s){return void n(s)}o.done?e(c):Promise.resolve(c).then(i,r)}function l(t){(0,u.useEffect)((function(){if(t){var e=function(){var e,n=(e=r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c();case 2:e.sent.buzzes.add(t);case 4:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(i,r){var u=e.apply(t,n);function a(t){M(u,i,r,a,o,"next",t)}function o(t){M(u,i,r,a,o,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();e()}}),[t])}},62430:function(t,e,n){"use strict";n.d(e,{P:function(){return s}});var i=n(2784),r=n(67176),u=n(42235),a=n(73035),o=n(50946),c=n(32966);function s(t){var e=t.buzz,n=void 0===e?{}:e,s=(0,i.useRef)(null),M=(0,i.useContext)(c.Z).experiments;return(0,i.useEffect)((function(){var t=s.current,e=-1!==o.wo.indexOf(n.classification.edition.toLowerCase()),i=-1!==o.u.indexOf(n.classification.section.toLowerCase()),c=o.gK.some((function(t){return n.tags.includes(t)})),l="uk"===n.classification.edition.toLowerCase()&&"shopping"!==n.classification.section.toLowerCase();if(!(!t||e||i||c||n.isAd||0!==n.flags.sensitive||0!==n.flags.nsfw||l)){var j=(0,a.wp)(M);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,"\\$&"),u=i+"/?\\?id=(.*)&sref=(.*)&url=(http.*)&xs=(.*)",o=new RegExp(i+"/?\\?id=(.*)&site=(.*)&xs=(.*)&url=(http.*)"),c=new RegExp(u),s=(0,r.nC)(e)["link-id"];if(o.test(e.href)||c.test(e.href)){var M=decodeURIComponent((0,r.Wy)(e).xcust||"").split("|")||"";M[1]=(0,a.b5)(),M[2]=(0,a.o6)(),M[3]=n,M[4]=s,(0,r.tF)(e,{xcust:encodeURIComponent(M.join("|"))})}}}({element:t.target.closest("a"),experimentSubtags:j})}),{once:!0}))})),document.querySelector('script[src*="skimresources"]')||(0,u.v)("https://s.skimresources.com/js/74679X1524629.skimlinks.js")}}),[n.id,M.loaded]),s}},8698:function(t,e,n){"use strict";n.d(e,{I:function(){return s}});var i=n(94776),r=n.n(i),u=n(30353),a=n(2784),o=n(9845);function c(t,e,n,i,r,u,a){try{var o=t[u](a),c=o.value}catch(s){return void n(s)}o.done?e(c):Promise.resolve(c).then(i,r)}function s(){var t=(0,a.useState)(null),e=t[0],n=t[1];return(0,a.useEffect)((function(){var t;(t=r().mark((function t(){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=n,t.next=3,(0,o.n5)({env:u.CLUSTER,legacy:!1});case 3:t.t1=t.sent,(0,t.t0)(t.t1);case 5:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var u=t.apply(e,n);function a(t){c(u,i,r,a,o,"next",t)}function o(t){c(u,i,r,a,o,"throw",t)}a(void 0)}))})()}),[]),e}},15382:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(29572),r=n(20238),u=n(30353);function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},u=Object.keys(t);for(i=0;i=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}var c={edition:"en-us",page_size:30,buzz_id:"",page:1,lang:"en",country:"us"};function s(t,e){var n=e.pageSize,s=e.buzzId,M=e.language,l=o(e,["pageSize","buzzId","language"]);if(!t)throw new Error("endpoint is required");var j=i.Nl.getIds(),N=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,":*")}},36491:function(t,e,n){"use strict";var i=n(52322),r=n(25237);e.Z=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.ssr,u=void 0===n||n,a=e.suspense,o=void 0!==a&&a,c=e.loading,s=void 0===c?function(){return null}:c;return window.location.search.match(/(\?|&)layer=content/)?function(){return(0,i.jsx)("div",{})}:(0,r.default)(t,{loading:s,ssr:u,suspense:o})}},32527:function(t,e,n){"use strict";n.d(e,{I:function(){return s}});var i=n(94776),r=n.n(i),u=n(26528),a=n.n(u),o=n(34406);function c(t,e,n,i,r,u,a){try{var o=t[u](a),c=o.value}catch(s){return void n(s)}o.done?e(c):Promise.resolve(c).then(i,r)}var s=function(){var t,e=(t=r().mark((function t(e,n){var i,u,c,s,M;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.req,u=i?"http://localhost:".concat(o.env.PORT):"",c=i?{headers:i.headers}:{},t.prev=3,t.next=6,a()("".concat(u).concat(e),c);case 6:if((s=t.sent).ok){t.next=13;break}return t.next=10,s.text();case 10:M=t.sent;try{M=JSON.parse(M).message}catch(r){}return t.abrupt("return",{error:{error:M,statusCode:s.status}});case 13:return t.abrupt("return",s.json());case 16:return t.prev=16,t.t0=t.catch(3),t.abrupt("return",{error:{error:t.t0.message||"Error fetching API data",statusCode:500}});case 19:case"end":return t.stop()}}),t,null,[[3,16]])})),function(){var e=this,n=arguments;return new Promise((function(i,r){var u=t.apply(e,n);function a(t){c(u,i,r,a,o,"next",t)}function o(t){c(u,i,r,a,o,"throw",t)}a(void 0)}))});return function(t,n){return e.apply(this,arguments)}}()},27374:function(t,e,n){"use strict";n.d(e,{_:function(){return i}});var i=function(t){var e;return"Discussion"===(null===t||void 0===t||null===(e=t.classification)||void 0===e?void 0:e.section)}},90783:function(t,e,n){"use strict";n.d(e,{K:function(){return i}});var i=function(t){var e;return"Make Yours"===(null===t||void 0===t||null===(e=t.classification)||void 0===e?void 0:e.section)}},19844:function(t,e,n){"use strict";n.d(e,{f:function(){return i}});var i=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)}))}},29572:function(t,e,n){"use strict";n.d(e,{Nl:function(){return c},mH:function(){return s}});var i=n(93002),r=n(2784);function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=e.max_size,r=void 0===n?20:n,a=e.storage_key,o=void 0===a?"buzz_history":a;u(this,t),this.storage=!(0,i.s)()&&localStorage||{},this.max_size=r,this.storage_key=o,this.ids=this.read()}var e,n,r;return e=t,(n=[{key:"getIds",value:function(){return this.ids}},{key:"add",value:function(t){if(t){var e=this.ids.filter((function(e){return e!==t}));e.push(t),this.ids=e.slice(-this.max_size),this.write()}}},{key:"read",value:function(){var t=this.storage[this.storage_key];if(!t)return[];var e=[];try{e=JSON.parse(t)}catch(n){}return e}},{key:"write",value:function(){this.storage[this.storage_key]=JSON.stringify(this.ids)}}])&&a(e.prototype,n),r&&a(e,r),t}(),c=new o;function s(t){(0,r.useEffect)((function(){c.add(t)}),[t])}},61784:function(t,e,n){"use strict";n.d(e,{j:function(){return u},h:function(){return a}});var i=function(t,e,n,i){return{category:t,title:e,description:n,newsletterId:i}},r={BuzzFeedDaily:i("daily","BuzzFeed Daily","Keep up with the latest daily buzz with the BuzzFeed Daily newsletter!","buzzfeed_email_daily"),DIY:i("DIY","Want awesome DIY tips in your inbox three times a week? Sign up for the BuzzFeed DIY newsletter!","","buzzfeed_email_nifty"),Style:i("Style","Want amazing beauty and style tips twice a week? Sign up for the As/Is newsletter!","","buzzfeed_email_asis"),Tasty:i("tasty",'Tasty',"Get all the best Tasty recipes in your inbox! Sign up for the Tasty newsletter today!","buzzfeed_email_tasty"),TvAndMovies:i("tvandmovies","TV and Movies","Get all the best moments in pop culture & entertainment delivered to your inbox.","buzzfeed_email_tvandmovies")};function u(t){var e=t.edition,n=t.section,i=t.isNews;return"US"===e&&i?r.BuzzFeedDaily:function(t){return{Animals:r.BuzzFeedDaily,BuzzFeed:r.BuzzFeedDaily,Celebrity:r.BuzzFeedDaily,DIY:r.DIY,Food:r.Tasty,Nifty:r.DIY,Parents:r.BuzzFeedDaily,"As/Is":r.Style,Tasty:r.Tasty,Travel:r.BuzzFeedDaily,TVAndMovies:r.TvAndMovies}[t]}(n)}var a=function(t){return![t.tags.includes("--no-newsletter-signup"),t.bfpFormats.includes("newsletter_signup"),t.flags.nsfw,t.isAd,t.isShopping,t.isQuiz&&t.isUS,"Japan"===t.classification.edition].some((function(t){return t}))}},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}})},57673:function(t,e,n){"use strict";n.d(e,{l:function(){return i}});var i=function(){return window.scrollY||window.pageYOffset}},46811:function(t,e,n){"use strict";n.d(e,{Bd:function(){return z},Hd:function(){return p},BN:function(){return m},Om:function(){return I}});var i=n(52322),r=n(2784),u=n(28316),a=n(99036),o=n.n(a),c=n(5103),s=n(13681),M=n(20238),l=n(30353),j=n(6294),N=function(){return(0,j.tq)()},d=n(31781);var g=function(t){var e=t.containerEl,n=t.contentEl,u=t.position,a=void 0===u?"top":u,o=t.text,c=t.themes,s=(0,r.useState)(!0),M=s[0],l=s[1],j=r.createRef();return j.current=e,(0,r.useEffect)((function(){setTimeout((function(){l(!1),setTimeout((function(){n&&n.removeChild(e)}),1e3)}),3e3)}),[e,n]),(0,i.jsx)(d.Z,{container:j,position:a,shouldShow:M,themes:c,text:o})},y=n(94470),L=n.n(y),T=n(63778);function z(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=["twitter","facebook","copy"];return["pagelevel","pagelevelSticky"].includes(t)?"buzzfeed_news"===e.destination_name?r:n&&"bottom_share_bar"!==i?"Japan"===e.classification.edition?["facebook","twitter"]:["facebook","pinterest","copy"]:"Russia"===e.category?["facebook","vk","twitter","email","pinterest","copy"]:["copy","facebook","pinterest","twitter","email"]:"pagelevelList"===t?"Japan"===e.classification.edition?["lineapp","sms","email","pinterest","snapchat","copy"]:["twitter","snapchat","whatsapp","sms","email","copy"]:"pageLevelOutlineThick"===t?"buzzfeed_news"===e.destination_name?r:"Japan"===e.classification.edition?["twitter","bluesky","facebook","pinterest","copy"]:["bluesky","facebook","pinterest","copy"]:[]}function m(t,e,n){var r={utm_source:"dynamic",utm_campaign:"bfshare".concat(t)},a=e.canonical_url,j=e.shareData,d=n.itemId,y=n.quizId,z=n.subbuzzId,m=n.getCopyText,p="";d&&y?(r.quiz_result="".concat(y,"_").concat(d),r.quote=o()(n.text||n.title),p=y,"twitter"===t&&(r.rid=d)):z&&(r.sub=z);var I="".concat(a).concat((0,M.nZ)(r)).concat(p?"#".concat(p):""),f={};"twitter"===t?f.title=o()(n.text||n.title||j.twitter.title||e.title):"facebook"===t?f.fbAppId=l.destinations[e.destination_name].facebook_app_id:["lineapp","whatsapp"].includes(t)?f.title=o()(n.title||e.title):"copy"===t&&m&&(f.getCopyText=m),f.title=(0,T.decodeHtmlEntities)(f.title);var D=(0,s.BN)(I,t,f,!N());if("copy"===t&&n.element){var x=document.createElement("div");x.className=L().tooltipContainer,n.element.appendChild(x),u.render((0,i.jsx)(g,{containerEl:x,contentEl:n.element,text:D?c.i18n.t("link_copied"):c.i18n.t("unable_to_copy_link"),themes:D?["dark","success"]:["error"]}),x)}}function p(){return!!(N()&&function(t){var e=t.includeTablets;return void 0!==e&&e?(0,j.OK)()||(0,j.gc)():(0,j.DN)()||(0,j.gc)()}({includeTablets:!1})&&navigator.canShare)}function I(t){var e=t.url,n=t.text,i=t.title,r=t.files,u={};e&&(u.url=e),n&&(u.text=n),i&&(u.title=i),(null===r||void 0===r?void 0:r.length)&&(u.files=r);try{navigator.share(u)}catch(a){console.error(a)}}},3207:function(t,e,n){"use strict";n.d(e,{C:function(){return i},z:function(){return r}});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,r=void 0===i?"":i,u=t.destination_name,a=void 0===u?"":u,o=t.is_external,c=void 0!==o&&o,s=r.includes("/watch/video/")||c,M=r;return{href:!s&&n.length&&a.length?"/[...slug]":n,hrefAs:r.length?M:n,url:n}},r=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 o}});var r=n(3379);function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n