1 d - Translate

https://gizmodo.com/elon-musk-....spacex-starship-vers

Elon Musk Unveils Plans for Starship Version Two
gizmodo.com

Elon Musk Unveils Plans for Starship Version Two

Work is underway on a modified version of the Starship upper stage, aimed at enhancing its performance and reliability.
1 d - Translate

Our Sun 🌞 is very active, they are watching it very closely.


https://www.cnn.com/2023/11/28..../world/steve-aurora-

Steve: The aurora-like light show you can help research | CNN

Steve: The aurora-like light show you can help research | CNN

Research of the phenomenon called Steve has been driven by citizen photographers. As the solar maximum approaches, there could be even more opportunities to spot it.
1 d - Translate

https://www.space.com/internat....ional-space-station-

Space<\/title> <br> <br>\t <br>\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t<\/g> <br>\t<\/g> <br><\/g> <br><\/svg> <br>","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<\/a> and Privacy Policy<\/a> 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":"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","ariaLabels":{"exitIntent":{"closeButton":"Close"}}};                 /*! For license information please see newsletterForm.js.LICENSE.txt */ var newsletterForm;(()=>{var e={663:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,s=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(s.push(n.value),!t||s.length!==t);o=!0);}catch(e){a=!0,i=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance. <br>In order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.r(t),r.d(t,{default:()=>oe});var s=r(6651),o=r.n(s);function a(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=a(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function l(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=a(e))&&(n&&(n+=" "),n+=t);return n}var c="(?[/a-z0-9-]{0,}?)(?-[0-9]{0,5})?(?-[0-9]{2})?.(?png|jpg|jpeg|gif)(?.webp)?",u=[320,640,720,1280],h={default:"99vw"};const p=function(e){try{return new URL(e),!0}catch(e){return!1}};var d=function(e){return"string"==typeof e?new URL(e.replace(" ","%20")):e},f=function(e){var t="",r="";return Object.entries(e).forEach((function(e){var n=i(e,2),s=n[0],o=n[1];"default"===s?r=o:t="".concat(t,"(min-width: ").concat(s,") ").concat(o,", ")})),t="".concat(t).concat(r)};const m=function(e,t,r){var n="";return t.forEach((function(i,s){var o=t.length!==s+1?", ":"";n="".concat(n).concat(function(e,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:80,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?".webp":"";if(!p(e))return e;var i,s,o=d(e),a=new RegExp(c,"i"),l=o.pathname.match(a),u="";o.pathname&&l&&(u="".concat(null==l||null===(i=l.groups)||void 0===i?void 0:i.id,"-").concat(t,"-").concat(r,".").concat(null==l||null===(s=l.groups)||void 0===s?void 0:s.ext).concat(n));var h="";return o.protocol&&o.host&&(h="".concat(o.protocol,"//").concat(o.host)),h+u}(e,i,r)," ").concat(i,"w").concat(o)})),n};function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},b.apply(this,arguments)}const y=function(e){if(!p(e))return e;var t=d(e),r=new RegExp(c,"i"),n=t.pathname.match(r),i="";t.pathname&&null!=n&&n.groups&&(i="".concat(n.groups.id,".").concat(n.groups.ext));var s="";return t.protocol&&t.host&&(s="".concat(t.protocol,"//").concat(t.host)),s+i};var v=function(e){var t=function(e){var t,r=new RegExp(c,"i");if(!p(e))return"";var n=d(e).pathname.match(r);return(null==n||null===(t=n.groups)||void 0===t?void 0:t.ext)||""}(e);return""===t?t:("jpg"===t&&(t="jpeg"),"image/".concat(t))};function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}const x=function e(t){return"object"===w(t)&&t.origin?e(t.origin):"string"==typeof t&&t.includes(".mos.cms.futurecdn.net")};var S=["src","dataSrcSet","dataSrcSetWebp","imageSizes","onError"];function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const E=function(e){var t=e.src,r=e.alt,n=e.className,a=void 0===n?"":n,l=e.attributes,c=void 0===l?{}:l,p=e.srcSetSizes,d=void 0===p?u:p,w=e.sizes,E=void 0===w?h:w,O=e.missingImageSrc,T=void 0===O?"https://vanilla.futurecdn.net/cyclingnews/media/img/missing-image.svg":O,C=e.eager,k=void 0!==C&&C,A=e.onLoad,L=void 0===A?function(){}:A,D=e.setImageRef,P=void 0===D?function(){}:D,N=e.lazyLoading,M=void 0===N||N,j=e.useOriginalUrl,I=void 0!==j&&j,q=(0,s.useRef)(null),R=(0,s.useRef)(null),B=i((0,s.useState)(a),2),U=B[0],H=B[1],F=i((0,s.useState)(!1),2),z=F[0],V=F[1],G=function(){H((function(e){return"".concat(e," loaded")})),L()},$=I?y(t):t;if(!x($))return o().createElement("img",b({"data-hydrate":!0,key:"nomosimage ".concat($," ").concat(r),src:$,alt:r,onLoad:G,className:U},c));if(!M)return o().createElement("img",b({"data-hydrate":!0,key:"".concat($," ").concat(r),src:$,alt:r,onLoad:G,className:U},c));var W=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({src:T,dataSrcSet:m($,d,!1),dataSrcSetWebp:m($,d,!0),imageSizes:f(E),loading:k?"eager":"lazy",onError:function(e){[q,R].forEach((function(t){t.current&&(t.current.srcset=e.currentTarget.src)})),V(!0)},"data-normal":T,"data-original-mos":y($),"data-pin-media":y($),"data-pin-nopin":!0},c),X=W.src,J=W.dataSrcSet,Y=W.dataSrcSetWebp,Z=W.imageSizes,Q=W.onError,K=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(W,S);return o().createElement("picture",{"data-hydrate":!0},o().createElement("source",b({className:a,type:"image/webp",srcSet:Y,sizes:Z,ref:function(e){q.current=e}},K)),o().createElement("source",b({className:a,type:v($),srcSet:J,sizes:Z,ref:function(e){R.current=e}},K)),o().createElement("img",b({key:"image ".concat(X," ").concat(r),src:X,alt:r,sizes:Z,className:U,ref:function(e){e&&P(e)},onLoad:G,onError:z?null:Q},K)))},O=function(e){var t=e.notIntersected,r=e.intersected,n=e.keepRender,a=void 0===n||n,l=e.root,c=e.rootMargin,u=e.threshold,h=e.sendIsShow,p=i((0,s.useState)(!1),2),d=p[0],f=p[1],m=(0,s.useRef)(null);return(0,s.useEffect)((function(){if("undefined"!=typeof IntersectionObserver){var e=new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting?(f(!0),a&&m.current&&t.unobserve(m.current)):f(!1)}))}),{root:l,rootMargin:c,threshold:u});return m.current&&e.observe(m.current),function(){return e.disconnect()}}return function(){}}),[]),(0,s.useEffect)((function(){h&&h(d)}),[d]),o().createElement("div",{"data-hydrate":!0},d?r:o().createElement("div",{className:"lazy-observed",ref:function(e){e&&(m.current=e)}},t))},T=function(e){var t=e.src,r=e.width,n=e.height;return o().createElement("div",{itemScope:!0,itemType:"https://schema.org/ImageObject"},o().createElement("meta",{itemProp:"url",content:t}),r&&o().createElement("meta",{itemProp:"width",content:r.toString()}),n&&o().createElement("meta",{itemProp:"height",content:n.toString()}))},C=function(e){var t=e.src,r=e.alt,n=e.width,i=e.height,s=e.lazyLoading,a=e.eager,c=e.missingImageSrc,p=e.className,d=e.addSEOMetaData,g=e.srcSetSizes,b=void 0===g?u:g,y=e.sizes,v=void 0===y?h:y,w=e.onLoad,x=e.useOriginalUrl,S=e.nativeLazyLoad,_=void 0!==S&&S,C=l(p,"image__image"),k=function(){return _?o().createElement("img",{src:t,alt:r,srcSet:m(t,b,!1),sizes:f(v),className:C,onLoad:w,loading:"lazy"}):o().createElement(o().Fragment,null,o().createElement(E,{src:t,alt:r,eager:a,className:C,missingImageSrc:c,srcSetSizes:b,sizes:v,onLoad:w,lazyLoading:s,useOriginalUrl:x}),d&&o().createElement(T,{src:t,width:n,height:i}))};return s?o().createElement(O,{threshold:[0],rootMargin:"1200px",notIntersected:o().createElement("img",{src:c||"https://vanilla.futurecdn.net/cyclingnews/media/img/missing-image.svg",alt:r,className:C}),intersected:o().createElement(k,null)}):o().createElement(k,null)},k=function(e,t){return"_blank"===e&&t?"".concat(t," noreferrer noopener"):"_blank"!==e||t?t:"noreferrer noopener"};function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const D=function(e){var t=e.href,r=e.target,n=e.rel,i=e.classname,s=e.text,a=e.ariaLabel,l=e.dataAttributes,c=e.children,u=e.tabIndex,h=(l||[]).reduce((function(e,t){return L(L({},e),{},g({},"data-".concat(t.key),t.value||""))}),{});return c?o().createElement("a",b({href:t,target:r||"_self",rel:k(r,n),className:"link ".concat(i||""),"aria-label":a,tabIndex:u},h),c):o().createElement("a",b({href:t,target:r||"_self",rel:k(r,n),className:"link ".concat(i||""),tabIndex:u,dangerouslySetInnerHTML:{__html:s},"aria-label":a},h))};var P=function(e){switch(e){case"top-left":return"img__endorsement--top-left";case"top-right":return"img__endorsement--top-right";case"bottom-left":return"img__endorsement--bottom-left";default:return"img__endorsement--bottom-right"}},N=function(e){switch(e){case"top-left":return"img__award--top-left";case"top-right":return"img__award--top-right";case"bottom-left":return"img__award--bottom-left";default:return"img__award--bottom-right"}},M=function(e,t){if(!e||!t)return 56.25;var r=t/e*100;return r>150?150:r},j=r(9632),I=r.n(j);var q=r(1036),R=r.n(q),B={allowedTags:["b","i","em","strong","a","p","br","span"],allowedAttributes:{a:["href","name","target"],span:["class"]},selfClosing:["input","br"],transformTags:{h1:"strong",h2:"strong",h3:"strong"}};const U=function(e){return void 0!==e?R()(e,B):""},H=function(e){var t,r=e.caption,n=e.credit;return n&&(t=function(e,t){var r=/{(\w+)}/g;if(Object.values(t).every((function(e){return"string"==typeof e}))){var n=t;return e.replaceAll(r,(function(e,t){return n[t]?n[t]:e}))}return I()(e,r,(function(e,r){return o().createElement(s.Fragment,{key:"".concat(e,"-").concat(r)},t[e]?t[e]:"{".concat(e,"}"))})).filter((function(e){return""!==e}))}(n.text,{subject:n.subject})),o().createElement("figcaption",{className:"caption-credit__figcaption"},r&&o().createElement("span",{className:"caption-credit__caption",dangerouslySetInnerHTML:{__html:U(r)}}),t&&("string"==typeof t?o().createElement("span",{className:"caption-credit__credit",itemProp:"copyrightHolder",dangerouslySetInnerHTML:{__html:U(t)}}):o().createElement("span",{className:"caption-credit__credit",itemProp:"copyrightHolder"},t)))};var F=function(e){var t=e.src,r=e.alt,n=e.caption,i=e.credit,s=e.width,a=e.height,c=e.lazyLoading,u=e.eager,h=e.onLoad,p=e.imageEndorsement,d=e.imageAward,f=e.missingImageSrc,m=e.className,g=e.addSEOMetaData,b=e.srcSetSizes,y=e.sizes,v=e.removeNativeWidthRestriction,w=e.setImageWidthsetterRef,x=e.setImageAspectPaddingRef,S=e.useOriginalUrl,_=e.dataBordeauxImageCheckAttr,E=e.nativeLazyLoad,O=e.noCredit,T={paddingBottom:"".concat(M(s,a),"%")},k={maxWidth:s?"".concat(s,"px"):"none"};return o().createElement("figure",{className:"image-wrapped__wrapper","data-bordeaux-image-check":_},o().createElement("div",{className:"image-wrapped__widthsetter",style:v?{}:k,ref:function(e){e&&w&&w(e)}},o().createElement("div",{className:"image-wrapped__aspect-padding",style:T,ref:function(e){e&&x&&x(e)}},d&&o().createElement(C,{src:d.src,alt:d.alt,className:"img__award ".concat(N(d.position)),nativeLazyLoad:E}),p&&o().createElement(C,{src:p.src,alt:p.alt,lazyLoading:c,eager:u,onLoad:h,className:"img__endorsement ".concat(P(p.position)),missingImageSrc:f,nativeLazyLoad:E}),o().createElement(C,{src:t,alt:r,width:s,height:a,lazyLoading:c,eager:u,onLoad:h,missingImageSrc:f,className:l(m,"image-wrapped__image"),addSEOMetaData:g,srcSetSizes:b,sizes:y,useOriginalUrl:S,nativeLazyLoad:E}))),(n||i)&&!O&&o().createElement(H,{caption:n,credit:i}))};const z=function(e){var t=e.src,r=e.alt,n=e.caption,i=e.credit,s=e.width,a=e.height,l=e.lazyLoading,c=e.eager,u=e.onLoad,h=e.imageEndorsement,p=e.imageAward,d=e.missingImageSrc,f=e.link,m={src:t,alt:r,caption:n,credit:i,width:s,height:a,lazyLoading:l,eager:c,onLoad:u,imageEndorsement:h,imageAward:p,missingImageSrc:d,link:f,className:e.className,addSEOMetaData:e.addSEOMetaData,srcSetSizes:e.srcSetSizes,sizes:e.sizes,removeNativeWidthRestriction:e.removeNativeWidthRestriction,setImageWidthsetterRef:e.setImageWidthsetterRef,setImageAspectPaddingRef:e.setImageAspectPaddingRef,useOriginalUrl:e.useOriginalUrl,dataBordeauxImageCheckAttr:e.dataBordeauxImageCheckAttr,nativeLazyLoad:e.nativeLazyLoad,noCredit:e.noCredit};return f?o().createElement(D,f,o().createElement(F,m)):o().createElement(F,m)};function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const $=function(e){var t=e.name,r=e.value,n=e.label,a=e.type,l=e.placeholder,c=e.required,u=void 0!==c&&c,h=e.disabled,p=void 0!==h&&h,d=e.inputClassName,f=e.setFormValues,m=i((0,s.useState)(a),2),b=m[0],y=m[1];(0,s.useEffect)((function(){navigator.userAgent.indexOf("Opera Mini")>-1&&"email"===(null==b?void 0:b.toLowerCase())&&y("text"),"hidden"===(null==a?void 0:a.toLowerCase())&&t&&f((function(e){return G(G({},e),{},g({},t,r))}))}),[]);var v=o().createElement("input",{"data-hydrate":!0,type:b,className:"form__".concat(a,"-input ").concat(d),value:r,name:t,required:u,disabled:p,placeholder:l,onChange:function(e){if("submit"!==a){var t=e.target,r=t.name,n=t.value,i=t.checked;f((function(e){return G(G({},e),{},g({},r,"checkbox"===a?i:n))}))}}});return n?o().createElement("label",{className:"form__".concat(a,"-label")},v,n.text):o().createElement(o().Fragment,null,v)};var W=function(e){var t=e.layout,r=e.method,n=e.action,a=e.handleSubmit,l=e.inputs,c=i((0,s.useState)({}),2),u=c[0],h=c[1];return o().createElement("form",{"data-hydrate":!0,className:"newsletter-form__form newsletter-form__form--".concat(t),method:r,action:n,onSubmit:function(e){return a(e,u)}},null==l?void 0:l.map((function(e){return o().createElement($,{key:"".concat(e.name,"-").concat(e.value),setFormValues:h,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 X=function(e,t){document.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!1}))},J=function(e){var t=e.eventType,r=e.data;X(t,r)},Y=function(e,t){window.freyr.cmd.push((function(){window.freyr.pushAndUpdate(e,t)}))};var Z=function(e){var t,r,n,i,s,o,a,l,c,u={submission:{name:null!==(t=null==e?void 0:e.NAME)&&void 0!==t?t:"",email:null!==(r=null==e?void 0:e.MAIL)&&void 0!==r?r:"",code:null!==(n=null==e?void 0:e.NEWSLETTER_CODE)&&void 0!==n?n:"",source:null!==(i=null==e?void 0:e.SOURCE)&&void 0!==i?i:0,language:null!==(s=null==e?void 0:e.LANG)&&void 0!==s?s:"",consent:{marketing:null!==(o=null!==(a=Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS))&&void 0!==a?a:Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS_AND_PARTNERS))&&void 0!==o&&o,data:null!==(l=null!==(c=Boolean(null==e?void 0:e.CONTACT_PARTNERS))&&void 0!==c?c:Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS_AND_PARTNERS))&&void 0!==l&&l}}};return JSON.stringify(u)},Q=function(e){var t=e.layout,r=e.source;return"exitIntent"===t?"SIGNUP - Exit Intent - ".concat(r):"Newsletter signup - ".concat(r)};function K(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function ee(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var te="undefined"!=typeof window,re=function(e,t){return new URLSearchParams(e).get(t)};const ne=te?function(e){var t=window.location,r=(0,s.useState)((function(){return re(t.search,e)})),n=r[0],i=r[1];return(0,s.useEffect)((function(){var r=function(){i(re(t.search,e))};return K(window,"popstate",r),K(window,"pushstate",r),K(window,"replacestate",r),function(){ee(window,"popstate",r),ee(window,"pushstate",r),ee(window,"replacestate",r)}}),[]),n}:function(){return null},ie=o().memo((function(e){return o().createElement("svg",b({width:"22px",height:"22px",viewBox:"0 0 384 512"},e),o().createElement("path",{d:"M231.6 256l130.1-130.1c4.7-4.7 4.7-12.3 0-17l-22.6-22.6c-4.7-4.7-12.3-4.7-17 0L192 216.4 61.9 86.3c-4.7-4.7-12.3-4.7-17 0l-22.6 22.6c-4.7 4.7-4.7 12.3 0 17L152.4 256 22.3 386.1c-4.7 4.7-4.7 12.3 0 17l22.6 22.6c4.7 4.7 12.3 4.7 17 0L192 295.6l130.1 130.1c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17L231.6 256z"}))}));const se=function(e){var t=e.ariaLabels,r=e.children,n="FTR_Exit_Intent_Display",a=i((0,s.useState)(!1),2),l=a[0],c=a[1],u=function e(){if(!function(e){if("undefined"!=typeof document){var t=document.cookie.match("(^|;) ?".concat("FTR_Exit_Intent_Display","=([^;]*)(;|$)"));return t?t[2]:null}return null}()){c(!0);var t=new Date;t.setDate(t.getDate()+30),function(e){var t=e.name,r=e.value,n=e.expireDate,i=e.secure,s=e.path,o=e.domain,a=n?" Expires=".concat(null==n?void 0:n.toUTCString(),";"):"",l=s?" Path=".concat(s,";"):"",c=o&&"localhost"!==window.location.hostname&&"127.0.0.1"!==window.location.hostname?" Domain=".concat(o,";"):"",u=i?" Secure;":"";document.cookie="".concat(t,"=").concat(r,";").concat(a).concat(l).concat(c).concat(u)}({name:n,value:"0",expireDate:t,secure:!0,path:"/"})}document.body.removeEventListener("mouseleave",e)};return(0,s.useEffect)((function(){(window.reliableConsentGiven||Promise.resolve()).then((function(){document.body.addEventListener("mouseleave",u)})).catch((function(e){return console.error(e)}))}),[]),(0,s.useEffect)((function(){l&&(J({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:"SIGNUP - Exit Intent - 15",eventLabel:"show",dimension70:"15",nonInteraction:!1}}),Y("newsletterEvent",{newsletter:{action:"show",modal:"SIGNUP - Exit Intent - 15"}}))}),[l]),"email"===ne("utm_medium")?null:l?o().createElement("div",{className:"exit-intent exit-intent__background"},o().createElement("div",{className:"exit-intent__wrapper"},o().createElement("button",{onClick:function(){c(!1),J({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:"SIGNUP - Exit Intent - 15",eventLabel:"dismissed- cross",dimension70:"15",nonInteraction:!1}}),Y("newsletterEvent",{newsletter:{action:"close",modal:"SIGNUP - Exit Intent - 15"}})},className:"exit-intent__close-button",title:null==t?void 0:t.closeButton,"aria-label":null==t?void 0:t.closeButton},o().createElement(ie,null)),r)):null},oe=function(e){var t,r=e.layout,n=e.header,a=e.headerIcon,l=e.tagline,c=e.formFooterText,u=e.successMessage,h=e.failureMessage,p=e.inputs,d=e.endpoint,f=void 0===d?"":d,m=e.method,g=void 0===m?"GET":m,b=i((0,s.useState)(!0),2),y=b[0],v=b[1],w=i((0,s.useState)(""),2),x=w[0],S=w[1],_=i((0,s.useState)(!1),2),E=_[0],O=_[1],T=o().createElement("div",{"data-hydrate":!0,className:"newsletter-form__wrapper newsletter-form__wrapper--".concat(r)},o().createElement("div",{className:"newsletter-form__container"},(n||(null==a?void 0:a.svgContents)||(null==a?void 0:a.svgUrl))&&o().createElement("section",{className:"newsletter-form__top-bar"},"sidebar"===r&&a?null!=a&&a.svgContents?o().createElement("span",{className:"newsletter-form__headerIcon",dangerouslySetInnerHTML:{__html:null==a?void 0:a.svgContents}}):null!=a&&a.svgUrl?o().createElement(z,{src:a.svgUrl,alt:a.alt||"",className:"newsletter-form__headerIconImage"}):null:null,n&&o().createElement("h2",{className:"newsletter-form__header",dangerouslySetInnerHTML:{__html:n}})),o().createElement("section",{className:"newsletter-form__main-section"},l&&o().createElement("p",{className:"newsletter-form__strapline"},l),y?o().createElement(W,{layout:r,method:g,action:f,handleSubmit:function(e,t){e.preventDefault(),function(e){var t=e.formValues,r=e.endpoint,n=e.method,i=e.setFormMessage,s=e.successMessage,a=e.failureMessage,l=e.setRenderEmailForm,c=e.layout,u=e.setKiosqSuccessLayoutDisplayed;t&&!t.NAME&&fetch(r,{method:n,headers:new Headers({"Content-Type":"application/json",Accept:"application/json"}),body:Z(t)}).then((function(e){return e.json()})).then((function(e){var r,n,h,p=null==s?void 0:s.body;"kiosq"===c&&(u(!0),p=function(e){if(!e)return null;var t=e.title,r=e.body,n=e.buttonText,i=document.querySelector(".kiosq-description"),s=document.querySelector(".kiosq-conditions");return i&&i.insertAdjacentHTML("afterend",""),s&&s.insertAdjacentHTML("afterend",""),o().createElement("div",{"data-hydrate":!0,className:"newsletter-form__message--kiosq"},o().createElement("p",{className:"newsletter-form__message--kiosq-title"},t),o().createElement("p",{className:"newsletter-form__message--kiosq-text"},r),o().createElement("button",{className:"newsletter-form__message--kiosq-button",onClick:function(){document.dispatchEvent(new CustomEvent("kiosqRegwall",{detail:{message:"email sent"}})),localStorage.setItem("kiosqRegwall","Email already sent")}},n))}(s));var d=e.workflow.id?"successmessage":"failuremessage";J({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:Q({layout:c,source:null!==(r=null==t?void 0:t.SOURCE)&&void 0!==r?r:"0"}),eventLabel:d,dimension70:null!==(n=null==t?void 0:t.SOURCE)&&void 0!==n?n:"0",nonInteraction:!1}}),Y("newsletterEvent",{newsletter:{action:d,modal:Q({layout:c,source:null!==(h=null==t?void 0:t.SOURCE)&&void 0!==h?h:"0"})}}),i(e.workflow.id?p:a),l(!1)})).catch((function(e){i(a),l(!1),console.error("Form Slice - ".concat(a,": ").concat(e))}))}({formValues:t,endpoint:f,method:g,successMessage:u,failureMessage:h,setFormMessage:S,setRenderEmailForm:v,layout:r,setKiosqSuccessLayoutDisplayed:O})},inputs:p}):o().createElement("div",{className:"newsletter-form__message"},x),c&&!E&&o().createElement("footer",{className:"newsletter-form__footer",dangerouslySetInnerHTML:{__html:c}}))));return"exitIntent"===r?o().createElement(se,{ariaLabels:null===(t=e.ariaLabels)||void 0===t?void 0:t.exitIntent},T):T}},9996:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function o(e,t){try{return t in e}catch(e){return!1}}function a(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n;var c=Array.isArray(r);return c===Array.isArray(e)?c?l.arrayMerge(e,r,l):function(e,t,r){var i={};return r.isMergeableObject(e)&&s(e).forEach((function(t){i[t]=n(e[t],r)})),s(t).forEach((function(s){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(o(e,s)&&r.isMergeableObject(t[s])?i[s]=function(e,t){if(!t.customMerge)return a;var r=t.customMerge(e);return"function"==typeof r?r:a}(s,r)(e[s],t[s],r):i[s]=n(t[s],r))})),i}(e,r,l):n(r,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return a(e,r,t)}),{})};var l=a;e.exports=l},7837:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},7220:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(r(9960)),l=r(5863),c=r(7837),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var r=("length"in e?e:[e]),n="",i=0;i<r.length;i++)n+=d(r[i],t);return n}function d(e,t){switch(e.type){case a.Root:return p(e.children,t);case a.Directive:case a.Doctype:return"<"+e.data+">";case a.Comment:return"\x3c!--"+e.data+"--\x3e";case a.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case a.Script:case a.Style:case a.Tag:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!==(r=c.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&f.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1}))),!t.xmlMode&&m.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var i="<"+e.name,s=function(e,t){if(e)return Object.keys(e).map((function(r){var n,i,s=null!==(n=e[r])&&void 0!==n?n:"";return"foreign"===t.xmlMode&&(r=null!==(i=c.attributeNames.get(r))&&void 0!==i?i:r),t.emptyAttrs||t.xmlMode||""!==s?r+'="'+(!1!==t.decodeEntities?l.encodeXML(s):s.replace(/"/g,""))+'"':r})).join(" ")}(e.attribs,t);return s&&(i+=" "+s),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&h.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&h.has(e.name)||(i+="</"+e.name+">")),i}(e,t);case a.Text:return function(e,t){var r=e.data||"";return!1===t.decodeEntities||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=l.encodeXML(r)),r}(e,t)}}t.default=p;var f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"])},9960:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},7915:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var s=r(9960),o=r(7790);i(r(7790),t);var a=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,r){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?s.ElementType.Tag:void 0,n=new o.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,r=this.lastNode;if(r&&r.type===s.ElementType.Text)t?r.data=(r.data+e).replace(a," "):r.data+=e,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{t&&(e=e.replace(a," "));var n=new o.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment)this.lastNode.data+=e;else{var t=new o.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(""),t=new o.NodeWithChildren(s.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new o.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},7790:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},s.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=r(9960),a=new Map([[o.ElementType.Tag,1],[o.ElementType.Script,1],[o.ElementType.Style,1],[o.ElementType.Directive,1],[o.ElementType.Text,3],[o.ElementType.CDATA,4],[o.ElementType.Comment,8],[o.ElementType.Root,9]]),l=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=a.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),S(this,e)},e}();t.Node=l;var c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.data=r,n}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(l);t.DataNode=c;var u=function(e){function t(t){return e.call(this,o.ElementType.Text,t)||this}return i(t,e),t}(c);t.Text=u;var h=function(e){function t(t){return e.call(this,o.ElementType.Comment,t)||this}return i(t,e),t}(c);t.Comment=h;var p=function(e){function t(t,r){var n=e.call(this,o.ElementType.Directive,r)||this;return n.name=t,n}return i(t,e),t}(c);t.ProcessingInstruction=p;var d=function(e){function t(t,r){var n=e.call(this,t)||this;return n.children=r,n}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=d;var f=function(e){function t(t){return e.call(this,o.ElementType.Root,t)||this}return i(t,e),t}(d);t.Document=f;var m=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var s=e.call(this,i,n)||this;return s.name=t,s.attribs=r,s}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(d);function g(e){return(0,o.isTag)(e)}function b(e){return e.type===o.ElementType.CDATA}function y(e){return e.type===o.ElementType.Text}function v(e){return e.type===o.ElementType.Comment}function w(e){return e.type===o.ElementType.Directive}function x(e){return e.type===o.ElementType.Root}function S(e,t){var r;if(void 0===t&&(t=!1),y(e))r=new u(e.data);else if(v(e))r=new h(e.data);else if(g(e)){var n=t?_(e.children):[],i=new m(e.name,s({},e.attribs),n);n.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=s({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=s({},e["x-attribsPrefix"])),r=i}else if(b(e)){n=t?_(e.children):[];var a=new d(o.ElementType.CDATA,n);n.forEach((function(e){return e.parent=a})),r=a}else if(x(e)){n=t?_(e.children):[];var l=new f(n);n.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),r=l}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new p(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function _(e){for(var t=e.map((function(e){return S(e,!0)})),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=m,t.isTag=g,t.isCDATA=b,t.isText=y,t.isComment=v,t.isDirective=w,t.isDocument=x,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=S},6996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var n=r(3346),i=r(3905);t.getFeed=function(e){var t=l(h,e);return t?"feed"===t.name?function(e){var t,r=e.children,n={type:"atom",items:(0,i.getElementsByTagName)("entry",r).map((function(e){var t,r=e.children,n={media:a(r)};u(n,"id","id",r),u(n,"title","title",r);var i=null===(t=l("link",r))||void 0===t?void 0:t.attribs.href;i&&(n.link=i);var s=c("summary",r)||c("content",r);s&&(n.description=s);var o=c("updated",r);return o&&(n.pubDate=new Date(o)),n}))};u(n,"id","id",r),u(n,"title","title",r);var s=null===(t=l("link",r))||void 0===t?void 0:t.attribs.href;s&&(n.link=s),u(n,"description","subtitle",r);var o=c("updated",r);return o&&(n.updated=new Date(o)),u(n,"author","email",r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],s={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,r={media:a(t)};u(r,"id","guid",t),u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t);var n=c("pubDate",t);return n&&(r.pubDate=new Date(n)),r}))};u(s,"title","title",n),u(s,"link","link",n),u(s,"description","description",n);var o=c("lastBuildDate",n);return o&&(s.updated=new Date(o)),u(s,"author","managingEditor",n,!0),s}(t):null};var s=["url","type","lang"],o=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function a(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},n=0,i=s;n<i.length;n++)t[c=i[n]]&&(r[c]=t[c]);for(var a=0,l=o;a<l.length;a++){var c;t[c=l[a]]&&(r[c]=parseInt(t[c],10))}return t.expression&&(r.expression=t.expression),r}))}function l(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,r){return void 0===r&&(r=!1),(0,n.textContent)((0,i.getElementsByTagName)(e,t,r,1)).trim()}function u(e,t,r,n,i){void 0===i&&(i=!1);var s=c(r,n,i);s&&(e[t]=s)}function h(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},4975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var n=r(7915);function i(e,t){var r=[],i=[];if(e===t)return 0;for(var s=(0,n.hasChildren)(e)?e:e.parent;s;)r.unshift(s),s=s.parent;for(s=(0,n.hasChildren)(t)?t:t.parent;s;)i.unshift(s),s=s.parent;for(var o=Math.min(r.length,i.length),a=0;a<o&&r[a]===i[a];)a++;if(0===a)return 1;var l=r[a-1],c=l.children,u=r[a],h=i[a];return c.indexOf(u)>c.indexOf(h)?l===t?20:4:l===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,r){return!r.includes(e,t+1)}))).sort((function(e,t){var r=i(e,t);return 2&r?-1:4&r?1:0})),e}},9432:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(r(3346),t),i(r(5010),t),i(r(6765),t),i(r(8043),t),i(r(3905),t),i(r(4975),t),i(r(6996),t);var s=r(7915);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return s.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return s.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return s.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return s.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return s.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return s.hasChildren}})},3905:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var n=r(7915),i=r(8043),s={tag_name:function(e){return"function"==typeof e?function(t){return(0,n.isTag)(t)&&e(t.name)}:"*"===e?n.isTag:function(t){return(0,n.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,n.isText)(t)&&e(t.data)}:function(t){return(0,n.isText)(t)&&t.data===e}}};function o(e,t){return"function"==typeof t?function(r){return(0,n.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,n.isTag)(r)&&r.attribs[e]===t}}function a(e,t){return function(r){return e(r)||t(r)}}function l(e){var t=Object.keys(e).map((function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(s,t)?s[t](r):o(t,r)}));return 0===t.length?null:t.reduce(a)}t.testElement=function(e,t){var r=l(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var s=l(e);return s?(0,i.filter)(s,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(o("id",e),t,r)},t.getElementsByTagName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_type(e),t,r,n)}},6765:(e,t)=>{"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var s=i.children;s[s.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var s=n.children;s.splice(s.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},8043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var n=r(7915);function i(e,t,r,s){for(var o=[],a=0,l=t;a<l.length;a++){var c=l[a];if(e(c)&&(o.push(c),--s<=0))break;if(r&&(0,n.hasChildren)(c)&&c.children.length>0){var u=i(e,c.children,r,s);if(o.push.apply(o,u),(s-=u.length)<=0)break}}return o}t.filter=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),Array.isArray(t)||(t=[t]),i(e,t,r,n)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,r,i){void 0===i&&(i=!0);for(var s=null,o=0;o<r.length&&!s;o++){var a=r[o];(0,n.isTag)(a)&&(t(a)?s=a:i&&a.children.length>0&&(s=e(t,a.children)))}return s},t.existsOne=function e(t,r){return r.some((function(r){return(0,n.isTag)(r)&&(t(r)||r.children.length>0&&e(t,r.children))}))},t.findAll=function(e,t){for(var r,i,s=[],o=t.filter(n.isTag);i=o.shift();){var a=null===(r=i.children)||void 0===r?void 0:r.filter(n.isTag);a&&a.length>0&&o.unshift.apply(o,a),e(i)&&s.push(i)}return s}},3346:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=r(7915),s=n(r(7220)),o=r(9960);function a(e,t){return(0,s.default)(e,t)}t.getOuterHTML=a,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return a(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?" <br>":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===o.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},5010:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var n=r(7915),i=[];function s(e){var t;return null!==(t=e.children)&&void 0!==t?t:i}function o(e){return e.parent||null}t.getChildren=s,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return s(t);for(var r=[e],n=e.prev,i=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=i;)r.push(i),i=i.next;return r},t.getAttributeValue=function(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,n.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,n.isTag)(t);)t=t.prev;return t}},4076:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var i=n(r(9323)),s=n(r(9591)),o=n(r(2586)),a=n(r(26)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function c(e){var t=h(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=c(o.default),t.decodeHTMLStrict=c(i.default);var u=function(e,t){return e<t?1:-1};function h(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?a.default(parseInt(t.substr(3),16)):a.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(s.default).sort(u),t=Object.keys(i.default).sort(u),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var o=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),a=h(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(o,l)}}()},26:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(3600)),s=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"":(e in i.default&&(e=i.default[e]),s(e))}},7322:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=u(n(r(2586)).default),s=h(i);t.encodeXML=g(i);var o,a,l=u(n(r(9323)).default),c=h(l);function u(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function h(e){for(var t=[],r=[],n=0,i=Object.keys(e);n<i.length;n++){var s=i[n];1===s.length?t.push("\\"+s):r.push(s)}t.sort();for(var o=0;o<t.length-1;o++){for(var a=o;a<t.length-1&&t[a].charCodeAt(1)+1===t[a+1].charCodeAt(1);)a+=1;var l=1+a-o;l<3||t.splice(o,l,t[o]+"-"+t[a])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(o=l,a=c,function(e){return e.replace(a,(function(e){return o[e]})).replace(p,f)}),t.encodeNonAsciiHTML=g(l);var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function f(e){return"&#x"+(e.length>1?d(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var m=new RegExp(s.source+"|"+p.source,"g");function g(e){return function(t){return t.replace(m,(function(t){return e[t]||f(t)}))}}t.escape=function(e){return e.replace(m,f)},t.escapeUTF8=function(e){return e.replace(s,f)}},5863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(4076),i=r(7322);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.e
www.space.com

