1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3318],{83318:function(e,l,t){t.r(l);var a=t(67294),n=t(5152),i=t.n(n),o=t(16310),r=t(17010),d=t(91787),s=t(83253),u=t.n(s),c=t(2921),m=t(99094),f=t(61806),v=t(29238),p=t.n(v),x=t(23510),h=t(85893);i()(function(){return Promise.resolve().then(t.bind(t,66273))},{loadableGenerated:{webpack:function(){return[66273]}}});var b=i()(function(){return Promise.all([t.e(9561),t.e(8770),t.e(6725),t.e(3705),t.e(6045),t.e(7520),t.e(5302),t.e(2080),t.e(4945),t.e(5822),t.e(323),t.e(8247),t.e(9480),t.e(2681)]).then(t.bind(t,12060))},{loadableGenerated:{webpack:function(){return[12060]}}});l.default=(0,f.Ui)(function(e){e.isMedium;var l,t=(null==e?void 0:e.block)||(null==e?void 0:null==(l=e.document)?void 0:l.fields),n=(0,a.useRef)(null),i=null==t?void 0:t.modalLabelFirst,s=null==t?void 0:t.modalLabelSecond,f=null==t?void 0:t.signupId,v=null==t?void 0:t.labels,g=(0,a.useState)([]),y=g[0];g[1];var j=(0,a.useState)(!1),_=j[0];j[1];var N=(0,a.useState)(!1),S=N[0],w=N[1],k=(0,a.useState)(!1),C=k[0];k[1];var L=(0,a.useState)(!1),M=L[0],T=L[1],A=(0,a.useState)(!1),I=A[0],q=A[1],D=(0,a.useRef)(null),E=(0,a.useState)(""),U=E[0],z=E[1],F=(0,a.useState)(""),G=(F[0],F[1]),O=(0,a.useState)(!1),R=(O[0],O[1]),H=(0,a.useState)(!1),V=(H[0],H[1]),W=(0,a.useState)(void 0),Y=W[0],Z=W[1],B=[{id:"uk",value:"uk",label:"United Kingdom"},{id:"ireland",value:"ireland",label:"Ireland"}],P=function(e){Z(e.value)},Q=[{name:"email",type:"input",placeholder:"email",label:"Email",defaultValue:"",validation:o.Z_().email("invalid").required("requires")}],K=(0,d.ev)(Q).control,$=(0,d.QO)("prod"),J=$.execute,X=$.status;(0,a.useEffect)(function(){"pending"===X&&(R(!0),G("")),"error"===X&&(z(m.Uq.errorText),R(!1)),"success"===X&&(R(!1),w(!0),localStorage.setItem(f,"true"))},[X]);var ee=function(){if(n.current){var e,l=null==n?void 0:null==(e=n.current)?void 0:e.querySelector("#openFirstLegalModalFooter");l&&l.addEventListener("click",function(e){e.preventDefault(),T(!0)});var t=n.current.querySelector("#openSecondLegalModalFooter");t&&t.addEventListener("click",function(e){e.preventDefault(),q(!0)})}},el=function(){T(!1),q(!1)};(0,a.useEffect)(function(){var e=!!localStorage.getItem(f);V(e),w(e)},[]),null==t||t.subtitle;var et=null==t?void 0:t.title,ea=null==t?void 0:t.formLabels,en=null==t?void 0:t.buttonsubmitCta,ei=null==t?void 0:t.legalText,eo=null==t?void 0:t.thankYouTitleLabel,er=null==t?void 0:t.thankYouDescriptionLabel;return(0,h.jsxs)("div",{className:"io10-spotlight-waitlistBlockFooter mx-auto text-[#0E1C63] lg:max-w-[144rem] 2xl:max-w-[1920px]",id:"io10SignupModule",children:[(0,h.jsx)("div",{className:"footerSignUp_iO10-text-1"}),!S&&(0,h.jsxs)("form",{onSubmit:function(e){e.preventDefault();var l=e.target[0],t=document&&null!=document.querySelector("#TermsAndConditions")&&document.querySelector("#TermsAndConditions").checked;l&&(null==l?void 0:l.value)?String(null==l?void 0:l.value).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)?(z(""),R(!0),J((0,r.N)({email:null==l?void 0:l.value,termsAndConditionsChecked:t,section:m.Uq.sectionFooter,selectedCountry:Y,traitValue:null==v?void 0:v.traitValue})),window.dataLayer&&window.dataLayer.push({event:"customEvent",GAeventCategory:"event_crm_action",GAeventAction:"event_profile_register",GAeventLabel:"footer_newsletter_signup"})):(z(m.Uq.emailValidFormat),R(!1)):(z(m.Uq.emailRequired),R(!1))},noValidate:!0,className:"px-2 py-4 2md:px-5 2md:py-5 2lg:px-10",children:[et&&(0,h.jsx)("div",{className:"pb-1h text-center 2md:text-left",children:(0,h.jsx)(x.default,{type:"body",variant:"medium-16",fontWeight:"bold",color:"grey",className:"!text-blue_175 2md:leading-1/4",dangerousHTML:!0,children:et})}),(0,h.jsx)("div",{className:"mb-6 h-[1px] bg-dark-gradient"}),_&&(0,h.jsx)("div",{tabIndex:0,className:"pb-1/2 pl-2",children:(0,h.jsx)(x.default,{type:"body",variant:"medium-16",fontWeight:"bold",className:"!text-red-600",color:"grey",children:_})}),(i||s)&&(0,h.jsx)("div",{className:"",children:(0,h.jsx)(u(),{isOpen:M||I,style:{overlay:{backgroundColor:"none"},content:{top:"auto",left:"auto",right:"auto",position:"fixed",inset:"50% auto auto 50%",border:"none",bottom:"auto",width:"50%",height:"35%",boxShadow:"rgba(0, 0, 0, 0.5) 0 2px 4px",background:"white",transform:"translate(-50%, -40%)",zIndex:999}},onRequestClose:el,closeTimeoutMS:250,overlayClassName:"event_button_click",ref:D,portalClassName:"modal-pop-up footerModal-popup",children:(0,h.jsxs)("div",{className:"ob-spotlight-waitlist__modal-container-legal footerModal-popup-container",children:[M&&i&&(0,h.jsx)("p",{dangerouslySetInnerHTML:{__html:p().sanitize("".concat(i),{ADD_TAGS:["a"],ADD_ATTR:["target"]})}}),I&&s&&(0,h.jsx)("p",{dangerouslySetInnerHTML:{__html:p().sanitize("".concat(s),{ADD_TAGS:["a"],ADD_ATTR:["target"]})}}),(0,h.jsx)("button",{tabIndex:0,"aria-label":"Close modal",onClick:el,className:"absolute right-4 top-4 z-10 flex h-8 w-8 cursor-pointer items-center justify-center outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",children:(0,h.jsx)(c.ModernIcon,{name:"closeOverlay","aria-label":"close",size:"2xl"})})]})})}),null==ea?void 0:ea.map(function(e,l){var t;return(null==e?void 0:null==(t=e.fields)?void 0:t.id)?(0,h.jsxs)("div",{className:"pt-1h",children:[y.length>0&&y.map(function(l,t){var a,n,i;return l.id===e.fields.id&&(null==e?void 0:null==(a=e.fields)?void 0:null==(n=a.val
1idation)?void 0:null==(i=n.fields)?void 0:i.errorMessage)?(0,h.jsx)("div",{className:"pb-1/2 pl-2",children:(0,h.jsx)(x.default,{type:"body",variant:"medium-16",fontWeight:"bold",className:"!text-red-600",color:"grey",children:e.fields.validation.fields.errorMessage})},t):null}),(0,h.jsx)("div",{className:"io10InputContainerFooter",children:(0,h.jsx)("ul",{children:(0,h.jsx)("li",{className:"form-container-left",children:(0,h.jsxs)("div",{className:"flex w-full flex-col gap-4 2md:flex-row",children:[(0,h.jsx)(d.Qr,{name:e.fields.id,defaultValue:e.fields.id,control:K,render:function(){var l,t,a,n,i,o,r,d,s,u;return(0,h.jsxs)("div",{className:"w-full flex-grow 2md:w-1/2",children:[(0,h.jsx)("input",{"aria-label":e.fields.id,type:e.fields.type,pattern:null==e?void 0:null==(l=e.fields)?void 0:null==(t=l.validation)?void 0:null==(a=t.fields)?void 0:a.pattern,required:null==e?void 0:null==(n=e.fields)?void 0:null==(i=n.validation)?void 0:null==(o=i.fields)?void 0:o.required,id:e.fields.id,name:e.fields.id,"aria-placeholder":"Your email address",placeholder:"Your email address",autoComplete:(null==e?void 0:null==(r=e.fields)?void 0:r.type)==="email"?"email":null==e?void 0:null==(d=e.fields)?void 0:null==(s=d.label)?void 0:null==(u=s.fields)?void 0:u.autoCompleteText,className:"focus:ring-blue-150 flex h-[4.2rem] w-full items-center rounded-full border border-blue_50 px-2 py-1 text-base text-blue_175 placeholder:font-regular placeholder:text-base placeholder:text-footer_placeholder focus:border-transparent focus:outline-none focus:ring-2",maxLength:100}),e.fields.fieldMention&&(0,h.jsx)("p",{className:"ob-spotlight-waitlist__form-mention text-[#0E1C63]",children:(0,h.jsx)("div",{children:(0,h.jsxs)(x.default,{type:"body",variant:"small-14",color:"grey",className:"!text-blue_175",children:[e.fields.fieldMention,"++++"]})})})]})}},e.fields.id),(0,h.jsx)(b,{options:B,selectedId:Y||"",placeholder:"Country",onSelectionChange:P,"aria-label":"Select country",id:"country-select",className:"w-full !max-w-none flex-shrink-0 2md:w-1/2",gradientBorder:!1}),en&&(0,h.jsxs)("button",{"aria-label":en,type:m.IH.submit,"data-action-detail":"".concat(en," submit"),disabled:y.length<0,className:"flex items-center justify-center",children:[(0,h.jsx)(c.ModernIcon,{name:"signUpChevronRight",size:"2xl","aria-label":en}),C&&(0,h.jsx)("span",{className:"ob-button__spinner"})]})]})},"formLabel-"+l)})})]},l):null}),U&&(0,h.jsx)("div",{className:"pl-2 pt-1/2",children:(0,h.jsx)(x.default,{type:"body",variant:"medium-16",fontWeight:"bold",className:"leading-1 !text-red-600",color:"grey",children:U})}),ei&&(0,h.jsx)("div",{className:"w-full pt-1h text-center 2md:text-left",onMouseOver:function(){return ee()},ref:n,children:(0,h.jsx)(x.default,{type:"annotation",variant:"default-12",color:"grey",fontWeight:"regular",className:"leading-1/3 !text-blue_175 [&_a]:!text-blue_150 [&_a]:underline",dangerousHTML:!0,children:ei})})]}),S&&(0,h.jsxs)("div",{className:"thank-you-container px-2 py-4 2md:px-5 2md:py-5 2lg:px-10",children:[eo&&(0,h.jsx)("div",{className:"footerSignUp_iO10-thank-you text-left",children:(0,h.jsx)(x.default,{type:"subhead",variant:"sh3-20",fontWeight:"bold",color:"grey",className:"py-1 !text-3xl !text-blue_175",children:eo})}),er&&(0,h.jsx)("div",{className:"signUp_iO10-text-2 text-left",children:(0,h.jsx)(x.default,{type:"subhead",variant:"sh3-20",color:"grey",className:"py-3 text-left !text-2xl !text-blue_175",children:(0,h.jsx)("span",{dangerouslySetInnerHTML:{__html:p().sanitize(er)}})})})]})]})})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.