PageSourceSearch

https://www.medflow.com.mx/_next/static/chunks/7922.309287174d2de383.js

js medflow.com.mx collected 2026-10-09 23:40:25 UTC 7,545 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7922],{97922:function(e,a,r){r.r(a),r.d(a,{default:function(){return u}});var s=r(57437),t=r(2265),d=r(42586),n=r(66070),i=r(95186),l=r(26815),o=r(53647),c=r(73618),m=r(8218);function u(){let e=(0,d.useLocale)(),a=(a,r,s)=>"en"===e?r:e.startsWith("pt")?s:a,[r,u]=(0,t.useState)(""),[x,h]=(0,t.useState)(""),[f,p]=(0,t.useState)(""),{eGFR:b,interpretation:g,stage:j,stageSeverity:N}=(0,t.useMemo)(()=>{let e,s,t;let d=Number.parseFloat(r),n=Number.parseInt(x);if(!d||!n||!f)return{eGFR:null,interpretation:"",stage:"",stageSeverity:"success"};let i=d/("female"===f?.7:.9),l=Math.round(141*Math.min(i,1)**("female"===f?-.329:-.411)*Math.max(i,1)**-1.209*.993**n*("female"===f?1.018:1));return l>=90?(e=a("Normal o alta (con da\xf1o estructural)","Normal or high (with structural damage)","Normal ou alta (com dano estrutural)"),s="G1",t="success"):l>=60?(e=a("Ligeramente disminuida","Mildly decreased","Levemente diminu\xedda"),s="G2",t="success"):l>=45?(e=a("Disminuci\xf3n leve-moderada","Mild to moderate decrease","Diminui\xe7\xe3o leve-moderada"),s="G3a",t="warning"):l>=30?(e=a("Disminuci\xf3n moderada-severa","Moderate to severe decrease","Diminui\xe7\xe3o moderada-grave"),s="G3b",t="warning"):(l>=15?(e=a("Disminuci\xf3n severa","Severe decrease","Diminui\xe7\xe3o grave"),s="G4"):(e=a("Falla renal / ERC terminal","Kidney failure / end-stage CKD","Fal\xeancia renal / DRC terminal"),s="G5"),t="danger"),{eGFR:l,interpretation:e,stage:s,stageSeverity:t}},[r,x,f,e]),v=null!==b,C=v?{label:"".concat(a("Estadio","Stage","Est\xe1gio")," ").concat(j),severity:N}:null,F={result:a("Resultados de CKD-EPI","CKD-EPI Results","Resultados de CKD-EPI"),score:a("TFG estimada (mL/min/1.73 m\xb2)","Estimated GFR (mL/min/1.73 m\xb2)","TFG estimada (mL/min/1.73 m\xb2)"),interpretation:a("Interpretaci\xf3n","Interpretation","Interpreta\xe7\xe3o"),outOfRange:a("Sin clasificar","Unclassified","N\xe3o classificado"),completeHint:a("Complete todos los campos para calcular la TFG estimada.","Complete all fields to calculate the estimated GFR.","Preencha todos os campos para calcular a TFG estimada.")};return(0,s.jsxs)(m.sn,{aside:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.h3,{score:v?b:void 0,band:C,complete:v,labels:F,extra:v?(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)("p",{className:"text-center font-bold text-foreground",children:g}),(0,s.jsx)("div",{className:"rounded-ds-sm border border-border bg-muted/50 p-3",children:(0,s.jsxs)("p",{children:[a("TFG estimada:","Estimated GFR:","TFG estimada:")," ",(0,s.jsx)("span",{className:"font-bold text-brand-700",children:b})," mL/min/1.73 m\xb2"]})})]}):null}),(0,s.jsx)(m.RU,{onClick:()=>{u(""),h(""),p("")},label:a("Reiniciar","Reset","Reiniciar")})]}),children:[(0,s.jsxs)(n.Zb,{className:"mb-6 overflow-hidden border-0 shadow-soft-2",children:[(0,s.jsx)(n.Ol,{className:"bg-gradient-to-r from-brand-50 to-brand-100 p-4 sm:p-6",children:(0,s.jsxs)(n.ll,{className:"flex items-center gap-3 text-xl text-brand-700 sm:text-2xl",children:[(0,s.jsx)("span",{className:"shrink-0 rounded-ds-lg bg-card p-2 shadow-soft-1",children:(0,s.jsx)(c.Z,{className:"h-5 w-5 sm:h-6 sm:w-6","aria-hidden":"true"})}),a("CKD-EPI (Calculadora de TFG estimada)","CKD-EPI (Estimated GFR Calculator)","CKD-EPI (Calculadora de TFG estimada)")]})}),(0,s.jsx)(n.aY,{className:"p-4 sm:p-6",children:(0,s.jsx)("p",{className:"text-sm text-muted-foreground sm:text-base",children:a("F\xf3rmula basada en creatinina s\xe9rica, edad y sexo. Recomendada por KDIGO y NICE.","Formula based on serum creatinine, age and sex. Recommended by KDIGO and NICE.","F\xf3rmula baseada em creatinina s\xe9rica, idade e sexo. Recomendada por KDIGO e NICE.")})})]}),(0,s.jsxs)(n.Zb,{className:"overflow-hidden border-border shadow-soft-1",children:[(0,s.jsx)(n.Ol,{className:"bg-muted/50 p-4",children:(0,s.jsxs)(n.ll,{className:"flex items-center gap-2 text-base font-semibold text-foreground",children:[(0,s.jsx)(c.Z,{className:"h-5 w-5 text-brand-600","aria-hidden":"true"}),a("Datos del Paciente","Patient Data","Dados do Paciente")]})}),(0,s.jsxs)(n.aY,{className:"space-y-4 p-4 sm:p-6",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(l._,{htmlFor:"creatinine",className:"text-foreground",children:a("Creatinina s\xe9rica (mg/dL)","Serum creatinine (mg/dL)","Creatinina s\xe9rica (mg/dL)")}),(0,s.jsx)(i.I,{id:"creatinine",type:"number",step:"0.1",placeholder:a("Ej: 1.0","e.g. 1.0","Ex: 1.0"),value:r,onChange:e=>u(e.target.value),className:"rounded-ds-sm border-border bg-card text-foreground"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(l._,{htmlFor:"age",className:"text-foreground",children:a("Edad (a\xf1os)","Age (years)","Idade (anos)")}),(0,s.jsx)(i.I,{id:"age",type:"number",placeholder:a("Ej: 60","e.g. 60","Ex: 60"),value:x,onChange:e=>h(e.target.value),className:"rounded-ds-sm border-border bg-card text-foreground"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(l._,{htmlFor:"sex",className:"text-foreground",children:a("Sexo","Sex","Sexo")}),(0,s.jsxs)(o.Ph,{value:f,onValueChange:p,children:[(0,s.jsx)(o.i4,{id:"sex",className:"rounded-ds-sm border-border bg-card text-foreground",children:(0,s.jsx)(o.ki,{placeholder:a("Seleccionar sexo","Select sex","Selecionar sexo")})}),(0,s.jsxs)(o.Bw,{children:[(0,s.jsx)(o.Ql,{value:"male",children:a("Hombre","Male","Homem")}),(0,s.jsx)(o.Ql,{value:"female",children:a("Mujer","Female","Mulher")})]})]})]})]})]}),(0,s.jsx)(m.i,{title:a("F\xf3rmula CKD-EPI 2021","2021 CKD-EPI Formula","F\xf3rmula CKD-EPI 2021"),children:(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("p",{className:"rounded-ds-sm bg-muted p-3 font-mono",children:a("eGFR = 141 \xd7 min(Cr/k, 1)^a \xd7 max(Cr/k, 1)^-1.209 \xd7 0.993^edad \xd7 factor sexo","eGFR = 141 \xd7 min(Cr/k, 1)^a \xd7 max(Cr/k, 1)^-1.209 \xd7 0.993^age \xd7 sex factor","eGFR = 141 \xd7 min(Cr/k, 1)^a \xd7 max(Cr/k, 1)^-1.209 \xd7 0.993^idade \xd7 fator sexo")}),(0,s.jsxs)("ul",{className:"list-inside list-disc space-y-1",children:[(0,s.jsx)("li",{children:a("k: 0.7 para mujeres, 0.9 para hombres","k: 0.7 for women, 0.9 for men","k: 0,7 para mulheres, 0,9 para homens")}),(0,s.jsx)("li",{children:a("a: -0.329 para mujeres, -0.411 para hombres","a: -0.329 for women, -0.411 for men","a: -0,329 para mulheres, -0,411 para homens")}),(0,s.jsx)("li",{children:a("factor sexo: \xd71.018 si mujer, \xd71.0 si hombre","sex factor: \xd71.018 if female, \xd71.0 if male","fator sexo: \xd71,018 se mulher, \xd71,0 se homem")})]}),(0,s.jsx)("p",{className:"mt-3 font-medium text-warning",children:a("Versi\xf3n 2021: Factor de raza retirado por controversia (KDIGO 2021-2023)","2021 version: Race factor removed due to controversy (KDIGO 2021-2023)","Vers\xe3o 2021: Fator de ra\xe7a removido por controv\xe9rsia (KDIGO 2021-2023)")})]})})]})}},95186:function(e,a,r){r.d(a,{I:function(){return n}});var s=r(57437),t=r(2265),d=r(94508);let n=t.forwardRef((e,a)=>{let{className:r,type:t,...n}=e;return(0,s.jsx)("input",{type:t,className:(0,d.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:a,...n})});n.displayName="Input"}}]);

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.