Space<\/title>

\t
\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t<\/g>
\t<\/g>
<\/g>
<\/svg>
","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<\/a> and Privacy Policy<\/a> 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":"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","ariaLabels":{"exitIntent":{"closeButton":"Close"}}}; /*! For license information please see newsletterForm.js.LICENSE.txt */ var newsletterForm;(()=>{var e={663:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,s=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(s.push(n.value),!t||s.length!==t);o=!0);}catch(e){a=!0,i=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.r(t),r.d(t,{default:()=>oe});var s=r(6651),o=r.n(s);function a(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=a(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function l(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=a(e))&&(n&&(n+=" "),n+=t);return n}var c="(?[/a-z0-9-]{0,}?)(?-[0-9]{0,5})?(?-[0-9]{2})?.(?png|jpg|jpeg|gif)(?.webp)?",u=[320,640,720,1280],h={default:"99vw"};const p=function(e){try{return new URL(e),!0}catch(e){return!1}};var d=function(e){return"string"==typeof e?new URL(e.replace(" ","%20")):e},f=function(e){var t="",r="";return Object.entries(e).forEach((function(e){var n=i(e,2),s=n[0],o=n[1];"default"===s?r=o:t="".concat(t,"(min-width: ").concat(s,") ").concat(o,", ")})),t="".concat(t).concat(r)};const m=function(e,t,r){var n="";return t.forEach((function(i,s){var o=t.length!==s+1?", ":"";n="".concat(n).concat(function(e,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:80,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?".webp":"";if(!p(e))return e;var i,s,o=d(e),a=new RegExp(c,"i"),l=o.pathname.match(a),u="";o.pathname&&l&&(u="".concat(null==l||null===(i=l.groups)||void 0===i?void 0:i.id,"-").concat(t,"-").concat(r,".").concat(null==l||null===(s=l.groups)||void 0===s?void 0:s.ext).concat(n));var h="";return o.protocol&&o.host&&(h="".concat(o.protocol,"//").concat(o.host)),h+u}(e,i,r)," ").concat(i,"w").concat(o)})),n};function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},b.apply(this,arguments)}const y=function(e){if(!p(e))return e;var t=d(e),r=new RegExp(c,"i"),n=t.pathname.match(r),i="";t.pathname&&null!=n&&n.groups&&(i="".concat(n.groups.id,".").concat(n.groups.ext));var s="";return t.protocol&&t.host&&(s="".concat(t.protocol,"//").concat(t.host)),s+i};var v=function(e){var t=function(e){var t,r=new RegExp(c,"i");if(!p(e))return"";var n=d(e).pathname.match(r);return(null==n||null===(t=n.groups)||void 0===t?void 0:t.ext)||""}(e);return""===t?t:("jpg"===t&&(t="jpeg"),"image/".concat(t))};function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}const x=function e(t){return"object"===w(t)&&t.origin?e(t.origin):"string"==typeof t&&t.includes(".mos.cms.futurecdn.net")};var S=["src","dataSrcSet","dataSrcSetWebp","imageSizes","onError"];function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const E=function(e){var t=e.src,r=e.alt,n=e.className,a=void 0===n?"":n,l=e.attributes,c=void 0===l?{}:l,p=e.srcSetSizes,d=void 0===p?u:p,w=e.sizes,E=void 0===w?h:w,O=e.missingImageSrc,T=void 0===O?"https://vanilla.futurecdn.net/cyclingnews/media/img/missing-image.svg":O,C=e.eager,k=void 0!==C&&C,A=e.onLoad,L=void 0===A?function(){}:A,D=e.setImageRef,P=void 0===D?function(){}:D,N=e.lazyLoading,M=void 0===N||N,j=e.useOriginalUrl,I=void 0!==j&&j,q=(0,s.useRef)(null),R=(0,s.useRef)(null),B=i((0,s.useState)(a),2),U=B[0],H=B[1],F=i((0,s.useState)(!1),2),z=F[0],V=F[1],G=function(){H((function(e){return"".concat(e," loaded")})),L()},$=I?y(t):t;if(!x($))return o().createElement("img",b({"data-hydrate":!0,key:"nomosimage ".concat($," ").concat(r),src:$,alt:r,onLoad:G,className:U},c));if(!M)return o().createElement("img",b({"data-hydrate":!0,key:"".concat($," ").concat(r),src:$,alt:r,onLoad:G,className:U},c));var W=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({src:T,dataSrcSet:m($,d,!1),dataSrcSetWebp:m($,d,!0),imageSizes:f(E),loading:k?"eager":"lazy",onError:function(e){[q,R].forEach((function(t){t.current&&(t.current.srcset=e.currentTarget.src)})),V(!0)},"data-normal":T,"data-original-mos":y($),"data-pin-media":y($),"data-pin-nopin":!0},c),X=W.src,J=W.dataSrcSet,Y=W.dataSrcSetWebp,Z=W.imageSizes,Q=W.onError,K=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(W,S);return o().createElement("picture",{"data-hydrate":!0},o().createElement("source",b({className:a,type:"image/webp",srcSet:Y,sizes:Z,ref:function(e){q.current=e}},K)),o().createElement("source",b({className:a,type:v($),srcSet:J,sizes:Z,ref:function(e){R.current=e}},K)),o().createElement("img",b({key:"image ".concat(X," ").concat(r),src:X,alt:r,sizes:Z,className:U,ref:function(e){e&&P(e)},onLoad:G,onError:z?null:Q},K)))},O=function(e){var t=e.notIntersected,r=e.intersected,n=e.keepRender,a=void 0===n||n,l=e.root,c=e.rootMargin,u=e.threshold,h=e.sendIsShow,p=i((0,s.useState)(!1),2),d=p[0],f=p[1],m=(0,s.useRef)(null);return(0,s.useEffect)((function(){if("undefined"!=typeof IntersectionObserver){var e=new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting?(f(!0),a&&m.current&&t.unobserve(m.current)):f(!1)}))}),{root:l,rootMargin:c,threshold:u});return m.current&&e.observe(m.current),function(){return e.disconnect()}}return function(){}}),[]),(0,s.useEffect)((function(){h&&h(d)}),[d]),o().createElement("div",{"data-hydrate":!0},d?r:o().createElement("div",{className:"lazy-observed",ref:function(e){e&&(m.current=e)}},t))},T=function(e){var t=e.src,r=e.width,n=e.height;return o().createElement("div",{itemScope:!0,itemType:"https://schema.org/ImageObject"},o().createElement("meta",{itemProp:"url",content:t}),r&&o().createElement("meta",{itemProp:"width",content:r.toString()}),n&&o().createElement("meta",{itemProp:"height",content:n.toString()}))},C=function(e){var t=e.src,r=e.alt,n=e.width,i=e.height,s=e.lazyLoading,a=e.eager,c=e.missingImageSrc,p=e.className,d=e.addSEOMetaData,g=e.srcSetSizes,b=void 0===g?u:g,y=e.sizes,v=void 0===y?h:y,w=e.onLoad,x=e.useOriginalUrl,S=e.nativeLazyLoad,_=void 0!==S&&S,C=l(p,"image__image"),k=function(){return _?o().createElement("img",{src:t,alt:r,srcSet:m(t,b,!1),sizes:f(v),className:C,onLoad:w,loading:"lazy"}):o().createElement(o().Fragment,null,o().createElement(E,{src:t,alt:r,eager:a,className:C,missingImageSrc:c,srcSetSizes:b,sizes:v,onLoad:w,lazyLoading:s,useOriginalUrl:x}),d&&o().createElement(T,{src:t,width:n,height:i}))};return s?o().createElement(O,{threshold:[0],rootMargin:"1200px",notIntersected:o().createElement("img",{src:c||"https://vanilla.futurecdn.net/cyclingnews/media/img/missing-image.svg",alt:r,className:C}),intersected:o().createElement(k,null)}):o().createElement(k,null)},k=function(e,t){return"_blank"===e&&t?"".concat(t," noreferrer noopener"):"_blank"!==e||t?t:"noreferrer noopener"};function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const D=function(e){var t=e.href,r=e.target,n=e.rel,i=e.classname,s=e.text,a=e.ariaLabel,l=e.dataAttributes,c=e.children,u=e.tabIndex,h=(l||[]).reduce((function(e,t){return L(L({},e),{},g({},"data-".concat(t.key),t.value||""))}),{});return c?o().createElement("a",b({href:t,target:r||"_self",rel:k(r,n),className:"link ".concat(i||""),"aria-label":a,tabIndex:u},h),c):o().createElement("a",b({href:t,target:r||"_self",rel:k(r,n),className:"link ".concat(i||""),tabIndex:u,dangerouslySetInnerHTML:{__html:s},"aria-label":a},h))};var P=function(e){switch(e){case"top-left":return"img__endorsement--top-left";case"top-right":return"img__endorsement--top-right";case"bottom-left":return"img__endorsement--bottom-left";default:return"img__endorsement--bottom-right"}},N=function(e){switch(e){case"top-left":return"img__award--top-left";case"top-right":return"img__award--top-right";case"bottom-left":return"img__award--bottom-left";default:return"img__award--bottom-right"}},M=function(e,t){if(!e||!t)return 56.25;var r=t/e*100;return r>150?150:r},j=r(9632),I=r.n(j);var q=r(1036),R=r.n(q),B={allowedTags:["b","i","em","strong","a","p","br","span"],allowedAttributes:{a:["href","name","target"],span:["class"]},selfClosing:["input","br"],transformTags:{h1:"strong",h2:"strong",h3:"strong"}};const U=function(e){return void 0!==e?R()(e,B):""},H=function(e){var t,r=e.caption,n=e.credit;return n&&(t=function(e,t){var r=/{(\w+)}/g;if(Object.values(t).every((function(e){return"string"==typeof e}))){var n=t;return e.replaceAll(r,(function(e,t){return n[t]?n[t]:e}))}return I()(e,r,(function(e,r){return o().createElement(s.Fragment,{key:"".concat(e,"-").concat(r)},t[e]?t[e]:"{".concat(e,"}"))})).filter((function(e){return""!==e}))}(n.text,{subject:n.subject})),o().createElement("figcaption",{className:"caption-credit__figcaption"},r&&o().createElement("span",{className:"caption-credit__caption",dangerouslySetInnerHTML:{__html:U(r)}}),t&&("string"==typeof t?o().createElement("span",{className:"caption-credit__credit",itemProp:"copyrightHolder",dangerouslySetInnerHTML:{__html:U(t)}}):o().createElement("span",{className:"caption-credit__credit",itemProp:"copyrightHolder"},t)))};var F=function(e){var t=e.src,r=e.alt,n=e.caption,i=e.credit,s=e.width,a=e.height,c=e.lazyLoading,u=e.eager,h=e.onLoad,p=e.imageEndorsement,d=e.imageAward,f=e.missingImageSrc,m=e.className,g=e.addSEOMetaData,b=e.srcSetSizes,y=e.sizes,v=e.removeNativeWidthRestriction,w=e.setImageWidthsetterRef,x=e.setImageAspectPaddingRef,S=e.useOriginalUrl,_=e.dataBordeauxImageCheckAttr,E=e.nativeLazyLoad,O=e.noCredit,T={paddingBottom:"".concat(M(s,a),"%")},k={maxWidth:s?"".concat(s,"px"):"none"};return o().createElement("figure",{className:"image-wrapped__wrapper","data-bordeaux-image-check":_},o().createElement("div",{className:"image-wrapped__widthsetter",style:v?{}:k,ref:function(e){e&&w&&w(e)}},o().createElement("div",{className:"image-wrapped__aspect-padding",style:T,ref:function(e){e&&x&&x(e)}},d&&o().createElement(C,{src:d.src,alt:d.alt,className:"img__award ".concat(N(d.position)),nativeLazyLoad:E}),p&&o().createElement(C,{src:p.src,alt:p.alt,lazyLoading:c,eager:u,onLoad:h,className:"img__endorsement ".concat(P(p.position)),missingImageSrc:f,nativeLazyLoad:E}),o().createElement(C,{src:t,alt:r,width:s,height:a,lazyLoading:c,eager:u,onLoad:h,missingImageSrc:f,className:l(m,"image-wrapped__image"),addSEOMetaData:g,srcSetSizes:b,sizes:y,useOriginalUrl:S,nativeLazyLoad:E}))),(n||i)&&!O&&o().createElement(H,{caption:n,credit:i}))};const z=function(e){var t=e.src,r=e.alt,n=e.caption,i=e.credit,s=e.width,a=e.height,l=e.lazyLoading,c=e.eager,u=e.onLoad,h=e.imageEndorsement,p=e.imageAward,d=e.missingImageSrc,f=e.link,m={src:t,alt:r,caption:n,credit:i,width:s,height:a,lazyLoading:l,eager:c,onLoad:u,imageEndorsement:h,imageAward:p,missingImageSrc:d,link:f,className:e.className,addSEOMetaData:e.addSEOMetaData,srcSetSizes:e.srcSetSizes,sizes:e.sizes,removeNativeWidthRestriction:e.removeNativeWidthRestriction,setImageWidthsetterRef:e.setImageWidthsetterRef,setImageAspectPaddingRef:e.setImageAspectPaddingRef,useOriginalUrl:e.useOriginalUrl,dataBordeauxImageCheckAttr:e.dataBordeauxImageCheckAttr,nativeLazyLoad:e.nativeLazyLoad,noCredit:e.noCredit};return f?o().createElement(D,f,o().createElement(F,m)):o().createElement(F,m)};function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const $=function(e){var t=e.name,r=e.value,n=e.label,a=e.type,l=e.placeholder,c=e.required,u=void 0!==c&&c,h=e.disabled,p=void 0!==h&&h,d=e.inputClassName,f=e.setFormValues,m=i((0,s.useState)(a),2),b=m[0],y=m[1];(0,s.useEffect)((function(){navigator.userAgent.indexOf("Opera Mini")>-1&&"email"===(null==b?void 0:b.toLowerCase())&&y("text"),"hidden"===(null==a?void 0:a.toLowerCase())&&t&&f((function(e){return G(G({},e),{},g({},t,r))}))}),[]);var v=o().createElement("input",{"data-hydrate":!0,type:b,className:"form__".concat(a,"-input ").concat(d),value:r,name:t,required:u,disabled:p,placeholder:l,onChange:function(e){if("submit"!==a){var t=e.target,r=t.name,n=t.value,i=t.checked;f((function(e){return G(G({},e),{},g({},r,"checkbox"===a?i:n))}))}}});return n?o().createElement("label",{className:"form__".concat(a,"-label")},v,n.text):o().createElement(o().Fragment,null,v)};var W=function(e){var t=e.layout,r=e.method,n=e.action,a=e.handleSubmit,l=e.inputs,c=i((0,s.useState)({}),2),u=c[0],h=c[1];return o().createElement("form",{"data-hydrate":!0,className:"newsletter-form__form newsletter-form__form--".concat(t),method:r,action:n,onSubmit:function(e){return a(e,u)}},null==l?void 0:l.map((function(e){return o().createElement($,{key:"".concat(e.name,"-").concat(e.value),setFormValues:h,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 X=function(e,t){document.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!1}))},J=function(e){var t=e.eventType,r=e.data;X(t,r)},Y=function(e,t){window.freyr.cmd.push((function(){window.freyr.pushAndUpdate(e,t)}))};var Z=function(e){var t,r,n,i,s,o,a,l,c,u={submission:{name:null!==(t=null==e?void 0:e.NAME)&&void 0!==t?t:"",email:null!==(r=null==e?void 0:e.MAIL)&&void 0!==r?r:"",code:null!==(n=null==e?void 0:e.NEWSLETTER_CODE)&&void 0!==n?n:"",source:null!==(i=null==e?void 0:e.SOURCE)&&void 0!==i?i:0,language:null!==(s=null==e?void 0:e.LANG)&&void 0!==s?s:"",consent:{marketing:null!==(o=null!==(a=Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS))&&void 0!==a?a:Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS_AND_PARTNERS))&&void 0!==o&&o,data:null!==(l=null!==(c=Boolean(null==e?void 0:e.CONTACT_PARTNERS))&&void 0!==c?c:Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS_AND_PARTNERS))&&void 0!==l&&l}}};return JSON.stringify(u)},Q=function(e){var t=e.layout,r=e.source;return"exitIntent"===t?"SIGNUP - Exit Intent - ".concat(r):"Newsletter signup - ".concat(r)};function K(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function ee(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var te="undefined"!=typeof window,re=function(e,t){return new URLSearchParams(e).get(t)};const ne=te?function(e){var t=window.location,r=(0,s.useState)((function(){return re(t.search,e)})),n=r[0],i=r[1];return(0,s.useEffect)((function(){var r=function(){i(re(t.search,e))};return K(window,"popstate",r),K(window,"pushstate",r),K(window,"replacestate",r),function(){ee(window,"popstate",r),ee(window,"pushstate",r),ee(window,"replacestate",r)}}),[]),n}:function(){return null},ie=o().memo((function(e){return o().createElement("svg",b({width:"22px",height:"22px",viewBox:"0 0 384 512"},e),o().createElement("path",{d:"M231.6 256l130.1-130.1c4.7-4.7 4.7-12.3 0-17l-22.6-22.6c-4.7-4.7-12.3-4.7-17 0L192 216.4 61.9 86.3c-4.7-4.7-12.3-4.7-17 0l-22.6 22.6c-4.7 4.7-4.7 12.3 0 17L152.4 256 22.3 386.1c-4.7 4.7-4.7 12.3 0 17l22.6 22.6c4.7 4.7 12.3 4.7 17 0L192 295.6l130.1 130.1c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17L231.6 256z"}))}));const se=function(e){var t=e.ariaLabels,r=e.children,n="FTR_Exit_Intent_Display",a=i((0,s.useState)(!1),2),l=a[0],c=a[1],u=function e(){if(!function(e){if("undefined"!=typeof document){var t=document.cookie.match("(^|;) ?".concat("FTR_Exit_Intent_Display","=([^;]*)(;|$)"));return t?t[2]:null}return null}()){c(!0);var t=new Date;t.setDate(t.getDate()+30),function(e){var t=e.name,r=e.value,n=e.expireDate,i=e.secure,s=e.path,o=e.domain,a=n?" Expires=".concat(null==n?void 0:n.toUTCString(),";"):"",l=s?" Path=".concat(s,";"):"",c=o&&"localhost"!==window.location.hostname&&"127.0.0.1"!==window.location.hostname?" Domain=".concat(o,";"):"",u=i?" Secure;":"";document.cookie="".concat(t,"=").concat(r,";").concat(a).concat(l).concat(c).concat(u)}({name:n,value:"0",expireDate:t,secure:!0,path:"/"})}document.body.removeEventListener("mouseleave",e)};return(0,s.useEffect)((function(){(window.reliableConsentGiven||Promise.resolve()).then((function(){document.body.addEventListener("mouseleave",u)})).catch((function(e){return console.error(e)}))}),[]),(0,s.useEffect)((function(){l&&(J({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:"SIGNUP - Exit Intent - 15",eventLabel:"show",dimension70:"15",nonInteraction:!1}}),Y("newsletterEvent",{newsletter:{action:"show",modal:"SIGNUP - Exit Intent - 15"}}))}),[l]),"email"===ne("utm_medium")?null:l?o().createElement("div",{className:"exit-intent exit-intent__background"},o().createElement("div",{className:"exit-intent__wrapper"},o().createElement("button",{onClick:function(){c(!1),J({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:"SIGNUP - Exit Intent - 15",eventLabel:"dismissed- cross",dimension70:"15",nonInteraction:!1}}),Y("newsletterEvent",{newsletter:{action:"close",modal:"SIGNUP - Exit Intent - 15"}})},className:"exit-intent__close-button",title:null==t?void 0:t.closeButton,"aria-label":null==t?void 0:t.closeButton},o().createElement(ie,null)),r)):null},oe=function(e){var t,r=e.layout,n=e.header,a=e.headerIcon,l=e.tagline,c=e.formFooterText,u=e.successMessage,h=e.failureMessage,p=e.inputs,d=e.endpoint,f=void 0===d?"":d,m=e.method,g=void 0===m?"GET":m,b=i((0,s.useState)(!0),2),y=b[0],v=b[1],w=i((0,s.useState)(""),2),x=w[0],S=w[1],_=i((0,s.useState)(!1),2),E=_[0],O=_[1],T=o().createElement("div",{"data-hydrate":!0,className:"newsletter-form__wrapper newsletter-form__wrapper--".concat(r)},o().createElement("div",{className:"newsletter-form__container"},(n||(null==a?void 0:a.svgContents)||(null==a?void 0:a.svgUrl))&&o().createElement("section",{className:"newsletter-form__top-bar"},"sidebar"===r&&a?null!=a&&a.svgContents?o().createElement("span",{className:"newsletter-form__headerIcon",dangerouslySetInnerHTML:{__html:null==a?void 0:a.svgContents}}):null!=a&&a.svgUrl?o().createElement(z,{src:a.svgUrl,alt:a.alt||"",className:"newsletter-form__headerIconImage"}):null:null,n&&o().createElement("h2",{className:"newsletter-form__header",dangerouslySetInnerHTML:{__html:n}})),o().createElement("section",{className:"newsletter-form__main-section"},l&&o().createElement("p",{className:"newsletter-form__strapline"},l),y?o().createElement(W,{layout:r,method:g,action:f,handleSubmit:function(e,t){e.preventDefault(),function(e){var t=e.formValues,r=e.endpoint,n=e.method,i=e.setFormMessage,s=e.successMessage,a=e.failureMessage,l=e.setRenderEmailForm,c=e.layout,u=e.setKiosqSuccessLayoutDisplayed;t&&!t.NAME&&fetch(r,{method:n,headers:new Headers({"Content-Type":"application/json",Accept:"application/json"}),body:Z(t)}).then((function(e){return e.json()})).then((function(e){var r,n,h,p=null==s?void 0:s.body;"kiosq"===c&&(u(!0),p=function(e){if(!e)return null;var t=e.title,r=e.body,n=e.buttonText,i=document.querySelector(".kiosq-description"),s=document.querySelector(".kiosq-conditions");return i&&i.insertAdjacentHTML("afterend",""),s&&s.insertAdjacentHTML("afterend",""),o().createElement("div",{"data-hydrate":!0,className:"newsletter-form__message--kiosq"},o().createElement("p",{className:"newsletter-form__message--kiosq-title"},t),o().createElement("p",{className:"newsletter-form__message--kiosq-text"},r),o().createElement("button",{className:"newsletter-form__message--kiosq-button",onClick:function(){document.dispatchEvent(new CustomEvent("kiosqRegwall",{detail:{message:"email sent"}})),localStorage.setItem("kiosqRegwall","Email already sent")}},n))}(s));var d=e.workflow.id?"successmessage":"failuremessage";J({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:Q({layout:c,source:null!==(r=null==t?void 0:t.SOURCE)&&void 0!==r?r:"0"}),eventLabel:d,dimension70:null!==(n=null==t?void 0:t.SOURCE)&&void 0!==n?n:"0",nonInteraction:!1}}),Y("newsletterEvent",{newsletter:{action:d,modal:Q({layout:c,source:null!==(h=null==t?void 0:t.SOURCE)&&void 0!==h?h:"0"})}}),i(e.workflow.id?p:a),l(!1)})).catch((function(e){i(a),l(!1),console.error("Form Slice - ".concat(a,": ").concat(e))}))}({formValues:t,endpoint:f,method:g,successMessage:u,failureMessage:h,setFormMessage:S,setRenderEmailForm:v,layout:r,setKiosqSuccessLayoutDisplayed:O})},inputs:p}):o().createElement("div",{className:"newsletter-form__message"},x),c&&!E&&o().createElement("footer",{className:"newsletter-form__footer",dangerouslySetInnerHTML:{__html:c}}))));return"exitIntent"===r?o().createElement(se,{ariaLabels:null===(t=e.ariaLabels)||void 0===t?void 0:t.exitIntent},T):T}},9996:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function o(e,t){try{return t in e}catch(e){return!1}}function a(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n;var c=Array.isArray(r);return c===Array.isArray(e)?c?l.arrayMerge(e,r,l):function(e,t,r){var i={};return r.isMergeableObject(e)&&s(e).forEach((function(t){i[t]=n(e[t],r)})),s(t).forEach((function(s){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(o(e,s)&&r.isMergeableObject(t[s])?i[s]=function(e,t){if(!t.customMerge)return a;var r=t.customMerge(e);return"function"==typeof r?r:a}(s,r)(e[s],t[s],r):i[s]=n(t[s],r))})),i}(e,r,l):n(r,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return a(e,r,t)}),{})};var l=a;e.exports=l},7837:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},7220:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(r(9960)),l=r(5863),c=r(7837),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var r=("length"in e?e:[e]),n="",i=0;i<r.length;i++)n+=d(r[i],t);return n}function d(e,t){switch(e.type){case a.Root:return p(e.children,t);case a.Directive:case a.Doctype:return"<"+e.data+">";case a.Comment:return"\x3c!--"+e.data+"--\x3e";case a.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case a.Script:case a.Style:case a.Tag:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!==(r=c.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&f.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1}))),!t.xmlMode&&m.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var i="<"+e.name,s=function(e,t){if(e)return Object.keys(e).map((function(r){var n,i,s=null!==(n=e[r])&&void 0!==n?n:"";return"foreign"===t.xmlMode&&(r=null!==(i=c.attributeNames.get(r))&&void 0!==i?i:r),t.emptyAttrs||t.xmlMode||""!==s?r+'="'+(!1!==t.decodeEntities?l.encodeXML(s):s.replace(/"/g,""))+'"':r})).join(" ")}(e.attribs,t);return s&&(i+=" "+s),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&h.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&h.has(e.name)||(i+="</"+e.name+">")),i}(e,t);case a.Text:return function(e,t){var r=e.data||"";return!1===t.decodeEntities||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=l.encodeXML(r)),r}(e,t)}}t.default=p;var f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"])},9960:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},7915:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var s=r(9960),o=r(7790);i(r(7790),t);var a=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,r){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?s.ElementType.Tag:void 0,n=new o.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,r=this.lastNode;if(r&&r.type===s.ElementType.Text)t?r.data=(r.data+e).replace(a," "):r.data+=e,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{t&&(e=e.replace(a," "));var n=new o.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment)this.lastNode.data+=e;else{var t=new o.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(""),t=new o.NodeWithChildren(s.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new o.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},7790:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},s.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=r(9960),a=new Map([[o.ElementType.Tag,1],[o.ElementType.Script,1],[o.ElementType.Style,1],[o.ElementType.Directive,1],[o.ElementType.Text,3],[o.ElementType.CDATA,4],[o.ElementType.Comment,8],[o.ElementType.Root,9]]),l=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=a.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),S(this,e)},e}();t.Node=l;var c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.data=r,n}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(l);t.DataNode=c;var u=function(e){function t(t){return e.call(this,o.ElementType.Text,t)||this}return i(t,e),t}(c);t.Text=u;var h=function(e){function t(t){return e.call(this,o.ElementType.Comment,t)||this}return i(t,e),t}(c);t.Comment=h;var p=function(e){function t(t,r){var n=e.call(this,o.ElementType.Directive,r)||this;return n.name=t,n}return i(t,e),t}(c);t.ProcessingInstruction=p;var d=function(e){function t(t,r){var n=e.call(this,t)||this;return n.children=r,n}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=d;var f=function(e){function t(t){return e.call(this,o.ElementType.Root,t)||this}return i(t,e),t}(d);t.Document=f;var m=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var s=e.call(this,i,n)||this;return s.name=t,s.attribs=r,s}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(d);function g(e){return(0,o.isTag)(e)}function b(e){return e.type===o.ElementType.CDATA}function y(e){return e.type===o.ElementType.Text}function v(e){return e.type===o.ElementType.Comment}function w(e){return e.type===o.ElementType.Directive}function x(e){return e.type===o.ElementType.Root}function S(e,t){var r;if(void 0===t&&(t=!1),y(e))r=new u(e.data);else if(v(e))r=new h(e.data);else if(g(e)){var n=t?_(e.children):[],i=new m(e.name,s({},e.attribs),n);n.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=s({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=s({},e["x-attribsPrefix"])),r=i}else if(b(e)){n=t?_(e.children):[];var a=new d(o.ElementType.CDATA,n);n.forEach((function(e){return e.parent=a})),r=a}else if(x(e)){n=t?_(e.children):[];var l=new f(n);n.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),r=l}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new p(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function _(e){for(var t=e.map((function(e){return S(e,!0)})),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=m,t.isTag=g,t.isCDATA=b,t.isText=y,t.isComment=v,t.isDirective=w,t.isDocument=x,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=S},6996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var n=r(3346),i=r(3905);t.getFeed=function(e){var t=l(h,e);return t?"feed"===t.name?function(e){var t,r=e.children,n={type:"atom",items:(0,i.getElementsByTagName)("entry",r).map((function(e){var t,r=e.children,n={media:a(r)};u(n,"id","id",r),u(n,"title","title",r);var i=null===(t=l("link",r))||void 0===t?void 0:t.attribs.href;i&&(n.link=i);var s=c("summary",r)||c("content",r);s&&(n.description=s);var o=c("updated",r);return o&&(n.pubDate=new Date(o)),n}))};u(n,"id","id",r),u(n,"title","title",r);var s=null===(t=l("link",r))||void 0===t?void 0:t.attribs.href;s&&(n.link=s),u(n,"description","subtitle",r);var o=c("updated",r);return o&&(n.updated=new Date(o)),u(n,"author","email",r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],s={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,r={media:a(t)};u(r,"id","guid",t),u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t);var n=c("pubDate",t);return n&&(r.pubDate=new Date(n)),r}))};u(s,"title","title",n),u(s,"link","link",n),u(s,"description","description",n);var o=c("lastBuildDate",n);return o&&(s.updated=new Date(o)),u(s,"author","managingEditor",n,!0),s}(t):null};var s=["url","type","lang"],o=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function a(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},n=0,i=s;n<i.length;n++)t[c=i[n]]&&(r[c]=t[c]);for(var a=0,l=o;a<l.length;a++){var c;t[c=l[a]]&&(r[c]=parseInt(t[c],10))}return t.expression&&(r.expression=t.expression),r}))}function l(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,r){return void 0===r&&(r=!1),(0,n.textContent)((0,i.getElementsByTagName)(e,t,r,1)).trim()}function u(e,t,r,n,i){void 0===i&&(i=!1);var s=c(r,n,i);s&&(e[t]=s)}function h(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},4975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var n=r(7915);function i(e,t){var r=[],i=[];if(e===t)return 0;for(var s=(0,n.hasChildren)(e)?e:e.parent;s;)r.unshift(s),s=s.parent;for(s=(0,n.hasChildren)(t)?t:t.parent;s;)i.unshift(s),s=s.parent;for(var o=Math.min(r.length,i.length),a=0;a<o&&r[a]===i[a];)a++;if(0===a)return 1;var l=r[a-1],c=l.children,u=r[a],h=i[a];return c.indexOf(u)>c.indexOf(h)?l===t?20:4:l===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,r){return!r.includes(e,t+1)}))).sort((function(e,t){var r=i(e,t);return 2&r?-1:4&r?1:0})),e}},9432:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(r(3346),t),i(r(5010),t),i(r(6765),t),i(r(8043),t),i(r(3905),t),i(r(4975),t),i(r(6996),t);var s=r(7915);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return s.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return s.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return s.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return s.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return s.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return s.hasChildren}})},3905:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var n=r(7915),i=r(8043),s={tag_name:function(e){return"function"==typeof e?function(t){return(0,n.isTag)(t)&&e(t.name)}:"*"===e?n.isTag:function(t){return(0,n.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,n.isText)(t)&&e(t.data)}:function(t){return(0,n.isText)(t)&&t.data===e}}};function o(e,t){return"function"==typeof t?function(r){return(0,n.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,n.isTag)(r)&&r.attribs[e]===t}}function a(e,t){return function(r){return e(r)||t(r)}}function l(e){var t=Object.keys(e).map((function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(s,t)?s[t](r):o(t,r)}));return 0===t.length?null:t.reduce(a)}t.testElement=function(e,t){var r=l(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var s=l(e);return s?(0,i.filter)(s,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(o("id",e),t,r)},t.getElementsByTagName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_type(e),t,r,n)}},6765:(e,t)=>{"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var s=i.children;s[s.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var s=n.children;s.splice(s.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},8043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var n=r(7915);function i(e,t,r,s){for(var o=[],a=0,l=t;a<l.length;a++){var c=l[a];if(e(c)&&(o.push(c),--s<=0))break;if(r&&(0,n.hasChildren)(c)&&c.children.length>0){var u=i(e,c.children,r,s);if(o.push.apply(o,u),(s-=u.length)<=0)break}}return o}t.filter=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),Array.isArray(t)||(t=[t]),i(e,t,r,n)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,r,i){void 0===i&&(i=!0);for(var s=null,o=0;o<r.length&&!s;o++){var a=r[o];(0,n.isTag)(a)&&(t(a)?s=a:i&&a.children.length>0&&(s=e(t,a.children)))}return s},t.existsOne=function e(t,r){return r.some((function(r){return(0,n.isTag)(r)&&(t(r)||r.children.length>0&&e(t,r.children))}))},t.findAll=function(e,t){for(var r,i,s=[],o=t.filter(n.isTag);i=o.shift();){var a=null===(r=i.children)||void 0===r?void 0:r.filter(n.isTag);a&&a.length>0&&o.unshift.apply(o,a),e(i)&&s.push(i)}return s}},3346:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=r(7915),s=n(r(7220)),o=r(9960);function a(e,t){return(0,s.default)(e,t)}t.getOuterHTML=a,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return a(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"
":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===o.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},5010:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var n=r(7915),i=[];function s(e){var t;return null!==(t=e.children)&&void 0!==t?t:i}function o(e){return e.parent||null}t.getChildren=s,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return s(t);for(var r=[e],n=e.prev,i=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=i;)r.push(i),i=i.next;return r},t.getAttributeValue=function(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,n.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,n.isTag)(t);)t=t.prev;return t}},4076:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var i=n(r(9323)),s=n(r(9591)),o=n(r(2586)),a=n(r(26)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function c(e){var t=h(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=c(o.default),t.decodeHTMLStrict=c(i.default);var u=function(e,t){return e<t?1:-1};function h(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?a.default(parseInt(t.substr(3),16)):a.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(s.default).sort(u),t=Object.keys(i.default).sort(u),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var o=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),a=h(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(o,l)}}()},26:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(3600)),s=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"":(e in i.default&&(e=i.default[e]),s(e))}},7322:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=u(n(r(2586)).default),s=h(i);t.encodeXML=g(i);var o,a,l=u(n(r(9323)).default),c=h(l);function u(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function h(e){for(var t=[],r=[],n=0,i=Object.keys(e);n<i.length;n++){var s=i[n];1===s.length?t.push("\\"+s):r.push(s)}t.sort();for(var o=0;o<t.length-1;o++){for(var a=o;a<t.length-1&&t[a].charCodeAt(1)+1===t[a+1].charCodeAt(1);)a+=1;var l=1+a-o;l<3||t.splice(o,l,t[o]+"-"+t[a])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(o=l,a=c,function(e){return e.replace(a,(function(e){return o[e]})).replace(p,f)}),t.encodeNonAsciiHTML=g(l);var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function f(e){return"&#x"+(e.length>1?d(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var m=new RegExp(s.source+"|"+p.source,"g");function g(e){return function(t){return t.replace(m,(function(t){return e[t]||f(t)}))}}t.escape=function(e){return e.replace(m,f)},t.escapeUTF8=function(e){return e.replace(s,f)}},5863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(4076),i=r(7322);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.e

