{"id":2660,"date":"2026-06-22T21:18:53","date_gmt":"2026-06-23T00:18:53","guid":{"rendered":"https:\/\/tocahits.com\/?page_id=2660"},"modified":"2026-06-22T21:27:49","modified_gmt":"2026-06-23T00:27:49","slug":"prueba","status":"publish","type":"page","link":"https:\/\/tocahits.com\/index.php\/prueba\/","title":{"rendered":"prueba"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2660\" class=\"elementor elementor-2660\">\n\t\t\t\t<div class=\"elementor-element elementor-element-cbede19 e-flex e-con-boxed e-con e-parent\" data-id=\"cbede19\" 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-8ba3d70 elementor-widget elementor-widget-shortcode\" data-id=\"8ba3d70\" 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 id=\"ruleta-box\" style=\"max-width:460px;margin:30px auto;padding:24px;\n         text-align:center;font-family:sans-serif;border-radius:20px;\n         background:linear-gradient(145deg,#1a1a2e,#16213e);color:#fff;\n         box-shadow:0 10px 40px rgba(0,0,0,.4);\">\n\n        <h2 style=\"margin:0 0 16px;\">\ud83c\udfa1 Ruleta TocaHits<\/h2>\n\n        <div style=\"position:relative;width:320px;height:320px;margin:0 auto 20px;\">\n            <!-- Flecha indicadora -->\n            <div style=\"position:absolute;top:-6px;left:50%;transform:translateX(-50%);\n                 width:0;height:0;border-left:14px solid transparent;\n                 border-right:14px solid transparent;border-top:24px solid #fff;\n                 z-index:5;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5));\"><\/div>\n\n            <svg id=\"ruleta-svg\" viewBox=\"0 0 200 200\" width=\"320\" height=\"320\"\n                 style=\"transition:transform 4s cubic-bezier(.17,.67,.2,1);\">\n                <path d=\"M100,100 L100,0 A100,100 0 0,1 170.71,29.29 Z\" fill=\"#ffd700\" stroke=\"#16213e\" stroke-width=\"1\"\/><text x=\"123.73\" y=\"42.72\" fill=\"#000\" font-size=\"6\" font-weight=\"bold\" text-anchor=\"middle\" transform=\"rotate(22.5 123.73 42.72)\">\ud83c\udf89 \u00a1GANASTE una ent<\/text><path d=\"M100,100 L170.71,29.29 A100,100 0 0,1 200,100 Z\" fill=\"#0f3460\" stroke=\"#16213e\" stroke-width=\"1\"\/><text x=\"157.28\" y=\"76.27\" fill=\"#fff\" font-size=\"6\" font-weight=\"bold\" text-anchor=\"middle\" transform=\"rotate(67.5 157.28 76.27)\">De 100% de posibil<\/text><path d=\"M100,100 L200,100 A100,100 0 0,1 170.71,170.71 Z\" fill=\"#16c79a\" stroke=\"#16213e\" stroke-width=\"1\"\/><text x=\"157.28\" y=\"123.73\" fill=\"#fff\" font-size=\"6\" font-weight=\"bold\" text-anchor=\"middle\" transform=\"rotate(112.5 157.28 123.73)\">Hoy no era tu d\u00eda<\/text><path d=\"M100,100 L170.71,170.71 A100,100 0 0,1 100,200 Z\" fill=\"#f9b248\" stroke=\"#16213e\" stroke-width=\"1\"\/><text x=\"123.73\" y=\"157.28\" fill=\"#fff\" font-size=\"6\" font-weight=\"bold\" text-anchor=\"middle\" transform=\"rotate(157.5 123.73 157.28)\">\u00a1Estuviste cerca!.<\/text><path d=\"M100,100 L100,200 A100,100 0 0,1 29.29,170.71 Z\" fill=\"#9b5de5\" stroke=\"#16213e\" stroke-width=\"1\"\/><text x=\"76.27\" y=\"157.28\" fill=\"#fff\" font-size=\"6\" font-weight=\"bold\" text-anchor=\"middle\" transform=\"rotate(202.5 76.27 157.28)\">La suerte se fue d<\/text><path d=\"M100,100 L29.29,170.71 A100,100 0 0,1 0,100 Z\" fill=\"#00bbf9\" stroke=\"#16213e\" stroke-width=\"1\"\/><text x=\"42.72\" y=\"123.73\" fill=\"#fff\" font-size=\"6\" font-weight=\"bold\" text-anchor=\"middle\" transform=\"rotate(247.5 42.72 123.73)\">La entrada te vio <\/text><path d=\"M100,100 L0,100 A100,100 0 0,1 29.29,29.29 Z\" fill=\"#ff6b6b\" stroke=\"#16213e\" stroke-width=\"1\"\/><text x=\"42.72\" y=\"76.27\" fill=\"#fff\" font-size=\"6\" font-weight=\"bold\" text-anchor=\"middle\" transform=\"rotate(292.5 42.72 76.27)\">De 100% de posibil<\/text><path d=\"M100,100 L29.29,29.29 A100,100 0 0,1 100,0 Z\" fill=\"#1b9aaa\" stroke=\"#16213e\" stroke-width=\"1\"\/><text x=\"76.27\" y=\"42.72\" fill=\"#fff\" font-size=\"6\" font-weight=\"bold\" text-anchor=\"middle\" transform=\"rotate(337.5 76.27 42.72)\">De 100% de posibil<\/text>                <circle cx=\"100\" cy=\"100\" r=\"14\" fill=\"#fff\" stroke=\"#16213e\" stroke-width=\"2\"\/>\n            <\/svg>\n        <\/div>\n\n        <button id=\"ruleta-btn\" style=\"background:#e94560;color:#fff;border:none;\n            padding:16px 50px;font-size:20px;font-weight:bold;border-radius:50px;\n            cursor:pointer;box-shadow:0 5px 20px rgba(233,69,96,.5);\">\n            \ud83c\udfb2 GIRAR\n        <\/button>\n\n        <div id=\"ruleta-msg\" style=\"margin-top:20px;min-height:30px;\n             font-size:16px;font-weight:bold;\"><\/div>\n        <div id=\"ruleta-premio\" style=\"display:none;margin-top:14px;padding:16px;\n             border-radius:12px;background:rgba(255,215,0,.15);border:1px solid #ffd700;\">\n        <\/div>\n    <\/div>\n\n    <script>\n    (function(){\n        const N = 8;\n        const ANG = 360 \/ N;\n        const btn = document.getElementById('ruleta-btn');\n        const svg = document.getElementById('ruleta-svg');\n        const msg = document.getElementById('ruleta-msg');\n        const premioBox = document.getElementById('ruleta-premio');\n        let girando = false;\n        let vueltaActual = 0;\n\n        btn.addEventListener('click', function(){\n            if (girando) return;\n            girando = true;\n            btn.disabled = true;\n            msg.textContent = '';\n            premioBox.style.display = 'none';\n\n            const data = new FormData();\n            data.append('action', 'ruleta_girar');\n            data.append('nonce', '1f4ff86988');\n\n            fetch('https:\/\/tocahits.com\/wp-admin\/admin-ajax.php', {method:'POST', body:data})\n              .then(r => r.json())\n              .then(res => {\n                  \/\/ El servidor ya decidi\u00f3. La animaci\u00f3n apunta al segmento\n                  \/\/ correspondiente: \u00edndice 0 = premio.\n                  const destino = res.gano ? 0 : (1 + Math.floor(Math.random() * (N - 1)));\n                  \/\/ \u00c1ngulo para que el segmento destino quede arriba (bajo la flecha)\n                  const centroSeg = destino * ANG + ANG \/ 2;\n                  const vueltas = 5 * 360;\n                  vueltaActual += vueltas + (360 - centroSeg);\n                  svg.style.transform = 'rotate(' + vueltaActual + 'deg)';\n\n                  setTimeout(function(){\n                      if (res.gano) {\n                          msg.textContent = res.label;\n                          msg.style.color = '#ffd700';\n                          premioBox.style.display = 'block';\n                          premioBox.innerHTML =\n                            '<p style=\"margin:0 0 8px;\">Tu c\u00f3digo:<\/p>' +\n                            '<p style=\"font-size:18px;color:#ffd700;margin:0 0 12px;word-break:break-all;\"><strong>' + res.codigo + '<\/strong><\/p>' +\n                            '<a href=\"' + res.wa_link + '\" target=\"_blank\" rel=\"noopener\" ' +\n                            'style=\"display:inline-block;background:#25D366;color:#fff;' +\n                            'padding:12px 24px;border-radius:50px;text-decoration:none;' +\n                            'font-weight:bold;\">\ud83d\udcf2 Escribir al WhatsApp<\/a>' +\n                            '<p style=\"margin:10px 0 0;font-size:13px;opacity:.8;\">' + res.whatsapp + '<\/p>';\n                      } else {\n                          msg.textContent = res.mensaje;\n                          msg.style.color = '#fff';\n                      }\n                      girando = false;\n                      btn.disabled = false;\n                  }, 4100);\n              })\n              .catch(function(){\n                  msg.textContent = 'Error. Intenta de nuevo.';\n                  girando = false;\n                  btn.disabled = false;\n              });\n        });\n    })();\n    <\/script>\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":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-2660","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>prueba - TocaHits<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tocahits.com\/index.php\/prueba\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"prueba - TocaHits\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tocahits.com\/index.php\/prueba\/\" \/>\n<meta property=\"og:site_name\" content=\"TocaHits\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-23T00:27:49+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/tocahits.com\\\/index.php\\\/prueba\\\/\",\"url\":\"https:\\\/\\\/tocahits.com\\\/index.php\\\/prueba\\\/\",\"name\":\"prueba - TocaHits\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tocahits.com\\\/#website\"},\"datePublished\":\"2026-06-23T00:18:53+00:00\",\"dateModified\":\"2026-06-23T00:27:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tocahits.com\\\/index.php\\\/prueba\\\/#breadcrumb\"},\"inLanguage\":\"es-CL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/tocahits.com\\\/index.php\\\/prueba\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tocahits.com\\\/index.php\\\/prueba\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/tocahits.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"prueba\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/tocahits.com\\\/#website\",\"url\":\"https:\\\/\\\/tocahits.com\\\/\",\"name\":\"TocaHits\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/tocahits.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/tocahits.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es-CL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/tocahits.com\\\/#organization\",\"name\":\"TocaHits\",\"url\":\"https:\\\/\\\/tocahits.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es-CL\",\"@id\":\"https:\\\/\\\/tocahits.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/tocahits.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/Recursos-Web-1.png\",\"contentUrl\":\"https:\\\/\\\/tocahits.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/Recursos-Web-1.png\",\"width\":600,\"height\":600,\"caption\":\"TocaHits\"},\"image\":{\"@id\":\"https:\\\/\\\/tocahits.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/tocahitstv\\\/\",\"https:\\\/\\\/www.youtube.com\\\/@tocahitstv\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"prueba - TocaHits","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tocahits.com\/index.php\/prueba\/","og_locale":"es_ES","og_type":"article","og_title":"prueba - TocaHits","og_url":"https:\/\/tocahits.com\/index.php\/prueba\/","og_site_name":"TocaHits","article_modified_time":"2026-06-23T00:27:49+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tocahits.com\/index.php\/prueba\/","url":"https:\/\/tocahits.com\/index.php\/prueba\/","name":"prueba - TocaHits","isPartOf":{"@id":"https:\/\/tocahits.com\/#website"},"datePublished":"2026-06-23T00:18:53+00:00","dateModified":"2026-06-23T00:27:49+00:00","breadcrumb":{"@id":"https:\/\/tocahits.com\/index.php\/prueba\/#breadcrumb"},"inLanguage":"es-CL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tocahits.com\/index.php\/prueba\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/tocahits.com\/index.php\/prueba\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/tocahits.com\/"},{"@type":"ListItem","position":2,"name":"prueba"}]},{"@type":"WebSite","@id":"https:\/\/tocahits.com\/#website","url":"https:\/\/tocahits.com\/","name":"TocaHits","description":"","publisher":{"@id":"https:\/\/tocahits.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tocahits.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es-CL"},{"@type":"Organization","@id":"https:\/\/tocahits.com\/#organization","name":"TocaHits","url":"https:\/\/tocahits.com\/","logo":{"@type":"ImageObject","inLanguage":"es-CL","@id":"https:\/\/tocahits.com\/#\/schema\/logo\/image\/","url":"https:\/\/tocahits.com\/wp-content\/uploads\/2025\/03\/Recursos-Web-1.png","contentUrl":"https:\/\/tocahits.com\/wp-content\/uploads\/2025\/03\/Recursos-Web-1.png","width":600,"height":600,"caption":"TocaHits"},"image":{"@id":"https:\/\/tocahits.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.instagram.com\/tocahitstv\/","https:\/\/www.youtube.com\/@tocahitstv"]}]}},"_links":{"self":[{"href":"https:\/\/tocahits.com\/index.php\/wp-json\/wp\/v2\/pages\/2660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tocahits.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tocahits.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tocahits.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tocahits.com\/index.php\/wp-json\/wp\/v2\/comments?post=2660"}],"version-history":[{"count":6,"href":"https:\/\/tocahits.com\/index.php\/wp-json\/wp\/v2\/pages\/2660\/revisions"}],"predecessor-version":[{"id":2668,"href":"https:\/\/tocahits.com\/index.php\/wp-json\/wp\/v2\/pages\/2660\/revisions\/2668"}],"wp:attachment":[{"href":"https:\/\/tocahits.com\/index.php\/wp-json\/wp\/v2\/media?parent=2660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}