NASA, Space Exploration and Astronomy News
Space.com: NASA, Space Exploration and Astronomy News <![CDATA[]]> <![CDATA[]]> <![CDATA[]]> <![CDATA[]]> <![CDATA[]]> <![CDATA[]]><![CDATA[]]> <![CDATA[]]> <![CDATA[<![CDATA[]]> <![CDATA[]]> <![CDATA[]]> <![CDATA[{window.sliceComponents[c]=window[c],e()},document.head.append(o)):e()},1500):console.error(“%c FTE “,”background: #9306F9; color: #ffffff”,”Could not lazy load slice JS for”+n))}):console.error(“%c FTE “,”background: #9306F9; color: #ffffff”,”Slice injection – no container found for”+n)}).catch(o=>console.error(“%c FTE “,”background: #9306F9; color: #ffffff”,”Hydration Script has failed for “+n+” Slice”,o))}).catch(o=>console.error(“%c FTE “,”background: #9306F9; color: #ffffff”,”Externals script failed to load”,o))};]]]]]]>]]]]>]]> <![CDATA[ { try { const scriptTag = document.createElement(‘script’); scriptTag.async = true; scriptTag.type = ‘text/javascript’; scriptTag.id = ‘vanilla-slice-externals-script’; scriptTag.src = ‘https://slice.vanilla.futurecdn.net/13-4-6/js/externals.js’; scriptTag.onload = resolve; const firstScriptTag = document.getElementsByTagName(‘script’)[0]; firstScriptTag.parentNode.insertBefore(scriptTag, firstScriptTag); } catch (err) { reject(err); } }); }; var externalsScriptLoaded = loadExternalsScript(); ]]]]]]>]]]]>]]> <![CDATA[]]> <![CDATA[]]> <![CDATA[ () => { const t = document.createElement(‘script’), n = document.getElementsByTagName(‘script’)[0]; if (!n || !n.parentNode) return console.error(‘firstScriptOnPage.parentNode not found’); const r = ((e, t) => ( Object.entries(e).forEach(([e, n]) => { Number.isInteger(Number(e)) ? t.setAttribute(n, ”) : t.setAttribute(e, n); }), t ))(e, t); n.parentNode.insertBefore(r, n); }; (window.vanilla = window.vanilla || {}), (window.vanilla.addJs = (t = {}, n = null, r = !1) => { const o = e(t), i = null !== n ? ( (e, t) => () => setTimeout(e, t) )(o, n) : o; r ? window.reliablePageLoad.then(i) : i(); }); })(); ]]]]]]>]]]]>]]> <![CDATA[<![CDATA[]]> <![CDATA[<![CDATA[]]]]>]]> <![CDATA[]]> <![CDATA[2?e[2]:null;if(“ping”===t)p({gppVersion:”1.1″,cmpStatus:”stub”,cmpDisplayStatus:”hidden”,signalStatus:”not ready”,supportedAPIs:[“2:tcfeuv2″,”5:tcfcav1″,”6:uspv1″,”7:usnatv1″,”8:uscav1″,”9:usvav1″,”10:uscov1″,”11:usutv1″,”12:usctv1″],cmpId:0,sectionList:[],applicableSections:[],gppString:””,parsedSections:{}},!0);else if(“addEventListener”===t){“lastId”in __gpp||(__gpp.lastId=0),__gpp.lastId++;var n=__gpp.lastId;__gpp.events.push({id:n,callback:p,parameter:s}),p({eventName:”listenerRegistered”,listenerId:n,data:!0,pingData:{gppVersion:”1.1″,cmpStatus:”stub”,cmpDisplayStatus:”hidden”,signalStatus:”not ready”,supportedAPIs:[“2:tcfeuv2″,”5:tcfcav1″,”6:uspv1″,”7:usnatv1″,”8:uscav1″,”9:usvav1″,”10:uscov1″,”11:usutv1″,”12:usctv1″],cmpId:0,sectionList:[],applicableSections:[],gppString:””,parsedSections:{}}},!0)}else if(“removeEventListener”===t){for(var a=!1,i=0;i]]]]>]]> <![CDATA[]]> <![CDATA[[].concat(t)[0],P=t=>{return typeof(e=t)!=”object”||Array.isArray(e)||e===null?{}:t;var e},b=””,f=””,C=””,O=””,j=[],w=””,h=[],_=””,N=[],T=””,v=[],x=[],E=[],F=[],p={primaryProduct:””,secondaryProducts:[],companies:[],groups:[],category:””},l=t=>t.replace(/[#*()+-='”,{}[]\/]/gi,””).replace(/[_-]/g,” “);window.FEPProcess=t=>(({articleName:e,articleType:n,strategy:d,nullified:o,timestamp:g,adTags:a={},hawkTags:y={}})=>{const c={articleName:r(b,e),articleType:r(f,n),strategy:r(C,d),nullified:r(!1,o),timestamp:r(0,g)};if(a){Object.assign(c,{primaryProduct:r(_,a.primaryProduct),secondaryProducts:r(N,a.secondaryProducts),category:r(O,m(a.category)),groups:r(j,a.groups),primaryCompany:r(w,a.primaryCompany),companies:r(h,a.companies),primaryCategory:r(T,m(a.primaryCategory)),secondaryCategories:r(v,a.secondaryCategories),tertiaryCategories:r(x,a.thirdCategories)});const s=a.classifierCategories&&a.classifierCategories[“textrazor_iab_content_taxonomy_3.0”]||{},u=Object.values(s).sort((i,I)=>Number(I.score)-Number(i.score));Object.assign(c,{iabCategoryIds:r(E,u.map(({categoryId:i})=>i)),iabCategories:r(F,u.map(({label:i})=>i))})}return y&&Object.assign(c,{hawk:{primaryProduct:r(p.primaryProduct,y.primaryProduct),secondaryProducts:r(p.secondaryProducts,y.secondaryProducts),companies:r(p.companies,y.companies),groups:r(p.groups,y.groups),category:r(p.category,m(y.category))}}),c.kwMunge=[c.primaryProduct,c.secondaryProducts,c.companies,c.category].reduce((s,u)=>s.concat(u),[]).filter((s,u,i)=>s!==void 0&&s!==””&&i.indexOf(s)===u),c})(P((e=>{if(Array.isArray(e)){const[n={}]=e;return n}return e})(t))),window.FEPSanitise=t=>Object.keys(t).reduce((e,n)=>{const d=function(o){if(Array.isArray(o)){const g=[];return Object.keys(o).forEach(a=>{o.hasOwnProperty(a)&&g.push(l(o[a]))}),g}return o instanceof Object?o:l(o)}(t[n]);return d.length>0&&(e[n]=d),e},{})})(); (function(){“use strict”;const t=window,m=t.document,l=t.performance,a=t.Promise,c=(…o)=>n=>n(…o),d=()=>l&&l.now&&l.now()||0,f=d();performance.mark(“DOMPromises – Initialising”),t.resolveFEP=null,t.processFEP=a?new a(o=>{t.resolveFEP=o}):{then(o){}};const r=!(window.location.href.indexOf(“disable_dom_promise_timeouts”)>-1);{let o=!1;const n=[],i=5e3,s=e=>{o||(o=!0,n.forEach(c(e)))};r&&setTimeout(()=>s({timeStamp:d()}),i),m.addEventListener(“DOMContentLoaded”,s),t.reliableDOMContentLoaded=a?new a(e=>{r&&setTimeout(()=>e({timeStamp:d()}),i),m.addEventListener(“DOMContentLoaded”,e)}):{then(e){o?e():n.push(e)}},t.reliableDOMContentLoaded.then(({timeStamp:e})=>{console.debug(“%c FTE “,”background: #9306F9; color: #ffffff”,”DOMContentLoaded at”,e-f|0)})}{let o=!1;const n=[],i=7e3,s=e=>{o||(o=!0,n.forEach(c(e)))};r&&setTimeout(()=>s({timeStamp:d()}),i),t.addEventListener(“load”,s),t.reliablePageLoad=a?new a(e=>{r&&setTimeout(()=>e({timeStamp:d()}),i),t.addEventListener(“load”,e)}):{then:e=>(o?e():n.push(e),t.reliablePageLoad),catch:()=>t.reliablePageLoad},t.reliablePageLoad.then(({timeStamp:e})=>{console.debug(“%c FTE “,”background: #9306F9; color: #ffffff”,”PageLoad at”,e-f|0)})}})(); window.preemptionPlaceholders = {}; window.preallocatorErrors = []; ]]]]]]>]]]]>]]> <![CDATA[]]> <![CDATA[]]> <![CDATA[]]><![CDATA[]]> <![CDATA[]]> <![CDATA[]]> <![CDATA[ { const value = `; ${document.cookie}`; const parts = value.split(`; ${name}=`); if (parts.length === 2) return parts.pop().split(‘;’).shift(); } window.FUTR.Kiosq.User = window.FUTR.Connect.Auth.parseJwt(window.FUTR.Connect.Auth.getCookieByName(“kiosq_user”)); window.FUTR.Connect.isGranted = false; if(typeof window.FUTR.Kiosq.User !== ‘undefined’ && typeof window.FUTR.Kiosq.User.user_grant_status !== ‘undefined’ ){ const matchString = ‘^granted’; const regexp = new RegExp(matchString); if(regexp.test(window.FUTR.Kiosq.User.user_grant_status)){ window.FUTR.Connect.isGranted = true; } } window.addEventListener(“DOMContentLoaded”, (event) => { var connectBundle = document.createElement(‘script’); // window.FUTR.Connect.auth0AppClientId must be set before bundle.connect.js be added. connectBundle.src = “https://vanilla.futurecdn.net/space/1348778/media/shared/js/bundle.connect.js”; document.head.appendChild(connectBundle); }); ]]]]]]>]]]]>]]> <![CDATA[]]> <![CDATA[<![CDATA[ -1) { window.bordeaux.setSlotAvoidanceDistance({ mobile: 600, tablet: 600, desktop: 600 }); } window.bordeaux.setPageTemplate("home"); window.bordeaux.setTargeting({ signedIn: Boolean(window.FUTR && window.FUTR.Connect && window.FUTR.Connect.Auth && window.FUTR.Connect.Auth.UserId), paywall: Boolean(window.FUTR && window.FUTR.Kiosq && window.FUTR.Kiosq.hasBarrier), }); if (window.ffte && window.ffte.properties && window.ffte.properties.id) { window.bordeaux.setTargeting({ futureCmsId: window.ffte.properties.id }) } if (window.FUTR && window.FUTR.Kiosq && window.FUTR.Kiosq.hasBarrier) { window.bordeaux.setPageTemplate('article-paywalled'); } if (featureFlags.hasOwnProperty('lowAdDensity') && featureFlags.lowAdDensity.enabled === true && pageType.indexOf('listing') < 0 && pageType.indexOf('homepage') ]]> <![CDATA[<![CDATA[]]]]>]]> <![CDATA[]]]]>]]> <![CDATA[2&&void 0!==arguments[2]?arguments[2]:{})}(window,7842,{})}(); ]]]]]]>]]]]>]]> <![CDATA[=0?e():this.requires.push(e)},requires:window.FlexiLoaderRequires||[]}; FlexiLoader.loadJS(‘//vanilla.futurecdn.net/space/1348778/media/shared/js/flexi.js’, function () { Flexi.globals = { “environment”: “live”, “endpoints”: null }; FlexiLoader.execRequiresOnDomReady(); }); ]]]]]]>]]]]>]]> <![CDATA[<![CDATA[<![CDATA[ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).cssVars=t()}(this,function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t=1;t4&&void 0!==arguments[4]?arguments[4]:[];var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];var l=u(t,s,i);l.rules.length?n(l.absoluteUrls,{onBeforeSend:function(e,t,n){r.onBeforeSend(e,o,t)},onSuccess:function(e,t,n){var s=r.onSuccess(e,o,t),a=u(e=!1===s?””:s||e,t,i);return a.rules.forEach(function(t,n){e=e.replace(t,a.absoluteRules[n])}),e},onError:function(n,r,u){c.push({xhr:n,url:r}),i.push(l.rules[u]),e(t,o,s,a,c,i)},onComplete:function(n){n.forEach(function(e,n){t=t.replace(l.rules[n],e)}),e(t,o,s,a,c,i)}}):a(t,c)})(e=void 0!==i&&!1===Boolean(i)?””:i||e,o,s,function(e,n){null===a[t]&&(n.forEach(function(e){return r.onError(e.xhr,o,e.url)}),!r.filter||r.filter.test(e)?a[t]=e:a[t]=””,c())})}function u(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s={};return s.rules=(e.replace(t.cssComments,””).match(t.cssImports)||[]).filter(function(e){return-1===r.indexOf(e)}),s.urls=s.rules.map(function(e){return e.replace(t.cssImports,”$1″)}),s.absoluteUrls=s.urls.map(function(e){return o(e,n)}),s.absoluteRules=s.rules.map(function(e,t){var r=s.urls[t],a=o(s.absoluteUrls[t],n);return e.replace(r,a)}),s}s.length?s.forEach(function(e,t){var s=e.getAttribute(“href”),u=e.getAttribute(“rel”),l=”LINK”===e.nodeName&&s&&u&&”stylesheet”===u.toLowerCase(),f=”STYLE”===e.nodeName;if(l)n(s,{mimeType:”text/css”,onBeforeSend:function(t,n,o){r.onBeforeSend(t,e,n)},onSuccess:function(n,r,a){var c=o(s,location.href);i(n,t,e,c)},onError:function(n,o,s){a[t]=””,r.onError(n,e,o),c()}});else if(f){var p=e.textContent;r.useCSSOM&&(p=Array.apply(null,e.sheet.cssRules).map(function(e){return e.cssText}).join(“”)),i(p,t,e,location.href)}else a[t]=””,c()}):r.onComplete(“”,[])}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(“”),r=n.createElement(“base”),o=n.createElement(“a”);return n.head.appendChild(r),n.body.appendChild(o),r.href=t,o.href=e,o.href}var s=a;function a(e,t,n){e instanceof RegExp&&(e=c(e,n)),t instanceof RegExp&&(t=c(t,n));var r=i(e,t,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+e.length,r[1]),post:n.slice(r[1]+t.length)}}function c(e,t){var n=t.match(e);return n?n[0]:null}function i(e,t,n){var r,o,s,a,c,i=n.indexOf(e),u=n.indexOf(t,i+1),l=i;if(i>=0&&u>0){for(r=[],s=n.length;l>=0&&!c;)l==i?(r.push(l),i=n.indexOf(e,l+1)):1==r.length?c=[r.pop(),u]:((o=r.pop())<s&&(s=o,a=u),u=n.indexOf(t,l+1)),l=i=0?i:u;r.length&&(c=[s,a])}return c}function u(t){var n=e({},{onlyVars:!1,removeComments:!1},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});function r(e){throw new Error(“CSS parse error: “.concat(e))}function o(e){var n=e.exec(t);if(n)return t=t.slice(n[0].length),n}function a(){return o(/^{s*/)}function c(){return o(/^}/)}function i(){o(/^s*/)}function u(){if(i(),”/”===t[0]&&”*”===t[1]){for(var e=2;t[e]&&(“*”!==t[e]||”/”!==t[e+1]);)e++;if(!t[e])return r(“end of comment is missing”);var n=t.slice(2,e);return t=t.slice(e+2),{type:”comment”,comment:n}}}function l(){for(var e,t=[];e=u();)t.push(e);return n.removeComments?[]:t}function f(){for(i();”}”===t[0];)r(“extra closing bracket”);var e=o(/^((“(?:\”|[^”])*”|'(?:\’|[^’])*’|[^{])+)/);if(e)return e[0].trim().replace(//*([^*]|[rn]|(*+([^*/]|[rn])))**/+/g,””).replace(/”(?:\”|[^”])*”|'(?:\’|[^’])*’/g,function(e){return e.replace(/,/g,””)}).split(/s*(?![^(]*)),s*/).map(function(e){return e.replace(/u200C/g,”,”)})}function p(){o(/^([;s]*)+/);var e=//*[^*]**+([^/*][^*]**+)*//g,t=o(/^(*?[-#/*\w]+([[0-9a-z_-]+])?)s*/);if(t){if(t=t[0].trim(),!o(/^:s*/))return r(“property missing ‘:'”);var n=o(/^((?:/*.*?*/|'(?:\’|.)*?’|”(?:\”|.)*?”|((s*'(?:\’|.)*?’|”(?:\”|.)*?”|[^)]*?)s*)|[^};])+)/),s={type:”declaration”,property:t.replace(e,””),value:n?n[0].replace(e,””).trim():””};return o(/^[;s]*/),s}}function m(){if(!a())return r(“missing ‘{‘”);for(var e,t=l();e=p();)t.push(e),t=t.concat(l());return c()?t:r(“missing ‘}'”)}function d(){i();for(var e,t=[];e=o(/^((d+.d+|.d+|d+)%?|[a-z]+)s*/);)t.push(e[1]),o(/^,s*/);if(t.length)return{type:”keyframe”,values:t,declarations:m()}}function v(){if(i(),”@”===t[0]){var e=function(){var e=o(/^@([-w]+)?keyframess*/);if(e){var t=e[1];if(!(e=o(/^([-w]+)s*/)))return r(“@keyframes missing name”);var n,s=e[1];if(!a())return r(“@keyframes missing ‘{‘”);for(var i=l();n=d();)i.push(n),i=i.concat(l());return c()?{type:”keyframes”,name:s,vendor:t,keyframes:i}:r(“@keyframes missing ‘}'”)}}()||function(){var e=o(/^@supports *([^{]+)/);if(e)return{type:”supports”,supports:e[1].trim(),rules:h()}}()||function(){if(o(/^@hosts*/))return{type:”host”,rules:h()}}()||function(){var e=o(/^@media *([^{]+)/);if(e)return{type:”media”,media:e[1].trim(),rules:h()}}()||function(){var e=o(/^@custom-medias+(–[^s]+)s*([^{;]+);/);if(e)return{type:”custom-media”,name:e[1].trim(),media:e[2].trim()}}()||function(){if(o(/^@page */))return{type:”page”,selectors:f()||[],declarations:m()}}()||function(){var e=o(/^@([-w]+)?document *([^{]+)/);if(e)return{type:”document”,document:e[2].trim(),vendor:e[1]?e[1].trim():null,rules:h()}}()||function(){if(o(/^@font-faces*/))return{type:”font-face”,declarations:m()}}()||function(){var e=o(/^@(import|charset|namespace)s*([^;]+);/);if(e)return{type:e[1],name:e[2].trim()}}();if(e&&n.onlyVars){var s=!1;if(e.declarations)s=e.declarations.some(function(e){return/var(/.test(e.value)});else s=(e.keyframes||e.rules||[]).some(function(e){return(e.declarations||[]).some(function(e){return/var(/.test(e.value)})});return s?e:{}}return e}}function y(){if(n.onlyVars){var e=s(“{“,”}”,t);if(e){var o=-1!==e.pre.indexOf(“:root”)&&/–S*s*:/.test(e.body),a=/var(/.test(e.body);if(!o&&!a)return t=t.slice(e.end+1),{}}}var c=f()||[],i=n.onlyVars?m().filter(function(e){var t=c.some(function(e){return-1!==e.indexOf(“:root”)})&&/^–S/.test(e.property),n=/var(/.test(e.value);return t||n}):m();return c.length||r(“selector missing”),{type:”rule”,selectors:c,declarations:i}}function h(e){if(!e&&!a())return r(“missing ‘{‘”);for(var n,o=l();t.length&&(e||”}”!==t[0])&&(n=v()||y());)n.type&&o.push(n),o=o.concat(l());return e||c()?o:r(“missing ‘}'”)}return{type:”stylesheet”,stylesheet:{rules:h(!0),errors:[]}}}a.range=i;var l=”–“,f=”var”,p={dom:{},temp:{},user:{}};function m(t){var n,r,o=e({},{fixNestedCalc:!0,onlyVars:!1,persist:!1,preserve:!1,variables:{},onWarning:function(){}},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),a=o.persist?p.dom:p.temp=JSON.parse(JSON.stringify(p.dom)),c=u(t,{onlyVars:o.onlyVars});if(c.stylesheet.rules.forEach(function(e){var t=[];if(“rule”===e.type&&1===e.selectors.length&&”:root”===e.selectors[0]&&(e.declarations.forEach(function(e,n){var r=e.property,o=e.value;r&&0===r.indexOf(l)&&(a[r]=o,t.push(n))}),!o.preserve))for(var n=t.length-1;n>=0;n–)e.declarations.splice(t[n],1)}),Object.keys(p.user).forEach(function(e){a[e]=p.user[e]}),Object.keys(o.variables).length){var i={declarations:[],selectors:[“:root”],type:”rule”};Object.keys(o.variables).forEach(function(e){var t=”–“.concat(e.replace(/^-+/,””)),n=o.variables[e];o.persist&&(p.user[t]=n),a[t]!==n&&(a[t]=n,i.declarations.push({type:”declaration”,property:t,value:n}))}),o.preserve&&i.declarations.length&&c.stylesheet.rules.push(i)}return function e(t,n){t.rules.forEach(function(r){r.rules?e(r,n):r.keyframes?r.keyframes.forEach(function(e){“keyframe”===e.type&&n(e.declarations,r)}):r.declarations&&n(r.declarations,t)})}(c.stylesheet,function(e,t){for(var n,r,s,c=0;c1&&void 0!==arguments[1]?arguments[1]:””,n=arguments.length>2?arguments[2]:void 0,r={charset:function(e){return”@charset “+e.name+”;”},comment:function(e){return 0===e.comment.indexOf(“__CSSVARSPONYFILL”)?”/*”+e.comment+”*/”:””},”custom-media”:function(e){return”@custom-media “+e.name+” “+e.media+”;”},declaration:function(e){return e.property+”:”+e.value+”;”},document:function(e){return”@”+(e.vendor||””)+”document “+e.document+”{“+o(e.rules)+”}”},”font-face”:function(e){return”@font-face{“+o(e.declarations)+”}”},host:function(e){return”@host{“+o(e.rules)+”}”},import:function(e){return”@import “+e.name+”;”},keyframe:function(e){return e.values.join(“,”)+”{“+o(e.declarations)+”}”},keyframes:function(e){return”@”+(e.vendor||””)+”keyframes “+e.name+”{“+o(e.keyframes)+”}”},media:function(e){return”@media “+e.media+”{“+o(e.rules)+”}”},namespace:function(e){return”@namespace “+e.name+”;”},page:function(e){return”@page “+(e.selectors.length?e.selectors.join(“, “):””)+”{“+o(e.declarations)+”}”},rule:function(e){var t=e.declarations;if(t.length)return e.selectors.join(“,”)+”{“+o(t)+”}”},supports:function(e){return”@supports “+e.supports+”{“+o(e.rules)+”}”}};function o(e){for(var o=””,s=0;s2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(-1===e.indexOf(“var(“))return e;var o=s(“(“,”)”,e);return o?”var”===o.pre.slice(-3)?0===o.body.trim().length?(n.onWarning(“var() must contain a non-whitespace string”),e):o.pre.slice(0,-3)+function(e){var o=e.split(“,”)[0].replace(/[snt]/g,””),s=(e.match(/(?:s*,s*){1}(.*)?/)||[])[1],a=t.hasOwnProperty(o)?String(t[o]):void 0,c=a||(s?String(s):void 0),i=r||e;return a||n.onWarning(‘variable “‘.concat(o,'” is undefined’)),c&&”undefined”!==c&&c.length>0?d(c,t,n,i):”var(“.concat(i,”)”)}(o.body)+d(o.post,t,n):o.pre+”(“.concat(d(o.body,t,n),”)”)+d(o.post,t,n):(-1!==e.indexOf(“var(“)&&n.onWarning(‘missing closing “)” in the value “‘.concat(e,'”‘)),e)}var v=”css-vars-ponyfill”,y=”undefined”!=typeof window,h=y&&window.CSS&&window.CSS.supports&&window.CSS.supports(“(–a: 0)”),g=”cssVars(): “,S={rootElement:y?document:null,shadowDOM:!1,include:”style,link[rel=stylesheet]”,exclude:””,variables:{},fixNestedCalc:!0,onlyLegacy:!0,onlyVars:!1,preserve:!1,silent:!1,updateDOM:!0,updateURLs:!0,watch:null,onBeforeSend:function(){},onSuccess:function(){},onWarning:function(){},onError:function(){},onComplete:function(){}},E={cssComments://*[sS]+?*//g,cssKeyframes:/@(?:-w*-)?keyframes/,cssRootRules:/(?::roots*{s*[^}]*})/g,cssUrls:/url((?![‘”]?(?:data|http|//):)[‘”]?([^'”)]*)[‘”]?)/g,cssVars:/(?:(?::roots*{s*[^;]*;*s*)|(?:var(s*))(–[^:)]+)(?:s*[:)])/},b=null,x=null,C=!1;function O(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=e({},S,n),s=v;function a(e,t,n,r){o.silent||console.error(“”.concat(g).concat(e,”n”),t),o.onError(e,t,n,r)}function c(e){o.silent||console.warn(“”.concat(g).concat(e)),o.onWarning(e)}if(o.exclude=”#”.concat(s)+(o.exclude?”,”.concat(o.exclude):””),o._benchmark=o._benchmark?o._benchmark:A(),y)if(!1===o.watch&&b&&b.disconnect(),o.watch)!function(e,t){if(!window.MutationObserver)return;var n=function(e){return”LINK”===e.tagName&&-1!==(e.getAttribute(“rel”)||””).indexOf(“stylesheet”)},r=function(e){return”STYLE”===e.tagName&&(!t||e.id!==t)};b&&b.disconnect();e.watch=S.watch,(b=new MutationObserver(function(t){var o=t.some(function(e){var t=!1;if(“attributes”===e.type)t=n(e.target)||r(e.target);else if(“childList”===e.type){var o=Array.apply(null,e.addedNodes),s=Array.apply(null,e.removedNodes);t=[].concat(o,s).some(function(e){var t=n(e)&&!e.disabled,o=r(e)&&E.cssVars.test(e.textContent);return t||o})}return t});o&&w(e)})).observe(document.documentElement,{attributes:!0,attributeFilter:[“disabled”,”href”],childList:!0,subtree:!0})}(o,s),w(o);else if(“loading”!==document.readyState){var i=o.shadowDOM||o.rootElement.shadowRoot||o.rootElement.host;if(h&&o.onlyLegacy){if(o.updateDOM){var u=o.rootElement.host||(o.rootElement===document?document.documentElement:o.rootElement);Object.keys(o.variables).forEach(function(e){var t=”–“.concat(e.replace(/^-+/,””)),n=o.variables[e];u.style.setProperty(t,n)})}}else r(i&&!C?{rootElement:S.rootElement,include:S.include,exclude:o.exclude,onSuccess:function(e,t,n){return(e.match(E.cssRootRules)||[]).join(“”)||!1},onComplete:function(e,t,n){m(e,{persist:!0}),C=!0,O(o)}}:{rootElement:o.rootElement,include:o.include,exclude:o.exclude,filter:o.onlyVars?E.cssVars:null,onBeforeSend:o.onBeforeSend,onSuccess:function(e,t,n){var r=o.onSuccess(e,t,n);(e=void 0!==r&&!1===Boolean(r)?””:r||e,o.updateURLs)&&(e.replace(E.cssComments,””).match(E.cssUrls)||[]).forEach(function(t){var r=t.replace(E.cssUrls,”$1″),o=k(r,n);e=e.replace(t,t.replace(r,o))});return e},onError:function(e,t,n){var r=e.responseURL||k(n,location.href),o=e.statusText?”(“.concat(e.statusText,”)”):”Unspecified Error”+(0===e.status?” (possibly CORS related)”:””);a(“CSS XHR Error: “.concat(r,” “).concat(e.status,” “).concat(o),t,e,r)},onComplete:function(n,r,i){var u=o.rootElement.querySelector(“#”.concat(s))||document.createElement(“style”),l=u.__cssVars||{};if(l.cssText===n&&l.settings===JSON.stringify(o))n=u.textContent,o.silent||console.info(“”.concat(g,”CSS source is unchanged”));else{u.setAttribute(“id”,s),u.__cssVars={cssText:n,settings:JSON.stringify(o)},n=r.map(function(e,t){return E.cssVars.test(e)?e:”/*__CSSVARSPONYFILL-“.concat(t,”__*/”)}).join(“”);try{n=m(n,{fixNestedCalc:o.fixNestedCalc,onlyVars:o.onlyVars,persist:o.updateDOM,preserve:o.preserve,variables:o.variables,onWarning:c});var f=E.cssKeyframes.test(n);if(n=n.replace(//*__CSSVARSPONYFILL-(d+)__*//g,function(e,t){return r[t]}),o.updateDOM&&i&&i.length){var d=i[i.length-1];u.textContent!==n&&(u.textContent=n),d.nextSibling!==u&&d.parentNode&&d.parentNode.insertBefore(u,d.nextSibling),f&&function(e){var t=[“animation-name”,”-moz-animation-name”,”-webkit-animation-name”].filter(function(e){return getComputedStyle(document.body)[e]})[0];if(t){for(var n=e.getElementsByTagName(“*”),r=[],o=0,s=n.length;o<s;o++){var a=n[o],c=getComputedStyle(a)[t];"none"!==c&&(a.style[t]+="__CSSVARSPONYFILL-KEYFRAMES__",r.push(a))}document.body.offsetHeight;for(var i=0,u=r.length;i1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(“”),r=n.createElement(“base”),o=n.createElement(“a”);return n.head.appendChild(r),n.body.appendChild(o),r.href=t,o.href=e,o.href}function A(){return y&&window.performance.now?performance.now():(new Date).getTime()}return O}); cssVars({ include: ‘link[rel=”stylesheet”],link[rel=”preload”],style’ }); ]]]]]]>]]]]>]]> Skip to main content <![CDATA[<![CDATA[<![CDATA[ if (window.sliceHydrationLazy) { window.sliceHydrationLazy("regionRedirectBanner", "regionRedirectBanner", JSON.stringify({"currentEdition":"US","translations":[{"translatedText":"Looks like you're in the US! Visit Space's US edition for content related to your region.”,”locale”:”US”,”homepageLink”:””}]}), “https://slice.vanilla.futurecdn.net/13-4-6/js/regionRedirectBanner.js”); } else { console.error(‘%c FTE ‘,’background: #9306F9; color: #ffffff’,’no lazy slice hydration function available’); } ]]]]]]>]]]]>]]> <![CDATA[ { var componentContainer = document.querySelector(“#slice-container-newsletterForm-exitIntent”); if (componentContainer) { var data = {“layout”:”exitIntent”,”header”:”nnnnSpacenntnttntttntttntttntttntttntttntttntttntttnttntnnn”,”tagline”:”Breaking space news, the latest updates on rocket launches, skywatching events and more!”,”formFooterText”:”By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.”,”successMessage”:{“body”:”Thank you for signing up. You will receive a confirmation email shortly.”},”failureMessage”:”There was a problem. Please refresh the page and try again.”,”method”:”POST”,”inputs”:[{“type”:”hidden”,”name”:”NAME”},{“type”:”email”,”name”:”MAIL”,”placeholder”:”Your Email Address”,”required”:true},{“type”:”hidden”,”name”:”NEWSLETTER_CODE”,”value”:”XSP-X”},{“type”:”hidden”,”name”:”LANG”,”value”:”EN”},{“type”:”hidden”,”name”:”SOURCE”,”value”:”15″},{“type”:”hidden”,”name”:”COUNTRY”},{“type”:”checkbox”,”name”:”CONTACT_OTHER_BRANDS”,”label”:{“text”:”Contact me with news and offers from other Future brands”}},{“type”:”checkbox”,”name”:”CONTACT_PARTNERS”,”label”:{“text”:”Receive email from us on behalf of our trusted partners or sponsors”}},{“type”:”submit”,”value”:”Sign me up”,”required”:true}],”endpoint”:”https://newsletter-subscribe.futureplc.com/v2/submission/submit”,”cookieExpiryDays”:14,”ariaLabels”:{“exitIntent”:{“closeButton”:”Close”}}}; var newsletterForm;(()=>{“use strict”;var e={973:(e,t,n)=>{function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);nO});var a=n(651),l=n.n(a);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){if(“undefined”!=typeof document){var t=document.cookie.match(“(^|;) ?”.concat(e,”=([^;]*)(;|$)”));return t?t[2]:null}return null};function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function s(e){for(var t=1;t-1&&”email”===(null==E?void 0:E.toLowerCase())&&_(“text”),”hidden”===(null==u?void 0:u.toLowerCase())&&t&&(w((function(e){return s(s({},e),{},i({},t,n))})),”COUNTRY”===(null==t?void 0:t.toUpperCase()))){var e=c(“FTR_Country_Code”)||c(“FTR_User_Defined_Country_Code”)||void 0;w((function(n){return s(s({},n),{},i({},t,e))}))}}),[]);var g=l().createElement(“input”,{“data-hydrate”:!0,type:E,className:”form__”.concat(u,”-input “).concat(y),value:n,name:t,required:f,disabled:p,placeholder:d,autoFocus:h,onChange:function(e){if(“submit”!==u){var t=e.target,n=t.name,o=t.value,r=t.checked;w((function(e){return s(s({},e),{},i({},n,”checkbox”===u?r:o))}))}}});return o?l().createElement(“label”,{className:”form__”.concat(u,”-label”)},g,o.text):l().createElement(l().Fragment,null,g)};var m=function(e){var t=e.layout,n=e.method,o=e.action,i=e.handleSubmit,c=e.inputs,u=r((0,a.useState)({}),2),s=u[0],m=u[1];return l().createElement(“form”,{“data-hydrate”:!0,className:”newsletter-form__form newsletter-form__form–“.concat(t),method:n,action:o,onSubmit:function(e){return i(e,s)}},null==c?void 0:c.map((function(e){return l().createElement(d,{key:””.concat(e.name,”-“).concat(e.value),setFormValues:m,autofocus:”exitIntent”===t&&”email”===e.type||void 0,type:e.type,label:e.label,value:e.value,name:e.name,placeholder:e.placeholder,required:e.required,inputClassName:”form_input form__”.concat(e.type,”-input form__”).concat(e.type,”-input–“).concat(t)})})))};const f=function(e,t){setTimeout((function(){window.freyr.cmd.push((function(){window.freyr.pushAndUpdate(e,t)}))}),0)};var v=function(e){var t,n,o,r,a,l,i,c,u,s,d={submission:{name:null!==(t=null==e?void 0:e.NAME)&&void 0!==t?t:””,email:null!==(n=null==e?void 0:e.MAIL)&&void 0!==n?n:””,code:null!==(o=null==e?void 0:e.NEWSLETTER_CODE)&&void 0!==o?o:””,source:null!==(r=null==e?void 0:e.SOURCE)&&void 0!==r?r:0,language:null!==(a=null==e?void 0:e.LANG)&&void 0!==a?a:””,country:null!==(l=null==e?void 0:e.COUNTRY)&&void 0!==l?l:””,consent:{marketing:null!==(i=null!==(c=Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS))&&void 0!==c?c:Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS_AND_PARTNERS))&&void 0!==i&&i,data:null!==(u=null!==(s=Boolean(null==e?void 0:e.CONTACT_PARTNERS))&&void 0!==s?s:Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS_AND_PARTNERS))&&void 0!==u&&u}}};return JSON.stringify(d)},p=function(e){var t=e.layout,n=e.source;return”exitIntent”===t?”SIGNUP – Exit Intent – “.concat(n):”Newsletter signup – “.concat(n)};function y(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function w(e){for(var t=[],n=1;n{var o=n(81);t.createRoot=o.createRoot,t.hydrateRoot=o.hydrateRoot},651:e=>{e.exports=window.slice.React},81:e=>{e.exports=window.slice.ReactDOM}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{“undefined”!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:”Module”}),Object.defineProperty(e,”__esModule”,{value:!0})};var o={};(()=>{n.d(o,{default:()=>e});const e={hydrate:function(e,t){var o=n(651),r=n(745),a=n(973).default;r.hydrateRoot(t,o.createElement(a,e))}}})(),newsletterForm=o.default})(); //# sourceMappingURL=newsletterForm.js.map window.sliceComponents.newsletterForm = newsletterForm; var triggerHydrate = function() { window.sliceComponents.newsletterForm.hydrate(data, componentContainer); } if (window.lazyObserveElement) { window.lazyObserveElement(componentContainer, triggerHydrate); } else { triggerHydrate(); } } }).catch(err => console.error(‘%c FTE ‘,’background: #9306F9; color: #ffffff’,’Hydration Script has failed for newsletterForm-exitIntent Slice’, err)); }).catch(err => console.error(‘%c FTE ‘,’background: #9306F9; color: #ffffff’,’Externals script failed to load’, err)); ]]]]]]>]]]]>]]> VIEW MORE
SPONSORED_HEADLINE
SPONSORED SPONSORED_STRAPLINE
SPONSORED_HEADLINE
SPONSORED SPONSORED_STRAPLINE
SPONSORED_HEADLINE
SPONSORED SPONSORED_STRAPLINE
SPONSORED_HEADLINE
SPONSORED SPONSORED_STRAPLINE
SPONSORED_HEADLINE
SPONSORED SPONSORED_STRAPLINE
SPONSORED VIEW MORE <![CDATA[]]> <![CDATA[]]> <![CDATA[]]> <![CDATA[]]> <![CDATA[]]> <![CDATA[]]> <![CDATA[]]> <![CDATA[]]>
Please login or signup to comment
Please wait…
