{"id":9290,"date":"2024-11-18T12:02:30","date_gmt":"2024-11-18T11:02:30","guid":{"rendered":"https:\/\/trumps.pt\/shop\/guest-list\/"},"modified":"2024-11-20T00:16:00","modified_gmt":"2024-11-19T23:16:00","slug":"guest-list","status":"publish","type":"page","link":"https:\/\/trumps.pt\/shop\/guest-list\/","title":{"rendered":"Guest List"},"content":{"rendered":"\n  <div id=\"page-header-1088152358\" class=\"page-header-wrapper\">\n  <div class=\"page-title dark featured-title has-parallax box-shadow-2\">\n\n        <div class=\"page-title-bg\">\n      <div class=\"title-bg fill bg-fill\"\n        data-parallax-container=\".page-title\"\n        data-parallax-background\n        data-parallax=\"-5\">\n      <\/div>\n      <div class=\"title-overlay fill\"><\/div>\n    <\/div>\n    \n    <div class=\"page-title-inner container align-center text-center flex-row-col medium-flex-wrap\" >\n              <div class=\"title-wrapper flex-col\">\n          <h1 class=\"entry-title mb-0\">\n            INSCRI\u00c7\u00c3O EM GUEST-LIST          <\/h1>\n        <\/div>\n                    <div class=\"title-content flex-col\">\n        <div class=\"title-breadcrumbs pb-half pt-half\"><nav class=\"woocommerce-breadcrumb breadcrumbs uppercase\">In\u00edcio<\/nav><\/div>      <\/div>\n    <\/div>\n\n     \n<style>\n#page-header-1088152358 .title-bg {\n  background-image: url(https:\/\/trumps.pt\/shop\/wp-content\/uploads\/2024\/11\/FESTA-RAVE1.jpg);\n  background-position: 63% 52%;\n}\n<\/style>\n  <\/div>\n    <\/div>\n  \n\n\t<div id=\"gap-738160050\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-738160050 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n\n\t<div id=\"text-3820209439\" class=\"text\">\n\t\t\n\n<p>As incri\u00e7\u00f5es para a guest-list s\u00f3 s\u00e3o consideradas at\u00e9 \u00e0s 22h00 da noite do evento.<\/p>\n<p style=\"text-align: center;\">A Guest-list s\u00f3 \u00e9 v\u00e1lida at\u00e9 \u00e0 hora definida e s\u00f3 \u00e0 porta do clube.\u00a0<\/p>\n\t\t\n<style>\n#text-3820209439 {\n  text-align: center;\n}\n<\/style>\n\t<\/div>\n\t\n<div class=\"is-divider divider clearfix\" ><\/div>\n\n\t<div id=\"text-1156002293\" class=\"text\">\n\t\t\n\n<div class=\"guest-list-grid\" style=\"display: flex; flex-wrap: wrap; gap: 20px;\">\n            <div class=\"guest-event\" style=\"border: 1px solid #ddd; border-radius: 10px; padding: 20px; width: 300px; text-align: center;\">\n                <img src=\"https:\/\/i0.wp.com\/trumps.pt\/shop\/wp-content\/uploads\/2026\/03\/627358084_1334964195340716_7935586481514963953_n-1.jpg?ssl=1\" alt=\"\ud83c\udf00\ud83d\udc7e RABBIT HOLE \u2014 CLUB KIDS \ud83d\udc7e\ud83c\udf00\" style=\"width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 10px;\">\n                <h3>\ud83c\udf00\ud83d\udc7e RABBIT HOLE \u2014 CLUB KIDS \ud83d\udc7e\ud83c\udf00<\/h3>\n                <p><strong>Quinta-feira, 15 Outubro 2026 \u00e0s 23:45<\/strong><\/p>\n                <p>ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 1H00: BASTA VIRES<\/p>\n                <button class=\"guest-list-button\" style=\"background-color: #0073aa; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer;\" data-evento=\"\ud83c\udf00\ud83d\udc7e RABBIT HOLE \u2014 CLUB KIDS \ud83d\udc7e\ud83c\udf00\" data-data=\"2026-10-15\" data-promocao=\"ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 1H00: BASTA VIRES\" >Inscrever na Guest-List<\/button>\n            <\/div>\n        \n            <div class=\"guest-event\" style=\"border: 1px solid #ddd; border-radius: 10px; padding: 20px; width: 300px; text-align: center;\">\n                <img src=\"https:\/\/i0.wp.com\/trumps.pt\/shop\/wp-content\/uploads\/2026\/09\/661278375_1387330733437395_1319709418317763395_n.jpg?ssl=1\" alt=\"\ud83c\udf89\ud83e\udea9 CRUSH: FLASHBACK\" style=\"width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 10px;\">\n                <h3>\ud83c\udf89\ud83e\udea9 CRUSH: FLASHBACK<\/h3>\n                <p><strong>Sexta-feira, 16 Outubro 2026 \u00e0s 23:45<\/strong><\/p>\n                <p>ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 1H00 PARA OS 100 PRIMEIROS A CHEGAR<\/p>\n                <button class=\"guest-list-button\" style=\"background-color: #0073aa; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer;\" data-evento=\"\ud83c\udf89\ud83e\udea9 CRUSH: FLASHBACK\" data-data=\"2026-10-16\" data-promocao=\"ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 1H00 PARA OS 100 PRIMEIROS A CHEGAR\" >Inscrever na Guest-List<\/button>\n            <\/div>\n        \n            <div class=\"guest-event\" style=\"border: 1px solid #ddd; border-radius: 10px; padding: 20px; width: 300px; text-align: center;\">\n                <img src=\"https:\/\/i0.wp.com\/trumps.pt\/shop\/wp-content\/uploads\/2026\/09\/492504725_1099518258885312_4583797030323986847_n.jpg?ssl=1\" alt=\"\ud83d\udc51\ud83d\udc8b DIRRTYPOP \u2014 THE ROYAL HOUSE \ud83d\udc8b\ud83d\udc51\" style=\"width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 10px;\">\n                <h3>\ud83d\udc51\ud83d\udc8b DIRRTYPOP \u2014 THE ROYAL HOUSE \ud83d\udc8b\ud83d\udc51<\/h3>\n                <p><strong>S\u00e1bado, 17 Outubro 2026 \u00e0s 23:45<\/strong><\/p>\n                <p>ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 00H30 PARA OS 100 PRIMEIROS A CHEGAR + ENTRADA GR\u00c1TIS PARA QUEM VIER DE REI\/RAINHA AT\u00c9 \u00c0 1:30<\/p>\n                <button class=\"guest-list-button\" style=\"background-color: #0073aa; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer;\" data-evento=\"\ud83d\udc51\ud83d\udc8b DIRRTYPOP \u2014 THE ROYAL HOUSE \ud83d\udc8b\ud83d\udc51\" data-data=\"2026-10-17\" data-promocao=\"ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 00H30 PARA OS 100 PRIMEIROS A CHEGAR + ENTRADA GR\u00c1TIS PARA QUEM VIER DE REI\/RAINHA AT\u00c9 \u00c0 1:30\" >Inscrever na Guest-List<\/button>\n            <\/div>\n        \n            <div class=\"guest-event\" style=\"border: 1px solid #ddd; border-radius: 10px; padding: 20px; width: 300px; text-align: center;\">\n                <img src=\"https:\/\/i0.wp.com\/trumps.pt\/shop\/wp-content\/uploads\/2025\/09\/RH-SHOT.jpg?ssl=1\" alt=\"\ud83c\udfaa\ud83d\udc30 RABBIT HOLE \u2014 RAVE CIRCUS \ud83d\udc30\ud83c\udfaa\" style=\"width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 10px;\">\n                <h3>\ud83c\udfaa\ud83d\udc30 RABBIT HOLE \u2014 RAVE CIRCUS \ud83d\udc30\ud83c\udfaa<\/h3>\n                <p><strong>Quinta-feira, 22 Outubro 2026 \u00e0s 23:45<\/strong><\/p>\n                <p>ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 1H00: BASTA VIRES<\/p>\n                <button class=\"guest-list-button\" style=\"background-color: #0073aa; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer;\" data-evento=\"\ud83c\udfaa\ud83d\udc30 RABBIT HOLE \u2014 RAVE CIRCUS \ud83d\udc30\ud83c\udfaa\" data-data=\"2026-10-22\" data-promocao=\"ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 1H00: BASTA VIRES\" >Inscrever na Guest-List<\/button>\n            <\/div>\n        \n            <div class=\"guest-event\" style=\"border: 1px solid #ddd; border-radius: 10px; padding: 20px; width: 300px; text-align: center;\">\n                <img src=\"https:\/\/i0.wp.com\/trumps.pt\/shop\/wp-content\/uploads\/2026\/02\/EMOJI.jpg?ssl=1\" alt=\"\ud83d\ude18 CRUSH EMOJI \u00d7 pop dance club\" style=\"width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 10px;\">\n                <h3>\ud83d\ude18 CRUSH EMOJI \u00d7 pop dance club<\/h3>\n                <p><strong>Sexta-feira, 23 Outubro 2026 \u00e0s 23:45<\/strong><\/p>\n                <p>ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 1H00 PARA OS 100 PRIMEIROS A CHEGAR<\/p>\n                <button class=\"guest-list-button\" style=\"background-color: #0073aa; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer;\" data-evento=\"\ud83d\ude18 CRUSH EMOJI \u00d7 pop dance club\" data-data=\"2026-10-23\" data-promocao=\"ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 1H00 PARA OS 100 PRIMEIROS A CHEGAR\" >Inscrever na Guest-List<\/button>\n            <\/div>\n        \n            <div class=\"guest-event\" style=\"border: 1px solid #ddd; border-radius: 10px; padding: 20px; width: 300px; text-align: center;\">\n                <img src=\"https:\/\/i0.wp.com\/trumps.pt\/shop\/wp-content\/uploads\/2026\/09\/525657295_1176116531225484_6957341089735384670_n.jpg?ssl=1\" alt=\"\ud83e\uddbe ELECTROFUNK\" style=\"width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 10px;\">\n                <h3>\ud83e\uddbe ELECTROFUNK<\/h3>\n                <p><strong>S\u00e1bado, 24 Outubro 2026 \u00e0s 23:45<\/strong><\/p>\n                <p>ENTRADA GR\u00c1TIS PARA QUEM VIER DE PRATEADO<\/p>\n                <button class=\"guest-list-button\" style=\"background-color: #0073aa; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer;\" data-evento=\"\ud83e\uddbe ELECTROFUNK\" data-data=\"2026-10-24\" data-promocao=\"ENTRADA GR\u00c1TIS PARA QUEM VIER DE PRATEADO\" >Inscrever na Guest-List<\/button>\n            <\/div>\n        \n            <div class=\"guest-event\" style=\"border: 1px solid #ddd; border-radius: 10px; padding: 20px; width: 300px; text-align: center;\">\n                <img src=\"https:\/\/i0.wp.com\/trumps.pt\/shop\/wp-content\/uploads\/2025\/09\/BLACKOUT.jpg?ssl=1\" alt=\"\ud83d\udd2a\ud83d\udc30 RABBIT HOLE \u2014 ASSASSINS \ud83d\udc30\ud83d\udd2a\" style=\"width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 10px;\">\n                <h3>\ud83d\udd2a\ud83d\udc30 RABBIT HOLE \u2014 ASSASSINS \ud83d\udc30\ud83d\udd2a<\/h3>\n                <p><strong>Quinta-feira, 29 Outubro 2026 \u00e0s 23:45<\/strong><\/p>\n                <p>ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 1H00: BASTA VIRES<\/p>\n                <button class=\"guest-list-button\" style=\"background-color: #0073aa; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer;\" data-evento=\"\ud83d\udd2a\ud83d\udc30 RABBIT HOLE \u2014 ASSASSINS \ud83d\udc30\ud83d\udd2a\" data-data=\"2026-10-29\" data-promocao=\"ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 1H00: BASTA VIRES\" >Inscrever na Guest-List<\/button>\n            <\/div>\n        \n            <div class=\"guest-event\" style=\"border: 1px solid #ddd; border-radius: 10px; padding: 20px; width: 300px; text-align: center;\">\n                <img src=\"https:\/\/i0.wp.com\/trumps.pt\/shop\/wp-content\/uploads\/2026\/09\/611663632_1311736634330139_8192150952982893415_n.jpg?ssl=1\" alt=\"\ud83d\ude08\ud83d\udc98 CRUSH VILLAINS \ud83d\udc98\ud83d\ude08\" style=\"width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 10px;\">\n                <h3>\ud83d\ude08\ud83d\udc98 CRUSH VILLAINS \ud83d\udc98\ud83d\ude08<\/h3>\n                <p><strong>Sexta-feira, 30 Outubro 2026 \u00e0s 23:45<\/strong><\/p>\n                <p>ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 1H00 PARA OS 100 PRIMEIROS A CHEGAR<\/p>\n                <button class=\"guest-list-button\" style=\"background-color: #0073aa; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer;\" data-evento=\"\ud83d\ude08\ud83d\udc98 CRUSH VILLAINS \ud83d\udc98\ud83d\ude08\" data-data=\"2026-10-30\" data-promocao=\"ENTRADA GR\u00c1TIS AT\u00c9 \u00c0 1H00 PARA OS 100 PRIMEIROS A CHEGAR\" >Inscrever na Guest-List<\/button>\n            <\/div>\n        <\/div>\n        <div id=\"guestlist-modal\" style=\"display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(4, 11, 36, 0.8); padding: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); z-index: 9999; width: 90%; max-width: 600px; max-height: 80%; overflow-y: auto;\">\n            <span id=\"close-modal\" style=\"position: absolute; top: 10px; right: 10px; cursor: pointer; font-size: 20px; font-weight: bold;\">&times;<\/span>\n            <h2 style=\"margin-top: 0;\">Inscri\u00e7\u00e3o para Guest-List<\/h2>\n            <form id=\"guestlist-form\">\n                <input type=\"hidden\" name=\"festa\" id=\"guestlist-festa\">\n                <input type=\"hidden\" name=\"data_festa\" id=\"guestlist-data\">\n                <input type=\"hidden\" name=\"promocao\" id=\"guestlist-promocao\">\n                <label style=\"display: block; margin-bottom: 10px;\">Nome: <input type=\"text\" name=\"nome\" required style=\"width: 100%; padding: 8px; margin-top: 5px;\"><\/label>\n                <label style=\"display: block; margin-bottom: 10px;\">Email: <input type=\"email\" name=\"email\" required style=\"width: 100%; padding: 8px; margin-top: 5px;\"><\/label>\n                <label style=\"display: block; margin-bottom: 10px;\">Telefone: <input type=\"tel\" name=\"telefone\" required style=\"width: 100%; padding: 8px; margin-top: 5px;\"><\/label>\n                <label style=\"display: block; margin-bottom: 10px;\">Promotor: <input type=\"text\" name=\"promotor\" value=\"TRUMPS\" readonly style=\"width: 100%; padding: 8px; margin-top: 5px; background-color: #f9f9f9;\"><\/label>\n                <button type=\"submit\" id=\"guestlist-submit\" style=\"background-color: #0073aa; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; width: 100%;\">Enviar<\/button>\n            <\/form>\n        <\/div>\n        <div id=\"modal-backdrop\" style=\"display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 9998;\"><\/div>\n        <script>\n            document.querySelectorAll(\".guest-list-button\").forEach(button => {\n                if (!button.disabled) {\n                    button.addEventListener(\"click\", () => {\n                        document.querySelector(\"#guestlist-festa\").value = button.dataset.evento;\n                        document.querySelector(\"#guestlist-data\").value = button.dataset.data;\n                        document.querySelector(\"#guestlist-promocao\").value = button.dataset.promocao;\n                        document.querySelector(\"#guestlist-modal\").style.display = \"block\";\n                        document.querySelector(\"#modal-backdrop\").style.display = \"block\";\n                    });\n                }\n            });\n\n            document.querySelector(\"#close-modal\").addEventListener(\"click\", closeGuestListModal);\n            document.querySelector(\"#modal-backdrop\").addEventListener(\"click\", closeGuestListModal);\n\n            function closeGuestListModal() {\n                document.querySelector(\"#guestlist-modal\").style.display = \"none\";\n                document.querySelector(\"#modal-backdrop\").style.display = \"none\";\n            }\n\n            document.querySelector(\"#guestlist-form\").addEventListener(\"submit\", (e) => {\n                e.preventDefault();\n                const submitButton = document.querySelector(\"#guestlist-submit\");\n                submitButton.disabled = true;\n                submitButton.textContent = \"A processar...\";\n\n                const data = new FormData(e.target);\n                fetch(\"https:\/\/trumps.pt\/shop\/wp-admin\/admin-ajax.php?action=save_guestlist\", {\n                    method: \"POST\",\n                    body: data,\n                })\n                .then(response => response.json())\n                .then(result => {\n                    alert(result.message);\n                    closeGuestListModal();\n                })\n                .catch(() => {\n                    alert(\"Ocorreu um erro. Por favor, tente novamente.\");\n                })\n                .finally(() => {\n                    submitButton.disabled = false;\n                    submitButton.textContent = \"Enviar\";\n                });\n            });\n        <\/script>\n    \n\t\t\n<style>\n#text-1156002293 {\n  text-align: center;\n}\n<\/style>\n\t<\/div>\n\t\n<div class=\"is-divider divider clearfix\" ><\/div>\n\n\t<div id=\"text-53430112\" class=\"text\">\n\t\t\n\n\n    <!-- Estilo do Shortcode -->\n    <style>\n        \/* Estilos para o popup *\/\n        .trumps-guestlist-container {\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            margin: 20px auto;\n            padding: 20px;\n            border: 2px solid #ff4081;\n            border-radius: 16px;\n            background: #040b24;\n            color: white;\n            max-width: 600px;\n            text-align: center;\n        }\n        .trumps-guestlist-image {\n            width: 150px;\n            height: 150px;\n            border-radius: 50%;\n            overflow: hidden;\n            border: 4px solid #ff4081;\n            margin-right: 20px;\n            background: #000;\n        }\n        .trumps-guestlist-image img {\n            width: 100%;\n            height: 100%;\n            object-fit: cover;\n        }\n        .trumps-guestlist-content {\n            flex: 1;\n        }\n        .trumps-guestlist-title {\n            font-size: 20px;\n            font-weight: bold;\n            margin-bottom: 10px;\n        }\n        .trumps-guestlist-button {\n            display: inline-block;\n            background: #ff4081;\n            color: white;\n            text-transform: uppercase;\n            padding: 10px 20px;\n            border: none;\n            border-radius: 4px;\n            cursor: pointer;\n            font-size: 16px;\n        }\n        .trumps-popup {\n            display: none;\n            position: fixed;\n            top: 10%;\n            left: 50%;\n            transform: translate(-50%, 0);\n            background: rgba(4, 11, 36, 0.95);\n            border-radius: 8px;\n            max-width: 90%;\n            width: 400px;\n            z-index: 9999;\n            padding: 20px;\n            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);\n            overflow-y: auto;\n            max-height: 80vh;\n        }\n        .trumps-popup-overlay {\n            display: none;\n            position: fixed;\n            top: 0;\n            left: 0;\n            width: 100%;\n            height: 100%;\n            background: rgba(0, 0, 0, 0.7);\n            z-index: 9998;\n        }\n        .trumps-popup-overlay.active,\n        .trumps-popup.active {\n            display: block;\n        }\n        .trumps-popup h3 {\n            margin-bottom: 10px;\n            color: #fff;\n            text-align: center;\n        }\n        .trumps-popup p {\n            margin: 10px 0;\n            color: #ccc;\n            font-size: 14px;\n        }\n        .trumps-popup label {\n            font-size: 14px;\n            color: #fff;\n            margin-bottom: 5px;\n            display: block;\n        }\n        .trumps-popup input,\n        .trumps-popup button {\n            width: 100%;\n            margin-bottom: 10px;\n            padding: 10px;\n            border-radius: 4px;\n            border: 1px solid #ccc;\n        }\n        .trumps-popup button {\n            background: #ff4081;\n            color: white;\n            border: none;\n            cursor: pointer;\n            font-size: 14px;\n        }\n        .trumps-popup button[disabled] {\n            background: #999;\n            cursor: not-allowed;\n        }\n    <\/style>\n\n    <!-- Container do Shortcode -->\n    <div class=\"trumps-guestlist-container\" onclick=\"showPopup()\">\n        <div class=\"trumps-guestlist-image\">\n            <img src=\"https:\/\/i0.wp.com\/trumps.pt\/shop\/wp-content\/uploads\/2023\/01\/DSC00096.jpg?w=1020&#038;ssl=1\" alt=\"Guest List Anivers\u00e1rio\" data-recalc-dims=\"1\">\n        <\/div>\n        <div class=\"trumps-guestlist-content\">\n            <p class=\"trumps-guestlist-title\">GUEST-LIST DE ANIVERS\u00c1RIO<\/p>\n            <button type=\"button\" class=\"trumps-guestlist-button\">INSCREVER-ME<\/button>\n        <\/div>\n    <\/div>\n\n    <!-- Pop-Up -->\n    <div class=\"trumps-popup-overlay\" onclick=\"hidePopup()\"><\/div>\n    <div class=\"trumps-popup\">\n        <h3>Guest-List Anivers\u00e1rio<\/h3>\n        <p>Aniversariante + 1 acompanhante t\u00eam entrada gratuita at\u00e9 \u00e0 01h00.<\/p>\n        <p>Restantes convidados: Entrada 2\u00d71 At\u00e9 \u00e0 01h00.<\/p>\n        <p>Inscri\u00e7\u00e3o v\u00e1lida para quinta, sextas, s\u00e1bados e v\u00e9speras de feriado, excepto eventos especiais (Carnaval, Halloween, Anivers\u00e1rio, P\u00e1scoa, R\u00e9veillon, Summer Festival ou eventos com convidados especiais).<\/p>\n        <p>\u26a0\ufe0f Aten\u00e7\u00e3o: O registo deve ser feito na mesma semana do teu anivers\u00e1rio.<\/p>\n        <form id=\"trumps-guestlist-form\">\n            <label for=\"nome\">Nome:<\/label>\n            <input type=\"text\" id=\"nome\" name=\"nome\" required>\n\n            <label for=\"data_aniversario\">Data de Anivers\u00e1rio:<\/label>\n            <input type=\"date\" id=\"data_aniversario\" name=\"data_aniversario\" required>\n\n            <label for=\"email\">Email:<\/label>\n            <input type=\"email\" id=\"email\" name=\"email\" required>\n\n            <label for=\"telemovel\">Telem\u00f3vel:<\/label>\n            <input type=\"tel\" id=\"telemovel\" name=\"telemovel\" required pattern=\"[0-9]{9}\">\n\n            <label for=\"data_guestlist\">Data para Guest-List:<\/label>\n            <input type=\"date\" id=\"data_guestlist\" name=\"data_guestlist\" required>\n\n            <button type=\"submit\" id=\"submit-button\">ENVIAR<\/button>\n        <\/form>\n    <\/div>\n\n    <!-- Script para Gerenciar Pop-Up e Formul\u00e1rio -->\n    <script>\n        function showPopup() {\n            document.querySelector('.trumps-popup').classList.add('active');\n            document.querySelector('.trumps-popup-overlay').classList.add('active');\n        }\n\n        function hidePopup() {\n            document.querySelector('.trumps-popup').classList.remove('active');\n            document.querySelector('.trumps-popup-overlay').classList.remove('active');\n        }\n\n        document.getElementById('trumps-guestlist-form').addEventListener('submit', async function (e) {\n            e.preventDefault();\n\n            const formData = new FormData(e.target);\n\n            const dataAniversario = new Date(formData.get('data_aniversario'));\n            const dataGuestlist = new Date(formData.get('data_guestlist'));\n\n            const diffTime = Math.abs(dataGuestlist - dataAniversario);\n            const diffDays = Math.ceil(diffTime \/ (1000 * 60 * 60 * 24));\n\n            if (diffDays > 10) {\n                alert('Anivers\u00e1rio tem que ser na semana da guest-list');\n                return;\n            }\n\n            const submitButton = document.getElementById('submit-button');\n            submitButton.disabled = true;\n            submitButton.textContent = 'A ENVIAR';\n\n            const data = {\n                action: 'send_anniversary_email',\n                nome: formData.get('nome'),\n                data_aniversario: formData.get('data_aniversario'),\n                email: formData.get('email'),\n                telemovel: formData.get('telemovel'),\n                data_guestlist: formData.get('data_guestlist'),\n            };\n\n            const response = await fetch('https:\/\/trumps.pt\/shop\/wp-admin\/admin-ajax.php', {\n                method: 'POST',\n                body: new URLSearchParams(data),\n            });\n\n            if (response.ok) {\n                alert('Guest-list de Anivers\u00e1rio enviada com sucesso!');\n                hidePopup();\n            } else {\n                alert('Erro ao enviar Guest-list. Tente novamente.');\n            }\n\n            submitButton.disabled = false;\n            submitButton.textContent = 'ENVIAR';\n        });\n    <\/script>\n\n    \n\n\t\t\n<style>\n#text-53430112 {\n  text-align: center;\n}\n<\/style>\n\t<\/div>\n\t\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/trumps.pt\/shop\/wp-json\/wp\/v2\/pages\/9290"}],"collection":[{"href":"https:\/\/trumps.pt\/shop\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/trumps.pt\/shop\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/trumps.pt\/shop\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trumps.pt\/shop\/wp-json\/wp\/v2\/comments?post=9290"}],"version-history":[{"count":7,"href":"https:\/\/trumps.pt\/shop\/wp-json\/wp\/v2\/pages\/9290\/revisions"}],"predecessor-version":[{"id":9350,"href":"https:\/\/trumps.pt\/shop\/wp-json\/wp\/v2\/pages\/9290\/revisions\/9350"}],"wp:attachment":[{"href":"https:\/\/trumps.pt\/shop\/wp-json\/wp\/v2\/media?parent=9290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}