{"id":15417,"date":"2026-06-07T07:37:57","date_gmt":"2026-06-07T07:37:57","guid":{"rendered":"https:\/\/foatennis.gr\/site\/?page_id=15417"},"modified":"2026-07-22T04:48:50","modified_gmt":"2026-07-22T04:48:50","slug":"vathmologies-foa","status":"publish","type":"page","link":"https:\/\/foatennis.gr\/site\/vathmologies-foa\/","title":{"rendered":"\u0392\u03b1\u03b8\u03bc\u03bf\u03bb\u03bf\u03b3\u03af\u03b5\u03c2 \u03a6\u039f\u0391"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"15417\" class=\"elementor elementor-15417\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-49f14e8 e-flex e-con-boxed e-con e-parent\" data-id=\"49f14e8\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8ead32a elementor-widget elementor-widget-shortcode\" data-id=\"8ead32a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <div class=\"club-ranking-shortcode\" style=\"width:100%;overflow:hidden\">\n        <iframe\n            id=\"club-ranking-1\"\n            src=\"https:\/\/foatennis.gr\/ranking\/index.php?action=rankings_embed&#038;show_title=1&#038;compact_points=1\"\n            title=\"\u039a\u03b1\u03c4\u03ac\u03c4\u03b1\u03be\u03b7 \u03c3\u03c5\u03bb\u03bb\u03cc\u03b3\u03bf\u03c5\"\n            loading=\"lazy\"\n            style=\"display:block;width:100%;height:780px;border:0\"\n        ><\/iframe>\n    <\/div>\n    <script>\n    (() => {\n        const frame = document.getElementById(\"club-ranking-1\");\n        const expectedOrigin = \"https:\\\/\\\/foatennis.gr\";\n        const compactPoints = true;\n        if (!frame) return;\n\n        const applyCompactPointsLayout = () => {\n            if (!compactPoints) return;\n\n            \/\/ \u0397 \u03ac\u03bc\u03b5\u03c3\u03b7 \u03bc\u03bf\u03c1\u03c6\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03b5\u03af \u03cc\u03c4\u03b1\u03bd \u03c4\u03bf iframe \u03b5\u03af\u03bd\u03b1\u03b9 \u03c3\u03c4\u03bf \u03af\u03b4\u03b9\u03bf origin.\n            \/\/ \u03a3\u03b5 \u03b4\u03b9\u03b1\u03c6\u03bf\u03c1\u03b5\u03c4\u03b9\u03ba\u03cc origin, \u03b7 \u03b5\u03bd\u03b7\u03bc\u03b5\u03c1\u03c9\u03bc\u03ad\u03bd\u03b7 \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae \u03b5\u03c6\u03b1\u03c1\u03bc\u03cc\u03b6\u03b5\u03b9 \u03c4\u03b7 \u03bc\u03bf\u03c1\u03c6\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7\n            \/\/ \u03bc\u03ad\u03c3\u03c9 \u03c4\u03b7\u03c2 \u03c0\u03b1\u03c1\u03b1\u03bc\u03ad\u03c4\u03c1\u03bf\u03c5 compact_points.\n            try {\n                const doc = frame.contentDocument;\n                if (!doc || !doc.head) return;\n\n                const styleId = 'pl-club-ranking-compact-points';\n                if (!doc.getElementById(styleId)) {\n                    const style = doc.createElement('style');\n                    style.id = styleId;\n                    style.textContent = `\n                        .ranking-table {\n                            width: max-content !important;\n                            table-layout: fixed !important;\n                        }\n                        .ranking-table .ranking-info-col-0,\n                        .ranking-table .ranking-info-col-1 { width: 54px !important; }\n                        .ranking-table .ranking-info-col-2 { width: 76px !important; }\n                        .ranking-table .ranking-info-col-3 { width: 220px !important; }\n                        .ranking-table .ranking-info-col-4 { width: 150px !important; }\n                        .ranking-table .ranking-points-col { width: 100px !important; }\n                        .ranking-table .ranking-points-column {\n                            padding-left: 6px !important;\n                            padding-right: 6px !important;\n                            text-align: center !important;\n                            font-variant-numeric: tabular-nums;\n                        }\n                        .ranking-table th.ranking-points-column {\n                            white-space: normal !important;\n                            text-align: justify !important;\n                            text-align-last: center !important;\n                            overflow-wrap: anywhere;\n                            hyphens: auto;\n                            line-height: 1.22;\n                        }\n                        .ranking-table td.ranking-points-column {\n                            white-space: nowrap !important;\n                        }\n                    `;\n                    doc.head.appendChild(style);\n                }\n\n                doc.querySelectorAll('.ranking-table').forEach((table) => {\n                    const headerCells = Array.from(table.querySelectorAll('thead th'));\n                    if (!headerCells.length) return;\n\n                    let colgroup = table.querySelector(':scope > colgroup');\n                    if (!colgroup) {\n                        colgroup = doc.createElement('colgroup');\n                        headerCells.forEach((_, columnIndex) => {\n                            const col = doc.createElement('col');\n                            col.className = columnIndex >= 5\n                                ? 'ranking-points-col'\n                                : `ranking-info-col ranking-info-col-${columnIndex}`;\n                            colgroup.appendChild(col);\n                        });\n                        table.insertBefore(colgroup, table.firstChild);\n                    }\n\n                    headerCells.forEach((cell, columnIndex) => {\n                        if (columnIndex >= 5) cell.classList.add('ranking-points-column');\n                    });\n                    table.querySelectorAll('tbody tr').forEach((row) => {\n                        Array.from(row.children).forEach((cell, columnIndex) => {\n                            if (columnIndex >= 5) cell.classList.add('ranking-points-column');\n                        });\n                    });\n                });\n            } catch (error) {\n                \/\/ \u0391\u03bd\u03b1\u03bc\u03b5\u03bd\u03cc\u03bc\u03b5\u03bd\u03bf \u03cc\u03c4\u03b1\u03bd \u03c4\u03bf iframe \u03c0\u03c1\u03bf\u03ad\u03c1\u03c7\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c0\u03cc \u03b4\u03b9\u03b1\u03c6\u03bf\u03c1\u03b5\u03c4\u03b9\u03ba\u03cc origin.\n            }\n        };\n\n        frame.addEventListener('load', () => {\n            applyCompactPointsLayout();\n            if (compactPoints && frame.contentWindow) {\n                frame.contentWindow.postMessage({\n                    type: 'club-ranking-compact-points',\n                    enabled: true,\n                }, expectedOrigin);\n            }\n        });\n\n        window.addEventListener('message', (event) => {\n            if (event.source !== frame.contentWindow || event.origin !== expectedOrigin) return;\n            if (!event.data || event.data.type !== 'club-ranking-height') return;\n            const height = Math.max(320, Math.min(5000, Number(event.data.height) || 0));\n            if (height) frame.style.height = `${height}px`;\n        });\n    })();\n    <\/script>\n    \n<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-15417","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/foatennis.gr\/site\/wp-json\/wp\/v2\/pages\/15417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/foatennis.gr\/site\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/foatennis.gr\/site\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/foatennis.gr\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/foatennis.gr\/site\/wp-json\/wp\/v2\/comments?post=15417"}],"version-history":[{"count":0,"href":"https:\/\/foatennis.gr\/site\/wp-json\/wp\/v2\/pages\/15417\/revisions"}],"wp:attachment":[{"href":"https:\/\/foatennis.gr\/site\/wp-json\/wp\/v2\/media?parent=15417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}