PageSourceSearch

https://fecham.coop/static/js/8416.7d2e45fe.chunk.js

js fecham.coop collected 2026-10-08 00:00:34 UTC 38,063 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[8416],{4662:(e,t,r)=>{r.d(t,{Ab:()=>u,Dq:()=>m,GI:()=>c,LZ:()=>b,O:()=>p,Tb:()=>h,US:()=>a,XB:()=>s,cM:()=>d,fi:()=>l,ps:()=>g,ty:()=>o,vp:()=>i});const n=()=>{},i=n,o=n,s=n,a=n,l=n,c=n,d=n,u=n,m=n,g=n,p=n,h=n,b=n},68416:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var n=r(89379),i=r(65043),o=r(91357),s=r(79722),a=r(63331),l=r(10624),c=r(4662),d=r(70579);const u={en:{healthcare:{label:"Healthcare",subcategories:["Dental","Chiropractic","Physiotherapy","Mental Health","Pediatrics","Nutrition","Dermatology","Optometry","Urgent Care","Trager","Massotherapy"]},consulting:{label:"Consulting",subcategories:["Business Strategy","Management","HR","IT","Marketing","Financial","Operations","Change Management"]},legal:{label:"Legal",subcategories:["Personal Injury","Family Law","Criminal Defense","Corporate Law","Estate Planning","Immigration","Real Estate Law","Employment Law"]},finance:{label:"Finance",subcategories:["Wealth Management","Investment Advisory","Retirement Planning","Tax Planning","Insurance Services","Mortgage Lending","Accounting","Financial Planning","Private Banking"]},realestate:{label:"Real Estate",subcategories:["Residential Sales","Commercial Real Estate","Property Management","Real Estate Investment","Vacation Rentals","Real Estate Appraisal","Home Staging","Relocation Services","Real Estate Development","Real Estate Photography"]},technology:{label:"Technology",subcategories:["Software Development","Cybersecurity","Cloud Computing","IT Consulting","Data Analytics","AI & Machine Learning","Managed IT Services","Web Design Agency","Blockchain Development"]},education:{label:"Education",subcategories:["Online Learning Platform","Tutoring Center","Language School","Test Prep","Early Childhood","Vocational Training","College Consulting","Professional Development"]},creative:{label:"Creative",subcategories:["Graphic Design","Photography","Video Production","Web Development","Interior Design","Advert
1ising Agency","Content Creation","Animation Studio","Branding Agency"]},retail:{label:"Retail",subcategories:["E-Commerce Store","Fashion Boutique","Specialty Foods","Home Decor","Bookstore","Jewelry Store","Pet Supplies","Outdoor Gear"]},hospitality:{label:"Hospitality",subcategories:["Luxury Hotel","Restaurant","Cafe","Bed & Breakfast","Catering","Event Venue","Spa Resort","Food Truck","Bar & Nightclub"]},construction:{label:"Construction",subcategories:["General Contractor","Home Renovation","Roofing","Landscaping","Plumbing","Electrical","HVAC","Painting","Flooring"]},nonprofit:{label:"Non-Profit",subcategories:["Charity Foundation","Animal Rescue","Environmental Organization","Youth Mentoring","Food Bank","Homeless Shelter","Arts & Culture","Community Development","Cooperative"]}},fr:{healthcare:{label:"Sant\xe9",subcategories:["Dentaire","Chiropratique","Physioth\xe9rapie","Sant\xe9 mentale","P\xe9diatrie","Nutrition","Dermatologie","Optom\xe9trie","Soins urgents","Trager","Massoth\xe9rapie"]},consulting:{label:"Consultation",subcategories:["Strat\xe9gie d'affaires","Gestion","RH","TI","Marketing","Finance","Op\xe9rations","Gestion du changement"]},legal:{label:"Juridique",subcategories:["Blessures corporelles","Droit familial","D\xe9fense criminelle","Droit corporatif","Planification successorale","Immigration","Droit immobilier","Droit du travail"]},finance:{label:"Finance",subcategories:["Gestion de patrimoine","Conseil en investissement","Planification de retraite","Planification fiscale","Services d'assurance","Pr\xeats hypoth\xe9caires","Comptabilit\xe9","Planification financi\xe8re","Banque priv\xe9e"]},realestate:{label:"Immobilier",subcategories:["Ventes r\xe9sidentielles","Immobilier commercial","Gestion immobili\xe8re","Investissement immobilier","Locations de vacances","\xc9valuation immobili\xe8re","Home staging","Services de relocation","D\xe9veloppement immobilier","Photographie immobili\xe8re"]},technology:{label:"Technologie",subcategories:["D\xe9veloppement logiciel","Cybers\xe9curit\xe9","Cloud Computing","Conseil en TI","Analyse de donn\xe9es","IA et apprentissage automatique","Services TI g\xe9r\xe9s","Agence web","D\xe9veloppement blockchain"]},education:{label:"\xc9ducation",subcategories:["Plateforme d'apprentissage en ligne","Centre de tutorat","\xc9cole de langues","Pr\xe9paration aux examens","Petite enfance","Formation professionnelle","Conseil coll\xe9gial","D\xe9veloppement professionnel"]},creative:{label:"Cr\xe9ation",subcategories:["Design graphique","Photographie","Production vid\xe9o","D\xe9veloppement web","Design d'int\xe9rieur","Agence de publicit\xe9","Cr\xe9ation de contenu","Studio d'animation","Agence de branding"]},retail:{label:"Commerce de d\xe9tail",subcategories:["Boutique en ligne","Boutique de mode","Aliments sp\xe9cialis\xe9s","D\xe9coration int\xe9rieure","Librairie","Bijouterie","Fournitures pour animaux","\xc9quipement de plein air"]},hospitality:{label:"H\xf4tellerie",subcategories:["H\xf4tel de luxe","Restaurant","Caf\xe9","G\xeete","Traiteur","Salle de r\xe9ception","Spa et d\xe9tente","Cuisine de rue","Bar et discoth\xe8que"]},construction:{label:"Construction",subcategories:["Entrepreneur g\xe9n\xe9ral","R\xe9novation r\xe9sidentielle","Toiture","Am\xe9nagement paysager","Plomberie","\xc9lectricit\xe9","CVAC","Peinture","Rev\xeatement de sol"]},nonprofit:{label:"Organisme sans but lucratif",subcategories:["Fondation caritative","Refuge pour animaux","Organisation environnementale","Mentorat jeunesse","Banque alimentaire","Refuge pour sans-abri","Arts et culture","D\xe9veloppement communautaire","Coop\xe9rative"]}}},m={en:{healthcare:["Patients seeking treatment","Health-conscious individuals","Seniors and elderly","Athletes and fitness enthusiasts","People with chronic conditions","Busy professionals","Families with children","Insurance holders"],consulting:["Small business owners","Entrepreneurs and startups","Corporate executives","Non-profit organizations","Government agencies","Growing companies","Industry specialists","C-suite decision makers"],legal:["Individuals needing legal advice","Small businesses","Real estate buyers/sellers","Families (estate planning)","Accident victims","Immigrants and visa seekers","Employers/Employees","Corporate clients"],finance:["Small business owners","Indiv
1iduals seeking tax help","Retirees and pre-retirees","Young professionals","High-net-worth individuals","Families planning finances","First-time investors","Business owners (B2B)"],realestate:["First-time home buyers","Property investors","Families relocating","Commercial property seekers","Landlords and property owners","Vacation home buyers","Downsizers and retirees","Real estate developers"],technology:["Small and medium businesses","Startups and entrepreneurs","Enterprise companies","E-commerce businesses","Non-technical business owners","Tech-forward companies","Security-conscious organizations","Digital transformation seekers"],education:["Students and learners","Working professionals","Parents seeking tutoring","Corporate training clients","Career changers","Test takers (SAT, GMAT, etc.)","Language learners","Certification seekers"],creative:["Small businesses needing branding","Entrepreneurs and startups","Marketing agencies","Event planners","Individuals (personal projects)","E-commerce brands","Content creators","Corporate marketing teams"],retail:["Local community shoppers","Online shoppers","Eco-conscious consumers","Bargain hunters","Luxury/premium buyers","Gift shoppers","Hobbyists and enthusiasts","Collectors"],hospitality:["Leisure travelers","Business travelers","Families on vacation","Adventure seekers","Couples (romantic getaways)","Food enthusiasts","Event planners","Local diners"],construction:["Homeowners (renovations)","Property developers","Commercial businesses","Real estate investors","Government/municipal projects","New home builders","Property managers","Insurance restoration"],nonprofit:["Donors and philanthropists","Volunteers","Community members","Grant-making organizations","Corporate sponsors","Beneficiaries","Partner organizations","Government agencies"]},fr:{healthcare:["Patients cherchant des soins","Personnes soucieuses de leur sant\xe9","A\xeen\xe9s et personnes \xe2g\xe9es","Athl\xe8tes et amateurs de fitness","Personnes avec conditions chroniques","Professionnels occup\xe9s","Familles avec enfants","D\xe9tenteurs d'assurance"],consulting:["Propri\xe9taires de PME","Entrepreneurs et startups","Cadres d'entreprise","Organismes \xe0 but non lucratif","Agences gouvernementales","Entreprises en croissance","Sp\xe9cialistes de l'industrie","D\xe9cideurs C-suite"],legal:["Particuliers ayant besoin de conseils","Petites entreprises","Acheteurs/vendeurs immobiliers","Familles (planification successorale)","Victimes d'accidents","Immigrants et demandeurs de visa","Employeurs/Employ\xe9s","Clients corporatifs"],finance:["Propri\xe9taires de PME","Particuliers (aide fiscale)","Retrait\xe9s et pr\xe9-retrait\xe9s","Jeunes professionnels","Personnes fortun\xe9es","Familles planifiant leurs finances","Premiers investisseurs","Propri\xe9taires d'entreprises (B2B)"],realestate:["Premiers acheteurs","Investisseurs immobiliers","Familles en relocalisation","Chercheurs de propri\xe9t\xe9s commerciales","Propri\xe9taires et bailleurs","Acheteurs de maisons de vacances","Retrait\xe9s en r\xe9duction","Promoteurs immobiliers"],technology:["Petites et moyennes entreprises","Startups et entrepreneurs","Grandes entreprises","Commerces en ligne","Propri\xe9taires non techniques","Entreprises technophiles","Organisations ax\xe9es s\xe9curit\xe9","Chercheurs de transformation num\xe9rique"],education:["\xc9tudiants et apprenants","Professionnels en activit\xe9","Parents cherchant du tutorat","Clients de formation en entreprise","Personnes en reconversion","Candidats aux examens","Apprenants de langues","Chercheurs de certifications"],creative:["PME ayant besoin de branding","Entrepreneurs et startups","Agences de marketing","Organisateurs d'\xe9v\xe9nements","Particuliers (projets personnels)","Marques e-commerce","Cr\xe9ateurs de contenu","\xc9quipes marketing d'entreprise"],retail:["Acheteurs de la communaut\xe9 locale","Acheteurs en ligne","Consommateurs \xe9co-responsables","Chasseurs de bonnes affaires","Acheteurs de luxe/premium","Acheteurs de cadeaux","Hobbyistes et passionn\xe9s","Collectionneurs"],hospital
1ity:["Voyageurs de loisirs","Voyageurs d'affaires","Familles en vacances","Amateurs d'aventure","Couples (escapades romantiques)","Amateurs de gastronomie","Organisateurs d'\xe9v\xe9nements","Clients locaux"],construction:["Propri\xe9taires (r\xe9novations)","Promoteurs immobiliers","Entreprises commerciales","Investisseurs immobiliers","Projets gouvernementaux","Constructeurs de maisons neuves","Gestionnaires immobiliers","Restauration d'assurance"],nonprofit:["Donateurs et philanthropes","B\xe9n\xe9voles","Membres de la communaut\xe9","Organisations subventionnaires","Commanditaires corporatifs","B\xe9n\xe9ficiaires","Organisations partenaires","Agences gouvernementales"]}},g={en:{title:"Get Started with NeoAgora",subtitle:"Create your account and launch your website in minutes",accountSection:"Account Information",websiteSection:"Website Details",name:"Full Name",namePlaceholder:"John Doe",email:"Email Address",emailPlaceholder:"[email protected]",password:"Password",passwordPlaceholder:"Create a secure password",websiteName:"Website Name",websiteNamePlaceholder:"My Business Name",category:"Business Category",categoryPlaceholder:"Select a category",subcategory:"Subcategory",subcategoryPlaceholder:"Select a subcategory",targetAudience:"Target Audience",targetAudienceHint:"Select at least 3 options",targetAudienceMinError:"Please select at least 3 target audiences",description:"Business Description",descriptionPlaceholder:"Describe your business, services, and what makes you unique...",generateWithAI:"Generate with AI",generating:"Generating...",createAccount:"Create My Account",creating:"Creating your account...",alreadyHaveAccount:"Already have an account?",signIn:"Sign in",requiredField:"This field is required",invalidEmail:"Please enter a valid email address",passwordTooShort:"Password must be at least 8 characters",successTitle:"Account Created!",successMessage:"Please check your email to verify your account before logging in.",checkEmail:"Check your inbox at",didntReceive:"Didn't receive the email?",resendEmail:"Resend verification email",resending:"Sending...",emailSent:"Email sent!",goToLogin:"Go to Login",consentRequired:"You must accept the legal documents to create an account",consentText:"I have read and agree to the",consentTerms:"Terms of Service",consentAnd:", the",consentPrivacy:"Privacy Policy",consentAndAi:" and the",consentAi:"AI Disclosure",consentVersion:"v1.0 \u2014 April 17, 2026"},fr:{title:"Commencez avec NeoAgora",subtitle:"Cr\xe9ez votre compte et lancez votre site web en quelques minutes",accountSection:"Informations du compte",websiteSection:"D\xe9tails du site web",name:"Nom complet",namePlaceholder:"Jean Dupont",email:"Adresse e-mail",emailPlaceholder:"[email protected]",password:"Mot de passe",passwordPlaceholder:"Cr\xe9ez un mot de passe s\xe9curis\xe9",websiteName:"Nom du site web",websiteNamePlaceholder:"Le nom de mon entreprise",category:"Cat\xe9gorie d'entreprise",categoryPlaceholder:"S\xe9lectionnez une cat\xe9gorie",subcategory:"Sous-cat\xe9gorie",subcategoryPlaceholder:"S\xe9lectionnez une sous-cat\xe9gorie",targetAudience:"Public cible",targetAudienceHint:"S\xe9lectionnez au moins 3 options",targetAudienceMinError:"Veuillez s\xe9lectionner au moins 3 publics cibles",description:"Description de l'entreprise",descriptionPlaceholder:"D\xe9crivez votre entreprise, vos services et ce qui vous rend unique...",generateWithAI:"G\xe9n\xe9rer avec l'IA",generating:"G\xe9n\xe9ration...",createAccount:"Cr\xe9er mon compte",creating:"Cr\xe9ation de votre compte...",alreadyHaveAccount:"Vous avez d\xe9j\xe0 un compte?",signIn:"Se connecter",requiredField:"Ce champ est obligatoire",invalidEmail:"Veuillez entrer une adresse e-mail valide",passwordTooShort:"Le mot de passe doit contenir au moins 8 caract\xe8res",successTitle:"Compte cr\xe9\xe9!",successMessage:"Veuillez v\xe9rifier votre e-mail pour activer votre compte avant de vous connecter.",checkEmail:"V\xe9rifiez votre bo\xeete de r\xe9ception \xe0",didntReceive:"Vous n'avez pas re\xe7u l'e-mail?",resendEmail:"Renvoyer l'e-mail de v\xe9rification",resending:"Envoi...",emailSent:"E-mail envoy\xe9!",goToLogin:"Aller \xe0 la connexion",consentRequired:"Vous devez accepter les documents l\xe9gaux pour cr\xe9er un compte",consentText:"J'ai lu et j'accepte les",consentTerms:"Conditions d'utilisation",consentAnd:", la",consentPrivacy:"Politique de confidentialit\xe9",consentAndAi:" et l'",consentAi:"Avis sur l'IA",consentVersion:"v1.0 \u2014 17 avril 2026"}};function p(){var e;const{language:t,setLanguage:r}=(0,l.ok)(),p=g[t],[h]=((0,o.Zp)(),(0,o.ok)()),[b,f]=(0,i.useState)({name:"",email:"",password:"",websiteName:"",category:"",subcategory:"",targetAudiences:[],description:"",acceptedLegal:!1}),[y,x]=(0,i.useState)({}),[v,C]=(0,i.useState)(!1),[w,A]=(0,i.useState)(!1),[j,S]=(0,i.useState)(!1),[k,P]=(0,i.useState)(!1),[B,z]=(0,i.useState)(!1),[F,R]=(0,i.useState)(""),[D,I]=(0,i.useState)(0),E=u[t],L=b.category&&m[t][b.category]||[];(0,i.useEffect)(()=>{const e=h.get("category"),t=h.get("subcategory");if(e){const r=e.toLowerCase();let i=Object.keys(E).find(e=>E[e].label.toLowerCase()===r);i||(i=Object.keys(E).find(e=>{const t=E[e].label.toLowerCase();return r.includes(t)||t.includes(r)})),i&&f(e=>{const r=(0,n.A)((0,n.A)({},e),{},{category:i});if(t){const e=E[i].subcategories,n=t.toLowerCase();let o=e.find(e=>e.toLowerCase()===n);o||(o=e.find(e=>{const t=e.toLowerCase();return n.includes(t)||n.startsWith(t)||t.startsWith(n)})),o&&(r.subcategory=o)}return r})}},[h,E]);const T=e=>{const{name:t,value:r}=e.target;f(e=>(0,n.A)((0,n.A)({},e),{},{[t]:r})),y[t]&&x(e=>(0,n.A)((0,n.A)({},e),{},{[t]:""})),"category"===t&&(f(e=>(0,n.A)((0,n.A)({},e),{},{subcategory:"",targetAudiences:[]})),x(e=>(0,n.A)((0,n.A)({},e),{},{targetAudiences:""})))},W=async()=>{P(!0);try{await s.A.post("".concat(a.n,"/resend-verification"),{email:b.email}),z(!0),setTimeout(()=>z(!1),3e3)}catch(e){console.error("Failed to resend email:",e)}finally{P(!1)}};return j?(0,d.jsx)("div",{style:{minHeight:"100vh",background:"linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%)",display:"flex",alignItems:"center",justifyContent:"center",padding:"2rem"},children:(0,d.jsxs)("div",{style:{background:"white",borderRadius:"1.5rem",padding:"3rem",maxWidth:"480px",width:"100%",textAlign:"center",boxShadow:"0 20px 50px rgba(0, 0, 0, 0.1)"},children:[(0,d.jsx)("div",{style:{width:"80px",height:"80px",background:"linear-gradient(135deg, #8B5CF6, #7C3AED)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 1.5rem"},children:(0,d.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),(0,d.jsx)("polyline",{points:"22,4 12,14.01 9,11.01"})]})}),(0,d.jsx)("h2",{style:{fontSize:"1.75rem",fontWeight:"700",color:"#1e293b",marginBottom:"0.75rem"},children:p.successTitle}),(0,d.jsx)("p",{style:{color:"#64748b",marginBottom:"1.5rem",lineHeight:"1.6"},children:p.successMessage}),(0,d.jsxs)("div",{style:{background:"#f8fafc",borderRadius:"0.75rem",padding:"1rem",marginBottom:"1.5rem"},children:[(0,d.jsx)("p",{style:{color:"#64748b",fontSize:"0.875rem",marginBottom:"0.25rem"},children:p.checkEmail}),(0,d.jsx)("p",{style:{color:"#1e293b",fontWeight:"600"},children:b.email})]}),(0,d.jsxs)("div",{style:{marginBottom:"1.5rem"},children:[(0,d.jsx)("p",{style:{color:"#64748b",fontSize:"0.875rem",marginBottom:"0.5rem"},children:p.didntReceive}),(0,d.jsx)("button",{onClick:W,disabled:k||B,style:{background:"none",border:"none",color:B?"#10b981":"#8B5CF6",fontWeight:"600",cursor:k?"not-allowed":"pointer",fontSize:"0.875rem"},children:k?p.resending:B?p.emailSent:p.resendEmail})]}),(0,d.jsx)(o.N_,{to:"/client/login",style:{display:"inline-block",width:"100%",padding:"0.875rem",background:"linear-gradient(135deg, #8B5CF6, #7C3AED)",color:"white",borderRadius:"0.75rem",fontWeight:"600",textDecoration:"none",textAlign:"center"},children:p.goToLogin})]})}):(0,d.jsxs)("div",{style:{minHeight:"100vh",background:"linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%)",padding:"1rem",display:"flex",flexDirection:"column",justifyContent:"center"},children:[(0,d.jsxs)("div",{style:{position:"absolute",top:"1rem",right:"1rem",display:"flex",gap:"0.5rem"},children:[(0,d.jsx)("button",{onClick:()=>r("en"),style:{padding:"0.4rem 0.75rem",borderRadius:"0.5rem",border:"none",background:"en"===t?"#8B5CF6":"#e2e8f0",color:"en"===t?"white":"#64748b",fontWeight:"600",cursor:"pointer",fontSize:"0.75rem"},children:"EN"}),(0,d.jsx)("button",{onClick:()=>r("fr"),style:{padding:"0.4rem 0.75rem",borderRadius:"0.5rem",border:"none",background:"fr"===t?"#8B5CF6":"#e2e8f0",color:"fr"===t?"white":"#64748b",fontWeight:"600",cursor:"pointer",fontSize:"0.75rem"},children:"FR"})]}),(0,d.jsx)("div",{style:{textAlign:"center",marginBottom:"0.75rem"},children:(0,d.jsx)(o.N_,{to:"/",style:{textDecoration:"none"},children:(0,d.jsx)("span",{style:{fontSize:"1.5rem",fontWeight:"800",background:"linear-gradient(135deg, #8B5CF6, #7C3AED)",WebkitBackgroun
1dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"NeoAgora"})})}),(0,d.jsxs)("div",{style:{maxWidth:"900px",margin:"0 auto",background:"white",borderRadius:"1rem",padding:"1.5rem 2rem",boxShadow:"0 10px 40px rgba(0, 0, 0, 0.08)",width:"100%"},children:[(0,d.jsxs)("div",{style:{textAlign:"center",marginBottom:"1rem"},children:[(0,d.jsx)("h1",{style:{fontSize:"1.5rem",fontWeight:"700",color:"#1e293b",marginBottom:"0.25rem"},children:p.title}),(0,d.jsx)("p",{style:{color:"#64748b",fontSize:"0.9rem"},children:p.subtitle})]}),D>0&&(0,d.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,background:"rgba(0, 0, 0, 0.7)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:9999},children:(0,d.jsxs)("div",{style:{background:"white",borderRadius:"1rem",padding:"2rem",maxWidth:"400px",width:"90%",textAlign:"center",boxShadow:"0 20px 50px rgba(0, 0, 0, 0.3)"},children:[(0,d.jsx)("div",{style:{width:"60px",height:"60px",margin:"0 auto 1.5rem",border:"4px solid #e2e8f0",borderTop:"4px solid #8B5CF6",borderRadius:"50%",animation:"spin 1s linear infinite"}}),(0,d.jsx)("style",{children:"@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }"}),(0,d.jsx)("h3",{style:{fontSize:"1.25rem",fontWeight:"700",color:"#1e293b",marginBottom:"0.5rem"},children:"fr"===t?"Cr\xe9ation en cours...":"Creating Your Website..."}),(0,d.jsx)("p",{style:{fontSize:"0.9rem",color:"#64748b",marginBottom:"1.5rem"},children:"fr"===t?"Veuillez patienter, cela peut prendre jusqu'\xe0 une minute.":"Please wait, this may take up to a minute."}),(0,d.jsx)("div",{style:{textAlign:"left"},children:{en:["Creating your account...","Generating website content...","Building your pages...","Setting up your AI agent...","Finalizing everything..."],fr:["Cr\xe9ation de votre compte...","G\xe9n\xe9ration du contenu du site...","Construction de vos pages...","Configuration de votre agent IA...","Finalisation en cours..."]}[t].map((e,t)=>{const r=t+1,n=r===D,i=r<D;return(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.75rem",padding:"0.5rem 0",opacity:r>D?.4:1,transition:"opacity 0.3s ease"},children:[(0,d.jsx)("div",{style:{width:"24px",height:"24px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.75rem",fontWeight:"600",background:i?"#059669":n?"#8B5CF6":"#e2e8f0",color:i||n?"white":"#64748b",flexShrink:0},children:i?(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",children:(0,d.jsx)("polyline",{points:"20 6 9 17 4 12"})}):r}),(0,d.jsx)("span",{style:{fontSize:"0.85rem",color:n?"#1e293b":"#64748b",fontWeight:n?"600":"400"},children:e})]},t)})}),(0,d.jsx)("div",{style:{marginTop:"1rem"},children:(0,d.jsx)("div",{style:{width:"100%",height:"6px",background:"#e2e8f0",borderRadius:"3px",overflow:"hidden"},children:(0,d.jsx)("div",{style:{width:"".concat(D/5*100,"%"),height:"100%",background:"linear-gradient(90deg, #8B5CF6, #7C3AED)",borderRadius:"3px",transition:"width 0.5s ease"}})})})]})}),F&&(0,d.jsx)("div",{style:{background:"#fef2f2",border:"1px solid #fecaca",borderRadius:"0.75rem",padding:"1rem",marginBottom:"1.5rem",color:"#dc2626"},children:F}),(0,d.jsxs)("form",{onSubmit:async e=>{if(e.preventDefault(),R(""),!(()=>{const e={};return b.name.trim()||(e.name=p.requiredField),b.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(b.email)||(e.email=p.invalidEmail):e.email=p.requiredField,b.password?b.password.length<8&&(e.password=p.passwordTooShort):e.password=p.requiredField,b.websiteName.trim()||(e.websiteName=p.requiredField),b.category||(e.category=p.requiredField),b.subcategory||(e.subcategory=p.requiredField),b.targetAudiences.length<3&&(e.targetAudiences=p.targetAudienceMinError),b.description.trim()||(e.description=p.requiredField),b.acceptedLegal||(e.acceptedLegal=p.consentRequired),x(e),0===Object.keys(e).length})())return;C(!0),I(1),(0,c.vp)("email");const r=setInterval(()=>{I(e=>e>=5?(clearInterval(r),5):e+1)},8e3);try{var n;const e=(null===(n=E[b.category])||void 0===n?void 0:n.label)||b.category,o=b.subcategory||"",l=o?"".concat(e," - ").concat(o):e,d=b.targetAudiences.join(", "),u=await s.A.post("".concat(a.n,"/client/full-signup"),{name:b.name,email:b.email,password:b.password,website_name:b.websiteName,category:l,subcategory:o,target_audience:d,description:b.description,language:t,legal_consent:{accepted:!0,version:p.consentVersion,accepted_at:(new Date).toISOString(),documents:["terms","privacy","ai-disclosure"]}});if(clearInterval(r),u.data.success){var i;I(5);const e=u.data.client_id||(null===(i=u.data.client)||void 0===i?void 0:i.id);(0,c.ty)(e,{email:b.email,name:b.name,category:l,language:t}),(0,c.fi)({category:l,subcategory:o,language:t}),setTimeout(()=>S(!0),500)}}catch(d){var o,l;clearInterval(r);const e=(null===(o=d.response)||void 0===o||null===(l=o.data)||void 0===l?void 0:l.detail)||"Signup failed. Please try again.";R(e),I(0)}finally{C(!1)}},children:[(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"1.5rem",marginBottom:"1rem"},children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{style:{fontSize:"0.75rem",fontWeight:"600",color:"#8B5CF6",textTransform:"uppercase",letterSpacing:"0.05em",marginBottom:"0.75rem",paddingBottom:"0.5rem",borderBottom:"2px s
1olid #f1f5f9"},children:p.accountSection}),(0,d.jsxs)("div",{style:{display:"grid",gap:"0.75rem"},children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{style:{display:"block",fontSize:"0.8rem",fontWeight:"500",color:"#374151",marginBottom:"0.35rem"},children:[p.name," ",(0,d.jsx)("span",{style:{color:"#ef4444"},children:"*"})]}),(0,d.jsx)("input",{type:"text",name:"name",value:b.name,onChange:T,placeholder:p.namePlaceholder,style:{width:"100%",padding:"0.6rem 0.75rem",borderRadius:"0.5rem",border:"2px solid ".concat(y.name?"#fecaca":"#e2e8f0"),fontSize:"0.9rem",outline:"none",boxSizing:"border-box"},onFocus:e=>e.target.style.borderColor="#8B5CF6",onBlur:e=>e.target.style.borderColor=y.name?"#fecaca":"#e2e8f0"}),y.name&&(0,d.jsx)("span",{style:{color:"#ef4444",fontSize:"0.7rem"},children:y.name})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{style:{display:"block",fontSize:"0.8rem",fontWeight:"500",color:"#374151",marginBottom:"0.35rem"},children:[p.email," ",(0,d.jsx)("span",{style:{color:"#ef4444"},children:"*"})]}),(0,d.jsx)("input",{type:"email",name:"email",value:b.email,onChange:T,placeholder:p.emailPlaceholder,style:{width:"100%",padding:"0.6rem 0.75rem",borderRadius:"0.5rem",border:"2px solid ".concat(y.email?"#fecaca":"#e2e8f0"),fontSize:"0.9rem",outline:"none",boxSizing:"border-box"},onFocus:e=>e.target.style.borderColor="#8B5CF6",onBlur:e=>e.target.style.borderColor=y.email?"#fecaca":"#e2e8f0"}),y.email&&(0,d.jsx)("span",{style:{color:"#ef4444",fontSize:"0.7rem"},children:y.email})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{style:{display:"block",fontSize:"0.8rem",fontWeight:"500",color:"#374151",marginBottom:"0.35rem"},children:[p.password," ",(0,d.jsx)("span",{style:{color:"#ef4444"},children:"*"})]}),(0,d.jsx)("input",{type:"password",name:"password",value:b.password,onChange:T,placeholder:p.passwordPlaceholder,style:{width:"100%",padding:"0.6rem 0.75rem",borderRadius:"0.5rem",border:"2px solid ".concat(y.password?"#fecaca":"#e2e8f0"),fontSize:"0.9rem",outline:"none",boxSizing:"border-box"},onFocus:e=>e.target.style.borderColor="#8B5CF6",onBlur:e=>e.target.style.borderColor=y.password?"#fecaca":"#e2e8f0"}),y.password&&(0,d.jsx)("span",{style:{color:"#ef4444",fontSize:"0.7rem"},children:y.password})]})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{style:{fontSize:"0.75rem",fontWeight:"600",color:"#8B5CF6",textTransform:"uppercase",letterSpacing:"0.05em",marginBottom:"0.75rem",paddingBottom:"0.5rem",borderBottom:"2px solid #f1f5f9"},children:p.websiteSection}),(0,d.jsxs)("div",{style:{display:"grid",gap:"0.75rem"},children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{style:{display:"block",fontSize:"0.8rem",fontWeight:"500",color:"#374151",marginBottom:"0.35rem"},children:[p.websiteName," ",(0,d.jsx)("span",{style:{color:"#ef4444"},children:"*"})]}),(0,d.jsx)("input",{type:"text",name:"websiteName",value:b.websiteName,onChange:T,placeholder:p.websiteNamePlaceholder,style:{width:"100%",padding:"0.6rem 0.75rem",borderRadius:"0.5rem",border:"2px solid ".concat(y.websiteName?"#fecaca":"#e2e8f0"),fontSize:"0.9rem",outline:"none",boxSizing:"border-box"},onFocus:e=>e.target.style.borderColor="#8B5CF6",onBlur:e=>e.target.style.borderColor=y.websiteName?"#fecaca":"#e2e8f0"}),y.websiteName&&(0,d.jsx)("span",{style:{color:"#ef4444",fontSize:"0.7rem"},children:y.websiteName})]}),(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"0.75rem"},children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{style:{display:"block",fontSize:"0.8rem",fontWeight:"500",color:"#374151",marginBottom:"0.35rem"},children:[p.category," ",(0,d.jsx)("span",{style:{color:"#ef4444"},children:"*"})]}),(0,d.jsxs)("select",{name:"category",value:b.category,onChange:T,style:{width:"100%",padding:"0.6rem 0.5rem",borderRadius:"0.5rem",border:"2px solid ".concat(y.category?"#fecaca":"#e2e8f0"),fontSize:"0.85rem",outline:"none",background:"white",cursor:"pointer",boxSizing:"border-box"},onFocus:e=>e.target.style.borderColor="#8B5CF6",onBlur:e=>e.target.style.borderColor=y.category?"#fecaca":"#e2e8f0",children:[(0,d.jsx)("option",{value:"",children:p.categoryPlaceholder}),Object.entries(E).map(e=>{let[t,r]=e;return(0,d.jsx)("option",{value:t,children:r.label},t)})]}),y.category&&(0,d.jsx)("span",{style:{color:"#ef4444",fontSize:"0.7rem"},children:y.category})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{style:{display:"block",fontSize:"0.8rem",fontWeight:"500",color:"#374151",marginBottom:"0.35rem"},children:[p.subcategory," ",(0,d.jsx)("span",{style:{color:"#ef4444"},children:"*"})]}),(0,d.jsxs)("select",{name:"subcategory",value:b.subcategory,onChange:T,disabled:!b.category,style:{width:"100%",padding:"0.6rem 0.5rem",borderRadius:"0.5rem",border:"2px s
1olid ".concat(y.subcategory?"#fecaca":"#e2e8f0"),fontSize:"0.85rem",outline:"none",background:b.category?"white":"#f8fafc",cursor:b.category?"pointer":"not-allowed",boxSizing:"border-box",color:b.category?"#1e293b":"#9ca3af"},onFocus:e=>e.target.style.borderColor="#8B5CF6",onBlur:e=>e.target.style.borderColor=y.subcategory?"#fecaca":"#e2e8f0",children:[(0,d.jsx)("option",{value:"",children:p.subcategoryPlaceholder}),b.category&&(null===(e=E[b.category])||void 0===e?void 0:e.subcategories.map((e,t)=>(0,d.jsx)("option",{value:e,children:e},t)))]}),y.subcategory&&(0,d.jsx)("span",{style:{color:"#ef4444",fontSize:"0.7rem"},children:y.subcategory})]})]})]})]})]}),(0,d.jsxs)("div",{style:{marginBottom:"1rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"0.5rem"},children:[(0,d.jsxs)("label",{style:{fontSize:"0.8rem",fontWeight:"600",color:"#1e293b"},children:[p.targetAudience," ",(0,d.jsx)("span",{style:{color:"#ef4444"},children:"*"})]}),(0,d.jsxs)("span",{style:{fontSize:"0.7rem",fontWeight:"600",color:b.targetAudiences.length>=3?"#059669":"#8B5CF6",background:b.targetAudiences.length>=3?"#d1fae5":"#ede9fe",padding:"0.2rem 0.5rem",borderRadius:"1rem"},children:[b.targetAudiences.length,"/3 ","min"]})]}),(0,d.jsx)("p",{style:{fontSize:"0.7rem",color:"#64748b",margin:"0 0 0.5rem 0"},children:p.targetAudienceHint}),!b.subcategory&&(0,d.jsx)("div",{style:{padding:"1rem",background:"#f1f5f9",borderRadius:"0.5rem",textAlign:"center",color:"#64748b",fontSize:"0.75rem",border:"1px dashed #cbd5e1"},children:"fr"===t?"S\xe9lectionnez d'abord une cat\xe9gorie et sous-cat\xe9gorie":"Please select a category and sub-category first"}),b.subcategory&&(0,d.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"0.4rem",padding:"0.5rem",border:"2px solid ".concat(y.targetAudiences?"#fca5a5":"#e2e8f0"),borderRadius:"0.5rem",background:"#fafafa"},children:L.map((e,t)=>{const r=b.targetAudiences.includes(e);return(0,d.jsxs)("div",{onClick:()=>(e=>{f(t=>{const r=t.targetAudiences;return r.includes(e)?(0,n.A)((0,n.A)({},t),{},{targetAudiences:r.filter(t=>t!==e)}):r.length>=3?t:(0,n.A)((0,n.A)({},t),{},{targetAudiences:[...r,e]})}),y.targetAudiences&&x(e=>(0,n.A)((0,n.A)({},e),{},{targetAudiences:""}))})(e),style:{display:"flex",alignItems:"center",gap:"0.5rem",padding:"0.5rem 0.6rem",borderRadius:"0.4rem",cursor:"pointer",fontSize:"0.72rem",fontWeight:r?"500":"400",background:r?"linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%)":"white",color:r?"white":"#374151",border:r?"none":"1px solid #e2e8f0",boxShadow:r?"0 2px 4px rgba(139, 92, 246, 0.3)":"0 1px 2px rgba(0,0,0,0.04)",transition:"all 0.2s ease",userSelect:"none"},children:[(0,d.jsx)("div",{style:{width:"16px",height:"16px",borderRadius:"4px",border:r?"none":"2px solid #cbd5e1",background:r?"white":"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:r&&(0,d.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"#8B5CF6",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"20 6 9 17 4 12"})})}),(0,d.jsx)("span",{style:{lineHeight:"1.2"},children:e})]},t)})}),y.targetAudiences&&(0,d.jsx)("span",{style:{color:"#ef4444",fontSize:"0.7rem",marginTop:"0.25rem",display:"block"},children:y.targetAudiences})]}),(0,d.jsxs)("div",{style:{marginBottom:"1rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"0.35rem"},children:[(0,d.jsxs)("label",{style:{fontSize:"0.8rem",fontWeight:"500",color:"#374151"},children:[p.description," ",(0,d.jsx)("span",{style:{color:"#ef4444"},children:"*"})]}),(0,d.jsxs)("button",{type:"button",onClick:async()=>{if(b.websiteName&&b.category&&0!==b.targetAudiences.length){A(!0);try{var e;const r=(null===(e=E[b.category])||void 0===e?void 0:e.label)||b.category,i=b.subcategory||"",o=b.targetAudiences.join(", "),l=await s.A.post("".concat(a.n,"/ai/generate-business-description"),{website_name:b.websiteName,category:i?"".concat(r," - ").concat(i):r,target_audience:o,language:t});l.data.description&&f(e=>(0,n.A)((0,n.A)({},e),{},{description:l.data.description}))}catch(i){var r;console.error("Failed to generate description:",i);const e=(null===(r=E[b.category])||void 0===r?void 0:r.label)||b.category,o=b.targetAudiences.slice(0,2).join(" and "),s="fr"===t?"".concat(b.websiteName," est une entreprise sp\xe9cialis\xe9e dans ").concat(e.toLowerCase(),", offrant des services de qualit\xe9 \xe0 ").concat(o.toLowerCase(),"."):"".concat(b.websiteName," is a ").concat(e.toLowerCase()," business providing quality services to ").concat(o.toLowerCase(),".");f(e=>(0,n.A)((0,n.A)({},e),{},{description:s}))}finally{A(!1)}}},disabled:w||!b.websiteName||!b.category||0===b.targetAudiences.length,style:{display:"flex",alignItems:"center",gap:"0.25rem",padding:"0.3rem 0.6rem",background:w?"#e2e8f0":"linear-gradient(135deg, #8B5CF6, #7C3AED)",color:w?"#64748b":"white",border:"none",borderRadius:"0.4rem",fontSize:"0.7rem",fontWeight:"600",cursor:w?"not-allowed":"pointer",opacity:b.websiteName&&b.category&&0!==b.targetAudiences.length?1:.5},children:[(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"})}),w?p.generating:p.generateWithAI]})]}),(0,d.jsx)("textarea",{name:"description",value:b.description,onChange:T,placeholder:p.descriptionPlaceholder,rows:2,style:{width:"100%",padding:"0.6rem 0.75rem",borderRadius:"0.5rem",border:"2px s
1olid ".concat(y.description?"#fecaca":"#e2e8f0"),fontSize:"0.9rem",outline:"none",resize:"none",fontFamily:"inherit",boxSizing:"border-box"},onFocus:e=>e.target.style.borderColor="#8B5CF6",onBlur:e=>e.target.style.borderColor=y.description?"#fecaca":"#e2e8f0"}),y.description&&(0,d.jsx)("span",{style:{color:"#ef4444",fontSize:"0.7rem"},children:y.description})]}),(0,d.jsxs)("div",{style:{marginBottom:"1rem",padding:"0.75rem",background:"#f8fafc",borderRadius:"0.5rem",border:"1px solid ".concat(y.acceptedLegal?"#fca5a5":"#e2e8f0")},children:[(0,d.jsxs)("label",{style:{display:"flex",alignItems:"flex-start",gap:"0.5rem",cursor:"pointer",fontSize:"0.8rem",color:"#374151",lineHeight:"1.4"},children:[(0,d.jsx)("input",{type:"checkbox",checked:b.acceptedLegal,onChange:e=>{f(t=>(0,n.A)((0,n.A)({},t),{},{acceptedLegal:e.target.checked})),y.acceptedLegal&&x(e=>(0,n.A)((0,n.A)({},e),{},{acceptedLegal:""}))},style:{marginTop:"0.15rem",width:"16px",height:"16px",accentColor:"#8B5CF6",cursor:"pointer",flexShrink:0}}),(0,d.jsxs)("span",{children:[p.consentText," ",(0,d.jsx)("a",{href:"fr"===t?"/conditions":"/terms",target:"_blank",rel:"noopener noreferrer",style:{color:"#8B5CF6",textDecoration:"underline"},children:p.consentTerms}),p.consentAnd," ",(0,d.jsx)("a",{href:"fr"===t?"/confidentialite":"/privacy",target:"_blank",rel:"noopener noreferrer",style:{color:"#8B5CF6",textDecoration:"underline"},children:p.consentPrivacy}),p.consentAndAi," ",(0,d.jsx)("a",{href:"fr"===t?"/avis-ia":"/ai-disclosure",target:"_blank",rel:"noopener noreferrer",style:{color:"#8B5CF6",textDecoration:"underline"},children:p.consentAi}),". ",(0,d.jsx)("span",{style:{color:"#ef4444"},children:"*"})]})]}),y.acceptedLegal&&(0,d.jsx)("div",{style:{color:"#ef4444",fontSize:"0.7rem",marginTop:"0.35rem",marginLeft:"1.5rem"},children:y.acceptedLegal})]}),(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"1.5rem"},children:[(0,d.jsx)("button",{type:"submit",disabled:v,style:{padding:"0.6rem 1.25rem",background:v?"#e2e8f0":"linear-gradient(135deg, #8B5CF6, #7C3AED)",color:v?"#64748b":"white",border:"none",borderRadius:"0.5rem",fontSize:"0.85rem",fontWeight:"600",cursor:v?"not-allowed":"pointer",boxShadow:v?"none":"0 4px 12px rgba(139, 92, 246, 0.25)"},children:v?p.creating:p.createAccount}),(0,d.jsxs)("div",{style:{fontSize:"0.85rem"},children:[(0,d.jsxs)("span",{style:{color:"#64748b"},children:[p.alreadyHaveAccount," "]}),(0,d.jsx)(o.N_,{to:"/client/login",style:{color:"#8B5CF6",fontWeight:"600",textDecoration:"none"},children:p.signIn})]})]})]})]})]})}}}]);
2//# sourceMappingURL=8416.7d2e45fe.chunk.js.map

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.