NASA astronaut Jasmin Moghbeli watched Russia's Progress MS-23 cargo ship burn up in Earth's atmosphere just hours after it undocked from the International Space Station.
1 d - Translate

https://www.theguardian.com/sc....ience/2023/nov/28/it

‘It’s amazing’: scientists analyse 4.6bn-year-old dark dust from Bennu asteroid | Asteroids | The Guardian
www.theguardian.com

‘It’s amazing’: scientists analyse 4.6bn-year-old dark dust from Bennu asteroid | Asteroids | The Guardian

Natural History Museum prepares to study pristine material gathered in Nasas Osiris-Rex mission
1 d - Translate

Hmmm interesting!🤔🧐




https://www.france24.com/en/li....ve-news/20231130-aft

After 50 years, US to return to Moon on January 25

After 50 years, US to return to Moon on January 25

More than 50 years after the last Apollo mission, the United States will try once again to land a craft on the Moon on January 25, said the head of what could be the first private company to successfully…
1 d - Translate

Oh my creepy!


https://www.miamiherald.com/ne....ws/nation-world/worl

1 d - Translate

https://wgntv.com/news/illinoi....s/northern-lights-il

Close Modal
wgntv.com

Close Modal

Multiple states have a chance at seeing the northern lights Thursday and into Friday.
1 d - Translate

