PageSourceSearch

https://lequipage.studio/_next/static/immutable/chunks/1dyhwnjsjxmqi.js

js lequipage.studio collected 2026-10-10 02:36:40 UTC 26,748 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,60590,e=>{"use strict";var t=e.i(12380),r=e.i(12459);e.i(46607);var a=e.i(32919);let n=(0,r.forwardRef)(function(a,n){let{className:s}=a,o=(0,r.useRef)(null),i=(0,r.useRef)({x:0,y:100,scale:1,rotationYOffset:0,opacity:1});return(0,r.useImperativeHandle)(n,()=>({pose:i.current}),[]),(0,r.useEffect)(()=>{let t=o.current;if(!t)return;let r=!1,a=null;return(async()=>{let[n,s]=await Promise.all([e.A(66814),e.A(8679)]),{OBJLoader:o}=s;if(r)return;let l=!1,c=new n.Scene;c.background=null;let u=new n.PerspectiveCamera(35,1,.1,1e3);u.position.set(0,0,8),u.lookAt(0,0,0);let d=new n.WebGLRenderer({antialias:!0,alpha:!0,powerPreference:"high-performance"});d.setPixelRatio(Math.min(window.devicePixelRatio,2)),d.setClearColor(0,0),d.outputColorSpace=n.SRGBColorSpace,d.toneMapping=n.ACESFilmicToneMapping,d.toneMappingExposure=1.1,t.appendChild(d.domElement),d.domElement.style.width="100%",d.domElement.style.height="100%",d.domElement.style.display="block";let p=new n.AmbientLight(3820138,.6);c.add(p);let m=new n.DirectionalLight(0xffffff,1.6);m.position.set(3,4,5),c.add(m);let x=new n.DirectionalLight(6982328,1.1);x.position.set(-4,2,-3),c.add(x);let h=new n.DirectionalLight(0xe0d4b8,.35);h.position.set(0,5,2),c.add(h);let f=new n.Group;c.add(f),f.visible=!1,new o().load("/models/anchor.obj",e=>{if(l)return;let t=new n.MeshStandardMaterial({color:4870753,metalness:.88,roughness:.42,emissive:1712688,emissiveIntensity:.55,envMapIntensity:1.2}),r=0;e.traverse(e=>{e.isMesh&&(e.material=t,e.geometry.computeVertexNormals(),r++)});let a=new n.Box3().setFromObject(e),s=new n.Vector3;a.getSize(s);let o=new n.Vector3;a.getCenter(o),e.traverse(e=>{e.isMesh&&(e.geometry.translate(-o.x,-o.y,-o.z),e.geometry.computeBoundingSphere(),e.geometry.computeBoundingBox())});let i=1.8/(s.y||1);e.scale.setScalar(i),f.add(e),f.visible=!0,console.info(`[Anchor3D] OBJ loaded — ${r} mesh(es), raw size ${s.x.toFixed(1)}\xd7${s.y.toFixed(1)}\xd7${s.z.toFixed(1)}, scale ${i.toFixed(3)}`)},void 0,e=>{console.error("[Anchor3D] échec du chargement de l'OBJ",e)});let g=()=>{let e=t.clientWidth,r=t.clientHeight;0!==e&&0!==r&&(d.setSize(e,r,!1),u.aspect=e/r,u.updateProjectionMatrix())};g();let v=new ResizeObserver(g);v.observe(t);let w=0,b=performance.now(),y=0,j=(e,t)=>{let r=u.position.z,a=2*Math.tan(u.fov*Math.PI/360)*r,n=a*u.aspect;return e/100*("y"===t?a:n)*("y"===t?-1:1)},N=e=>{if(l)return;let t=Math.min((e-b)/1e3,1/30);b=e,y+=.35*t;let r=i.current;f.position.x=j(r.x,"x"),f.position.y=j(r.y,"y"),f.scale.setScalar(r.scale),f.rotation.y=y+r.rotationYOffset,f.rotation.x=.08,f.traverse(e=>{if(e.isMesh){let t=e.material;t.opacity!==r.opacity&&(t.transparent=r.opacity<1,t.opacity=r.opacity)}}),d.render(c,u),w=requestAnimationFrame(N)};w=requestAnimationFrame(N),a=()=>{l=!0,cancelAnimationFrame(w),v.disconnect(),d.dispose(),c.traverse(e=>{if(e.isMesh){e.geometry.dispose();let t=e.material;Array.isArray(t)?t.forEach(e=>e.dispose()):t.dispose()}}),t.contains(d.domElement)&&t.removeChild(d.domElement)}})(),()=>{r=!0,a?.()}},[]),(0,t.jsx)("div",{ref:o,className:s,style:{pointerEvents:"none"},"aria-hidden":"true"})});function s(e){let{active:a,bars:n=96,getFrequencyData:s,fftBinCount:o=64,color:i="#4C6BFF",className:l}=e,c=(0,r.useRef)(null),u=(0,r.useRef)([]),d=(0,r.useRef)(0),p=(0,r.useRef)(a);(0,r.useEffect)(()=>{p.current=a},[a]),(0,r.useEffect)(()=>{let e=new Uint8Array(o),t=new Float32Array(n),r=()=>{let a=u.current;if(!a.length){d.current=requestAnimationFrame(r);return}if(p.current&&s){s(e);let r=Math.floor(.7*o)-2;for(let a=0;a<n;a++){let s=Math.pow(e[2+Math.floor(a/(n-1)*(r-1))]/255,.7);t[a]+=(s-t[a])*.35}}else for(let e=0;e<n;e++)t[e]+=(0-t[e])*.15;for(let e=0;e<n;e++){let r=3+57*t[e],n=a[e];n&&(n.setAttribute("height",r.toFixed(2)),n.setAttribute("y",(40-r/2).toFixed(2)))}d.current=requestAnimationFrame(r)};return d.current=requestAnimationFrame(r),()=>cancelAnimationFrame(d.current)},[n,o,s]);let m=Array(n).fill(0).map((e,t)=>t*(2+(1e3-2*n)/(n-1)));return(0,t.jsx)("svg",{ref:c,viewBox:"0 0 1000 80",preserveAspectRatio:"none",className:l,"aria-hidden":"true",children:m.map((e,r)=>(0,t.jsx)("rect",{ref:e=>{e&&(u.current[r]=e)},x:e,y:38.5,width:2,height:3,rx:1,fill:i},r))})}function o(e){let t=Math.max(0,Math.floor(e/1e3)),r=Math.floor(t/60);return`${r}:${(t%60).toString().padStart(2,"0")}`}function i(e){let{size:r=28,color:a="#010712"}=e;
1return(0,t.jsxs)("svg",{width:r,height:r,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M25.88 36.24V27.76a0.94 0.94 0 0 0-1.88 0v8.48a0.94 0.94 0 0 0 1.88 0Z",fill:a}),(0,t.jsx)("path",{d:"M30.59 38.89V25.11a0.94 0.94 0 0 0-1.88 0v13.78a0.94 0.94 0 0 0 1.88 0Z",fill:a}),(0,t.jsx)("path",{d:"M35.29 41V23a0.94 0.94 0 0 0-1.88 0v18a0.94 0.94 0 0 0 1.88 0Z",fill:a}),(0,t.jsx)("path",{d:"M40 36.24V27.76a0.94 0.94 0 0 0-1.88 0v8.48a0.94 0.94 0 0 0 1.88 0Z",fill:a})]})}function l(e){let{label:r,name:a,value:n,onChange:s,type:o="text",required:i=!1}=e;return(0,t.jsxs)("label",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"text-[14px] text-white/60",children:r}),(0,t.jsx)("input",{type:o,name:a,required:i,value:n,onChange:e=>s(e.target.value),autoComplete:"email"===o?"email":"tel"===o?"tel":"off",className:"border-b border-white/40 bg-transparent pb-1.5 text-[18px] text-white outline-none transition-colors focus:border-white md:text-[20px]"})]})}e.s(["Contact",0,function(e){let{variant:c="homepage"}=e,u=(0,r.useRef)(null),d=(0,r.useRef)(null),p=(0,r.useRef)(null),m=(0,r.useRef)(null),x=(0,r.useRef)(null),h=(0,r.useRef)(null),f=e=>{let t=e.currentTarget,r=t.getBoundingClientRect(),a=e.clientX-r.left,n=e.clientY-r.top;t.style.setProperty("--px",`${a-100}px`),t.style.setProperty("--py",`${n-100}px`)},g=(0,r.useRef)(null),v=(0,r.useRef)(null),w=(0,r.useRef)(null),b=(0,r.useRef)(null),[y,j]=(0,r.useState)("idle"),[N,R]=(0,r.useState)("idle"),[S,F]=(0,r.useState)(null),[C,E]=(0,r.useState)({fullName:"",company:"",email:"",phone:"",message:""}),[M,A]=(0,r.useState)(""),k=(0,r.useRef)(0);(0,r.useLayoutEffect)(()=>{k.current=Date.now()},[]);let[B,P]=(0,r.useState)(0),[q,L]=(0,r.useState)(0),[T,z]=(0,r.useState)(!1),O=(0,r.useRef)(null),D=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{maxMs:t=6e4,fftSize:a=128,onStopped:n,onFailure:s}=e,o=(0,r.useRef)(n),i=(0,r.useRef)(s);(0,r.useEffect)(()=>{o.current=n,i.current=s},[n,s]);let[l,c]=(0,r.useState)("idle"),[u,d]=(0,r.useState)(null),[p,m]=(0,r.useState)(0),[x,h]=(0,r.useState)(null),f=(0,r.useRef)(null),g=(0,r.useRef)(null),v=(0,r.useRef)([]),w=(0,r.useRef)(null),b=(0,r.useRef)(null),y=(0,r.useRef)(0),j=(0,r.useRef)(0),N=(0,r.useRef)(null),R=(0,r.useCallback)(()=>{f.current&&(f.current.getTracks().forEach(e=>e.stop()),f.current=null),w.current&&"closed"!==w.current.state&&(w.current.close(),w.current=null),b.current=null,null!==N.current&&(window.clearTimeout(N.current),N.current=null),j.current&&(cancelAnimationFrame(j.current),j.current=0)},[]);(0,r.useEffect)(()=>R,[R]);let S=(0,r.useCallback)(async()=>{if(h(null),d(null),m(0),"u"<typeof navigator||!navigator.mediaDevices?.getUserMedia){let e="Votre navigateur ne supporte pas l'enregistrement audio.";c("unsupported"),h(e),i.current?.("unsupported",e);return}if("u"<typeof MediaRecorder){let e="MediaRecorder n'est pas disponible dans ce navigateur.";c("unsupported"),h(e),i.current?.("unsupported",e);return}c("requesting");try{let e=await navigator.mediaDevices.getUserMedia({audio:!0});f.current=e;let r=new(window.AudioContext||window.webkitAudioContext);w.current=r;let n=r.createMediaStreamSource(e),s=r.createAnalyser();s.fftSize=a,s.smoothingTimeConstant=.75,n.connect(s),b.current=s;let l=["audio/webm;codecs=opus","audio/webm","audio/ogg;codecs=opus"].find(e=>MediaRecorder.isTypeSupported(e)),u=l?new MediaRecorder(e,{mimeType:l}):new MediaRecorder(e);g.current=u,v.current=[],u.ondataavailable=e=>{e.data&&e.data.size>0&&v.current.push(e.data)},u.onstop=()=>{let e=new Blob(v.current,{type:u.mimeType||"audio/webm"});d(e),c("stopped"),R(),o.current?.(e)},u.onerror=e=>{console.error("[useVoiceRecorder] MediaRecorder error",e);let t="Erreur pendant l'enregistrement.";c("error"),h(t),R(),i.current?.("error",t)},u.start(250),y.current=performance.now(),c("recording");let p=()=>{let e=performance.now()-y.current;m(Math.min(e,t)),e<t&&(j.current=requestAnimationFrame(p))};j.current=requestAnimationFrame(p),N.current=window.setTimeout(()=>{g.current?.state==="recording"&&g.current.stop()},t)}catch(e){if(console.error("[useVoiceRecorder] start error",e),R(),e?.name==="NotAllowedError"||e?.name==="SecurityError"){let e="L'accès au microphone a été refusé.";c("denied"),h(e),i.current?.("denied",e)}else{let e="Impossible d'accéder au microphone.";c("error"),h(e),i.current?.("error",e)}}},[R,a,t]),F=(0,r.useCallback)(()=>{g.current?.state==="recording"&&g.current.stop()},[]);return{status:l,blob:u,elapsedMs:p,error:x,start:S,stop:F,reset:(0,r.useCallback)(()=>{R(),v.current=[],d(null),m(0),h(null),c("idle")},[R]),getFrequencyData:(0,r.useCallback)(e=>{let t=b.current;t?t.getByteFrequencyData(e):e.fill(0)},[]),fftBinCount:a/2}}({maxMs:6e4,fftSize:128,onStopped:()=>{window.__lenis?.start(),j("form")},onFailure:()=>{window.__lenis?.start(),j("idle")}});(0,r.useLayoutEffect)(()=>{let e=u.current,t=p.current;if(!e||!t)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){t.pose.y=5,t.pose.x=-5,t.pose.scale=1,t.pose.rotationYOffset=0,"homepage"===c&&document.documentElement.style.setProperty("--contact-bg","#020618");return}if("static"===c){t.pose.y=5,t.pose.x=-5,t.pose.scale=1,t.pose.rotationYOffset=0;return}if(!d.current)return;t.pose.y=100,t.pose.x=0,t.pose.scale=1,t.pose.rotationYOffset=0,document.documentElement.style.setProperty("--contact-bg","#EFF0F4");let r=document.querySelector("[data-journal-preview-section]"),n=a.gsap.context(()=>{r&&a.gsap.to(document.documentElement,{"--contact-bg":"#020618",ease:"none",scrollTrigger:{trigger:r,start:"bottom top",end:"bottom top-=40%",scrub:.5}});let n=a.gsap.timeline({scrollTrigger:{trigger:r??e,endTrigger:e,start:"top bottom",end:"bottom top",scrub:1.2,invalidateOnRefresh:!0}}),s=t.pose;n.fromTo(s,{y:100,x:0},{y:-10,x:-3,rotationYOffset:+Math.PI,duration:.12,ease:"power3.out"},.2),n.to(s,{y:35,x:-5,rotationYOffset:1.5*Math.PI,duration:.18,ease:"power2.inOut"},.32),n.to(s,{y:-100,duration:.31,ease:"none"},.55),n.set({},{},1)},e),s=()=>{let e=p.current,t=document.querySelector("[data-journal-preview-section]");e&&t&&t.getBoundingClientRect().top>window.innerHeight+4&&(e.pose.y=100,e.pose.x=0,e.pose.rotationYOffset=0)};return s(),window.addEventListener("scroll",s,{passive:!0}),()=>{window.removeEventListener("scroll",s),n.revert()}},[c]);let $=(0,r.useRef)(!0);(0,r.useLayoutEffect)(()=>{let e=p.current;if(!e)return;if($.current){$.current=!1;return}let t="recording"===y?{x:0,y:-5,scale:1.4}:"form"===y?{x:-32,y:25,scale:.85}:{x:-5,y:5,scale:1};a.gsap.to(e.pose,{x:t.x,y:t.y,scale:t.scale,duration:.9,ease:"power3.inOut",overwrite:"auto"});let r=m.current,n=x.current,s=h.current,o=g.current,i=v.current,l=w.current,c=b.current,u="idle"===y,d="recording"===y,f="form"===y;l&&a.gsap.to(l,{autoAlpha:+!d,duration:.4,ease:"power2.out"}),r&&a.gsap.to(r,{autoAlpha:+!!u,pointerEvents:u?"auto":"none",duration:.4,ease:"power2.out"}),s&&a.gsap.to(s,{autoAlpha:+!!u,pointerEvents:u?"auto":"none",duration:.4,ease:"power2.out"}),n&&a.gsap.to(n,{autoAlpha:+!!f,pointerEvents:f?"auto":"none",duration:.5,ease:"power2.out",delay:.15*!!f}),o&&a.gsap.to(o,{autoAlpha:+!!d,pointerEvents:d?"auto":"none",duration:.4,ease:"power2.out"}),c&&a.gsap.to(c,{autoAlpha:+!!d,y:20*!d,duration:.5,ease:"power3.out"}),i&&a.gsap.to(i,{autoAlpha:d?.15:1,duration:.4,ease:"power2.out"})},[y]);let _=async()=>{j("recording"),window.__lenis?.stop(),await D.start()};(0,r.useLayoutEffect)(()=>
1{if(!D.blob)return;let e=URL.createObjectURL(D.blob),t=new Audio(e);O.current=t;let r=()=>{L(isFinite(t.duration)?t.duration:D.elapsedMs/1e3)},a=()=>P(t.currentTime),n=()=>z(!1);return t.addEventListener("loadedmetadata",r),t.addEventListener("timeupdate",a),t.addEventListener("ended",n),()=>{t.pause(),t.removeEventListener("loadedmetadata",r),t.removeEventListener("timeupdate",a),t.removeEventListener("ended",n),URL.revokeObjectURL(e),O.current=null}},[D.blob,D.elapsedMs]);let Y=()=>{O.current?.pause(),z(!1),L(0),P(0),D.reset(),j("recording"),window.__lenis?.stop(),D.start()},I=async e=>{if(e.preventDefault(),C.fullName.trim()&&C.email.trim()&&C.message.trim()){R("sending"),F(null);try{let e=new FormData;e.append("fullName",C.fullName),e.append("company",C.company),e.append("email",C.email),e.append("phone",C.phone),e.append("message",C.message),e.append("website",M),e.append("_ts",String(k.current||Date.now())),D.blob&&e.append("audio",D.blob,"recording.webm");let t=await fetch("/api/contact",{method:"POST",body:e});if(!t.ok)throw Error(`HTTP ${t.status}`);R("success")}catch(e){console.error("[contact] submit error",e),F("L'envoi a échoué. Réessayez dans quelques instants."),R("error")}}};return(0,t.jsxs)("section",{ref:u,"data-contact-section":!0,className:"static"===c?"relative z-[2] w-full bg-[#020618] text-white":"relative w-full text-white",children:[(0,t.jsx)("div",{className:"static"===c?"pointer-events-none absolute inset-0 z-[1] overflow-hidden":"pointer-events-none fixed inset-0 z-[1]","aria-hidden":"true",children:(0,t.jsx)(n,{ref:p,className:"absolute inset-0 h-full w-full"})}),"homepage"===c?(0,t.jsx)("div",{ref:d,className:"pointer-events-none h-[80vh] w-full"}):null,(0,t.jsx)("div",{className:"relative z-[2] min-h-screen",children:(0,t.jsxs)("div",{className:"mx-auto flex min-h-screen w-full max-w-[1440px] flex-col px-6 pb-16 pt-28 md:px-10 md:pb-20 md:pt-24",children:[(0,t.jsxs)("div",{className:"relative grid grid-cols-1 items-start gap-24 md:grid-cols-2 md:gap-16",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("h2",{ref:w,className:"font-normal tracking-tight text-white",style:{fontSize:"clamp(36px, 6vw, 80px)",lineHeight:1.05},children:["Prêt à embarquer",(0,t.jsx)("br",{}),"avec nous ?"]}),(0,t.jsxs)("button",{ref:h,type:"button",onClick:_,onMouseEnter:f,onMouseLeave:f,"aria-label":"Enregistrer un message vocal",className:"group relative mt-8 flex h-16 w-16 cursor-pointer items-center justify-center overflow-hidden rounded-full bg-white text-[#010712] hover:text-white focus:outline-none focus:ring-2 focus:ring-[#4C6BFF] focus:ring-offset-2 focus:ring-offset-[#020618]",style:{transitionProperty:"color",transitionDuration:"300ms",transitionTimingFunction:"cubic-bezier(0.22, 1, 0.36, 1)"},children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute z-0 scale-0 rounded-full bg-[#0000FF] group-hover:scale-100",style:{width:200,height:200,left:"var(--px, calc(50% - 100px))",top:"var(--py, calc(50% - 100px))",transformOrigin:"center",transitionProperty:"scale",transitionDuration:"300ms",transitionTimingFunction:"cubic-bezier(0.22, 1, 0.36, 1)"}}),(0,t.jsx)("span",{className:"relative z-10 flex",children:(0,t.jsx)(i,{color:"currentColor",size:32})})]})]}),(0,t.jsxs)("div",{className:"relative grid",style:{gridTemplateAreas:'"stack"'},children:[(0,t.jsxs)("div",{ref:m,className:"flex flex-col gap-10",style:{gridArea:"stack"},children:[(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("span",{className:"text-[20px] text-white/70 md:text-[24px]",children:"Mail :"}),(0,t.jsx)("a",{href:"mailto:[email protected]",className:"w-fit break-all text-[28px] leading-tight text-white transition-colors hover:text-[#4C6BFF] md:text-[36px]",children:"[email protected]"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("span",{className:"text-[20px] text-white/70 md:text-[24px]",children:"Téléphone :"}),(0,t.jsx)("a",{href:"tel:+33769805037",className:"w-fit text-[28px] leading-tight text-white transition-colors hover:text-[#4C6BFF] md:text-[36px]",children:"+33 (0)7 69 80 50 37"})]})]}),(0,t.jsx)("form",{ref:x,onSubmit:I,className:"pointer-events-none flex flex-col gap-5 opacity-0",style:{gridArea:"stack"},children:"success"===N?(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsx)("p",{className:"text-[28px] leading-tight text-white md:text-[36px]",children:"Message reçu — on vous répond très vite."}),(0,t.jsx)("button",{type:"button",onClick:()=>
1{D.reset(),E({fullName:"",company:"",email:"",phone:"",message:""}),R("idle"),F(null),j("idle"),L(0),P(0),z(!1)},className:"w-fit border-b border-white pb-1 text-[20px] text-white transition-colors hover:border-[#4C6BFF] hover:text-[#4C6BFF] md:text-[24px]",children:"Envoyer un autre message"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{type:"text",name:"website",tabIndex:-1,autoComplete:"off","aria-hidden":"true",value:M,onChange:e=>A(e.target.value),style:{position:"absolute",left:"-10000px",top:"auto",width:"1px",height:"1px",overflow:"hidden",opacity:0,pointerEvents:"none"}}),(0,t.jsx)(l,{label:"Nom complet*",name:"fullName",required:!0,value:C.fullName,onChange:e=>E(t=>({...t,fullName:e}))}),(0,t.jsx)(l,{label:"Entreprise",name:"company",value:C.company,onChange:e=>E(t=>({...t,company:e}))}),(0,t.jsx)(l,{label:"Mail*",name:"email",type:"email",required:!0,value:C.email,onChange:e=>E(t=>({...t,email:e}))}),(0,t.jsx)(l,{label:"Téléphone",name:"phone",type:"tel",value:C.phone,onChange:e=>E(t=>({...t,phone:e}))}),(0,t.jsx)(l,{label:"Message*",name:"message",required:!0,value:C.message,onChange:e=>E(t=>({...t,message:e}))}),D.blob?(0,t.jsxs)("div",{className:"flex flex-col gap-3 rounded-lg bg-white/5 p-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("span",{className:"text-[14px] text-white/70",children:"Recording 01"}),(0,t.jsx)("button",{type:"button",onClick:()=>{let e=O.current;e&&(e.paused?(e.play(),z(!0)):(e.pause(),z(!1)))},"aria-label":T?"Pause":"Lecture",className:"grid h-9 w-9 place-items-center rounded-full bg-[#0000FF] text-white transition-transform hover:scale-105",children:T?(0,t.jsxs)("span",{"aria-hidden":"true",className:"flex gap-[3px]",children:[(0,t.jsx)("span",{className:"block h-3 w-[3px] bg-white"}),(0,t.jsx)("span",{className:"block h-3 w-[3px] bg-white"})]}):(0,t.jsx)("span",{"aria-hidden":"true",className:"ml-0.5 block h-0 w-0 border-b-[6px] border-l-[10px] border-t-[6px] border-b-transparent border-l-white border-t-transparent"})}),(0,t.jsxs)("span",{className:"ml-auto text-[13px] tabular-nums text-white/70",children:[o(1e3*B)," /"," ",o(1e3*q)]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-4 text-[13px]",children:[(0,t.jsx)("button",{type:"button",onClick:Y,className:"text-white/70 underline-offset-4 transition-colors hover:text-white hover:underline",children:"Réenregistrer"}),(0,t.jsx)("span",{className:"text-white/25",children:"·"}),(0,t.jsx)("button",{type:"button",onClick:()=>{O.current?.pause(),z(!1),L(0),P(0),D.reset(),j("form")},className:"text-white/70 underline-offset-4 transition-colors hover:text-[#FF6B6B] hover:underline",children:"Supprimer"})]})]}):(0,t.jsxs)("button",{type:"button",onClick:Y,className:"inline-flex w-fit items-center gap-2 rounded-lg border border-white/30 px-4 py-2 text-[14px] text-white/70 transition-colors hover:border-white hover:text-white",children:[(0,t.jsx)(i,{size:20,color:"currentColor"}),(0,t.jsx)("span",{children:"Enregistrer un vocal"})]}),(0,t.jsxs)("button",{type:"submit",disabled:"sending"===N,className:"group inline-flex w-fit items-center gap-3 border-b border-white pb-1 text-[20px] text-white transition-colors hover:border-[#4C6BFF] hover:text-[#4C6BFF] disabled:opacity-50 md:text-[24px]",children:[(0,t.jsx)("span",{children:"sending"===N?"Envoi en cours…":"Envoyez votre message"}),(0,t.jsx)("span",{"aria-hidden":"true",className:"inline-block transition-transform group-hover:translate-x-1",children:"→"})]}),S?(0,t.jsx)("p",{className:"text-[14px] text-[#FF6B6B]",children:S}):null]})})]})]}),(0,t.jsx)("div",{className:"relative mt-0 md:mt-2",children:(0,t.jsx)(s,{active:"recording"===y,getFrequencyData:D.getFrequencyData,fftBinCount:D.fftBinCount,color:"recording"===y?"#4C6BFF":"rgba(255,255,255,0.35)",className:"h-16 w-full md:h-20"})}),(0,t.jsxs)("div",{ref:g,className:"pointer-events-none absolute inset-x-6 top-1/2 flex -translate-y-1/2 flex-col items-center gap-8 opacity-0 md:inset-x-10",children:[(0,t.jsxs)("h3",{ref:b,className:"text-center font-normal leading-[1.05] tracking-tight text-white",style:{fontSize:"clamp(40px, 5vw, 64px)"},children:["Parlez-nous",(0,t.jsx)("br",{}),"de votre projet"]}),(0,t.jsxs)("div",{className:"flex items-center gap-6",children:[(0,t.jsx)("span",{className:"text-[16px] text-white/80",children:"requesting"===D.status?"Autorisation…":"Recording"}),(0,t.jsx)("button",{type:"button",onClick:()=>{window.__lenis?.start(),D.stop()},"aria-label":"Arrêter l'enregistrement",className:"grid h-11 w-11 place-items-center rounded-full bg-[#0000FF] transition-transform hover:scale-105",children:(0,t.jsx)("span",{"aria-hidden":"true",className:"block h-3.5 w-3.5 rounded-[2px] bg-white"})}),(0,t.jsxs)("span",{className:"text-[16px] tabular-nums text-white/80",children:[o(D.elapsedMs),"/1:00"]})]}),D.error?(0,t.jsx)("p",{className:"text-[14px] text-[#FF6B6B]",children:D.error}):null]}),(0,t.jsx)("div",{ref:v,className:"mt-auto flex flex-col",children:(0,t.jsx)("div",{className:"mt-16 h-
1px w-full bg-white/15 md:mt-24"})})]})})]})}],60590)},24803,e=>{"use strict";var t=e.i(12380),r=e.i(12459),a=e.i(86275),n=e.i(52478);e.i(46607);var s=e.i(32919),o=e.i(46498),i=e.i(63537),l=e.i(58987);function c(){let e=new Date,t=e=>String(e).padStart(2,"0");return`${t(e.getHours())}:${t(e.getMinutes())}:${t(e.getSeconds())}`}function u(e){let{open:a,onOpenChange:u,bounds:d}=e,[p,m]=(0,r.useState)(""),x=(0,r.useRef)(null);return(0,r.useEffect)(()=>{m(c());let e=window.setInterval(()=>m(c()),1e3);return()=>window.clearInterval(e)},[]),(0,r.useEffect)(()=>{let e=x.current;e&&(a?s.gsap.to(e,{height:"auto",duration:.55,delay:.28,ease:"power3.out"}):s.gsap.to(e,{height:0,duration:.4,ease:"power2.inOut"}))},[a]),(0,t.jsxs)("header",{className:"pointer-events-none absolute inset-0 z-40",children:[(0,t.jsx)(l.NavbarSvgDefs,{}),(0,t.jsxs)("div",{"data-arrival":"navbar-row",className:"pointer-events-auto absolute flex items-center justify-between px-2 pt-2 text-black",style:{top:`${d.bar.topPx}px`,left:`${d.bar.leftPx}px`,width:`${d.bar.widthPx}px`,height:`${d.bar.heightPx}px`},children:[(0,t.jsx)("span",{"data-arrival-mask":!0,className:"inline-flex overflow-hidden",children:(0,t.jsx)("span",{"data-arrival-mask-inner":!0,className:"inline-flex",style:{transform:"translateY(100%)"},children:(0,t.jsx)(n.default,{href:"/","aria-label":"Retour à l'accueil",className:"inline-flex items-center transition-opacity md:hover:opacity-70",children:(0,t.jsx)(o.EquipageLogo,{className:"h-3 w-auto sm:h-4 md:h-5 lg:h-[23px]"})})})}),(0,t.jsx)("span",{"data-arrival-mask":!0,className:"inline-flex overflow-hidden",children:(0,t.jsx)("span",{"data-arrival-mask-inner":!0,className:"inline-flex",style:{transform:"translateY(100%)"},children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("span",{className:"hidden text-sm tabular-nums text-black/80 md:inline",children:[p," (UTC+1)"]}),(0,t.jsx)("span",{"aria-hidden":"true",className:"hidden h-5 w-px bg-black/20 md:inline-block"}),(0,t.jsxs)("button",{type:"button",onClick:()=>u(!a),"aria-expanded":a,"aria-label":a?"Fermer le menu":"Ouvrir le menu",className:"flex cursor-pointer items-center gap-2 text-sm transition-opacity md:hover:opacity-70",children:["Menu",(0,t.jsxs)("span",{className:"relative inline-block h-3 w-4","aria-hidden":"true",children:[(0,t.jsx)("span",{className:`absolute left-0 h-px w-full bg-black transition-all duration-300 ${a?"top-1/2 rotate-45":"top-1/3"}`}),(0,t.jsx)("span",{className:`absolute left-0 h-px w-full bg-black transition-all duration-300 ${a?"top-1/2 -rotate-45":"top-2/3"}`})]})]})]})})})]}),(0,t.jsx)("div",{className:"pointer-events-auto absolute overflow-hidden bg-white text-black",style:{to
1p:`${d.panel.topPx}px`,left:`${d.panel.leftPx}px`,width:`${d.panel.widthPx}px`,borderBottomLeftRadius:d.panelCornerPx,borderBottomRightRadius:d.panelCornerPx},children:(0,t.jsx)("div",{ref:x,style:{height:0,overflow:"hidden"},children:(0,t.jsx)(i.NavbarMenuContent,{})})})]})}let d=(0,a.getNavbarBounds)(1440);e.s(["PageNavShell",0,function(){let e=(0,r.useRef)(null),[n,s]=(0,r.useState)(!1),[o,i]=(0,r.useState)(d);return(0,r.useLayoutEffect)(()=>{let t=e.current;if(!t)return;let r=t.getBoundingClientRect().width;i((0,a.getNavbarBounds)(Math.round(r)));let n=new ResizeObserver(e=>{let t=e[0]?.contentRect;t&&i((0,a.getNavbarBounds)(Math.round(t.width)))});return n.observe(t),()=>n.disconnect()},[]),(0,t.jsxs)("div",{ref:e,"data-hero-fade":!0,className:"pointer-events-none absolute inset-0",children:[(0,t.jsx)(a.PageFrame,{open:n}),(0,t.jsx)(u,{open:n,onOpenChange:s,bounds:o})]})}],24803)},13392,e=>{"use strict";var t=e.i(12459);e.i(46607);var r=e.i(32919),a=e.i(20278),n=e.i(6117);let s={frameStartScale:1.3,frameDuration:.7,frameEase:"power3.out",navbarStart:.55,navbarDuration:.6,navbarEase:"power3.out",contentStart:.55,contentStageTwoStart:1.1,contentStageThreeStart:1.85};function o(e){let t=e.querySelector('[data-arrival="frame"]');t&&(t.style.transform="scale(1)");let r=e.querySelector('[data-arrival="navbar-row"]');r&&r.querySelectorAll("[data-arrival-mask-inner]").forEach(e=>{e.style.transform="translateY(0)"})}e.s(["PageShellArrival",0,function(){let{isDone:e}=(0,a.useLoader)(),{isCovered:i}=(0,n.usePageTransition)();return(0,t.useEffect)(()=>{if(!e||i)return;let t=document.querySelector("[data-hero-section]");if(!t)return;let a=!1;try{a=window.matchMedia("(prefers-reduced-motion: reduce)").matches}catch{}if(a)return void o(t);let n=null,l=!1;return document.fonts.ready.then(async()=>{l||(await new Promise(e=>requestAnimationFrame(()=>e())),await new Promise(e=>requestAnimationFrame(()=>e())),(()=>{if(l)return;n=r.gsap.timeline();let e=t.querySelector('[data-arrival="frame"]');e&&n.to(e,{scale:1,duration:s.frameDuration,ease:s.frameEase},0);let a=t.querySelector('[data-arrival="navbar-row"]');if(a){let e=a.querySelectorAll("[data-arrival-mask-inner]");e.length>0&&n.to(e,{y:0,duration:s.navbarDuration,ease:s.navbarEase},s.navbarStart)}})())}),()=>{l=!0,n?.kill()}},[e,i]),null},"SHELL_ARRIVAL_T",0,s,"restoreShellToFinal",0,o])}]);

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.