1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6939],{6476:function(e,t,n){Promise.resolve().then(n.bind(n,60033))},95334:function(e,t,n){"use strict";n.d(t,{Is:function(){return i},Pj:function(){return l},fD:function(){return o},qN:function(){return a},sM:function(){return s},z5:function(){return r}}),n(74590);var c=n(58064);(0,c.$)("2b0f453746d247814d9286c47d7f26beede8180a");var a=(0,c.$)("91b3bc3e83a7a781c9579a041f6aa9942089b5de"),r=(0,c.$)("02940e9e3dd75553581f077a5d7fbf67fc1fee1a");(0,c.$)("30c865dc296d9f4995b0f66eb9988f7224244880"),(0,c.$)("70a153ec1b55ef4f11ed1dd277296d5e78097331");var s=(0,c.$)("8631c7aae95754423eef9b8e63289bf4c1fde6dd"),l=(0,c.$)("68f5bab6712437f07601407dce6446ca5ef602ab");(0,c.$)("083de76644f5b5ef5ff4f5b55d0609777abc683d");var o=(0,c.$)("bf7bfe2b189840414920876d415395096541b0ac"),i=(0,c.$)("3362ccb96c8088d6f8fd2e2298193a0ed955e55c");(0,c.$)("0831bc339b90c9fd932832b96e69270db1694d06"),(0,c.$)("b948f013ee6dedc14adb8a0811bd060cb1b3d4f5"),(0,c.$)("dc3e0622e42362e772efb07660d32eba47be63e2"),(0,c.$)("0b554b02845c52d9135f665d450bb642099e3930"),(0,c.$)("8cd564515b7af1051be57ea9abbbe6937f6aa40e")},60033:function(e,t,n){"use strict";n.d(t,{default:function(){return o}});var c=n(57437),a=n(85964),r=n(66648),s=n(2265),l=n(83250);function o(e){let{localTeam:t,visitorTeam:n}=e,o=(0,s.useRef)(null),i=(0,s.useRef)(null);(0,s.useEffect)(()=>{let e=new BroadcastChannel("scorefy-datatv");return e.onmessage=e=>{var t;if((null===(t=e.data)||void 0===t?void 0:t.type)==="update"){let{tvUrl:t}=e.data.payload;t&&window.location.pathname!==t&&(window.location.href=t)}},()=>e.close()},[]);let u=e=>{let t="local"===e?o:i,n="local"===e?i:o;t.current&&n.current&&(n.current.scrollTop=t.current.scrollTop)},f=e=>"1000"===e?"DT":"1001"===e?"AC":"1002"===e?"PF":"1003"===e?"EA":"1004"===e?"PD":"1005"===e?"DE":e,d=e=>e.slice().sort((e,t)=>{let n=!!e.number&&!isNaN(parseInt(e.number)),c=!!t.number&&!isNaN(parseInt(t.number));return!n&&c?-1:n&&!c?1:n||c?parseInt(e.number)-parseInt(t.number):e.name.localeCompare(t.name)}),F=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,n=[...d(e)];for(;n.length<t;)n.push({id:"placeholder-".concat(n.length),name:"",number:"",photo:"",hasCelebration:!1,hasPresentation:!1});return n},p=(e,t,n)=>{let s=F(e.players);return(0,c.jsxs)("div",{className:"flex flex-col items-center w-full h-full relative bg-black",children:[(0,c.jsxs)("div",{className:"flex items-center gap-4 my-4 animate-fadeIn",children:[(0,c.jsx)(r.default,{src:(0,a.AR)(e.id),alt:"Escudo",width:120,height:120,className:"object-contain"}),(0,c.jsx)("h2",{className:"text-6xl md:text-7xl lg:text-7xl font-bold uppercase text-center",children:(0,c.jsx)(l.default,{teamId:e.id,manualName:e.name})})]}),(0,c.jsxs)("div",{className:"relative w-full max-w-[1200px] h-[70vh] overflow-hidden",children:[(0,c.jsx)("div",{ref:t,onScroll:n,className:"h-full scroll-smooth hide-scrollbar",children:(0,c.jsxs)("div",{className:"flex flex-col animate-scrollUpSuperSlow divide-y divide-white/10 h-[5600px]",children:[s.map((e,t)=>(0,c.jsx)("div",{className:"flex items-end py-7 px-8 text-5xl md:text-6xl lg:text-8xl h-[140px] flex-shrink-0",children:(0,c.jsxs)("div",{className:"flex items-end gap-x-6",children:[(0,c.jsx)("span",{className:"w-24 text-right text-yellow-400 font-sans pb-4",children:f(e.number)}),(0,c.jsx)("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap capitalize font-sans pb-4",children:e.name?e.name:(0,c.jsx)(c.Fragment,{children:"\xa0"})})]})},"main-".concat(t))),s.map((e,t)=>(0,c.jsx)("div",{className:"flex items-end py-7 px-8 text-5xl md:text-6xl lg:text-8xl h-[140px] flex-shrink-0 opacity-50 blur-sm",children:(0,c.jsxs)("div",{className:"flex items-end gap-x-6",children:[(0,c.jsx)("span",{className:"w-24 text-right text-yellow-400 font-sans pb-3",children:f(e.number)}),(0,c.jsx)("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap capitalize font-sans pb-3",children:e.name?e.name:(0,c.jsx)(c.Fragment,{children:"\xa0"})})]})},"repeat-".concat(t)))]})}),(0,c.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-16 bg-gradient-to-t from-black via-black/50 to-transparent pointer-events-none"})]})]})};return(0,c.jsx)("div",{className:"w-screen h-screen overflow-hidden bg-black text-white",children:0===t.players.length&&0===n.players.length?(0,c.jsx)("div",{className:"w-full h-full flex items-center justify-center text-4xl md:text-5xl lg:text-6xl text-white",children:"Formaciones no disponibles"}):(0,c.jsxs)("div",{className:"grid gap-2 p-2 ".concat(t.players.length>0&&n.players.length>0?"grid-cols-2":"grid-cols-1"," w-full h-full"),children:[t.players.length>0&&p(t,o,()=>u("local")),n.players.length>0&&p(n,i,()=>u("visitor"))]})})}},83250:function(e,t,n){"use strict";n.d(t,{default:function(){return s}});
1var c=n(57437),a=n(2265),r=n(95334);function s(e){let{teamId:t,manualName:n,className:s}=e,[l,o]=(0,a.useState)(null!=n?n:"");return(0,a.useEffect)(()=>{t&&("phantomteamid2025"===t?n&&""!==n.trim()?o(n):(0,r.z5)(t).then(e=>{e&&o(e)}).catch(()=>o("")):(0,r.z5)(t).then(e=>{e&&o(e)}).catch(()=>{n&&o(n)}))},[t,n]),(0,c.jsx)("span",{className:s,children:l})}},85964:function(e,t,n){"use strict";n.d(t,{AR:function(){return f},GO:function(){return j},I1:function(){return y},LS:function(){return c},Mb:function(){return u},NC:function(){return M},O7:function(){return x},Pm:function(){return O},R8:function(){return C},Ud:function(){return h},X3:function(){return A},bx:function(){return g},dS:function(){return b},g8:function(){return N},jx:function(){return p},o5:function(){return d},sY:function(){return m},ur:function(){return F},yc:function(){return v}});let c="https://cdn.scorefy.app",a=e=>{if(!e)return{};try{let t=JSON.parse(e);if(!t||"object"!=typeof t||Array.isArray(t))return{};return Object.fromEntries(Object.entries(t).filter(e=>{let[,t]=e;return""!==String(null!=t?t:"").trim()}).map(e=>{let[t,n]=e;return[t,String(n)]}))}catch(e){return{}}},r=(e,t)=>{if(!t)return e;let n=e.includes("?")?"&":"?";return"".concat(e).concat(n,"v=").concat(encodeURIComponent(t))},s=a('{"rtcqamgcveqjlaru63846xhkf":"20260709-1"}'),l=a('{"FFM-P-F-SB-A-2026":"20260622-1","FFM-P-M-FSP-A-2026":"20260622-1","FFM-C20-M-ORO-A-2026":"20260622-1","FFM-C20-M-PLATA-A-2026":"20260622-1","FFM-C20-M-BRONCE-A-2026":"20260622-1","FFM-C17-M-ORO-A-2026":"20260622-1","FFM-P-M-SB-A-2026":"20260622-1","FFM-P-F-FSP-A-2026":"20260622-1","FFM-P-F-SA-A-2026":"20260622-1","FFM-C17-M-PLATA-A-2026":"20260622-1","FFM-C17-M-BRONCE-A-2026":"20260622-1","FFM-C15-M-BRONCE-A-2026":"20260622-1","FFM-F20-F-PLATA-A-2026":"20260622-1","FFM-F20-F-BRONCE-A-2026":"20260622-1","FFM-S-M-ORO-A-2026":"20260622-1","FFM-S-M-BRONCE-A-2026":"20260622-1","FFM-F17-F-ORO-A-2026":"20260622-1","FFM-F17-F-PLATA-A-2026":"20260622-1","FFM-F17-F-BRONCE-A-2026":"20260622-1","FFM-F15-F-ORO-A-2026":"20260622-1","FFM-F15-F-PLATA-A-2026":"20260622-1","FFM-F15-F-BRONCE-A-2026":"20260622-1","FFM-P-F-CM-A-2026":"20260622-1","FFM-C9-M-ORO-A-2026":"20260622-1","FFM-V-M-ORO-A-2026":"20260622-1","FFM-C7-M-ORO-A-2026":"20260622-1","FFM-C7-M-PLATA-A-2026":"20260622-1","FFM-C9-M-PLATA-A-2026":"20260622-1","FFM-C11-M-PLATA-A-2026":"20260622-1","FFM-C13-M-PLATA-A-2026":"20260622-1","FFM-C13-M-BRONCE-A-2026":"20260622-1","FFM-C11-M-BRONCE-A-2026":"20260622-1","FFM-C9-M-BRONCE-A-2026":"20260622-1","FFM-F13-F-ORO-A-2026":"20260623-1","FFM-F13-F-PLATA-A-2026":"20260623-1","FFM-F11-F-PLATA-A-2026":"20260623-1","FFM-F11-F-ORO-A-2026":"20260623-1","FFM-P-M-SA-A-2026":"20260622-1","FFM-V-M-PLATA-A-2026":"20260622-1","FFM-F20-F-ORO-A-2026":"20260622-1","FFM-S-M-PLATA-A-2026":"20260622-1","FFM-P-M-CDC-A-2026":"20260622-1","FFM-P-M-CM-A-2026":"20260622-1","FFM-P-M-CCC-2026":"20260622-1","FFM-C15-M-ORO-A-2026":"20260622-1","FFM-C15-M-PLATA-A-2026":"20260622-1","FFM-C13-M-ORO-A-2026":"20260622-1","FFM-C11-M-ORO-A-2026":"20260622-1"}'),o=a('{"orgid":"20260622-1"}'),i=(e,t,n,c)=>"https://cdn.scorefy.app/tournaments/".concat(t,"/matches/").concat(n,"/").concat(c,".jpeg"),u=function(e,t,n){let c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5;return Array.from({length:c},(c,a)=>i(e,t,n,a+1))},f=e=>r("".concat(c,"/teams/shield/").concat(e,".png"),s[e]),d=e=>r("".concat(c,"/organizations/").concat(e,".png"),o[e]),F=e=>r("".concat(c,"/tournaments/shield/").concat(e,".png"),l[e]),p=e=>"".concat(c,"/teams/jerseys/home-front/").concat(e,".png"),m=e=>"".concat(c,"/teams/jerseys/home-back/").concat(e,".png"),h=e=>"".concat(c,"/teams/jerseys/away-front/").concat(e,".png"),b=e=>"".concat(c,"/teams/jerseys/away-back/").concat(e,".png"),A=e=>"".concat(c,"/teams/jerseys/third-front/").concat(e,".png"),M=e=>"".concat(c,"/teams/jerseys/third-back/").concat(e,".png"),x=e=>"".concat(c,"/clubs/shield/").concat(e,".png"),g=(e,t)=>"".concat(c,"/tournaments/").concat(e,"/squads/").concat(t,".png"),O=e=>"".concat(c,"/players/photo/").concat(e,".jpg"),v=e=>"".concat(c,"/players/presentation/").concat(e,".webp"),C=e=>"".concat(c,"/players/celebration/").concat(e,".mp4"),j=e=>"".concat(c,"/sponsors/").concat(e,".png"),y=e=>"".concat(c,"/assets/").concat(e),N=e=>"".concat(c,"/sponsors/videos/").concat(e,".mp4")},66648:function(e,t,n){"use strict";n.d(t,{default:function(){return a.a}});var c=n(55601),a=n.n(c)},58064:function(e,t,n){"use strict";Object.defineProperty(t,"$",{enumerable:!0,get:function(){return a}});let c=n(74590);function a(e){let{createServerReference:t}=n(6671);return t(e,c.callServer)}},55601:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return o},getImageProps:function(){return l}});let c=n(51609),a=n(80497),r=n(38173),s=c._(n(21241));function l(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let o=r.Image}},function(e){e.O(0,[8173,2971,7023,1744],function(){return e(e.s=6476)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.