https://www.space.com/six-sub-....neptunes-found-100-l

Space<\/title> <br> <br>\t <br>\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t\t <br>\t\t<\/g> <br>\t<\/g> <br><\/g> <br><\/svg> <br>","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<\/a> and Privacy Policy<\/a> 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":"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","ariaLabels":{"exitIntent":{"closeButton":"Close"}}};                 /*! For license information please see newsletterForm.js.LICENSE.txt */ var newsletterForm;(()=>{var e={663:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,s=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(s.push(n.value),!t||s.length!==t);o=!0);}catch(e){a=!0,i=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance. <br>In order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.r(t),r.d(t,{default:()=>oe});var s=r(6651),o=r.n(s);function a(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=a(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function l(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=a(e))&&(n&&(n+=" "),n+=t);return n}var c="(?[/a-z0-9-]{0,}?)(?-[0-9]{0,5})?(?-[0-9]{2})?.(?png|jpg|jpeg|gif)(?.webp)?",u=[320,640,720,1280],h={default:"99vw"};const p=function(e){try{return new URL(e),!0}catch(e){return!1}};var d=function(e){return"string"==typeof e?new URL(e.replace(" ","%20")):e},f=function(e){var t="",r="";return Object.entries(e).forEach((function(e){var n=i(e,2),s=n[0],o=n[1];"default"===s?r=o:t="".concat(t,"(min-width: ").concat(s,") ").concat(o,", ")})),t="".concat(t).concat(r)};const m=function(e,t,r){var n="";return t.forEach((function(i,s){var o=t.length!==s+1?", ":"";n="".concat(n).concat(function(e,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:80,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?".webp":"";if(!p(e))return e;var i,s,o=d(e),a=new RegExp(c,"i"),l=o.pathname.match(a),u="";o.pathname&&l&&(u="".concat(null==l||null===(i=l.groups)||void 0===i?void 0:i.id,"-").concat(t,"-").concat(r,".").concat(null==l||null===(s=l.groups)||void 0===s?void 0:s.ext).concat(n));var h="";return o.protocol&&o.host&&(h="".concat(o.protocol,"//").concat(o.host)),h+u}(e,i,r)," ").concat(i,"w").concat(o)})),n};function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},b.apply(this,arguments)}const y=function(e){if(!p(e))return e;var t=d(e),r=new RegExp(c,"i"),n=t.pathname.match(r),i="";t.pathname&&null!=n&&n.groups&&(i="".concat(n.groups.id,".").concat(n.groups.ext));var s="";return t.protocol&&t.host&&(s="".concat(t.protocol,"//").concat(t.host)),s+i};var v=function(e){var t=function(e){var t,r=new RegExp(c,"i");if(!p(e))return"";var n=d(e).pathname.match(r);return(null==n||null===(t=n.groups)||void 0===t?void 0:t.ext)||""}(e);return""===t?t:("jpg"===t&&(t="jpeg"),"image/".concat(t))};function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}const x=function e(t){return"object"===w(t)&&t.origin?e(t.origin):"string"==typeof t&&t.includes(".mos.cms.futurecdn.net")};var S=["src","dataSrcSet","dataSrcSetWebp","imageSizes","onError"];function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const E=function(e){var t=e.src,r=e.alt,n=e.className,a=void 0===n?"":n,l=e.attributes,c=void 0===l?{}:l,p=e.srcSetSizes,d=void 0===p?u:p,w=e.sizes,E=void 0===w?h:w,O=e.missingImageSrc,T=void 0===O?"https://vanilla.futurecdn.net/cyclingnews/media/img/missing-image.svg":O,C=e.eager,k=void 0!==C&&C,A=e.onLoad,L=void 0===A?function(){}:A,D=e.setImageRef,P=void 0===D?function(){}:D,N=e.lazyLoading,M=void 0===N||N,j=e.useOriginalUrl,I=void 0!==j&&j,q=(0,s.useRef)(null),R=(0,s.useRef)(null),B=i((0,s.useState)(a),2),U=B[0],H=B[1],F=i((0,s.useState)(!1),2),z=F[0],V=F[1],G=function(){H((function(e){return"".concat(e," loaded")})),L()},$=I?y(t):t;if(!x($))return o().createElement("img",b({"data-hydrate":!0,key:"nomosimage ".concat($," ").concat(r),src:$,alt:r,onLoad:G,className:U},c));if(!M)return o().createElement("img",b({"data-hydrate":!0,key:"".concat($," ").concat(r),src:$,alt:r,onLoad:G,className:U},c));var W=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({src:T,dataSrcSet:m($,d,!1),dataSrcSetWebp:m($,d,!0),imageSizes:f(E),loading:k?"eager":"lazy",onError:function(e){[q,R].forEach((function(t){t.current&&(t.current.srcset=e.currentTarget.src)})),V(!0)},"data-normal":T,"data-original-mos":y($),"data-pin-media":y($),"data-pin-nopin":!0},c),X=W.src,J=W.dataSrcSet,Y=W.dataSrcSetWebp,Z=W.imageSizes,Q=W.onError,K=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(W,S);return o().createElement("picture",{"data-hydrate":!0},o().createElement("source",b({className:a,type:"image/webp",srcSet:Y,sizes:Z,ref:function(e){q.current=e}},K)),o().createElement("source",b({className:a,type:v($),srcSet:J,sizes:Z,ref:function(e){R.current=e}},K)),o().createElement("img",b({key:"image ".concat(X," ").concat(r),src:X,alt:r,sizes:Z,className:U,ref:function(e){e&&P(e)},onLoad:G,onError:z?null:Q},K)))},O=function(e){var t=e.notIntersected,r=e.intersected,n=e.keepRender,a=void 0===n||n,l=e.root,c=e.rootMargin,u=e.threshold,h=e.sendIsShow,p=i((0,s.useState)(!1),2),d=p[0],f=p[1],m=(0,s.useRef)(null);return(0,s.useEffect)((function(){if("undefined"!=typeof IntersectionObserver){var e=new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting?(f(!0),a&&m.current&&t.unobserve(m.current)):f(!1)}))}),{root:l,rootMargin:c,threshold:u});return m.current&&e.observe(m.current),function(){return e.disconnect()}}return function(){}}),[]),(0,s.useEffect)((function(){h&&h(d)}),[d]),o().createElement("div",{"data-hydrate":!0},d?r:o().createElement("div",{className:"lazy-observed",ref:function(e){e&&(m.current=e)}},t))},T=function(e){var t=e.src,r=e.width,n=e.height;return o().createElement("div",{itemScope:!0,itemType:"https://schema.org/ImageObject"},o().createElement("meta",{itemProp:"url",content:t}),r&&o().createElement("meta",{itemProp:"width",content:r.toString()}),n&&o().createElement("meta",{itemProp:"height",content:n.toString()}))},C=function(e){var t=e.src,r=e.alt,n=e.width,i=e.height,s=e.lazyLoading,a=e.eager,c=e.missingImageSrc,p=e.className,d=e.addSEOMetaData,g=e.srcSetSizes,b=void 0===g?u:g,y=e.sizes,v=void 0===y?h:y,w=e.onLoad,x=e.useOriginalUrl,S=e.nativeLazyLoad,_=void 0!==S&&S,C=l(p,"image__image"),k=function(){return _?o().createElement("img",{src:t,alt:r,srcSet:m(t,b,!1),sizes:f(v),className:C,onLoad:w,loading:"lazy"}):o().createElement(o().Fragment,null,o().createElement(E,{src:t,alt:r,eager:a,className:C,missingImageSrc:c,srcSetSizes:b,sizes:v,onLoad:w,lazyLoading:s,useOriginalUrl:x}),d&&o().createElement(T,{src:t,width:n,height:i}))};return s?o().createElement(O,{threshold:[0],rootMargin:"1200px",notIntersected:o().createElement("img",{src:c||"https://vanilla.futurecdn.net/cyclingnews/media/img/missing-image.svg",alt:r,className:C}),intersected:o().createElement(k,null)}):o().createElement(k,null)},k=function(e,t){return"_blank"===e&&t?"".concat(t," noreferrer noopener"):"_blank"!==e||t?t:"noreferrer noopener"};function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const D=function(e){var t=e.href,r=e.target,n=e.rel,i=e.classname,s=e.text,a=e.ariaLabel,l=e.dataAttributes,c=e.children,u=e.tabIndex,h=(l||[]).reduce((function(e,t){return L(L({},e),{},g({},"data-".concat(t.key),t.value||""))}),{});return c?o().createElement("a",b({href:t,target:r||"_self",rel:k(r,n),className:"link ".concat(i||""),"aria-label":a,tabIndex:u},h),c):o().createElement("a",b({href:t,target:r||"_self",rel:k(r,n),className:"link ".concat(i||""),tabIndex:u,dangerouslySetInnerHTML:{__html:s},"aria-label":a},h))};var P=function(e){switch(e){case"top-left":return"img__endorsement--top-left";case"top-right":return"img__endorsement--top-right";case"bottom-left":return"img__endorsement--bottom-left";default:return"img__endorsement--bottom-right"}},N=function(e){switch(e){case"top-left":return"img__award--top-left";case"top-right":return"img__award--top-right";case"bottom-left":return"img__award--bottom-left";default:return"img__award--bottom-right"}},M=function(e,t){if(!e||!t)return 56.25;var r=t/e*100;return r>150?150:r},j=r(9632),I=r.n(j);var q=r(1036),R=r.n(q),B={allowedTags:["b","i","em","strong","a","p","br","span"],allowedAttributes:{a:["href","name","target"],span:["class"]},selfClosing:["input","br"],transformTags:{h1:"strong",h2:"strong",h3:"strong"}};const U=function(e){return void 0!==e?R()(e,B):""},H=function(e){var t,r=e.caption,n=e.credit;return n&&(t=function(e,t){var r=/{(\w+)}/g;if(Object.values(t).every((function(e){return"string"==typeof e}))){var n=t;return e.replaceAll(r,(function(e,t){return n[t]?n[t]:e}))}return I()(e,r,(function(e,r){return o().createElement(s.Fragment,{key:"".concat(e,"-").concat(r)},t[e]?t[e]:"{".concat(e,"}"))})).filter((function(e){return""!==e}))}(n.text,{subject:n.subject})),o().createElement("figcaption",{className:"caption-credit__figcaption"},r&&o().createElement("span",{className:"caption-credit__caption",dangerouslySetInnerHTML:{__html:U(r)}}),t&&("string"==typeof t?o().createElement("span",{className:"caption-credit__credit",itemProp:"copyrightHolder",dangerouslySetInnerHTML:{__html:U(t)}}):o().createElement("span",{className:"caption-credit__credit",itemProp:"copyrightHolder"},t)))};var F=function(e){var t=e.src,r=e.alt,n=e.caption,i=e.credit,s=e.width,a=e.height,c=e.lazyLoading,u=e.eager,h=e.onLoad,p=e.imageEndorsement,d=e.imageAward,f=e.missingImageSrc,m=e.className,g=e.addSEOMetaData,b=e.srcSetSizes,y=e.sizes,v=e.removeNativeWidthRestriction,w=e.setImageWidthsetterRef,x=e.setImageAspectPaddingRef,S=e.useOriginalUrl,_=e.dataBordeauxImageCheckAttr,E=e.nativeLazyLoad,O=e.noCredit,T={paddingBottom:"".concat(M(s,a),"%")},k={maxWidth:s?"".concat(s,"px"):"none"};return o().createElement("figure",{className:"image-wrapped__wrapper","data-bordeaux-image-check":_},o().createElement("div",{className:"image-wrapped__widthsetter",style:v?{}:k,ref:function(e){e&&w&&w(e)}},o().createElement("div",{className:"image-wrapped__aspect-padding",style:T,ref:function(e){e&&x&&x(e)}},d&&o().createElement(C,{src:d.src,alt:d.alt,className:"img__award ".concat(N(d.position)),nativeLazyLoad:E}),p&&o().createElement(C,{src:p.src,alt:p.alt,lazyLoading:c,eager:u,onLoad:h,className:"img__endorsement ".concat(P(p.position)),missingImageSrc:f,nativeLazyLoad:E}),o().createElement(C,{src:t,alt:r,width:s,height:a,lazyLoading:c,eager:u,onLoad:h,missingImageSrc:f,className:l(m,"image-wrapped__image"),addSEOMetaData:g,srcSetSizes:b,sizes:y,useOriginalUrl:S,nativeLazyLoad:E}))),(n||i)&&!O&&o().createElement(H,{caption:n,credit:i}))};const z=function(e){var t=e.src,r=e.alt,n=e.caption,i=e.credit,s=e.width,a=e.height,l=e.lazyLoading,c=e.eager,u=e.onLoad,h=e.imageEndorsement,p=e.imageAward,d=e.missingImageSrc,f=e.link,m={src:t,alt:r,caption:n,credit:i,width:s,height:a,lazyLoading:l,eager:c,onLoad:u,imageEndorsement:h,imageAward:p,missingImageSrc:d,link:f,className:e.className,addSEOMetaData:e.addSEOMetaData,srcSetSizes:e.srcSetSizes,sizes:e.sizes,removeNativeWidthRestriction:e.removeNativeWidthRestriction,setImageWidthsetterRef:e.setImageWidthsetterRef,setImageAspectPaddingRef:e.setImageAspectPaddingRef,useOriginalUrl:e.useOriginalUrl,dataBordeauxImageCheckAttr:e.dataBordeauxImageCheckAttr,nativeLazyLoad:e.nativeLazyLoad,noCredit:e.noCredit};return f?o().createElement(D,f,o().createElement(F,m)):o().createElement(F,m)};function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const $=function(e){var t=e.name,r=e.value,n=e.label,a=e.type,l=e.placeholder,c=e.required,u=void 0!==c&&c,h=e.disabled,p=void 0!==h&&h,d=e.inputClassName,f=e.setFormValues,m=i((0,s.useState)(a),2),b=m[0],y=m[1];(0,s.useEffect)((function(){navigator.userAgent.indexOf("Opera Mini")>-1&&"email"===(null==b?void 0:b.toLowerCase())&&y("text"),"hidden"===(null==a?void 0:a.toLowerCase())&&t&&f((function(e){return G(G({},e),{},g({},t,r))}))}),[]);var v=o().createElement("input",{"data-hydrate":!0,type:b,className:"form__".concat(a,"-input ").concat(d),value:r,name:t,required:u,disabled:p,placeholder:l,onChange:function(e){if("submit"!==a){var t=e.target,r=t.name,n=t.value,i=t.checked;f((function(e){return G(G({},e),{},g({},r,"checkbox"===a?i:n))}))}}});return n?o().createElement("label",{className:"form__".concat(a,"-label")},v,n.text):o().createElement(o().Fragment,null,v)};var W=function(e){var t=e.layout,r=e.method,n=e.action,a=e.handleSubmit,l=e.inputs,c=i((0,s.useState)({}),2),u=c[0],h=c[1];return o().createElement("form",{"data-hydrate":!0,className:"newsletter-form__form newsletter-form__form--".concat(t),method:r,action:n,onSubmit:function(e){return a(e,u)}},null==l?void 0:l.map((function(e){return o().createElement($,{key:"".concat(e.name,"-").concat(e.value),setFormValues:h,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 X=function(e,t){document.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!1}))},J=function(e){var t=e.eventType,r=e.data;X(t,r)},Y=function(e,t){window.freyr.cmd.push((function(){window.freyr.pushAndUpdate(e,t)}))};var Z=function(e){var t,r,n,i,s,o,a,l,c,u={submission:{name:null!==(t=null==e?void 0:e.NAME)&&void 0!==t?t:"",email:null!==(r=null==e?void 0:e.MAIL)&&void 0!==r?r:"",code:null!==(n=null==e?void 0:e.NEWSLETTER_CODE)&&void 0!==n?n:"",source:null!==(i=null==e?void 0:e.SOURCE)&&void 0!==i?i:0,language:null!==(s=null==e?void 0:e.LANG)&&void 0!==s?s:"",consent:{marketing:null!==(o=null!==(a=Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS))&&void 0!==a?a:Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS_AND_PARTNERS))&&void 0!==o&&o,data:null!==(l=null!==(c=Boolean(null==e?void 0:e.CONTACT_PARTNERS))&&void 0!==c?c:Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS_AND_PARTNERS))&&void 0!==l&&l}}};return JSON.stringify(u)},Q=function(e){var t=e.layout,r=e.source;return"exitIntent"===t?"SIGNUP - Exit Intent - ".concat(r):"Newsletter signup - ".concat(r)};function K(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function ee(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var te="undefined"!=typeof window,re=function(e,t){return new URLSearchParams(e).get(t)};const ne=te?function(e){var t=window.location,r=(0,s.useState)((function(){return re(t.search,e)})),n=r[0],i=r[1];return(0,s.useEffect)((function(){var r=function(){i(re(t.search,e))};return K(window,"popstate",r),K(window,"pushstate",r),K(window,"replacestate",r),function(){ee(window,"popstate",r),ee(window,"pushstate",r),ee(window,"replacestate",r)}}),[]),n}:function(){return null},ie=o().memo((function(e){return o().createElement("svg",b({width:"22px",height:"22px",viewBox:"0 0 384 512"},e),o().createElement("path",{d:"M231.6 256l130.1-130.1c4.7-4.7 4.7-12.3 0-17l-22.6-22.6c-4.7-4.7-12.3-4.7-17 0L192 216.4 61.9 86.3c-4.7-4.7-12.3-4.7-17 0l-22.6 22.6c-4.7 4.7-4.7 12.3 0 17L152.4 256 22.3 386.1c-4.7 4.7-4.7 12.3 0 17l22.6 22.6c4.7 4.7 12.3 4.7 17 0L192 295.6l130.1 130.1c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17L231.6 256z"}))}));const se=function(e){var t=e.ariaLabels,r=e.children,n="FTR_Exit_Intent_Display",a=i((0,s.useState)(!1),2),l=a[0],c=a[1],u=function e(){if(!function(e){if("undefined"!=typeof document){var t=document.cookie.match("(^|;) ?".concat("FTR_Exit_Intent_Display","=([^;]*)(;|$)"));return t?t[2]:null}return null}()){c(!0);var t=new Date;t.setDate(t.getDate()+30),function(e){var t=e.name,r=e.value,n=e.expireDate,i=e.secure,s=e.path,o=e.domain,a=n?" Expires=".concat(null==n?void 0:n.toUTCString(),";"):"",l=s?" Path=".concat(s,";"):"",c=o&&"localhost"!==window.location.hostname&&"127.0.0.1"!==window.location.hostname?" Domain=".concat(o,";"):"",u=i?" Secure;":"";document.cookie="".concat(t,"=").concat(r,";").concat(a).concat(l).concat(c).concat(u)}({name:n,value:"0",expireDate:t,secure:!0,path:"/"})}document.body.removeEventListener("mouseleave",e)};return(0,s.useEffect)((function(){(window.reliableConsentGiven||Promise.resolve()).then((function(){document.body.addEventListener("mouseleave",u)})).catch((function(e){return console.error(e)}))}),[]),(0,s.useEffect)((function(){l&&(J({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:"SIGNUP - Exit Intent - 15",eventLabel:"show",dimension70:"15",nonInteraction:!1}}),Y("newsletterEvent",{newsletter:{action:"show",modal:"SIGNUP - Exit Intent - 15"}}))}),[l]),"email"===ne("utm_medium")?null:l?o().createElement("div",{className:"exit-intent exit-intent__background"},o().createElement("div",{className:"exit-intent__wrapper"},o().createElement("button",{onClick:function(){c(!1),J({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:"SIGNUP - Exit Intent - 15",eventLabel:"dismissed- cross",dimension70:"15",nonInteraction:!1}}),Y("newsletterEvent",{newsletter:{action:"close",modal:"SIGNUP - Exit Intent - 15"}})},className:"exit-intent__close-button",title:null==t?void 0:t.closeButton,"aria-label":null==t?void 0:t.closeButton},o().createElement(ie,null)),r)):null},oe=function(e){var t,r=e.layout,n=e.header,a=e.headerIcon,l=e.tagline,c=e.formFooterText,u=e.successMessage,h=e.failureMessage,p=e.inputs,d=e.endpoint,f=void 0===d?"":d,m=e.method,g=void 0===m?"GET":m,b=i((0,s.useState)(!0),2),y=b[0],v=b[1],w=i((0,s.useState)(""),2),x=w[0],S=w[1],_=i((0,s.useState)(!1),2),E=_[0],O=_[1],T=o().createElement("div",{"data-hydrate":!0,className:"newsletter-form__wrapper newsletter-form__wrapper--".concat(r)},o().createElement("div",{className:"newsletter-form__container"},(n||(null==a?void 0:a.svgContents)||(null==a?void 0:a.svgUrl))&&o().createElement("section",{className:"newsletter-form__top-bar"},"sidebar"===r&&a?null!=a&&a.svgContents?o().createElement("span",{className:"newsletter-form__headerIcon",dangerouslySetInnerHTML:{__html:null==a?void 0:a.svgContents}}):null!=a&&a.svgUrl?o().createElement(z,{src:a.svgUrl,alt:a.alt||"",className:"newsletter-form__headerIconImage"}):null:null,n&&o().createElement("h2",{className:"newsletter-form__header",dangerouslySetInnerHTML:{__html:n}})),o().createElement("section",{className:"newsletter-form__main-section"},l&&o().createElement("p",{className:"newsletter-form__strapline"},l),y?o().createElement(W,{layout:r,method:g,action:f,handleSubmit:function(e,t){e.preventDefault(),function(e){var t=e.formValues,r=e.endpoint,n=e.method,i=e.setFormMessage,s=e.successMessage,a=e.failureMessage,l=e.setRenderEmailForm,c=e.layout,u=e.setKiosqSuccessLayoutDisplayed;t&&!t.NAME&&fetch(r,{method:n,headers:new Headers({"Content-Type":"application/json",Accept:"application/json"}),body:Z(t)}).then((function(e){return e.json()})).then((function(e){var r,n,h,p=null==s?void 0:s.body;"kiosq"===c&&(u(!0),p=function(e){if(!e)return null;var t=e.title,r=e.body,n=e.buttonText,i=document.querySelector(".kiosq-description"),s=document.querySelector(".kiosq-conditions");return i&&i.insertAdjacentHTML("afterend",""),s&&s.insertAdjacentHTML("afterend",""),o().createElement("div",{"data-hydrate":!0,className:"newsletter-form__message--kiosq"},o().createElement("p",{className:"newsletter-form__message--kiosq-title"},t),o().createElement("p",{className:"newsletter-form__message--kiosq-text"},r),o().createElement("button",{className:"newsletter-form__message--kiosq-button",onClick:function(){document.dispatchEvent(new CustomEvent("kiosqRegwall",{detail:{message:"email sent"}})),localStorage.setItem("kiosqRegwall","Email already sent")}},n))}(s));var d=e.workflow.id?"successmessage":"failuremessage";J({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:Q({layout:c,source:null!==(r=null==t?void 0:t.SOURCE)&&void 0!==r?r:"0"}),eventLabel:d,dimension70:null!==(n=null==t?void 0:t.SOURCE)&&void 0!==n?n:"0",nonInteraction:!1}}),Y("newsletterEvent",{newsletter:{action:d,modal:Q({layout:c,source:null!==(h=null==t?void 0:t.SOURCE)&&void 0!==h?h:"0"})}}),i(e.workflow.id?p:a),l(!1)})).catch((function(e){i(a),l(!1),console.error("Form Slice - ".concat(a,": ").concat(e))}))}({formValues:t,endpoint:f,method:g,successMessage:u,failureMessage:h,setFormMessage:S,setRenderEmailForm:v,layout:r,setKiosqSuccessLayoutDisplayed:O})},inputs:p}):o().createElement("div",{className:"newsletter-form__message"},x),c&&!E&&o().createElement("footer",{className:"newsletter-form__footer",dangerouslySetInnerHTML:{__html:c}}))));return"exitIntent"===r?o().createElement(se,{ariaLabels:null===(t=e.ariaLabels)||void 0===t?void 0:t.exitIntent},T):T}},9996:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function o(e,t){try{return t in e}catch(e){return!1}}function a(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n;var c=Array.isArray(r);return c===Array.isArray(e)?c?l.arrayMerge(e,r,l):function(e,t,r){var i={};return r.isMergeableObject(e)&&s(e).forEach((function(t){i[t]=n(e[t],r)})),s(t).forEach((function(s){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(o(e,s)&&r.isMergeableObject(t[s])?i[s]=function(e,t){if(!t.customMerge)return a;var r=t.customMerge(e);return"function"==typeof r?r:a}(s,r)(e[s],t[s],r):i[s]=n(t[s],r))})),i}(e,r,l):n(r,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return a(e,r,t)}),{})};var l=a;e.exports=l},7837:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},7220:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(r(9960)),l=r(5863),c=r(7837),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var r=("length"in e?e:[e]),n="",i=0;i<r.length;i++)n+=d(r[i],t);return n}function d(e,t){switch(e.type){case a.Root:return p(e.children,t);case a.Directive:case a.Doctype:return"<"+e.data+">";case a.Comment:return"\x3c!--"+e.data+"--\x3e";case a.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case a.Script:case a.Style:case a.Tag:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!==(r=c.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&f.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1}))),!t.xmlMode&&m.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var i="<"+e.name,s=function(e,t){if(e)return Object.keys(e).map((function(r){var n,i,s=null!==(n=e[r])&&void 0!==n?n:"";return"foreign"===t.xmlMode&&(r=null!==(i=c.attributeNames.get(r))&&void 0!==i?i:r),t.emptyAttrs||t.xmlMode||""!==s?r+'="'+(!1!==t.decodeEntities?l.encodeXML(s):s.replace(/"/g,""))+'"':r})).join(" ")}(e.attribs,t);return s&&(i+=" "+s),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&h.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&h.has(e.name)||(i+="</"+e.name+">")),i}(e,t);case a.Text:return function(e,t){var r=e.data||"";return!1===t.decodeEntities||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=l.encodeXML(r)),r}(e,t)}}t.default=p;var f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"])},9960:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},7915:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var s=r(9960),o=r(7790);i(r(7790),t);var a=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,r){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?s.ElementType.Tag:void 0,n=new o.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,r=this.lastNode;if(r&&r.type===s.ElementType.Text)t?r.data=(r.data+e).replace(a," "):r.data+=e,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{t&&(e=e.replace(a," "));var n=new o.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment)this.lastNode.data+=e;else{var t=new o.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(""),t=new o.NodeWithChildren(s.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new o.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},7790:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},s.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=r(9960),a=new Map([[o.ElementType.Tag,1],[o.ElementType.Script,1],[o.ElementType.Style,1],[o.ElementType.Directive,1],[o.ElementType.Text,3],[o.ElementType.CDATA,4],[o.ElementType.Comment,8],[o.ElementType.Root,9]]),l=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=a.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),S(this,e)},e}();t.Node=l;var c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.data=r,n}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(l);t.DataNode=c;var u=function(e){function t(t){return e.call(this,o.ElementType.Text,t)||this}return i(t,e),t}(c);t.Text=u;var h=function(e){function t(t){return e.call(this,o.ElementType.Comment,t)||this}return i(t,e),t}(c);t.Comment=h;var p=function(e){function t(t,r){var n=e.call(this,o.ElementType.Directive,r)||this;return n.name=t,n}return i(t,e),t}(c);t.ProcessingInstruction=p;var d=function(e){function t(t,r){var n=e.call(this,t)||this;return n.children=r,n}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=d;var f=function(e){function t(t){return e.call(this,o.ElementType.Root,t)||this}return i(t,e),t}(d);t.Document=f;var m=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var s=e.call(this,i,n)||this;return s.name=t,s.attribs=r,s}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(d);function g(e){return(0,o.isTag)(e)}function b(e){return e.type===o.ElementType.CDATA}function y(e){return e.type===o.ElementType.Text}function v(e){return e.type===o.ElementType.Comment}function w(e){return e.type===o.ElementType.Directive}function x(e){return e.type===o.ElementType.Root}function S(e,t){var r;if(void 0===t&&(t=!1),y(e))r=new u(e.data);else if(v(e))r=new h(e.data);else if(g(e)){var n=t?_(e.children):[],i=new m(e.name,s({},e.attribs),n);n.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=s({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=s({},e["x-attribsPrefix"])),r=i}else if(b(e)){n=t?_(e.children):[];var a=new d(o.ElementType.CDATA,n);n.forEach((function(e){return e.parent=a})),r=a}else if(x(e)){n=t?_(e.children):[];var l=new f(n);n.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),r=l}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new p(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function _(e){for(var t=e.map((function(e){return S(e,!0)})),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=m,t.isTag=g,t.isCDATA=b,t.isText=y,t.isComment=v,t.isDirective=w,t.isDocument=x,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=S},6996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var n=r(3346),i=r(3905);t.getFeed=function(e){var t=l(h,e);return t?"feed"===t.name?function(e){var t,r=e.children,n={type:"atom",items:(0,i.getElementsByTagName)("entry",r).map((function(e){var t,r=e.children,n={media:a(r)};u(n,"id","id",r),u(n,"title","title",r);var i=null===(t=l("link",r))||void 0===t?void 0:t.attribs.href;i&&(n.link=i);var s=c("summary",r)||c("content",r);s&&(n.description=s);var o=c("updated",r);return o&&(n.pubDate=new Date(o)),n}))};u(n,"id","id",r),u(n,"title","title",r);var s=null===(t=l("link",r))||void 0===t?void 0:t.attribs.href;s&&(n.link=s),u(n,"description","subtitle",r);var o=c("updated",r);return o&&(n.updated=new Date(o)),u(n,"author","email",r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],s={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,r={media:a(t)};u(r,"id","guid",t),u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t);var n=c("pubDate",t);return n&&(r.pubDate=new Date(n)),r}))};u(s,"title","title",n),u(s,"link","link",n),u(s,"description","description",n);var o=c("lastBuildDate",n);return o&&(s.updated=new Date(o)),u(s,"author","managingEditor",n,!0),s}(t):null};var s=["url","type","lang"],o=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function a(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},n=0,i=s;n<i.length;n++)t[c=i[n]]&&(r[c]=t[c]);for(var a=0,l=o;a<l.length;a++){var c;t[c=l[a]]&&(r[c]=parseInt(t[c],10))}return t.expression&&(r.expression=t.expression),r}))}function l(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,r){return void 0===r&&(r=!1),(0,n.textContent)((0,i.getElementsByTagName)(e,t,r,1)).trim()}function u(e,t,r,n,i){void 0===i&&(i=!1);var s=c(r,n,i);s&&(e[t]=s)}function h(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},4975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var n=r(7915);function i(e,t){var r=[],i=[];if(e===t)return 0;for(var s=(0,n.hasChildren)(e)?e:e.parent;s;)r.unshift(s),s=s.parent;for(s=(0,n.hasChildren)(t)?t:t.parent;s;)i.unshift(s),s=s.parent;for(var o=Math.min(r.length,i.length),a=0;a<o&&r[a]===i[a];)a++;if(0===a)return 1;var l=r[a-1],c=l.children,u=r[a],h=i[a];return c.indexOf(u)>c.indexOf(h)?l===t?20:4:l===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,r){return!r.includes(e,t+1)}))).sort((function(e,t){var r=i(e,t);return 2&r?-1:4&r?1:0})),e}},9432:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(r(3346),t),i(r(5010),t),i(r(6765),t),i(r(8043),t),i(r(3905),t),i(r(4975),t),i(r(6996),t);var s=r(7915);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return s.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return s.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return s.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return s.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return s.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return s.hasChildren}})},3905:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var n=r(7915),i=r(8043),s={tag_name:function(e){return"function"==typeof e?function(t){return(0,n.isTag)(t)&&e(t.name)}:"*"===e?n.isTag:function(t){return(0,n.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,n.isText)(t)&&e(t.data)}:function(t){return(0,n.isText)(t)&&t.data===e}}};function o(e,t){return"function"==typeof t?function(r){return(0,n.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,n.isTag)(r)&&r.attribs[e]===t}}function a(e,t){return function(r){return e(r)||t(r)}}function l(e){var t=Object.keys(e).map((function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(s,t)?s[t](r):o(t,r)}));return 0===t.length?null:t.reduce(a)}t.testElement=function(e,t){var r=l(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var s=l(e);return s?(0,i.filter)(s,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(o("id",e),t,r)},t.getElementsByTagName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_type(e),t,r,n)}},6765:(e,t)=>{"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var s=i.children;s[s.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var s=n.children;s.splice(s.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},8043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var n=r(7915);function i(e,t,r,s){for(var o=[],a=0,l=t;a<l.length;a++){var c=l[a];if(e(c)&&(o.push(c),--s<=0))break;if(r&&(0,n.hasChildren)(c)&&c.children.length>0){var u=i(e,c.children,r,s);if(o.push.apply(o,u),(s-=u.length)<=0)break}}return o}t.filter=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),Array.isArray(t)||(t=[t]),i(e,t,r,n)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,r,i){void 0===i&&(i=!0);for(var s=null,o=0;o<r.length&&!s;o++){var a=r[o];(0,n.isTag)(a)&&(t(a)?s=a:i&&a.children.length>0&&(s=e(t,a.children)))}return s},t.existsOne=function e(t,r){return r.some((function(r){return(0,n.isTag)(r)&&(t(r)||r.children.length>0&&e(t,r.children))}))},t.findAll=function(e,t){for(var r,i,s=[],o=t.filter(n.isTag);i=o.shift();){var a=null===(r=i.children)||void 0===r?void 0:r.filter(n.isTag);a&&a.length>0&&o.unshift.apply(o,a),e(i)&&s.push(i)}return s}},3346:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=r(7915),s=n(r(7220)),o=r(9960);function a(e,t){return(0,s.default)(e,t)}t.getOuterHTML=a,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return a(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?" <br>":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===o.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},5010:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var n=r(7915),i=[];function s(e){var t;return null!==(t=e.children)&&void 0!==t?t:i}function o(e){return e.parent||null}t.getChildren=s,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return s(t);for(var r=[e],n=e.prev,i=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=i;)r.push(i),i=i.next;return r},t.getAttributeValue=function(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,n.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,n.isTag)(t);)t=t.prev;return t}},4076:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var i=n(r(9323)),s=n(r(9591)),o=n(r(2586)),a=n(r(26)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function c(e){var t=h(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=c(o.default),t.decodeHTMLStrict=c(i.default);var u=function(e,t){return e<t?1:-1};function h(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?a.default(parseInt(t.substr(3),16)):a.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(s.default).sort(u),t=Object.keys(i.default).sort(u),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var o=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),a=h(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(o,l)}}()},26:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(3600)),s=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"":(e in i.default&&(e=i.default[e]),s(e))}},7322:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=u(n(r(2586)).default),s=h(i);t.encodeXML=g(i);var o,a,l=u(n(r(9323)).default),c=h(l);function u(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function h(e){for(var t=[],r=[],n=0,i=Object.keys(e);n<i.length;n++){var s=i[n];1===s.length?t.push("\\"+s):r.push(s)}t.sort();for(var o=0;o<t.length-1;o++){for(var a=o;a<t.length-1&&t[a].charCodeAt(1)+1===t[a+1].charCodeAt(1);)a+=1;var l=1+a-o;l<3||t.splice(o,l,t[o]+"-"+t[a])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(o=l,a=c,function(e){return e.replace(a,(function(e){return o[e]})).replace(p,f)}),t.encodeNonAsciiHTML=g(l);var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function f(e){return"&#x"+(e.length>1?d(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var m=new RegExp(s.source+"|"+p.source,"g");function g(e){return function(t){return t.replace(m,(function(t){return e[t]||f(t)}))}}t.escape=function(e){return e.replace(m,f)},t.escapeUTF8=function(e){return e.replace(s,f)}},5863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(4076),i=r(7322);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.e
www.space.com

