(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[102,950],{7025:function(e,t,n){Promise.resolve().then(n.bind(n,3978))},3978:function(e,t,n){"use strict";var r=n(7437),i=n(2265),s=n(6298),o=n(4030),a=n.n(o),c=n(9376),d=n(2381),u=n(2934),l=n(4938);t.default=()=>{let[e,t]=(0,i.useState)({width:0,height:0}),n=(0,c.useRouter)();return(0,i.useEffect)(()=>{let e=()=>{t({width:window.innerWidth,height:window.innerHeight})};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center min-h-screen bg-white p-4",children:[(0,r.jsx)(a(),{width:e.width,height:e.height,recycle:!1,numberOfPieces:200}),(0,r.jsxs)(s.E.div,{initial:{scale:.8,opacity:0},animate:{scale:1,opacity:1},transition:{duration:.5},className:"text-center max-w-md w-full",children:[(0,r.jsx)(s.E.div,{initial:{y:-20},animate:{y:0},transition:{duration:.5,delay:.2},children:(0,r.jsx)(u.Z,{className:"w-16 h-16 text-[#8B5CF6] mx-auto mb-6"})}),(0,r.jsx)("h1",{className:"text-2xl font-bold text-[#1F2937] mb-4",children:"Demande envoy\xe9e avec succ\xe8s !"}),(0,r.jsx)("p",{className:"text-base text-[#4B5563] mb-8",children:"Votre demande d'inspection va bient\xf4t \xeatre trait\xe9e. Nous vous contacterons sous peu."}),(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsxs)(d.z,{onClick:()=>{n.push("/dashboard")},className:"bg-[#8B5CF6] hover:bg-[#7C3AED] text-white font-medium py-2 px-4 rounded-lg transition-colors duration-200 flex items-center justify-center",children:[(0,r.jsx)(l.Z,{className:"mr-2 h-4 w-4"}),"Retour \xe0 l'accueil"]})})]})]})}},2381:function(e,t,n){"use strict";n.d(t,{z:function(){return d}});var r=n(7437),i=n(2265),s=n(7053),o=n(535),a=n(3448);let c=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=i.forwardRef((e,t)=>{let{className:n,variant:i,size:o,asChild:d=!1,...u}=e,l=d?s.g7:"button";return(0,r.jsx)(l,{className:(0,a.cn)(c({variant:i,size:o,className:n})),ref:t,...u})});d.displayName="Button"},3448:function(e,t,n){"use strict";n.d(t,{cn:function(){return s}});var r=n(1994),i=n(3335);function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.m6)((0,r.W)(t))}}},function(e){e.O(0,[569,551,189,971,117,744],function(){return e(e.s=7025)}),_N_E=e.O()}]);