1import{r as g,j as e,$ as N,Y as h}from"./app-Ce8cAmW-.js";import{B as r}from"./button-Ci02fqBP.js";import{C as v,a as w}from"./card-BX0hYp-V.js";import{M as A,F as u}from"./main-layout-C-X_DRHS.js";import{C as F}from"./circle-check-big-C7TBtmx5.js";import{c as y}from"./primary-button-hvRD1VpQ.js";/* empty css */import"./index-skiHflQy.js";import"./index-BLDRET_f.js";/** 2 * @license lucide-react v0.475.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const D=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],k=y("Copy",D);function V({title:s="Obrigado!",description:f="A sua candidatura foi recebida.",total_amount:t=0,application:a,has_multi_council:b}){var i,l,c,m,x;const[j,o]=g.useState(!1),d="PT50 0007 0000 0084 1945 9362 3",n=(x=(m=(c=(l=(i=a==null?void 0:a.order_items)==null?void 0:i[0])==null?void 0:l.order)==null?void 0:c.moloni_data)==null?void 0:m.proforma)==null?void 0:x.document_link,p=()=>{navigator.clipboard.writeText(d.replace(/\s/g,"")),o(!0),setTimeout(()=>o(!1),2e3)};return e.jsxs(A,{title:s,description:f,keywords:"candidatura, monumento, obrigado, avaliação",children:[e.jsx(N,{title:s}),e.jsx("div",{className:"bg-background min-h-screen",children:e.jsx("section",{className:"py-24",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"mx-auto max-w-4xl",children:[e.jsxs("div",{className:"mb-12 text-center",children:[e.jsx("div",{className:"mb-6 inline-flex h-20 w-20 items-center justify-center rounded-full bg-[#D4AF37]/10",children:e.jsx(F,{className:"h-10 w-10 text-[#D4AF37]"})}),e.jsx("h1",{className:"text-foreground mb-6 text-4xl font-bold md:text-5xl",children:s}),e.jsxs("p",{className:"text-muted-foreground mx-auto max-w-2xl text-xl leading-relaxed",children:["A sua candidatura foi submetida com sucesso!",e.jsx("br",{}),"Para concluir o processo, por favor proceda ao pagamento (caso ainda não o tenha feito)."]})]}),n&&e.jsx("div",{className:"mb-10 text-center",children:e.jsx(r,{asChild:!0,variant:"outline",className:"gap-2 border-[#D4AF37] text-[#D4AF37] hover:bg-[#D4AF37] hover:text-white",children:e.jsxs("a",{href:n,target:"_blank",rel:"noopener noreferrer",children:[e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-file-text",children:[e.jsx("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"}),e.jsx("path",{d:"M14 2v4a2 2 0 0 0 2 2h4"}),e.jsx("path",{d:"M10 9H8"}),e.jsx("path",{d:"M16 13H8"}),e.jsx("path",{d:"M16 17H8"})]}),"Descarregar Fatura Proforma"]})})}),b?e.jsxs("div",{className:"mb-10 rounded-xl border border-amber-200 bg-amber-50 p-8 text-center shadow-sm dark:border-amber-900/50 dark:bg-amber-950/30",children:[e.jsx("h2",{className:"mb-4 text-2xl font-bold text-amber-800 dark:text-amber-400",children:"Candidatura Multi-Concelho"}),e.jsx("p",{className:"mb-6 leading-relaxed text-amber-700 dark:text-amber-500/90",children:"Como se trata de uma candidatura multi-concelho, a faturação será dividida entre as entidades promotoras e processada manualmente."}),e.jsxs("p",{className:"font-medium text-amber-800 dark:text-amber-400",children:["Por favor, entre em contacto com"," ",e.jsx("a",{href:"mailto:[email protected]",className:"font-semibold hover:underline",children:"[email protected]"})," ","para tratar da faturação."]})]}):e.jsxs("div",{className:"mb-10 rounded-xl border border-[#D4AF37]/20 bg-[#D4AF37]/5 p-8 shadow-sm",children:[e.jsx("h2",{className:"mb-2 text-center text-2xl font-bold text-[#D4AF37]",children:"Dados para Pagamento"}),e.jsx("p",{className:"text-muted-foreground mb-6 text-center",children:"Utilize os dados abaixo para efetuar a transferência bancária:"}),t>0&&e.jsxs("div",{className:"mb-6 rounded-lg bg-[#D4AF37]/10 p-4 text-center",children:[e.jsx("p",{className:"text-muted-foreground text-sm",children:"Valor a Transferir"}),e.jsx("p",{className:"text-3xl font-bold text-[#D4AF37]",children:new Intl.NumberFormat("pt-PT",{style:"currency",currency:"EUR"}).format(t)})]}),e.jsxs("div",{className:"bg-background space-y-4 rounded-lg border p-6 shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4 border-b pb-4",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-muted-foreground mb-1 text-sm",children:"IBAN"}),e.jsx("p",{className:"text-foreground font-mono text-xl font-bold whitespace-nowrap",children:d})]}),e.jsxs(r,{variant:"outline",size:"sm",onClick:p,className:"shrink-0",children:[e.jsx(k,{className:"mr-2 h-4 w-4"}),j?"Copiado!":"Copiar"]})]}),e.jsxs("div",{className:"flex items-center gap-8",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-muted-foreground mb-1 text-sm",children:"Entidade"}),e.jsx("p",{className:"text-foreground text-lg font-semibold",children:"EIPWU LDA"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-muted-foreground mb-1 text-sm",children:"NIPC"}),e.jsx("p",{className:"text-foreground font-mono text-lg",children:"508318939"})]})]})]}),e.jsxs("p",{className:"text-foreground mt-6 text-center text-sm font-medium",children:["Comprovativo de Pagamento - Poderá ser enviado mais tarde para o e-mail"," ",e.jsx("a",{href:"mailto:[email protected]",className:"text-[#D4AF37] hover:underline",children:"[email protected]"}),e.jsx("br",{}),e.jsx("strong",{children:"ATENÃÃO: Candidatura só é válida após boa cobrança"}),"."]}),e.jsxs("div",{className:"mt-8 border-t border-[#D4AF37]/20 pt-6",children:[e.jsx("p",{className:"mb-3 text-center text-sm font-medium text-[#D4AF37]",children:"Declarações de Não DÃvida"}),e.jsxs("div",{className:"flex flex-col justify-center gap-4 sm:flex-row",children:[e.jsxs("a",{href:"/assets/documentos/AT-Eipwu.pdf",target:"_blank",rel:"noopener noreferrer",className:"text-foreground flex items-center justify-center text-sm transition-colors hover:text-[#D4AF37]",children:[e.jsx(u,{className:"mr-2 h-4 w-4"}),"Finanças (AT)"]}),e.jsxs("a",{href:"/assets/documentos/SS-Eipwu.pdf",target:"_blank",rel:"noopener noreferrer",className:"text-foreground flex items-center justify-center text-sm transition-colors hover:text-[#D4AF37]",children:[e.jsx(u,{className:"mr-2 h-4 w-4"}),"Segurança Social"]})]})]})]}),e.jsxs("div",{className:"mb-16",children:[e.jsx("h2",{className:"text-foreground mb-12 text-center text-2xl font-bold",children:"Processo de Avaliação"}),e.jsxs("div",{className:"grid gap-8 md:grid-cols-3",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"mb-6 inline-flex h-16 w-16 items-center justify-center rounded-full bg-[#D4AF37] text-xl font-bold text-white",children:"1"}),e.jsx("h3",{className:"text-foreground mb-3 text-lg font-semibold",children:"Análise Técnica"}),e.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"O nosso painel de especialistas irá avaliar a importância histórica e cultural do seu monumento."})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"mb-6 inline-flex h-16 w-16 items-center justify-center rounded-full bg-[#D4AF37] text-xl font-bold text-white",children:"2"}),e.jsx("h3",{className:"text-foreground mb-3 text-lg font-semibold",children:"Votação Pública"}),e.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Se aprovado, o seu monumento será apresentado para votação da comunidade."})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"mb-6 inline-flex h-16 w-16 items-center justify-center rounded-full bg-[#D4AF37] text-xl font-bold text-white",children:"3"}),e.jsx("h3",{className:"text-foreground mb-3 text-lg font-semibold",children:"Resultado Final"}),e.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Os monumentos mais votados serão reconhecidos como as Novas 7 Marav
6ilhas de Portugal®."})]})]})]}),e.jsx(v,{className:"bg-muted/50",children:e.jsxs(w,{className:"pt-6",children:[e.jsx("h3",{className:"mb-4 text-center font-semibold",children:"O que acontece a seguir?"}),e.jsxs("div",{className:"text-muted-foreground space-y-3 text-sm",children:[e.jsx("p",{children:"⢠Receberá uma confirmação por email assim que confirmarmos o pagamento e aprovar-mos a candidatura"}),e.jsx("p",{children:"⢠A avaliação técnica decorrerá após fecharmos o processo de candidatura"})]})]})}),e.jsx("div",{className:"mt-12 text-center",children:e.jsxs("div",{className:"flex flex-col justify-center gap-4 sm:flex-row",children:[(a==null?void 0:a.id)&&e.jsx(r,{asChild:!0,variant:"outline",className:"h-12 border-[#D4AF37] px-6 text-[#D4AF37] hover:bg-[#D4AF37] hover:text-white",children:e.jsx(h,{href:route("candidaturas.show-summary",{application:a.id}),children:"Ver resumo da candidatura"})}),e.jsx(h,{href:"/",className:"inline-flex h-12 items-center justify-center rounded-lg bg-[#D4AF37] px-6 text-white transition-colors hover:bg-[#b5952f]",children:"Voltar ao InÃcio"})]})})]})})})})]})}export{V 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.