!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b9e2d430-c510-4e63-911c-ba364701cabd",e._sentryDebugIdIdentifier="sentry-dbid-b9e2d430-c510-4e63-911c-ba364701cabd")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"cnet-neutron@cnet.prod.254f83"},(window.webpackJsonp=window.webpackJsonp||[]).push([[173],{1829:function(e,t,n){var content=n(2631);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(305).default)("538d7640",content,!0,{sourceMap:!1})},2630:function(e,t,n){"use strict";n(1829)},2631:function(e,t,n){var r=n(304)((function(i){return i[1]}));r.push([e.i,'.c-msyRedirectBanner{position:fixed;bottom:0;left:0;width:100%;background-color:#fff;overflow:hidden;z-index:5999999}.c-msyRedirectBanner_container{max-width:1156px;margin-left:auto;margin-right:auto;display:flex}.c-msyRedirectBanner_close{width:12px;height:12px;position:absolute;top:1.5rem;right:1.5rem;cursor:pointer;z-index:5999999}.c-msyRedirectBanner_cnet{width:66px;height:16px;fill:#e71d1d}.c-msyRedirectBanner_image{max-width:185px}.c-msyRedirectBanner_logos{display:flex;flex-direction:row;gap:15px;align-items:center;background-color:#f9f5ff;position:relative;padding-right:30px;padding-left:12px}.c-msyRedirectBanner_logos::before{content:"";position:absolute;right:100%;background-color:#f9f5ff;bottom:0;width:50vw;height:100%}.c-msyRedirectBanner_splitter{width:0;height:32px;border-left:.125rem dotted #9f9fa3}.c-msyRedirectBanner_text{gap:8px;display:flex;flex-direction:column;padding-top:1.5rem;padding-bottom:1.5rem;padding-left:22px}.c-msyRedirectBanner_triangle{background-color:#f9f5ff;clip-path:polygon(0 0, 100% 50%, 0 100%);width:36px}.c-msyRedirectBanner_title{font-weight:700;font-size:1.25rem;line-height:1.75rem}.c-msyRedirectBanner_description{font-size:.875rem;line-height:1.25rem}@media(max-width: 1024px){.c-msyRedirectBanner_triangle{display:none}.c-msyRedirectBanner_container{flex-direction:column}.c-msyRedirectBanner_logos{padding:18px 1.5rem}.c-msyRedirectBanner_close{top:1.75rem}.c-msyRedirectBanner_text{padding-left:1.5rem;padding-right:1.5rem}}',""]),r.locals={},e.exports=r},3280:function(e,t,n){"use strict";n.r(t);n(11);var r=n(2),c=n(3),o=n(9),d=n(5),l=n(7),f=(n(42),n(8),n(31),n(49),n(25),n(191),n(26),n(130),n(0)),m=n(876),y=n(877),h=n(921),v=n(878);function _(e,t,n){return t=Object(d.a)(t),Object(o.a)(e,x()?Reflect.construct(t,n||[],Object(d.a)(e).constructor):t.apply(e,n))}function x(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(x=function(){return!!e})()}var R=function(e){function t(){var e;return Object(r.a)(this,t),(e=_(this,t,arguments)).isModalActive=!1,e}return Object(l.a)(t,e),Object(c.a)(t,[{key:"slumberYardLogo",get:function(){return Object(h.a)("https://www.cnet.com/a/img/hub/2024/02/14/d3855c0d-88f9-4633-b682-35fa0074b736/slumber-yard.png")}},{key:"closeBanner",value:function(){this.isModalActive=!this.isModalActive}},{key:"checkReferrer",value:function(){var e=document.referrer;e&&e.includes("myslumberyard.com")&&(this.isModalActive=!0)}},{key:"checkURLParams",value:function(){"active"===new URLSearchParams(window.location.search).get("msyBanner")&&(this.isModalActive=!0)}},{key:"mounted",value:function(){this.checkReferrer(),this.checkURLParams()}}]),t}(m.Vue),w=R=Object(f.a)([Object(m.Component)({components:{GlobalSvgIcon:y.default,CmsImage:v.default}})],R),B=(n(2630),n(150)),component=Object(B.a)(w,(function(){var e=this,t=e._self._c;e._self._setupProxy;return e.isModalActive?t("div",{staticClass:"c-msyRedirectBanner"},[t("div",{on:{click:e.closeBanner}},[t("GlobalSvgIcon",{staticClass:"c-msyRedirectBanner_close",attrs:{id:"close"}})],1),e._v(" "),t("div",{staticClass:"c-msyRedirectBanner_container"},[t("div",{staticClass:"c-msyRedirectBanner_logos"},[t("GlobalSvgIcon",{staticClass:"c-msyRedirectBanner_cnet",attrs:{id:"cnet-horizontal"}}),e._v(" "),t("div",{staticClass:"c-msyRedirectBanner_splitter"}),e._v(" "),t("CmsImage",{staticClass:"c-msyRedirectBanner_image",attrs:{image:e.slumberYardLogo,size:"slumber_yard_logo"}})],1),e._v(" "),t("div",{staticClass:"c-msyRedirectBanner_triangle"}),e._v(" "),e._m(0)])]):e._e()}),[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"c-msyRedirectBanner_text"},[t("div",{staticClass:"c-msyRedirectBanner_title"},[e._v("\n Have you heard?\n ")]),e._v(" "),t("div",{staticClass:"c-msyRedirectBanner_description"},[e._v("\n The Slumber Yard is now a part of CNET— combined expertise you can trust.\n ")])])}],!1,null,null,null);t.default=component.exports},921:function(e,t,n){"use strict";n(22),n(31),n(104);var r=n(28);t.a=function(e){var t,n;if(e){var c=null==e||null===(t=e.match(/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i))||void 0===t?void 0:t[0],o=null===(n=e.split("/").pop())||void 0===n||null===(n=n.split("?"))||void 0===n?void 0:n.shift(),d=/\/(\d{4})\/(\d{2})\/(\d{2})\//.exec(e);if(c&&o&&d){var l=d[1],f=d[2],m=d[3],y="".concat(l,"-").concat(f,"-").concat(m),image=new r.a;return image.id=c,image.filename=o,image.dateCreated.date=y,image}}}}}]);