PageSourceSearch

https://www.lepalace-surgeres.fr/Activation-ccce04b9653b56ca8420.js

js lepalace-surgeres.fr collected 2026-10-08 07:40:33 UTC 3,924 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkp7881_6fae5263_f183_4481_8402_55871fdd132d=self.webpackChunkp7881_6fae5263_f183_4481_8402_55871fdd132d||[]).push([[503],{38935:function(e,a,i){i.r(a),i.d(a,{default:function(){return S}});var l=i(55793),t=i(86326),s=i(86329),r=i(20141),o=i(61795),n=i(46144),d=i(75674),c=i(6082),u=i(55814),m=i(53549),f=i(97553);const g=(0,f.YK)({emailField:{id:"loyalty.activation.field.email-label",defaultMessage:"Email"},submit:{id:"loyalty.activation.field.register-label",defaultMessage:"Submit"},goBack:{id:"loyalty.reset-password.field.go-back-label",defaultMessage:"Go back to login"},success:{id:"loyalty.forgot-password.success-title",defaultMessage:"Check your inbox and follow the reset password steps"},genericError:{id:"loyalty.forgot-password.generic-error-message",defaultMessage:"Error sending reset password email"},tooManyRequests:{id:"loyalty.forgot-password.too-many-requests-error-message",defaultMessage:"Error - Too many requests"}}),y=(0,f.YK)({required:{id:"loyalty.activation.error.field-required-label",defaultMessage:"This field is required"}});var b=g;const p=e=>{let{type:a}=e;const{formatMessage:i}=(0,s.A)();let l;return l=i(y.required),t.createElement("span",{role:"alert"},l)};var v=t.memo(p);var h=(0,f.YK)({emailField:{id:"loyalty.signup.field.email-label",defaultMessage:"Email"},emailVerificationMessage:{id:"loyalty.email-verification.intro-message",defaultMessage:"Before we get started, please verify your email."},emailVerificationSubmitLabel:{id:"loyalty.email-verification.submit-label",defaultMessage:"Send verification email"},emailVerificationGenericError:{id:"loyalty.email-verification.submit-generic-error-message",defaultMessage:"Error sending verification email"},emailVerificationSuccessMessage:{id:"loyalty.email-verification.submit-success-message",defaultMessage:"We sent you a verification email. Please check your inbox."}});const M=e=>{let{widgetId:a,loading:i,values:l,touched:t,errors:o,isValid:n,isSuccess:d,error:c,setValue:u,onSubmit:f}=e;const{formatMessage:g}=(0,s.A)();return(0,r.Y)(m.A,{onSubmit:e=>{e.preventDefault(),n&&f()}},(0,r.Y)(r.xA,{gap:4,sx:{justifyItems:"center"}},(0,r.Y)(r.IE.p,{sx:{marginBottom:0}},g(h.emailVerificationMessage)),(0,r.Y)("div",{sx:{width:"100%"}},(0,r.Y)(r.JU,{htmlFor:`${a}-loyalty-email`},g(h.emailField)),(0,r.Y)(r.pd,{id:`${a}-loyalty-email`,name:"email",type:"text",value:l.email,onChange:e=>{u("email",e.target.value)},placeholder:g(h.emailField)}),t.email&&o.email&&(0,r.Y)(v,{type:o.email})),(0,r.Y)(r.$n,{type:"submit",disabled:!n},g(h.emailVerificationSubmitLabel)),i&&(0,r.Y)(r.y$,{size:32,color:"currentcolor"}),c?(0,r.Y)(r.IE.strong,null,c):null,d&&(0,r.Y)("strong",null,g(h.emailVerificationSuccessMessage))))};var w=(0,t.memo)(M);const Y=e=>{let{widgetId:a,callbackUrl:i}=e;const{formatMessage:l}=(0,s.A)(),m=(0,u.A)(),{getCypherMessage:f}=(0,c.A)(),{0:g,1:y}=(0,t.useState)(!1),{0:b,1:p}=(0,t.useState)(""),{0:v,1:M}=(0,t.useState)(!1),{values:Y,isValid:k,touched:V,errors:S,setValue:A,resetValues:E}=(0,o.A)({initialValues:{email:""},validationSchema:o.h.object({email:o.h.string().email().required()})}),x=(0,t.useCallback)((async()=>{M(!1),p(""),y(!0);try{const e=await(0,d.Ct)(m,{emailAddress:Y.email||"",callbackUrl:i||window.location.href});y(!1),e.peachCode===n.BI?(M(!0),E()):p(f({response:e,fallback:h.emailVerificationGenericError}))}catch(b){y(!1),p(l(h.emailVerificationGenericError))}}),[m,Y.email]);return(0,r.Y)(w,{widgetId:a,loading:g,values:Y,touched:V,errors:S,isValid:k,isSuccess:v,error:b,setValue:A,onSubmit:x})};var k=(0,t.memo)(Y);const V=e=>{let{widgetId:a,handleGoBack:i}=e;const t=(0,l.A)(),{formatMessage:o}=(0,s.A)();return(0,r.Y)(r.xA,null,(0,r.Y)(k,{widgetId:a,callbackUrl:`${window.location.origin}/${t}`}),(0,r.Y)("div",{role:"button",sx:{cursor:"pointer",textAlign:"center",textDecoration:"underline"},onClick:()=>{i()}},o(b.goBack)))};var S=(0,t.memo)(V)}}]);

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.