PageSourceSearch

https://grupoyour.com/assets/SimuladorSubsidioRefeicao-76HeQ9yj.js

js grupoyour.com collected 2026-09-29 15:28:20 UTC 9,779 bytes, 1 lines download raw bytes

1import{u as A,r as h,j as e,z as f,I as g,f as M,g as U}from"./index-d4qdpMx4.js";import D from"./Footer-BTUKux87.js";import F from"./AnimatedSection-DOx5usY9.js";import L from"./ServicesNavSection-BUCsEOQD.js";import{C as O}from"./ContactSection-C5TFJnK4.js";import{O as H}from"./OtherSimulatorsSection-nQlbR-nQ.js";import{S as q}from"./SimulatorShareCTA-BUMdx-xQ.js";import{C,a as w}from"./card-Z9cyJXgn.js";import"./accordion-BIk5KtKV.js";import"./index-D7u_wxBR.js";import"./badge-CNHhfB3n.js";import"./user-minus-5bztI8Dv.js";import"./trending-up-D9OwXLlm.js";import"./car-BvLRpb6b.js";import"./zap-DyjL2WZZ.js";import"./shield-alert-Db9wV9Rq.js";import"./receipt-CoFQHFrM.js";import"./utensils-crossed-Dd63uvBR.js";import"./copy-9KQW_HMe.js";const b=new Intl.NumberFormat("pt-PT",{style:"currency",currency:"EUR",minimumFractionDigits:2,maximumFractionDigits:2}),T=6.15,$=10.46,B=.2375,_=.11,E=(d,a,t,i)=>{const o=d*a,c=Math.min(d,i)*a,r=Math.max(0,d-i)*a,m=r*B,n=o+m,p=o-r*(t+_);return{mensal:o,isenta:c,tributada:r,tsuPatr:m,custoEmpresa:n,liquidoTrab:p}},z=()=>{const{i18n:d}=A(),a=d.language==="pt",[t,i]=h.useState(10.46),[o,c]=h.useState(22),[r,m]=h.useState(10),[n,p]=h.useState(20),{dinheiro:j,cartao:y,poupColab:I,poupTotal:P,ganhoTrab:R}=h.useMemo(()=>{const s=n/100,x=E(t,o,s,T),u=E(t,o,s,$),l=(x.custoEmpresa-u.custoEmpresa)*12;return{dinheiro:x,cartao:u,poupColab:l,poupTotal:l*r,ganhoTrab:(u.liquidoTrab-x.liquidoTrab)*12}},[t,o,r,n]),k=y.custoEmpresa<j.custoEmpresa?"cartao":j.custoEmpresa<y.custoEmpresa?"dinheiro":"tie",N=(s,x,u,l)=>{const S=k===s;return e.jsxs("div",{className:`relative p-5 rounded-md border ${S?"border-primary bg-primary/10":"border-border bg-background"}`,children:[S&&e.jsx("span",{className:"absolute -top-2.5 right-3 bg-primary text-primary-foreground text-[10px] tracking-widest uppercase px-2 py-0.5 font-medium rounded",children:a?"Mais vantajoso":"Best option"}),e.jsx("h3",{className:"font-serif text-base font-semibold text-foreground",children:x}),e.jsx("div",{className:"text-[10px] uppercase tracking-wider text-muted-foreground mt-1 mb-3",children:u}),[{l:a?"Valor mensal/colab.":"Monthly/employee",v:l.mensal},{l:a?"Parte isenta":"Tax-exempt portion",v:l.isenta},{l:a?"Parte tributada":"Taxed portion",v:l.tributada},{l:a?"TSU patronal (23,75%)":"Employer SS (23.75%)",v:l.tsuPatr}].map(v=>e.jsxs("div",{className:"flex justify-between py-1 text-xs text-muted-foreground",children:[e.jsx("span",{children:v.l}),e.jsx("span",{className:"font-mono text-foreground",children:b.format(v.v)})]},v.l)),e.jsxs("div",{className:"flex justify-between pt-2 mt-2 border-t border-border text-sm font-semibold",children:[e.jsx("span",{children:a?"Custo empresa/mês":"Company cost/mo"}),e.jsx("span",{className:"font-mono",children:b.format(l.custoEmpresa)})]})]})};return e.jsx("section",{className:"py-10 md:py-14",children:e.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[e.jsxs("div",{className:"grid md:grid-cols-[1fr_1.2fr] gap-6",children:[e.jsx(C,{children:e.jsxs(w,{className:"p-6 md:p-8 space-y-5",children:[e.jsx("h2",{className:"text-xl font-serif font-semibold text-foreground border-b border-border pb-3",children:a?"Parâmetros":"Parameters"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(f,{htmlFor:"valor",children:a?"Valor diário do subsídio":"Daily allowance"}),e.jsx(g,{id:"valor",type:"number",min:0,step:.01,value:t,onChange:s=>i(parseFloat(s.target.value)||0)}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a?"Por dia útil trabalhado":"Per working day"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(f,{htmlFor:"dias",children:a?"Dias úteis por mês":"Working days per month"}),e.jsx(g,{id:"dias",type:"number",min:1,max:31,value:o,onChange:s=>c(parseInt(s.target.value)||0)}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a?"Média anual: 22 dias":"Annual average: 22 days"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(f,{htmlFor:"trab",children:a?"Número de trabalhadores":"Number of employees"}),e.jsx(g,{id:"trab",type:"number",min:1,value:r,onChange:s=>m(parseInt(s.target.value)||0)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(f,{htmlFor:"irs",children:a?"Taxa IRS do trabalhador (%)":"Employee income tax rate (%)"}),e.jsx(g,{id:"irs",type:"number",min:0,max:48,value:n,onChange:s=>p(parseFloat(s.target.value)||0)}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a?"Taxa marginal sobre o excede
1nte":"Marginal rate on excess"})]})]})}),e.jsx(C,{children:e.jsxs(w,{className:"p-6 md:p-8 space-y-5",children:[e.jsx("h2",{className:"text-xl font-serif font-semibold text-foreground border-b border-border pb-3",children:a?"Análise comparativa":"Comparison"}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[N("dinheiro",a?"Pagamento em dinheiro":"Cash payment",a?"Isento até 6,15€/dia":"Exempt up to €6.15/day",j),N("cartao",a?"Pagamento em cartão":"Card payment",a?"Isento até 10,46€/dia":"Exempt up to €10.46/day",y)]}),e.jsxs("div",{className:"p-6 rounded-md border border-amber-500/30 bg-gradient-to-br from-amber-500/10 to-amber-500/5",children:[e.jsx("div",{className:"text-[11px] uppercase tracking-widest text-muted-foreground mb-2",children:a?"Poupança anual da empresa":"Annual company saving"}),e.jsx("div",{className:"font-serif text-4xl font-semibold text-primary leading-none mb-2",children:b.format(P)}),e.jsx("div",{className:"text-sm text-muted-foreground",children:t<=T?a?"Abaixo do limite isento. Dinheiro e cartão são fiscalmente equivalentes.":"Below the exempt limit. Cash and card are fiscally equivalent.":a?`para ${r} ${r===1?"colaborador":"colaboradores"}, em 12 meses`:`for ${r} ${r===1?"employee":"employees"}, over 12 months`}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 mt-4 pt-4 border-t border-border/50",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"font-mono text-lg font-semibold text-foreground",children:[b.format(I),"/ano"]}),e.jsx("div",{className:"text-xs text-muted-foreground",children:a?"Poupança por colaborador":"Saving per employee"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"font-mono text-lg font-semibold text-foreground",children:[b.format(R),"/ano"]}),e.jsx("div",{className:"text-xs text-muted-foreground",children:a?"Ganho líquido do trabalhador":"Employee net gain"})]})]})]})]})})]}),e.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed mt-8 pt-6 border-t border-border",children:a?"Bases legais 2026: limite de isenção do subsídio de refeição fixado em 6,15€/dia em dinheiro e 10,46€/dia em cartão refeição (mantém o diferencial de 70%). O excedente está sujeito a IRS e a contribuições para a Segurança Social (TSU patronal 23,75% e quota do trabalhador 11%). Estimativa indicativa.":"2026 legal basis: meal allowance exemption set at €6.15/day in cash and €10.46/day on meal card (70% spread). Excess subject to income tax and social security (employer 23.75%, employee 11%). Indicative estimate."})]})})},me=()=>{const{i18n:d}=A(),a=d.language,t=a==="pt",i="https://grupoyour.com",o=`${i}/pt/simulador-subsidio-refeicao`,c=`${i}/en/meal-allowance-simulator`,r=t?o:c,m=t?"Simulador Subsídio de Refeição 2026: Cartão vs. Dinheiro | Grupo Your":"Meal Allowance Simulator 2026: Card vs. Cash | Grupo Your",n=t?"Quanto poupa a sua empresa pagando o subsídio de refeição em cartão (10,46€/dia isento) em vez de dinheiro (6,15€/dia isento). Cálculo de IRS, TSU e ganho do trabalhador.":"How much your company saves by paying the meal allowance on a card (€10.46/day exempt) instead of cash (€6.15/day exempt). Income tax, social security and employee gain.",p={"@context":"https://schema.org","@type":"WebApplication",name:t?"Simulador Subsídio de Refeição":"Meal Allowance Simulator",description:n,url:r,applicationCategory:"BusinessApplication",operatingSystem:"Web",offers:{"@type":"Offer",price:"0",priceCurrency:"EUR"},provider:{"@type":"Organization",name:"Grupo Your",url:i}};return e.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[e.jsxs(M,{children:[e.jsx("html",{lang:a}),e.jsx("title",{children:m}),e.jsx("meta",{name:"description",content:n}),e.jsx("link",{rel:"canonical",href:r}),e.jsx("link",{rel:"alternate",hrefLang:"pt",href:o}),e.jsx("link",{rel:"alternate",hrefLang:"en",href:c}),e.jsx("link",{rel:"alternate",hrefLang:"x-default",href:o}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:url",content:r}),e.jsx("meta",{property:"og:title",content:m}),e.jsx("meta",{property:"og:description",content:n}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(p)})]}),e.jsx(U,{}),e.jsxs("main",{className:"flex-1 pt-24",children:[e.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[e.jsx("div",{className:"text-xs font-mono tracking-[0.16em] uppercase text-primary mb-3",children:t?"RH & Laboral · Atualizado 2026":"HR & Labor · 2026 Update"}),e.jsx("h1",{className:"text-3xl md:text-5xl font-serif font-semibold tracking-tight text-foreground mb-4",children:t?"Subsídio de Refeição: Cartão vs. Dinheiro":"Meal Allowance: Card vs. Cash"}),e.jsx("p",{className:"text-base md:text-lg text-muted-foreground max-w-2xl",children:t?"Quanto poupa a empresa pagando em cartão refeição. Valores 2026: 6,15€/dia isentos em dinheiro, 10,46€/dia isentos em cartão.":"How much your company saves with meal card payments. 2026: €6.15/day exempt in cash, €10.46/day exempt on card."})]}),e.jsx(F,{animation:"fade-up",children:e.jsx(z,{})}),e.jsx(q,{}),e.jsx(H,{currentRoute:t?"simulador-subsidio-refeicao":"meal-allowance-simulator"}),e.jsx(L,{}),e.jsx(O,{})]}),e.jsx(D,{})]})};export{me 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.