1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["containers_modal_sentMailNotificationModal_js","containers_auth_SentConnexionMail_js"],{4178:(e,n,a)=>{a.r(n),a.d(n,{SentMailNotificationContent:()=>S,default:()=>M});var i=a(2540),t=a(3696),o=a(4953),s=a(5022),l=a(8710),r=a(7435),d=a(9348),c=a(2697),m=a(9208),p=a(9933),g=a(9263),h=a(9503);const u=a.p+"assets/icons/webmail-gmail-627448537278df93d60e7f09e2234dc7.svg",x=a.p+"assets/icons/webmail-outlook-89883a58e7d53ab0457247efefab49f9.svg",f=a.p+"assets/icons/webmail-orange-adfad463b40339a1c055c4560868cf39.svg",b=h.Ay.div` 2 display: flex; 3 justify-content: space-between; 4 margin: 0 auto 53px; 5 max-width: 280px; 6 7 a { 8 font: var(--small1-sh) ${({theme:e})=>e.mainFontFamily}; 9 color: inherit; 10 cursor: pointer; 11 padding-left: calc(var(--spacing-unit) * 5); 12 background-repeat: no-repeat; 13 background-position: left center; 14 padding-left: calc(var(--spacing-unit * 5)); 15 16 span { 17 text-decoration: underline; 18 } 19 20 &.webmailGmail { 21 background-image: url(${u}); 22 } 23 &.webmailOutlook { 24 background-image: url(${x}); 25 } 26 &.webmailOrange { 27 background-image: url(${f}); 28 } 29 } 30`,y=()=>{const e=(0,l.A)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h4",{children:e.formatMessage({id:"login.openLinkInWebmail"})}),(0,i.jsxs)(b,{children:[(0,i.jsx)("a",{href:"https://mail.google.com/mail/u/0/#search/from%3Anotification%40info.prismaconnect-gestion.fr+in%3Aanywhere",onClick:()=>{},className:"webmailGmail",children:(0,i.jsx)("span",{children:"Gmail"})}),(0,i.jsx)("a",{href:"https://outlook.live.com/mail/0/inbox",onClick:()=>{},className:"webmailOutlook",children:(0,i.jsx)("span",{children:"Outlook"})}),(0,i.jsx)("a",{href:"https://mail.orange.fr/",onClick:()=>{},className:"webmailOrange",children:(0,i.jsx)("span",{children:"Orange mail"})})]})]})},j=a.p+"assets/icons/magic-link-27fe1cd24a414fc23e3751d89b914810.svg",v=t.lazy((()=>Promise.all([a.e("vendors-node_modules_react-modal_lib_index_js"),a.e("containers_modal_resendConnexionMailModal_js-node_modules_prop-types_index_js-node_modules_wa-fc937f")]).then(a.bind(a,8985)))),w=[o.kX(),o.lw(),o.ME(),o.Fc(),o.x0(),o.nT(),o.kt(),o.Mf(),o.um(),o.WM(),o.pX(),o.zK(),o.vG(),o.jt()],k=({queryVars:e,mailSentType:n,pathname:a,loginEmailResponse:t,profile:o,boldWeight:s})=>{const r=(0,l.A)(),d=e.incentives;let c=t?"login.mailSent":"resetPassword.mailSent",m={};const g=w.includes(a);return g?c=o.hasPassword?"resetPassword.mailSent":"resetPassword.choosePassword":Object.keys(d).length&&(d.nl&&d.mag?c="login.mailSentNlMag":d.nl?c="login.mailSentNl":d.mag?c="login.mailSentMag":d.alert&&(c="login.mailSentAlert",m={type:r.formatMessage({id:n,defaultMessage:"au sujet"}),tag:(0,i.jsxs)("strong",{style:{textTransform:"capitalize"},children:["«",d.alert.label,"»"]}),strong:(...e)=>(0,i.jsx)("strong",{children:e})})),(0,i.jsxs)(p.EY,{fontSize:g?"16px":"13px",lineHeight:"20px",margin:"0",children:[r.formatMessage({id:"login.mailConfirmInto",defaultMessage:"Nous venons de vous envoyer un lien de connexion qui vous permettra de"})," ",(0,i.jsx)("span",{style:{fontWeight:s},children:r.formatMessage({id:c},m)})]})},_=(0,h.Ay)(p.mO)` 31 .icon { 32 margin-bottom: calc(var(--spacing-unit) * 6); 33 } 34`,S=()=>{const e=(0,l.A)(),n=(0,r.zy)(),[a,g]=(0,t.useState)(!1),{queryVars:h,loginEmailResponse:u,profile:x}=(0,s.d4)((e=>({queryVars:e.queryVars,loginEmailResponse:e.caller.loginEmail.success,profile:e.user.profile})),s.bN),{data:{config:f}}=(0,c.IT)(m.uD),{config:b,styles:S}=f,M=w.includes(n.pathname),C=b.alert?"alerts.mailSentType":null;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(_,{txtAlign:"center",children:[(0,i.jsx)("img",{src:j,alt:"",className:"icon"}),(0,i.jsx)(p.EY,{as:"h3",fontSize:"/profile"===n.pathname?"20px":"15px",margin:"0 0 15px 0",children:e.formatMessage({id:"login.checkMailBox"})}),(0,i.jsx)(k,{queryVars:h,mailSentType:C||null,pathname:n.pathname,loginEmailResponse:u,profile:x,boldWeight:(null==S?void 0:S.boldWeight)||"bold"}),(0,i.jsx)(p.EY,{fontSize:"/profile"===n.pathname?"16px":"13px",lineHeight:"20px",children:e.formatMessage({id:"login.checkSpamBox"})}),(0,i.jsx)(y,{}),(0,i.jsx)("button",{onClick:()=>{window.dataLayer.push({event:"button_click",button_name:M?"profile-password-update-resend":u?"login-request-magiclink-resend":"login-password-resend",button_catagory:M?"update":"sendLink"}),g(!0)},children:(0,i.jsx)(p.EY,{as:"span",fontSize:"12px",textDecoration:"underline",cursor:"pointer",children:e.formatMessage({id:"login.mailNotreceived",defaultMessage:"Je nâai rien reçu"})})}),(0,i.jsx)(p.EY,{fontSize:"12px",margin:"0",padding:"0",lineHeight:"2.4",align:"center",children:(0,i.jsx)(d.N_,{to:o.JL(),target:"_blank",style:{color:"inherit"},onClick:()=>{},children:e.formatMessage({id:"common.faq"})})})]}),(0,i.jsx)(t.Suspense,{fallback:(0,i.jsx)("div",{}),children:(0,i.jsx)(v,{isOpen:a,handleHide:()=>{g(!1)}})})]})};function M(e){return(0,i.jsx)(g.Nj,{noCancelButton:!0,children:(0,i.jsx)(S,{})})}},2578:(e,n,a)=>{a.d(n,{A:()=>u});var i=a(2540),t=a(3696),o=a(3732),s=a.n(o),l=a(9503);const r=l.AH` 35 &__overlay { 36 position: fixed; 37 z-index: 3; 38 top: 0; 39 left: 0; 40 right: 0; 41 bottom: 0; 42 display: flex; 43 justify-content: center; 44 align-items: center; 45 background-color: rgba(21, 21, 21, 0.9); 46 opacity: 0; 47 transition: all 0.2s; 48 &--after-open { 49 opacity: 1; 50 } 51 &--before-close { 52 opacity: 0; 53 } 54 } 55 &__content { 56 position: fixed; 57 padding: 35px 12px 40px 12px; 58 text-align: center; 59 background-color: #fff; 60 height: 100%; 61 width: 100%; 62 overflow-y: auto; 63 64 &:focus { 65 outline: 0; 66 } 67 68 @media (min-width: 768px) { 69 height: auto; 70 max-width: 705px; 71 padding: 45px 110px; 72 border-radius: 4px; 73 } 74 75 & .simple-link { 76 color: initial; 77 } 78 79 .mobileHeader { 80 margin-top: -35px; 81 margin-left: -12px; 82 margin-right: -4px; 83 width: 100vw; 84 85 @media (min-width: 768px) { 86 display: none; 87 } 88 } 89 } 90`;var d=a(253),c=a(5508);const m=l.Ay.img` 91 margin: auto; 92 max-width: ${({theme:e})=>e.logo.designSystem.mobileW}; 93 94 @media (min-width: 680px) { 95 max-width: ${({theme:e})=>e.logo.designSystem.desktopW}; 96 } 97 98 @media (min-width: 1100px) { 99 margin: 0; 100 } 101`,p=()=>{const[e,n]=(0,t.useState)(),a=(0,t.useContext)(l.Dx);return(0,t.useEffect)((()=>{const e=`${(new c.A).getBrandConfUrl()}/icons/${a.name}/logoPristine.svg`;n(e)}),[e,a]),(0,i.jsx)(m,{src:e,width:a.logo.designSystem.desktopW})},g=l.Ay.div` 102 display: block; 103 width: 100%; 104 border-top: 5px solid var(--color-darkgrey); 105 border-image-outset: 0; 106 border-image-repeat: stretch; 107 border-image-slice: 1; 108 border-image-source: ${e=>e.theme&&e.theme.connectHeader&&e.theme.connectHeader.gradient?`${e.theme.connectHeader.gradient}`:"linear-gradient(54.44deg, #2D50B9 0%, #5A83FF 100%)"}; 109 border-image-width: 5px 0 0 0; 110 text-align: center; 111 padding-top: calc(var(--spacing-unit) * 7); 112 padding-bottom: calc(var(--spacing-unit) * 6); 113 114 @media (min-width: 650px) { 115 border-top: 12px solid var(--color-darkgrey); 116 border-image-width: 12px 0 0 0; 117 padding-top: calc(var(--spacing-unit) * 12); 118 padding-bottom: calc(var(--spacing-unit) * 10); 119 } 120`,h=({url:e,handleClick:n,className:a})=>(0,i.jsx)(g,{className:a,children:null!==e?(0,i.jsx)("a",{href:e,onClick:e=>{e.preventDefault(),n()},children:(0,i.jsx)(p,{})}):(0,i.jsx)(p,{})});s().setAppElement("#root");const u=(0,l.Ay)((({className:e,isOpen:n,children:a,handleHide:t,displaySurvey:o})=>{const l={base:`${e}__content`,afterOpen:`${e}__content--after-open`,beforeClose:`${e}__content--before-close`},r={base:`${e}__overlay`,afterOpen:`${e}__overlay--after-open`,beforeClose:`${e}__overlay--before-close`},c={};return"YES"===o&&(c.content={padding:"45px 30px",height:"100%",width:"100%",maxWidth:"100%"}),(0,i.jsxs)(s(),{closeTimeoutMS:200,isOpen:n,className:l,overlayClassName:r,displaySurvey:o,style:c,children:[(0,i.jsx)(h,{className:"mobileHeader"}),(0,i.jsx)(d.A,{onButtonClick:()=>{t()},label:"Fermer la fenêtre"}),a]})}))(r)},5684:(e,n,a)=>{a.r(n),a.d(n,{default:()=>s});var i=a(2540),t=(a(3696),a(2578)),o=a(4178);const s=({isOpen:e,handleHide:n})=>(0,i.jsx)(t.A,{isOpen:e,handleHide:n,children:(0,i.jsx)(o.SentMailNotificationContent,{})})}}]); 121//# sourceMappingURL=containers_modal_sentMailNotificationModal_js.3a6b7370.0ef15b04.js.map
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.