Files
plume/.next/server/chunks/ssr/[root-of-the-server]__93fbf849._.js
2026-02-28 08:42:15 +01:00

3 lines
6.1 KiB
JavaScript

module.exports=[56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},97442,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.AppRouterContext},42481,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.HooksClientContext},70676,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.ServerInsertedHtml},29892,a=>{"use strict";var b=a.i(28091);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],29892)},79080,a=>{"use strict";let b=(0,a.i(29892).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],79080)},79320,a=>{"use strict";let b=(0,a.i(29892).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);a.s(["ArrowRight",()=>b],79320)},66181,a=>{"use strict";let b=(0,a.i(29892).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);a.s(["Lock",()=>b],66181)},89657,a=>{"use strict";let b=(0,a.i(29892).default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);a.s(["Shield",()=>b],89657)},33045,a=>{"use strict";var b=a.i(78352),c=a.i(28091);let d=(0,a.i(29892).default)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);var e=a.i(89657),f=a.i(66181),g=a.i(79320),h=a.i(79080);let i=({onComplete:a,onCancel:i})=>{let[j,k]=(0,c.useState)(!1);return(0,b.jsx)("div",{className:"min-h-screen bg-[#eef2ff] flex items-center justify-center p-8",children:(0,b.jsxs)("div",{className:"bg-white rounded-3xl shadow-2xl flex flex-col md:flex-row max-w-4xl w-full overflow-hidden animate-in fade-in slide-in-from-bottom-10 duration-500",children:[(0,b.jsxs)("div",{className:"w-full md:w-1/3 bg-slate-900 text-white p-8",children:[(0,b.jsxs)("h3",{className:"text-xl font-bold mb-8 flex items-center gap-2",children:[(0,b.jsx)(f.Lock,{size:18,className:"text-blue-400"})," Commande"]}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,b.jsx)("span",{children:"Auteur Pro"}),(0,b.jsx)("span",{children:"12.00€"})]}),(0,b.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,b.jsx)("span",{children:"TVA (20%)"}),(0,b.jsx)("span",{children:"2.40€"})]}),(0,b.jsx)("div",{className:"h-px bg-slate-800 my-4"}),(0,b.jsxs)("div",{className:"flex justify-between text-xl font-black",children:[(0,b.jsx)("span",{children:"Total"}),(0,b.jsx)("span",{className:"text-blue-400",children:"14.40€"})]})]})]}),(0,b.jsxs)("div",{className:"flex-1 p-8 md:p-12",children:[(0,b.jsx)("h2",{className:"text-2xl font-black text-slate-900 mb-8 text-center",children:"Paiement Sécurisé"}),(0,b.jsxs)("form",{onSubmit:b=>{b.preventDefault(),k(!0),setTimeout(()=>{a()},2e3)},className:"space-y-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-black text-slate-500 uppercase tracking-widest mb-2",children:"Numéro de carte"}),(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)("input",{type:"text",placeholder:"4242 4242 4242 4242",className:"w-full bg-[#eef2ff] border border-indigo-100 p-4 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-bold"}),(0,b.jsx)(d,{className:"absolute right-4 top-4 text-slate-400"})]})]}),(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-6",children:[(0,b.jsx)("input",{type:"text",placeholder:"MM / YY",className:"w-full bg-[#eef2ff] border border-indigo-100 p-4 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-bold"}),(0,b.jsx)("input",{type:"text",placeholder:"CVC",className:"w-full bg-[#eef2ff] border border-indigo-100 p-4 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-bold"})]}),(0,b.jsx)("button",{disabled:j,className:"w-full bg-blue-600 text-white py-5 rounded-2xl font-black text-lg hover:bg-blue-700 transition-all shadow-xl shadow-blue-200 flex items-center justify-center gap-3",children:j?(0,b.jsx)(h.Loader2,{className:"animate-spin"}):(0,b.jsxs)(b.Fragment,{children:["Confirmer le paiement ",(0,b.jsx)(g.ArrowRight,{size:20})]})}),(0,b.jsxs)("div",{className:"flex items-center justify-center gap-2 text-[10px] text-slate-400 font-bold uppercase",children:[(0,b.jsx)(e.Shield,{size:12})," Traitement chiffré SSL 256-bits"]})]})]})]})})};var j=a.i(34896);function k(){let a=(0,j.useRouter)();return(0,b.jsx)(i,{onComplete:()=>a.push("/dashboard"),onCancel:()=>a.push("/pricing")})}a.s(["default",()=>k],33045)}];
//# sourceMappingURL=%5Broot-of-the-server%5D__93fbf849._.js.map