PageSourceSearch

https://valvert-croixblanche.com/_next/static/chunks/143n46.n7z1fq.js?dpl=dpl_5exBx8obvGtRvz3BpGYK1nEJ6CNN

js valvert-croixblanche.com collected 2026-10-02 00:34:48 UTC 9,974 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="40fc57ad-b007-0e59-0a74-37da9939c324")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44612,e=>{"use strict";var t=e.i(8231);e.i(36041);var a=e.i(69368);e.s(["default",0,({title:e,level:r="h1",size:s="large",className:l})=>"small"===s?(0,t.jsx)("div",{className:"flex",children:(0,t.jsx)(r,{className:(0,a.cn)("font-serif text-xl font-semibold text-gray-800 cursor-default uppercase px-0 border-b-2 border-stone-100",l),children:e})}):(0,t.jsx)(r,{className:(0,a.cn)("inline py-6 text-center bg-gradient-to-r from-primary-light to-primary-dark bg-clip-text cursor-default font-extrabold tracking-tight text-transparent text-5xl font-serif",l),children:e})])},73333,e=>{"use strict";var t=e.i(8231);e.i(36041);var a=e.i(69368);e.s(["default",0,({children:e,className:r,pattern:s=2,patternSize:l="600px",opacity:i=.5,fadePosition:n="25%",backgroundColor:o,backgroundClassName:c,fadeColor:d,style:u})=>{let m=d??o,h=m?{backgroundImage:`linear-gradient(to top, ${((e,t)=>{if(e.startsWith("#")){let a,r,s;return a=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),s=parseInt(e.slice(5,7),16),`rgba(${String(a)},${String(r)},${String(s)},${String(t)})`}return e.replace(/[\d.]+\)$/,`${String(t)})`)})(m,i)} 0%, ${m} ${n}), url('/images/patterns/pattern-valvert-${String(s)}.png')`,backgroundSize:`auto, ${l}`,backgroundPosition:"bottom center",backgroundRepeat:"repeat",...o?{backgroundColor:o}:{},...u}:{backgroundImage:`url('/images/patterns/pattern-valvert-${String(s)}.png')`,...{backgroundPosition:"bottom center",backgroundRepeat:"repeat",backgroundSize:l},opacity:i,WebkitMaskImage:`linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) ${n})`,maskImage:`linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) ${n})`};return m?(0,t.jsx)("section",{className:(0,a.cn)(c,r),style:h,children:e}):(0,t.jsxs)("section",{className:(0,a.cn)("relative isolate",c,r),style:u,children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-10",style:h}),e]})}])},31463,e=>{"use strict";var t=e.i(8231),a=e.i(38722);let r=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 0 1 0-1.113ZM17.25 12a5.25 5.25 0 1 1-10.5 0 5.25 5.25 0 0 1 10.5 0Z",clipRule:"evenodd"}))}),s=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18ZM22.676 12.553a11.249 11.249 0 0 1-2.631 4.31l-3.099-3.099a5.25 5.25 0 0 0-6.71-6.71L7.759 4.577a11.217 11.217 0 0 1 4.242-.827c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113Z"}),a.createElement("path",{d:"M15.75 12c0 .18-.013.357-.037.53l-4.244-4.243A3.75 3.75 0 0 1 15.75 12ZM12.53 15.713l-4.243-4.244a3.75 3.75 0 0 0 4.244 4.243Z"}),a.createElement("path",{d:"M6.75 12c0-.619.107-1.213.304-1.764l-3.1-3.1a11.25 11.25 0 0 0-2.63 4.31c-.12.362-.12.752 0 1.114 1.489 4.467 5.704 7.69 10.675 7.69 1.5 0 2.933-.294 4.242-.827l-2.477-2.477A5.25 5.25 0 0 1 6.75 12Z"}))});e.i(36041);var l=e.i(69368),i=e.i(53864),n=e.i(59232);e.s(["default",0,({label:e,required:o,errors:c,wrapperClassName:d,id:u,name:m,onFocus:h,onBlur:g,...p})=>{let[x,b]=(0,a.useState)(!1),[v,f]=(0,a.useState)(!1),j=u??m,w=v?void 0:c;return(0,t.jsxs)("div",{className:d,children:[(0,t.jsxs)("label",{htmlFor:j,className:n.labelClass,children:[e,o?" *":null]}),(0,t.jsxs)("div",{className:"relative mt-2.5",children:[(0,t.jsx)("input",{id:j,name:m,type:x?"text":"password","aria-invalid":w?w.length>0:void 0,className:(0,l.cn)(n.inputClass,"pr-10"),onFocus:e=>{f(!0),h?.(e)},onBlur:e=>{f(!1),g?.(e)},...p}),(0,t.jsx)("button",{type:"button",onClick:()=>b(e=>!e),tabIndex:-1,"aria-label":x?"Masquer le mot de passe":"Afficher le mot de passe",className:"absolute inset-y-0 right-0 flex items-center pr-3 text-gray-500 hover:text-gray-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary",children:(0,t.jsx)(x?s:r,{className:"h-5 w-5","aria-hidden":"true"})})]}),w?(0,t.jsx)(i.default,{messages:w}):null]})}],31463)},16191,e=>{"use strict";var t=e.i(38722);e.s(["useHandoffValue",0,e=>{let[a]=(0,t.useState)(()=>{let t=window.sessionStorage.getItem(e);return null!==t?(window.sessionStorage.removeItem(e),t):""});return{initial:a,set:(0,t.useCallback)(t=>{window.sessionStorage.setItem(e,t)},[e])}}])},99e3,e=>{"use strict";var t=e.i(8231),a=e.i(36845),r=e.i(64885),s=e.i(44612),l=e.i(73333),i=e.i(77481),n=e.i(10471),o=e.i(38722),c=e.i(3083);let d=(0,c.createServerReference)("6081e171e4cb1df4ceec4807e123a82e9e9787e38f",c.callServer,void 0,c.findSourceMapURL,"login");var u=e.i(16191),m=e.i(25432),h=e.i(16665),g=e.i(17422);let p=g.z.object({email:g.z.string().trim().min(1,"L'adresse email est requise").regex(/^[^\s@]+@[^\s@]+\.[^\s@]+$/,"L'adresse email n'est pas valide"),password:g.z.string().min(1,"Le mot de passe est requis")});var x=e.i(26414);e.i(36041);var b=e.i(69368),v=e.i(59232),f=e.i(31463);let j=()=>{let e=(0,r.useTranslations)("auth.login"),a=(0,m.useRouter)(),[s,l]=(0,o.useState)(null),[c,g]=(0,o.useState)(!1),{initial:j}=(0,u.useHandoffValue)("valvert:last-email"),[w]=(0,o.useState)(()=>({email:j,password:""})),N=(0,n.useForm)({defaultValues:w,validators:{onChange:p,onSubmit:p},onSubmit:async({value:t})=>{l(null);try{let e=await d(t.email.trim().toLowerCase(),t.password);if(!e.ok)return void l(e.error);(0,h.notifyAuthChanged)(),g(!0),a.push(x.default.account)}catch(t){l(t instanceof Error?t.message:e("error"))}}});return(0,t.jsxs)("form",{onSubmit:async e=>{e.preventDefault(),e.stopPropagation(),await N.handleSubmit()},className:"mt-8",children:[(0,t.jsx)(N.Subscribe,{selector:e=>e.isSubmitted,children:a=>(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-y-6",children:[(0,t.jsx)(N.Field,{name:"email",children:r=>(0,t.jsx)(v.default,{name:r.name,label:e("email"),required:!0,type:"email",autoComplete:"email",placeholder:e("placeholder.email"),value:r.state.value,onBlur:r.handleBlur,onChange:e=>{r.handleChange(e.target.value),s&&l(null)},errors:r.state.meta.isBlurred||a?r.state.meta.errors:void 0})}),(0,t.jsx)(N.Field,{name:"password",children:r=>(0,t.jsx)(f.default,{name:r.name,label:e("password"),required:!0,autoComplete:"current-password",placeholder:e("placeholder.password"),value:r.state.value,onBlur:r.handleBlur,onChange:e=>{r.handleChange(e.target.value),s&&l(null)},errors:r.state.meta.isBlurred||a?r.state.meta.errors:void 0})})]})}),(0,t.jsx)(N.Subscribe,{selector:e=>({isSubmitting:e.isSubmitting,canSubmit:e.canSubmit}),children:({isSubmitting:a,canSubmit:r})=>{let s=a||c||!r;return(0,t.jsx)("div",{className:"mt-8",children:(0,t.jsx)("button",{type:"submit",disabled:s,className:(0,b.cn)("block w-full bg-primary text-white hover:bg-primary-dark rounded-md px-3 py-3 text-sm font-medium focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary",s?"cursor-not-allowed opacity-75":""),children:a||c?e("submitting"):e("submit")})})}}),s&&(0,t.jsx)("div",{className:"mt-8 rounded-md border border-red-300 bg-red-50 p-4",children:(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(i.XCircleIcon,{className:"h-5 w-5 text-red-400","aria-hidden":"true"})}),(0,t.jsxs)("div",{className:"ml-3",children:[(0,t.jsx)("h3",{className:"text-sm font-medium text-red-800 mb
2-1",children:e("error")}),(0,t.jsx)("p",{className:"text-xs text-red-800/80",children:s})]})]})}),(0,t.jsx)("p",{className:"mt-6 text-center text-sm",children:(0,t.jsx)(m.Link,{href:x.default.reset,className:"opacity-75 hover:opacity-50",children:e("forgotPassword")})}),(0,t.jsxs)("p",{className:"mt-6 text-center text-md",children:[(0,t.jsx)("span",{className:"mr-2",children:e("noAccount")}),(0,t.jsx)(m.Link,{href:x.default.register,className:"font-semibold text-primary-contrast hover:text-primary-dark",children:e("createAccount")})]})]})};e.s(["default",0,()=>{let e=(0,r.useTranslations)("auth");return(0,t.jsxs)("section",{className:"grid min-h-[calc(100vh-12rem)] lg:min-h-[calc(100vh-4rem)] grid-cols-1 lg:grid-cols-2",children:[(0,t.jsx)(l.default,{backgroundClassName:"bg-stone-50/70",className:"flex items-center justify-center px-6 py-12 sm:px-10 lg:px-16 border-t border-stone-100",children:(0,t.jsxs)("div",{className:"w-full max-w-md mb-16",children:[(0,t.jsxs)("header",{className:"flex flex-col items-center pb-6",children:[(0,t.jsx)(s.default,{level:"h1",title:e("login.title")}),(0,t.jsx)("h2",{className:"text-center opacity-50",children:e.rich("login.subtitle",{i:e=>(0,t.jsx)("i",{children:e})})})]}),(0,t.jsx)(j,{})]})}),(0,t.jsxs)("div",{className:"relative hidden lg:block",children:[(0,t.jsx)(a.default,{src:"/images/photos/valvert_3.webp",alt:e("login.title"),fill:!0,priority:!0,sizes:"50vw",className:"object-cover"}),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 bg-white/10"})]})]})}],99e3)}]);
3
4//# debugId=40fc57ad-b007-0e59-0a74-37da9939c324

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.