1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2092],{2492:(o,i,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/solicitar-adesao/etapas/contribuicao",function(){return a(70130)}])},70130:(o,i,a)=>{"use strict";a.r(i),a.d(i,{default:()=>b});var n=a(37876),l=a(76032),e=a(51362),r=a(79736),s=a(17523),c=a(55925),t=a(44480),d=a(60312),u=a(90485),v=a(6755),h=a(81601),p=a(72668),x=a(84937),C=a(57008),j=a(72496),m=a(41738),A=a(25007),g=a(14232);let _=o=>{let{Lista:i=[],Salario:a="0",AtualizarDados:t}=o;return(0,n.jsx)(c.Ay,{Demarcado:!0,children:null==i?void 0:i.map((o,p)=>{var C;let A=null==o?void 0:o.Codigo,g=null!=(C=null==o?void 0:o.Valor)?C:0,_=(0,j.MW)(parseFloat(a),g);return(0,n.jsx)(u.S,{Config:{flexGrow:0},children:(0,n.jsxs)(c.Ay,{children:[(0,n.jsx)(v.Ay,{Tipo:x.vi.Percentual,Nome:"ListaFinanceira.".concat(A,".Valor"),Label:(null==i?void 0:i.length)>1?o.Descricao||"Contribui\xe7\xe3o ".concat(p+1):"Percentual desejado",Placeholder:"Informe o % desejado para sua contribui\xe7\xe3o",Valor:g>0?g:null,Max:100,Acao:a=>{let n=null==i?void 0:i.filter(i=>(null==i?void 0:i.Codigo)!=(null==o?void 0:o.Codigo));n.push({...o,Valor:a}),t("ListaContribuicao",n)}}),(0,n.jsxs)(l.B,{p:2,spacing:4,justifyContent:"space-around",rounded:h._$.Grande,bg:(0,h.TG)(h.gK.Principal,h.RQ.Levissimo),children:[(0,n.jsxs)(e.T,{spacing:2,children:[(0,n.jsx)(d.Ay,{Tamanho:h._$.Grande,Centralizado:!0,Cor:h.gK.Acentuado,children:"Seu valor de contribui\xe7\xe3o ser\xe1 calculado com base em:"}),(0,n.jsxs)(r.z,{justify:"center",align:"center",gap:2,children:[(0,n.jsx)(s.E,{colorScheme:h.gK.Positivo,fontSize:h._$.Medio,variant:h.T_.Contorno,p:1,px:2,rounded:"full",children:"Percentual"}),(0,n.jsx)(d.Ay,{Tamanho:h._$.Enorme,Forca:h.Pv.Forte,Texto:"X"}),(0,n.jsx)(s.E,{colorScheme:h.gK.Afirmativo,fontSize:h._$.Medio,variant:h.T_.Contorno,p:1,px:2,rounded:"full",children:"Sal\xe1rio"})]})]}),(0,n.jsxs)(e.T,{spacing:0,children:[(0,n.jsx)(d.Ay,{Tamanho:h._$.Grande,Centralizado:!0,Cor:h.gK.Acentuado,children:"Valor da contribui\xe7\xe3o:"}),(0,n.jsx)(d.Ay,{Cor:h.gK.Principal,Tamanho:h._$.Enorme,Forca:h.Pv.Medio,Centralizado:!0,children:_?(0,m.Monetaria)(_):"Informe o percentual e s\xe1lario"})]})]})]})},A||p)})})},b=o=>{var i,a,l,e;let{Dados:r,AtualizarDados:s,Global:d}=o,{Contribuicao:j}=(null==d?void 0:d.Parametros)||{},b=null==r?void 0:r.ListaDescritiva[p.Il.Salario],[f,T]=(0,g.useState)(b);return(0,n.jsx)(u.S,{Icone:t.G.faHandHoldingDollar,Cor:h.gK.Principal,Titulo:(null==r||null==(i=r.ListaContribuicao)?void 0:i.length)>1?(null==j?void 0:j.Titulo)||"Contribui\xe7\xf5es":(null==r||null==(l=r.ListaContribuicao)||null==(a=l[0])?void 0:a.Descricao)||"Contribui\xe7\xe3o",Descricao:(null==j?void 0:j.Descricao)||null,Corpo:(0,n.jsxs)(c.Ay,{children:[(0,n.jsxs)(c.C,{Colunas:2,minW:"full",flexGrow:0,children:[(0,n.jsx)(v.Ay,{Tipo:x.vi.Decimal,Label:"Sal\xe1rio",Placeholder:"Informe seu sal\xe1rio",Desabilitado:(0,m.ApenasNumeros)(null==r?void 0:r.ListaDescritiva[p.Il.Salario])>0,Valor:f,Mascara:m.Monetaria,Acao:T}),(null==j?void 0:j.AnoMesInicio)&&(0,n.jsx)(v.Ay,{Tipo:x.vi.AnoMes,Nome:"AnoMesInicio",Label:"In\xedcio da contribui\xe7\xe3o",Valor:C.CorrigirAnoMes(null==(e=(0,A.P)(new Date,1))?void 0:e.toISOString()),Max:C.Formatada((0,A.P)(new Date,(null==j?void 0:j.AnoMesInicio)||12)),Acao:o=>s("AnoMesInicio",o)})]}),(0,n.jsx)(_,{AtualizarDados:s,Lista:null==r?void 0:r.ListaContribuicao,Salario:f})]})})}}},o=>{var i=i=>o(o.s=i);o.O(0,[636,6593,8792],()=>i(2492)),_N_E=o.O()}]);
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.