PageSourceSearch

https://upartners-pre.web.app/assets/Plans-BXavcipL.js

js upartners-pre.web.app collected 2026-10-03 12:39:08 UTC 5,968 bytes, 5 lines download raw bytes

1import{t as p,av as j,u as e,b3 as b,aM as f,bT as N,aN as g,b4 as v}from"./vendor-DHdRjwtD.js";import{ar as w,H as y,a2 as r,ae as k,as as L}from"./index-B_iZT9l0.js";import{F as C}from"./Footer-CpYz5HdT.js";import{m as c,A as F}from"./vendor_framer-Dx8jwqwk.js";import"./vendor_dayjs-DJpzTqp9.js";import"./vendor_firebase-um9G6u8o.js";import"./shoelace-Bu-3G7vx.js";const R=()=>{const[a,x]=p.useState(!1),m=w(),o=j(),h=()=>{o("/#plans-preview",{replace:!0})},n=i=>(i/100).toLocaleString("pt-PT",{minimumFractionDigits:2,maximumFractionDigits:2}),u=(i,s)=>i.available?!0:i.feature.toLowerCase()==="leads digitais"?m[s].digitalLeads.included||a:!1;return e.jsxs("div",{className:"bg-conditional-page-bg",children:[e.jsx(y,{}),e.jsx("main",{className:"text-white min-h-screen md:p-6 bg-conditional-page-bg",children:e.jsx("div",{className:"transition-all duration-500 w-full",children:e.jsxs(b.Content,{className:"md:rounded-2xl bg-white px-4 pt-8 md:p-10 pb-14 shadow-card overflow-x-auto relative mx-auto",children:[e.jsx("div",{className:"sm:min-w-[320px] md:min-w-[640px] lg:min-w-[768px] xl:min-w-[1024px]",children:e.jsx("div",{className:"flex flex-row gap-6 mb-4 md:mb-6 items-center w-full",children:e.jsx(f,{type:"link",size:"large",className:"transition-all duration-500 p-0",onClick:()=>h(),children:e.jsx(N,{className:"text-2xl md:text-xl text-primary-6"})})})}),e.jsxs("div",{className:"container mx-auto flex flex-col items-center",children:[e.jsx("h1",{className:"text-center font-bold text-xl md:text-3xl p-4 leading-tight",children:"Escolha o plano mais indicado para si"}),e.jsxs("h5",{className:"text-neutral-8 text-center mt-6 md:mt-4 mb-4 md:mb-10 text-base md:text-xl font-normal max-w-[605px] p-4 leading-[24px] md:leading-7",children:["Pode alterar ou cancelar a qualquer momento.",e.jsx("br",{}),"Preços líquidos de IVA."]})]}),e.jsx("div",{className:"plans-grid",children:Object.entries(m).map(([i,s])=>e.jsxs("div",{className:"plans-col",children:[e.jsx("div",{className:"h-16 ",children:s.mostChosen&&e.jsx("h3",{className:"font-bold text-xl text-primary-6 text-center",children:"✨ Recomendamos ✨"})}),e.jsxs(c.div,{className:r("plans-card rounded-3xl shadow-2xl py-10 px-6 text-center transition-all duration-300 border",s.mostChosen?"border-primary-6":"border-neutral-3"),animate:{borderColor:s.mostChosen?"#008FD5":"#F5F5F5"},transition:{duration:.3,ease:"easeInOut"},children:[e.jsx("h2",{className:"font-bold text-xl uppercase text-center text-primary-6",children:s.name}),e.jsxs("div",{className:"flex flex-col justify-center",children:[e.jsx("div",{className:"text-base mt-[30px] text-center font-medium",children:s.title.split(`
2`).map((t,l)=>e.jsx("h5",{className:"block",children:t},l))}),e.jsx("h5",{className:"text-sm mt-4 text-center",children:s.subtitle})]}),e.jsx("hr",{className:"my-8 bg-neutral-5"}),e.jsx("div",{className:"px-2",children:s.items.map((t,l)=>{const d=u(t,i);return e.jsxs("div",{className:"mb-4 last:mb-0",children:[e.jsxs("div",{className:"flex items-start",children:[e.jsx("div",{className:"w-3.5 mt-1.5 flex-none",children:e.jsx(F,{mode:"wait",children:d?e.jsx(c.img,{className:"w-3 h-3 flex-none",src:"/icons/check.svg",alt:"Check Mark",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.2}},"check"):e.jsx(c.img,{className:"w-3 h-3 flex-none mx-auto object-contain",src:"/icons/x.svg",alt:"X Mark",style:{filter:"brightness(0) saturate(0%) opacity(0.35)"},initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.2}},"x")})}),e.jsxs("span",{className:r("ml-3 text-base text-left break-words",{"text-disabled":!d}),children:[t.feature,t.soon&&e.jsx("span",{className:r("ml-2 text-[11px] text-primary-6",{"text-disabled":!d}),children:"(Em breve)"})]})]}),t.subtitle&&e.jsx("p",{className:"ml-6 text-[11px] text-left -mt-0.5 text-secondary-45 block",children:t.subtitle})]},l)})}),e.jsx("hr",{className:"my-8 bg-neutral-5"}),e.jsx(k,{className:"text-xl font-medium",children:`${a&&!s.digitalLeads.included?n(s.monthly+s.digitalLeads.price):n(s.monthly)}€ / mês`})]}),e.jsxs(c.div,{className:"py-10 px-6 bg-white shadow-2xl rounded-3xl mt-6",children:[e.jsxs("div",{className:"flex flex-row items-center justify-between mb-2",children:[e.jsx("span",{className:"text-base font-semibold text-title-85",children:"Leads digitais"}),s.digitalLeads.included?e.jsx("span",{className:"ml-2 text-sm text-primary-6",children:"Incluído no plano"}):e.jsx("div",{className:"w-28 flex items-end justify-end",children:e.jsx(g,{checked:a,onChange:t=>x(t),className:"max-w-12"})})]}),e.jsx("div",{className:"text-sm text-secondary-45 mb-2.5",children:s.digitalLeads.price&&e.jsxs("span",{className:`
3                                                        ${s.digitalLeads.included?"opacity-0":""}
4                                                        ${a?"text-primary-6":""}
5                                                    `,children:["+ ",n(s.digitalLeads.price),"€ por mês ",a?"(Incluído no plano)":""]})}),L.map((t,l)=>e.jsx("div",{className:"mb-2 last:mb-0 px-2",children:e.jsxs("div",{className:"flex items-start",children:[e.jsx("div",{className:"w-3 mt-2 flex-none",children:a||s.digitalLeads.included?e.jsx("img",{className:"w-full h-full object-contain",src:"/icons/check.svg",alt:"Check Mark"}):e.jsx("img",{className:"w-full h-full object-contain",src:"/icons/disabled-check.svg",alt:"Disabled Check Mark"})}),e.jsx("span",{className:r("ml-3 text-sm text-left break-words",{"text-disabled":!a&&!s.digitalLeads.included}),children:t.feature})]})},l))]})]},i))}),e.jsx("div",{className:"w-full hidden md:flex justify-center",children:e.jsx(v,{to:"/create-partner-form",className:"bg-primary-6 rounded-2xl flex items-center justify-center hover:bg-primary-5 text-white h-[72px] px-10 text-base md:text-[22px] mt-14",children:"Vamos começar"})})]})})}),e.jsx(C,{})]})};export{R 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.