Rachel McAdams’ Wedding Dress in ‘The Notebook’ Was Inspired By One of the Most Beloved Royal Wedding Dresses of All Time
The classic love story starring McAdams opposite Ryan Gosling turns 20 years old this week.
The 1956 wedding dress of Grace Kelly as she married Prince Rainier III of Monaco is not just one of the most iconic royal wedding dresses of all time, but is one of the most iconic wedding dresses of all time, period. And, in addition to inspiring who knows how many real life brides in the 68 years since Grace wore it down the aisle that April 19, it also inspired Rachel McAdams’ character in 2004’s The Notebook and her wedding dress in that film, People reports.
McAdams played Allison “Allie” Hamilton in the film, opposite Ryan Gosling, who played Noah Calhoun. The movie—based on Nicholas Sparks’ 1996 novel of the same name—turned 20 years old yesterday, and follows Allie and Noah as they fall in love in 1940s South Carolina. The film’s costume designer, Karyn Wagner, said “I made about 90 percent of the costumes because I’m so specific with my storytelling”—and one of those looks was Allie’s wedding dress.
Allie was planning to marry Lon Hammond Jr. (played by James Marsden) during a break in her relationship with Noah, and for inspiration for Allie’s dress, Wagner turned to Grace’s dress (which hadn’t yet happened, as Grace married in 1956). “Even if you don’t really know who she is, you’ve seen the photographs of her wedding,” Wagner said. “They’re some of the most iconic photographs of weddings ever, and she has this gorgeous, gorgeous dress. I wanted to reference that with Allie’s dress.”
Allie’s white lace dress—complete with a veil and long sleeves—resembles Grace’s gown, designed by Helen Rose, who was MGM Studios’ costume designer. “I wanted to reference, again, the family’s wealth by the amount of lace on the dress, and also by how huge the veil was,” Wagner said. “Going back to the sumptuary laws during World War II, you couldn’t have a veil that big unless you were either wearing your great-grandmother’s from Victorian times or you were just wealthy enough to fly it in from France and say, ‘I don’t care what this costs, my daughter’s getting married, and she’s going to have an eight-foot veil.’ So that’s a lot of what went into that wedding dress.”
Wagner also added that the dress was purposely designed to be uncomfortable for McAdams to wear—a reflection of Allie’s reservations over her impending marriage to Lon, Bustle reports. “I wanted the dress to make her realize that she wasn’t happy about this,” Wagner said. “She wasn’t happy. She didn’t actually want to be here.”
window.sliceComponents = window.sliceComponents || {};
externalsScriptLoaded.then(() => {
window.reliablePageLoad.then(() => {
var componentContainer = document.querySelector(“#slice-container-newsletterForm-articleInbodyContent-FW8B5Frq2WLQkDHApnWuFe”);
if (componentContainer) {
var data = {“layout”:”inbodyContent”,”header”:”Stay In The Know”,”tagline”:”Marie Claire email subscribers get intel on fashion and beauty trends, hot-off-the-press celebrity news, and more. Sign up here.”,”formFooterText”:”By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.”,”successMessage”:{“body”:”Thank you for signing up. You will receive a confirmation email shortly.”},”failureMessage”:”There was a problem. Please refresh the page and try again.”,”method”:”POST”,”inputs”:[{“type”:”hidden”,”name”:”NAME”},{“type”:”email”,”name”:”MAIL”,”placeholder”:”Your Email Address”,”required”:true},{“type”:”hidden”,”name”:”NEWSLETTER_CODE”,”value”:”ZMC-D”},{“type”:”hidden”,”name”:”LANG”,”value”:”EN”},{“type”:”hidden”,”name”:”SOURCE”,”value”:”60″},{“type”:”hidden”,”name”:”COUNTRY”},{“type”:”checkbox”,”name”:”CONTACT_OTHER_BRANDS”,”label”:{“text”:”Contact me with news and offers from other Future brands”}},{“type”:”checkbox”,”name”:”CONTACT_PARTNERS”,”label”:{“text”:”Receive email from us on behalf of our trusted partners or sponsors”}},{“type”:”submit”,”value”:”Sign me up”,”required”:true}],”endpoint”:”https:\/\/newsletter-subscribe.futureplc.com\/v2\/submission\/submit”,”analytics”:[{“analyticsType”:”widgetViewed”}],”ariaLabels”:{}};
var newsletterForm;(()=>{var e={409:(e,t,n)=>{“use strict”;function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nue});var a=n(651),i=n.n(a);function c(e){var t,n,r=””;if(“string”==typeof e||”number”==typeof e)r+=e;else if(“object”==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=c(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function l(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=c(e))&&(r&&(r+=" "),r+=t);return r}var s="(?\\/[\\/A-Za-z0-9-_]{0,}?)(?-[0-9]{0,5})?(?-[0-9]{2})?\\.(?png|jpg|jpeg|gif)(?.webp)?”,u=[320,640,720,1280],d={default:”99vw”};const m=function(e){try{return new URL(e),!0}catch(e){return!1}};var f=function(e){return”string”==typeof e?new URL(e.replace(” “,”%20″)):e},p=function(e){var t=e.parentElement;return t?”picture”===t.tagName.toLowerCase()&&t.parentElement||t:e},v=function e(t){var n=t.offsetWidth;return n0&&g(e);var t=document.querySelectorAll(‘[sizes=”99vw”]’);t.length>0&&g(t)};function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(){return w=Object.assign||function(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:80,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?”.webp”:””;if(!m(e))return e;var o,a,i=f(e),c=new RegExp(s,”i”),l=i.pathname.match(c),u=””;i.pathname&&l&&(u=””.concat(null==l||null===(o=l.groups)||void 0===o?void 0:o.id,”-“).concat(t,”-“).concat(n,”.”).concat(null==l||null===(a=l.groups)||void 0===a?void 0:a.ext).concat(r));var d=””;return i.protocol&&i.host&&(d=””.concat(i.protocol,”//”).concat(i.host)),d+u}(e,o,n),” “).concat(o,”w”).concat(i)})),r};var _=function(e){var t,n=new RegExp(s,”i”);if(!m(e))return””;var r=f(e).pathname.match(n);return(null==r||null===(t=r.groups)||void 0===t?void 0:t.ext)||””},S=function(e){var t=_(e);return””===t?t:(“jpg”===t&&(t=”jpeg”),”image/”.concat(t))};function O(e){return O=”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},O(e)}const N=function e(t){return”object”===O(t)&&t.origin?e(t.origin):”string”==typeof t&&t.includes(“.mos.cms.futurecdn.net”)};var x=[“src”,”dataSrcSet”,”dataSrcSetWebp”,”imageSizes”,”onError”];function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var L=function(e){var t=e.src,n=e.alt,r=e.className,c=void 0===r?””:r,l=e.attributes,s=void 0===l?{}:l,m=e.srcSetSizes,f=void 0===m?u:m,p=e.sizes,v=void 0===p?d:p,g=e.missingImageSrc,y=void 0===g?” 0===O?function(){}:O,I=e.setImageRef,R=void 0===I?function(){}:I,T=e.lazyLoading,C=void 0===T||T,A=e.useOriginalUrl,P=void 0!==A&&A,k=(0,a.useRef)(null),D=(0,a.useRef)(null),z=o((0,a.useState)(c),2),M=z[0],U=z[1],q=o((0,a.useState)(!1),2),F=q[0],B=q[1],H=function(){M.includes(“loaded”)||U((function(e){return””.concat(e,” loaded”)})),L()},W=P?b(t):t;if(!N(W))return i().createElement(“img”,w({“data-hydrate”:!0,key:”nomosimage “.concat(W,” “).concat(n),src:W,alt:n,onLoad:H,className:M,loading:!1===C?”eager”:”lazy”},s));var G,V,Y,$=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({src:y,dataSrcSet:E(W,f,!1),dataSrcSetWebp:E(W,f,!0),imageSizes:(G=v,V="",Y="",Object.entries(G).forEach((function(e){var t=o(e,2),n=t[0],r=t[1];"default"===n?Y=r:V="".concat(V,"(min-width: ").concat(n,") ").concat(r,", ")})),V="".concat(V).concat(Y)),onError:function(e){[k,D].forEach((function(t){t.current&&(t.current.srcset=e.currentTarget.src)})),B(!0)},"data-normal":y,"data-original-mos":b(W),"data-pin-media":b(W),"data-pin-nopin":!0},s),K=$.src,J=$.dataSrcSet,Z=$.dataSrcSetWebp,Q=$.imageSizes,X=$.onError,ee=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}($,x);function te(){return”gif”===_(W)?null:i().createElement(“source”,w({className:c,type:”image/webp”,srcSet:Z,sizes:Q,ref:function(e){k.current=e}},ee))}return i().createElement(“picture”,{“data-hydrate”:!0},i().createElement(te,null),i().createElement(“source”,w({className:c,type:S(W),srcSet:J,sizes:Q,ref:function(e){D.current=e}},ee)),i().createElement(“img”,w({key:”image “.concat(K,” “).concat(n),src:K,alt:n,sizes:Q,className:M,ref:function(e){e&&R(e)},onLoad:H,loading:!1===C?”eager”:”lazy”,onError:F?null:X},ee)))};const I=i().memo(L),R=function(e,t){var n;return function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){return e.apply(void 0,o)}),t)}},T=function(e){var t=e.src,n=e.width,r=e.height;return i().createElement("div",{itemScope:!0,itemType:"https://schema.org/ImageObject"},i().createElement("meta",{itemProp:"url",content:t}),n&&i().createElement("meta",{itemProp:"width",content:n.toString()}),r&&i().createElement("meta",{itemProp:"height",content:r.toString()}))};var C=function(e){var t=e.src,n=e.alt,r=e.width,o=e.height,c=e.lazyLoading,s=e.missingImageSrc,m=e.className,f=e.addSEOMetaData,p=e.srcSetSizes,v=void 0===p?u:p,g=e.sizes,h=void 0===g?d:g,w=e.onLoad,b=e.useOriginalUrl,E=l(m,"image__image"),_=(0,a.useCallback)(y,[]);(0,a.useEffect)((function(){var e=R(_,200);return window.addEventListener("resize",e),setTimeout(e,200),function(){window.removeEventListener("resize",e)}}),[]);var S=function(){return i().createElement(i().Fragment,null,i().createElement(I,{key:t,src:t,alt:n,className:E,missingImageSrc:s,srcSetSizes:v,sizes:h,onLoad:w,lazyLoading:c,useOriginalUrl:b}),f&&i().createElement(T,{key:"meta-".concat(t),src:t,width:r,height:o}))};return i().createElement(S,null)};const A=i().memo(C),P=function(e,t){return"_blank"===e&&t?"".concat(t," noreferrer noopener"):"_blank"!==e||t?t:"noreferrer noopener"};function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t150?150:n},F=n(632),B=n.n(F);const H=function(e){var t,n=e.caption,r=e.credit;return r&&(t=function(e,t){var n=/{(\w+)}/g;if(Object.values(t).every((function(e){return”string”==typeof e}))){var r=t;return e.replaceAll(n,(function(e,t){return r[t]?r[t]:e}))}return B()(e,n,(function(e,n){return i().createElement(a.Fragment,{key:””.concat(e,”-“).concat(n)},t[e]?t[e]:”{“.concat(e,”}”))})).filter((function(e){return””!==e}))}(r.text,{subject:r.subject})),i().createElement(“figcaption”,{className:”caption-credit__figcaption”},n&&i().createElement(“span”,{className:”caption-credit__caption”,dangerouslySetInnerHTML:{__html:n}}),t&&(“string”==typeof t?i().createElement(“span”,{className:”caption-credit__credit”,itemProp:”copyrightHolder”,dangerouslySetInnerHTML:{__html:t}}):i().createElement(“span”,{className:”caption-credit__credit”,itemProp:”copyrightHolder”},t)))};var W=function(e){var t=e.src,n=e.alt,r=e.caption,o=e.credit,a=e.width,c=e.height,s=e.lazyLoading,u=e.onLoad,d=e.imageEndorsement,m=e.imageAward,f=e.missingImageSrc,p=e.className,v=e.addSEOMetaData,g=e.srcSetSizes,y=e.sizes,h=e.removeNativeWidthRestriction,w=e.setImageWidthsetterRef,b=e.setImageAspectPaddingRef,E=e.useOriginalUrl,_=e.dataBordeauxImageCheckAttr,S=e.noCredit,O={paddingBottom:””.concat(q(a,c),”%”)},N={maxWidth:a?””.concat(a,”px”):”none”};return i().createElement(“figure”,{className:”image-wrapped__wrapper”,”data-bordeaux-image-check”:_},i().createElement(“div”,{className:”image-wrapped__widthsetter”,style:h?{}:N,ref:function(e){e&&w&&w(e)}},i().createElement(“div”,{className:”image-wrapped__aspect-padding”,style:O,ref:function(e){e&&b&&b(e)}},m&&i().createElement(A,{src:m.src,alt:m.alt,className:”img__award “.concat(U(m.position))}),d&&i().createElement(A,{src:d.src,alt:d.alt,lazyLoading:s,onLoad:u,className:”img__endorsement “.concat(M(d.position)),missingImageSrc:f}),i().createElement(A,{src:t,alt:n,width:a,height:c,lazyLoading:s,onLoad:u,missingImageSrc:f,className:l(p,”image-wrapped__image”),addSEOMetaData:v,srcSetSizes:g,sizes:y,useOriginalUrl:E}))),(r||o)&&!S&&i().createElement(H,{caption:r,credit:o}))};const G=function(e){var t=e.src,n=e.alt,r=e.caption,o=e.credit,a=e.width,c=e.height,l=e.lazyLoading,s=e.onLoad,u=e.imageEndorsement,d=e.imageAward,m=e.missingImageSrc,f=e.link,p={src:t,alt:n,caption:r,credit:o,width:a,height:c,lazyLoading:l,onLoad:s,imageEndorsement:u,imageAward:d,missingImageSrc:m,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,noCredit:e.noCredit};return f?i().createElement(z,f,i().createElement(W,p)):i().createElement(W,p)};var V=function(e){if(“undefined”!=typeof document){var t=document.cookie.match(“(^|;) ?”.concat(e,”=([^;]*)(;|$)”));return t?t[2]:null}return null};function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $(e){for(var t=1;t-1&&”email”===(null==g?void 0:g.toLowerCase())&&y(“text”),”hidden”===(null==c?void 0:c.toLowerCase())&&t&&(p((function(e){return $($({},e),{},h({},t,n))})),”COUNTRY”===(null==t?void 0:t.toUpperCase()))){var e=V(“FTR_Country_Code”)||V(“FTR_User_Defined_Country_Code”)||void 0;p((function(n){return $($({},n),{},h({},t,e))}))}}),[]);var w=i().createElement(“input”,{“data-hydrate”:!0,type:g,className:”form__”.concat(c,”-input “).concat(f),value:n,name:t,required:u,disabled:m,placeholder:l,onChange:function(e){if(“submit”!==c){var t=e.target,n=t.name,r=t.value,o=t.checked;p((function(e){return $($({},e),{},h({},n,”checkbox”===c?o:r))}))}}});return r?i().createElement(“label”,{className:”form__”.concat(c,”-label”)},w,r.text):i().createElement(i().Fragment,null,w)};var J=function(e){var t=e.layout,n=e.method,r=e.action,c=e.handleSubmit,l=e.inputs,s=o((0,a.useState)({}),2),u=s[0],d=s[1];return i().createElement(“form”,{“data-hydrate”:!0,className:”newsletter-form__form newsletter-form__form–“.concat(t),method:n,action:r,onSubmit:function(e){return c(e,u)}},null==l?void 0:l.map((function(e){return i().createElement(K,{key:””.concat(e.name,”-“).concat(e.value),setFormValues:d,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 Z=function(e,t){document.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!1}))},Q=function(e){var t=e.eventType,n=e.data;Z(t,n)},X=function(e,t){window.freyr.cmd.push((function(){window.freyr.pushAndUpdate(e,t)}))};var ee=function(e){var t,n,r,o,a,i,c,l,s,u,d={submission:{name:null!==(t=null==e?void 0:e.NAME)&&void 0!==t?t:””,email:null!==(n=null==e?void 0:e.MAIL)&&void 0!==n?n:””,code:null!==(r=null==e?void 0:e.NEWSLETTER_CODE)&&void 0!==r?r:””,source:null!==(o=null==e?void 0:e.SOURCE)&&void 0!==o?o:0,language:null!==(a=null==e?void 0:e.LANG)&&void 0!==a?a:””,country:null!==(i=null==e?void 0:e.COUNTRY)&&void 0!==i?i:””,consent:{marketing:null!==(c=null!==(l=Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS))&&void 0!==l?l:Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS_AND_PARTNERS))&&void 0!==c&&c,data:null!==(s=null!==(u=Boolean(null==e?void 0:e.CONTACT_PARTNERS))&&void 0!==u?u:Boolean(null==e?void 0:e.CONTACT_OTHER_BRANDS_AND_PARTNERS))&&void 0!==s&&s}}};return JSON.stringify(d)},te=function(e){var t=e.layout,n=e.source;return”exitIntent”===t?”SIGNUP – Exit Intent – “.concat(n):”Newsletter signup – “.concat(n)};function ne(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function re(e){for(var t=[],n=1;n=a&&!m&&(f(!0),p(),window.removeEventListener(“scroll”,R(e,500)))}),500),{passive:!0})};return(0,a.useEffect)((function(){var e,t,n=null!==(e=window.reliableConsentGiven)&&void 0!==e?e:Promise.resolve();(null!==(t=window.reliableDOMContentLoaded)&&void 0!==t?t:Promise.resolve()).then((function(){window.innerWidth<700&&null!=c&&c.enabled&&(null!=c&&c.setTimerDelay&&setTimeout((function(){p()}),null==c?void 0:c.setTimerDelay),null!=c&&c.scrollDepthTrigger&&document.body.addEventListener("touchstart",v))})).catch((function(e){return console.error(e)})),n.then((function(){document.body.addEventListener("mouseleave",p)})).catch((function(e){return console.error(e)}))}),[]),(0,a.useEffect)((function(){s&&(Q({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:"SIGNUP – Exit Intent – 15",eventLabel:"show",dimension70:"15",nonInteraction:!0}}),X("newsletterEvent",{newsletter:{action:"show",modal:"SIGNUP – Exit Intent – 15"}}))}),[s]),"email"===ie("utm_medium")?null:s?i().createElement("div",{className:"exit-intent exit-intent__background"},i().createElement("div",{className:"exit-intent__wrapper"},i().createElement("button",{onClick:function(){u(!1),Q({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:"SIGNUP – Exit Intent – 15",eventLabel:"dismissed- cross",dimension70:"15",nonInteraction:!1}}),X("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},i().createElement(ce,null)),n)):null},ue=function(e){var t,n=e.layout,r=e.header,c=e.headerIcon,l=e.tagline,s=e.formFooterText,u=e.successMessage,d=e.failureMessage,m=e.inputs,f=e.cookieExpiryDays,p=e.endpoint,v=void 0===p?"":p,g=e.method,y=void 0===g?"GET":g,h=e.mobile,w=e.analytics,b=(0,a.useRef)(null),E=o((0,a.useState)(!0),2),_=E[0],S=E[1],O=o((0,a.useState)(""),2),N=O[0],x=O[1],j=o((0,a.useState)(!1),2),L=j[0],I=j[1];(0,a.useEffect)((function(){if(null!=w&&w.length&&b.current){var e,t=(null===(e=m.find((function(e){return"SOURCE"===e.name})))||void 0===e?void 0:e.value)||"0";w.some((function(e){return"widgetViewed"===e.analyticsType}))&&function(e){var t=e.toObserve,n=e.layout,r=e.source;if("undefined"!=typeof IntersectionObserver){var o=new IntersectionObserver((function(e){e.forEach((function(e){return e.isIntersecting?(Q({eventType:"genericEvent",data:{eventCategory:"Component",eventAction:te({layout:n,source:null!=r?r:"0"}),eventLabel:"viewable",dimension70:null!=r?r:"0",nonInteraction:!0}}),X("newsletterEvent",{newsletter:{action:"viewable",modal:te({layout:n,source:null!=r?r:"0"})}}),o.unobserve(t),function(){}):function(){}}))}),{threshold:[.5]});o.observe(t)}}({toObserve:b.current,layout:n,source:t})}}),[]);var R=i().createElement("div",{"data-hydrate":!0,ref:b,className:"newsletter-form__wrapper newsletter-form__wrapper–".concat(n)},i().createElement("div",{className:"newsletter-form__container"},(r||(null==c?void 0:c.svgContents)||(null==c?void 0:c.svgUrl))&&i().createElement("section",{className:"newsletter-form__top-bar"},"sidebar"===n&&c?null!=c&&c.svgContents?i().createElement("span",{className:"newsletter-form__headerIcon",dangerouslySetInnerHTML:{__html:null==c?void 0:c.svgContents}}):null!=c&&c.svgUrl?i().createElement(G,{src:c.svgUrl,alt:c.alt||"",className:"newsletter-form__headerIconImage"}):null:null,r&&i().createElement("h2",{className:"newsletter-form__header",dangerouslySetInnerHTML:{__html:r}})),i().createElement("section",{className:"newsletter-form__main-section"},l&&i().createElement("p",{className:"newsletter-form__strapline"},l),_?i().createElement(J,{layout:n,method:y,action:v,handleSubmit:function(e,t){e.preventDefault(),function(e){var t=e.formValues,n=e.endpoint,r=e.method,o=e.setFormMessage,a=e.successMessage,c=e.failureMessage,l=e.setRenderEmailForm,s=e.layout,u=e.setKiosqSuccessLayoutDisplayed;t&&!t.NAME&&fetch(n,{method:r,headers:new Headers({"Content-Type":"application/json",Accept:"application/json"}),body:ee(t)}).then((function(e){return e.json()})).then((function(e){var n,r,d,m=null==a?void 0:a.body;"kiosq"===s&&(u(!0),m=function(e){if(!e)return null;var t=e.title,n=e.body,r=e.buttonText,o=document.querySelector(".kiosq-description"),a=document.querySelector(".kiosq-conditions");return o&&o.insertAdjacentHTML("afterend",".kiosq-description {display:none;}”),a&&a.insertAdjacentHTML(“afterend”,”.kiosq-conditions {display:none;}”),i().createElement(“div”,{“data-hydrate”:!0,className:”newsletter-form__message–kiosq”},i().createElement(“p”,{className:”newsletter-form__message–kiosq-title”},t),i().createElement(“p”,{className:”newsletter-form__message–kiosq-text”},n),i().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”)}},r))}(a));var f=e.workflow.id?”successmessage”:”failuremessage”;Q({eventType:”genericEvent”,data:{eventCategory:”Component”,eventAction:te({layout:s,source:null!==(n=null==t?void 0:t.SOURCE)&&void 0!==n?n:”0″}),eventLabel:f,dimension70:null!==(r=null==t?void 0:t.SOURCE)&&void 0!==r?r:”0″,nonInteraction:!1}}),X(“newsletterEvent”,{newsletter:{action:f,modal:te({layout:s,source:null!==(d=null==t?void 0:t.SOURCE)&&void 0!==d?d:”0″})}}),o(e.workflow.id?m:c),l(!1)})).catch((function(e){o(c),l(!1),console.error(“Form Slice – “.concat(c,”: “).concat(e))}))}({formValues:t,endpoint:v,method:y,successMessage:u,failureMessage:d,setFormMessage:x,setRenderEmailForm:S,layout:n,setKiosqSuccessLayoutDisplayed:I})},inputs:m}):i().createElement(“div”,{className:”newsletter-form__message”},N),s&&!L&&i().createElement(“footer”,{className:”newsletter-form__footer”,dangerouslySetInnerHTML:{__html:s}}))));return”exitIntent”===n?i().createElement(se,{mobile:h,cookieExpiryDays:f,ariaLabels:null===(t=e.ariaLabels)||void 0===t?void 0:t.exitIntent},R):R}},745:(e,t,n)=>{“use strict”;var r=n(81);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},632:e=>{var t=function(e){return”string”==typeof e};e.exports=function(e,n,r){return Array.isArray(e)||(e=[e]),o=e.map((function(e){return t(e)?function(e,n,r){var o=0,a=0;if(“”===e)return e;if(!e||!t(e))throw new TypeError(“First argument to react-string-replace#replaceString must be a string”);var i,c,l,s=n;(function(e){return e instanceof RegExp})(s)||(s=new RegExp(“(“+(i=s,c=/[\\^$.*+?()[\]{}|]/g,l=RegExp(c.source),(i&&l.test(i)?i.replace(c,”\\$&”):i)+”)”),”gi”));for(var u=e.split(s),d=1,m=u.length;d{“use strict”;e.exports=window.slice.React},81:e=>{“use strict”;e.exports=window.slice.ReactDOM}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{“undefined”!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:”Module”}),Object.defineProperty(e,”__esModule”,{value:!0})};var r={};(()=>{“use strict”;n.d(r,{default:()=>e});const e={hydrate:function(e,t){var r=n(651),o=n(745),a=n(409).default;o.hydrateRoot(t,r.createElement(a,e))}}})(),newsletterForm=r.default})();
window.sliceComponents.newsletterForm = newsletterForm;
var triggerHydrate = function() {
window.sliceComponents.newsletterForm.hydrate(data, componentContainer);
}
if (window.lazyObserveElement) {
window.lazyObserveElement(componentContainer, triggerHydrate);
} else {
triggerHydrate();
}
}
}).catch(err => console.error(‘%c FTE ‘,’background: #9306F9; color: #ffffff’,’Hydration Script has failed for newsletterForm-articleInbodyContent-FW8B5Frq2WLQkDHApnWuFe Slice’, err));
}).catch(err => console.error(‘%c FTE ‘,’background: #9306F9; color: #ffffff’,’Externals script failed to load’, err));