Space<\/title>

\t
\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t\t
\t\t<\/g>
\t<\/g>
<\/g>
<\/svg>
","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<\/a> and Privacy Policy<\/a> 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":"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","ariaLabels":{"exitIntent":{"closeButton":"Close"}}}; /*! For license information please see newsletterForm.js.LICENSE.txt */ var newsletterForm;(()=>{var e={663:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,s=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(s.push(n.value),!t||s.length!==t);o=!0);}catch(e){a=!0,i=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.r(t),r.d(t,{default:()=>oe});var s=r(6651),o=r.n(s);function a(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=a(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function l(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=a(e))&&(n&&(n+=" "),n+=t);return n}var c="(?[/a-z0-9-]{0,}?)(?-[0-9]{0,5})?(?-[0-9]{2})?.(?png|jpg|jpeg|gif)(?.webp)?",u=[320,640,720,1280],h={default:"99vw"};const p=function(e){try{return new URL(e),!0}catch(e){return!1}};var d=function(e){return"string"==typeof e?new URL(e.replace(" ","%20")):e},f=function(e){var t="",r="";return Object.entries(e).forEach((function(e){var n=i(e,2),s=n[0],o=n[1];"default"===s?r=o:t="".concat(t,"(min-width: ").concat(s,") ").concat(o,", ")})),t="".concat(t).concat(r)};const m=function(e,t,r){var n="";return t.forEach((function(i,s){var o=t.length!==s+1?", ":"";n="".concat(n).concat(function(e,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:80,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?".webp":"";if(!p(e))return e;var i,s,o=d(e),a=new RegExp(c,"i"),l=o.pathname.match(a),u="";o.pathname&&l&&(u="".concat(null==l||null===(i=l.groups)||void 0===i?void 0:i.id,"-").concat(t,"-").concat(r,".").concat(null==l||null===(s=l.groups)||void 0===s?void 0:s.ext).concat(n));var h="";return o.protocol&&o.host&&(h="".concat(o.protocol,"//").concat(o.host)),h+u}(e,i,r)," ").concat(i,"w").concat(o)})),n};function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},b.apply(this,arguments)}const y=function(e){if(!p(e))return e;var t=d(e),r=new RegExp(c,"i"),n=t.pathname.match(r),i="";t.pathname&&null!=n&&n.groups&&(i="".concat(n.groups.id,".").concat(n.groups.ext));var s="";return t.protocol&&t.host&&(s="".concat(t.protocol,"//").concat(t.host)),s+i};var v=function(e){var t=function(e){var t,r=new RegExp(c,"i");if(!p(e))return"";var n=d(e).pathname.match(r);return(null==n||null===(t=n.groups)||void 0===t?void 0:t.ext)||""}(e);return""===t?t:("jpg"===t&&(t="jpeg"),"image/".concat(t))};function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}const x=function e(t){return"object"===w(t)&&t.origin?e(t.origin):"string"==typeof t&&t.includes(".mos.cms.futurecdn.net")};var S=["src","dataSrcSet","dataSrcSetWebp","imageSizes","onError"];function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const E=function(e){var t=e.src,r=e.alt,n=e.className,a=void 0===n?"":n,l=e.attributes,c=void 0===l?{}:l,p=e.srcSetSizes,d=void 0===p?u:p,w=e.sizes,E=void 0===w?h:w,O=e.missingImageSrc,T=void 0===O?"https://vanilla.futurecdn.net/cyclingnews/media/img/missing-image.svg":O,C=e.eager,k=void 0!==C&&C,A=e.onLoad,L=void 0===A?function(){}:A,D=e.setImageRef,P=void 0===D?function(){}:D,N=e.lazyLoading,M=void 0===N||N,j=e.useOriginalUrl,I=void 0!==j&&j,q=(0,s.useRef)(null),R=(0,s.useRef)(null),B=i((0,s.useState)(a),2),U=B[0],H=B[1],F=i((0,s.useState)(!1),2),z=F[0],V=F[1],G=function(){H((function(e){return"".concat(e," loaded")})),L()},$=I?y(t):t;if(!x($))return o().createElement("img",b({"data-hydrate":!0,key:"nomosimage ".concat($," ").concat(r),src:$,alt:r,onLoad:G,className:U},c));if(!M)return o().createElement("img",b({"data-hydrate":!0,key:"".concat($," ").concat(r),src:$,alt:r,onLoad:G,className:U},c));var W=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({src:T,dataSrcSet:m($,d,!1),dataSrcSetWebp:m($,d,!0),imageSizes:f(E),loading:k?"eager":"lazy",onError:function(e){[q,R].forEach((function(t){t.current&&(t.current.srcset=e.currentTarget.src)})),V(!0)},"data-normal":T,"data-original-mos":y($),"data-pin-media":y($),"data-pin-nopin":!0},c),X=W.src,J=W.dataSrcSet,Y=W.dataSrcSetWebp,Z=W.imageSizes,Q=W.onError,K=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(W,S);return o().createElement("picture",{"data-hydrate":!0},o().createElement("source",b({className:a,type:"image/webp",srcSet:Y,sizes:Z,ref:function(e){q.current=e}},K)),o().createElement("source",b({className:a,type:v($),srcSet:J,sizes:Z,ref:function(e){R.current=e}},K)),o().createElement("img",b({key:"image ".concat(X," ").concat(r),src:X,alt:r,sizes:Z,className:U,ref:function(e){e&&P(e)},onLoad:G,onError:z?null:Q},K)))},O=function(e){var t=e.notIntersected,r=e.intersected,n=e.keepRender,a=void 0===n||n,l=e.root,c=e.rootMargin,u=e.threshold,h=e.sendIsShow,p=i((0,s.useState)(!1),2),d=p[0],f=p[1],m=(0,s.useRef)(null);return(0,s.useEffect)((function(){if("undefined"!=typeof IntersectionObserver){var e=new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting?(f(!0),a&&m.current&&t.unobserve(m.current)):f(!1)}))}),{root:l,rootMargin:c,threshold:u});return m.current&&e.observe(m.current),function(){return e.disconnect()}}return function(){}}),[]),(0,s.useEffect)((function(){h&&h(d)}),[d]),o().createElement("div",{"data-hydrate":!0},d?r:o().createElement("div",{className:"lazy-observed",ref:function(e){e&&(m.current=e)}},t))},T=function(e){var t=e.src,r=e.width,n=e.height;return o().createElement("div",{itemScope:!0,itemType:"https://schema.org/ImageObject"},o().createElement("meta",{itemProp:"url",content:t}),r&&o().createElement("meta",{itemProp:"width",content:r.toString()}),n&&o().createElement("meta",{itemProp:"height",content:n.toString()}))},C=function(e){var t=e.src,r=e.alt,n=e.width,i=e.height,s=e.lazyLoading,a=e.eager,c=e.missingImageSrc,p=e.className,d=e.addSEOMetaData,g=e.srcSetSizes,b=void 0===g?u:g,y=e.sizes,v=void 0===y?h:y,w=e.onLoad,x=e.useOriginalUrl,S=e.nativeLazyLoad,_=void 0!==S&&S,C=l(p,"image__image"),k=function(){return _?o().createElement("img",{src:t,alt:r,srcSet:m(t,b,!1),sizes:f(v),className:C,onLoad:w,loading:"lazy"}):o().createElement(o().Fragment,null,o().createElement(E,{src:t,alt:r,eager:a,className:C,missingImageSrc:c,srcSetSizes:b,sizes:v,onLoad:w,lazyLoading:s,useOriginalUrl:x}),d&&o().createElement(T,{src:t,width:n,height:i}))};return s?o().createElement(O,{threshold:[0],rootMargin:"1200px",notIntersected:o().createElement("img",{src:c||"https://vanilla.futurecdn.net/cyclingnews/media/img/missing-image.svg",alt:r,className:C}),intersected:o().createElement(k,null)}):o().createElement(k,null)},k=function(e,t){return"_blank"===e&&t?"".concat(t," noreferrer noopener"):"_blank"!==e||t?t:"noreferrer noopener"};function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const D=function(e){var t=e.href,r=e.target,n=e.rel,i=e.classname,s=e.text,a=e.ariaLabel,l=e.dataAttributes,c=e.children,u=e.tabIndex,h=(l||[]).reduce((function(e,t){return L(L({},e),{},g({},"data-".concat(t.key),t.value||""))}),{});return c?o().createElement("a",b({href:t,target:r||"_self",rel:k(r,n),className:"link ".concat(i||""),"aria-label":a,tabIndex:u},h),c):o().createElement("a",b({href:t,target:r||"_self",rel:k(r,n),className:"link ".concat(i||""),tabIndex:u,dangerouslySetInnerHTML:{__html:s},"aria-label":a},h))};var P=function(e){switch(e){case"top-left":return"img__endorsement--top-left";case"top-right":return"img__endorsement--top-right";case"bottom-left":return"img__endorsement--bottom-left";default:return"img__endorsement--bottom-right"}},N=function(e){switch(e){case"top-left":return"img__award--top-left";case"top-right":return"img__award--top-right";case"bottom-left":return"img__award--bottom-left";default:return"img__award--bottom-right"}},M=function(e,t){if(!e||!t)return 56.25;var r=t/e*100;return r>150?150:r},j=r(9632),I=r.n(j);var q=r(1036),R=r.n(q),B={allowedTags:["b","i","em","strong","a","p","br","span"],allowedAttributes:{a:["href","name","target"],span:["class"]},selfClosing:["input","br"],transformTags:{h1:"strong",h2:"strong",h3:"strong"}};const U=function(e){return void 0!==e?R()(e,B):""},H=function(e){var t,r=e.caption,n=e.credit;return n&&(t=function(e,t){var r=/{(\w+)}/g;if(Object.values(t).every((function(e){return"string"==typeof e}))){var n=t;return e.replaceAll(r,(function(e,t){return n[t]?n[t]:e}))}return I()(e,r,(function(e,r){return o().createElement(s.Fragment,{key:"".concat(e,"-").concat(r)},t[e]?t[e]:"{".concat(e,"}"))})).filter((function(e){return""!==e}))}(n.text,{subject:n.subject})),o().createElement("figcaption",{className:"caption-credit__figcaption"},r&&o().createElement("span",{className:"caption-credit__caption",dangerouslySetInnerHTML:{__html:U(r)}}),t&&("string"==typeof t?o().createElement("span",{className:"caption-credit__credit",itemProp:"copyrightHolder",dangerouslySetInnerHTML:{__html:U(t)}}):o().createElement("span",{className:"caption-credit__credit",itemProp:"copyrightHolder"},t)))};var F=function(e){var t=e.src,r=e.alt,n=e.caption,i=e.credit,s=e.width,a=e.height,c=e.lazyLoading,u=e.eager,h=e.onLoad,p=e.imageEndorsement,d=e.imageAward,f=e.missingImageSrc,m=e.className,g=e.addSEOMetaData,b=e.srcSetSizes,y=e.sizes,v=e.removeNativeWidthRestriction,w=e.setImageWidthsetterRef,x=e.setImageAspectPaddingRef,S=e.useOriginalUrl,_=e.dataBordeauxImageCheckAttr,E=e.nativeLazyLoad,O=e.noCredit,T={paddingBottom:"".concat(M(s,a),"%")},k={maxWidth:s?"".concat(s,"px"):"none"};return o().createElement("figure",{className:"image-wrapped__wrapper","data-bordeaux-image-check":_},o().createElement("div",{className:"image-wrapped__widthsetter",style:v?{}:k,ref:function(e){e&&w&&w(e)}},o().createElement("div",{className:"image-wrapped__aspect-padding",style:T,ref:function(e){e&&x&&x(e)}},d&&o().createElement(C,{src:d.src,alt:d.alt,className:"img__award ".concat(N(d.position)),nativeLazyLoad:E}),p&&o().createElement(C,{src:p.src,alt:p.alt,lazyLoading:c,eager:u,onLoad:h,className:"img__endorsement ".concat(P(p.position)),missingImageSrc:f,nativeLazyLoad:E}),o().createElement(C,{src:t,alt:r,width:s,height:a,lazyLoading:c,eager:u,onLoad:h,missingImageSrc:f,className:l(m,"image-wrapped__image"),addSEOMetaData:g,srcSetSizes:b,sizes:y,useOriginalUrl:S,nativeLazyLoad:E}))),(n||i)&&!O&&o().createElement(H,{caption:n,credit:i}))};const z=function(e){var t=e.src,r=e.alt,n=e.caption,i=e.credit,s=e.width,a=e.height,l=e.lazyLoading,c=e.eager,u=e.onLoad,h=e.imageEndorsement,p=e.imageAward,d=e.missingImageSrc,f=e.link,m={src:t,alt:r,caption:n,credit:i,width:s,height:a,lazyLoading:l,eager:c,onLoad:u,imageEndorsement:h,imageAward:p,missingImageSrc:d,link:f,className:e.className,addSEOMetaData:e.addSEOMetaData,srcSetSizes:e.srcSetSizes,sizes:e.sizes,removeNativeWidthRestriction:e.removeNativeWidthRestriction,setImageWidthsetterRef:e.setImageWidthsetterRef,setImageAspectPaddingRef:e.setImageAspectPaddingRef,useOriginalUrl:e.useOriginalUrl,dataBordeauxImageCheckAttr:e.dataBordeauxImageCheckAttr,nativeLazyLoad:e.nativeLazyLoad,noCredit:e.noCredit};return f?o().createElement(D,f,o().createElement(F,m)):o().createElement(F,m)};function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const $=function(e){var t=e.name,r=e.value,n=e.label,a=e.type,l=e.placeholder,c=e.required,u=void 0!==c&&c,h=e.disabled,p=void 0!==h&&h,d=e.inputClassName,f=e.setFormValues,m=i((0,s.useState)(a),2),b=m[0],y=m[1];(0,s.useEffect)((function(){navigator.userAgent.indexOf("Opera Mini")>-1&&"email"===(null==b?void 0:b.toLowerCase())&&y("text"),"hidden"===(null==a?void 0:a.toLowerCase())&&t&&f((function(e){return G(G({},e),{},g({},t,r))}))}),[]);var v=o().createElement("input",{"data-hydrate":!0,type:b,className:"form__".concat(a,"-input ").concat(d),value:r,name:t,required:u,disabled:p,placeholder:l,onChange:function(e){if("submit"!==a){var t=e.target,r=t.name,n=t.value,i=t.checked;f((function(e){return G(G({},e),{},g({},r,"checkbox"===a?i:n))}))}}});return n?o().createElement("label",{className:"form__".concat(a,"-label")},v,n.text):o().createElement(o().Fragment,null,v)};var W=function(e){var t=e.layout,r=e.method,n=e.action,a=e.handleSubmit,l=e.inputs,c=i((0,s.useState)({}),2),u=c[0],h=c[1];return o().createElement("form",{"data-hydrate":!0,className:"newsletter-form__form newsletter-form__form--".concat(t),method:r,action:n,onSubmit:function(e){return a(e,u)}},null==l?void 0:l.map((function(e){return o().createElement($,{key:"".concat(e.name,"-").concat(e.value),setFormValues:h,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 X=function(e,t){document.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!1}))},J=function(e){var t=e.eventType,r=e.data;X(t,r)},Y=function(e,t){window.freyr.cmd.push((function(){window.freyr.pushAndUpdate(e,t)}))};var Z=function(e){var t,r,n,i,s,o,a,l,c,u={submission:{name:null!==(t=null==e?void 0:e.NAME)&&void 0!==t?t:"",email:null!==(r=null==e?void 0:e.MAIL)&&void 0!==r?r:"",code:null!==(n=null==e?void 0:e.NEWSLETTER_CODE)&&void 0!==n?n:"",source:null!==(i=null==e?void 0:e.SOURCE)&&void 0!==i?i:0,language:null!==(s=null==e?void 0:e.LANG)&&void 0!==s?s:"",consent:{marketing:null!==(o=null!==(a=Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS))&&void 0!==a?a:Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS_AND_PARTNERS))&&void 0!==o&&o,data:null!==(l=null!==(c=Boolean(null==e?void 0:e.CONTACT_PARTNERS))&&void 0!==c?c:Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS_AND_PARTNERS))&&void 0!==l&&l}}};return JSON.stringify(u)},Q=function(e){var t=e.layout,r=e.source;return"exitIntent"===t?"SIGNUP - Exit Intent - ".concat(r):"Newsletter signup - ".concat(r)};function K(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function ee(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var te="undefined"!=typeof window,re=function(e,t){return new URLSearchParams(e).get(t)};const ne=te?function(e){var t=window.location,r=(0,s.useState)((function(){return re(t.search,e)})),n=r[0],i=r[1];return(0,s.useEffect)((function(){var r=function(){i(re(t.search,e))};return K(window,"popstate",r),K(window,"pushstate",r),K(window,"replacestate",r),function(){ee(window,"popstate",r),ee(window,"pushstate",r),ee(window,"replacestate",r)}}),[]),n}:function(){return null},ie=o().memo((function(e){return o().createElement("svg",b({width:"22px",height:"22px",viewBox:"0 0 384 512"},e),o().createElement("path",{d:"M231.6 256l130.1-130.1c4.7-4.7 4.7-12.3 0-17l-22.6-22.6c-4.7-4.7-12.3-4.7-17 0L192 216.4 61.9 86.3c-4.7-4.7-12.3-4.7-17 0l-22.6 22.6c-4.7 4.7-4.7 12.3 0 17L152.4 256 22.3 386.1c-4.7 4.7-4.7 12.3 0 17l22.6 22.6c4.7 4.7 12.3 4.7 17 0L192 295.6l130.1 130.1c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17L231.6 256z"}))}));const se=function(e){var t=e.ariaLabels,r=e.children,n="FTR_Exit_Intent_Display",a=i((0,s.useState)(!1),2),l=a[0],c=a[1],u=function e(){if(!function(e){if("undefined"!=typeof document){var t=document.cookie.match("(^|;) ?".concat("FTR_Exit_Intent_Display","=([^;]*)(;|$)"));return t?t[2]:null}return null}()){c(!0);var t=new Date;t.setDate(t.getDate()+30),function(e){var t=e.name,r=e.value,n=e.expireDate,i=e.secure,s=e.path,o=e.domain,a=n?" Expires=".concat(null==n?void 0:n.toUTCString(),";"):"",l=s?" Path=".concat(s,";"):"",c=o&&"localhost"!==window.location.hostname&&"127.0.0.1"!==window.location.hostname?" Domain=".concat(o,";"):"",u=i?" Secure;":"";document.cookie="".concat(t,"=").concat(r,";").concat(a).concat(l).concat(c).concat(u)}({name:n,value:"0",expireDate:t,secure:!0,path:"/"})}document.body.removeEventListener("mouseleave",e)};return(0,s.useEffect)((function(){(window.reliableConsentGiven||Promise.resolve()).then((function(){document.body.addEventListener("mouseleave",u)})).catch((function(e){return console.error(e)}))}),[]),(0,s.useEffect)((function(){l&&(J({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:"SIGNUP - Exit Intent - 15",eventLabel:"show",dimension70:"15",nonInteraction:!1}}),Y("newsletterEvent",{newsletter:{action:"show",modal:"SIGNUP - Exit Intent - 15"}}))}),[l]),"email"===ne("utm_medium")?null:l?o().createElement("div",{className:"exit-intent exit-intent__background"},o().createElement("div",{className:"exit-intent__wrapper"},o().createElement("button",{onClick:function(){c(!1),J({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:"SIGNUP - Exit Intent - 15",eventLabel:"dismissed- cross",dimension70:"15",nonInteraction:!1}}),Y("newsletterEvent",{newsletter:{action:"close",modal:"SIGNUP - Exit Intent - 15"}})},className:"exit-intent__close-button",title:null==t?void 0:t.closeButton,"aria-label":null==t?void 0:t.closeButton},o().createElement(ie,null)),r)):null},oe=function(e){var t,r=e.layout,n=e.header,a=e.headerIcon,l=e.tagline,c=e.formFooterText,u=e.successMessage,h=e.failureMessage,p=e.inputs,d=e.endpoint,f=void 0===d?"":d,m=e.method,g=void 0===m?"GET":m,b=i((0,s.useState)(!0),2),y=b[0],v=b[1],w=i((0,s.useState)(""),2),x=w[0],S=w[1],_=i((0,s.useState)(!1),2),E=_[0],O=_[1],T=o().createElement("div",{"data-hydrate":!0,className:"newsletter-form__wrapper newsletter-form__wrapper--".concat(r)},o().createElement("div",{className:"newsletter-form__container"},(n||(null==a?void 0:a.svgContents)||(null==a?void 0:a.svgUrl))&&o().createElement("section",{className:"newsletter-form__top-bar"},"sidebar"===r&&a?null!=a&&a.svgContents?o().createElement("span",{className:"newsletter-form__headerIcon",dangerouslySetInnerHTML:{__html:null==a?void 0:a.svgContents}}):null!=a&&a.svgUrl?o().createElement(z,{src:a.svgUrl,alt:a.alt||"",className:"newsletter-form__headerIconImage"}):null:null,n&&o().createElement("h2",{className:"newsletter-form__header",dangerouslySetInnerHTML:{__html:n}})),o().createElement("section",{className:"newsletter-form__main-section"},l&&o().createElement("p",{className:"newsletter-form__strapline"},l),y?o().createElement(W,{layout:r,method:g,action:f,handleSubmit:function(e,t){e.preventDefault(),function(e){var t=e.formValues,r=e.endpoint,n=e.method,i=e.setFormMessage,s=e.successMessage,a=e.failureMessage,l=e.setRenderEmailForm,c=e.layout,u=e.setKiosqSuccessLayoutDisplayed;t&&!t.NAME&&fetch(r,{method:n,headers:new Headers({"Content-Type":"application/json",Accept:"application/json"}),body:Z(t)}).then((function(e){return e.json()})).then((function(e){var r,n,h,p=null==s?void 0:s.body;"kiosq"===c&&(u(!0),p=function(e){if(!e)return null;var t=e.title,r=e.body,n=e.buttonText,i=document.querySelector(".kiosq-description"),s=document.querySelector(".kiosq-conditions");return i&&i.insertAdjacentHTML("afterend",""),s&&s.insertAdjacentHTML("afterend",""),o().createElement("div",{"data-hydrate":!0,className:"newsletter-form__message--kiosq"},o().createElement("p",{className:"newsletter-form__message--kiosq-title"},t),o().createElement("p",{className:"newsletter-form__message--kiosq-text"},r),o().createElement("button",{className:"newsletter-form__message--kiosq-button",onClick:function(){document.dispatchEvent(new CustomEvent("kiosqRegwall",{detail:{message:"email sent"}})),localStorage.setItem("kiosqRegwall","Email already sent")}},n))}(s));var d=e.workflow.id?"successmessage":"failuremessage";J({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:Q({layout:c,source:null!==(r=null==t?void 0:t.SOURCE)&&void 0!==r?r:"0"}),eventLabel:d,dimension70:null!==(n=null==t?void 0:t.SOURCE)&&void 0!==n?n:"0",nonInteraction:!1}}),Y("newsletterEvent",{newsletter:{action:d,modal:Q({layout:c,source:null!==(h=null==t?void 0:t.SOURCE)&&void 0!==h?h:"0"})}}),i(e.workflow.id?p:a),l(!1)})).catch((function(e){i(a),l(!1),console.error("Form Slice - ".concat(a,": ").concat(e))}))}({formValues:t,endpoint:f,method:g,successMessage:u,failureMessage:h,setFormMessage:S,setRenderEmailForm:v,layout:r,setKiosqSuccessLayoutDisplayed:O})},inputs:p}):o().createElement("div",{className:"newsletter-form__message"},x),c&&!E&&o().createElement("footer",{className:"newsletter-form__footer",dangerouslySetInnerHTML:{__html:c}}))));return"exitIntent"===r?o().createElement(se,{ariaLabels:null===(t=e.ariaLabels)||void 0===t?void 0:t.exitIntent},T):T}},9996:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function o(e,t){try{return t in e}catch(e){return!1}}function a(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n;var c=Array.isArray(r);return c===Array.isArray(e)?c?l.arrayMerge(e,r,l):function(e,t,r){var i={};return r.isMergeableObject(e)&&s(e).forEach((function(t){i[t]=n(e[t],r)})),s(t).forEach((function(s){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(o(e,s)&&r.isMergeableObject(t[s])?i[s]=function(e,t){if(!t.customMerge)return a;var r=t.customMerge(e);return"function"==typeof r?r:a}(s,r)(e[s],t[s],r):i[s]=n(t[s],r))})),i}(e,r,l):n(r,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return a(e,r,t)}),{})};var l=a;e.exports=l},7837:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},7220:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(r(9960)),l=r(5863),c=r(7837),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var r=("length"in e?e:[e]),n="",i=0;i<r.length;i++)n+=d(r[i],t);return n}function d(e,t){switch(e.type){case a.Root:return p(e.children,t);case a.Directive:case a.Doctype:return"<"+e.data+">";case a.Comment:return"\x3c!--"+e.data+"--\x3e";case a.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case a.Script:case a.Style:case a.Tag:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!==(r=c.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&f.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1}))),!t.xmlMode&&m.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var i="<"+e.name,s=function(e,t){if(e)return Object.keys(e).map((function(r){var n,i,s=null!==(n=e[r])&&void 0!==n?n:"";return"foreign"===t.xmlMode&&(r=null!==(i=c.attributeNames.get(r))&&void 0!==i?i:r),t.emptyAttrs||t.xmlMode||""!==s?r+'="'+(!1!==t.decodeEntities?l.encodeXML(s):s.replace(/"/g,""))+'"':r})).join(" ")}(e.attribs,t);return s&&(i+=" "+s),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&h.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&h.has(e.name)||(i+="</"+e.name+">")),i}(e,t);case a.Text:return function(e,t){var r=e.data||"";return!1===t.decodeEntities||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=l.encodeXML(r)),r}(e,t)}}t.default=p;var f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"])},9960:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},7915:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var s=r(9960),o=r(7790);i(r(7790),t);var a=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,r){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?s.ElementType.Tag:void 0,n=new o.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,r=this.lastNode;if(r&&r.type===s.ElementType.Text)t?r.data=(r.data+e).replace(a," "):r.data+=e,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{t&&(e=e.replace(a," "));var n=new o.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment)this.lastNode.data+=e;else{var t=new o.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(""),t=new o.NodeWithChildren(s.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new o.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},7790:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},s.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=r(9960),a=new Map([[o.ElementType.Tag,1],[o.ElementType.Script,1],[o.ElementType.Style,1],[o.ElementType.Directive,1],[o.ElementType.Text,3],[o.ElementType.CDATA,4],[o.ElementType.Comment,8],[o.ElementType.Root,9]]),l=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=a.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),S(this,e)},e}();t.Node=l;var c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.data=r,n}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(l);t.DataNode=c;var u=function(e){function t(t){return e.call(this,o.ElementType.Text,t)||this}return i(t,e),t}(c);t.Text=u;var h=function(e){function t(t){return e.call(this,o.ElementType.Comment,t)||this}return i(t,e),t}(c);t.Comment=h;var p=function(e){function t(t,r){var n=e.call(this,o.ElementType.Directive,r)||this;return n.name=t,n}return i(t,e),t}(c);t.ProcessingInstruction=p;var d=function(e){function t(t,r){var n=e.call(this,t)||this;return n.children=r,n}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=d;var f=function(e){function t(t){return e.call(this,o.ElementType.Root,t)||this}return i(t,e),t}(d);t.Document=f;var m=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var s=e.call(this,i,n)||this;return s.name=t,s.attribs=r,s}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(d);function g(e){return(0,o.isTag)(e)}function b(e){return e.type===o.ElementType.CDATA}function y(e){return e.type===o.ElementType.Text}function v(e){return e.type===o.ElementType.Comment}function w(e){return e.type===o.ElementType.Directive}function x(e){return e.type===o.ElementType.Root}function S(e,t){var r;if(void 0===t&&(t=!1),y(e))r=new u(e.data);else if(v(e))r=new h(e.data);else if(g(e)){var n=t?_(e.children):[],i=new m(e.name,s({},e.attribs),n);n.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=s({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=s({},e["x-attribsPrefix"])),r=i}else if(b(e)){n=t?_(e.children):[];var a=new d(o.ElementType.CDATA,n);n.forEach((function(e){return e.parent=a})),r=a}else if(x(e)){n=t?_(e.children):[];var l=new f(n);n.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),r=l}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new p(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function _(e){for(var t=e.map((function(e){return S(e,!0)})),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=m,t.isTag=g,t.isCDATA=b,t.isText=y,t.isComment=v,t.isDirective=w,t.isDocument=x,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=S},6996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var n=r(3346),i=r(3905);t.getFeed=function(e){var t=l(h,e);return t?"feed"===t.name?function(e){var t,r=e.children,n={type:"atom",items:(0,i.getElementsByTagName)("entry",r).map((function(e){var t,r=e.children,n={media:a(r)};u(n,"id","id",r),u(n,"title","title",r);var i=null===(t=l("link",r))||void 0===t?void 0:t.attribs.href;i&&(n.link=i);var s=c("summary",r)||c("content",r);s&&(n.description=s);var o=c("updated",r);return o&&(n.pubDate=new Date(o)),n}))};u(n,"id","id",r),u(n,"title","title",r);var s=null===(t=l("link",r))||void 0===t?void 0:t.attribs.href;s&&(n.link=s),u(n,"description","subtitle",r);var o=c("updated",r);return o&&(n.updated=new Date(o)),u(n,"author","email",r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],s={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,r={media:a(t)};u(r,"id","guid",t),u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t);var n=c("pubDate",t);return n&&(r.pubDate=new Date(n)),r}))};u(s,"title","title",n),u(s,"link","link",n),u(s,"description","description",n);var o=c("lastBuildDate",n);return o&&(s.updated=new Date(o)),u(s,"author","managingEditor",n,!0),s}(t):null};var s=["url","type","lang"],o=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function a(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},n=0,i=s;n<i.length;n++)t[c=i[n]]&&(r[c]=t[c]);for(var a=0,l=o;a<l.length;a++){var c;t[c=l[a]]&&(r[c]=parseInt(t[c],10))}return t.expression&&(r.expression=t.expression),r}))}function l(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,r){return void 0===r&&(r=!1),(0,n.textContent)((0,i.getElementsByTagName)(e,t,r,1)).trim()}function u(e,t,r,n,i){void 0===i&&(i=!1);var s=c(r,n,i);s&&(e[t]=s)}function h(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},4975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var n=r(7915);function i(e,t){var r=[],i=[];if(e===t)return 0;for(var s=(0,n.hasChildren)(e)?e:e.parent;s;)r.unshift(s),s=s.parent;for(s=(0,n.hasChildren)(t)?t:t.parent;s;)i.unshift(s),s=s.parent;for(var o=Math.min(r.length,i.length),a=0;a<o&&r[a]===i[a];)a++;if(0===a)return 1;var l=r[a-1],c=l.children,u=r[a],h=i[a];return c.indexOf(u)>c.indexOf(h)?l===t?20:4:l===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,r){return!r.includes(e,t+1)}))).sort((function(e,t){var r=i(e,t);return 2&r?-1:4&r?1:0})),e}},9432:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(r(3346),t),i(r(5010),t),i(r(6765),t),i(r(8043),t),i(r(3905),t),i(r(4975),t),i(r(6996),t);var s=r(7915);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return s.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return s.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return s.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return s.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return s.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return s.hasChildren}})},3905:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var n=r(7915),i=r(8043),s={tag_name:function(e){return"function"==typeof e?function(t){return(0,n.isTag)(t)&&e(t.name)}:"*"===e?n.isTag:function(t){return(0,n.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,n.isText)(t)&&e(t.data)}:function(t){return(0,n.isText)(t)&&t.data===e}}};function o(e,t){return"function"==typeof t?function(r){return(0,n.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,n.isTag)(r)&&r.attribs[e]===t}}function a(e,t){return function(r){return e(r)||t(r)}}function l(e){var t=Object.keys(e).map((function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(s,t)?s[t](r):o(t,r)}));return 0===t.length?null:t.reduce(a)}t.testElement=function(e,t){var r=l(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var s=l(e);return s?(0,i.filter)(s,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(o("id",e),t,r)},t.getElementsByTagName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_type(e),t,r,n)}},6765:(e,t)=>{"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var s=i.children;s[s.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var s=n.children;s.splice(s.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},8043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var n=r(7915);function i(e,t,r,s){for(var o=[],a=0,l=t;a<l.length;a++){var c=l[a];if(e(c)&&(o.push(c),--s<=0))break;if(r&&(0,n.hasChildren)(c)&&c.children.length>0){var u=i(e,c.children,r,s);if(o.push.apply(o,u),(s-=u.length)<=0)break}}return o}t.filter=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),Array.isArray(t)||(t=[t]),i(e,t,r,n)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,r,i){void 0===i&&(i=!0);for(var s=null,o=0;o<r.length&&!s;o++){var a=r[o];(0,n.isTag)(a)&&(t(a)?s=a:i&&a.children.length>0&&(s=e(t,a.children)))}return s},t.existsOne=function e(t,r){return r.some((function(r){return(0,n.isTag)(r)&&(t(r)||r.children.length>0&&e(t,r.children))}))},t.findAll=function(e,t){for(var r,i,s=[],o=t.filter(n.isTag);i=o.shift();){var a=null===(r=i.children)||void 0===r?void 0:r.filter(n.isTag);a&&a.length>0&&o.unshift.apply(o,a),e(i)&&s.push(i)}return s}},3346:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=r(7915),s=n(r(7220)),o=r(9960);function a(e,t){return(0,s.default)(e,t)}t.getOuterHTML=a,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return a(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"
":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===o.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},5010:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var n=r(7915),i=[];function s(e){var t;return null!==(t=e.children)&&void 0!==t?t:i}function o(e){return e.parent||null}t.getChildren=s,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return s(t);for(var r=[e],n=e.prev,i=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=i;)r.push(i),i=i.next;return r},t.getAttributeValue=function(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,n.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,n.isTag)(t);)t=t.prev;return t}},4076:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var i=n(r(9323)),s=n(r(9591)),o=n(r(2586)),a=n(r(26)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function c(e){var t=h(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=c(o.default),t.decodeHTMLStrict=c(i.default);var u=function(e,t){return e<t?1:-1};function h(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?a.default(parseInt(t.substr(3),16)):a.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(s.default).sort(u),t=Object.keys(i.default).sort(u),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var o=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),a=h(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(o,l)}}()},26:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(3600)),s=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"":(e in i.default&&(e=i.default[e]),s(e))}},7322:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=u(n(r(2586)).default),s=h(i);t.encodeXML=g(i);var o,a,l=u(n(r(9323)).default),c=h(l);function u(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function h(e){for(var t=[],r=[],n=0,i=Object.keys(e);n<i.length;n++){var s=i[n];1===s.length?t.push("\\"+s):r.push(s)}t.sort();for(var o=0;o<t.length-1;o++){for(var a=o;a<t.length-1&&t[a].charCodeAt(1)+1===t[a+1].charCodeAt(1);)a+=1;var l=1+a-o;l<3||t.splice(o,l,t[o]+"-"+t[a])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(o=l,a=c,function(e){return e.replace(a,(function(e){return o[e]})).replace(p,f)}),t.encodeNonAsciiHTML=g(l);var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function f(e){return"&#x"+(e.length>1?d(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var m=new RegExp(s.source+"|"+p.source,"g");function g(e){return function(t){return t.replace(m,(function(t){return e[t]||f(t)}))}}t.escape=function(e){return e.replace(m,f)},t.escapeUTF8=function(e){return e.replace(s,f)}},5863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(4076),i=r(7322);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.e

A newfound, and impressively well-maintained, planetary system full of sub-Neptunes could reveal why our solar system lacks such a world.
1 d - Translate

I found this on NewsBreak: Kamala Harris reveals she would 'of course' inform the American public if there was a 'problem' with Biden https://share.newsbreak.com/5jju51ev

Close

Vice President Harris revealed during an interview on Wednesday that if there was a problem with President Biden that she would tell the American...