PageSourceSearch

https://code-previewer--mikael49.replit.app/assets/NewCompany-DOh_tIh1.js

js code-previewer--mikael49.replit.app collected 2026-10-04 03:49:10 UTC 26,594 bytes, 1 lines download raw bytes

1import{u as q,r as x,j as e,L as U,B as S,d as B,v as J,w as Z,t as W}from"./index-VUr8YUys.js";import{L as X}from"./LegalDocPanel-BUi3fsll.js";import{H as K,F as L}from"./Footer-B82dd90X.js";import{i as Y}from"./emailValidation-B2AgUQfx.js";import{i as G}from"./phoneValidation-D0L5cjdh.js";import{l as Q}from"./cwenerji-CMWO4m2J.js";import"./altcha-l26OKFts.js";import{C as T}from"./check-9yoygiqT.js";import{S as $}from"./shield-DAVKeKW9.js";import{C as ee}from"./chevron-right-BdAQE9QD.js";import{L as te}from"./loader-circle-D1hAlXe7.js";import{A as y}from"./arrow-right-2_1ZkBOo.js";import{L as se}from"./linkedin-C8zk-pyc.js";import{U as ae}from"./users-BLjRN1Fc.js";import{Z as ne}from"./zap-t5AoIf0D.js";import"./logo-CJuMBHBg.js";import"./calendar-ygpmnkqp.js";import"./chevron-down-CQ3jWvUA.js";function re(t){return/^\d{10}$/.test(t.trim())}function le(t){const i=t.trim().replace(/\s+/g," "),l="A-Za-zÇĞİÖŞÜçğıöşü";return i.length>=2&&i.length<=100&&new RegExp(`[${l}]`).test(i)&&new RegExp(`^[${l}][${l}\\d .&'’()/-]*$`).test(i)}function ie(t){const i=t.trim();if(!/^\d{11}$/.test(i)||i[0]==="0")return!1;const l=i.split("").map(Number);return(((l[0]+l[2]+l[4]+l[6]+l[8])*7-(l[1]+l[3]+l[5]+l[7]))%10+10)%10!==l[9]?!1:(l[0]+l[1]+l[2]+l[3]+l[4]+l[5]+l[6]+l[7]+l[8]+l[9])%10===l[10]}const oe={accountName:"",address:"",taxOffice:"",vkn:"",firstName:"",lastName:"",birthday:"",tcKimlikNo:"",phoneNumber:"",email:"",kvkkConsent:!1,termsConsent:!1,commercialConsent:!1},p=t=>`w-full rounded-xl border ${t?"border-red-400 bg-red-50/30":"border-[#D9D9D9]"} bg-white px-4 py-3 text-[15px] text-[#3A3A3A] placeholder:text-[#3A3A3A]/35 focus:outline-none focus:ring-2 focus:ring-[#4059AD]/30 focus:border-[#4059AD] transition`,h="block text-[13px] font-semibold text-[#3A3A3A] mb-1.5",m="text-red-500 text-[12px] mt-1",ce=[{name:"Constantia",src:"/assets/stories/logos/constantia.png",className:"max-w-[100px] max-h-8",emphasis:!0},{name:"Saran Holding",src:"/assets/stories/logos/saran.png",className:"max-w-[100px] max-h-8"},{name:"Kardemir",src:"/assets/stories/logos/kardemir.png",className:"max-w-[100px] max-h-8"},{name:"YEO",src:"/assets/stories/logos/yeo.png",className:"max-w-[62px] max-h-9"},{name:"EvoLog",src:"/assets/stories/logos/evolog.png",className:"max-w-[100px] max-h-8"},{name:"Kumport",src:"/assets/stories/logos/kumport.png",className:"max-w-[100px] max-h-7"},{name:"Sleepy",src:"/assets/stories/logos/sleepy.png",className:"max-w-[52px] max-h-9"},{name:"CW Enerji",src:Q,className:"max-w-[100px] max-h-8"},{name:"Elkon",src:"/assets/stories/logos/elkon.png",className:"max-w-[100px] max-h-8"}];function De(){const{t}=q(),[i,l]=x.useState(0),[a,C]=x.useState(oe),[r,f]=x.useState({}
1),[v,_]=x.useState(!1),[k,g]=x.useState(""),[R,z]=x.useState(!1),[A,w]=x.useState(""),[b,N]=x.useState(null),D=x.useRef(null),F=x.useRef(null),V=x.useCallback(()=>N(null),[]),c=(s,n)=>{C(o=>({...o,[s]:n})),f(o=>({...o,[s]:""}))},M=s=>{s.split("-")[0].length>4||c("birthday",s)};x.useEffect(()=>{if(i!==2)return;const s=D.current;if(!s)return;w("");const n=document.createElement("altcha-widget");return n.setAttribute("challengeurl","/api/newcompany/captcha-challenge"),n.addEventListener("statechange",o=>{const d=o.detail;d?.state==="verified"?(w(d.payload),f(j=>({...j,captcha:""}))):w("")}),s.appendChild(n),()=>{s.innerHTML=""}},[i]);const E=s=>{const n={},o=t("newCompany.error_required");return s===0&&(a.accountName.trim()||(n.accountName=o),a.address.trim()||(n.address=o),a.taxOffice.trim()?le(a.taxOffice)||(n.taxOffice=t("newCompany.error_tax_office")):n.taxOffice=o,a.vkn.trim()?re(a.vkn)||(n.vkn=t("newCompany.error_vkn")):n.vkn=o),s===1&&(a.firstName.trim()||(n.firstName=o),a.lastName.trim()||(n.lastName=o),a.birthday||(n.birthday=o),a.tcKimlikNo.trim()?ie(a.tcKimlikNo)||(n.tcKimlikNo=t("newCompany.error_tc")):n.tcKimlikNo=o,a.phoneNumber.trim()?G(a.phoneNumber)||(n.phoneNumber=t("newCompany.error_phone")):n.phoneNumber=o,a.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(a.email)?Y(a.email)&&(n.email=t("newCompany.error_corporate_email")):n.email=t("newCompany.error_email"):n.email=o),s===2&&(a.kvkkConsent||(n.kvkkConsent=t("newCompany.error_kvkk")),a.termsConsent||(n.termsConsent=t("newCompany.error_terms")),A||(n.captcha=t("newCompany.error_captcha"))),n},P=()=>{const s=E(i);if(Object.keys(s).length){f(s);return}l(n=>n+1),setTimeout(()=>F.current?.scrollIntoView({behavior:"smooth",block:"start"}),50)},H=()=>{l(s=>s-1),f({})},I=async s=>{s.preventDefault();const n=E(2);if(Object.keys(n).length){f(n);return}_(!0),g("");try{const o=await fetch("/api/newcompany/apply",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({accountName:a.accountName.trim(),address:a.address.trim(),taxOffice:a.taxOffice.trim(),vkn:a.vkn.trim(),firstName:a.firstName.trim(),lastName:a.lastName.trim(),birthday:new Date(a.birthday).toISOString(),tcKimlikNo:a.tcKimlikNo.trim(),phoneNumber:a.phoneNumber.trim(),email:a.email.trim(),kvkkConsent:a.kvkkConsent,termsConsent:a.termsConsent,commercialConsent:a.commercialConsent,captchaToken:A,campaignAttribution:Z(window.location.search),sessionId:J()})}),d=await o.json().catch(()=>({}));if(!o.ok){if(d.error==="invalid_fields"&&(d.field==="vkn"||d.field==="taxOffice")){f(u=>({...u,[d.field]:d.field==="vkn"?t("newCompany.error_vkn"):t("newCompany.error_tax_office")})),l(0),window.scrollTo({top:0,behavior:"smooth"});return}if(d.error==="vkn_not_registered"){f(u=>({...u,vkn:t("newCompany.error_vkn_not_registered")})),l(0),window.scrollTo({top:0,behavior:"smooth"});return}if(d.error==="company_mismatch"){f(u=>({...u,accountName:t("newCompany.error_company_mismatch")})),l(0),window.scrollTo({top:0,behavior:"smooth"});return}if(d.error==="tax_office_mismatch"){f(u=>({...u,taxOffice:t("newCompany.error_tax_office_mismatch")})),l(0),window.scrollTo({top:0,behavior:"smooth"});return}const j={captcha_failed:t("newCompany.error_captcha_failed"),rate_limited:t("newCompany.error_rate_limited"),kvkk_required:t("newCompany.error_kvkk"),terms_required:t("newCompany.error_terms"),gib_unavailable:t("newCompany.error_gib_unavailable")};g(j[d.error]||t("newCompany.error_submit"));return}z(!0),W("form_success",{element:"hizli_hesap_ac"})}catch{g(t("newCompany.error_submit"))}finally{_(!1)}};if(R)return e.jsxs("div",{className:"min-h-screen bg-[#F7F8FC] flex flex-col",children:[e.jsx(K,{}),e.jsx("main",{className:"flex-1 flex items-center justify-center px-5 pt-52 pb-16 sm:pt-52",children:e.jsxs("div",{className:"w-full max-w-lg bg-white rounded-2xl border border-[#D9D9D9]/60 shadow-sm p-8 sm:p-12 text-center",children:[e.jsx("div",{className:"w-14 h-14 rounded-full bg-green-100 flex items-center justify-center mx-auto mb-6",children:e.jsx(T,{className:"w-7 h-7 text-green-600"})}),e.jsx("h1",{className:"text-2xl sm:text-3xl font-black text-[#1a1a2e] mb-4",children:t("newCompany.success_title")}),e.jsx("p",{className:"text-[#3A3A3A]/65 leading-relaxed mb-8",children:t("newCompany.success_body")}),e.jsx(U,{href:S("/"),className:"inline-flex items-center gap-2 px-8 py-3.5 bg-[#4059AD] hover:bg-[#2A3E85] text-white font-bold rounded-full transition-all",children:t("newCompany.home_button")})]})}),e.jsx(L,{})]});const O=[t("newCompany.step_company"),t("newCompany.step_person"),t("newCompany.step_documents")];return e.jsxs("div",{className:"min-h-screen bg-[#F7F8FC] flex flex-col",children:[e.jsx(X,{doc:b,onClose:V,consentChecked:b==="clarification"?a.kvkkConsent:a.termsConsent,onConsentChange:s=>{b==="clarification"&&c("kvkkConsent",s),b==="terms"&&c("termsConsent",s)},consentLabel:t(b==="clarification"?"newCompany.consent_kvkk":"newCompany.consent_terms"),consentTestId:b==="clarification"?"field-kvkkConsent":"field-termsConsent"}),e.jsx(K,{}),e.jsxs("main",{className:"flex-1",children:[e.jsx("section",{className:"pt-52 pb-16 px-5 sm:px-8",children:e.jsx("div",{className:"max-w-7xl mx-auto",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 lg:gap-16 items-start",children:[e.jsxs("div",{className:"space-y-8",children:[e.jsx("div",{children:e.jsxs("h1",{className:"text-3xl sm:text-4xl lg:text-[44px] font-black text-[#1a1a2e] leading-[1.1] mb-5",children:[t("newCompany.hero_line_1"),e.jsx("br",{}),e.jsx("span",{className:"text-[#4059AD]",children:t("newCompany.hero_line_2")}),e.jsx("br",{}),t("newCompany.hero_line_3")]})}),e.jsx("div",{className:"relative overflow-hidden rounded-[2rem] bg-[#EEF2FF] border border-[#D9E0FA] p-
17 sm:p-9","data-testid":"company-trust-section",children:e.jsxs("div",{className:"relative",children:[e.jsx("p",{className:"text-[11px] font-bold uppercase tracking-[0.16em] text-[#4059AD]",children:t("newCompany.trust_badge")}),e.jsx("h2",{className:"mt-4 max-w-lg text-2xl sm:text-[28px] font-black leading-tight text-[#1a1a2e]",children:t("newCompany.trust_title")}),e.jsx("div",{className:"mt-5 max-w-lg text-sm leading-relaxed text-[#3A3A3A]/65",children:e.jsx("p",{children:t("newCompany.trust_description")})}),e.jsx("p",{className:"mt-7 text-sm font-bold text-[#1a1a2e]",children:t("newCompany.trust_value")}),e.jsxs("div",{className:"mt-7 flex items-center gap-3",children:[e.jsx("img",{src:"/attached_assets/T06E5UEPX4M-U09JSR2EEJH-1078354c1f7b-192_1788158265691.jpg",alt:t("newCompany.expert_image_alt"),className:"h-14 w-14 shrink-0 rounded-full object-cover object-top"}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-[11px] font-bold uppercase tracking-[0.12em] text-[#4059AD]",children:t("newCompany.expert_label")}),e.jsx("p",{className:"mt-1 text-xs leading-relaxed text-[#3A3A3A]/65",children:t("newCompany.expert_description")})]})]}),e.jsxs("div",{className:"mt-8 border-t border-[#4059AD]/15 pt-6",children:[e.jsx("p",{className:"text-[11px] font-bold uppercase tracking-[0.12em] text-[#4059AD]/70",children:t("newCompany.customers_label")}),e.jsx("div",{className:"mt-4 grid grid-cols-3 gap-x-3 gap-y-4",children:ce.map(s=>e.jsx("div",{className:"flex h-12 items-center justify-center px-1",children:e.jsx("img",{src:s.src,alt:s.name,className:`h-auto w-auto object-contain grayscale ${s.emphasis?"opacity-100":"opacity-70"} ${s.className}`})},s.name))})]})]})})]}),e.jsx("div",{ref:F,children:e.jsxs("div",{className:"bg-white rounded-2xl border border-[#D9D9D9]/60 shadow-sm overflow-hidden","data-testid":"hizli-hesap-form",children:[e.jsx("div",{className:"border-b border-[#D9D9D9]/60 px-6 py-5",children:e.jsx("div",{className:"flex items-center gap-0",children:O.map((s,n)=>e.jsxs(B.Fragment,{children:[e.jsxs("div",{className:"flex items-center gap-2 flex-shrink-0",children:[e.jsx("div",{className:`w-7 h-7 rounded-full flex items-center justify-center text-xs font-bold transition-all ${n<i?"bg-green-500 text-white":n===i?"bg-[#4059AD] text-white":"bg-[#F0F0F0] text-[#3A3A3A]/40"}`,children:n<i?e.jsx(T,{className:"w-3.5 h-3.5"}):n+1}),e.jsx("span",{className:`text-[11px] font-semibold hidden sm:block ${n===i?"text-[#4059AD]":n<i?"text-green-600":"text-[#3A3A3A]/40"}`,children:s})]}),n<O.length-1&&e.jsx("div",{className:`flex-1 h-px mx-2 ${n<i?"bg-green-400":"bg-[#D9D9D9]"}`})]},n))})}),e.jsxs("form",{onSubmit:I,className:"p-6 sm:p-8",noValidate:!0,children:[i===0&&e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"mb-2",children:[e.jsx("h3",{className:"text-lg font-black text-[#1a1a2e]",children:t("newCompany.step_company")}),e.jsx("p",{className:"text-[#3A3A3A]/55 text-sm mt-1",children:t("newCompany.company_description")})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"f-accountName",className:h,children:[t("newCompany.field_accountName")," *"]}),e.jsx("input",{id:"f-accountName","data-testid":"field-accountName",className:p(!!r.accountName),value:a.accountName,onChange:s=>c("accountName",s.target.value),autoComplete:"organization",placeholder:t("newCompany.company_name_placeholder")}),r.accountName&&e.jsx("p",{className:m,role:"alert",children:r.accountName})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"f-address",className:h,children:[t("newCompany.field_address")," *"]}),e.jsx("textarea",{id:"f-address","data-testid":"field-address",rows:2,className:p(!!r.address),value:a.address,onChange:s=>c("address",s.target.value),placeholder:t("newCompany.address_placeholder")}),r.address&&e.jsx("p",{className:m,role:"alert",children:r.address})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"f-taxOffice",className:h,children:[t("newCompany.field_tax_office")," *"]}),e.jsx("input",{id:"f-taxOffice","data-testid":"field-taxOffice",className:p(!!r.taxOffice),value:a.taxOffice,onChange:s=>c("taxOffice",s.target.value),placeholder:t("newCompany.tax_office_placeholder")}),r.taxOffice&&e.jsx("p",{className:m,role:"alert",children:r.taxOffice})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"f-vkn",className:h,children:[t("newCompany.field_vkn")," *"]}),e.jsx("input",{id:"f-vkn","data-testid":"field-vkn",className:p(!!r.vkn),value:a.vkn,onChange:s=>c("vkn",s.target.value.replace(/\D/g,"")),inputMode:"numeric",maxLength:10,placeholder:t("newCompany.vkn_placeholder")}),r.vkn&&e.jsx("p",{className:m,role:"alert",children:r.vkn})]})]}),i===1&&e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"mb-2",children:[e.jsx("h3",{className:"text-lg font-black text-[#1a1a2e]",children:t("newCompany.step_person")}),e.jsx("p",{className:"text-[#3A3A3A]/55 text-sm mt-1",children:t("newCompany.person_description")})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"f-firstName",className:h,children:[t("newCompany.field_firstName")," *"]}),e.jsx("input",{id:"f-firstName","data-testid":"field-firstName",className:p(!!r.firstName),value:a.firstName,onChange:s=>c("firstName",s.target.value),autoComplete:"given-name",placeholder:t("newCompany.first_name_placeholder")}),r.firstName&&e.jsx("p",{className:m,role:"alert",children:r.firstName})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"f-lastName",className:h,children:[t("newCompany.field_lastName")," *"]}),e.jsx("input",{id:"f-lastName","data-testid":"field-lastName",className:p(!!r.lastName),value:a.lastName,onChange:s=>c("lastName",s.target.value),autoComplete:"family-name",placeholder:t("newCompany.last_name_placeholder")}),r.lastName&&e.jsx("p",{className:m,role:"alert",children:r.lastName})]})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"f-birthday",className:h,children:[t("newCompany.field_birthday")," *"]}),e.jsx("input",{id:"f-birthday",type:"date","data-testid":"field-birthday",className:p(!!r.birthday),value:a.birthday,onChange:s=>M(s.target.value),maxLength:10}),r.birthday&&e.jsx("p",{className:m,role:"alert",children:r.birthday})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"f-tcKimlikNo",className:h,children:[t("newCompany.field_tc")," *"]}),e.jsx("input",{id:"f-tcKimlikNo","data-testid":"field-tcKimlikNo",className:p(!!r.tcKimlikNo),value:a.tcKimlikNo,onChange:s=>c("tcKimlikNo",s.target.value.replace(/\D/g,"")),inputMode:"numeric",maxLength:11,placeholder:t("newCompany.tc_placeholder"),autoComplete:"off"}),r.tcKimlikNo&&e.jsx("p",{className:m,role:"alert",children:r.tcKimlikNo})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"f-phoneNumber",className:h,children:[t("newCompany.field_phone")," *"]}),e.jsx("input",{id:"f-phoneNumber",type:"tel","data-testid":"field-
1phoneNumber",className:p(!!r.phoneNumber),value:a.phoneNumber,onChange:s=>c("phoneNumber",s.target.value),autoComplete:"tel",placeholder:t("newCompany.phone_placeholder")}),e.jsx("p",{className:"text-[12px] text-[#3A3A3A]/45 mt-1",children:t("newCompany.phone_hint")}),r.phoneNumber&&e.jsx("p",{className:m,role:"alert",children:r.phoneNumber})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"f-email",className:h,children:[t("newCompany.field_email")," *"]}),e.jsx("input",{id:"f-email",type:"email","data-testid":"field-email",className:p(!!r.email),value:a.email,onChange:s=>c("email",s.target.value),autoComplete:"email",placeholder:t("newCompany.email_placeholder")}),r.email&&e.jsx("p",{className:m,role:"alert",children:r.email})]})]}),i===2&&e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"mb-2",children:[e.jsx("h3",{className:"text-lg font-black text-[#1a1a2e]",children:t("newCompany.step_documents")}),e.jsx("p",{className:"text-[#3A3A3A]/55 text-sm mt-1",children:t("newCompany.documents_description")})]}),e.jsxs("div",{className:"rounded-xl border border-[#D9D9D9]/70 bg-[#F7F8FC] p-4 space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2 flex-wrap",children:[e.jsx("p",{className:"text-[12px] font-semibold text-[#3A3A3A]/50 uppercase tracking-wide",children:t("newCompany.kvkk_title")}),e.jsxs("button",{type:"button",onClick:()=>N("clarification"),className:"text-[12px] text-[#4059AD] hover:underline font-semibold flex items-center gap-1","data-testid":"link-aydinlatma-metni",children:[a.kvkkConsent?t("newCompany.edit_consent"):t("newCompany.open_and_consent")," →"]})]}),a.kvkkConsent&&e.jsx("p",{className:"text-[12px] font-semibold text-green-600",children:t("newCompany.consent_confirmed")}),r.kvkkConsent&&e.jsx("p",{className:m,role:"alert",children:r.kvkkConsent})]}),e.jsxs("div",{className:"rounded-xl border border-[#D9D9D9]/70 bg-[#F7F8FC] p-4 space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2 flex-wrap",children:[e.jsx("p",{className:"text-[12px] font-semibold text-[#3A3A3A]/50 uppercase tracking-wide",children:t("newCompany.terms_title")}),e.jsxs("button",{type:"button",onClick:()=>N("terms"),className:"text-[12px] text-[#4059AD] hover:underline font-semibold flex items-center gap-1","data-testid":"link-kullanim-sozlesmesi",children:[a.termsConsent?t("newCompany.edit_consent"):t("newCompany.open_and_consent_terms")," →"]})]}),a.termsConsent&&e.jsx("p",{className:"text-[12px] font-semibold text-green-600",children:t("newCompany.consent_confirmed")}),r.termsConsent&&e.jsx("p",{className:m,role:"alert",children:r.termsConsent})]}),e.jsx("div",{className:"rounded-xl border border-[#D9D9D9]/70 bg-[#F7F8FC] p-4",children:e.jsxs("label",{htmlFor:"f-commercialConsent",className:"flex items-start gap-3 cursor-pointer",children:[e.jsx("input",{id:"f-commercialConsent",type:"checkbox","data-testid":"field-commercialConsent",checked:a.commercialConsent,onChange:s=>c("commercialConsent",s.target.checked),className:"mt-0.5 w-4 h-4 rounded accent-[#4059AD] flex-shrink-0"}),e.jsxs("span",{className:"text-[13px] text-[#3A3A3A]/75 leading-relaxed",children:[t("newCompany.commercial_consent")," ",e.jsxs("span",{className:"text-[#3A3A3A]/45",children:["(",t("newCompany.optional"),")"]})]})]})}),e.jsxs("div",{className:"flex flex-col items-start gap-1",children:[e.jsx("div",{ref:D}),r.captcha&&e.jsx("p",{className:m,role:"alert",children:r.captcha})]}),e.jsxs("div",{className:"rounded-xl bg-[#4059AD]/5 border border-[#4059AD]/15 px-4 py-3 flex gap-2.5",children:[e.jsx($,{className:"w-5 h-5 text-[#4059AD] flex-shrink-0 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[13px] font-semibold text-[#1a1a2e]",children:t("newCompany.safe_title")}),e.jsx("p",{className:"text-[12px] text-[#3A3A3A]/60 mt-0.5",children:t("newCompany.safe_description")})]})]}),k&&e.jsx("div",{className:"rounded-xl bg-red-50 border border-red-200 px-4 py-3 text-[13px] text-red-700",children:k})]}),e.jsxs("div",{className:`mt-6 flex ${i>0?"justify-between":"justify-end"}`,children:[i>0&&e.jsxs("button",{type:"button",onClick:H,className:"px-6 py-3 rounded-full border border-[#D9D9D9] text-[#3A3A3A]/70 font-semibold text-sm hover:border-[#4059AD]/60 hover:text-[#4059AD] transition-all","data-testid":"button-back",children:["← ",t("newCompany.back")]}),i<2?e.jsxs("button",{type:"button",onClick:P,className:"px-8 py-3 rounded-full bg-[#4059AD] hover:bg-[#2A3E85] text-white font-bold text-sm transition-all flex items-center gap-2 shadow-md shadow-[#4059AD]/20","data-testid":"button-next",children:[t("newCompany.next")," ",e.jsx(ee,{className:"w-4 h-4"})]}):e.jsxs("button",{type:"submit",disabled:v,className:"px-8 py-3 rounded-full bg-[#4059AD] hover:bg-[#2A3E85] disabled:opacity-60 text-white font-bold text-sm transition-all flex items-center gap-2 shadow-md shadow-[#4059AD]/20","data-testid":"button-submit",children:[v&&e.jsx(te,{className:"w-4 h-4 animate-spin"}),t("newCompany.submit_application")," ",e.jsx(y,{className:"w-4 h-4"})]})]})]}),e.jsx("div",{className:"border-t border-[#D9D9D9]/60 px-6 py-4 bg-[#F7F8FC]/50",children:e.jsx("p",{className:"text-[11px] text-[#3A3A3A]/45 text-center leading-relaxed",children:t("newCompany.form_footer")})})]})})]})})}),e.jsx("section",{className:"py-16 sm:py-20 bg-white border-t border-[#D9D9D9]/40",children:e.jsxs("div",{className:"max-w-5xl mx-auto px-5 sm:px-8",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl font-black text-[#1a1a2e] text-center mb-12",children:t("newCompany.process_title")}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6",children:[{n:"01",title:t("newCompany.process_1_title"),desc:t("newCompany.process_1_description")},{n:"02",title:t("newCompany.process_2_title"),desc:t("newCompany.process_2_description")},{n:"03",title:t("newCompany.process_3_title"),desc:t("newCompany.process_3_description")},{n:"04",title:t("newCompany.process_4_title"),desc:t("newCompany.process_4_description")}].map((s,n)=>e.jsxs("div",{className:"relative",children:[e.jsxs("div",{className:"bg-[#F7F8FE] rounded-2xl p-6 h-full border border-[#D9D9D9]/40",children:[e.jsx("div",{className:"text-3xl font-black text-[#4059AD]/20 mb-3",children:s.n}),e.jsx("h3",{className:"font-bold text-[#1a1a2e] text-sm mb-2 leading-snug",children:s.title}),e.jsx("p",{className:"text-[#3A3A3A]/55 text-[13px] leading-relaxed",children:s.desc})]}),n<3&&e.jsx("div",{className:"hidden lg:block absolute top-1/2 -right-3 z-10 text-[#D9D9D9]",children:e.jsx(y,{className:"w-6 h-6"})})]},n))})]})}),e.jsx("section",{className:"py-12 sm:py-16 px-5 sm:px-8 bg-[#F7F8FC]",children:e.jsx("div",{className:"max-w-5xl mx-auto",children:e.jsx("div",{className:"overflow-hidden rounded-[2rem] border border-[#DDE3F1] bg-white shadow-[0_18px_50px_-32px_rgba(31,50,120,0.4)]",children:e.jsxs("div",{className:"grid md:grid-cols-[minmax(0,1fr)_300px]",children:[e.jsxs("div",{className:"p-8 sm:p-12 md:p-14",children:[e.jsx("p",{className:"text-[11px] font-bold uppercase tracking-[0.18em] text-[#4059AD]",children:t("newCompany.account_manager_label")}),e.jsx("h2",{className:"mt-4 max-w-2xl text-2xl font-black leading-tight tracking-tight text-[#1A1A2E] sm:text-3xl",children:t("newCompany.account_manager_title")}),e.jsxs("div",{className:"mt-5 max-w-2xl space-y-3 text-sm leading-relaxed text-[#3A3A3A]/70 sm:text-base",children:[e.jsx("p",{children:t("newCompany.account_manager_description")}),e.jsx("p",{children:t("newCompany.account_manager_followup")})]})]}),e.jsxs("div",{className:"flex flex-col justify-between bg-[#1F3278] p-7 text-white sm:p-8",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] font-bold uppercase tracking-[0.18em] text-white/55",children:t("newCompany.advisor_card_label")}),e.jsxs("div",{className:"mt-5 flex items-center gap-4",children:[e.jsx("div",{className:"h-24 w-24 shrink-0 overflow-hidden rounded-2xl bg-[#E9EEFA]",children:e.jsx("img",{src:"/attached_assets/dilan-profile-close.png",alt:t("newCompany.advisor_image_alt"),className:"h-full w-full object-cover object-top"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-bold tracking-wide",children:"Dilan AK"}),e.jsx("p",{className:"mt-1 text-xs text-white/60",children:t("newCompany.account_manager_role")})]})]})]}),e.jsxs("a",{href:"https://www.linkedin.com/in/dilansari",target:"_blank",rel:"noopener noreferrer","aria-label":`Dilan AK — ${t("newCompany.linkedin_button")}
1`,className:"mt-8 inline-flex items-center justify-center gap-2 rounded-full border border-white/25 px-4 py-2.5 text-xs font-semibold text-white transition-colors hover:bg-white hover:text-[#1F3278]",children:[e.jsx(se,{className:"h-3.5 w-3.5","aria-hidden":"true"}),t("newCompany.linkedin_button")]})]})]})})})}),e.jsx("section",{className:"pt-14 pb-8 sm:pt-16 sm:pb-10 px-5 sm:px-8 bg-white border-t border-[#D9D9D9]/40",children:e.jsxs("div",{className:"max-w-2xl mx-auto text-center",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl font-black text-[#1a1a2e] mb-4",children:t("newCompany.demo_title")}),e.jsx("p",{className:"text-[#3A3A3A]/60 text-base leading-relaxed mb-8",children:t("newCompany.demo_description")}),e.jsxs("a",{href:S("/#v2-form"),className:"inline-flex items-center gap-2 px-8 py-3.5 rounded-full border-2 border-[#4059AD] text-[#4059AD] font-bold hover:bg-[#4059AD] hover:text-white transition-all","data-testid":"button-demo-cta",children:[t("newCompany.demo_button")," ",e.jsx(y,{className:"w-4 h-4"})]})]})}),e.jsx("section",{className:"py-4 sm:py-5 px-5 sm:px-8 bg-white border-t border-[#D9D9D9]/30",children:e.jsx("div",{className:"max-w-2xl mx-auto",children:e.jsxs("p",{className:"text-[13px] text-[#3A3A3A]/55 leading-relaxed text-center",children:[t("newCompany.legal_info")," ",e.jsx("button",{type:"button",onClick:()=>N("clarification"),className:"text-[#4059AD] hover:underline font-semibold","data-testid":"link-aydinlatma-metni-bottom",children:t("newCompany.kvkk_short")})," ","·"," ",e.jsx("button",{type:"button",onClick:()=>N("terms"),className:"text-[#4059AD] hover:underline font-semibold",children:t("newCompany.terms_short")})]})})}),e.jsx("section",{className:"py-12 sm:py-16 px-5 sm:px-8 bg-[#F7F8FC] border-t border-[#D9D9D9]/40",children:e.jsx("div",{className:"max-w-5xl mx-auto grid grid-cols-1 sm:grid-cols-3 gap-6",children:[{icon:$,title:t("newCompany.badge_secure_title"),desc:t("newCompany.badge_secure_description")},{icon:ae,title:t("newCompany.badge_support_title"),desc:t("newCompany.badge_support_description")},{icon:ne,title:t("newCompany.badge_solution_title"),desc:t("newCompany.badge_solution_description")}].map((s,n)=>e.jsxs("div",{className:"bg-white rounded-2xl border border-[#D9D9D9]/60 shadow-sm p-6",children:[e.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#4059AD]/8 flex items-center justify-center mb-4",children:e.jsx(s.icon,{className:"w-5 h-5 text-[#4059AD]",strokeWidth:1.75})}),e.jsx("h3",{className:"font-bold text-[#1a1a2e] mb-2",children:s.title}),e.jsx("p",{className:"text-[#3A3A3A]/60 text-[13px] leading-relaxed",children:s.desc})]},n))})})]}),e.jsx(L,{})]})}export{De as default};

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.