PageSourceSearch

https://terrafunded.com/assets/FAQ-X8sdq5i-.js

js terrafunded.com collected 2026-10-05 23:01:53 UTC 4,982 bytes, 1 lines download raw bytes

1import{j as a}from"./query-vendor-DYY6GVNB.js";import{S as m,H as x,F as q}from"./index-BuoCNTHT.js";import{r as f,L as l}from"./react-vendor-nrvd3ntZ.js";import{u as c}from"./i18n-vendor-DXVYSRAW.js";import{B as p}from"./BreadcrumbsJsonLd-dO5FRmVm.js";import{A as u,a as h,b as g,c as b}from"./accordion-DTC0CZzs.js";import{r as w,s as j}from"./icons-vendor-B8vviyZF.js";import"./supabase-vendor-C5xCEaJj.js";import"./index-BbFzfkI7.js";import"./index-Cqb0Mja9.js";const y=({locale:e})=>{const{t}=c();return f.useEffect(()=>{const n=Array.from({length:20},(o,d)=>{const i=d+1;return{"@type":"Question",name:t(`faq.q${i}`),acceptedAnswer:{"@type":"Answer",text:t(`faq.a${i}`)}}}),r={"@context":"https://schema.org","@type":"FAQPage",inLanguage:e==="es"?"es-US":"en-US",speakable:{"@type":"SpeakableSpecification",cssSelector:["[data-speakable-question]","[data-speakable-answer]"]},mainEntity:n},s=document.createElement("script");return s.type="application/ld+json",s.setAttribute("data-faq-jsonld",e),s.text=JSON.stringify(r),document.head.appendChild(s),()=>{s.parentNode?.removeChild(s)}},[e,t]),null},C=()=>{const{t:e,i18n:t}=c(),n=t.language==="es"?"/es":"",r=[{question:e("faq.q1"),answer:e("faq.a1")},{question:e("faq.q2"),answer:e("faq.a2")},{question:e("faq.q3"),answer:e("faq.a3")},{question:e("faq.q4"),answer:e("faq.a4")},{question:e("faq.q5"),answer:e("faq.a5")},{question:e("faq.q6"),answer:e("faq.a6")},{question:e("faq.q7"),answer:e("faq.a7")},{question:e("faq.q8"),answer:e("faq.a8")},{question:e("faq.q9"),answer:e("faq.a9")},{question:e("faq.q10"),answer:e("faq.a10")},{question:e("faq.q11"),answer:e("faq.a11")},{question:e("faq.q12"),answer:e("faq.a12")},{question:e("faq.q13"),answer:e("faq.a13")},{question:e("faq.q14"),answer:e("faq.a14")},{question:e("faq.q15"),answer:e("faq.a15")},{question:e("faq.q16"),answer:e("faq.a16")},{question:e("faq.q17"),answer:e("faq.a17")},{question:e("faq.q18"),answer:e("faq.a18")},{question:e("faq.q19"),answer:e("faq.a19")},{question:e("faq.q20"),answer:e("faq.a20")}];return a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsx(m,{title:e("faq.title"),description:e("faq.intro")}),a.jsx(y,{locale:t.language==="es"?"es":"en"}),a.jsx(p,{items:[{name:e("breadcrumb.home"),url:`https://terrafunded.com${n}/`},{name:e("faq.title"),url:`https://terrafunded.com${n}/faq`}]}),a.jsx(x,{}),a.jsx("section",{className:"bg-accent py-8 sm:py-12 md:py-16",children:a.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 text-center",children:a.jsx("h1",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-white mb-0 tracking-tight",children:e("faq.title")})})}),a.jsx("section",{className:"py-6 sm:py-8 md:py-12 bg-background",children:a.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 text-center",children:a.jsx("p",{className:"text-xl text-foreground max-w-3xl mx-auto leading-relaxed",children:e("faq.intro")})})}),a.jsx("section",{className:"pb-8 sm:pb-12 md:pb-16",children:a.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6",children:a.jsx(u,{type:"single",collapsible:!0,className:"space-y-4",children:r.map((s,o)=>a.jsxs(h,{value:`item-${o}`,className:"border-0 bg-card rounded-xl shadow-md hover:shadow-lg transition-all duration-300 overflow-hidden group",children:[a.jsx(g,{className:"text-left text-lg font-semibold text-primary hover:no-underline px-6 py-5 hover:bg-muted/40 transition-colors duration-200 [&[data-state=open]]:bg-muted/20 group-hover:bg-muted/30 [&>svg]:hidden",children:a.jsxs("div",{className:"flex items-center justify-between w-full",children:[a.jsx("span",{className:"pr-4","data-speakable-question":!0,children:s.question}),a.jsxs("div",{className:"text-accent transition-transform duration-200 flex-shrink-0 group-data-[state=open]:rotate-180",children:[a.jsx(w,{className:"h-5 w-5 group-data-[state=open]:hidden"}),a.jsx(j,{className:"h-5 w-5 hidden group-data-[state=open]:block"})]})]})}),a.jsx(b,{className:"text-foreground/90 leading-relaxed px-6 pb-6 bg-green-light/30",children:a.jsx("div",{className:"pt-4 border-t border-border/30","data-speakable-answer":!0,children:s.answer})})]},o))})})}),a.jsx("section",{className:"py-8 sm:py-12 md:py-16 bg-green-light/50",children:a.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 text-center",children:[a.jsx("h3",{className:"text-2xl sm:text-3xl font-bold text-primary mb-4",children:e("faq.still_questions")}
1),a.jsx("p",{className:"text-foreground/80 mb-8 text-lg max-w-2xl mx-auto",children:e("faq.contact_desc")}),a.jsx(l,{to:`${n}/contact`,className:"inline-flex items-center px-8 py-4 bg-accent text-white font-bold rounded-lg hover:bg-accent/90 transition-colors shadow-md hover:shadow-lg text-lg",children:e("faq.contact_us")}),a.jsx("p",{className:"mt-8 text-base",children:a.jsxs(l,{to:`${n}/glossary`,className:"text-primary hover:text-accent underline underline-offset-2 font-medium",children:[e("glossary.cta_title")," ",e("glossary.cta_link")]})})]})}),a.jsx(q,{})]})};export{C 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.