PageSourceSearch

https://www.sportiveworld.com/_next/static/chunks/81404-98db688510…?dpl=dpl_AAgQMoJfo16jg5V5QRo9MyGvZ6GQ

js sportiveworld.com collected 2026-10-02 01:44:40 UTC 101,283 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[54084,81404],{1150:(e,a,t)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return l}});let r=t(95155),n=t(12115),i=t(24437);function o(e){return{default:e&&"default"in e?e.default:e}}t(36552);let s={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},l=function(e){let a={...s,...e},t=(0,n.lazy)(()=>a.loader().then(o)),l=a.loading;function c(e){let o=l?(0,r.jsx)(l,{isLoading:!0,pastDelay:!0,error:null}):null,s=!a.ssr||!!a.loading,c=s?n.Suspense:n.Fragment,u=a.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(t,{...e})]}):(0,r.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(t,{...e})});return(0,r.jsx)(c,{...s?{fallback:o}:{},children:u})}return c.displayName="LoadableComponent",c}},8393:(e,a,t)=>{"use strict";t.d(a,{GJ:()=>h,Xu:()=>u,wq:()=>p});let r="sw_nav_scroll",n={},i=!1,o=!1,s=null,l=-1/0,c=()=>{try{let e=Object.entries(n);e.length>40&&(n=Object.fromEntries(e.slice(-40))),sessionStorage.setItem(r,JSON.stringify(n))}catch(e){}};function u(){if(performance.now()-l<4e3)return!0;try{let e=performance.getEntriesByType("navigation")[0];return(null==e?void 0:e.type)==="back_forward"}catch(e){return!1}}function d(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12;null==s||s();let r=!0,n=0,i=0,l=performance.now(),c={passive:!0,capture:!0},u=["wheel","touchstart","keydown","pointerdown"],d=()=>{r&&(r=!1,o=!1,cancelAnimationFrame(n),u.forEach(e=>window.removeEventListener(e,d,c)),s===d&&(s=null))},p=()=>{if(r){if(Math.max(0,document.documentElement.scrollHeight-window.innerHeight)>=e-2?Math.abs(window.scrollY-e)>1?(window.scrollTo(0,e),i=0):i++:i=0,i>t||performance.now()-l>a)return d();n=requestAnimationFrame(p)}};o=!0,s=d,u.forEach(e=>window.addEventListener(e,d,c)),n=requestAnimationFrame(p)}function p(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12;e<=0||d(e,a,t)}function h(){if(!i){i=!0;try{let e=sessionStorage.getItem(r),a=e?JSON.parse(e):null;a&&"object"==typeof a&&(n=a)}catch(e){n={}}}let e=0,a=0,t=()=>{e=0,!o&&(n[location.pathname+location.search]=Math.round(window.scrollY),a||(a=window.setTimeout(()=>{a=0,c()},500)))},u=()=>{e||(e=requestAnimationFrame(t))},p=()=>{if(l=performance.now(),location.hash)return;let e=n[location.pathname+location.search];"number"==typeof e&&e>=40&&d(e)},h=()=>{o||(n[location.pathname+location.search]=Math.round(window.scrollY)),c()},m=()=>{"hidden"===document.visibilityState&&h()};try{let e=performance.getEntriesByType("navigation")[0],a=n[location.pathname+location.search];(null==e?void 0:e.type)==="back_forward"&&!location.hash&&"number"==typeof a&&a>=40&&d(a)}catch(e){}return window.addEventListener("scroll",u,{passive:!0}),window.addEventListener("popstate",p),window.addEventListener("pagehide",h),document.addEventListener("visibilitychange",m),()=>{null==s||s(),e&&cancelAnimationFrame(e),a&&clearTimeout(a),window.removeEventListener("scroll",u),window.removeEventListener("popstate",p),window.removeEventListener("pagehide",h),document.removeEventListener("visibilitychange",m)}}},8567:(e,a,t)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=t(17828)},14235:(e,a,t)=>{"use strict";t.d(a,{Hr:()=>r,W_:()=>n,Zu:()=>i});let r=["broadcast","creator","forecast","tracking","scout","studio","trips","archive"],n={broadcast:"/broadcast",creator:"/studio/creator",forecast:"/forecast",tracking:"/tracking",scout:"/scout",studio:"/studio",trips:"/viajes",archive:"/historia"},i={es:{badge:"INICIO DIN\xc1MICO \xb7 PRUEBA",altAnalista:"El Analista de SportiveWorld",claim1:"S\xe9 m\xe1s de baloncesto que t\xfa.",claim2:"Pru\xe9bame.",frases:["Preg\xfantame por cualquier jugador, partido o \xe9poca.","Cruzo ligas, temporadas y jugadores en la misma respuesta.","Si est\xe1 en los datos, lo s\xe9.","S\xe9 m\xe1s de baloncesto que t\xfa. Pru\xe9bame."],ejemplos:["\xbfPor cu\xe1ntas ligas pas\xf3 Pau Gasol y qu\xe9 dej\xf3 en cada una?","\xbfCu\xe1ntas victorias proyect\xe1is a los Thunder?","\xbfQui\xe9nes son los bases m\xe1s creadores, cruzando todas las ligas del mundo?","\xbfCu\xe1ntos anillos tiene Pau Gasol?","\xbfQui\xe9n lidera la G League en asistencias?"],enviar:"Preguntar",pensando:"Consultando…",sinCupo:"Has agotado las preguntas de hoy. Vuelve ma\xf1ana — no es un fallo ni faltan datos.",fallo:"Se me ha atragantado esta consulta. Vuelve a intentarlo o preg\xfantamelo de otra forma.",cerrar:"Cerrar",trabajando:"Analista trabajando",comoSeConstruyo:"C\xf3mo se construy\xf3 esta respuesta",fuentesUsadas:e=>"".concat(e," ").concat(1===e?"fuente utilizada":"fuentes utilizadas"),seguir:"SIGUE POR AQU\xcd",verMas:"Ver el detalle",verMenos:"Ver menos",analisisCompleto:"Ver an\xe1lisis completo",lectura:"Lectura de SportiveWorld",actualizar:"Actualizar respuesta",reutilizada:"Respuesta ya calculada en esta sesi\xf3n",tambienConocido:"Tambi\xe9n conocido como",objeto:{broadcast:"BROADCAST",creator:"YOUTUBE CREATOR",forecast:"FORECAST",tracking:"TRACKING",scout:"SCOUT",trips:"NBA TRIPS",archive:"NBA ARCHIVE",studio:"STUDIO"},objetoFrase:{broadcast:"Retransmito con datos.\nEl partido, contado mientras pasa.",creator:"\xbfTienes una historia?\nConvi\xe9rtela en un v\xeddeo con tu canal.",forecast:"El futuro no se sabe.\nNo lo adivino. Lo calculo en probabilidades.",tracking:"El box score te dice qu\xe9 pas\xf3.\nCon datos y v\xeddeo, entiendo c\xf3mo pas\xf3.",scout:"Conozco a los famosos.\nY a los que todav\xeda n
1o lo son.",studio:"\xbfTienes un tema?\nConvi\xe9rtelo en una historia.",trips:"Elijo el partido.\nSportiveWorld organiza todo lo dem\xe1s.",archive:"El baloncesto tiene memoria.\nNosotros tambi\xe9n. Desde 1946."},cap:{viajar:"Te organiza el viaje NBA",scout:"Te hace la ficha de scout",forecast:"Proyecta la temporada",tracking:"Mide el movimiento real",archive:"Abre todo el archivo hist\xf3rico",comparar:"Compara a cualquiera",reto:"Te reta cada d\xeda",tv:"Te dice d\xf3nde verlo",signal:"Te avisa de lo que est\xe1 pasando",app:"Toda la casa en tu m\xf3vil",studio:"Convierte los datos en art\xedculo"},saltar:"Saltar la intro",scrollHint:"Baja para descubrirlo",miniAria:"Volver arriba con el Analista",appTitulo:"Tambi\xe9n en la app",appCta:"Probar la app",escenaTitulo:"El Analista y su cerebro",irA:"Ir a",abrirAnalista:"Abrir el Analista",abrirAnalistaPie:"Aqu\xed ves una muestra. En el Analista tienes la conversaci\xf3n entera, con memoria del hilo, im\xe1genes y acciones sobre tu cuenta.",intro1:"S\xe9 de baloncesto.",intro2:"S\xe9 de jugadores. Partidos. Historia.",introCap:"El box score te dice qu\xe9 pas\xf3.",introSub:"Con datos y v\xeddeo, entiendo ",introSub2:"c\xf3mo pas\xf3.",introTodo:"LO S\xc9 TODO."},en:{badge:"DYNAMIC HOME \xb7 TEST",altAnalista:"The SportiveWorld Analyst",claim1:"I know more basketball than you.",claim2:"Try me.",frases:["Ask me about any player, game or era.","I cross leagues, seasons and players in a single answer.","If it's in the data, I know it.","I know more basketball than you. Try me."],ejemplos:["How many leagues did Pau Gasol play in, and what did he leave in each?","How many wins do you project for the Thunder?","Who are the best playmakers, across every league in the world?","How many rings does Pau Gasol have?","Who leads the G League in assists?"],enviar:"Ask",pensando:"Querying…",sinCupo:"You've used today's questions. Come back tomorrow — it's not a bug and no data is missing.",fallo:"This query tripped me up. Try again or ask it another way.",cerrar:"Close",trabajando:"Analyst at work",comoSeConstruyo:"How this answer was built",fuentesUsadas:e=>"".concat(e," ").concat(1===e?"source used":"sources used"),seguir:"KEEP GOING",verMas:"See the detail",verMenos:"Show less",analisisCompleto:"See full analysis",lectura:"SportiveWorld's read",actualizar:"Refresh answer",reutilizada:"Already answered in this session",tambienConocido:"Also known as",objeto:{broadcast:"BROADCAST",creator:"YOUTUBE CREATOR",forecast:"FORECAST",tracking:"TRACKING",scout:"SCOUT",trips:"NBA TRIPS",archive:"NBA ARCHIVE",studio:"STUDIO"},objetoFrase:{broadcast:"I broadcast with data.\nThe game, told as it happens.",creator:"Got a story?\nTurn it into a video on your channel.",forecast:"The future can't be known.\nI don't guess it. I compute it in probabilities.",tracking:"The box score tells you what happened.\nWith data and video, I understand how.",scout:"I know the famous ones.\nAnd the ones who aren't yet.",studio:"Got a subject?\nTurn it into a story.",trips:"You pick the game.\nSportiveWorld arranges everything else.",archive:"Basketball has a memory.\nSo do we. Since 1946."},cap:{viajar:"Plans your NBA trip",scout:"Builds the scout report",forecast:"Projects the season",tracking:"Measures real movement",archive:"Opens the full archive",comparar:"Compares anyone",reto:"Challenges you daily",tv:"Tells you where to watch",signal:"Alerts you to what's happening",app:"The whole house on your phone",studio:"Turns the data into an article"},saltar:"Skip the intro",scrollHint:"Scroll to discover",miniAria:"Back to the top with the Analyst",appTitulo:"Also on the app",appCta:"Try the app",escenaTitulo:"The Analyst and his brain",irA:"Go to",abrirAnalista:"Open the Analyst",abrirAnalistaPie:"This is a taste. The Analyst gives you the full conversation, with thread memory, images and actions on your account.",intro1:"I know basketball.",intro2:"I know players. Games. History.",introCap:"The box score tells you what happened.",introSub:"With data and video, I understand ",introSub2:"how it happened.",introTodo:"I KNOW IT ALL."},de:{badge:"DYNAMISCHE HOME \xb7 TEST",altAnalista:"Der SportiveWorld-Analyst",claim1:"Ich wei\xdf mehr \xfcber Basketball als du.",claim2:"Teste mich.",frases:["Frag mich nach jedem Spieler, Spiel oder jeder \xc4ra.","Ich verbinde Ligen, Saisons und Spieler in einer Antwort.","Wenn es in den Daten steht, wei\xdf ich es.","Ich wei\xdf mehr \xfcber Basketball als du. Teste mich."],ejemplos:["Durch wie viele Ligen ging Pau Gasol, und was lie\xdf er in jeder zur\xfcck?","Wie viele Siege erwartet ihr f\xfcr die Thunder?","Wer sind die besten Spielmacher, \xfcber alle Ligen der Welt?","Wie viele Ringe hat Pau Gasol?","Wer f\xfchrt die G League in Assists an?"],enviar:"Fragen",pensando:"Abfrage l\xe4uft…",sinCupo:"Du hast die heutigen Fragen aufgebraucht. Komm morgen wieder — kein Fehler, keine fehlenden Daten.",fallo:"An dieser Abfrage bin ich gescheitert. Versuch es noch einmal oder frag anders.",cerrar:"Schlie\xdfen",trabajando:"Analyst arbeitet",comoSeConstruyo:"Wie diese Antwort entstand",fuentesUsadas:e=>"".concat(e," ").concat(1===e?"Quelle genutzt":"Quellen genutzt"),seguir:"WEITER HIER",verMas:"Details ansehen",verMenos:"Weniger anzeigen",analisisCompleto:"Vollst\xe4ndige Analyse ansehen",lectura:"Die Lesart von SportiveWorld",actualizar:"Antwort aktualisieren",reutilizada:"In dieser Sitzung bereits beantwortet",tambienConocido:"Auch bekannt als",objeto:{broadcast:"BROADCAST",creator:"YOUTUBE CREATOR",forecast:"FORECAST",tracking:"TRACKING",scout:"SCOUT",trips:"NBA TRIPS",archive:"NBA ARCHIVE",studio:"STUDIO"},objetoFrase:{broadcast:"Ich \xfcbertrage mit Daten.\nDas Spiel, erz\xe4hlt, w\xe4hrend es l\xe4uft.",creator:"Du hast eine Geschichte?\nMach ein Video f\xfcr deinen Kanal daraus.",forecast:"Die Zukunft wei\xdf niemand.\
1nIch rate sie nicht. Ich rechne sie in Wahrscheinlichkeiten.",tracking:"Der Boxscore sagt dir, was passiert ist.\nMit Daten und Video verstehe ich, wie.",scout:"Ich kenne die Bekannten.\nUnd die, die es noch nicht sind.",studio:"Du hast ein Thema?\nMach eine Geschichte daraus.",trips:"Du w\xe4hlst das Spiel.\nSportiveWorld organisiert alles andere.",archive:"Basketball hat ein Ged\xe4chtnis.\nWir auch. Seit 1946."},cap:{viajar:"Plant deine NBA-Reise",scout:"Erstellt den Scout-Report",forecast:"Projiziert die Saison",tracking:"Misst echte Bewegung",archive:"\xd6ffnet das ganze Archiv",comparar:"Vergleicht jeden",reto:"Fordert dich t\xe4glich",tv:"Sagt dir, wo es l\xe4uft",signal:"Meldet dir, was gerade passiert",app:"Das ganze Haus auf deinem Handy",studio:"Macht aus Daten einen Artikel"},saltar:"Intro \xfcberspringen",scrollHint:"Scroll und entdecke",miniAria:"Mit dem Analysten nach oben",appTitulo:"Auch in der App",appCta:"App ausprobieren",escenaTitulo:"Der Analyst und sein Gehirn",irA:"Weiter zu",abrirAnalista:"Den Analysten \xf6ffnen",abrirAnalistaPie:"Das hier ist eine Kostprobe. Beim Analysten bekommst du das ganze Gespr\xe4ch, mit Verlauf, Bildern und Aktionen auf deinem Konto.",intro1:"Ich kenne Basketball.",intro2:"Ich kenne Spieler. Spiele. Geschichte.",introCap:"Der Boxscore sagt dir, was passiert ist.",introSub:"Mit Daten und Video verstehe ich, ",introSub2:"wie es passiert ist.",introTodo:"ICH WEISS ALLES."},fr:{badge:"ACCUEIL DYNAMIQUE \xb7 TEST",altAnalista:"L'Analyste de SportiveWorld",claim1:"Je connais le basket mieux que toi.",claim2:"Teste-moi.",frases:["Demande-moi n'importe quel joueur, match ou \xe9poque.","Je croise ligues, saisons et joueurs dans une m\xeame r\xe9ponse.","Si c'est dans les donn\xe9es, je le sais.","Je connais le basket mieux que toi. Teste-moi."],ejemplos:["Par combien de ligues est pass\xe9 Pau Gasol, et qu'a-t-il laiss\xe9 dans chacune ?","Combien de victoires projetez-vous pour les Thunder ?","Qui sont les meilleurs meneurs, \xe0 travers toutes les ligues du monde ?","Comb
1ien de bagues a Pau Gasol ?","Qui m\xe8ne la G League aux passes d\xe9cisives ?"],enviar:"Demander",pensando:"Requ\xeate en cours…",sinCupo:"Vous avez \xe9puis\xe9 les questions du jour. Revenez demain — ce n'est pas une panne, aucune donn\xe9e ne manque.",fallo:"Cette requ\xeate m'a fait \xe9chouer. R\xe9essayez ou posez-la autrement.",cerrar:"Fermer",trabajando:"Analyste au travail",comoSeConstruyo:"Comment cette r\xe9ponse a \xe9t\xe9 construite",fuentesUsadas:e=>"".concat(e," ").concat(1===e?"source utilis\xe9e":"sources utilis\xe9es"),seguir:"CONTINUEZ ICI",verMas:"Voir le d\xe9tail",verMenos:"Voir moins",analisisCompleto:"Voir l'analyse compl\xe8te",lectura:"La lecture de SportiveWorld",actualizar:"Actualiser la r\xe9ponse",reutilizada:"D\xe9j\xe0 r\xe9pondu dans cette session",tambienConocido:"Aussi connu comme",objeto:{broadcast:"BROADCAST",creator:"YOUTUBE CREATOR",forecast:"FORECAST",tracking:"TRACKING",scout:"SCOUT",trips:"NBA TRIPS",archive:"NBA ARCHIVE",studio:"STUDIO"},objetoFrase:{broadcast:"Je retransmets avec des donn\xe9es.\nLe match, racont\xe9 pendant qu'il se joue.",creator:"Tu as une histoire ?\nFais-en une vid\xe9o pour ta cha\xeene.",forecast:"L'avenir, personne ne le sait.\nJe ne le devine pas. Je le calcule en probabilit\xe9s.",tracking:"La feuille de match te dit ce qui s'est pass\xe9.\nAvec les donn\xe9es et la vid\xe9o, je comprends comment.",scout:"Je connais les c\xe9l\xe8bres.\nEt ceux qui ne le sont pas encore.",studio:"Vous avez un sujet ?\nFaites-en une histoire.",trips:"Vous choisissez le match.\nSportiveWorld organise tout le reste.",archive:"Le basket a de la m\xe9moire.\nNous aussi. Depuis 1946."},cap:{viajar:"Organise ton voyage NBA",scout:"R\xe9dige la fiche de scout",forecast:"Projette la saison",tracking:"Mesure le mouvement r\xe9el",archive:"Ouvre toutes les archives",comparar:"Compare n'importe qui",reto:"Te d\xe9fie chaque jour",tv:"Te dit o\xf9 regarder",signal:"Te signale ce qui se passe",app:"Toute la maison sur ton mobile",studio:"Transforme les donn\xe9es en article"},saltar:"Passer l'intro",scrollHint:"Descendez pour d\xe9couvrir",miniAria:"Remonter avec l'Analyste",appTitulo:"Aussi sur l'app",appCta:"Essayer l'app",escenaTitulo:"L’Analyste et son cerveau",irA:"Aller \xe0",abrirAnalista:"Ouvrir l'Analyste",abrirAnalistaPie:"Ceci est un aper\xe7u. Avec l'Analyste tu as toute la conversation, avec la m\xe9moire du fil, les images et les actions sur ton compte.",intro1:"Je connais le basket.",intro2:"Je connais les joueurs. Les matchs. L'histoire.",introCap:"La feuille de match te dit ce qui s'est pass\xe9.",introSub:"Avec les donn\xe9es et la vid\xe9o, je comprends ",introSub2:"comment.",introTodo:"JE SAIS TOUT."}}},14272:e=>{e.exports={viaje:"viaje-capacidades_viaje__tJ_Lz",escena:"viaje-capacidades_escena__o5Amf",marca:"viaje-capacidades_marca__x1Jqm",soloEscena:"viaje-capacidades_soloEscena__Ik5R6",cifras:"viaje-capacidades_cifras__k3Ag2",mini:"viaje-capacidades_mini__05F9f",fig:"viaje-capacidades_fig__PhzNz"}},17828:(e,a,t)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,t(64054).createAsyncLocalStorage)()},22036:e=>{e.exports={hoy:"hoy_hoy__lr19d",cabecera:"hoy_cabecera__gyUen",titulo:"hoy_titulo__TVX4a",fecha:"hoy_fecha__1VRkT",cubrimos:"hoy_cubrimos__blAs9",cubrimosRotulo:"hoy_cubrimosRotulo__7dlYz",cubrimosPunto:"hoy_cubrimosPunto___Vx9U",late:"hoy_late__BXQb_",partido:"hoy_partido__yAYkY",equipo:"hoy_equipo___Lrv6",equipoDer:"hoy_equipoDer__P4TTy",escudo:"hoy_escudo__M9M9T",escudoVacio:"hoy_escudoVacio__PPaQB",equipoNombre:"hoy_equipoNombre__V_z_v",centro:"hoy_centro__wFmgt",hora:"hoy_hora__1rBJf",marcador:"hoy_marcador__DN_El",centroSub:"hoy_centroSub__cSu0l",partidoTexto:"hoy_partidoTexto__DyZXh",cubrimosMeta:"hoy_cubrimosMeta__0tkGw",cubrimosAcciones:"hoy_cubrimosAcciones__9rY3V",cta:"hoy_cta__JiTIz",ctaSec:"hoy_ctaSec__tEvHP",bandaPartidos:"hoy_bandaPartidos__9Bs3W",cierre:"hoy_cierre__zCjU8",cierreFigura:"hoy_cierreFigura__SKg6P",cierreCuerpo:"hoy_cierreCuerpo__oF_K5",cierreLinea:"hoy_cierreLinea__IWpuO",cierreBarra:"hoy_cierreBarra__7kTMF",cierreInput:"hoy_cierreInput__iqATF",cierreEnviar:"hoy_cierreEnviar__b5ptS",cierrePie:"hoy_cierrePie__NH1_8",cierrePuerta:"hoy_cierrePuerta__TEslg",bloqueSuelto:"hoy_bloqueSuelto__zTfhy"}},24437:(e,a,t)=>{"use strict";function r(e){let{reason:a,children:t}=e;return t}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),t(24553)},25362:e=>{e.exports={escena:"escena-cerebro_escena__QiTq4",marco:"escena-cerebro_marco__7bQx1",panel:"escena-cerebro_panel__gbuQN",contenido:"escena-cerebro_contenido__UhuXI",mensaje:"escena-cerebro_mensaje__UdWzF",seguimientos:"escena-cerebro_seguimientos__Gjc9j",irA:"escena-cerebro_irA__4AlRw"}},27051:(e,a,t)=>{"use strict";t.d(a,{Eh:()=>f,Jf:()=>_,LANG_COOKIE:()=>n,Ov:()=>v,aC:()=>b,tL:()=>s,uc:()=>g});var r=t(38773);let n="sw_lang",i=["es","en","de","fr"],o=e=>!!e&&i.includes(e);function s(e){if(o(e))try{document.cookie="".concat(n,"=").concat(e,"; path=/; max-age=31536000; samesite=lax")}catch(e){}}let l="sw_next",c=new RegExp("^/(?:(?:en|de|fr)/)?(?:redactor|studio|scout)(?:/".concat("(?!\\.+(?:[/?]|$))[A-Za-z0-9_\\-~.]+",")*(?:\\?[A-Za-z0-9_\\-.~%=&+:@,*()!]*)?$")),u=/^\/(?:en|de|fr)?$/,d=/%(?![0-9A-Fa-f]{2})|%(?:2e|2f|5c|25|23|3f)/i,p=/\\|\/\/|#|\s|\/\.{1,2}(?:[/?]|$)/,h=e=>e.length>0&&e.length<=300&&(c.test(e)||u.test(e))&&!d.test(e)&&!p.test(e);function m(e){let a;if("string"!=typeof e||!h(e))return null;let t=(()=>{try{if(/^https?:$/.test(window.location.protocol))return window.location.origin}catch(e){}return"http://sw.invalid"})();try{a=new URL(e,t)}catch(e){return null}if(a.origin!==t||!/^https?:$/.test(a.protocol)||""!==a.username||""!==a.password||""!==a.hash||a.pathname.startsWith("//")||a.pathname.includes("\\"))return null;let r="".concat(a.pathname).concat(a.search);return r===e&&h(r)?r:null}function v(e,a){var t;if(!o(a)||"es"===a||/^\/(?:en|de|fr)\//.test(e)||/[?&]lang=/.test(e))return e;let n=e.split(/[?#]/)[0];return null!=(t=m((0,r.MX)(n)?(0,r.SM)(e,a):"".concat(e).concat(e.includes("?")?"&":"?","lang=").concat(a)))?t:e}function b(e){let a=m(e);if(a)try{document.cookie="".concat(l,"=").concat(encodeURIComponent(a),"; path=/; max-age=900; samesite=lax")}catch(e){}}function f(){try{var e;
1let a=null==(e=document.cookie.split("; ").find(e=>e.startsWith("".concat(l,"="))))?void 0:e.split("=").slice(1).join("=");return a?m(decodeURIComponent(a)):null}catch(e){return null}}function g(){try{document.cookie="".concat(l,"=; path=/; max-age=0; samesite=lax")}catch(e){}}function _(){try{var e;let a=null==(e=document.cookie.split("; ").find(e=>e.startsWith("".concat(n,"="))))?void 0:e.split("=")[1];return o(a)?a:null}catch(e){return null}}},28334:e=>{e.exports={banda:"probar-app_banda__DacOH",texto:"probar-app_texto__9zafA",kicker:"probar-app_kicker__f_9S9",titulo:"probar-app_titulo__BwvlN",sub:"probar-app_sub__WNpir",cta:"probar-app_cta__9OimY",cajaCerrada:"probar-app_cajaCerrada__6RLMg",telefonoBtn:"probar-app_telefonoBtn__q5Aac",telefono:"probar-app_telefono__hA_56",escena:"probar-app_escena__PjkiY",velo:"probar-app_velo__pCqFr",vuelo:"probar-app_vuelo__39itg",marco:"probar-app_marco__KJG7W",appEscritorio:"probar-app_appEscritorio__1RKy0",appMovil:"probar-app_appMovil__hP1kj",guia:"probar-app_guia__dzfXa",pasos:"probar-app_pasos__M_Lnp",guiaBotones:"probar-app_guiaBotones__ZZj0t",guiaSig:"probar-app_guiaSig__Xb1j8",guiaSaltar:"probar-app_guiaSaltar__jinCC",tiendas:"probar-app_tiendas__6EcqW",cerrar:"probar-app_cerrar__E_xwg"}},29227:e=>{e.exports={root:"inicio-hibrida_root__rykVz",escenario:"inicio-hibrida_escenario__rOVaf",badge:"inicio-hibrida_badge__KglIw",halo:"inicio-hibrida_halo__KcW8i",marca:"inicio-hibrida_marca__JV1Rh",figBtn:"inicio-hibrida_figBtn__fwPFY",fig:"inicio-hibrida_fig__U3vzP",fig3d:"inicio-hibrida_fig3d__yVoUo",plano:"inicio-hibrida_plano__7dyjp",rotulo:"inicio-hibrida_rotulo__kVXIE",hud:"inicio-hibrida_hud__zp02k",claim:"inicio-hibrida_claim__fqcXo",scrollHint:"inicio-hibrida_scrollHint__gBN9g",late:"inicio-hibrida_late__eXapn",claimPunto:"inicio-hibrida_claimPunto__YNhFz",claimFrase:"inicio-hibrida_claimFrase__ohEv_",claimEntra:"inicio-hibrida_claimEntra__0Bqzp",barraZona:"inicio-hibrida_barraZona__xjfvn",panelRecorte:"inicio-hibrida_panelRecorte__fojFd",conRespuesta:"inicio-hibrida_conRespuesta__iylV2",stats:"inicio-hibrida_stats__IcXnK",barra:"inicio-hibrida_barra__EICUw",input:"inicio-hibrida_input__GJ7bf",ejemplo:"inicio-hibrida_ejemplo__tmcjT",ejemploOff:"inicio-hibrida_ejemploOff__aVbTr",enviar:"inicio-hibrida_enviar__lLzzN",panel:"inicio-hibrida_panel__OpszV",panelIn:"inicio-hibrida_panelIn__lv_k9",panelTexto:"inicio-hibrida_panelTexto___cPUH",verTodo:"inicio-hibrida_verTodo__Jr8km",panelCargando:"inicio-hibrida_panelCargando__rZUS9",puntos:"inicio-hibrida_puntos__x0tBW",punto:"inicio-hibrida_punto__R5iFe",seguirTag:"inicio-hibrida_seguirTag__cMlCq",chips:"inicio-hibrida_chips__EKSOj",chip:"inicio-hibrida_chip__jvrka",cerrar:"inicio-hibrida_cerrar__zFCiU",saltar:"inicio-hibrida_saltar__ePrb5",aro:"inicio-hibrida_aro__RJ2ws",appLlamada:"inicio-hibrida_appLlamada__g28Zn",appLlamadaTitulo:"inicio-hibrida_appLlamadaTitulo__wDcZc",appLlamadaCta:"inicio-hibrida_appLlamadaCta__KVHsc",appLlamadaTiendas:"inicio-hibrida_appLlamadaTiendas__L3g5R",statsNota:"inicio-hibrida_statsNota__bq6MD",cifraItem:"inicio-hibrida_cifraItem__9Vmf9",cifraSube:"inicio-hibrida_cifraSube__IfBH7",homeReal:"inicio-hibrida_homeReal__i2mpM",zonaCap:"inicio-hibrida_zonaCap__Jz6rI",zonaRelieve:"inicio-hibrida_zonaRelieve__5ndY0",intro:"inicio-hibrida_intro__uHQzB",introFuera:"inicio-hibrida_introFuera__e3FoT",introEscenario:"inicio-hibrida_introEscenario__C2U7E",introPlano:"inicio-hibrida_introPlano__w2Jz1",introTexto:"inicio-hibrida_introTexto__8tZ_A",introCursor:"inicio-hibrida_introCursor__mW4sU",introParpadeo:"inicio-hibrida_introParpadeo__Up7r_",introCap:"inicio-hibrida_introCap__UTuj6",introCapLinea:"inicio-hibrida_introCapLinea__kBrR_",introSube:"inicio-hibrida_introSube__WDhsu",introCapSub:"inicio-hibrida_introCapSub__53Bpw",introTodo:"inicio-hibrida_introTodo__mgWfv",introTodoPlano:"inicio-hibrida_introTodoPlano__bezT1",introTodoAnim:"inicio-hibrida_introTodoAnim__ieffQ",statsFuera:"inicio-hibrida_statsFuera__tCOPv",lectura:"inicio-hibrida_lectura__yBK0g",lecturaEntra:"inicio-hibrida_lecturaEntra__wPS4e",lecturaCaja:"inicio-hibrida_lecturaCaja__7CsWo",lecturaCabecera:"inicio-hibrida_lecturaCabecera__Cz8_l",lecturaTitulo:"inicio-hibrida_lecturaTitulo__utIBY",lecturaCerrar:"inicio-hibrida_lecturaCerrar__hTnYI",lecturaCuerpo:"inicio-hibrida_lecturaCuerpo__61_L7",planoFrase:"inicio-hibrida_planoFrase__Q
1HDwy",frasePlano:"inicio-hibrida_frasePlano__NmO4Z",panelCols:"inicio-hibrida_panelCols__WA5Sk",panelIzq:"inicio-hibrida_panelIzq__RCNa5",actividad:"inicio-hibrida_actividad__nqwQd",actTitulo:"inicio-hibrida_actTitulo__oNfN9",actPaso:"inicio-hibrida_actPaso__HEqn8",actIn:"inicio-hibrida_actIn__7qJIX",actDetalle:"inicio-hibrida_actDetalle__TM6dl",actMarca:"inicio-hibrida_actMarca__MN_fy",latido:"inicio-hibrida_latido__U1YLr",actClave:"inicio-hibrida_actClave__WlNdD",actResumen:"inicio-hibrida_actResumen__ds_IA",puertaAnalista:"inicio-hibrida_puertaAnalista__ncViS",puertaAnalistaLink:"inicio-hibrida_puertaAnalistaLink__bBc2q",puertaAnalistaPie:"inicio-hibrida_puertaAnalistaPie__yzUxy",pieRespuesta:"inicio-hibrida_pieRespuesta__LOp1M",reutilizada:"inicio-hibrida_reutilizada__j_ESM",actualizar:"inicio-hibrida_actualizar__yQq5x",universo:"inicio-hibrida_universo__gPIfc",figEncoge:"inicio-hibrida_figEncoge__82bPw",cifrasFin:"inicio-hibrida_cifrasFin__wGYYk",cifrasFinFila:"inicio-hibrida_cifrasFinFila__gGJh1",cifraFin:"inicio-hibrida_cifraFin__rLL_p",cifrasFinNota:"inicio-hibrida_cifrasFinNota__woksA",dock:"inicio-hibrida_dock__9YXlg",dockItem:"inicio-hibrida_dockItem__PDxN2"}},35826:(e,a,t)=>{"use strict";t.d(a,{default:()=>b});var r=t(95155),n=t(52619),i=t.n(n),o=t(12115),s=t(38773),l=t(98171),c=t(14235),u=t(87654),d=t(29227),p=t.n(d),h=t(14272),m=t.n(h);let v={broadcast:"/app/assets/assets/broadcast/hero.webp",creator:"/app/assets/assets/creator/hero.webp",forecast:"/app/assets/assets/forecast/hero.webp",tracking:"/app/assets/assets/tracking/hero.webp",scout:"/app/assets/assets/scout/hero.webp",studio:"/inventario-assets/objetos/studio.png",trips:"/inventario-assets/explorar-viajes.webp",archive:"/app/assets/assets/explorar/historia.webp"};function b(e){let{locale:a,stats:n}=e,d=c.Zu[a],h=(0,o.useRef)(null),b=(0,o.useRef)(null),f=(0,o.useRef)(null),g=(0,o.useRef)(null),_=(0,o.useRef)(null),w=(0,o.useRef)([]),y=(0,o.useRef)({}),x=(0,o.useRef)({});(0,o.useEffect)(()=>{let e=h.current;if(!e||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let a=!0,r=null;return(async()=>{let[{gsap:n},{ScrollTrigger:i}]=await Promise.all([Promise.all([t.e(45592),t.e(47605)]).then(t.bind(t,47605)),t.e(55580).then(t.bind(t,55580))]);if(!a)return;n.registerPlugin(i);let o=(()=>{let e=document.querySelector("[data-escena-portada]");return e?Math.max(0,Math.round(e.getBoundingClientRect().top+window.scrollY)):0})();e.style.setProperty("--navH","".concat(o,"px")),e.dataset.scene="on";let s=n.matchMedia();s.add({ancho:"(min-width: 861px)",estrecho:"(max-width: 860px)"},e=>{var a;let t=!!(null==(a=e.conditions)?void 0:a.estrecho),r={objX:t?"0vw":"9vw",rotX:t?"-2vw":"-24vw"},i=c.Hr.map(e=>y.current[e]).filter(e=>!!e),s=c.Hr.map(e=>x.current[e]).filter(e=>!!e),l=f.current;if(!l||i.length!==c.Hr.length||s.length!==c.Hr.length)return;let u=[{x:"68vw",y:"4vh",rotationY:-58,rotationZ:5,scale:.42},{x:"6vw",y:"74vh",rotationX:58,rotationZ:-4,scale:.5},{x:"-68vw",y:"-6vh",rotationY:55,rotationZ:-5,scale:.44},{x:"-4vw",y:"-75vh",rotationX:-52,rotationZ:6,scale:.5}],p={x:"2vw",y:"-2vh",rotationY:-30,rotationZ:0,scale:.24},h=_.current;
1i.forEach((e,a)=>n.set(e,{...a===i.length-1?p:u[a%u.length],autoAlpha:0,force3D:!0})),s.forEach(e=>n.set(e,{autoAlpha:0})),h&&n.set(h,{autoAlpha:0,y:"6vh"});let m=["",...c.Hr.map(e=>d.objeto[e])],v=e=>()=>{g.current&&(g.current.textContent=m[e],g.current.dataset.on=e?"1":"0")},j=n.timeline({defaults:{ease:"none",force3D:!0},scrollTrigger:{trigger:b.current,start:()=>"top ".concat(o,"px"),end:"+=".concat(82*(c.Hr.length+1),"%"),pin:!0,scrub:.75,anticipatePin:1}}),A=i.length,S=e=>0===e?4:24+(e-1)*18,E=[{ent:{rotationY:-9,rotationZ:-2},sal:{x:"-82vw",rotationY:26,rotationZ:-4,scale:1.24},desde:"34vw",hacia:"-52vw"},{ent:{rotationX:-5,rotationZ:2},sal:{y:"-78vh",rotationX:-42,rotationZ:-7,scale:1.16},desde:"-40vw",hacia:"40vw"},{ent:{rotationY:8,rotationZ:2},sal:{x:"80vw",rotationY:-30,rotationZ:5,scale:1.2},desde:"36vw",hacia:"-52vw"},{ent:{rotationX:6,rotationZ:-2},sal:{y:"72vh",rotationX:38,rotationZ:-8,scale:1.12},desde:"-40vw",hacia:"40vw"}];i.forEach((e,a)=>{let t=E[a%E.length],n=S(a),i=a===A-1;j.to(e,{x:r.objX,y:"-2vh",...t.ent,scale:1,autoAlpha:1,duration:16},n).fromTo(s[a],{x:t.desde},{x:r.rotX,duration:i?20:22},n).to(s[a],{autoAlpha:.9,duration:6},n+6).call(v(a+1),[],n+9),i?j.to(e,{scale:1.04,y:"-4vh",duration:6},n+16).to(l,{x:"24vw",y:"30vh",scale:.69,transformOrigin:"50% 100%",autoAlpha:0,duration:7},n+14):j.to(e,{...t.sal,autoAlpha:0,duration:9},n+20).to(s[a],{x:t.hacia,autoAlpha:0,duration:8},n+20)});let N=w.current.filter(e=>!!e);if(h&&N.length){let e=S(A-1)+22;j.to(i[A-1],{autoAlpha:0,scale:.9,y:"-14vh",duration:8},e).to(s[A-1],{autoAlpha:0,duration:6},e).call(v(0),[],e+4).to(h,{autoAlpha:1,y:0,duration:10},e+4),N.forEach((a,t)=>{var r;
1let i=(null!=(r=a.dataset.fin)?r:"").match(/^(\d+)(.*)$/);if(!i)return;let o=parseInt(i[1],10),s=i[2],l={v:0};a.textContent="0".concat(s),j.add(n.to(l,{v:o,duration:14,ease:"none",onUpdate:()=>{a.textContent="".concat(Math.round(l.v)).concat(s)}}),e+4+1.5*t)})}return()=>{var e;null==(e=j.scrollTrigger)||e.kill(),j.kill(),n.set([...i,...s,l,...h?[h]:[]],{clearProps:"all"}),N.forEach(e=>{var a;e.textContent=null!=(a=e.dataset.fin)?a:""})}}),r=()=>s.revert()})(),()=>{a=!1,null==r||r(),delete e.dataset.scene}},[d.objeto]);let j=()=>{let e=()=>{let e=document.getElementById("hoy");if(!e)return;let a=document.querySelector("header, nav"),t=a?a.getBoundingClientRect().height:0;window.scrollTo({top:window.scrollY+e.getBoundingClientRect().top-t-2,behavior:"auto"})};e(),window.requestAnimationFrame(()=>window.requestAnimationFrame(e))};return(0,r.jsx)("div",{ref:h,className:m().viaje,"data-portada":"alternativa","data-viaje-portada":"",children:(0,r.jsxs)("section",{ref:b,className:m().escena,children:[(0,r.jsx)("div",{className:p().halo,"aria-hidden":!0}),(0,r.jsxs)("button",{type:"button",className:p().saltar,onClick:j,children:[u.s[a].titulo," ↓"]}),(0,r.jsx)("span",{ref:g,className:"".concat(p().hud," ").concat(m().soloEscena," sw-cond"),"data-on":"0","aria-hidden":!0}),(0,r.jsxs)("h1",{className:m().marca,"aria-label":"SportiveWorld",children:["SPORTIVE",(0,r.jsx)("span",{children:"WORLD"})]}),c.Hr.map(e=>(0,r.jsxs)(i(),{href:(0,s.SM)(c.W_[e],a),className:p().plano,ref:a=>{y.current[e]=a},"aria-label":d.objeto[e],children:[(0,r.jsx)("img",{src:v[e],alt:"",loading:"lazy",decoding:"async"}),(0,r.jsx)("span",{className:p().planoFrase,children:d.objetoFrase[e].split("\n").map((e,a)=>(0,r.jsx)("span",{children:e},a))})]},e)),c.Hr.map(e=>(0,r.jsx)("span",{ref:a=>{x.current[e]=a},className:"".concat(p().rotulo," ").concat(m().soloEscena," sw-cond"),"aria-hidden":!0,children:d.objeto[e]},e)),n.cifras.length>0&&(0,r.jsxs)("div",{ref:_,className:"".concat(p().cifrasFin," ").concat(m().cifras),children:[(0,r.jsx)("div",{className:p().cifrasFinFila,children:n.cifras.map((e,a)=>{let[t,n]=e;return(0,r.jsxs)("div",{className:p().cifraFin,children:[(0,r.jsx)("p",{ref:e=>{w.current[a]=e},"data-fin":t,style:{color:0===a?"#F59E0B":3===a?"#4AA3FF":"var(--sw-paper)"},children:t}),(0,r.jsx)("span",{children:n})]},n)})}),(0,r.jsx)("p",{className:p().cifrasFinNota,children:n.nota})]}),(0,r.jsx)("button",{type:"button",ref:f,className:"".concat(m().mini," ").concat(m().soloEscena),onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),"aria-label":d.miniAria,children:(0,r.jsx)(l.A,{lang:a,className:m().fig,poster2d:"/app/assets/assets/poses/pose-discovery_finger.webp",aspect:"687 / 820"})}),(0,r.jsxs)("div",{className:p().appLlamada,children:[(0,r.jsx)("span",{className:p().appLlamadaTitulo,children:d.appTitulo}),(0,r.jsx)("button",{type:"button",className:p().appLlamadaCta,onClick:()=>{j(),window.setTimeout(()=>window.dispatchEvent(new CustomEvent("sw:abrir-app")),120)},children:d.appCta}),(0,r.jsxs)("span",{className:p().appLlamadaTiendas,children:[(0,r.jsx)("a",{href:"https://apps.apple.com/app/sportive-world/id6785783302",target:"_blank",rel:"noopener",children:(0,r.jsx)("img",{src:"es"===a?"/badges/appstore-es.svg":"/badges/appstore-en.svg",alt:"App Store"})}),(0,r.jsx)("a",{href:"https://play.google.com/store/apps/details?id=com.sportiveworld.sportiveworld",target:"_blank",rel:"noopener",children:(0,r.jsx)("img",{src:"es"===a?"/badges/playstore-es.png":"/badges/playstore-en.png",alt:"Google Play"})})]})]})]})})}},36552:(e,a,t)=>{"use strict";function r(e){let{moduleIds:a}=e;return null}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"PreloadChunks",{enumerable:!0,get:function(){return r}}),t(95155),t(47650),t(8567),t(77278)},44063:(e,a,t)=>{"use strict";t.d(a,{Dh:()=>n,Eq:()=>l,lE:()=>i});var r=t(84752);function n(e){return(null!=e?e:"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[¿?¡!.,;:"'`´()\[\]{}]/g," ").replace(/\s+/g," ").trim()}function i(e){var a,t,r,n,i,o,s,l,c,u;let d=null==e?void 0:e.marco;if(!d)return{es:!1,canonico:null};let p=(null==(a=d.peticion)?void 0:a.estado)==="RESOLVED"?String(null!=(s=d.peticion.valor)?s:""):"",h=(null==(t=d.sujeto)?void 0:t.estado)==="RESOLVED"&&!!d.sujeto.valor,m=(null==(r=d.tipoEntidad)?void 0:r.estado)==="RESOLVED"?String(null!=(l=
1d.tipoEntidad.valor)?l:""):"";return"identidad"===p&&h&&("persona"===m||"club"===m||"seleccion"===m)?{es:!0,canonico:(null!=(c=null==e||null==(i=e.presentacion)||null==(n=i.subject)?void 0:n.name)?c:"").trim()||String(null!=(u=null==(o=d.sujeto)?void 0:o.valor)?u:"").trim()||null}:{es:!1,canonico:null}}let o=/^(?:me |os |nos )?(?:quien(?:es)?|who|wer|qui|que jugador|conoces|sabes quien es|do you know|kennst du|tu connais) (?:es|era|fue|son|eran|fueron|is|was|are|were|ist|war|sind|waren|est|etait|sont|etaient|a los|a las|a la|al|a)?\s*(?:el |la |los |las |the |le |les |der |die |das )?/,s=e=>e.replace(o,"").replace(/^(?:equipo|club|team|verein|equipe) /,"").trim();function l(e,a){let t=(null!=a?a:"").trim();if(!t)return null;let i=function(e){let a=n(e);return!function(e){let a=n(e);if(!a)return!1;let t=(0,r.VD)(e);return((null==t?void 0:t.intencion)==="IDENTIDAD"||(null==t?void 0:t.intencion)==="TEAM_IDENTITY")&&s(a).length>0}(e)?"":s(a)}(e);return i?n(t)===n(i)?null:t:null}},48431:(e,a,t)=>{"use strict";t.d(a,{default:()=>p});var r=t(95155),n=t(52619),i=t.n(n),o=t(12115),s=t(75532),l=t(14235),c=t(87654),u=t(22036),d=t.n(u);function p(e){let{locale:a}=e,t=c.s[a],n=l.Zu[a],[u,p]=(0,o.useState)("");return(0,r.jsxs)("div",{className:d().cierre,"data-seccion":"cierre-analista",children:[(0,r.jsx)("img",{src:"/app/assets/assets/poses/pose-discovery_finger.webp",alt:"",className:d().cierreFigura,loading:"lazy",decoding:"async"}),(0,r.jsxs)("div",{className:d().cierreCuerpo,children:[(0,r.jsx)("p",{className:d().cierreLinea,children:t.cierreLinea}),(0,r.jsxs)("form",{className:d().cierreBarra,onSubmit:e=>{e.preventDefault();let a=u.trim();a&&(window.dispatchEvent(new CustomEvent("sw:preguntar",{detail:a})),p(""))},children:[(0,r.jsx)("input",{className:d().cierreInput,value:u,onChange:e=>p(e.target.value),placeholder:n.ejemplos[0],"aria-label":n.ejemplos[0],enterKeyHint:"send"}),(0,r.jsx)("button",{type:"submit",className:d().cierreEnviar,disabled:!u.trim(),children:n.enviar})]}),(0,r.jsxs)("p",{className:d().cierrePie,children:[t.cierrePie," ",(0,r.jsxs)(i(),{href:(0,s.Yx)(a),className:d().cierrePuerta,children:[n.abrirAnalista," →"]})]})]})]})}},53813:e=>{e.exports={card:"puerta_card__7ExE2",compacta:"puerta_compacta__T9QNn",discreta:"puerta_discreta__hFdsy",frase:"puerta_frase__uDnJI",cifra:"puerta_cifra__UOm_C",franja:"puerta_franja__PDjDP",historia:"puerta_historia__aqrSK",sinFoto:"puerta_sinFoto__HZAIL",conEscudos:"puerta_conEscudos__y___x",heroe:"puerta_heroe__V5mBG",pie:"puerta_pie__NHlKa",retrato:"puerta_retrato__HirXY",escudos:"puerta_escudos___Ir9A",escudo:"puerta_escudo__NAlZ4",enlace:"puerta_enlace__txrvu",prueba:"puerta_prueba__lCUQ4"}},54084:(e,a,t)=>{"use strict";t.d(a,{default:()=>m});var r=t(95155),n=t(12115),i=t(47650),o=t(79054),s=t(28334),l=t.n(s);let c="/inicio2/app-hero.webp",u={es:{kicker:"La app, aqu\xed mismo",titulo:"Pru\xe9bala sin instalar nada.",sub:"Es la aplicaci\xf3n de verdad, la misma que est\xe1 en las tiendas. Se abre aqu\xed y se cierra cuando quieras.",cta:"Probar SportiveWorld",cerrar:"Cerrar",guia:["Pregunta al Analista","Sigue un partido","Descubre una se\xf1al"],guiaFin:"Explorar por mi cuenta",tiendas:"\xbfTe la llevas?",cargando:"Abriendo la app…"},en:{kicker:"The app, right here",titulo:"Try it without installing anything.",sub:"This is the real application, the same one that ships in the stores. It opens here and closes whenever you want.",cta:"Try SportiveWorld",cerrar:"Close",guia:["Ask the Analyst","Follow a game","Find a signal"],guiaFin:"Explore on my own",tiendas:"Taking it with you?",cargando:"Opening the app…"},de:{kicker:"Die App, direkt hier",titulo:"Teste sie, ohne etwas zu installieren.",sub:"Das ist die echte Anwendung, dieselbe wie in den Stores. Sie \xf6ffnet sich hier und schlie\xdft sich, wann du willst.",cta:"SportiveWorld testen",cerrar:"Schlie\xdfen",guia:["Frag den Analysten","Verfolge ein Spiel","Entdecke ein Signal"],guiaFin:"Allein weiterschauen",tiendas:"Nimmst du sie mit?",cargando:"App wird ge\xf6ffnet…"},fr:{kicker:"L’app, ici m\xeame",titulo:"Essaie-la sans rien installer.",sub:"C’est la vraie application, la m\xeame que dans les stores. Elle s’ouvre ici et se ferme quand tu veux.",cta:"Essayer SportiveWorld",cerrar:"Fermer",guia:["Pose une question \xe0 l’Analyste","Suis un match","D\xe9couvre un signal"],guiaFin:"Explorer par moi-m\xeame",tiendas:"Tu l’emportes ?",cargando:"Ouverture de l’app…"}},d=[{href:"https://apps.apple.com/app/sportive-world/id6785783302",img:e=>"es"===e?"/badges/appstore-es.svg":"/badges/appstore-en.svg",alt:"App Store"},{href:"https://play.google.com/store/apps/details?id=com.sportiveworld.sportiveworld",img:e=>"es"===e?"/badges/playstore-es.png":"/badges/playstore-en.png",alt:"Google Play"}],p="sw:probar-app:guia-vista",h=()=>{try{localStorage.setItem(p,"1")}catch(e){}};function m(e){var a;let{locale:t,cristal:s=!0,escuchaAbrir:m=!1}=e,v=null!=(a=u[t])?a:u.es,b=["es","en","de","fr"].includes(t)?t:"es",[f,g]=(0,n.use
1State)(!1),[_,w]=(0,n.useState)(!1),[y,x]=(0,n.useState)(null),[j,A]=(0,n.useState)(!1),[S,E]=(0,n.useState)(!1);(0,n.useEffect)(()=>E(!0),[]);let N=(0,n.useRef)(null),T=(0,n.useRef)(null),C=(0,n.useRef)(null),k=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=()=>A(window.innerWidth<861);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let P=(0,n.useCallback)(e=>{let a=T.current,t=N.current;if(!a||!t)return;let r=t.getBoundingClientRect(),n=r.left+r.width/2-window.innerWidth/2,i=r.top+r.height/2-window.innerHeight/2,o=Math.max(.18,Math.min(1,r.height/(.9*window.innerHeight))),s="translate(".concat(Math.round(n),"px, ").concat(Math.round(i),"px) scale(").concat(o.toFixed(3),")");"abrir"===e?(a.style.transition="none",a.style.transform=s,a.style.opacity="0",requestAnimationFrame(()=>{a.style.transition="transform .62s cubic-bezier(.22,.9,.24,1), opacity .34s ease-out",a.style.transform="translate(0px, 0px) scale(1)",a.style.opacity="1"})):(a.style.transition="transform .46s cubic-bezier(.4,0,.2,1), opacity .3s ease-in",a.style.transform=s,a.style.opacity="0")},[]),R=(0,n.useCallback)(()=>{k.current=document.activeElement,g(!0),w(!0),x((()=>{try{return"1"===localStorage.getItem(p)}catch(e){return!1}})()?null:0),requestAnimationFrame(()=>P("abrir"))},[P]);(0,n.useEffect)(()=>{if(!m)return;let e=()=>R();return window.addEventListener("sw:abrir-app",e),()=>window.removeEventListener("sw:abrir-app",e)},[m,R]);let L=(0,n.useCallback)(()=>{P("cerrar"),window.setTimeout(()=>{var e,a;w(!1),null==(a=k.current)||null==(e=a.focus)||e.call(a)},460)},[P]);return(0,n.useEffect)(()=>{var e,a;if(!_)return;let t=e=>{"Escape"===e.key&&L()};window.addEventListener("keydown",t);let r=document.body.style.overflow;return document.body.style.overflow="hidden",null==(a=C.current)||null==(e=a.focus)||e.call(a),()=>{window.removeEventListener("keydown",t),document.body.style.overflow=r}},[_,L]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:l().banda,children:[(0,r.jsxs)("div",{className:l().texto,children:[(0,r.jsx)("p",{className:l().kicker,children:v.kicker}),(0,r.jsx)("h2",{className:l().titulo,children:v.titulo}),(0,r.jsx)("p",{className:l().sub,children:v.sub}),(0,r.jsx)("button",{type:"button",className:l().cta,onClick:R,children:v.cta})]}),(0,r.jsx)("div",{ref:N,className:l().cajaCerrada,"data-oculto":_?"":void 0,children:(0,r.jsx)("button",{type:"button",className:l().telefonoBtn,onClick:R,"aria-label":v.cta,children:(0,r.jsx)(o.AppPhoneLive,{lang:b,poster:c,activo:!1,relieve:!0,cristal:s,className:l().telefono})})})]}),f&&S&&(0,i.createPortal)((0,r.jsxs)("div",{className:l().escena,"data-abierto":_?"":void 0,"aria-hidden":!_,children:[(0,r.jsx)("div",{className:l().velo,onClick:L}),(0,r.jsxs)("div",{ref:T,className:l().vuelo,role:"dialog","aria-modal":"true","aria-label":v.cta,children:[(0,r.jsx)("div",{className:l().marco,children:(0,r.jsx)(o.AppPhoneLive,{lang:b,poster:c,activo:_||f,marco:!j,relieve:!j,cristal:s,className:j?l().appMovil:l().appEscritorio})}),null!==y&&(0,r.jsxs)("div",{className:l().guia,children:[(0,r.jsx)("ol",{className:l().pasos,children:v.guia.map((e,a)=>(0,r.jsxs)("li",{"data-on":a===y?"":void 0,"data-hecho":a<y?"":void 0,children:[(0,r.jsx)("b",{children:a+1}),(0,r.jsx)("span",{children:e})]},e))}),(0,r.jsxs)("div",{className:l().guiaBotones,children:[(0,r.jsx)("button",{type:"button",className:l().guiaSig,onClick:()=>{x(e=>null===e?null:e+1>=v.guia.length?(h(),null):e+1)},children:y+1>=v.guia.length?v.guiaFin:"→"}),y+1<v.guia.length&&(0,r.jsx)("button",{type:"button",className:l().guiaSaltar,onClick:()=>{h(),x(null)},children:v.guiaFin})]})]}),null===y&&(0,r.jsxs)("div",{className:l().tiendas,children:[(0,r.jsx)("span",{children:v.tiendas}),d.map(e=>(0,r.jsx)("a",{href:e.href,target:"_blank",rel:"noopener",children:(0,r.jsx)("img",{src:e.img(t),alt:e.alt})},e.alt))]})]}),(0,r.jsxs)("button",{ref:C,type:"button",className:l().cerrar,onClick:L,"aria-label":v.cerrar,children:[(0,r.jsx)("span",{"aria-hidden":!0,children:"✕"})," ",v.cerrar]})]}),document.body)]})}},58392:e=>{e.exports={brief:"brief_brief__YZQlp",cab:"brief_cab__oeMWm",icono:"brief_icono__GXDB5",label:"brief_label__a91dY",hora:"brief_hora__7R_Lv",sub:"brief_sub__GtHAT",fila:"brief_fila__y4731",modos:"brief_modos__mahWc",chip:"brief_chip__FgCzt",play:"brief_play__VaLGJ",progreso:"brief_progreso__UrcHQ",aviso:"brief_aviso__nWHq0"}},61209:e=>{e.exports={viva:"respuesta-viva_viva__tN01H",pregunta:"respuesta-viva_pregunta__6E0Fv",sujeto:"respuesta-viva_sujeto__DL9qe",titular:"respuesta-viva_titular__UPKqt",abrir:"respuesta-viva_abrir__emHp_",nombre:"respuesta-viva_nombre__PzHp8",escudo:"respuesta-viva_escudo__Gh0eS",grafico:"respuesta-viva_grafico__NoPqG",graficoTitulo:"respuesta-viva_graficoTitulo__8aPLT",graficoEje:"respuesta-viva_graficoEje__LDVQ7",graficoValor:"respuesta-viva_graficoValor__bwBbz",cara:"respuesta-viva_cara__1c1Av"}},62532:(e,a,t)=>{"use strict";t.d(a,{d:()=>r});let r={corta:{answer:"Respuesta de laboratorio **corta**: cabe entera y no deber\xeda recortarse ni sacar bot\xf3n.",followups:[{label:"Ver una larga",question:"demo larga"}]},larga:{answer:["Respuesta de laboratorio **larga**. Sirve para validar el recorte, el bot\xf3n y el scroll.",...Array.from({length:8},(e,a)=>{let t;return t=a+1,"P\xe1rrafo ".concat(t," de la respuesta de laboratorio. Sirve para medir cu\xe1nto alto ocupa una explicaci\xf3n ")+"de verdad, con la misma tipograf\xeda, el mismo ancho y el mismo interlineado que usa el Analista, de modo que el recorte y el bot\xf3n se comporten exactamente igual que en una respuesta real. No contiene ning\xfan dato de baloncesto que deba tomarse por bueno."}),"_Fin de la respuesta de laboratorio._"].join("\n\n"),followups:[{label:"Ver una corta",question:"demo corta"}]},comparacion:{answer:"Lectura de laboratorio sobre la comparaci\xf3n de arriba.\n\nSegundo p\xe1rrafo, para que el desplegable de prosa tambi\xe9n entre en juego.",comparacion:{tipo:"comparacion",entidades:[{id:"demo-a",nombre:"Jugador A (demo)",headshot:null,equipos:["AAA","BBB"]},{id:"demo-b",nombre:"Jugador B (demo)",headshot:null,equipos:["CCC"]}],metricas:[{key:"anillos",etiqueta:"Campeonatos",valores:[6,4],textos:["6","4"],ganador:0,masEsMejor:!0},{key:"mvp",etiqueta:"MVP",valores:[5,4],textos:["5","4"],ganador:0,masEsMejor:!0},{key:"allstar",etiqueta:"All-Star",valores:[14,21],textos:["14","21"],ganador:1,masEsMejor:!0},{key:"pts",etiqueta:"Puntos",valores:[32292,38652],textos:["32.292","38.652"],ganador:1,masEsMejor:!0},{key:"reb",etiqueta:"Rebotes",valores:[6672,null],textos:["6.672",""],ganador:null,masEsMejor:!0}],veredicto:"debatible",ganador:null,criteriosGanados:[2,2],criteriosEmpatados:0,razon:"Est\xe1 repartido: cada uno manda en dos criterios.",avisos:["Datos de laboratorio: no son cifras de la casa.","Jugaron en \xe9pocas distintas."]}},tabla:{answer:"Tabla de laboratorio. Antes de esta ronda, unas filas as\xed se le\xedan como un p\xe1rrafo corrido.",render:"table",rows:[{Temporada:"2021-22",Equipo:"AAA",Partidos:74,Puntos:30.6,Rebotes:8.4,Asistencias:5.2},{Temporada:"2022-23",Equipo:"AAA",Partidos:66,Puntos:32.1,Rebotes:8.8,Asistencias:5.9},{Temporada:"2023-24",Equipo:"BBB",Partidos:70,Puntos:28.4,Rebotes:9.1,Asistencias:6.4},{Temporada:"2024-25",Equipo:"BBB",Partidos:71,Puntos:27.9,Rebotes:8.7,Asistencias:6.1},{Temporada:"2025-26",Equipo:"BBB",Partidos:64,Puntos:33.5,Rebotes:7.7,Asistencias:8.3}]},roster:{answer:"Lista de laboratorio con doce filas, para ver una lista larga dentro del panel.",render:"table",rows:Array.from({length:12},(e,a)=>({"#":a+1,Jugador:"Jugador ".concat(String.fromCharCode(65+a)," (demo)"),Posición:["Base","Escolta","Alero","Ala-p\xedvot","P\xedvot"][a%5],Altura:"2,0".concat(a%9," m")}))}};Object.keys(r)},64054:(e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),!function(e,a){for(var t in a)Object.defineProperty(e,t,{enumerable:!0,get:a[t]})}(a,{bindSnapshot:function(){return o},createAsyncLocalStorage:function(){return i},createSnapshot:function(){return s}});let t=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,
1configurable:!0});class r{disable(){throw t}getStore(){}run(){throw t}exit(){throw t}enterWith(){throw t}static bind(e){return e}}let n="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function i(){return n?new n:new r}function o(e){return n?n.bind(e):r.bind(e)}function s(){return n?n.snapshot():function(e,...a){return e(...a)}}},79163:(e,a,t)=>{"use strict";t.d(a,{default:()=>i});var r=t(95155),n=t(12115);function i(e){let{liga:a,children:t}=e,[i,o]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{let e=()=>o((()=>{try{var e;let a=JSON.parse(null!=(e=localStorage.getItem("sw_ligas_off"))?e:"[]");return Array.isArray(a)?a.filter(e=>"string"==typeof e):[]}catch(e){return[]}})().includes(a));return e(),window.addEventListener("sw:ligas",e),window.addEventListener("storage",e),()=>{window.removeEventListener("sw:ligas",e),window.removeEventListener("storage",e)}},[a]),i)?null:(0,r.jsx)(r.Fragment,{children:t})}},79229:(e,a,t)=>{"use strict";t.d(a,{default:()=>n});var r=t(12115);function n(){return(0,r.useEffect)(()=>{let e=e=>{let a=e.currentTarget,t=a.getBoundingClientRect();a.style.setProperty("--x","".concat(e.clientX-t.left,"px")),a.style.setProperty("--y","".concat(e.clientY-t.top,"px"))},a=document.querySelectorAll(".glow-card");return a.forEach(a=>a.addEventListener("mousemove",e)),()=>a.forEach(a=>a.removeEventListener("mousemove",e))},[]),null}},81404:(e,a,t)=>{Promise.resolve().then(t.bind(t,37992)),Promise.resolve().then(t.bind(t,79229)),Promise.resolve().then(t.bind(t,6311)),Promise.resolve().then(t.bind(t,54973)),Promise.resolve().then(t.bind(t,37953)),Promise.resolve().then(t.bind(t,48431)),Promise.resolve().then(t.bind(t,96315)),Promise.resolve().then(t.bind(t,91286)),Promise.resolve().then(t.t.bind(t,29227,23)),Promise.resolve().then(t.t.bind(t,22036,23)),Promise.resolve().then(t.bind(t,94627)),Promise.resolve().then(t.bind(t,82618)),Promise.resolve().then(t.bind(t,79163)),Promise.resolve().then(t.bind(t,35826)),Promise.resolve().then(t.bind(t,54084)),Promise.resolve().then(t.t.bind(t,53813,23)),Promise.resolve().then(t.bind(t,49506)),Promise.resolve().then(t.bind(t,27051)),Promise.resolve().then(t.t.bind(t,52619,23))},82618:(e,a,t)=>{"use strict";t.d(a,{default:()=>i});var r=t(95155),n=t(74174);function i(e){let{children:a}=e,{session:t,loading:i}=(0,n.A)();return!i&&t?null:(0,r.jsx)(r.Fragment,{children:a})}},86278:(e,a,t)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return n}});let r=t(28140)._(t(1150));function n(e,a){var t;let n={};"function"==typeof e&&(n.loader=e);let i={...n,...a};return(0,r.default)({...i,modules:null==(t=i.loadableGenerated)?void 0:t.modules})}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),e.exports=a.default)},87654:(e,a,t)=>{"use strict";t.d(a,{s:()=>r});let r={es:{titulo:"HOY",partidos:"Partidos de hoy en tus ligas",cubrimos:"Cubrimos",enDirecto:"En directo",proximoCubierto:"Pr\xf3ximo partido cubierto",ultimoCubierto:"\xdaltimo partido cubierto",entrar:"Entrar a la retransmisi\xf3n",previa:"Ver la previa",replay:"Ver el replay",cuarto:"cuarto",senalesNota:"Por ahora, se\xf1ales de la NBA. El resto de ligas, en camino.",cierreLinea:"\xbfTe has quedado con una pregunta? Preg\xfantamela.",cierrePie:"La respuesta aparece arriba, con lo que consult\xe9 para d\xe1rtela."},en:{titulo:"TODAY",partidos:"Today's games in your leagues",cubrimos:"We cover",enDirecto:"Live",proximoCubierto:"Next covered game",ultimoCubierto:"Last covered game",entrar:"Enter the broadcast",previa:"See the preview",replay:"Watch the replay",cuarto:"quarter",senalesNota:"NBA signals for now. The other leagues are on their way.",cierreLinea:"Left with a question? Ask me.",cierrePie:"The answer appears above, with what I consulted to give it to you."},de:{titulo:"HEUTE",partidos:"Die heutigen Spiele deiner Ligen",cubrimos:"Wir \xfcbertragen",enDirecto:"Live",proximoCubierto:"N\xe4chstes \xfcbertragenes Spiel",ultimoCubierto:"Zuletzt \xfcbertragenes Spiel",entrar:"Zur \xdcbertragung",previa:"Zur Vorschau",replay:"Replay ansehen",cuarto:"Viertel",senalesNota:"Vorerst NBA-Signale. Die \xfcbrigen Ligen folgen.",cierreLinea:"Noch eine Frage offen? Frag mich.",cierrePie:"Die Antwort erscheint oben, zusammen mit dem, was ich daf\xfcr nachgeschlagen habe."},fr:{titulo:"AUJOURD'HUI",partidos:"Les matchs du jour dans tes ligues",cubrimos:"Nous couvrons",enDirecto:"En direct",proximoCubierto:"Prochain match couvert",ultimoCubierto:"Dernier match couvert",entrar:"Entrer dans la retransmission",previa:"Voir l'avant-match",replay:"Voir le replay",cuarto:"quart-temps",senalesNota:"Pour l'instant, des signaux NBA. Les autres ligues arr
1ivent.",cierreLinea:"Il te reste une question ? Pose-la-moi.",cierrePie:"La r\xe9ponse appara\xeet en haut, avec ce que j'ai consult\xe9 pour te la donner."}}},91286:(e,a,t)=>{"use strict";t.d(a,{default:()=>g});var r=t(95155),n=t(86278),i=t.n(n),o=t(12115),s=t(38773),l=t(96043),c=t(14235),u=t(25362),d=t.n(u);let p=i()(()=>Promise.all([t.e(78422),t.e(15541),t.e(66859),t.e(27471),t.e(30413),t.e(9557),t.e(34180)]).then(t.bind(t,11799)),{loadableGenerated:{webpack:()=>[11799]},ssr:!1}),h="/analista-experimento/fusion/index.html",m=()=>Promise.all([Promise.all([t.e(78422),t.e(15541),t.e(66859),t.e(27471),t.e(30413),t.e(9557)]).then(t.bind(t,9557)),t.e(30413).then(t.bind(t,30413)),t.e(64193).then(t.bind(t,64193)),t.e(93710).then(t.bind(t,93710)),Promise.all([t.e(64193),t.e(94644)]).then(t.bind(t,94644))]),v=()=>new DOMException("Petici\xf3n cancelada.","AbortError");function b(e,a){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Response(JSON.stringify(a),{status:e,headers:{"Content-Type":"application/json; charset=utf-8","Cache-Control":"no-store",...t}})}async function f(){try{var e,a;let{getBrowserSupabase:r}=await Promise.resolve().then(t.bind(t,60450));return null!=(a=null==(e=(await r().auth.getSession()).data.session)?void 0:e.access_token)?a:""}catch(e){return""}}function g(e){let{locale:a}=e,n=c.Zu[a],i=(0,o.useRef)(null),u=(0,o.useRef)(null),[g,_]=(0,o.useState)([]),[w,y]=(0,o.useState)(!1),[x,j]=(0,o.useState)(!1),[A,S]=(0,o.useState)({visibility:"hidden"}),[E,N]=(0,o.useState)(null),[T,C]=(0,o.useState)(null),[k,P]=(0,o.useState)(null),[R,L]=(0,o.useState)(!1);(0,o.useEffect)(()=>{try{L("kit"===new URLSearchParams(window.location.search).get("analista"))}catch(e){L(!1)}},[]);let I=(0,o.useRef)({numero:0,conversationId:null,marco:null,momentos:null,galeria:null,turnos:[]}),M=(0,o.useRef)(new Map),q=(0,o.useRef)([]);(0,o.useEffect)(()=>{q.current=g},[g]),(0,o.useEffect)(()=>{let e=i.current;if(!e)return;let a=()=>e.style.setProperty("--navH","".concat(Math.max(0,Math.round(e.getBoundingClientRect().top+window.scrollY)),"px"));return a(),window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[]),(0,o.useEffect)(()=>{f().then(e=>C(!!e))},[]);let O=(0,o.useCallback)((e,a)=>{var t;let r=null==(t=u.current)?void 0:t.contentWindow;try{(null==r?void 0:r.location.origin)===window.location.origin&&r.location.pathname===h&&r.dispatchEvent(new CustomEvent(e,{detail:a}))}catch(e){}},[]),F=(0,o.useCallback)(e=>{let a="string"==typeof e?e.trim():"";a&&!(a.length>1500)&&(y(!1),j(!1),O("sw-answer-followup",{question:a}))},[O]),B=(0,o.useCallback)(async e=>{try{let t=await fetch("/api/ask",{method:"POST",headers:{"Content-Type":"application/json",...e.bearer?{Authorization:"Bearer ".concat(e.bearer)}:{}},body:JSON.stringify({question:e.question,locale:a,fase:"sintesis",history:e.history,..."string"==typeof e.continuacion?{continuacion:e.continuacion}:{},...I.current.marco?{marco_previo:I.current.marco}:{}})}),r=await t.json(),n=null==r?void 0:r.sintesis;(null==n?void 0:n.tesis)&&(null==r?void 0:r.para)===e.question&&_(a=>a.map(a=>{var t;return a.id===e.id&&a.rico&&a.question===e.question?{...a,rico:{...a.rico,tesis:n.tesis,takeaway:null!=(t=n.takeaway)?t:a.rico.takeaway,pendiente:[]}}:a}))}catch(e){}},[a]),z=(0,o.useCallback)(async(e,t)=>{if(null===k&&t.question){P(e);try{var r,n;let i=await f(),o=null!=(n=M.current.get(null!=(r=t.id)?r:""))?n:[],s=await fetch("/api/ask",{method:"POST",headers:{"Content-Type":"application/json",...i?{Authorization:"Bearer ".concat(i)}:{}},body:JSON.stringify({question:t.question,locale:a,fase:"sintesis",nivel:"profundo",...o.length?{history:o}:{}})}),l=await s.json(),c=null==l?void 0:l.sintesis;((null==c?void 0:c.lectura)||(null==c?void 0:c.tesis))&&_(a=>a.map((a,t)=>{var r,n,i;return t===e&&a.rico?{...a,rico:{...a.rico,tesis:null!=(r=c.tesis)?r:a.rico.tesis,takeaway:null!=(n=c.takeaway)?n:a.rico.takeaway,lectura:null!=(i=c.lectura)?i:null,pendiente:[]}}:a}))}catch(e){}finally{P(null)}}},[a,k]),D=(0,o.useCallback)(async(e,t)=>{var r,n,i,o,l,c,u;
1let d,p,h="string"==typeof(null==e?void 0:e.question)?e.question.trim():"";if(!h||h.length>1500)return b(400,{error:"INVALID_QUESTION"});let[g,w,y,x,A]=await m();if(null==t?void 0:t.aborted)throw v();let S=w.TEXTOS[w.idiomaAnalista(a)],E=await f();if(null==t?void 0:t.aborted)throw v();C(!!E);let T=I.current,k=T.numero,P=T.turnos.slice(-6).map(e=>({role:e.role,content:e.content.slice(0,400)}));try{d=await fetch("/api/ask",{method:"POST",signal:t,cache:"no-store",headers:{"Content-Type":"application/json",...E?{Authorization:"Bearer ".concat(E)}:{}},body:JSON.stringify({question:h,persona:"analista",history:P,locale:a,tz:-new Date().getTimezoneOffset(),tz_name:Intl.DateTimeFormat().resolvedOptions().timeZone,acepta:["escritura"],...T.conversationId?{conversation_id:T.conversationId}:{},...T.marco?{marco_previo:T.marco}:{},...T.momentos?{momentos_previo:T.momentos}:{},...T.galeria?{galeria_previa:T.galeria}:{}})})}catch(e){if(null==t?void 0:t.aborted)throw v();return b(503,{error:"ASK_UNAVAILABLE"})}let R=null;try{R=await d.json()}catch(e){R=null}if(null==t?void 0:t.aborted)throw v();if(!R||"object"!=typeof R)return b(d.ok?502:d.status,{error:d.ok?"INVALID_RESPONSE":"ASK_UNAVAILABLE"});if(!d.ok||!0===R.pausado||!R.answer){let e=d.headers.get("retry-after"),t=d.ok&&!0!==R.pausado?"ASK_FAILED":A.upstreamError(d.status,R,e),r="string"==typeof R.motivo?R.motivo:"",n=429===d.status||413===d.status||!!R.quota,i=n&&"string"==typeof R.error&&R.error.trim().length>12&&R.error.length<=600?R.error.trim():"",o=!E&&n&&r.startsWith("anonymous_")&&"anonymous_busy"!==r?{href:"".concat((0,s.SM)("/entrar",a),"?next=").concat(encodeURIComponent("es"===a?"/":"/".concat(a))),label:S.entrar}:E&&["auth_limit","plan_limit","monthly_limit"].includes(r)?{href:(0,s.SM)("/profesional/planes",a),label:S.cupoCta}:null;return b(d.ok?502:d.status,{error:t,...i?{message:i}:{},...o?{action:o}:{}},e&&/^\d{1,6}$/.test(e)?{"Retry-After":e}:{})}if("string"==typeof R.para&&R.para.trim()&&R.para.trim()!==h)return b(502,{error:"INVALID_RESPONSE"});if("string"==typeof R.conversation_id&&R.conversation_id&&(T.conversationId=R.conversation_id),T.marco=R.marco&&"object"==typeof R.marco?R.marco:T.marco,T.momentos=null!=(c=null==(r=R.momentos)?void 0:r.contexto)?c:null,(null==(n=R.galeria)?void 0:n.sujeto)&&(null==(i=R.galeria)?void 0:i.ambito)){let e=R.galeria;T.galeria={nbaPlayerId:e.sujeto.nbaPlayerId,espnId:e.sujeto.espnId,nombre:e.sujeto.nombre,temporada:e.ambito.temporada,temporadaTexto:e.ambito.temporadaTexto,fecha:e.ambito.fecha,tipo:e.ambito.tipo,rival:e.ambito.rival}}let L="portada-".concat(k,"-").concat(Date.now().toString(36),"-").concat(Math.random().toString(36).slice(2,8)),O=g.mensajeDeRespuesta(R,{status:d.status,question:h,hilo:k,id:L,t:S});T.turnos=[...T.turnos,{role:"user",content:h},{role:"assistant",content:String(null!=(u=O.content)?u:"")}].slice(-12),M.current.set(L,P),q.current=[O],_([O]),j(!1);let F=R.navegacion;N("string"==typeof(null==F?void 0:F.web)&&/^\/(?![/\\])/.test(F.web)&&"string"==typeof F.etiqueta&&F.etiqueta.trim()?{web:F.web,etiqueta:F.etiqueta.trim()}:null),(null==(l=R.rico)||null==(o=l.pendiente)?void 0:o.length)&&B({id:L,question:h,history:P,continuacion:R.continuacion,bearer:E});try{p=y.projectPublicResponse(R,a,{storageOrigin:"https://cqhlrqfomzvfdtrkqgbh.supabase.co"})}catch(e){p={schema:"sw.scene-response.v1",answer:"",subject:null,nodes:[],links:[],modules:[],scope:"",motion:x.publicMotion(R),media:{},omittedCount:0,omittedNodes:[],primaryMetric:null,secondaryMetrics:[],range:null}}return b(200,{...p,rows:[],columns:[],tableCoverage:{rowsReceived:0,rowsShown:0,columnsReceived:0,columnsShown:0},visual:{sw_mensaje:L}})},[a,B]);(0,o.useEffect)(()=>{let e=u.current,a=i.current;if(!e||!a)return;let r=()=>{},n=()=>{r(),y(!1),j(!1);let n=e.contentWindow;try{if(!n||n.location.origin!==window.location.origin||n.location.pathname!==h)return;let i=n.document.getElementById("answer-dock");if(!i)return;let o=()=>{let t=i.getBoundingClientRect(),r=e.getBoundingClientRect(),n=a.getBoundingClientRect();t.width>0&&t.height>
10&&S({left:r.left-n.left+t.left,top:r.top-n.top+t.top,width:t.width,height:t.height})},s={show(e){let a=null==e?void 0:e.sw_mensaje,t=q.current[0];return!!t&&("string"!=typeof a||a===t.id)&&(y(!0),j(!1),o(),n.requestAnimationFrame(o),!0)},hide(){y(!1),j(!1)},reset(){y(!1),j(!1),_([]),N(null),q.current=[]}};n.SW_ANALISTA_TRANSPORT=D,n.SW_CANONICAL_ANSWER=s,n.SW_ANALISTA_MOTION=l.Y;let c=new ResizeObserver(o);c.observe(i),c.observe(e);let u=new MutationObserver(o);u.observe(i,{attributes:!0});let d=n.document.querySelector(".fusion");d&&u.observe(d,{attributes:!0,attributeFilter:["data-answer-visible"]}),n.addEventListener("resize",o);let p=n.document.getElementById("live-question"),v=()=>{m().catch(()=>{}),Promise.all([t.e(78422),t.e(15541),t.e(66859),t.e(27471),t.e(30413),t.e(9557),t.e(34180)]).then(t.bind(t,11799)).catch(()=>{})};null==p||p.addEventListener("focus",v,{once:!0}),n.dispatchEvent(new Event("sw-transport-ready")),n.dispatchEvent(new Event("sw-canonical-ready")),r=()=>{c.disconnect(),u.disconnect(),n.removeEventListener("resize",o),null==p||p.removeEventListener("focus",v);try{n.SW_ANALISTA_TRANSPORT===D&&delete n.SW_ANALISTA_TRANSPORT,n.SW_CANONICAL_ANSWER===s&&delete n.SW_CANONICAL_ANSWER,n.SW_ANALISTA_MOTION===l.Y&&delete n.SW_ANALISTA_MOTION}catch(e){}}}catch(e){}};return e.addEventListener("load",n),n(),()=>{e.removeEventListener("load",n),r()}},[D]),(0,o.useEffect)(()=>{let e=e=>{var a;let t=String(null!=(a=e.detail)?a:"").trim();t&&(window.scrollTo({top:0,behavior:"auto"}),F(t))};return window.addEventListener("sw:preguntar",e),()=>window.removeEventListener("sw:preguntar",e)},[F]);let H=(0,o.useMemo)(()=>g.length?{locale:a,haySesion:T,profundizando:k,onPregunta:F,onProfundizar:(e,a)=>{z(e,a)},onPropuestaResuelta:e=>_(a=>[...a,{role:"assistant",content:e.answer,propuesta:e.siguiente}]),kitVisual:R}:null,[g.length,a,T,k,F,z,R]),W=(0,o.useCallback)(()=>{y(!1),j(!1),O("sw-answer-visibility",{visible:!1})},[O]);return(0,r.jsxs)("section",{ref:i,className:d().escena,"data-escena-portada":"cerebro","aria-label":n.escenaTitulo,children:[(0,r.jsx)("iframe",{ref:u,className:d().marco,src:"".concat(h,"?lang=").concat(a,"&embed=home"),title:n.escenaTitulo,referrerPolicy:"same-origin",loading:"eager"}),w&&H&&g.length>0?(0,r.jsx)(p,{mensajes:g,locale:a,acciones:H,navegacion:E,ampliada:x,onAmpliar:()=>j(e=>!e),onCerrar:W,estilo:x?{left:"max(12px, calc((100% - 1080px) / 2))",right:"max(12px, calc((100% - 1080px) / 2))",top:24,bottom:100}:A}):null]})}},94627:(e,a,t)=>{"use strict";t.d(a,{default:()=>O});var r=t(95155),n=t(52619),i=t.n(n),o=t(12115),s=t(38773),l=t(14235),c=t(98171),u=t(44830),d=t(61209),p=t.n(d);function h(e){var a,t,n,i;let{v:o,locale:s,acento:l}=e,c=null!=(n=null==(a=o.serie.series[0])?void 0:a.valores)?n:[],u=c.filter(e=>"number"==typeof e&&Number.isFinite(e)),d=o.serie.x.length;if(u.length<2||d<2)return null;let h="barras"===o.forma||"barras_agrupadas"===o.forma,m=h||"margen"===o.forma||"barras_divergentes"===o.forma,v=Math.min(...u,m?0:1/0),b=Math.max(...u,m?0:-1/0)-v||1,f=e=>4+292*e/(d-1),g=e=>5+(1-(e-v)/b)*40,_=null!=(i=c.map((e,a)=>"number"==typeof e?a:-1).filter(e=>e>=0).pop())?i:-1,w=_>=0?c[_]:null,y=e=>o.rotulos.x[e]||o.serie.x[e]||"",x=o.rotulos.series[0]||(null==(t=o.serie.series[0])?void 0:t.nombre)||"",j=c.map((e,a)=>"number"==typeof e?"".concat(f(a).toFixed(1),",").concat(g(e).toFixed(1)):null).filter(Boolean).join(" ");return(0,r.jsxs)("figure",{className:p().grafico,"aria-label":o.titulo,children:[(0,r.jsx)("figcaption",{className:p().graficoTitulo,children:o.titulo}),(0,r.jsxs)("svg",{viewBox:"0 0 ".concat(300," ").concat(50),width:"100%",height:50,role:"img","aria-hidden":!0,preserveAspectRatio:"none",children:[h?c.map((e,a)=>"number"==typeof e?(0,r.jsx)("rect",{x:f(a)-5,y:Math.min(g(e),g(Math.max(v,0))),width:10,height:Math.max(1.5,Math.abs(g(Math.max(v,0))-g(e))),rx:2,fill:l,opacity:a===_?1:.6},a):null):(0,r.jsx)("polyline",{points:j,fill:"none",stroke:l,strokeWidth:2.4,strokeLinejoin:"round",strokeLinecap:"round"}),!h&&_>=0&&null!=w?(0,r.jsx)("circle",{cx:f(_),cy:g(w),r:3.4,fill:l}):null]}),(0,r.jsxs)("div",{className:p().graficoEje,children:[(0,r.jsx)("span",{children:y(0)}),(0,r.jsx)("span",{children:y(d-1)})]}),null!=w&&x?(0,r.jsxs)("p",{className:p().graficoValor,children:[x,": ",(0,r.jsxs)("b",{children:[w.toLocaleStr
1ing("en"===s?"en-US":s,{maximumFractionDigits:Math.abs(w)>=100?0:1}),o.rotulos.unidad?" ".concat(o.rotulos.unidad):""]})," (",y(_),")"]}):null]})}function m(e){let{viva:a,locale:t,oculta:n}=e,o=a.color&&/^#[0-9a-f]{6}$/i.test(a.color)?a.color:"#e3202a";return(0,r.jsxs)("aside",{className:p().viva,"data-analista-viva":a.packHash.slice(0,12),"data-oculta":n?"1":"0","aria-label":u.po.aria[t],style:{"--acento":o},children:[(0,r.jsxs)("p",{className:p().pregunta,children:["\xab",a.pregunta,"\xbb"]}),(0,r.jsxs)("div",{className:p().sujeto,children:[(0,r.jsx)("span",{className:p().cara,children:(0,r.jsx)("img",{src:a.foto,alt:a.nombre,loading:"lazy",decoding:"async"})}),(0,r.jsx)("span",{className:p().nombre,children:a.nombre}),a.logo?(0,r.jsx)("img",{className:p().escudo,src:a.logo,alt:"",loading:"lazy",decoding:"async"}):null]}),(0,r.jsx)("p",{className:"".concat(p().titular," sw-cond"),children:a.titular}),(0,r.jsx)(h,{v:a.visual,locale:t,acento:o}),(0,r.jsxs)(i(),{href:a.href,prefetch:!1,rel:"nofollow",className:"".concat(p().abrir," sw-cond"),"data-analista-viva-abrir":!0,children:[u.po.abrir[t]," →"]})]})}var v=t(29227),b=t.n(v),f=t(47650),g=t(85351),_=t(53672),w=t(88852),y=t(62532),x=t(8393),j=t(44063),A=t(13909),S=t.n(A),E=t(4861),N=t(63502),T=t(61326);function C(e){let{lang:a,fase:t,estados:n,k:i,movil:o,jugadores:s,equipos:l,ligas:c}=e;if("off"===t)return null;let u=o?E.Br:E.HC,d=o?E.SI:E.Gu,p=o?E.Mq:E.W,h=o?E.zo:E.H,m=T.wr[a],v=s.find(e=>{var a,t;return null==(t=e.career)||null==(a=t.stints)?void 0:a.length}),b=e=>{var a;return null!=(a=n[e])?a:"idle"};return(0,r.jsxs)("div",{className:S().escena,"data-k":o?"sm":"md","data-movil":o?"":void 0,"data-brasas":"brasas"===t?"1":void 0,"data-universo":"","aria-hidden":!0,style:{width:p,height:h,transform:"scale(".concat(i,")"),"--lienzo-mitad":"".concat(p/2,"px")},children:[(0,r.jsx)("svg",{className:S().red,viewBox:"0 0 ".concat(p," ").concat(h),"aria-hidden":!0,children:u.map((e,a)=>{let t=(0,E.cH)(e.ancla,d),n=b(e.id);return(0,r.jsxs)("g",{"data-estado":n,children:[(0,r.jsx)("path",{d:t,className:S().conGlow}),(0,r.jsx)("path",{id:"u-con-".concat(e.id),d:t,className:S().conNucleo,style:{animationDelay:"".concat(a%7*1.7,"s")}}),"active"===n&&(0,r.jsx)("g",{className:S().trafico,children:[0,1,2].map(t=>(0,r.jsxs)("g",{className:S().paquete,children:[(0,r.jsx)("animateMotion",{dur:"2.1s",begin:"".concat((.7*t+a%3*.18).toFixed(2),"s"),repeatCount:"indefinite",rotate:"auto",calcMode:"spline",keyPoints:"0;1",keyTimes:"0;1",keySplines:"0.3 0 0.6 1",children:(0,r.jsx)("mpath",{href:"#u-con-".concat(e.id)})}),(0,r.jsx)("path",{d:"M -16 0 L -3.5 -2 L -3.5 2 Z",className:S().cola}),(0,r.jsx)("circle",{r:"5.5",className:S().cabezaGlow}),(0,r.jsx)("circle",{r:"2.4",className:S().cabeza})]},t))})]},e.id)})}),u.map((e,a)=>{var t;return(0,r.jsxs)("section",{className:S().zona,"data-estado":b(e.id),"data-heroe":"history"===e.id?"":void 0,"data-id":e.id,style:{left:e.box.x,top:e.box.y,width:e.box.w,height:e.box.h,animationDelay:"".concat(-(1.1*a),"s")},children:[(0,r.jsxs)("header",{children:[(0,r.jsx)("b",{children:e.titulo}),(0,r.jsx)("i",{children:null!=(t=m.subs[e.id])?t:e.sub})]}),(0,r.jsx)("div",{className:S().zonaCuerpo,children:"players"===e.id?(0,r.jsx)(N.xI,{jugadores:s}):"teams"===e.id?(0,r.jsx)(N.bD,{destacados:l}):"history"===e.id?(0,r.jsx)(N.bw,{jugador:v}):"leagues"===e.id?(0,r.jsx)(N.tO,{marca:c.length?c:void 0}):(0,r.jsx)(e.Z,{})}),(0,r.jsx)("span",{className:S().zonaHalo,"aria-hidden":!0})]},e.id)})]})}var k=t(87654);let P=o.useLayoutEffect,R="sw_intro_vista",L=()=>{try{return"1"===sessionStorage.getItem(R)}catch(e){return!1}};function I(e){let{pasos:a,cargando:t,titulo:n,resumenTitulo:i,compacto:o}=e;return t||a.length?(0,r.jsxs)("aside",{className:b().actividad,"aria-live":"polite",children:[(0,r.jsx)("span",{className:b().actTitulo,children:t?n:i}),t?(0,r.jsx)("span",{className:b().actPaso,children:(0,r.jsx)("span",{className:b().actMarca,"data-curso":"1",children:"●"})}):a.map((e,a)=>(0,r.jsxs)("span",{className:b().actPaso,style:{animationDelay:"".concat(70*a,"ms")},children:[(0,r.jsx)("span",{className:b().actMarca,children:"✓"}),(0,r.jsxs)("span",{style:{display:"grid",minWidth:0},children:[(0,r.jsx)("span",{className:b().actClave,children:e.clave}),!o&&(0,r.jsx)("span",{className:b().actDetalle,children:e.detalle})]})]},"".concat(e.clave,"-").concat(a)))]}):null}let M={broadcast:"/app/assets/assets/broadcast/hero.webp",creator:"/app/assets/assets/creator/hero.webp",forecast:"/app/assets/assets/forecast/hero.webp",tracking:"/app/assets/assets/tracking/hero.webp",scout:"/app/assets/assets/scout/hero.webp",studio:"/inventario-assets/objetos/studio.png",trips:"/inventario-assets/explorar-viajes.webp",archive:"/app/assets/assets/explorar/historia.webp"};function q(e){let{display:a,delayMs:t,color:n,arranca:i}=e,s=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let e=s.current;if(!e||!i)return;let r=a.match(/^(\d+)(.*)$/);if(!r||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let n=parseInt(r[1],10),o=r[2],l=performance.now()+t;e.textContent="0".concat(o);let c=0,u=a=>{let t=Math.min(1,Math.max(0,(a-l)/2600)),r=1-Math.pow(1-t,3);e.textContent="".concat(Math.round(n*r)).concat(o),t<1&&(c=requestAnimationFrame(u))};return c=requestAnimationFrame(u),()=>cancelAnimationFrame(c)},[a,t,i]),(0,r.jsx)("p",{ref:s,className:"sw-cond",style:{color:n},children:a})}function O(e){var a,n,u,d,p,h,v,A,S,N;let{locale:O,stats:F,despues:B,variante:z="b",viva:D=null}=e,H=l.Zu[O],W=(0,o.useRef)(null),U=(0,o.useRef)(null),V=(0,o.useRef)(null),Y=(0,o.useRef)(null),Z=(0,o.useRef)(null),G=(0,o.useRef)(null),J=(0,o.useRef)(null),X=(0,o.useRef)(null),K=(0,o.useRef)(null),Q=(0,o.useRef)(null),$=(0,o.useRef)(null),ee=(0,o.useRef)(null),ea=(0,o.useRef)(null),[et,er]=(0,o.useState)(!1),en=(0,o.useRef)(null),ei=(0,o.useRef)([]),eo=(0,o.useRef)(null),es=(0,o.useRef)({}),el=(0,o.useRef)({}),ec=(0,o.useRef)(0),[eu,ed]=(0,o.useState)(""),[ep,eh]=(0,o.useState)(!1),[em,ev]=(0,o.useState)(!1),[eb,ef]=(0,o.useState)(null),[eg,e_]=(0,o.useState)("off"),[ew,ey]=(0,o.useState)({}),[ex,ej]=(0,o.useState)({k:1,top:0,movil:!1}),eA=(0,o.useRef)([]),[eS,eE]=(0,o.useState)(null),[eN,eT]=(0,o.useState)(null),eC=(0,o.useRef)(null),[ek,eP]=(0,o.useState)(!1),[eR,eL]=(0,o.useState)(!1),[eI,eM]=(0,o.useState)(0),[eq,eO]=(0,o.useState)(!0),[eF,eB]=(0,o.useState)(0),[ez,eD]=(0,o.useState)(!1),[eH,eW]=(0,o.useState)(""),[eU,eV]=(0,o.useState)(""),[eY,eZ]=(0,o.useState)(!1),[eG,eJ]=(0,o.useState)(0),eX=(0,o.useRef)(!0),eK=(0,o.useRef)([]);(0,o.useEffect)(()=>{let e=W.current;if(!e||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let a=!0,r=null;return(async()=>{var n,i;let[{gsap:o},{ScrollTrigger:s}]=await Promise.all([Promise.all([t.e(45592),t.e(47605)]).then(t.bind(t,47605)),t.e(55580).then(t.bind(t,55580))]);if(!a)return;o.registerPlugin(s);let c=Math.max(0,Math.round((null!=(i=null==(n=U.current)?void 0:n.getBoundingClientRect().top)?i:0)+window.scrollY));e.style.setProperty("--navH","".concat(c,"px")),e.dataset.scene="on";let u=o.matchMedia();u.add({ancho:"(min-width: 861px)",estrecho:"(max-width: 860px)"},e=>{var a;let t=!!(null==(a=e.conditions)?void 0:a.estrecho),r={figX:t?"-33vw":"-36vw",figY:t?"11vh":"4vh",figEscala:.32,marcaEscala:t?.34:.2,objX:t?"0vw":"9vw",rotX:t?"-2vw":"-24vw"},n=l.Hr.map(e=>es.current[e]).filter(e=>!!e),i=l.Hr.map(e=>el.current[e]).filter(e=>!!e),s={marca:V.current,fig:Y.current,claim:Z.current,barra:G.current,hint:J.current,planos:n,rotulos:i};if(!s.marca||!s.fig||!s.claim||!s.barra||n.length!==l.Hr.length||i.length!==l.Hr.length)return;let u=[{x:"68vw",y:"4vh",rotationY:-58,rotationZ:5,scale:.42},{x:"6vw",y:"74vh",rotationX:58,rotationZ:-4,scale:.5},{x:"-68vw",y:"-6vh",rotationY:55,rotationZ:-5,scale:.44},{x:"-4vw",y:"-75vh",rotationX:-52,rotationZ:6,scale:.5}],d={x:"2vw",y:"-2vh",rotationY:-30,rotationZ:0,scale:.24},p=en.current,h=()=>{s.planos.forEach((e,a)=>o.set(e,{...a===n.length-1?d:u[a%u.length],autoAlpha:0,force3D:!0}
1)),s.rotulos.forEach(e=>o.set(e,{autoAlpha:0})),p&&o.set(p,{autoAlpha:0,y:"6vh"})};ee.current=h,ea.current=()=>o.set([...s.planos,...s.rotulos,...p?[p]:[]],{clearProps:"all"}),h();let m=["",...l.Hr.map(e=>H.objeto[e])],v=e=>()=>{X.current&&(X.current.textContent=m[e],X.current.dataset.on=e?"1":"0")},b=o.timeline({defaults:{ease:"none",force3D:!0},scrollTrigger:{trigger:U.current,start:()=>"top ".concat(c,"px"),end:"+=".concat(82*(l.Hr.length+1),"%"),pin:!0,scrub:.75,anticipatePin:1,onUpdate:e=>{ec.current=e.progress}}});eo.current=b.scrollTrigger,b.to([s.claim,s.barra,K.current,Q.current,s.hint].filter(Boolean),{autoAlpha:0,y:-46,stagger:.6,duration:10},0).to(s.marca,{scale:r.marcaEscala,y:t?"-2vh":"-4vh",transformOrigin:"50% 0%",duration:16},0).to(s.fig,{x:r.figX,y:r.figY,scale:r.figEscala,transformOrigin:"50% 100%",duration:16},0).call(v(1),[],13);let f=s.planos.length,g=e=>0===e?4:24+(e-1)*18,_=[{ent:{rotationY:-9,rotationZ:-2},sal:{x:"-82vw",rotationY:26,rotationZ:-4,scale:1.24},desde:"34vw",hacia:"-52vw"},{ent:{rotationX:-5,rotationZ:2},sal:{y:"-78vh",rotationX:-42,rotationZ:-7,scale:1.16},desde:"-40vw",hacia:"40vw"},{ent:{rotationY:8,rotationZ:2},sal:{x:"80vw",rotationY:-30,rotationZ:5,scale:1.2},desde:"36vw",hacia:"-52vw"},{ent:{rotationX:6,rotationZ:-2},sal:{y:"72vh",rotationX:38,rotationZ:-8,scale:1.12},desde:"-40vw",hacia:"40vw"}];s.planos.forEach((e,a)=>{let t=_[a%_.length],n=g(a),i=a===f-1;b.to(e,{x:r.objX,y:"-2vh",...t.ent,scale:1,autoAlpha:1,duration:16},n).fromTo(s.rotulos[a],{x:t.desde},{x:r.rotX,duration:i?20:22},n).to(s.rotulos[a],{autoAlpha:.9,duration:6},n+6).call(v(a+1),[],n+9),i?b.to(e,{scale:1.04,y:"-4vh",duration:6},n+16).to(s.fig,{x:"-12vw",y:"34vh",scale:.22,autoAlpha:0,duration:7},n+14):b.to(e,{...t.sal,autoAlpha:0,duration:9},n+20).to(s.rotulos[a],{x:t.hacia,autoAlpha:0,duration:8},n+20)});let w=ei.current.filter(e=>!!e);if(p&&w.length){let e=g(f-1)+22;b.to(s.planos[f-1],{autoAlpha:0,scale:.9,y:"-14vh",duration:8},e).to(s.rotulos[f-1],{autoAlpha:0,duration:6},e).call(v(0),[],e+4).to(p,{autoAlpha:1,y:0,duration:10},e+4),w.forEach((a,t)=>{var r;
1let n=(null!=(r=a.dataset.fin)?r:"").match(/^(\d+)(.*)$/);if(!n)return;let i=parseInt(n[1],10),o=n[2],s={v:0};a.textContent="0".concat(o),b.to(s,{v:i,duration:14,onUpdate:()=>{a.textContent="".concat(Math.round(s.v)).concat(o)}},e+4+1.5*t)})}return()=>{var e;ee.current=null,ea.current=null,null==(e=b.scrollTrigger)||e.kill(),b.kill()}}),r=()=>u.revert()})(),()=>{a=!1,null==r||r(),delete e.dataset.scene}},[H.objeto]),(0,o.useEffect)(()=>{if(eu||ep)return;let e=setInterval(()=>{eO(!1),setTimeout(()=>{eM(e=>(e+1)%H.ejemplos.length),eO(!0)},450)},3800);return()=>clearInterval(e)},[eu,ep,H.ejemplos.length]),(0,o.useEffect)(()=>{if("b"!==z||!ez)return;let e=window.setInterval(()=>eJ(e=>e+1),5e3);return()=>window.clearInterval(e)},[z,ez]);let eQ=(0,o.useCallback)(()=>{eX.current=!1,eK.current.forEach(clearTimeout),eK.current=[],eD(!0),eK.current.push(window.setTimeout(()=>eZ(!0),7200))},[]);P(()=>{"b"===z&&((0,x.Xu)()||L())&&eQ()},[z,eQ]),(0,o.useEffect)(()=>{if("b"!==z)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||(0,x.Xu)()||L())return void eQ();try{sessionStorage.setItem(R,"1")}catch(e){}let e=!0;eX.current=!0;let a=a=>new Promise(t=>{eK.current.push(window.setTimeout(()=>{e&&eX.current&&t()},a))}),t=async(t,r,n)=>{for(let i=0;i<t.length;i++){if(!e||!eX.current)return;n(t.slice(0,i+1)),await a(r+30*("."===t[i]))}};return(async()=>{if(await a(100),await t(H.intro1,28,eW),await a(200),eX.current&&(eB(1),await t(H.intro2,38,eV),await a(850),eX.current))eB(2),await a(1600),eX.current&&(eB(3),await a(780),eX.current&&eQ())})(),()=>{e=!1,eK.current.forEach(clearTimeout),eK.current=[]}},[z]);let e$=()=>{if(!ez){eQ(),window.scrollTo({top:0,behavior:"auto"});return}let e=()=>{let e=document.getElementById("hoy");if(!e)return;let a=document.querySelector("header, nav"),t=a?a.getBoundingClientRect().height:0;window.scrollTo({top:window.scrollY+e.getBoundingClientRect().top-t-2,behavior:"auto"})};e(),window.requestAnimationFrame(()=>window.requestAnimationFrame(e))},[e0,e1]=(0,o.useState)(!1);(0,o.useEffect)(()=>{let e=window.matchMedia("(max-width: 720px)"),a=()=>e1(e.matches);return a(),e.addEventListener("change",a),()=>e.removeEventListener("change",a)},[]);let[e2,e5]=(0,o.useState)(!1),[e4,e3]=(0,o.useState)(!1);(0,o.useEffect)(()=>{try{let e=new URLSearchParams(window.location.search).get("analista");e5("tarjeta"===e||"kit"===e),e3("kit"===e)}catch(e){e5(!1),e3(!1)}},[]),(0,o.useEffect)(()=>{let e=new URLSearchParams(window.location.search).get("demo");if(!e)return;let a=y.d[e];a&&(ed("demo: ".concat(e)),ev(!1),eE(null),ef(a))},[]);let e6=(0,o.useRef)(0),e8=(0,o.useRef)(null),e9=(0,o.useRef)(new Map),e7=(0,o.useCallback)(()=>{let e=G.current;if(!e)return;let a=e.getBoundingClientRect().top+window.scrollY-72;window.scrollTo({top:Math.max(0,a),behavior:"auto"})},[]),ae=(0,o.useCallback)(e=>{var a,t,r,n,i;let o=W.current,s=eo.current;if(o&&s)if(e){if("1"===o.dataset.lectura)return;null==(a=s.enable)||a.call(s,!1),null==(t=s.disable)||t.call(s,!0),null==(r=ea.current)||r.call(ea),delete o.dataset.scene,o.dataset.lectura="1",er(!0),window.requestAnimationFrame(()=>{e7(),window.dispatchEvent(new Event("resize"))})}else"1"===o.dataset.lectura&&(delete o.dataset.lectura,o.dataset.scene="on",er(!1),null==(i=ee.current)||i.call(ee)),null==(n=s.enable)||n.call(s),window.setTimeout(()=>window.dispatchEvent(new Event("resize")),60)},[e7]),aa=(0,o.useCallback)(()=>{var e,a;null==(a=eo.current)||null==(e=a.disable)||e.call(a,!1),requestAnimationFrame(()=>{let e=G.current;if(!e)return;let a=e.getBoundingClientRect().top+window.scrollY-72;(e.getBoundingClientRect().bottom>window.innerHeight-12||e.getBoundingClientRect().top<72)&&window.scrollTo({top:Math.max(0,a),behavior:"smooth"})})},[ae]),at=(0,o.useCallback)(async(e,a)=>{var r,n,i,o,s,l;let c=(null!=e?e:eu).trim();if(!c)return;e&&ed(e);let u=(0,j.Dh)(c),d=(null==a?void 0:a.refrescar)?void 0:e9.current.get(u);if(d){null==(i=e8.current)||i.abort(),++e6.current,ev(!1),eE(null),ef(d),null==(o=an.current)||o.blur(),aa();return}null==(r=e8.current)||r.abort();let p=new AbortController;e8.current=p;let h=++e6.current;ev(!0),ef(null),eE(null),null==(n=an.current)||n.blur(),requestAnimationFrame(()=>{an.current&&(an.current.scrollTop=0)});try{let e="";try{e=null!=(l=null==(s=(await (await Promise.resolve().then(t.bind(t,60450))).getBrowserSupabase().auth.getSession()).data.session)?void 0:s.access_token)?l:""}catch(e){}let a=await fetch("/api/ask",{method:"POST",headers:{"content-type":"application/json",...e?{Authorization:"Bearer ".concat(e)}:{}},body:JSON.stringify({tz:-new Date().getTimezoneOffset(),question:c,locale:O,persona:"analista",tz_name:(()=>{try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return}})(),history:[]}),signal:p.signal});if(h!==e6.current)return;if(429===a.status||413===a.status){let e=await a.json().catch(()=>null);eT("string"==typeof(null==e?void 0:e.error)&&e.error.length>12?e.error:null),eE("cupo");return}let r=await a.json();if(h!==e6.current||(null==r?void 0:r.para)&&r.para.trim()!==c)return;(null==r?void 0:r.answer)?(e9.current.set(u,r),ef(r)):eE("fallo"),aa()}catch(e){if((null==e?void 0:e.name)==="AbortError"||h!==e6.current)return;eE("fallo")}finally{h===e6.current&&ev(!1)}},[eu,O,aa]),ar=(0,o.useRef)(null);(0,o.useEffect)(()=>{var e,a;let t=U.current,r=Y.current,n=V.current,i=G.current;if(!t||!r||!n||!i)return;let o=!1,s=()=>
1{if(!o){o=!0;try{l()}finally{o=!1}}},l=()=>{if(!r.offsetHeight)return;let e=t.querySelector('[class*="stats"]');if(e){var a;let t=null!=(a=ar.current)?a:ar.current=(()=>{let a=getComputedStyle(e);return{mt:parseFloat(a.marginTop)||0,pt:parseFloat(a.paddingTop)||0,mb:parseFloat(a.marginBottom)||0}})(),r=Math.max(0,t.mt+t.pt+t.mb-10),n=e=>{let a=Math.min(e,r);return r-=a,e-a};e.style.marginTop="".concat(n(t.mt),"px"),e.style.paddingTop="".concat(n(t.pt),"px"),e.style.marginBottom="".concat(n(t.mb),"px")}let o=()=>[...t.children].filter(e=>e instanceof HTMLElement&&null!==e.offsetParent&&["static","relative"].includes(getComputedStyle(e).position)).reduce((e,a)=>Math.max(e,a.offsetTop+a.offsetHeight),0),s=0,l=e=>{t.style.setProperty("--barraDy","".concat(Math.max(0,e).toFixed(0),"px")),i.offsetTop};l(0);let c=128;for(;c>=2;)l(s+c),o()<=t.clientHeight-4?s+=c:l(s),c=Math.floor(c/2);l(s);let u=n.offsetTop+n.offsetHeight-6,d=Math.max((i.offsetTop-u)/.94,.5*t.clientHeight),p=r.offsetHeight,h=d/(.8094*p);!Number.isFinite(h)||h<=.4||h>4||(t.style.setProperty("--figK",h.toFixed(4)),t.style.setProperty("--figDy","".concat((u-r.offsetTop-.1115*p*h).toFixed(1),"px")))};s();let c=new ResizeObserver(s);return c.observe(t),c.observe(n),c.observe(i),c.observe(r),null==(a=document.fonts)||null==(e=a.ready)||e.then(s).catch(()=>{}),()=>c.disconnect()},[]),(0,o.useEffect)(()=>{var e,a,t,r;let n={escribiendo:eu.trim().length>0&&!em,procesando:em,fallo:"fallo"===eS,sinCupo:"cupo"===eS,familia:null!=(a=null==eb||null==(e=eb.presentacion)?void 0:e.family)?a:null,hayComparacion:!!(null==eb?void 0:eb.comparacion),render:null!=(t=null==eb?void 0:eb.render)?t:null,entidadResuelta:(null!=(r=null==eb?void 0:eb.actividad)?r:[]).some(e=>(null==e?void 0:e.tipo)==="entidad")};window.dispatchEvent(new CustomEvent("sw:motion-senales",{detail:n}))},[eu,em,eb,eS]);let an=(0,o.useRef)(null),ai=(0,o.useCallback)(e=>{e&&(e.style.height="auto",e.style.height="".concat(Math.min(e.scrollHeight,160),"px"))},[]);(0,o.useEffect)(()=>{ai(an.current)},[eu,ai]);let ao=em||!!(null==eb?void 0:eb.answer)||!!eS,as=(0,o.useCallback)(()=>{let e=U.current,a=Y.current;if(!e||!a)return;let t=window.matchMedia("(max-width: 860px)").matches,r=t?E.Mq:E.W,n=t?E.zo:E.H,i=t?E.SI:E.Gu,o=e.getBoundingClientRect(),s=a.getBoundingClientRect(),l=t?Math.min(o.width/r,.62):Math.min(o.width/r,.96*o.height/n),c=s.bottom-o.top-.74*s.height*.5;ej({k:l,top:t?Math.max(Math.round(c-i.y*l),28):Math.round(c-i.y*l)+26,movil:t})},[]);(0,o.useEffect)(()=>{if("off"!==eg)return as(),window.addEventListener("resize",as),()=>window.removeEventListener("resize",as)},[eg,as]),(0,o.useEffect)(()=>{em&&(eA.current.forEach(clearTimeout),eA.current=[],ey({}),e_("brasas"))},[em]),(0,o.useEffect)(()=>{if(!(null==eb?void 0:eb.answer))return;let e=(0,E.sT)(eb);eA.current.forEach(clearTimeout),eA.current=[],e_("vivo");let a=a=>ey(Object.fromEntries(e.map(e=>[e,a])));return a("candidate"),eA.current.push(window.setTimeout(()=>a("active"),700)),eA.current.push(window.setTimeout(()=>a("resolved"),3400)),eA.current.push(window.setTimeout(()=>{e_("off"),ey({}),ae(!0)},8e3)),()=>{eA.current.forEach(clearTimeout),eA.current=[]}},[eb,ae]),(0,o.useEffect)(()=>{em||null!=eb&&eb.answer||""===eu.trim()&&(e_("off"),ey({}))},[eu,em,eb]);let al=(0,o.useMemo)(()=>eb?(0,E.GN)(eb):[],[eb]),ac=(0,o.useMemo)(()=>eb?(0,E.AQ)(eb):[],[eb]),au=(0,o.useMemo)(()=>{var e,a;return null!=(a=null==eb||null==(e=eb.routing)?void 0:e.competitions)?a:[]},[eb]),ad=null!=(a=null==eb?void 0:eb.para)?a:"",ap=(0,j.lE)(eb),ah=!!ad&&ap.es,am=ap.canonico,av=ah?(0,j.Eq)(ad,am):null,ab=!!eb&&!em&&e9.current.get((0,j.Dh)(ad))===eb;(0,o.useEffect)(()=>{let e=e=>{var a;let t=String(null!=(a=e.detail)?a:"").trim();t&&(ae(!1),window.scrollTo({top:0,behavior:"auto"}),window.setTimeout(()=>{at(t)},900))};return window.addEventListener("sw:preguntar",e),()=>window.removeEventListener("sw:preguntar",e)},[at]),(0,o.useEffect)(()=>{ao||ae(!1)},[ao,ae]),(0,o.useEffect)(()=>{eP(!1)},[eb]),(0,o.useEffect)(()=>{let e=eC.current;if(!e||!ao||em)return void eL(!1);let a=()=>eL(e.scrollHeight>e.clientHeight+2);a();let t=new ResizeObserver(a);return t.observe(e),()=>t.disconnect()},[eb,eS,ao,em,ek]),(0,o.useEffect)(()=>
1{if(!ek)return;let e=window.scrollY,a=document.body,t={position:a.style.position,top:a.style.top,width:a.style.width};a.style.position="fixed",a.style.top="-".concat(e,"px"),a.style.width="100%";let r=e=>{"Escape"===e.key&&eP(!1)};return document.addEventListener("keydown",r),()=>{a.style.position=t.position,a.style.top=t.top,a.style.width=t.width,window.scrollTo(0,e),document.removeEventListener("keydown",r)}},[ek]);let af=(0,o.useMemo)(()=>(null==eb?void 0:eb.followups)?eb.followups.map(e=>{var a,t,r,n;return"string"==typeof e?{label:e,question:e}:{label:null!=(t=null!=(a=e.label)?a:e.question)?t:"",question:null!=(n=null!=(r=e.question)?r:e.label)?n:""}}).filter(e=>e.label&&e.question).slice(0,2):[],[eb]);return(0,r.jsxs)("div",{ref:W,className:b().root,"data-variante":z,"data-portada":"alternativa",children:[(0,r.jsxs)("section",{ref:U,className:b().escenario,"data-universo":eg,children:[(0,r.jsx)("div",{className:b().halo,"aria-hidden":!0}),(0,r.jsxs)("button",{type:"button",className:b().saltar,onClick:e$,children:[ez?k.s[O].titulo:H.saltar," ↓"]}),"b"===z&&(0,r.jsx)("div",{className:"".concat(b().intro," ").concat(ez?b().introFuera:""),onClick:eQ,role:"presentation",children:(0,r.jsxs)("div",{className:b().introEscenario,children:[(0,r.jsx)("div",{className:b().introPlano,"data-on":0===eF?"1":"0",children:(0,r.jsxs)("p",{className:"".concat(b().introTexto," sw-cond"),children:[eH,(0,r.jsx)("span",{className:b().introCursor,"aria-hidden":!0,children:"█"})]})}),(0,r.jsx)("div",{className:b().introPlano,"data-on":1===eF?"1":"0",children:(0,r.jsxs)("p",{className:"".concat(b().introTexto," sw-cond"),children:[eU,(0,r.jsx)("span",{className:b().introCursor,"aria-hidden":!0,children:"█"})]})}),(0,r.jsx)("div",{className:b().introPlano,"data-on":2===eF?"1":"0",children:(0,r.jsxs)("div",{className:b().introCap,"data-on":2===eF?"1":"0",children:[(0,r.jsx)("span",{className:"".concat(b().introCapLinea," sw-cond"),children:H.introCap}),(0,r.jsxs)("span",{className:b().introCapSub,children:[H.introSub,(0,r.jsx)("b",{children:H.introSub2})]})]})}),(0,r.jsx)("div",{className:"".concat(b().introPlano," ").concat(b().introTodoPlano),"data-on":3===eF?"1":"0",children:(0,r.jsx)("div",{className:"".concat(b().introTodo," sw-cond"),children:H.introTodo})})]})}),(0,r.jsx)("span",{ref:X,className:"".concat(b().hud," sw-cond"),"data-on":"0","aria-hidden":!0}),(0,r.jsxs)("h1",{ref:V,className:"".concat(b().marca," sw-cond"),"aria-label":"SportiveWorld",children:["SPORTIVE",(0,r.jsx)("span",{children:"WORLD"})]}),l.Hr.map(e=>(0,r.jsxs)(i(),{href:(0,s.SM)(l.W_[e],O),className:b().plano,ref:a=>{es.current[e]=a},"aria-label":H.objeto[e],children:[(0,r.jsx)("img",{src:M[e],alt:"",loading:"eager",decoding:"async"}),(0,r.jsx)("span",{className:b().planoFrase,children:H.objetoFrase[e].split("\n").map((e,a)=>(0,r.jsx)("span",{children:e},a))})]},e)),l.Hr.map(e=>(0,r.jsx)("span",{ref:a=>{el.current[e]=a},className:"".concat(b().rotulo," sw-cond"),"aria-hidden":!0,children:H.objeto[e]},e)),"b"===z&&(0,r.jsxs)("div",{className:b().appLlamada,children:[(0,r.jsx)("span",{className:b().appLlamadaTitulo,children:H.appTitulo}),(0,r.jsx)("button",{type:"button",className:b().appLlamadaCta,onClick:()=>{e$(),window.setTimeout(()=>window.dispatchEvent(new CustomEvent("sw:abrir-app")),120)},children:H.appCta}),(0,r.jsxs)("span",{className:b().appLlamadaTiendas,children:[(0,r.jsx)("a",{href:"https://apps.apple.com/app/sportive-world/id6785783302",target:"_blank",rel:"noopener",children:(0,r.jsx)("img",{src:"es"===O?"/badges/appstore-es.svg":"/badges/appstore-en.svg",alt:"App Store"})}),(0,r.jsx)("a",{href:"https://play.google.com/store/apps/details?id=com.sportiveworld.sportiveworld",target:"_blank",rel:"noopener",children:(0,r.jsx)("img",{src:"es"===O?"/badges/playstore-es.png":"/badges/playstore-en.png",alt:"Google Play"})})]})]}),F.cifras.length>0&&(0,r.jsxs)("div",{ref:en,className:b().cifrasFin,"aria-hidden":!0,children:[(0,r.jsx)("div",{className:b().cifrasFinFila,children:F.cifras.map((e,a)=>{let[t,n]=e;return(0,r.jsxs)("div",{className:b().cifraFin,children:[(0,r.jsx)("p",{ref:e=>{ei.current[a]=e},"data-fin":t,style:{color:0===a?"#F59E0B":3===a?"#4AA3FF":"var(--sw-paper)"},children:t}),(0,r.jsx)("span",{children:n})]},n)})}),(0,r.jsx)("p",{className:b().cifrasFinNota,children:F.nota})]}),(0,r.jsx)("div",{className:b().universo,"data-fase":eg,style:{to
1p:ex.top},"aria-hidden":!0,children:(0,r.jsx)(T.Gm.Provider,{value:O,children:(0,r.jsx)(C,{lang:O,fase:eg,estados:ew,k:ex.k,movil:ex.movil,jugadores:al,equipos:ac,ligas:au})})}),(0,r.jsx)("button",{type:"button",ref:Y,className:b().figBtn,onClick:()=>{ec.current>.04&&window.scrollTo({top:0,behavior:"smooth"})},"aria-label":H.miniAria,children:(0,r.jsx)("span",{className:b().figEncoge,children:(0,r.jsx)(c.A,{lang:O,className:b().fig3d,poster2d:"/app/assets/assets/poses/pose-discovery_finger.webp",aspect:"687 / 820"})})}),(0,r.jsxs)("div",{ref:G,"data-qa":"barra-zona","data-qa-resp":ao?"1":"0",className:"".concat(b().barraZona," ").concat(ao?b().conRespuesta:""),children:[D?(0,r.jsx)(m,{viva:D,locale:O,oculta:ao||em}):null,(0,r.jsxs)("p",{ref:Z,className:b().claim,children:[(0,r.jsx)("span",{className:b().claimPunto,"aria-hidden":!0}),"b"===z?(0,r.jsx)("span",{className:b().claimFrase,children:H.frases[eG%H.frases.length]},eG):(0,r.jsxs)("span",{children:[H.claim1," ",(0,r.jsx)("b",{children:H.claim2})]})]},"b"===z?"b":"a"),(0,r.jsxs)("form",{className:b().barra,onSubmit:e=>{e.preventDefault(),at()},children:[!eu&&(0,r.jsx)("span",{className:"".concat(b().ejemplo," ").concat(eq?"":b().ejemploOff),"aria-hidden":!0,children:H.ejemplos[eI]}),(0,r.jsx)("textarea",{ref:an,className:b().input,value:eu,rows:1,onChange:e=>ed(e.target.value),onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&(e.preventDefault(),!em&&eu.trim()&&at())},onFocus:()=>eh(!0),onBlur:()=>eh(!1),"aria-label":H.ejemplos[0],enterKeyHint:"send"}),(0,r.jsx)("button",{type:"submit",className:"".concat(b().enviar," sw-cond"),disabled:em||!eu.trim(),children:H.enviar})]}),ao&&(0,r.jsx)("div",{className:b().panel,children:em?(0,r.jsxs)("div",{className:b().panelCols,children:[(0,r.jsxs)("span",{className:"".concat(b().panelCargando," ").concat(b().panelIzq),children:[(0,r.jsxs)("span",{className:b().puntos,children:[(0,r.jsx)("i",{}),(0,r.jsx)("i",{}),(0,r.jsx)("i",{})]}),H.pensando]}),(0,r.jsx)(I,{pasos:[],cargando:!0,titulo:H.trabajando,resumenTitulo:H.comoSeConstruyo,compacto:e0})]}):(0,r.jsxs)(r.Fragment,{children:[eS?(0,r.jsx)("p",{className:b().panelTexto,children:"cupo"===eS?null!=eN?eN:H.sinCupo:H.fallo}):(0,r.jsxs)("div",{className:b().panelCols,children:[(0,r.jsxs)("div",{className:b().panelIzq,children:[(0,r.jsx)("div",{ref:eC,"data-qa":"respuesta",className:b().panelRecorte,"data-prioridad":ah?"narrativa":void 0,"data-colapsado":"1","data-sobra":eR?"1":"0",children:e2&&(null==eb?void 0:eb.inteligencia)?e4?(0,r.jsx)(w.A,{className:b().panelTexto,m:{inteligencia:eb.inteligencia,rico:null!=(n=eb.rico)?n:null,insight:null!=(u=eb.insight)?u:null},locale:O,onPregunta:e=>{at(e)}}):(0,r.jsx)(_.A,{className:b().panelTexto,m:{inteligencia:eb.inteligencia,rico:null!=(d=eb.rico)?d:null,insight:null!=(p=eb.insight)?p:null},locale:O,onPregunta:e=>{at(e)}}):(0,r.jsx)(g.A,{className:b().panelTexto,presentacion:null==eb?void 0:eb.presentacion,answer:null==eb?void 0:eb.answer,rows:null==eb?void 0:eb.rows,comparacion:null==eb?void 0:eb.comparacion,render:null==eb?void 0:eb.render,compacto:e0,verMas:H.verMas,verMenos:H.verMenos,lecturaLabel:H.lectura,prioridad:ah?"narrativa":void 0,aliasCanonico:av,aliasLabel:H.tambienConocido})}),eR&&!ek&&(0,r.jsxs)("button",{type:"button",className:b().verTodo,onClick:()=>eP(!0),children:[H.analisisCompleto," →"]})]}),(0,r.jsx)(I,{pasos:null!=(h=null==eb?void 0:eb.actividad)?h:[],cargando:!1,titulo:H.trabajando,resumenTitulo:H.comoSeConstruyo,compacto:e0})]}),af.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"".concat(b().seguirTag," sw-cond"),children:H.seguir}),(0,r.jsx)("div",{className:b().chips,children:af.map(e=>(0,r.jsx)("button",{type:"button",className:b().chip,onClick:()=>at(e.question),children:e.label},e.question))})]}),(0,r.jsxs)("div",{className:b().pieRespuesta,children:[(0,r.jsx)("button",{type:"button",className:b().cerrar,onClick:()=>{ef(null),eE(null)},children:H.cerrar}),ab&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:b().reutilizada,title:H.reutilizada,children:H.reutilizada}),(0,r.jsx)("button",{type:"button",className:b().actualizar,onClick:()=>at(ad,{refrescar:!0}),children:H.actualizar})]})]})]})})]}),et&&(0,r.jsx)("nav",{className:b().dock,"data-dock":"",children:l.Hr.map(e=>(0,r.jsxs)(i(),{href:(0,s.SM)(l.W_[e],O),className:b().dockItem,children:[(0,r.jsx)("img",{src:M[e],alt:"",loading:"lazy",decoding:"async"}),(0,r.jsx)("span",{className:"sw-cond",children:H.objeto[e]})]},e))}),F.cifras.length>0&&(0,r.jsxs)("div",{ref:K,className:"".concat(b().stats," ").concat("b"===z&&eY?b().statsFuera:""),"data-arranca":"b"!==z||ez?"1":"0",children:[F.cifras.map((e,a)=>{let[t,n]=e;return(0,r.jsxs)("div",{className:b().cifraItem,style:{"--i":a},children:[(0,r.jsx)(q,{display:t,delayMs:250+380*a,color:0===a?"#F59E0B":3===a?"#4AA3FF":"#fff",arranca:"b"!==z||ez}),(0,r.jsx)("span",{children:n})]},n)}),(0,r.jsx)("p",{className:b().statsNota,children:F.nota})]}
1),0===F.cifras.length&&!ao&&(0,r.jsx)("span",{ref:J,className:b().scrollHint,"aria-hidden":!0,children:H.scrollHint})]}),ek&&(null==eb?void 0:eb.answer)&&"undefined"!=typeof document&&(0,f.createPortal)((0,r.jsx)("div",{className:b().lectura,role:"dialog","aria-modal":"true","aria-label":H.lectura,onClick:e=>{e.target===e.currentTarget&&eP(!1)},children:(0,r.jsxs)("div",{className:b().lecturaCaja,children:[(0,r.jsxs)("header",{className:b().lecturaCabecera,children:[(0,r.jsx)("span",{className:"".concat(b().lecturaTitulo," sw-cond"),children:H.lectura}),(0,r.jsxs)("button",{type:"button",className:b().lecturaCerrar,onClick:()=>eP(!1),"aria-label":H.cerrar,children:[H.cerrar," ✕"]})]}),(0,r.jsx)("div",{className:b().lecturaCuerpo,children:e2&&(null==eb?void 0:eb.inteligencia)?e4?(0,r.jsx)(w.A,{m:{inteligencia:eb.inteligencia,rico:null!=(v=eb.rico)?v:null,insight:null!=(A=eb.insight)?A:null},locale:O,onPregunta:e=>{at(e)}}):(0,r.jsx)(_.A,{m:{inteligencia:eb.inteligencia,rico:null!=(S=eb.rico)?S:null,insight:null!=(N=eb.insight)?N:null},locale:O,onPregunta:e=>{at(e)}}):(0,r.jsx)(g.A,{presentacion:null==eb?void 0:eb.presentacion,answer:null==eb?void 0:eb.answer,rows:null==eb?void 0:eb.rows,comparacion:null==eb?void 0:eb.comparacion,render:null==eb?void 0:eb.render,verMas:H.verMas,verMenos:H.verMenos,lecturaLabel:H.lectura})})]})}),document.body),B&&(0,r.jsx)("div",{ref:$,className:b().homeReal,children:B})]})}},96043:(e,a,t)=>{"use strict";t.d(a,{Y:()=>l});var r=t(78690),n=t(75523),i=t(50850);let o=new Set(n.Ae.map(e=>e.cue)),s=new Set(Object.keys(r.jb).filter(e=>r.jb[e].aprobado&&!o.has(e))),l={resolve:e=>(0,r.L2)(e,s).cue,phase:e=>{var a;return(0,r.L2)(null!=(a=(0,n.Jx)(e,"ERROR"===e?"ERROR":null,{turno:0}).cue)?a:"N0",s).cue},capability:()=>(0,i.Tu)((0,i.eC)())}},96315:(e,a,t)=>{"use strict";t.d(a,{default:()=>d});var r=t(95155),n=t(12115);let i={es:{sub:"Tu briefing. Lo que importa ahora.",rapido:e=>"R\xc1PIDO \xb7 ".concat(e," MIN"),completo:e=>"COMPLETO \xb7 ".concat(e," MIN"),escuchar:"Escuchar",min:e=>"".concat(e," min"),sonando:(e,a)=>"Parar \xb7 ".concat(e,"/").concat(a),saltado:"Una pieza no se pudo reproducir. Sigo con la siguiente.",modo:"Duraci\xf3n del briefing"},en:{sub:"Your briefing. What matters now.",rapido:e=>"QUICK \xb7 ".concat(e," MIN"),completo:e=>"FULL \xb7 ".concat(e," MIN"),escuchar:"Listen",min:e=>"".concat(e," min"),sonando:(e,a)=>"Stop \xb7 ".concat(e,"/").concat(a),saltado:"One piece couldn't play. Moving on to the next.",modo:"Briefing length"},de:{sub:"Dein Briefing. Was jetzt z\xe4hlt.",rapido:e=>"KURZ \xb7 ".concat(e," MIN"),completo:e=>"KOMPLETT \xb7 ".concat(e," MIN"),escuchar:"Anh\xf6ren",min:e=>"".concat(e," Min."),sonando:(e,a)=>"Stopp \xb7 ".concat(e,"/").concat(a),saltado:"Ein Beitrag konnte nicht abgespielt werden. Weiter mit dem n\xe4chsten.",modo:"L\xe4nge des Briefings"},fr:{sub:"Ton briefing. Ce qui compte maintenant.",rapido:e=>"RAPIDE \xb7 ".concat(e," MIN"),completo:e=>"COMPLET \xb7 ".concat(e," MIN"),escuchar:"\xc9couter",min:e=>"".concat(e," min"),sonando:(e,a)=>"Stop \xb7 ".concat(e,"/").concat(a),saltado:"Un \xe9l\xe9ment n'a pas pu \xeatre lu. Je passe au suivant.",modo:"Dur\xe9e du briefing"}};var o=t(58392),s=t.n(o);let l="sw_brief_modo",c=(e,a)=>{var t;return(null!=(t=null==e?void 0:e.segments)?t:[]).filter(e=>{var t;return((e,a)=>"ambos"===e.modo||e.modo===(a?"full":"quick"))(e,a)&&!!e.audio&&!(null==(t=e.solo_si_sigue)?void 0:t.length)})},u=e=>Math.min(9,Math.max(1,Math.ceil(e.reduce((e,a)=>e+(Number(a.dur_est)||0),0)/60)));function d(e){var a;let{locale:t}
1=e,o=i[t],[d,p]=(0,n.useState)(null),[h,m]=(0,n.useState)(!1),[v,b]=(0,n.useState)(-1),[f,g]=(0,n.useState)(null),_=(0,n.useRef)(null),w=(0,n.useRef)({i:-1,sonando:!1,pos:0,ultimoAvance:0,cola:[]}),y=(0,n.useRef)(null);(0,n.useEffect)(()=>{try{m("full"===localStorage.getItem(l))}catch(e){}let e=new AbortController;return fetch("/api/briefing?scope=sw&lang=".concat(t),{signal:e.signal}).then(e=>e.ok?e.json():null).then(e=>{e&&Array.isArray(e.segments)&&p(e)}).catch(()=>{}),()=>e.abort()},[t]);let x=(0,n.useMemo)(()=>c(d,h),[d,h]),j=(0,n.useMemo)(()=>u(c(d,!1)),[d]),A=(0,n.useMemo)(()=>u(c(d,!0)),[d]);w.current.cola=x;let S=(0,n.useCallback)(()=>{var e;y.current&&clearInterval(y.current),y.current=null,w.current.sonando=!1,w.current.i=-1,null==(e=_.current)||e.pause(),b(-1)},[]),E=(0,n.useCallback)(e=>{var a;let t=w.current;if(!t.sonando)return;if(e>=t.cola.length)return void S();t.i=e,t.pos=0,t.ultimoAvance=Date.now(),b(e);let r=null!=(a=_.current)?a:_.current=new Audio;r.src=String(t.cola[e].audio),r.play().catch(()=>{g(o.saltado),E(e+1)})},[S,o.saltado]);(0,n.useEffect)(()=>{var e;let a=null!=(e=_.current)?e:_.current=new Audio;a.preload="auto";let t=()=>E(w.current.i+1),r=()=>{a.currentTime!==w.current.pos&&(w.current.pos=a.currentTime,w.current.ultimoAvance=Date.now())};return a.addEventListener("ended",t),a.addEventListener("timeupdate",r),()=>{a.removeEventListener("ended",t),a.removeEventListener("timeupdate",r),a.pause(),y.current&&clearInterval(y.current)}},[E]);let N=e=>{if(e!==h){w.current.sonando&&S(),m(e);try{localStorage.setItem(l,e?"full":"quick")}catch(e){}}};if(!d||!x.length)return null;let T=v>=0,C=u(x);return(0,r.jsxs)("section",{className:s().brief,"data-brief":d.scope,"data-brief-modo":h?"full":"quick","data-brief-piezas":x.length,"aria-label":null!=(a=d.label)?a:o.sub,children:[(0,r.jsxs)("div",{className:s().cab,children:[(0,r.jsx)("svg",{className:s().icono,viewBox:"0 0 24 24","aria-hidden":!0,children:(0,r.jsx)("path",{fill:"currentColor",d:"M12 3a9 9 0 0 0-9 9v6.5A2.5 2.5 0 0 0 5.5 21H7a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1H5v-1a7 7 0 0 1 14 0v1h-2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h1.5a2.5 2.5 0 0 0 2.5-2.5V12a9 9 0 0 0-9-9Z"})}),(0,r.jsx)("h2",{className:s().label,children:d.label}),(0,r.jsx)("time",{className:s().hora,dateTime:d.generated_at,children:((e,a)=>{try{let t="en"===a?"en-GB":a,r="Europe/Madrid",n=new Date(e),i=e=>e.toLocaleDateString("en-CA",{timeZone:r}),o=n.toLocaleTimeString(t,{hour:"2-digit",minute:"2-digit",timeZone:r});return i(n)===i(new Date)?o:"".concat(n.toLocaleDateString(t,{day:"numeric",month:"short",timeZone:r})," \xb7 ").concat(o)}catch(e){return""}})(d.generated_at,t)})]}),(0,r.jsx)("p",{className:s().sub,children:o.sub}),(0,r.jsxs)("div",{className:s().fila,children:[(0,r.jsxs)("div",{className:s().modos,role:"group","aria-label":o.modo,children:[(0,r.jsx)("button",{type:"button",className:s().chip,"aria-pressed":!h,onClick:()=>N(!1),children:o.rapido(j)}),(0,r.jsx)("button",{type:"button",className:s().chip,"aria-pressed":h,onClick:()=>N(!0),children:o.completo(A)})]}),(0,r.jsxs)("button",{type:"button",className:s().play,onClick:T?S:()=>{x.length&&(w.current.sonando=!0,g(null),E(0),y.current&&clearInterval(y.current),y.current=setInterval(()=>{let e=w.current;e.sonando&&(Date.now()-e.ultimoAvance<12e3||(g(o.saltado),E(e.i+1)))},2e3))},"data-brief-play":T?"parar":"escuchar",children:[T?(0,r.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":!0,children:(0,r.jsx)("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2",fill:"currentColor"})}):(0,r.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":!0,children:(0,r.jsx)("path",{d:"M8 5.5v13a1 1 0 0 0 1.5.86l10.5-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5Z",fill:"currentColor"})}),(0,r.jsx)("span",{children:T?o.sonando(v+1,x.length):"".concat(o.escuchar," \xb7 ").concat(o.min(C))})]})]}),T?(0,r.jsx)("div",{className:s().progreso,"aria-hidden":!0,children:(0,r.jsx)("span",{style:{width:"".concat((v+1)/x.length*100,"%")}})}):null,f?(0,r.jsx)("p",{className:s().aviso,role:"status",children:f}):null]})}}}]);

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.