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BAASvE,EAAE,WAAW,IAAEwC,KACxC,GAAAd,EAAAI,GAAA,EAAC+D,SAAAA,CAAOtB,UAAU,iCAAiCU,QAzGlC,KACjBjC,EAAgBR,GAClBiB,EAAiBT,EAAgB,EAErC,EAqGkF8C,SAAUrD,IAAgBD,WACnGxC,EAAE,eAMb,kDCtIAC,CAAAA,EAAAoG,CAAA,CA/BA,WAEE,GAAM,CAACC,EAAYC,EAAc,CAAGrD,CAAAA,EAAAA,EAAAA,QAAAA,EAAS,CAC3CI,MAAO,KACPkD,OAAQ,CACV,GAuBA,MArBAhD,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,KAER,SAASiD,IACPF,EAAc,CACZjD,MAAOoD,OAAOC,UAAU,CACxBH,OAAQE,OAAOE,WAAW,EAE9B,CAUE,OANAF,OAAOG,gBAAgB,CAAC,SAAUJ,GAGlCA,IAGO,IAAMC,OAAOI,mBAAmB,CAAC,SAAUL,EAEtD,EAAG,EAAE,EAEEH,CACT,qCCjCO,SAASjC,EAA6C0C,CAAK,CAAEC,CAAa,EAC/E,IAAIC,EACJ,OAAO,WAAU,QAAAC,EAAAC,UAAA1B,MAAA,CAAA2B,EAAA,MAAAF,GAAAG,EAAA,EAAAA,EAAAH,EAAAG,IAAGD,CAAAA,CAAHC,EAAA,CAAAF,SAAA,CAAAE,EAAsB,CACjCJ,GACFK,aAAaL,GAEfA,EAAYM,WAAW,KACrBR,KAAMK,EACR,EAAGJ,EACL,CACF","sources":["webpack://_N_E/?a2f5","webpack://_N_E/./src/app/[locale]/trends/TrendDescription.tsx","webpack://_N_E/./src/components/organisms/Table/Table.tsx","webpack://_N_E/./src/hooks/useWindowSize.ts","webpack://_N_E/./src/utils/debounce.ts","webpack://_N_E/./src/app/[locale]/_home.scss","webpack://_N_E/./src/app/[locale]/bets/advises/_betAdvise.scss","webpack://_N_E/./src/components/molecules/LeaguesPlaying/_leaguesPlaying.scss","webpack://_N_E/./src/components/organisms/Table/table.scss","webpack://_N_E/./src/components/organisms/TopLeaguesSection/_topLeaguesSection.scss"],"sourcesContent":["import(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src1751503179/src/football-trends-face/node_modules/next-intl/dist/esm/shared/NextIntlClientProvider.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1751503179/src/football-trends-face/node_modules/next/dist/client/image-component.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1751503179/src/football-trends-face/node_modules/next/dist/client/link.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1751503179/src/football-trends-face/src/app/[locale]/_home.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1751503179/src/football-trends-face/src/app/[locale]/bets/advises/_betAdvise.scss\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src1751503179/src/football-trends-face/src/app/[locale]/trends/TrendDescription.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1751503179/src/football-trends-face/src/components/molecules/LeaguesPlaying/_leaguesPlaying.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1751503179/src/football-trends-face/src/components/organisms/Table/table.scss\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src1751503179/src/football-trends-face/src/components/organisms/Table/Table.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src1751503179/src/football-trends-face/src/components/organisms/TopLeaguesSection/_topLeaguesSection.scss\");\n","'use client'\nimport React from 'react';\nimport { useTranslations } from 'next-intl';\nimport { useParams } from 'next/navigation';\n\n\ninterface TrendProps {\n type: string;\n threshold: number;\n teamRole: string;\n scope: string;\n half: number;\n trend: { \n percentage: number;\n matchedFixtures: number;\n totalFixtures: number;\n }\n}\n\ninterface TrendDescriptionProps {\n trend: TrendProps;\n}\n\nconst TrendDescription: React.FC = ({ trend }) => {\n const { type, threshold, teamRole, scope, half, trend: trendDetails } = trend;\n const { locale } = useParams(); \n\n const tCommon = useTranslations('common');\n const tFilter = useTranslations('filter');\n\n let direction = '';\n let stat = '';\n let halfDescription = '';\n let scopeDescription;\n\n if (type.toLowerCase() === \"btts\") {\n stat = \"btts\";\n } else if (['draw', 'win', 'loss'].includes(type.toLowerCase())) {\n // direction = type.charAt(0).toUpperCase() + type.slice(1);\n stat = type\n } else {\n const typeParts = type.match(/(under|over)(Team|Opponent|Combined)?(TotalShots|OnShots|Goals|Corners|Cards)/i);\n if (typeParts) {\n direction = typeParts[1].charAt(0).toUpperCase() + typeParts[1].slice(1);\n stat = typeParts[3].charAt(0).toLowerCase() + typeParts[3].slice(1);\n }\n }\n\n halfDescription =\n half === 1\n ? tFilter('firstHalf')\n : half === 2\n ? tFilter('secondHalf')\n : tFilter('wholeMatch');\n\n scopeDescription = (\n <>\n {scope === 'team'\n ? `${tCommon('forThe')} `\n : scope === 'opponent'\n ? `${tCommon('from')} `\n : scope === 'combined'\n ? `${tCommon('forBoth')} `\n : ''}\n \n {scope === 'team'\n ? tFilter('team')\n : scope === 'opponent'\n ? tFilter('opponents')\n : scope === 'combined'\n ? tCommon('bothTeams')\n : ''}\n \n \n );\n\n const roleDescription = () => {\n switch(locale) {\n case \"es\":\n return `${tCommon('matches')} ${teamRole !== \"all\" ? tCommon('as') + \" \" + tFilter(teamRole) : ''}`;\n default:\n return `${teamRole !== 'all' ? tFilter(teamRole) + ' ' + tCommon('matches') : tCommon('matches')}`;\n }\n }\n\n return (\n \n \n {direction} {threshold > 0 ? threshold : ''} {tFilter(stat)}{' '}\n {' '}\n {scopeDescription} {tCommon('at')} {halfDescription}{' '}\n {tCommon('inTheLast')}{' '}\n {trendDetails.percentage !== 100 && (\n <>\n {trendDetails.matchedFixtures} {tCommon('of')}{' '}\n \n )}\n {trendDetails.totalFixtures}{' '}{roleDescription()}\n \n );\n};\n\nexport default TrendDescription;\n","'use client'\nimport React, { useCallback, useEffect, useLayoutEffect, useRef, useState } from 'react';\nimport './table.scss'\nimport { Header, TableKeys } from '@/types/types';\nimport useWindowSize from '@/hooks/useWindowSize';\nimport { useTranslations } from 'next-intl';\nimport { debounce } from '@/utils/debounce';\n\ninterface TableProps {\n headers: Header[];\n rows: React.ReactNode[];\n mockedRows?: React.ReactNode[];\n subRows?: React.ReactNode[];\n totalPages?: number;\n currentPage?: number;\n sortBy: TableKeys;\n sortDirection: 'asc' | 'desc';\n onSortChange?: (value: TableKeys, direction: 'asc' | 'desc') => void;\n onPageChange?: (page: number) => void;\n observeLastRow?: any\n loading: boolean;\n}\n\nconst Table: React.FC = ({ \n headers,\n rows,\n mockedRows,\n subRows = [],\n totalPages = 1,\n currentPage = 1,\n sortBy,\n sortDirection,\n onSortChange = () => {},\n onPageChange = () => {},\n loading = true,\n observeLastRow\n}) => {\n const [requestedPage, setRequestedPage] = useState(currentPage); // Estado temporal para la página solicitada\n const [expandedRows, setExpandedRows] = useState>(new Set());\n const { width } = useWindowSize();\n const t = useTranslations('table');\n\n useEffect(() => {\n setRequestedPage(currentPage)\n }, [currentPage]);\n\n const handlePageChange = (page: number) => {\n setRequestedPage(page);\n debouncedOnPageChange(page);\n };\n\n const handlePrevPage = () => {\n if (requestedPage > 1) {\n handlePageChange(requestedPage - 1);\n }\n };\n\n const handleNextPage = () => {\n if (requestedPage < totalPages) {\n handlePageChange(requestedPage + 1);\n }\n };\n\n const handlePageInput = (event: React.ChangeEvent) => {\n const page = Number(event.target.value);\n if (page >= 1 && page <= totalPages) {\n handlePageChange(page);\n }\n };\n\n const handleRowClick = (trendId: number) => {\n const newExpandedRows = new Set(expandedRows);\n if (newExpandedRows.has(trendId)) {\n newExpandedRows.delete(trendId);\n } else {\n newExpandedRows.add(trendId);\n }\n setExpandedRows(newExpandedRows);\n };\n\n const handleSort = (sortKey: TableKeys) => {\n let direction: 'asc' | 'desc' = sortKey === \"date\" ? \"asc\" : \"desc\";\n\n if (sortBy === sortKey) {\n direction = sortDirection === 'asc' ? 'desc' : 'asc';\n }\n onSortChange(sortKey, direction);\n };\n\n const debouncedOnPageChange = useCallback(\n debounce((page: number) => {\n onPageChange(page);\n }, 500),\n [onPageChange]\n );\n\n return (\n
\n \n \n \n {headers.map((header, index) => (\n \n ))}\n \n \n \n {!loading && rows?.map((row, i) => {\n const trendId = (row as React.ReactElement).key as string;\n return (\n \n handleRowClick(Number(trendId))}>\n {row}\n \n {subRows.length > 0 && expandedRows.has(Number(trendId)) && (\n \n \n \n )}\n \n )\n })}\n {loading && mockedRows?.map((row, i) => {\n const trendId = (row as React.ReactElement).key as string;\n return (\n \n \n {row}\n \n \n )\n })}\n \n
header.sortKey && handleSort(header.sortKey as TableKeys)}>\n {header?.label}\n {/* {header?.sortKey === sortBy && (sortDirection === 'asc' ? '▲' : '▼')} */}\n
\n \n \n \n {subRows[i]}\n \n \n
\n
\n {totalPages > 1 &&\n
\n \n \n {t('ofPages')} {totalPages}\n \n
\n }\n
\n );\n};\n\nexport default Table;","'use client';\n\nimport { useState, useEffect } from 'react';\n\nfunction useWindowSize() {\n // Estado para almacenar el tamaño de la ventana\n const [windowSize, setWindowSize] = useState({\n width: 1200,\n height: 0,\n });\n\n useEffect(() => {\n // Función para actualizar el estado con el tamaño actual de la ventana\n function handleResize() {\n setWindowSize({\n width: window.innerWidth,\n height: window.innerHeight,\n });\n }\n\n if (typeof window !== 'undefined') {\n // Añade el event listener\n window.addEventListener('resize', handleResize);\n\n // Llama a la función inmediatamente para establecer el tamaño inicial\n handleResize();\n\n // Limpia el event listener cuando el componente se desmonta\n return () => window.removeEventListener('resize', handleResize);\n }\n }, []); // El array vacío asegura que el efecto solo se ejecute una vez\n\n return windowSize;\n}\n\nexport default useWindowSize;\n","export function debounce void>(fn: T, delay: number): (...args: Parameters) => void {\n let timeoutId: NodeJS.Timeout;\n return function (...args: Parameters) {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n fn(...args);\n }, delay);\n };\n}","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin"],"names":["Promise","resolve","then","__webpack_require__","bind","t","__webpack_exports__","scopeDescription","trend","param","type","threshold","teamRole","scope","half","trendDetails","locale","useParams","tCommon","useTranslations","tFilter","direction","stat","halfDescription","toLowerCase","includes","typeParts","match","charAt","toUpperCase","slice","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Fragment","concat","jsx","strong","span","percentage","matchedFixtures","totalFixtures","headers","rows","mockedRows","subRows","totalPages","currentPage","sortBy","sortDirection","onSortChange","onPageChange","loading","observeLastRow","requestedPage","setRequestedPage","useState","expandedRows","setExpandedRows","Set","width","useWindowSize","useEffect","handlePageChange","page","debouncedOnPageChange","handleRowClick","newExpandedRows","has","trendId","delete","add","handleSort","sortKey","useCallback","debounce","div","className","table","thead","tr","map","header","index","th","style","cursor","onClick","label","tbody","row","i","key","React","ref","length","Number","td","colSpan","button","disabled","input","value","onChange","event","target","max","Z","windowSize","setWindowSize","height","handleResize","window","innerWidth","innerHeight","addEventListener","removeEventListener","fn","delay","timeoutId","_len","arguments","args","_key","clearTimeout","setTimeout"],"sourceRoot":""}