PageSourceSearch

https://www.sportiveworld.com/_next/static/chunks/37950-dfa1c62f06…?dpl=dpl_AAgQMoJfo16jg5V5QRo9MyGvZ6GQ

js sportiveworld.com collected 2026-10-02 01:44:27 UTC 46,284 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[37950],{37950:(t,l,e)=>{e.d(l,{mJ:()=>O,Cf:()=>a.Cf});var n=e(95155),i=e(94839),a=e(58114);let r="var(--tx, #F2EEE6)",s="var(--sec, rgba(255,255,255,.62))",o="var(--label, #8592A6)",c="var(--line, rgba(255,255,255,.10))",x="var(--stat-b, #F59E0B)",d="var(--accent, #E32636)";function u(t,l){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.08,[n,i]=t;Number.isFinite(n)&&Number.isFinite(i)||(n=0,i=1),n===i&&(n-=.1*Math.abs(n)||1,i+=.1*Math.abs(i)||1);let a=(i-n)*e;n-=a,i+=a;let[r,s]=l;return t=>r+(t-n)/(i-n)*(s-r)}function h(t){let l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=t.filter(t=>"number"==typeof t&&Number.isFinite(t));if(!e.length)return[0,1];let n=Math.min(...e),i=Math.max(...e);return l&&(n=Math.min(n,0),i=Math.max(i,0)),[n,i]}function f(t){let l="",e=!1;for(let n of t){if(null===n.y||!Number.isFinite(n.y)){e=!1;continue}l+="".concat(e?"L":"M").concat(n.x.toFixed(1)," ").concat(n.y.toFixed(1)),e=!0}return l}function g(t){var l;let[e,n]=t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;if(e===n)return[e];let a=Math.pow(10,Math.floor(Math.log10((n-e)/i))),r=null!=(l=[1,2,2.5,5,10].find(t=>(n-e)/(a*t)<=i))?l:10,s=a*r,o=[];for(let t=Math.ceil(e/s)*s;t<=n+1e-9;t+=s)o.push(Number(t.toFixed(6)));return o}function m(t){let{w:l,h:e,children:i,alt:a,className:r}=t;return(0,n.jsxs)("svg",{viewBox:"0 0 ".concat(l," ").concat(e),width:"100%",role:"img","aria-label":a,className:r,style:{display:"block",maxWidth:"100%",overflow:"hidden"},children:[(0,n.jsx)("title",{children:a}),i]})}let y=(t,l)=>{var e;if(t.length<=l)return t;let n=/^(.*\S)\s(\d{4}(?:[-/]\d{2})?)$/.exec(t);if(n){let t=" ".concat(n[2]),e=l-t.length-1;return e>=2?"".concat(n[1].slice(0,e),"…").concat(t):"…".concat(t).slice(0,l)}let i=Math.max(1,l-1);if(/\d/.test(null!=(e=t[i])?e:""))for(;i>1&&/\d/.test(t[i-1]);)i--;let a=t.slice(0,i).replace(/[\s·,;:(-]+$/,"");return"".concat(a||t.slice(0,1),"…")},p=(t,l)=>{if(t.length<=l)return t;let e=t.split(/ [+·] /);if(e.length>1){let n=[...t.matchAll(/ [+·] /g)].map(t=>t[0]),i=l-n.reduce((t,l)=>t+l.length,0),a=e.length,r=new Map;for(let{t,i:l}of e.map((t,l)=>({t,i:l})).sort((t,l)=>t.t.length-l.t.length)){let e=Math.floor(i/a),n=t.length<=e?t.length:Math.max(4,e);r.set(l,n),i-=n,a--}return e.map((t,l)=>{var e;return y(t,null!=(e=r.get(l))?e:4)}).map((t,l)=>{var e;return l?"".concat(null!=(e=n[l-1])?e:" \xb7 ").concat(t):t}).join("")}return y(t,l)},j=t=>t&&"object"==typeof t&&!Array.isArray(t)?t:{},v=t=>Array.isArray(t)?t.map(j):[],S=t=>"number"==typeof t&&Number.isFinite(t)?t:null,b=["var(--stat-a, #4AA3FF)",x,"#7AD3A5","#C39A55","#B18CFF","#FF7676"],k="'Barlow Condensed', 'Arial Narrow', sans-serif",M=t=>{if(!t.length)return null;for(let l of[t[0].from,t[0].to])if(t.every(t=>t.from===l||t.to===l))return l;return null},F=t=>4.8*t.length+6,A=t=>Math.round(10*t)/10,w=t=>{let{s:l,total:e}=t;return(0,n.jsx)("text",{x:4,y:12,fontSize:"11",fill:o,fontFamily:k,"data-red-total":!0,children:(0,i.tx)("ui.red.total",l.lang,{n:(0,i.XX)(l.lang,e,0)})})};function z(t){let{s:l,compacto:e,acento:i,centro:a,orden:c,total:x,nota:d,maxW:u,etiqueta:h,peso:f}=t,g=e?240:320,y=e?26:30,j=Math.ceil(c.length/2),v=Math.max(e?96:120,j*y+16),S=g/2,b=v/2,M=e?86:112,F=g-(e?86:112);return(0,n.jsx)(m,{w:g,h:v,alt:l.claim.text,children:(0,n.jsxs)("g",{"data-red":"estrella","data-aristas":c.length,"data-total":x,"data-centro":a,children:[c.map((t,l)=>{let s=(t=>{let l=t%2==0;return{x:l?M:F,y:14+Math.floor(t/2)*y+y/2,izq:l}})(l),c=t.peso/u,x=t.from===a?t.to:t.from;return(0,n.jsxs)("g",{children:[(0,n.jsx)("line",{x1:S,y1:b,x2:s.x,y2:s.y,stroke:i,strokeWidth:1+5*c,opacity:.3+.6*c,strokeLinecap:"round","data-arista":"".concat(t.from,"→").concat(t.to)}),(0,n.jsx)("circle",{cx:s.x,cy:s.y,r:e?4:5,fill:i,"data-nodo":x}),(0,n.jsxs)("text",{x:s.izq?s.x-8:s.x+8,y:s.y+4,textAnchor:s.izq?"end":"start",fontSize:"11",fill:r,fontFamily:k,children:[p(h(x),e?8:15),(0,n.jsxs)("tspan",{fill:o,children:[" ",f(t)]})]})]},l)}),(0,n.jsx)("circle",{cx:S,cy:b,r:e?9:12,fill:"var(--surface-1, #0D1219)",stroke:i,strokeWidth:2,"data-nodo":a}),!e&&(0,n.jsx)("text",{x:S,y:b+j*y/2+22,textAnchor:"middle",fontSize:"11",fill:s,fontFamily:k,children:p(h(a),20)}),d&&(0,n.jsx)(w,{s:l,total:x})]})})}function W(t){let{s:l,compacto:e,acento:i,orden:a,total:s,nota:c,maxW:x,etiqueta:d,peso:u}=t,h=new Map;for(let t of a){var f,g;h.set(t.from,(null!=(f=h.get(t.from))?f:0)+t.peso),h.set(t.to,(null!=(g=h.get(t.to))?g:0)+t.peso)}let y=[...h.entries()].sort((t,l)=>l[1]-t[1]).map(t=>{let[l]=t;return l}),j=y[0],v=(t,l)=>a.filter(e=>e.from===t&&e.to===l||e.from===l&&e.to===t).reduce((t,l)=>t+l.peso,0),S=y.slice(1),b=[];for(;S.length;){let t=b[b.length-1],l=0;if(t){let e=0;
1S.forEach((n,i)=>{let a=v(t,n);a>e&&(e=a,l=i)})}b.push(S.splice(l,1)[0])}let M=e?240:320,z=e?132:224,W=M/2,C=z/2,X=e?58:80,T=e?44:76,_=b.length,I=new Map([[j,{x:W,y:C,a:0}]]);b.forEach((t,l)=>{let e=(2===_?[-150,-30][l]:-90+180/_+360*l/_)*Math.PI/180;I.set(t,{x:W+X*Math.cos(e),y:C+T*Math.sin(e),a:e})});let E=e?20:26,O=p(d(j),e?12:20),P=[{x:W,y:C+(e?19:23),w:F(O),texto:O,fijo:!0}],L=a.map(t=>{let l,e,n=I.get(t.from),i=I.get(t.to),a=t.peso/x,r=u(t);if(t.from===j||t.to===j){let l=t.from===j?i:n;return P.push({x:W+(l.x-W)*.58,y:C+(l.y-C)*.58,w:F(r),texto:r}),{d:"M".concat(A(n.x)," ").concat(A(n.y),"L").concat(A(i.x)," ").concat(A(i.y)),f:a,e:t}}let s=(n.x+i.x)/2,o=(n.y+i.y)/2,c=Math.hypot(s-W,o-C);if(c>=1)l=(s-W)/c,e=(o-C)/c;else{let t=Math.hypot(i.x-n.x,i.y-n.y)||1;l=-(i.y-n.y)/t,(e=(i.x-n.x)/t)>0&&(l=-l,e=-e)}let d=2*Math.max(0,E-c),h=s+l*d,f=o+e*d;return P.push({x:(n.x+2*h+i.x)/4,y:(n.y+2*f+i.y)/4,w:F(r),texto:r}),{d:d?"M".concat(A(n.x)," ").concat(A(n.y),"Q").concat(A(h)," ").concat(A(f)," ").concat(A(i.x)," ").concat(A(i.y)):"M".concat(A(n.x)," ").concat(A(n.y),"L").concat(A(i.x)," ").concat(A(i.y)),f:a,e:t}});for(let t=0;t<30;t++){let t=!1;for(let l=0;l<P.length;l++)for(let e=l+1;e<P.length;e++){let n=P[l],i=P[e],a=(n.w+i.w)/2+2-Math.abs(n.x-i.x),r=13-Math.abs(n.y-i.y);if(a<=0||r<=0)continue;t=!0;let s=n.fijo?0:i.fijo?1:.5,o=1-s;if(r<=a){let t=n.y<=i.y?-1:1;n.y+=t*r*s,i.y-=t*r*o}else{let t=n.x<=i.x?-1:1;n.x+=t*a*s,i.x-=t*a*o}}if(!t)break}
1for(let t of P)t.x=Math.min(M-t.w/2-2,Math.max(t.w/2+2,t.x)),t.y=Math.min(z-5,Math.max(11,t.y));let[N,...D]=P,R=t=>(0,n.jsx)("rect",{x:A(t.x-t.w/2),y:A(t.y-9),width:A(t.w),height:12,rx:3,fill:"var(--surface-1, #0D1219)",opacity:.92});return(0,n.jsx)(m,{w:M,h:z,alt:l.claim.text,children:(0,n.jsxs)("g",{"data-red":"malla","data-aristas":a.length,"data-total":s,"data-centro":j,children:[L.map((t,l)=>(0,n.jsx)("path",{d:t.d,fill:"none",stroke:i,strokeWidth:1+5*t.f,opacity:.3+.6*t.f,strokeLinecap:"round","data-arista":"".concat(t.e.from,"→").concat(t.e.to)},l)),D.map((t,l)=>(0,n.jsxs)("g",{children:[R(t),(0,n.jsx)("text",{x:A(t.x),y:A(t.y),textAnchor:"middle",fontSize:"11",fill:o,fontFamily:k,children:t.texto})]},l)),b.map(t=>{let l=I.get(t),a=(t=>{let l=I.get(t),e=Math.cos(l.a),n=Math.sin(l.a);return .2>Math.abs(e)?{x:l.x,y:n<0?l.y-10:l.y+15,anchor:"middle"}:{x:e<0?l.x-8:l.x+8,y:l.y+4,anchor:e<0?"end":"start"}})(t);return(0,n.jsxs)("g",{children:[(0,n.jsx)("circle",{cx:A(l.x),cy:A(l.y),r:e?4:5,fill:i,"data-nodo":t}),(0,n.jsx)("text",{x:A(a.x),y:A(a.y),textAnchor:a.anchor,fontSize:"11",fill:r,fontFamily:k,children:p(d(t),e?8:15)})]},t)}),(0,n.jsx)("circle",{cx:W,cy:C,r:e?7:9,fill:"var(--surface-1, #0D1219)",stroke:i,strokeWidth:2,"data-nodo":j}),R(N),(0,n.jsx)("text",{x:W,y:A(N.y),textAnchor:"middle",fontSize:"11",fill:r,fontFamily:k,children:N.texto}),c&&(0,n.jsx)(w,{s:l,total:s})]})})}function C(t){var l,e;let{s:a}=t;return(0,n.jsx)(X,{texto:(0,i.tx)("ui.no_disponible",a.lang,{m:null!=(e=null!=(l=a.quality.warnings[0])?l:a.quality.limitations[0])?e:a.family})})}function X(t){let{texto:l}=t;return(0,n.jsx)("p",{style:{margin:0,fontSize:12.5,color:o},"data-insight-aviso":!0,children:l})}function T(t,l){let e=t.replace(/\s+/g," ").trim();if(e.length<=l)return[e];let n=[],i=e.split(" ");for(let t=0;t<i.length;t++){let l=i[t];/^[+\-−]?\d+([.,]\d+)?$/.test(l)&&t+1<i.length?(n.push("".concat(l," ").concat(i[t+1])),t++):n.push(l)}let a=[],r="";for(let t of n){let e=r?"".concat(r," ").concat(t):t;e.length<=l||!r?r=e:(a.push(r),r=t)}return r&&a.push(r),a}function _(t){let{x:l,cy:e,lineas:i,fs:a,lh:r,fill:o=s}=t,c=e-(i.length-1)*r/2+4;return(0,n.jsx)("text",{x:l,y:c,textAnchor:"end",fontSize:a,fill:o,fontFamily:k,children:i.map((t,e)=>(0,n.jsx)("tspan",{x:l,dy:e?r:0,children:t},e))})}let I={TRANSLATION:function(t){let{s:l,perfil:e,acento:a}=t,s=j(l.payload),f=v(s.effects),g=j(s.from),y=j(s.to),p=j(s.sample);if(!f.length)return(0,n.jsx)(C,{s:l});let b="COMPACT"===e,M=f.filter(t=>"pct_kept"===t.kind),F=f.filter(t=>"pct_kept"!==t.kind),A=b?[...F.slice(0,2),...M.slice(0,1)]:f,w=b?11:13,z=w+3,W=A.map(t=>T(String(t.label),b?15:18)),X=Math.max(1,...W.map(t=>t.length)),I=b?20:30,E=b?240:320,O=b?22:30,P=Math.max(I,X*z+8),L=O+A.length*P,N=b?96:124,D=b?50:66,R=h(A.filter(t=>"pct_kept"!==t.kind).map(t=>S(t.value)),!0),B=(0,i.tx)("ui.translation.muestra",l.lang,{j:null==p.jumps?null:(0,i.XX)(l.lang,S(p.jumps),0),p:null==p.players?null:(0,i.XX)(l.lang,S(p.players),0),t:null==p.seasons?"—":String(p.seasons)});return(0,n.jsxs)("div",{style:{display:"grid",gap:b?4:8},"data-etiquetas-enteras":!0,children:[(0,n.jsxs)(m,{w:E,h:L,alt:l.claim.text,children:[(0,n.jsxs)("text",{x:0,y:b?14:20,fontSize:b?13:17,fontWeight:800,fill:r,fontFamily:k,children:[String(g.label)," ",(0,n.jsx)("tspan",{fill:a,children:"→"})," ",String(y.label)]}),A.map((t,e)=>{var s;let h=O+e*P+P/2,f=S(t.value);if("pct_kept"===t.kind){let a=u([0,100],[N,E-D],0);return(0,n.jsxs)("g",{children:[(0,n.jsx)(_,{x:N-8,cy:h,lineas:W[e],fs:w,lh:z}),(0,n.jsx)("rect",{x:N,y:h-4,width:E-D-N,height:8,fill:c,rx:4}),null!==f&&(0,n.jsx)("rect",{x:N,y:h-4,width:Math.max(2,a(f)-N),height:8,fill:x,rx:4}),(0,n.jsx)("text",{x:E-D+8,y:h+4,fontSize:b?12:15,fontWeight:800,fill:r,fontFamily:k,children:null===f?"—":"".concat((0,i.XX)(l.lang,f,0)," %")})]},String(t.metric))}let g=u(R,[N,E-D],.04),m=g(0),y=null===f?m:Math.min(m,g(f)),p=null===f?m:Math.max(m,g(f));return(0,n.jsxs)("g",{children:[(0,n.jsx)(_,{x:N-8,cy:h,lineas:W[e],fs:w,lh:z}),(0,n.jsx)("line",{x1:m,x2:m,y1:h-I/2+4,y2:h+I/2-4,stroke:o}),null!==f&&(0,n.jsx)("rect",{x:y,y:h-5,width:Math.max(2,p-y),height:10,fill:f>=0?a:d,rx:3,opacity:.9}),(0,n.jsx)("text",{x:E-D+8,y:h+4,fontSize:b?12:15,fontWeight:800,fill:r,fontFamily:k,children:null===f?"—":"".concat((0,i.FE)(l.lang,f,null!=(s=S(t.decimals))?s:0)).concat(t.unit?" ".concat(String(t.unit)):"")})]},String(t.metric))})]}),(0,n.jsx)("p",{style:{margin:0,fontSize:b?11:12,lineHeight:1.35,color:o},"data-insight-incertidumbre":!0,children:B})]})},COMPARE:function(t){var l,e;let s,{s:d,perfil:f,acento:g,rotulaMetrica:y}=t,p=j(d.payload),b=v(p.sides),M=v(p.metrics);if(!b.length||!M.length)return(0,n.jsx)(C,{s:d});let F="COMPACT"===f,A=F?M.slice(0,1):M.slice(0,4),w=null!=(e=null==(l=d.measures.find(t=>{var l,e;
1return t.id===(null==(e=d.visualIntent)||null==(l=e.hero)?void 0:l.measureId)}))?void 0:l.metric)?e:null,z=F&&y&&A[0]&&(s=String(A[0].id),w&&w!==s&&w.replace(/_(diff|delta)$/,"")!==s.replace(/_(diff|delta)$/,"")&&("net_diff"!==w||"net_rating"!==s))?"".concat(String(A[0].label)).concat((0,a.Cf)(A[0].label,A[0].unit)?"":" \xb7 ".concat(String(A[0].unit))):null,W=F?11:13,X=W+3,I=b.map(t=>T(String(t.label),F?15:16)),E=Math.max(1,...I.map(t=>t.length)),O=F?22:34,P=F?240:320,L=Math.max(O,E*X+8),N=18*!F,D=N+A.length*(b.length*L+14),R=F?98:104,B=F?44:54,q=(0,n.jsx)(m,{w:P,h:D,alt:d.claim.text,children:A.map((t,l)=>{let e=b.map(l=>S(j(l.values)[String(t.id)])),s=h(e,!0),f=u(s,[R,P-B],.02),m=f(0),y=N+l*(b.length*L+14);return(0,n.jsxs)("g",{children:[!F&&(0,n.jsxs)("text",{x:0,y:y+12,fontSize:"12",fill:o,fontFamily:k,fontWeight:700,children:[String(t.label),(0,a.Cf)(t.label,t.unit)?"":" \xb7 ".concat(String(t.unit))]}),b.map((l,a)=>{var u,h;let p=e[a],j=y+16*!F+a*L+L/2,v="primary"===l.role||"intervention"===l.role?g:"baseline"===l.role?x:o,b=null===p?m:Math.min(m,f(p)),M=null===p?m:Math.max(m,f(p));return(0,n.jsxs)("g",{children:[(0,n.jsx)(_,{x:R-8,cy:j,lineas:I[a],fs:W,lh:X}),(0,n.jsx)("rect",{x:R,y:j-O/2+4,width:P-B-R,height:O-8,fill:c,rx:3}),null!==p&&(0,n.jsx)("rect",{x:b,y:j-O/2+4,width:Math.max(2,M-b),height:O-8,fill:v,rx:3,opacity:.9}),(0,n.jsx)("line",{x1:m,x2:m,y1:j-O/2+2,y2:j+O/2-2,stroke:o,strokeWidth:1}),(0,n.jsx)("text",{x:P-B+6,y:j+4,fontSize:F?13:15,fontWeight:800,fill:null===p?o:r,fontFamily:k,children:null===p?"—":s[0]<0?(0,i.FE)(d.lang,p,null!=(u=S(t.decimals))?u:1):(0,i.XX)(d.lang,p,null!=(h=S(t.decimals))?h:1)})]},String(l.id))})]},String(t.id))})});return z?(0,n.jsxs)("div",{"data-etiquetas-enteras":!0,children:[(0,n.jsx)("div",{"data-compare-metrica":!0,style:{fontFamily:k,fontSize:12,fontWeight:700,color:o,marginBottom:4},children:z}),q]}):(0,n.jsx)("div",{"data-etiquetas-enteras":!0,children:q})}},E={TREND:function(t){var l,e,a,r,s,d,y,M;let F,{s:A,perfil:w,acento:z,escueto:W}=t,X=j(A.payload),T=null!=(s=X.x)?s:[],_=v(X.series),I="COMPACT"===w,E=null!=(d=null==(l=A.measures.find(t=>{var l,e;return t.id===(null==(e=A.visualIntent)||null==(l=e.hero)?void 0:l.measureId)}))?void 0:l.metric)?d:null==(e=_[0])?void 0:e.metric,O=_.filter(t=>t.metric===E).slice(0,1),P=String(null!=(y=null==(r=A.visualIntent)||null==(a=r.hero)?void 0:a.measureId)?y:""),L=/^ult_/.test(P)?P.slice(4):null,N=I||W&&O.length?O:_.slice(0,4);if(!T.length||!N.length)return(0,n.jsx)(C,{s:A});let D=I?240:320,R=I?72:220,B=I?6:36,q=I?6:12,V=I?8:18,H=I?8:30,$=h(N.flatMap(t=>{var l;return null!=(l=t.values)?l:[]})),U=u([0,Math.max(1,T.length-1)],[B,D-q],0),K=u($,[R-H,V]),Z=I?[]:g($,4),G=v(X.markers),J=null!=(M=j(X.labels).x)?M:T,Q=Math.min(12,Math.max(1,...T.map((t,l)=>{var e;return String(null!=(e=J[l])?e:t).length}))),Y=I?2:Math.max(2,Math.min(5,Math.floor(46/(Q+2)))),tt=Math.max(1,Math.ceil(T.length/Y));return(0,n.jsxs)(m,{w:D,h:R,alt:A.claim.text,children:[Z.map(t=>(0,n.jsxs)("g",{children:[(0,n.jsx)("line",{x1:B,x2:D-q,y1:K(t),y2:K(t),stroke:c}),(0,n.jsx)("text",{x:B-6,y:K(t)+4,textAnchor:"end",fontSize:"11",fill:o,fontFamily:k,"data-eje":!0,children:(0,i.XX)(A.lang,t,t%1?1:0)})]},t)),!I&&T.map((t,l)=>{var e;return(l%tt==0&&l<T.length-1-Math.floor(tt/2)||l===T.length-1)&&(0,n.jsx)("text",{x:U(l),y:R-H+16,textAnchor:0===l?"start":l===T.length-1?"end":"middle",fontSize:"11",fill:o,fontFamily:k,children:p(null!=(e=J[l])?e:t,12)},t+l)}),!I&&(F=-1/0,G.map((t,l)=>{let e=T.indexOf(String(t.x));if(e<0)return null;let i=U(e),a=p(String(t.label),16),r=i-F>6.2*a.length+10;return r&&(F=i),(0,n.jsxs)("g",{children:[(0,n.jsx)("line",{x1:i,x2:i,y1:V,y2:R-H,stroke:x,strokeDasharray:"3 3",opacity:.8}),(!W||G.length<=3)&&r&&(0,n.jsx)("text",{x:i+4,y:V+10,fontSize:"11",fill:x,fontFamily:k,children:a})]},l)})),N.map((t,l)=>{var e;let a=null!=(e=t.values)?e:[],r=a.map((t,l)=>({x:U(l),y:null===t?null:K(t)})),s=0===l?z:b[l%b.length],o=[...a].map((t,l)=>[t,l]).reverse().find(t=>{let[l]=t;return null!==l});return(0,n.jsxs)("g",{children:[0===l&&!I&&(0,n.jsx)("path",{d:"".concat(f(r)).concat(o?"L".concat(U(o[1]).toFixed(1)," ").concat(R-H,"L").concat(U(r.findIndex(t=>null!==t.y)).toFixed(1)," ").concat(R-H,"Z"):""),fill:s,opacity:.08}),(0,n.jsx)("path",{d:f(r),fill:"none",stroke:s,strokeWidth:0===l?2.5:1.5,strokeLinejoin:"round",strokeLinecap:"round",opacity:0===l?1:.75}),r.map((t,l)=>{var e,i;return null!==t.y&&(l===(null!=(e=null==o?void 0:o[1])?e:-1)||!I)&&(0,n.jsx)("circle",{cx:t.x,cy:t.y,r:l===(null!=(i=null==o?void 0:o[1])?i:-1)?3.5:2,fill:s},l)}),o&&null!==o[0]&&String(t.id)!==L&&(()=>{var l;let e=K(o[0])-8>=(I?12:13),a=U(o[1])>D-60;return(0,n.jsxs)("text",{x:a?U(o[1]):Math.min(U(o[1])+6,D-2),y:a?e?K(o[0])-8:K(o[0])+(I?15:17):K(o[0])+4,fontSize:I?12:13,fontWeight:700,fill:s,fontFamily:k,textAnchor:a?"end":"start",...a&&!e?{paintOrder:"stroke",stroke:"var(--surface-1, #0D1219)",strokeWidth:3,strokeLinejoin:"round"}:{},children:[(0,i.XX)(A.lang,o[0],null!=(l=S(t.decimals))?l:1),I?"":" ".concat(p(String(t.label),14))]})})()]},String(t.id))})]})},COMPARE:function(t){var l,e;let d,{s:f,perfil:g,acento:y,rotulaMetrica:b}=t,M=j(f.payload),F=v(M.sides),A=v(M.metrics);if(!F.length||!A.length)return(0,n.jsx)(C,{s:f});
1let w="COMPACT"===g,z=w?A.slice(0,1):A.slice(0,4),W=null!=(e=null==(l=f.measures.find(t=>{var l,e;return t.id===(null==(e=f.visualIntent)||null==(l=e.hero)?void 0:l.measureId)}))?void 0:l.metric)?e:null,X=w&&b&&z[0]&&(d=String(z[0].id),W&&W!==d&&W.replace(/_(diff|delta)$/,"")!==d.replace(/_(diff|delta)$/,"")&&("net_diff"!==W||"net_rating"!==d))?"".concat(String(z[0].label)).concat((0,a.Cf)(z[0].label,z[0].unit)?"":" \xb7 ".concat(String(z[0].unit))):null,T=w?240:320,_=w?22:34,I=18*!w,E=I+z.length*(F.length*_+14),O=w?98:104,P=w?44:54,L=(0,n.jsx)(m,{w:T,h:E,alt:f.claim.text,children:z.map((t,l)=>{let e=F.map(l=>S(j(l.values)[String(t.id)])),d=h(e,!0),g=u(d,[O,T-P],.02),m=g(0),v=I+l*(F.length*_+14);return(0,n.jsxs)("g",{children:[!w&&(0,n.jsxs)("text",{x:0,y:v+12,fontSize:"12",fill:o,fontFamily:k,fontWeight:700,style:{textTransform:"uppercase",letterSpacing:".08em"},children:[String(t.label),(0,a.Cf)(t.label,t.unit)?"":" \xb7 ".concat(String(t.unit))]}),F.map((l,a)=>{var u,h;let j=e[a],b=v+16*!w+a*_,M="primary"===l.role||"intervention"===l.role?y:"baseline"===l.role?x:o,F=null===j?m:Math.min(m,g(j)),A=null===j?m:Math.max(m,g(j));return(0,n.jsxs)("g",{children:[(0,n.jsx)("text",{x:O-8,y:b+_/2+4,textAnchor:"end",fontSize:w?11:13,fill:s,fontFamily:k,children:p(String(l.label),w?15:16)}),(0,n.jsx)("rect",{x:O,y:b+4,width:T-P-O,height:_-8,fill:c,rx:3}),null!==j&&(0,n.jsx)("rect",{x:F,y:b+4,width:Math.max(2,A-F),height:_-8,fill:M,rx:3,opacity:.9}),(0,n.jsx)("line",{x1:m,x2:m,y1:b+2,y2:b+_-2,stroke:o,strokeWidth:1}),(0,n.jsx)("text",{x:T-P+6,y:b+_/2+4,fontSize:w?13:15,fontWeight:800,fill:null===j?o:r,fontFamily:k,children:null===j?"—":d[0]<0?(0,i.FE)(f.lang,j,null!=(u=S(t.decimals))?u:1):(0,i.XX)(f.lang,j,null!=(h=S(t.decimals))?h:1)})]},String(l.id))})]},String(t.id))})});return X?(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{"data-compare-metrica":!0,style:{fontFamily:k,fontSize:11,fontWeight:700,color:o,textTransform:"uppercase",letterSpacing:".06em",marginBottom:4},children:X}),L]}):L},DISTRIBUTION:function(t){let{s:l,perfil:e,acento:a}=t,x=v(j(l.payload).axes);if(!x.length)return(0,n.jsx)(C,{s:l});let d="COMPACT"===e,h=d?[...x].sort((t,l)=>{var e,n;return(null!=(e=S(l.percentile))?e:0)-(null!=(n=S(t.percentile))?n:0)}).slice(0,3):x,f=d?240:320,g=d?18:30,y=h.length*g+6,b=d?64:92,M=d?34:96,F=u([0,100],[b,f-M],0);return(0,n.jsxs)(m,{w:f,h:y,alt:l.claim.text,children:[!d&&[25,50,75].map(t=>(0,n.jsx)("line",{x1:F(t),x2:F(t),y1:0,y2:y,stroke:c,strokeDasharray:"2 3"},t)),h.map((t,e)=>{var x;let u=e*g,h=S(t.percentile),m=null===h?o:h>=80?a:h>=50?s:o;return(0,n.jsxs)("g",{children:[(0,n.jsx)("text",{x:b-8,y:u+g/2+4,textAnchor:"end",fontSize:d?11:13,fill:s,fontFamily:k,children:p(String(t.label),d?9:14)}
1),(0,n.jsx)("rect",{x:b,y:u+g/2-3,width:f-M-b,height:6,fill:c,rx:3}),null!==h&&(0,n.jsx)("rect",{x:b,y:u+g/2-3,width:Math.max(2,F(h)-b),height:6,fill:m,rx:3}),null!==h&&(0,n.jsx)("circle",{cx:F(h),cy:u+g/2,r:d?4:6,fill:m,stroke:"var(--surface-1, #0D1219)",strokeWidth:2}),(0,n.jsxs)("text",{x:f-M+8,y:u+g/2+4,fontSize:d?12:14,fontWeight:800,fill:r,fontFamily:k,children:[null===h?"—":"P".concat((0,i.XX)(l.lang,h,0)),d||null==t.value?null:(0,n.jsxs)("tspan",{fill:o,fontWeight:400,children:[" \xb7 ",(0,i.XX)(l.lang,S(t.value),null!=(x=S(t.decimals))?x:1)]})]})]},String(t.id))})]})},COMPOSITION:function(t){let{s:l,perfil:e,acento:a}=t,r=v(j(l.payload).parts);if(!r.length)return(0,n.jsx)(C,{s:l});let c="COMPACT"===e,x=c?240:320,d=c?14:28,u=0,h=(t,l)=>{var e;return null!=(e=t.color)?e:0===l?a:b[l%b.length]},f=(0,n.jsx)(m,{w:x,h:d,alt:l.claim.text,children:r.map((t,e)=>{var a;let r=null!=(a=S(t.share))?a:0,s=r*x,o=u;return u+=s,(0,n.jsxs)("g",{children:[(0,n.jsx)("rect",{x:o,y:0,width:Math.max(0,s-1),height:d,fill:h(t,e),opacity:.9}),s>40&&(0,n.jsxs)("text",{x:o+s/2,y:d/2+4,textAnchor:"middle",fontSize:c?11:12,fontWeight:700,fill:"#0A0D12",fontFamily:k,children:[(0,i.XX)(l.lang,100*r,0)," %"]})]},String(t.id))})});return c?f:(0,n.jsxs)("div",{style:{display:"grid",gap:10},children:[f,(0,n.jsx)("ul",{style:{margin:0,padding:0,listStyle:"none",display:"flex",flexWrap:"wrap",gap:"6px 16px"},children:r.map((t,e)=>(0,n.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:6,fontFamily:k,fontSize:13,color:s,minWidth:0},children:[(0,n.jsx)("span",{"aria-hidden":!0,style:{width:10,height:10,borderRadius:2,background:h(t,e),flex:"none"}}),(0,n.jsx)("span",{children:String(t.label)}),null!=t.value&&(0,n.jsxs)("span",{style:{color:o},children:[(0,i.XX)(l.lang,S(t.value),0),t.unit?" ".concat(String(t.unit)):""]})]},String(t.id)))})]})},SPATIAL:function(t){var l,e,a,c,x,h,f,g,y,b,M,F,A,w;let{s:z,perfil:W,acento:T}=t,_=j(z.payload),I=j(_.geometry),E=v(_.points),O=v(_.zones);if(!0!==I.accredited&&E.length)return(0,n.jsx)(X,{texto:(0,i.tx)("ui.geometria",z.lang)});let P="COMPACT"===W,L=I.court?j(I.court):null;if(!E.length||!L){if(!O.length)return(0,n.jsx)(C,{s:z});let t=P?240:320,l=P?16:26,e=O.length*l,a=u([0,Math.max(...O.map(t=>{var l;return null!=(l=S(t.pct))?l:0}),1)],[92,t-52],.02);return(0,n.jsx)(m,{w:t,h:e,alt:z.claim.text,children:O.map((e,o)=>{var c;return(0,n.jsxs)("g",{children:[(0,n.jsx)("text",{x:86,y:o*l+l/2+4,textAnchor:"end",fontSize:"11",fill:s,fontFamily:k,children:p(String(e.label),13)}),(0,n.jsx)("rect",{x:92,y:o*l+5,width:Math.max(2,a(null!=(c=S(e.pct))?c:0)-92),height:l-10,fill:T,rx:3}),(0,n.jsx)("text",{x:t-48,y:o*l+l/2+4,fontSize:"13",fontWeight:800,fill:r,fontFamily:k,children:null==e.pct?"—":"".concat((0,i.XX)(z.lang,S(e.pct),1)," %")})]},String(e.id))})})}let N={ancho:null!=(l=S(L.ancho_pista))?l:15.24,fondo:null!=(e=S(L.aro_desde_fondo))?e:1.575,zonaAncho:null!=(a=S(L.zona_ancho))?a:4.9,zonaFondo:null!=(c=S(L.zona_fondo))?c:5.8,circulo:null!=(x=S(L.circulo_tl))?x:1.8,noCarga:null!=(h=S(L.no_carga))?h:1.25,aro:null!=(f=S(L.aro_radio))?f:.23,tablero:null!=(g=S(L.tablero_ancho))?g:1.8,tableroFondo:null!=(y=S(L.tablero_desde_fondo))?y:1.2,arco:null!=(b=S(L.arco))?b:7.24,esquina:null!=(M=S(L.esquina))?M:6.7,origen:null!=(F=S(L.origen_linea))?F:0,union:null!=(A=S(L.union))?A:2.7},[D,R]=null!=(w=I.y)?w:[-N.fondo,11],B=P?Math.min(R,N.arco+N.origen+1.2):R,q=P?240:320,V=q/N.ancho,H=(B-D)*V,$=t=>
1(t+N.ancho/2)*V,U="rgba(154,168,186,.42)",K=E.filter(t=>{var l;return(null!=(l=S(t.y))?l:0)<=B}),Z=P?1.7:2.6,G=(0,n.jsxs)(m,{w:q,h:H,alt:z.claim.text,children:[(0,n.jsx)("rect",{x:0,y:0,width:q,height:H,fill:"rgba(255,255,255,.025)",rx:6}),(0,n.jsx)("rect",{x:$(-N.zonaAncho/2),y:(B-(N.zonaFondo-N.fondo))*V,width:N.zonaAncho*V,height:N.zonaFondo*V,fill:"rgba(255,255,255,.022)",stroke:U,strokeWidth:1.2}),(0,n.jsx)("circle",{cx:$(0),cy:(B-(N.zonaFondo-N.fondo))*V,r:N.circulo*V,fill:"none",stroke:U,strokeWidth:1.2}),(0,n.jsx)("path",{d:"M ".concat($(-N.noCarga)," ").concat((B-0)*V," A ").concat(N.noCarga*V," ").concat(N.noCarga*V," 0 0 1 ").concat($(N.noCarga)," ").concat((B-0)*V),fill:"none",stroke:U,strokeWidth:1,opacity:.75}),(0,n.jsx)("path",{d:"M ".concat($(-N.esquina)," ").concat((B-D)*V," L ").concat($(-N.esquina)," ").concat((B-(N.union+N.origen))*V," A ").concat(N.arco*V," ").concat(N.arco*V," 0 0 1 ").concat($(N.esquina)," ").concat((B-(N.union+N.origen))*V," L ").concat($(N.esquina)," ").concat((B-D)*V),fill:"none",stroke:U,strokeWidth:1.4}),(0,n.jsx)("line",{x1:$(-N.tablero/2),y1:(B- -(N.fondo-N.tableroFondo))*V,x2:$(N.tablero/2),y2:(B- -(N.fondo-N.tableroFondo))*V,stroke:o,strokeWidth:2}),(0,n.jsx)("circle",{cx:$(0),cy:(B-0)*V,r:N.aro*V,fill:"none",stroke:"#C47A45",strokeWidth:1.8}),K.map((t,l)=>{var e,i;return(0,n.jsx)("circle",{cx:$(null!=(e=S(t.x))?e:0),cy:(B-(null!=(i=S(t.y))?i:0))*V,r:Z,fill:!0===t.made?T:"none",stroke:!0===t.made?"none":d,strokeWidth:P?.9:1.2,opacity:!0===t.made?.9:.8},l)})]});return P?G:(0,n.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:12,alignItems:"flex-start"},children:[(0,n.jsxs)("div",{style:{flex:"2 1 220px",maxWidth:360,minWidth:0},children:[G,(0,n.jsxs)("div",{style:{marginTop:6,display:"flex",gap:14,alignItems:"center",flexWrap:"wrap",fontFamily:k,fontSize:13,color:o},children:[(0,n.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:5},children:[(0,n.jsx)("span",{"aria-hidden":!0,style:{width:9,height:9,borderRadius:99,background:T,display:"inline-block"}}),(0,i.tx)("ui.spatial.anotado",z.lang)]}),(0,n.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:5},children:[(0,n.jsx)("span",{"aria-hidden":!0,style:{width:9,height:9,borderRadius:99,border:"1.5px solid ".concat(d),display:"inline-block"}}),(0,i.tx)("ui.spatial.fallado",z.lang)]})]})]}),O.length>0&&(0,n.jsx)("ul",{style:{margin:0,padding:0,listStyle:"none",display:"grid",gap:6,flex:"1 1 180px",minWidth:0},children:O.slice(0,6).map(t=>{var l;return(0,n.jsxs)("li",{style:{display:"flex",alignItems:"baseline",gap:8,fontFamily:k,fontSize:13,color:s,lineHeight:1.2},children:[(0,n.jsxs)("span",{style:{color:r,fontWeight:800,fontSize:17,minWidth:64},children:[null==t.pct?"—":"".concat((0,i.XX)(z.lang,S(t.pct),1)),(0,n.jsx)("span",{style:{fontSize:13,fontWeight:500},children:" %"})]}),(0,n.jsx)("span",{style:{flex:1},children:String(t.label)}),(0,n.jsxs)("span",{style:{color:o,whiteSpace:"nowrap"},children:[null==t.attempts?"":(0,i.XX)(z.lang,S(t.attempts),0),null!=t.share?" \xb7 ".concat((0,i.XX)(z.lang,(null!=(l=S(t.share))?l:0)*100,0)," %"):""]})]},String(t.id))})})]})},RELATIONSHIP:function(t){var l,e,s,x,d;let{s:f,perfil:g,acento:y}=t,p=j(f.payload),b=v(p.points),M=j(p.x),F=j(p.y);if(!b.length)return(0,n.jsx)(C,{s:f});let A="COMPACT"===g,w=A?240:320,z=A?120:260,W=A?28:44,X=A?18:30,T=h(b.map(t=>S(t.x))),_=h(b.map(t=>S(t.y))),I=u(T,[W,w-12]),E=u(_,[z-X,10]),O=(M.unit,1),P=b[0],L=null!=(l=b.find(t=>!0===t.highlight))?l:null;return(0,n.jsxs)(m,{w:w,h:z,alt:f.claim.text,children:[(0,n.jsx)("line",{x1:W,x2:w-12,y1:z-X,y2:z-X,stroke:c}),(0,n.jsx)("line",{x1:W,x2:W,y1:10,y2:z-X,stroke:c}),!A&&(0,n.jsxs)("g",{children:[(0,n.jsx)("text",{x:W,y:z-X+13,textAnchor:"start",fontSize:"11",fill:o,fontFamily:k,"data-eje":!0,children:(0,i.XX)(f.lang,T[0],O)}),(0,n.jsx)("text",{x:w-12,y:z-X+13,textAnchor:"end",fontSize:"11",fill:o,fontFamily:k,"data-eje":!0,children:(0,i.XX)(f.lang,T[1],O)}),(0,n.jsx)("text",{x:W-4,y:z-X,textAnchor:"end",fontSize:"11",fill:o,fontFamily:k,"data-eje":!0,children:(0,i.XX)(f.lang,_[0],1)}),(0,n.jsx)("text",{x:W-4,y:14,textAnchor:"end",fontSize:"11",fill:o,fontFamily:k,"data-eje":!0,children:(0,i.XX)(f.lang,_[1],1)})]}),(0,n.jsxs)("text",{x:(W+w-12)/2,y:z-X+(A?14:26),textAnchor:"middle",fontSize:"11",fill:o,fontFamily:k,children:[String(null!=(e=M.label)?e:""),A||!M.unit||(0,a.Cf)(M.label,M.unit)?"":" (".concat(String(M.unit),")")]}),(0,n.jsx)("text",{x:A?W-4:10,y:(10+z-X)/2,textAnchor:"middle",fontSize:"11",fill:o,fontFamily:k,transform:"rotate(-90 ".concat(A?W-4:10," ").concat((10+z-X)/2,")"),children:String(null!=(s=F.label)?s:"")}),b.map((t,l)=>{var e,i,a,s;let c=!0===t.highlight;return(0,n.jsxs)("g",{children:[(0,n.jsx)("circle",{cx:I(null!=(e=S(t.x))?e:0),cy:E(null!=(i=S(t.y))?i:0),r:c?6:3,fill:c?y:o,opacity:c?1:.5}),c&&(0,n.jsx)("text",{x:I(null!=(a=S(t.x))?a:0)+8,y:E(null!=(s=S(t.y))?s:0)+4,fontSize:"12",fontWeight:700,fill:r,fontFamily:k,children:String(t.label)})]},l)}),!A&&P&&P!==L&&(0,n.jsxs)("text",{x:I(null!=(x=S(P.x))?x:0)+6,y:E(null!=(d=S(P.y))?d:0)-6,fontSize:"11",fill:o,fontFamily:k,children:[String(P.label)," \xb7 ",(0,i.tx)("ui.relationship.inicio",f.lang)]})]})},NETWORK:function(t){var l,e,a,r;let{s,perfil:o,acento:c}=t,x=j(s.payload),d=v(x.nodes),u=v(x.edges);if(d.length<2)return(0,n.jsx)(C,{s:s}
1);let h="COMPACT"===o,f=new Set(d.map(t=>String(t.id))),g=[...u].sort((t,l)=>{var e,n;return(null!=(e=S(l.weight))?e:0)-(null!=(n=S(t.weight))?n:0)}).map(t=>{var l;return{from:String(t.from),to:String(t.to),peso:null!=(l=S(t.weight))?l:0}}).filter(t=>f.has(t.from)&&f.has(t.to));if(!g.length)return(0,n.jsx)(C,{s:s});let m=g.slice(0,h?4:16),y=Math.max(...m.map(t=>t.peso),1),p=null!=(r=null!=(a=S(null==(l=s.measures.find(t=>"max_edge_weight"===t.metric))?void 0:l.decimals))?a:S(null==(e=s.measures[0])?void 0:e.decimals))?r:1,b=M(m),k=m.length<g.length&&!(h&&M(g)),F={s,compacto:h,acento:c,orden:m,total:g.length,nota:k,maxW:y,etiqueta:t=>{var l,e;return String(null!=(e=null==(l=d.find(l=>l.id===t))?void 0:l.label)?e:t)},peso:t=>(0,i.XX)(s.lang,t.peso,p)};return b?(0,n.jsx)(z,{...F,centro:b}):(0,n.jsx)(W,{...F})},FINGERPRINT:function(t){let{s:l,perfil:e,acento:a}=t,x=v(j(l.payload).axes);if(x.length<3)return(0,n.jsx)(C,{s:l});let d="COMPACT"===e,u=d?240:320,h=d?150:236,f=u/2,g=h/2,y=d?46:74,b=t=>2*Math.PI*t/x.length-Math.PI/2,M=(t,l)=>({x:f+y*l*Math.cos(b(t)),y:g+y*l*Math.sin(b(t))}),F=x.map((t,l)=>{let e=(t=>{let l=S(t.percentile);if(null!==l)return l/100;let e=t.rank?j(t.rank):null;return e&&null!==S(e.pos)&&S(e.total)?1-(S(e.pos)-1)/Math.max(1,S(e.total)-1):null})(t);return null===e?null:M(l,Math.max(.03,e))}),A=F.map((t,l)=>t?"".concat(0===l||!F[l-1]?"M":"L").concat(t.x.toFixed(1)," ").concat(t.y.toFixed(1)):"").join("")+"Z",w=t=>{let e=t.rank?j(t.rank):null,n=S(t.percentile);return e?(0,i.tx)("ui.puesto_de",l.lang,{pos:String(e.pos),tot:String(e.total)}):null!==n?"P".concat((0,i.XX)(l.lang,n,0)):null},z=(0,n.jsxs)(m,{w:u,h:h,alt:l.claim.text,children:[[.25,.5,.75,1].map(t=>(0,n.jsx)("polygon",{points:x.map((l,e)=>{let n=M(e,t);return"".concat(n.x,",").concat(n.y)}).join(" "),fill:"none",stroke:c},t)),x.map((t,l)=>{let e=M(l,1);return(0,n.jsx)("line",{x1:f,y1:g,x2:e.x,y2:e.y,stroke:c},l)}),(0,n.jsx)("path",{d:A,fill:a,opacity:.22,stroke:a,strokeWidth:2,strokeLinejoin:"round"}),F.map((t,l)=>t&&(0,n.jsx)("circle",{cx:t.x,cy:t.y,r:3,fill:a},l)),x.map((t,l)=>{let e=M(l,d?1.28:1.2);return(0,n.jsx)("text",{x:e.x,y:e.y+4,textAnchor:6>Math.abs(e.x-f)?"middle":e.x<f?"end":"start",fontSize:d?11:13,fill:s,fontFamily:k,children:p(String(t.label),d?11:14)},String(t.id))})]});return d?z:(0,n.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:12,alignItems:"center"},children:[(0,n.jsx)("div",{style:{flex:"2 1 240px",maxWidth:360,minWidth:0},children:z}),(0,n.jsx)("ul",{style:{margin:0,padding:0,listStyle:"none",display:"grid",gap:6,flex:"1 1 200px",minWidth:0},children:x.slice(0,8).map(t=>{var e;return(0,n.jsxs)("li",{style:{display:"flex",alignItems:"baseline",gap:8,fontFamily:k,fontSize:13,color:s,lineHeight:1.2},children:[(0,n.jsxs)("span",{style:{color:r,fontWeight:800,fontSize:17,minWidth:64},children:[null==t.value?"—":(0,i.XX)(l.lang,S(t.value),null!=(e=S(t.decimals))?e:1),t.unit?(0,n.jsxs)("span",{style:{fontSize:12,fontWeight:500},children:[" ",String(t.unit)]}):null]}),(0,n.jsxs)("span",{style:{flex:1},children:[String(t.label),t.sample?(0,n.jsx)("span",{style:{display:"block",fontSize:12,color:o,marginTop:2},"data-insight-muestra":"",children:String(t.sample)}):null]}),w(t)&&(0,n.jsx)("span",{style:{color:o,whiteSpace:"nowrap"},children:w(t)})]},String(t.id))})})]})},TRANSLATION:function(t){let{s:l,perfil:e,acento:a}=t,f=j(l.payload),g=v(f.effects),y=j(f.from),b=j(f.to),M=j(f.sample);if(!g.length)return(0,n.jsx)(C,{s:l});let F="COMPACT"===e,A=g.filter(t=>"pct_kept"===t.kind),w=g.filter(t=>"pct_kept"!==t.kind),z=F?[...w.slice(0,2),...A.slice(0,1)]:g,W=F?240:320,X=F?22:30,T=F?20:30,_=X+z.length*T,I=F?96:124,E=F?50:66,O=h(z.filter(t=>"pct_kept"!==t.kind).map(t=>S(t.value)),!0),P=(0,i.tx)("ui.translation.muestra",l.lang,{j:null==M.jumps?null:(0,i.XX)(l.lang,S(M.jumps),0),p:null==M.players?null:(0,i.XX)(l.lang,S(M.players),0),t:null==M.seasons?"—":String(M.seasons)});return(0,n.jsxs)("div",{style:{display:"grid",gap:F?4:8},children:[(0,n.jsxs)(m,{w:W,h:_,alt:l.claim.text,children:[(0,n.jsxs)("text",{x:0,y:F?14:20,fontSize:F?13:17,fontWeight:800,fill:r,fontFamily:k,children:[p(String(y.label),F?14:18)," ",(0,n.jsx)("tspan",{fill:a,children:"→"})," ",p(String(b.label),F?14:18)]}),z.map((t,e)=>{var h;let f=X+e*T,g=S(t.value);if("pct_kept"===t.kind){let e=u([0,100],[I,W-E],0);return(0,n.jsxs)("g",{children:[(0,n.jsx)("text",{x:I-8,y:f+T/2+4,textAnchor:"end",fontSize:F?11:13,fill:s,fontFamily:k,children:p(String(t.label),F?13:16)}),(0,n.jsx)("rect",{x:I,y:f+T/2-4,width:W-E-I,height:8,fill:c,rx:4}),null!==g&&(0,n.jsx)("rect",{x:I,y:f+T/2-4,width:Math.max(2,e(g)-I),height:8,fill:x,rx:4}),(0,n.jsx)("text",{x:W-E+8,y:f+T/2+4,fontSize:F?12:15,fontWeight:800,fill:r,fontFamily:k,children:null===g?"—":"".concat((0,i.XX)(l.lang,g,0)," %")})]},String(t.metric))}let m=u(O,[I,W-E],.04),y=m(0),j=null===g?y:Math.min(y,m(g)),v=null===g?y:Math.max(y,m(g));return(0,n.jsxs)("g",{children:[(0,n.jsx)("text",{x:I-8,y:f+T/2+4,textAnchor:"end",fontSize:F?11:13,fill:s,fontFamily:k,children:p(String(t.label),F?13:16)}),(0,n.jsx)("line",{x1:y,x2:y,y1:f+4,y2:f+T-4,stroke:o}),null!==g&&(0,n.jsx)("rect",{x:j,y:f+T/2-5,width:Math.max(2,v-j),height:10,fill:g>=0?a:d,rx:3,opacity:.9}),(0,n.jsx)("text",{x:W-E+8,y:f+T/2+4,fontSize:F?12:15,fontWeight:800,fill:r,fontFamily:k,children:null===g?"—":"".concat((0,i.FE)(l.lang,g,null!=(h=S(t.decimals))?h:0)).concat(t.unit?" ".concat(String(t.unit)):"")})]},String(t.metric))})]}),(0,n.jsx)("p",{style:{margin:0,fontSize:F?11:12,lineHeight:1.35,color:o},"data-insight-incertidumbre":!0,children:P})]})},OUTLOOK:function(t){var l,e;let{s:f,perfil:y,acento:b}=t,M=j(f.payload),F=j(M.point),A=M.range?j(M.range):null,w=M.baseline?j(M.baseline):null,z=v(M.sides),W=S(F.value);if(null===W)return(0,n.jsx)(C,{s:f});let X="COMPACT"===y,T=S(null==A?void 0:A.low),_=S(null==A?void 0:A.high),I=S(null==w?void 0:w.value),E=X?240:320,O=X?30:60,P=O+44,L=O+(null!==I?62:44),N=X?64:L+12+26*z.length,D=h([W,T,_,I,...z.flatMap(t=>[S(t.value),S(t.low),S(t.high)])]),R=u(D,[24,E-24]),B=null!=(l=S(F.decimals))?l:1,q=(t,l)=>Math.min(E-24-l,Math.max(24+l,t)),V=null!==T&&null!==_?(null==A?void 0:A.level)?(0,i.tx)("ui.outlook.rango",f.lang,{l:String(A.level)}):null:(0,i.tx)("ui.outlook.sin_rango",f.lang);return(0,n.jsxs)(m,{w:E,h:N,alt:f.claim.text,children:[(0,n.jsx)("line",{x1:24,x2:E-24,y1:O,y2:O,stroke:c,strokeWidth:2}),!X&&g(D,5).map(t=>(0,n.jsxs)("g",{children:[(0,n.jsx)("line",{x1:R(t),x2:R(t),y1:O-4,y2:O+4,stroke:o}),(0,n.jsx)("text",{x:R(t),y:O+20,textAnchor:"middle",fontSize:"11",fill:o,fontFamily:k,"data-eje":!0,children:(0,i.XX)(f.lang,t,t%1?1:0)})]},t)),null!==T&&null!==_&&(0,n.jsx)("rect",{x:R(T),y:O-(X?8:12),width:Math.max(2,R(_)-R(T)),height:X?16:24,fill:b,opacity:.22,rx:4}),null!==T&&null!==_&&!X&&(0,n.jsxs)("g",{children:[(0,n.jsx)("text",{x:q(R(T),14),y:O-18,textAnchor:"middle",fontSize:"12",fill:s,fontFamily:k,children:(0,i.XX)(f.lang,T,B)}),(0,n.jsx)("text",{x:q(R(_),14),y:O-18,textAnchor:"middle",fontSize:"12",fill:s,fontFamily:k,children:(0,i.XX)(f.lang,_,B)})]}),null!==I&&(0,n.jsxs)("g",{children:[(0,n.jsx)("line",{x1:R(I),x2:R(I),y1:O-(X?12:14),y2:O+(X?12:14),stroke:x,strokeWidth:2,strokeDasharray:"4 3"}),!X&&(0,n.jsxs)("text",{x:q(R(I),60),y:P,textAnchor:"middle",fontSize:"11",fill:x,fontFamily:k,children:[p(String(null!=(e=null==w?void 0:w.label)?e:""),26)," ",(0,i.XX)(f.lang,I,B)]})]}),(0,n.jsx)("circle",{cx:R(W),cy:O,r:X?7:10,fill:b,stroke:"var(--surface-1, #0D1219)",strokeWidth:3}),(0,n.jsxs)("text",{x:q(R(W),30),y:X?O-12:O-34,textAnchor:"middle",fontSize:X?15:26,fontWeight:900,fill:r,fontFamily:k,children:[(0,i.XX)(f.lang,W,B),!F.unit||X||(0,a.Cf)(F.label,F.unit)?null:(0,n.jsxs)("tspan",{fontSize:"13",fontWeight:500,fill:s,children:[" ",
1String(F.unit)]})]}),!X&&V&&(0,n.jsx)("text",{x:null!==T&&null!==_?q((R(T)+R(_))/2,40):E/2,y:L,textAnchor:"middle",fontSize:"11",fill:o,fontFamily:k,children:V}),!X&&z.map((t,l)=>{let e=L+22+26*l,a=S(t.value),r=S(t.low),o=S(t.high),c="intervention"===t.role?d:"baseline"===t.role?x:s;return(0,n.jsxs)("g",{children:[null!==r&&null!==o&&(0,n.jsx)("rect",{x:R(r),y:e-5,width:Math.max(2,R(o)-R(r)),height:10,fill:c,opacity:.2,rx:3}),null!==a&&(0,n.jsx)("circle",{cx:R(a),cy:e,r:5,fill:c}),(0,n.jsxs)("text",{x:24,y:e+4,fontSize:"11",fill:c,fontFamily:k,children:[(0,i.tx)("intervention"===t.role?"ui.intervention":"baseline"===t.role?"ui.baseline":"ui.lectura",f.lang)," \xb7 ",String(t.label)]})]},String(t.id))})]})},STORY:function(t){var l,e,a;let{s:d,perfil:g,acento:y}=t,p=j(d.payload),b=v(p.events);if(!b.length)return(0,n.jsx)(C,{s:d});let M="COMPACT"===g,F=p.curve?j(p.curve):null,A=v(p.periods),w=b.filter(t=>null!==S(t.minute)),z=null!=(l=b.find(t=>!0===t.turning))?l:null,W=F?(null!=(e=F.x)?e:[]).map(t=>S(t)):[],X=F?(null!=(a=F.values)?a:[]).map(t=>S(t)):[],T=W.length>=2&&W.length===X.length,_=T||w.length>=2,I=[...z?[z]:[],...b.filter(t=>"runs"===t.kind).sort((t,l)=>{var e,n;return(null!=(e=S(l.value))?e:0)-(null!=(n=S(t.value))?n:0)}).filter(t=>t!==z)],E=M?I.slice(0,2):I.slice(0,"EMBED"===g?3:5),O=b.length-E.length,P=(0,n.jsxs)("div",{style:{display:"grid",gap:M?4:6},"aria-label":d.claim.text,children:[E.map((t,l)=>(0,n.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"auto 1fr auto",gap:10,alignItems:"baseline",fontFamily:k,minWidth:0},children:[(0,n.jsx)("span",{style:{color:t.turning?x:o,fontWeight:800,fontSize:M?12:13,whiteSpace:"nowrap"},children:String(t.t)}),(0,n.jsxs)("span",{style:{color:r,fontSize:M?13:14,minWidth:0,overflowWrap:"anywhere"},children:[t.turning?(0,n.jsxs)("b",{style:{color:x},children:[(0,i.tx)("ui.story.giro",d.lang)," \xb7 "]}):null,String(t.label)]}),null!=t.score&&(0,n.jsx)("span",{style:{color:o,fontSize:M?12:13,whiteSpace:"nowrap"},children:String(t.score)})]},l)),!M&&O>0&&(0,n.jsx)("div",{style:{fontFamily:k,fontSize:13,color:o},children:(0,i.tx)("ui.story.mas",d.lang,{n:O})})]});if(!_)return P;let L=Math.max(...A.map(t=>{var l;return null!=(l=S(t.to))?l:0}),...W.map(t=>null!=t?t:0),...w.map(t=>{var l;return null!=(l=S(t.minute))?l:0}),1),N=M?240:320,D=M?4:30,R=M?4:8,B=u([0,L],[D,N-R],0),q=M?44:84,V=M?6:14,H=V+q,$=M?null:H+34,U=M?V+q+6:$+22,K=T?h(X,!0):[0,1],Z=u(K,[H,V]),G=Z(0),J=t=>"home"===t.side?y:"away"===t.side?x:s,Q=z&&null!==S(z.minute)?B(S(z.minute)):null,Y=(0,n.jsxs)(m,{w:N,h:U,alt:d.claim.text,children:[A.map((t,l)=>{var e,i,a,r;return(0,n.jsxs)("g",{children:[(0,n.jsx)("line",{x1:B(null!=(e=S(t.from))?e:0),x2:B(null!=(i=S(t.from))?i:0),y1:V,y2:M?H:$+10,stroke:c,strokeDasharray:"2 3"}),!M&&(0,n.jsx)("text",{x:(B(null!=(a=S(t.from))?a:0)+B(null!=(r=S(t.to))?r:0))/2,y:H+12,textAnchor:"middle",fontSize:"11",fill:o,fontFamily:k,"data-eje":!0,children:String(t.label)})]},l)}),T&&(0,n.jsxs)("g",{children:[(0,n.jsx)("line",{x1:D,x2:N-R,y1:G,y2:G,stroke:c}),!M&&(0,n.jsxs)("g",{children:[(0,n.jsx)("text",{x:D-4,y:Z(K[1])+4,textAnchor:"end",fontSize:"11",fill:o,fontFamily:k,"data-eje":!0,children:(0,i.FE)(d.lang,K[1],0)}),(0,n.jsx)("text",{x:D-4,y:Z(K[0])+4,textAnchor:"end",fontSize:"11",fill:o,fontFamily:k,"data-eje":!0,children:(0,i.FE)(d.lang,K[0],0)})]}),(0,n.jsx)("path",{d:f(W.map((t,l)=>({x:B(null!=t?t:0),y:null===X[l]?null:Z(X[l])}))),fill:"none",stroke:y,strokeWidth:M?1.5:2,strokeLinejoin:"round"}),null!==Q&&(0,n.jsx)("line",{x1:Q,x2:Q,y1:V,y2:H,stroke:x,strokeWidth:1.5})]}),!M&&w.map((t,l)=>{let e=B(S(t.minute));return"timeouts"===t.kind?(0,n.jsx)("line",{x1:e,x2:e,y1:$-5,y2:$+5,stroke:J(t),strokeWidth:1.5,opacity:.7},l):"moments"===t.kind?(0,n.jsx)("polygon",{points:"".concat(e,",").concat($-4," ").concat(e+4,",").concat($," ").concat(e,",").concat($+4," ").concat(e-4,",").concat($),fill:s,opacity:.8},l):"lead_change"===t.kind?(0,n.jsx)("circle",{cx:e,cy:$,r:6,fill:"none",stroke:x,strokeWidth:2},l):(0,n.jsx)("circle",{cx:e,cy:$,r:(t=>{var l;let e=null!=(l=S(t.value))?l:0;return M?3:Math.max(3,Math.min(6.5,2.5+.3*e))})(t),fill:J(t),opacity:t.turning?1:.85,stroke:t.turning?x:"none",strokeWidth:2},l)}),!M&&null!==Q&&z&&(0,n.jsxs)("text",{x:Math.min(N-R,Math.max(D,Q)),y:$
1+18,textAnchor:Q>.66*N?"end":Q<.33*N?"start":"middle",fontSize:"11",fontWeight:700,fill:x,fontFamily:k,children:[(0,i.tx)("ui.story.giro",d.lang)," \xb7 ",String(z.t)]}),M&&null!==Q&&(0,n.jsx)("circle",{cx:Q,cy:T&&z&&null!==S(z.minute)?G:H,r:4,fill:x})]});return(0,n.jsxs)("div",{style:{display:"grid",gap:M?6:10},children:[Y,P]})},EVIDENCE:function(t){var l,e,a,c,d;let{s:u,perfil:h,acento:f,escueto:g}=t,m=j(u.payload),y=v(m.items),p=m.verdicts?j(m.verdicts):null,b=new Map(u.evidence.map(t=>[t.id,t])),M="COMPACT"===h,F=(M?y.slice(0,2):y.slice(0,g?3:"EMBED"===h?4:12)).map(t=>({it:t,e:b.get(String(t.evidenceId))})).filter(t=>t.e),A=g?[]:null!=(l=m.unknowns)?l:[],w=g?[]:null!=(e=m.wouldChange)?e:[],z=null!=(a=m.alternatives)?a:[];return(0,n.jsxs)("div",{style:{display:"grid",gap:M?6:10},"aria-label":u.claim.text,children:[p&&(0,n.jsx)("div",{style:{fontFamily:k,fontSize:M?12:13,color:s},children:(0,n.jsx)("b",{style:{color:f},children:(0,i.tx)("ui.verdicts",u.lang,{s:null!=(c=S(p.supported))?c:0,i:null!=(d=S(p.inference))?d:0})})}),(0,n.jsx)("ol",{style:{margin:0,padding:0,listStyle:"none",display:"grid",gap:M?4:8},children:F.map(t=>{let{it:l,e}=t;return(0,n.jsxs)("li",{style:{display:"grid",gridTemplateColumns:"10px 1fr",gap:10,alignItems:"start"},children:[(0,n.jsx)("span",{"aria-hidden":!0,style:{width:10,height:10,marginTop:5,borderRadius:99,background:"supports"===l.kind?f:"limits"===l.kind||"refutes"===l.kind?x:o}}),(0,n.jsxs)("div",{style:{fontSize:M?12:13.5,lineHeight:1.4,color:r,minWidth:0,overflowWrap:"anywhere"},children:[(0,n.jsx)("span",{style:{display:"-webkit-box",WebkitLineClamp:M||g?2:4,WebkitBoxOrient:"vertical",overflow:"hidden"},children:e.text}),!M&&e.asOf&&(0,n.jsx)("div",{style:{fontSize:12,color:o,marginTop:2},children:e.asOf})]})]},e.id)})}),!M&&A.length>0&&(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{style:{fontFamily:k,fontSize:12,fontWeight:800,letterSpacing:".12em",textTransform:"uppercase",color:o,marginBottom:4},children:(0,i.tx)("ui.no_sabemos",u.lang)}),(0,n.jsx)("ul",{style:{margin:0,paddingLeft:18,color:s,fontSize:13,lineHeight:1.45},children:A.slice(0,3).map((t,l)=>(0,n.jsx)("li",{children:t},l))})]}),!M&&w.length>0&&(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{style:{fontFamily:k,fontSize:12,fontWeight:800,letterSpacing:".12em",textTransform:"uppercase",color:o,marginBottom:4},children:(0,i.tx)("ui.cambiaria",u.lang)}),(0,n.jsx)("ul",{style:{margin:0,paddingLeft:18,color:s,fontSize:13,lineHeight:1.45},children:w.slice(0,2).map((t,l)=>(0,n.jsx)("li",{children:t},l))})]}),"FULL"===h&&z.length>0&&(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{style:{fontFamily:k,fontSize:12,fontWeight:800,letterSpacing:".12em",textTransform:"uppercase",color:o,marginBottom:4},children:(0,i.tx)("ui.alternativa",u.lang)}),(0,n.jsx)("p",{style:{margin:0,color:s,fontSize:13,lineHeight:1.45},children:z[0]})]})]})}};function O(t){var l,e,a,r,s,o;let c=t.enteras?null!=(r=I[null!=(a=null==(l=t.s.visualIntent)?void 0:l.preferred)?a:t.s.family])?r:I[t.s.family]:void 0;if(c)return(0,n.jsx)(c,{...t});let x=null!=(o=E[null!=(s=null==(e=t.s.visualIntent)?void 0:e.preferred)?s:t.s.family])?o:E[t.s.family];return x?(0,n.jsx)(x,{...t}):(0,n.jsx)(X,{texto:(0,i.tx)("ui.no_disponible",t.s.lang,{m:t.s.family})})}},58114:(t,l,e)=>{e.d(l,{Cf:()=>s,MS:()=>a,ib:()=>r});var n=e(94839);let i={FULL:{titulares:1,visuales:1,subtitulos:1,identidad:!0,lineasContextuales:1,cifrasAuxiliares:7,rotuloVerdad:!0,avisoFrescura:!0,evidencia:"plegada",fuenteProsa:!1,revisionVisible:!1,minPx:{desktop:11,mobile:11},base:"FULL"},COMPACT:{titulares:1,visuales:1,subtitulos:0,identidad:!0,lineasContextuales:1,cifrasAuxiliares:1,rotuloVerdad:!0,avisoFrescura:!0,evidencia:"fuera",fuenteProsa:!1,revisionVisible:!1,minPx:{desktop:11,mobile:11},base:"COMPACT"},EMBED:{titulares:1,visuales:1,subtitulos:1,identidad:!0,lineasContextuales:1,cifrasAuxiliares:1,rotuloVerdad:!0,avisoFrescura:!0,evidencia:"fuera",fuenteProsa:!1,revisionVisible:!1,minPx:{desktop:12,mobile:12},base:"EMBED"},CABIN:{titulares:1,visuales:1,subtitulos:0,identidad:!0,lineasContextuales:1,cifrasAuxiliares:1,rotuloVerdad:!0,avisoFrescura:!0,evidencia:"bajo_accion",fuenteProsa:!1,revisionVisible:!1,minPx:{desktop:12,mobile:13},base:"EMBED"},ON_AIR:{titulares:1,visuales:1,subtitulos:0,identidad:!0,lineasContextuales:0,cifrasAuxiliares:1,rotuloVerdad:!1,avisoFrescura:!0,evidencia:"fuera",fuenteProsa:!1,revisionVisible:!1,minPx:{desktop:12,mobile:13},base:"EMBED"}};
1function a(t,l){var e,a,r,s,o,c,x,d,u,h;let f=i[l],g=null!=(r=t.subjects.find(t=>"primary"===t.role))?r:t.subjects[0];return{perfil:l,regla:f,titular:t.claim.text,sujeto:{nombre:null!=(s=null==g?void 0:g.name)?s:"",sub:1===f.subtitulos&&null!=(o=null==g?void 0:g.sub)?o:null},cifraHeroe:f.cifrasAuxiliares>=1&&null!=(h=null!=(u=t.measures.find(l=>{var e,n;return l.id===(null==(n=t.visualIntent)||null==(e=n.hero)?void 0:e.measureId)}))?u:t.measures[0])?h:null,lineaContextual:1===f.lineasContextuales&&null!=(c=t.scope.text)?c:null,rotuloVerdad:f.rotuloVerdad?function(t){let l=t.claim.truthType;return(0,n.tx)("FORECAST"===l?"ui.forecast":"TRANSLATION"===l?"ui.translation":"INFERENCE"===l?"ui.inference":"OBSERVED"===l?"ui.observed":"ui.derived",t.lang)}(t):null,avisoFrescura:f.avisoFrescura?function(t){let l=t.quality.freshness;return"FALLBACK"===l?(0,n.tx)("ui.fallback",t.lang):"STALE"===l?(0,n.tx)("ui.stale",t.lang):"PARTIAL"===l?(0,n.tx)("ui.partial",t.lang):null}(t):null,detras:{modo:f.evidencia,evidencia:t.evidence,limitaciones:t.quality.limitations,fallback:null!=(x=null==(e=t.quality.fallback)?void 0:e.reason)?x:null,revision:t.revision,fuente:(0,n.tx)("ui.fuente.".concat(null!=(d=null==(a=t.evidence[0])?void 0:a.source.kind)?d:"table"),t.lang),asOf:t.scope.asOf}}}function r(t,l){var e,i,a;return l?"number"!=typeof l.value?String(null!=(e=l.value)?e:"—"):"net_diff"===l.metric||l.metric.endsWith("_diff")||l.metric.endsWith("_delta")||"TRANSLATION"===t.family&&(l.metric.startsWith("pct_")||l.metric.startsWith("d_"))&&"conservaron_pct"!==l.metric?(0,n.FE)(t.lang,l.value,null!=(i=l.decimals)?i:1):(0,n.XX)(t.lang,l.value,null!=(a=l.decimals)?a:1):""}let s=(t,l)=>{let e=String(null!=t?t:"").toLowerCase(),n=String(null!=l?l:"").toLowerCase().trim();return!n||e===n||e.split(/[^a-z0-9%€$]+/i).includes(n)}}}]);

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.