!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]="d82cc514-b706-42cb-954b-ea4f0666d988",e._sentryDebugIdIdentifier="sentry-dbid-d82cc514-b706-42cb-954b-ea4f0666d988")}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([[172],{1740:function(e,t,n){var content=n(2543);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(248).default)("538d7640",content,!0,{sourceMap:!1})},2542:function(e,t,n){"use strict";n(1740)},2543:function(e,t,n){var r=n(247)((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},3195:function(e,t,n){"use strict";n.r(t);n(22),n(4),n(27),n(26),n(155),n(5),n(101);var r=n(0),c=n(798),o=n(799),d=n(843),l=n(800),f=class extends c.Vue{constructor(){super(...arguments),this.isModalActive=!1}get slumberYardLogo(){return Object(d.a)("https://www.cnet.com/a/img/hub/2024/02/14/d3855c0d-88f9-4633-b682-35fa0074b736/slumber-yard.png")}closeBanner(){this.isModalActive=!this.isModalActive}checkReferrer(){var e=document.referrer;e&&e.includes("myslumberyard.com")&&(this.isModalActive=!0)}checkURLParams(){"active"===new URLSearchParams(window.location.search).get("msyBanner")&&(this.isModalActive=!0)}mounted(){this.checkReferrer(),this.checkURLParams()}},m=f=Object(r.a)([Object(c.Component)({components:{GlobalSvgIcon:o.default,CmsImage:l.default}})],f),y=(n(2542),n(121)),component=Object(y.a)(m,(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},843:function(e,t,n){"use strict";n(27),n(77);var r=n(13);t.a=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}}}}}]);