1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3007],{25677:(e,t,n)=>{n.d(t,{e:()=>a});var r=n(14232);let a=()=>{let e=(0,r.useRef)(Date.now());return{validate:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;if(!window.finger)throw{message:"noFingerprint"};if(Date.now()-e.current<n)throw{message:"tooFast"};if(t.honeypot&&(t.honeypot.length>0||""!==t.honeypot))throw{message:"honeypot"}}}}},37679:(e,t,n)=>{n.d(t,{I:()=>s});var r=n(90301),a=n(10841),i=n.n(a),o=n(88102),l=n(42506),d=n(65364);function s(e,t){return r.Ik().shape(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n={};if(e)return Object.keys(e).map(a=>{if(!e[a])return!1;if("honeypot"===a&&(n.honeypot=r.Yj().max(0,o.n.honeypot[t])),"justificatif"===a)n.justificatif=r.gl().required(o.n.required[t]).test("fileSize",o.n.justificatif.size[t],e=>(null==e?void 0:e.size)<=(d.env.FILE_UPLOAD_MAX_SIZE||4194304)).test("fileFormat",o.n.justificatif.format[t],e=>["image/jpg","image/jpeg","image/png","application/pdf"].includes(null==e?void 0:e.type));else if("agreement"===a)n.agreement=r.YO().required(o.n.agreement[t]);else if("pixelConsent"===a)n.pixelConsent=r.YO();else if(e[a].groupRequired)n[a]=r.YO().required(o.n.required[t]);else{let l=r.Yj();e[a].maximumLength&&(l=l.max(e[a].maximumLength,o.n.maximumLength(e[a].maximumLength,t))),e[a].alphaNumber&&(l=l.matches(/^[a-z0-9]+$/i,{message:o.n.alphaNumber[t],excludeEmptyString:!0})),e[a].alphaSpecial&&(l=l.matches(/^([^0-9]*)$/,{message:o.n.alphaSpecial[t],excludeEmptyString:!0})),e[a].required&&(l=l.required(o.n.required[t])),e[a].phoneValidation&&(l=l.test("phone-validation",o.n.phoneValidation[t],function(e){return"phone-not-valid"!==e})),e[a].dateValidation&&(l=l.test("date-validation",o.n.dateValidation[t],function(e){return"date-not-valid"!==e})),e[a].is18&&(l=l.test("is-18",o.n.is18[t],function(e){return!!e&&i()().diff(i()(e).format("YYYY-MM-DD"),"years")>=18})),e[a].email&&(l=l.email(o.n.email[t])),e[a].emailConfirmation&&(l=l.test("mail-match",o.n.emailConfirmation[t],function(e){return this.parent.email===e})),n[a]=l}},{}),n;throw l.A.error("[ValidationService] you called addValidations without any datafields. So you dont need to use this function"),Error("No datafields were set")}(e,t))}},38923:(e,t,n)=>{n.d(t,{B2:()=>k,B5:()=>R,BO:()=>P,JU:()=>v,K0:()=>q,Kw:()=>T,LB:()=>y,NN:()=>B,OZ:()=>j,SK:()=>S,VY:()=>g,Xx:()=>f,d:()=>b,dC:()=>M,du:()=>x,ib:()=>A,ki:()=>L,uw:()=>C,wZ:()=>w,zC:()=>I});var r=n(28888),a=n(82167),i=n(99007),o=n(26348),l=n(76506),d=n(61404),s=n(88785),c=n(52470);function u(){let e=(0,r._)(["\n justify-content: start;\n "]);return u=function(){return e},e}function p(){let e=(0,r._)(["height: ",";"]);return p=function(){return e},e}function h(){let e=(0,r._)(["\n flex: 0;\n "]);return h=function(){return e},e}function m(){let e=(0,r._)(["height: auto;"]);return m=function(){return e},e}let f=a.Ay.span.withConfig({componentId:"sc-9d11405e-0"})([""," color:",";"],o.yw,l.Tj.creditColor),x=a.Ay.div.withConfig({componentId:"sc-9d11405e-1"})(["display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;> select{flex:1;}",""],i.Ay.tablet(u())),g=a.Ay.div.withConfig({componentId:"sc-9d11405e-2"})([""," color:",";"],o.rO,l.Tj.creditColor),y=a.Ay.fieldset.withConfig({componentId:"sc-9d11405e-3"})(["display:flex;flex-direction:column;position:relative;margin-bottom:",";border:none;padding-bottom:0;padding-left:0;padding-right:0;"],(0,s.G)(2)),b=a.Ay.div.withConfig({componentId:"sc-9d11405e-4"})(["display:flex;flex-direction:column;",";margin-bottom:",";border:none;padding-bottom:0;padding-left:0;padding-right:0;"],e=>e.hidden?"position: absolute; left: -9999px;":"position: relative;",(0,s.G)(2));a.Ay.div.withConfig({componentId:"sc-9d11405e-5"})(["margin-bottom:24px;"]);let v=a.Ay.label.withConfig({componentId:"sc-9d11405e-6"})([""," font-weight:bold;display:flex;align-items:center;gap:10px;",""],o.he,e=>{let{$isRequired:t}=e;return t&&'\n & > span::after {\n content: " *";\n color: '.concat(l.Tj.brandRed,";\n }\n ")}),j=a.Ay.span.withConfig({componentId:"sc-9d11405e-7"})(["display:inline;font-size:1rem;"]),C=a.Ay.legend.withConfig({componentId:"sc-9d11405e-8"})([""," font-weight:bold;display:flex;align-items:center;",""],o.he,e=>{let{$isRequired:t}=e;return t&&'\n & > span::after {\n content: " *";\n color: '.concat(l.Tj.brandRed,";\n }\n ")});a.Ay.span.withConfig({componentId:"sc-9d11405e-9"})([""," padding-left:16px;"],o.yF),a.Ay.legend.withConfig({componentId:"sc-9d11405e-10"})([""," font-weight:bold;"],o.he);let w=(0,a.AH)([""," background-color:",";border:1px solid #e5e5e5;box-shadow:0 1px 10px 0px rgba(224,224,224,0.5);padding:0 8px;height:",";margin-top:8px;",""],o.yF,l.Tj.bodyBg,(0,s.G)(5),i.Ay.tablet(p(),(0,s.G)(6))),A=(0,a.Ay)(d.B0).withConfig({componentId:"sc-9d11405e-11"})([""," width:100%;::placeholder{opacity:1;color:"," !important;}::-webkit-input-placeholder{opacity:1;color:"," !important;}::-moz-placeholder{opacity:1;color:"," !important;}:-ms-input-placeholder{opacity:1;color:"," !important;}:-moz-placeholder{opacity:1;color:"," !important;}",";"],w,l.Tj.creditColor,l.Tj.creditColor,l.Tj.creditColor,l.Tj.creditColor,l.Tj.creditColor,e=>"none"===e.border?"border: none;\n box-shadow: none;":"red"===e.border&&"border: 1px solid ".concat(l.Tj.errorRed)),S=a.Ay.div.withConfig({componentId:"sc-9d11405e-12"})(["display:inline-block;flex:1;max-width:90%;",""],i.Ay.tablet(h()));a.Ay.div.withConfig({componentId:"sc-9d11405e-13"})(["margin-top:8px;"]);let R=a.Ay.span.withConfig({componentId:"sc-9d11405e-14"})(["position:absolute;right:0;top:30px;padding:10px 8px;"]),q=a.Ay.span.withConfig({componentId:"sc-9d11405e-15"})(["cursor:pointer;"]),k=a.Ay.div.withConfig({componentId:"sc-9d11405e-16"})(["display:flex;justify-content:space-between;margin-top:",";"],e=>e.errors?(0,s.G)(1):(0,s.G)(3)),T=a.Ay.p.withConfig({componentId:"sc-9d11405e-17"})([""," color:",";"],o.rO,l.Tj.errorRed),L=a.Ay.select.withConfig({componentId:"sc-9d11405e-18"})([""," appearance:none;padding:0 26px 0 8px;",";background-image:linear-gradient(45deg,transparent 50%,gray 50%),linear-gradient(135deg,gray 50%,transparent 50%);background-position:calc(100% - 13px) calc(1em + 3px),calc(100% - 8px) calc(1em + 3px),calc(100% - 2.5em) 0.5em;background-size:5px 5px,5px 5px,1px 1.5em;background-repeat:no-repeat;width:",";@media (min-width:768px){width:",";}"],w,e=>"red"===e.border&&"border: 1px solid ".concat(l.Tj.errorRed),e=>e.group?"100%":"inherit",e=>e.group?"auto":"inherit"),P=a.Ay.option.withConfig({componentId:"sc-9d11405e-19"})(["display:block;padding:8px;margin-top:-2px;",""],e=>{let{$isRequired:t,$isRichText:n}=e;if(t)if(n)return'\n & > p::after {\n content: " *";\n color: '.concat(l.Tj.brandRed,";\n }\n ");else return'\n &::after {\n content: " *";\n color: '.concat(l.Tj.brandRed,";\n }\n ")}),B=a.Ay.label.withConfig({componentId:"sc-9d11405e-20"})(["position:relative;padding-left:40px;margin:0;cursor:pointer;color:",';&:before{content:"";position:absolute;
1left:0;top:0;width:30px;height:30px;border:1px solid ',";background:white;}"],l.Tj.textColor,l.Tj.gray),I=a.Ay.input.withConfig({componentId:"sc-9d11405e-21"})(["position:absolute;top:0;left:0;display:block;width:30px;height:30px;-moz-appearance:none;-webkit-appearance:none;-o-appearance:none;appearance:none;cursor:pointer;",' &:before,&:after{position:absolute;content:"";display:block;background-color:',";transform-origin:0 0;width:3px;}&:before{transform:rotate(-45deg);top:15px;left:5px;border-radius:20px 20px 0 0;height:",";transition:height 0.15s ",";}&:after{transform:rotate(-135deg);left:13px;top:21px;border-radius:0 0 20px 20px;height:",";transition:height 0.15s ",";}"],e=>e.disabled&&(0,a.AH)(["cursor:not-allowed;opacity:0.5;"]),l.Tj.brandBlue,e=>e.isChecked?"10px":"0px",e=>!e.isChecked&&"".concat((0,c.qM)("easeOutQuart")," 0.1s"),e=>e.isChecked?"17px":"0px",e=>e.isChecked&&"".concat((0,c.qM)("easeOutQuart")," 0.1s")),M=a.Ay.input.withConfig({componentId:"sc-9d11405e-22"})([""," height:auto;",""],w,i.Ay.tablet(m()))},52680:(e,t,n)=>{n.r(t),n.d(t,{AdditionalAddress:()=>ec,AdditionalPhone:()=>ef,Address:()=>es,Agreement:()=>ej,Birthday:()=>el,BirthdayField:()=>eo,BusinessTeam:()=>W,City:()=>ep,Company:()=>en,Country:()=>eh,Email:()=>ex,EmailConfirmation:()=>eg,FirstName:()=>ee,Gender:()=>X,HoneyPot:()=>et,Justificatif:()=>ei,LastName:()=>Q,Location:()=>er,Message:()=>ea,NewsletterChoice:()=>eb,Phone:()=>em,PixelConsent:()=>ev,ShareholderType:()=>ed,Submit:()=>Z,TextContent:()=>ey,ZipCode:()=>eu,additionalAddress:()=>ec,additionalPhone:()=>ef,address:()=>es,agreement:()=>ej,birthday:()=>el,businessTeam:()=>W,city:()=>ep,company:()=>en,country:()=>eh,email:()=>ex,emailConfirmation:()=>eg,firstName:()=>ee,gender:()=>X,honeypot:()=>et,justificatif:()=>ei,lastName:()=>Q,location:()=>er,message:()=>ea,newsletterChoice:()=>eb,phone:()=>em,pixelConsent:()=>ev,shareholderType:()=>ed,submit:()=>Z,textContent:()=>ey,zipCode:()=>eu});var r=n(37876),a=n(14232),i=n(10841),o=n.n(i),l=n(61404),d=n(52014),s=n(42264),c=n.n(s),u=n(50984),p=n(5288),h=n(48557),m=n(38923),f=n(82167),x=n(76506),g=n(26348),y=n(83924);let b=f.Ay.div.withConfig({componentId:"sc-5baa3426-0"})(["",";position:relative;display:inline-block;width:inherit;"],g.yb);function v(e){let{children:t}=e,[n,i]=(0,a.useState)(!1),o=(0,a.useCallback)(()=>i(!0),[]),l=(0,a.useCallback)(()=>i(!1),[]);return(0,r.jsxs)(b,{role:"tooltip",onMouseEnter:o,onMouseLeave:l,children:[(0,r.jsx)(j,{$show:n,"aria-hidden":n,children:t}),(0,r.jsx)(y.A,{name:"IconHelp"})]})}let j=f.Ay.div.withConfig({componentId:"sc-5baa3426-1"})(["display:",';transform:translate(100%,-50%);position:absolute;top:50%;right:-13px;transform:translate(100%,-50%);z-index:10;& > *{margin-right:-5px;margin-top:-5px;width:240px;padding:8px 8px 8px 24px;color:rgb(51,51,51);border:1px solid rgb(240,118,98);background-color:rgb(245,245,245);}& > *:after{border:5px solid transparent;content:" ";height:0px;width:0px;position:absolute;pointer-events:none;margin-left:-5px;top:50%;right:100%;margin-right:-7px;margin-top:-5px;height:10px;width:10px;transform:rotate(45deg);border-bottom-color:',";border-bottom-width:1px;border-left-color:",";border-left-width:1px;background-color:",";}"],e=>{let{$show:t}=e;return t?"block":"none"},x.Tj.brandRed,x.Tj.brandRed,x.Tj.wildSand);function C(){let{currentLocale:e}=(0,d.S)();return(0,r.jsx)(m.Xx,{children:"fr"===e?"optionnel":"optional"})}function w(e){let{name:t,label:n,legend:a,description:i,helpText:o,validate:l,errors:d={},touched:s={},children:c}=e;return(0,r.jsxs)(r.Fragment,{children:[(n||a)&&(a?(0,r.jsxs)(m.uw,{$isRequired:null==l?void 0:l.isRequired,children:[(0,r.jsx)(m.OZ,{children:n}),!(null==l?void 0:l.isRequired)&&C()," ",o&&(0,r.jsx)(v,{children:o}),i&&(0,r.jsx)(m.VY,{children:i})]}):(0,r.jsxs)(m.JU,{$isRequired:null==l?void 0:l.isRequired,htmlFor:t,children:[(0,r.jsx)(m.OZ,{children:n}),!(null==l?void 0:l.isRequired)&&C()," ",o&&(0,r.jsx)(v,{children:o}),i&&(0,r.jsx)(m.VY,{children:i})]})),(0,r.jsx)(m.du,{children:c}),(0,r.jsx)(m.B2,{style:{justifyContent:"space-between"},errors:!!(d[t]&&s[t]),children:d[t]&&s[t]&&(0,r.jsx)(m.Kw,{id:"error-".concat(t),className:"error",children:d[t]})})]})}function A(e){let{children:t,hidden:n,...a}=e;return(0,r.jsx)(m.d,{tabIndex:n?-1:void 0,hidden:n,"aria-hidden":n,children:(0,r.jsx)(w,{...a,children:t})})}function S(e){let{children:t,standalone:n,...a}=e;return(0,r.jsx)(m.LB,{as:n?"div":void 0,children:(0,r.jsx)(w,{...a,children:t})})}function R(e){let{name:t,label:n,description:a,helpText:i,validate:o,errors:s={},touched:p={}}=e,h=s[t]&&p[t],{currentLocale:m}=(0,d.S)();return(0,r.jsx)(A,{name:t,label:n,description:a,helpText:i,validate:o,errors:s,touched:p,children:(0,r.jsx)(l.B0,{validate:o,children:e=>{let{field:n,form:{setFieldValue:a,setFieldTouched:i}}=e;return(0,r.jsx)(c(),{value:n.value[t],inputClass:"form-control",containerClass:"intl-tel-input",onBlur:()=>{i(t)},specialLabel:"",country:"fr",onChange:e=>a(t,e),autocompleteSearch:!1,dropdownClass:"",autoFormat:!0,inputProps:{placeholder:"06 12 34 56 78",n
1ame:t,id:t,"aria-invalid":h,"aria-describedby":"error-".concat(t),"data-testid":"".concat(t,"_input")},localization:"fr"===m?u:void 0})}})})}function q(e){let{type:t="text",name:n,label:a,description:i,placeholder:o="",validate:l,className:d,getInputProps:s={},autocomplete:c="on",helpText:u,icon:p=!1,onIconClick:h=null,isElementShown:f,errors:x,touched:g,...b}=e,v=x&&x[n]&&g&&g[n];return(0,r.jsxs)(A,{hidden:"contractNumber"===n,name:n,label:a,description:i,helpText:u,validate:l,errors:x,touched:g,children:[(0,r.jsx)(m.ib,{border:v?"red":void 0,type:t,id:n,name:n,placeholder:o,className:d,...s,autoComplete:c,"aria-invalid":!!v,"aria-required":null==l?void 0:l.isRequired,"aria-describedby":"error-".concat(n),"data-testid":"".concat(n,"_input"),...b}),p&&(0,r.jsx)(m.B5,{onClick:null!=h?h:void 0,children:(0,r.jsx)(m.K0,{"aria-label":p.label,children:(0,r.jsx)(y.A,{"aria-hidden":!f,focusable:f,name:p.name,width:40,color:p.color,style:{marginTop:"4px"}})})})]})}function k(e){let{name:t,label:n,description:a,validate:i,helpText:o,accept:d,errors:s={},touched:c={}}=e,u=s[t]&&c[t];return(0,r.jsx)(A,{name:t,label:n,description:a,helpText:o,validate:i,errors:s,touched:c,children:(0,r.jsx)(l.B0,{validate:i,children:e=>{let{form:{setFieldTouched:n,setFieldValue:a}}=e;return(0,r.jsx)("input",{id:t,name:t,type:"file",accept:d,onChange:e=>{var n;a(t,null==(n=e.currentTarget.files)?void 0:n[0])},onBlur:()=>{n(t)},"aria-required":null==i?void 0:i.isRequired,"aria-invalid":!!u,"aria-describedby":"error-".concat(t),"data-testid":"".concat(t,"_input"),style:{border:"none",boxShadow:"none"}})}})})}function T(e){let{label:t,name:n,options:a,validate:i,placeholder:o,errors:l,touched:d,...s}=e;return(0,r.jsx)(A,{name:n,label:t,validate:i,errors:l,touched:d,children:(0,r.jsx)(I,{id:n,name:n,options:a,placeholder:o,validate:i,errors:l,touched:d,...s})})}function L(e){let{children:t,...n}=e;return(0,r.jsx)(S,{...n,children:t})}function P(e){let{label:t,legend:n,name:a,options:i,defaultCheck:o=[],validate:l={},errors:d,touched:s,standalone:c=!1}=e;return(0,r.jsx)(S,{standalone:c,label:t,legend:n,name:a,validate:l,errors:d,touched:s,children:i&&Object.entries(i).map((e,t)=>{let[n,i]=e;return(0,r.jsxs)("div",{style:{width:"100%"},children:[(0,r.jsx)(p.fq,{children:(0,r.jsx)(Y,{name:a,value:n,label:i,defaultChecked:o.includes(n),style:{marginRight:"8px",...0!==t&&{marginTop:"8px"}},validate:l},t)}),(0,r.jsx)(p.N1,{children:(0,r.jsx)(Y,{name:a,value:n,label:i,defaultChecked:o.includes(n),style:{marginRight:"52px",...0!==t&&{marginTop:"8px"}},validate:l},t)})]},"div"+t)})})}function B(e){let{name:t,label:n,description:a,defaultCheck:i,options:o,helpText:l,validate:d,errors:s,touched:c,...u}=e;return(0,r.jsx)(S,{name:t,label:n,description:a,validate:d,helpText:l,errors:s,touched:c,children:o&&Object.entries(o).map((e,n)=>{let[a,o]=e;return(0,r.jsxs)("div",{children:[(0,r.jsx)(p.fq,{children:(0,r.jsx)(N,{defaultChecked:a===i,name:t,label:o,option:a,style:{marginRight:"8px"},...u},n)}),(0,r.jsx)(p.N1,{children:(0,r.jsx)(N,{defaultChecked:a===i,name:t,label:o,option:a,style:{marginRight:"52px"},...u},n)})]},"div"+n)})})}function I(e){let{name:t,options:n,placeholder:a="",style:i,ariaLabel:o,errors:d={},touched:s={},onChange:c,onBlur:u,validate:p,...f}=e,x=d[t]&&s[t],g=Array.isArray(n)?n.map(e=>(0,r.jsx)(m.BO,{value:(0,h.Yv)(e.toString()),children:e},e)):Object.entries(n).map(e=>{let[t,n]=e;return(0,r.jsx)(m.BO,{value:t,children:n},t)});return(0,r.jsx)(m.SK,{style:i,children:(0,r.jsx)(l.B0,{children:e=>{let{field:n}=e;return(0,r.jsxs)(m.ki,{name:t,"aria-label":o,"aria-required":null==p?void 0:p.isRequired,border:x?"red":void 0,defaultValue:n.value[t],onChange:c,onBlur:u,"data-testid":"".concat(t,"_select"),...f,children:[a&&(0,r.jsx)(m.BO,{value:"",children:a},""),g]})}})})}function M(e){let{name:t,group:n,placeholder:a,options:i,ariaLabel:o,required:l,style:d,value:s,onChange:c,onBlur:u,...p}=e;return(0,r.jsx)(m.SK,{style:d,...p,children:(0,r.jsxs)(m.ki,{group:n,"aria-label":o,"aria-required":l,value:s,onChange:c,onBlur:u,children:[a&&(0,r.jsx)(m.BO,{value:"",children:a},""),i]})})}function Y(e){let{name:t,value:n,label:a,style:i,onChange:o,onBlur:d,val
1idate:s}=e,[c]=(0,l.Mt)({name:t,value:n,type:"checkbox"});return(0,r.jsx)("div",{style:i,children:(0,r.jsxs)(m.NN,{htmlFor:(0,h.Yv)(c.value),children:[(0,r.jsx)(m.zC,{...c,isChecked:c.checked,id:(0,h.Yv)(c.value),type:"checkbox","data-testid":"".concat(t,"_checkbox"),onChange:null!=o?o:c.onChange,onBlur:null!=d?d:c.onBlur,"aria-required":null==s?void 0:s.isRequired,"aria-invalid":(null==s?void 0:s.isRequired)&&!c.checked,"aria-describedby":"error-".concat(t)}),(0,r.jsx)(m.BO,{$isRequired:"agreement"===t&&(null==s?void 0:s.isRequired),$isRichText:"object"==typeof a,as:"span",isChecked:c.checked,children:a})]})})}function N(e){let{name:t,option:n,label:a,style:i,onChange:o,defaultChecked:l}=e;return(0,r.jsxs)("div",{style:i,children:[(0,r.jsx)(m.dC,{name:t,id:(0,h.Yv)(n),type:"radio",value:(0,h.Yv)(n),defaultChecked:l,onChange:o,"data-testid":"".concat(t,"_radio")}),(0,r.jsx)("label",{style:{marginLeft:"8px"},htmlFor:(0,h.Yv)(n),children:a})]})}var O=n(28888),_=n(69238),V=n(99007),D=n(88785),z=n(6322);function F(){let e=(0,O._)(["width: auto;"]);return F=function(){return e},e}let E=(0,f.Ay)(_.A).withConfig({componentId:"sc-12f048d1-0"})(["display:flex !important;justify-content:center;margin:auto;margin-top:",";width:100%;",""],(0,D.G)(3),V.Ay.tablet(F())),H=(0,f.Ay)(z.Ay).withConfig({componentId:"sc-12f048d1-1"})([""," margin-bottom:24px;p{"," padding-bottom:16px;}"],g.rO,g.rO);var G=n(54077);let K="YYYY-MM-DD";function $(e){return Array.isArray(e)?e.map(e=>(0,r.jsx)(m.BO,{value:(0,h.Yv)(e.toString()),children:e},e)):Object.entries(e).map(e=>{let[t,n]=e;return(0,r.jsx)(m.BO,{value:t,children:n},t)})}function J(e,t){return{...e,...t}}function U(e){let{name:t,value:n,required:i,helpText:l,label:s,description:c,dayPlaceholder:u,monthPlaceholder:p,yearPlaceholder:h,error:f,onBlur:x=()=>{},onChange:g=()=>{}}=e,{currentLocale:y}=(0,d.S)(),{day:b,month:j,year:w,setDate:A}=function(e){let{name:t,value:n,onChange:r}=e,i=(0,G.A)(),l=a.useRef(r);l.current=r;let[d,s]=a.useReducer(J,{day:o()(n).isValid()?o()(n).date():"",month:o()(n).isValid()?o()(n).month()+1:"",year:o()(n).isValid()?o()(n).year():""});return a.useEffect(()=>{if(!i&&d.day&&d.month&&d.year){let n=o()().year(d.year).month(d.month-1).date(d.day);if(n.isValid()){var e;null==(e=l.current)||e.call(l,{name:t,value:n.format(K)})}}},[d.day,d.month,d.year,i,t]),a.useEffect(()=>{let e=o()().date(d.day).month(d.month-1).year(d.year).format(K);if(o()(n).isValid()&&n!==e){let{years:e,months:t,date:r}=o()(n).toObject();s({day:r,month:t+1,year:e})}},[n]),{...d,setDate:(e,t)=>s({...d,[e]:t})}}({name:t,value:n,onChange:g}),S=a.useMemo(()=>$(Array.from(Array(31).keys(),e=>e+1)),[]),R=a.useMemo(()=>(o().locale(y),$(o().months("M").reduce((e,t,n)=>(e[n+=1]=t,e),{}))),[y]),q=a.useMemo(()=>$(Array.from(Array(100).keys(),e=>new Date().getFullYear()-e)),[]),k=e=>x&&x(e),T=e=>t=>A(e,parseInt(t.target.value)),L=[(0,r.jsx)(M,{value:b,onChange:T("day"),onBlur:k,style:{marginRight:"8px"},name:"".concat(t,"__day"),placeholder:u,options:S,group:!0,"data-testid":"".concat(t,"__day")},"day"),(0,r.jsx)(M,{value:j,onChange:T("month"),onBlur:k,style:{marginRight:"8px"},name:"".concat(t,"__months"),placeholder:p,options:R,group:!0,"data-testid":"".concat(t,"__months")},"month")];return(0,r.jsxs)(m.LB,{children:[s&&(0,r.jsxs)(m.JU,{htmlFor:t,$isRequired:i,children:[(0,r.jsx)("span",{children:s}),!i&&C()," ",l&&(0,r.jsx)(v,{children:l}),c&&(0,r.jsx)(m.VY,{children:c})]}),(0,r.jsxs)(m.du,{children:["fr"===y?L:L.reverse(),(0,r.jsx)(M,{group:!0,value:w,onChange:T("year"),onBlur:k,name:"".concat(t,"__year"),placeholder:h,options:q,"data-testid":"".concat(t,"__year")})]}),f&&(0,r.jsx)(m.B2,{style:{justifyContent:"space-between"},errors:!!f,children:(0,r.jsx)(m.Kw,{id:"error-".concat(t),className:"error",children:f})})]})}function Z(e){let{label:t,type:n="primary",color:a="red",ariaLabel:i="",errors:o={},touched:l={},children:s,...c}=e,{currentLocale:u}=(0,d.S)(),p=0===Object.entries(l).length||Object.entries(o).length>0;return(0,r.jsx)(E,{disabled:p,type:n,color:a,ariaLabel:i,"data-testid":"SubmitButton",...c,children:t||s||({en:"Submit",fr:"Envoyer"})[u]})}function X(e){let{required:t,...n}=e,{currentLocale:a}=(0,d.S)(),i={en:{options:{1:"Mrs",2:"Mr"},defaultLabel:"Title",defaultPlaceholder:"Select"},fr:{options:{1:"Madame",2:"Monsieur"},defaultLabel:"Civilit\xe9",defaultPlaceholder:"S\xe9lectionner"}};return(0,r.jsx)(T,{name:"gender",label:i[a].defaultLabel,options:i[a].options,placeholder:i[a].defaultPlaceholder,validate:{
1isRequired:t},...n})}function W(e){let{required:t,...n}=e,{currentLocale:a}=(0,d.S)(),i={en:{defaultLabel:"I want to contact :",defaultPlaceholder:"Select a team",options:{privacy:"Data Privacy Department",shareholders:"Individual Shareholders Relations",investor:"Investor Relations",media:"Media Relations",webmaster:"Webmaster"}},fr:{defaultLabel:"Je veux contacter :",defaultPlaceholder:"S\xe9lectionner un contact",options:{privacy:"Equipe confidentialit\xe9 des donn\xe9es",shareholders:"Relations actionnaires individuels",investor:"Relations investisseurs",media:"Relations presse",webmaster:"Webmaster"}}};return(0,r.jsx)(T,{name:"businessTeam",label:i[a].defaultLabel,options:i[a].options,placeholder:i[a].defaultPlaceholder,validate:{isRequired:t},...n})}function Q(e){let{required:t,...n}=e,{currentLocale:a}=(0,d.S)();return(0,r.jsx)(q,{name:"lastName",label:{en:"Last name",fr:"Nom"}[a],type:"text",validate:{maximumLength:50,alphaSpecial:!0,isRequired:t},...n})}function ee(e){let{required:t,...n}=e,{currentLocale:a}=(0,d.S)();return(0,r.jsx)(q,{name:"firstName",label:{en:"First name",fr:"Pr\xe9nom"}[a],type:"text",validate:{maximumLength:50,alphaSpecial:!0,isRequired:t},...n})}function et(e){let{...t}=e;return(0,r.jsx)(q,{type:"text",...t,autocomplete:"off"})}function en(e){let{required:t,...n}=e,{currentLocale:a}=(0,d.S)();return(0,r.jsx)(q,{name:"company",label:{en:"Company",fr:"Soci\xe9t\xe9"}[a],type:"text",validate:{isRequired:t},...n})}function er(e){let{required:t,...n}=e,{currentLocale:a}=(0,d.S)();return(0,r.jsx)(q,{name:"location",label:{en:"Country",fr:"Pays"}[a],type:"text",validate:{maximumLength:50,isRequired:t},...n})}function ea(e){let{required:t,...n}=e,{currentLocale:a}=(0,d.S)();return(0,r.jsx)(q,{name:"message",label:{en:"Message",fr:"Message"}[a],as:"textarea",cols:50,validate:{isRequired:t},style:{padding:8,minHeight:"120px",height:"240px"},...n})}function ei(e){let{required:t,...n}=e,{currentLocale:a}=(0,d.S)();return(0,r.jsx)(k,{name:"justificatif",label:{en:"Upload a file",fr:"T\xe9l\xe9charger un fichier"}[a],type:"file",validate:{isRequired:t},...n,accept:"image/jpg, image/jpeg, image/png, application/pdf"})}function eo(e){let{name:t,required:n,...a}=e,[i,o,s]=(0,l.Mt)(t),{currentLocale:c}=(0,d.S)();return(0,r.jsx)(U,{name:t,required:n,value:i.value,error:o.touched&&o.error?o.error:"",onBlur:()=>{s.setTouched(!0)},onChange:e=>{s.setValue(e.value)},...{en:{label:"Date of birth",description:"",dayPlaceholder:"Day",monthPlaceholder:"Month",yearPlaceholder:"Year"},fr:{label:"Date de naissance",description:"",dayPlaceholder:"Jour",monthPlaceholder:"Mois",yearPlaceholder:"Ann\xe9e"}}[c],...a})}function el(e){let{required:t,onChange:n,onBlur:i,setFieldValue:s,setFieldTouched:c,...u}=e,{values:{day:p,month:h,year:m}}=(0,l.j7)(),[f,x]=(0,a.useState)(()=>({day:p,month:parseInt(h)-1,year:m})),{currentLocale:g}=(0,d.S)(),y={en:{defaultLabel:"Date of birth",defaultDescription:"",dayPlaceholder:"Day",monthPlaceholder:"Month",yearPlaceholder:"Year"},fr:{defaultLabel:"Date de naissance",defaultDescription:"",dayPlaceholder:"Jour",monthPlaceholder:"Mois",yearPlaceholder:"Ann\xe9e"}},b=a.useMemo(()=>Array.from(Array(31).keys(),e=>e+1),[]),v=a.useMemo(()=>o().months("M").reduce((e,t,n)=>(e[n+=1]=t,e),{}),[]),j=a.useMemo(()=>Array.from(Array(100).keys(),e=>new Date().getFullYear()-e),[]),C={isRequired:t},w=e=>{n(e),x({...f,[e.currentTarget.name]:"month"===e.currentTarget.name?Number(e.currentTarget.value)-1:e.currentTarget.value})},A=e=>{i(e),c("birthday")};(0,a.useEffect)(()=>{var e;s("birthday",(null==f?void 0:f.year)&&(null==f||null==(e=f.month)?void 0:e.toString())>="0"&&(null==f?void 0:f.day)?o()({year:Number(f.year),month:f.month,day:Number(f.day)}).format("YYYY-MM-DD"):"date-not-valid")},[f,s]);let S=(0,r.jsx)(I,{name:"day",options:b,placeholder:y[g].dayPlaceholder,style:{marginRight:"8px"},group:!0,onChange:e=>w(e),onBlur:e=>A(e),validate:C,...u});return(0,r.jsxs)(L,{name:"birthday",label:y[g].defaultLabel,description:y[g].defaultDescription,validate:{isRequired:t,dateValidation:!0},...u,children:["fr"===g&&S,(0,r.jsx)(I,{name:"month",options:v,placeholder:y[g].monthPlaceholder,style:{marginRight:"8px"},group:!0,onChange:e=>w(e),onBlur:e=>A(e),validate:C,...u}),"en"===g&&S,(0,r.jsx)(I,{name:"year",options:j,placeholder:y[g].yearPlaceholder,group:!0,onChange:e=>w(e),onBlur:e=>A(e),validate:C,...u})]})}function ed(e){let{required:t,...n}=e,{currentLocale:a}=(0,d.S)(),i={en:{defaultLabel:"Type of shareholding",options:{employeeShareholder:"Employee Shareholder",bearer:"Bearer",pureRegisteredShares:"Pure registered shares"}},fr:{defaultLabel:"Mode de d\xe9tention",options:{employeeShareholder:"Salari\xe9 Actionnaire",bearer:"Au porteur",pureRegisteredShares:"Au nominatif"}}};return(0,r.jsx)(B,{name:"shareholderType",defaultCheck:"bearer",label:i[a].defaultLabel,options:i[a].options,validate:{
1isRequired:t},...n})}function es(e){let{name:t="address",label:n,placeholder:a,required:i,...o}=e,{currentLocale:l}=(0,d.S)(),s={en:{defaultLabel:"Address",defaultPlaceholder:"(number, street nameâ¦)"},fr:{defaultLabel:"Adresse",defaultPlaceholder:"(num\xe9ro, nom de rueâ¦)"}};return(0,r.jsx)(q,{name:t,label:n||s[l].defaultLabel,placeholder:a||s[l].defaultPlaceholder,type:"text",validate:{maximumLength:96,isRequired:i},...o})}function ec(e){let{number:t=1,required:n,...a}=e,{currentLocale:i}=(0,d.S)();return(0,r.jsx)(es,{name:"additionalAddress".concat(t),required:n,...{en:{label:"Additional Address ".concat(t),placeholder:"(building, staircase, apartment, localityâ¦)"},fr:{label:"Compl\xe9ment d'adresse ".concat(t),placeholder:"(b\xe2timent, escalier, appartement, lieu-ditâ¦)"}}[i],...a})}function eu(e){let{required:t,...n}=e,{currentLocale:a}=(0,d.S)();return(0,r.jsx)(q,{name:"zipCode",label:{en:"Zip/Postal Code",fr:"Code postal"}[a],type:"text",validate:{maximumLength:50,alphaNumber:!0,isRequired:t},...n})}function ep(e){let{required:t,...n}=e,{currentLocale:a}=(0,d.S)();return(0,r.jsx)(q,{name:"city",label:{en:"City",fr:"Ville"}[a],type:"text",validate:{maximumLength:50,alphaSpecial:!0,isRequired:t},...n})}function eh(e){let{options:t,required:n,...a}=e,{currentLocale:i}=(0,d.S)(),o={en:{defaultLabel:"Country",defaultPlaceholder:"Select",options:t},fr:{defaultLabel:"Pays",defaultPlaceholder:"S\xe9lectionner",options:t}};return(0,r.jsx)(T,{name:"country",label:o[i].defaultLabel,placeholder:o[i].defaultPlaceholder,options:o[i].options||{},validate:{isRequired:n},group:!0,...a})}function em(e){let{name:t="phone",label:n,...a}=e,{currentLocale:i}=(0,d.S)();return(0,r.jsx)(R,{name:t,label:n||({en:"Phone",fr:"T\xe9l\xe9phone"})[i],...a})}function ef(e){let{number:t=1,...n}=e,{currentLocale:a}=(0,d.S)();return(0,r.jsx)(em,{name:"additionalPhone".concat(t),label:{en:"Phone ".concat(t+1),fr:"T\xe9l\xe9phone ".concat(t+1)}[a],...n})}function ex(e){let{required:t,errors:n,touched:a}=e,{currentLocale:i}=(0,d.S)();return(0,r.jsx)(q,{name:"email",label:{en:"Email Address",fr:"Adresse mail"}[i],type:"email",validate:{maximumLength:50,mail:!0,isRequired:t},errors:n,touched:a})}function eg(e){let{required:t,...n}=e,{currentLocale:a}=(0,d.S)();return(0,r.jsx)(q,{name:"emailConfirmation",label:{en:"Confirm Email Address",fr:"Confirmer l'adresse mail"}[a],type:"text",validate:{maximumLength:50,mail:!0,isRequired:t},...n})}function ey(e){let{children:t}=e;return(0,r.jsx)(H,{children:t})}function eb(e){let{groupRequired:t,...n}=e,{currentLocale:a}
1=(0,d.S)(),i={en:{label:"Choose your alerts",options:{article:"News and Stories",pressRelease:"Press Releases"}},fr:{label:"Choisissez vos alertes",options:{article:"Actualit\xe9s et Histoires",pressRelease:"Communiqu\xe9s de presse"}}};return(0,r.jsx)(P,{name:"newsletterChoice",label:i[a].label,legend:i[a].label,options:i[a].options,defaultCheck:["article"],validate:{isRequired:t},...n})}function ev(e){let{label:t,...n}=e,{currentLocale:a}=(0,d.S)();return(0,r.jsx)(P,{name:"pixelConsent",options:{en:{options:{pixelConsent:t}},fr:{options:{pixelConsent:t}}}[a].options,standalone:!0,...n})}function ej(e){let{required:t,label:n,...a}=e,{currentLocale:i}=(0,d.S)();return(0,r.jsx)(P,{name:"agreement",options:{en:{options:{agreement:n}},fr:{options:{agreement:n}}}[i].options,validate:{isRequired:t},standalone:!0,...a})}},54077:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(14232);let a=()=>{let e=r.useRef(!0);return e.current?(e.current=!1,!0):e.current}},59104:(e,t,n)=>{n.d(t,{A:()=>r});let r={somethingWrong:{title:{en:"An error occurred",fr:"Une erreur est survenue"},text:{en:"This service is temporarily unavailable due to a technical issue. We sincerely apologize for the inconvenience and invite you to try again later.",fr:"En raison d'un probl\xe8me technique, ce service est momentan\xe9ment indisponible. Nous vous prions de bien vouloir nous excuser pour ce d\xe9sagr\xe9ment et nous vous invitons \xe0 r\xe9essayer ult\xe9rieurement."},cta:{en:"Go back to home page.",fr:"Retourner sur la page d'accueil."}},requiredFields:{text:{en:"Required field is missing.",fr:"Champs obligatoire non renseign\xe9."}},tooFast:{text:{en:"You are submitting the form too fast. Please try again later.",fr:"Vous avez soumis le formulaire trop rapidement."}},noFingerprint:{text:{en:"No fingerprint found.",fr:"Aucune empreinte digitale trouv\xe9e."}},honeypot:{text:{en:"Honey pot field is filled, maybe a bot.",fr:"Le champ Honey pot est rempli, peut-\xeatre un bot."}}}},88102:(e,t,n)=>{n.d(t,{f:()=>i,n:()=>a});var r=n(42506);let a={required:{en:"Required field",fr:"Champ obligatoire"},maximumLength:(e,t)=>({en:"This field can't contain more than ".concat(e," characters"),fr:"Le champ ne peut contenir plus de ".concat(e," caract\xe8res")})[t],honeypot:{en:"Honeypot field must be empty (Bot detected)",fr:"Le champ Honeypot doit \xeatre vide (Bot d\xe9tect\xe9)"},agreement:{en:"You must accept the terms and conditions",fr:"Vous devez accepter les conditions d'utilisation"},alphaSpecial:{en:"Numbers are not allowed",fr:"Les chiffres ne sont pas autoris\xe9s"},alphaNumber:{en:"This field can only contain alphanumeric characters",fr:"Ce champ ne peut contenir que des caract\xe8res alphanum\xe9riques"},phoneValidation:{en:"The format of the phone number is invalid",fr:"Le format du num\xe9ro de t\xe9l\xe9phone n'est pas valide"},dateValidation:{en:"The date format is invalid",fr:"Le format de la date n'est pas valide"},is18:{en:"You must be of legal age to register with the AXA Shareholders' Circle.",fr:"Vous devez \xeatre majeur pour vous inscrire au Cercle des actionnaires AXA"},email:{en:"The format of the email address is not valid",fr:"Le format de l'adresse \xe9lectronique n'est pas valide"},emailConfirmation:{en:"Email addresses are not identical",fr:"Les adresses mail ne sont pas identiques"},justificatif:{size:{en:"Only one file with a maximum size of 4MB",fr:"Un seul fichier de 4Mo maximum"},format:{en:"Allowed file formats: .jpg, .jpeg, .png, .pdf",fr:"Formats de fichier autoris\xe9s : .jpg, .jpeg, .png, .pdf"}}};function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e)return Object.keys(e).reduce((n,r)=>(e[r].defaultValue?n[r]=e[r].defaultValue:0!==Object.getOwnPropertyNames(t).length&&t.hasOwnProperty(r)?n[r]=t[r]:n[r]="",n),{});throw r.A.error("[FormService] you called addDefaultValue without any datafields. So you dont need to use this function"),Error("No datafields were set")}}}]);
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.