{"id":2,"date":"2025-12-03T01:14:33","date_gmt":"2025-12-03T01:14:33","guid":{"rendered":"https:\/\/retrohitsonair.com.pe\/?page_id=2"},"modified":"2026-02-19T19:31:23","modified_gmt":"2026-02-19T19:31:23","slug":"principal","status":"publish","type":"page","link":"https:\/\/retrohitsonair.com.pe\/","title":{"rendered":"Principal"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2\" class=\"elementor elementor-2\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-32e470a e-flex e-con-boxed e-con e-parent\" data-id=\"32e470a\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-526871e elementor-widget elementor-widget-image\" data-id=\"526871e\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"800\" height=\"130\" src=\"https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/ban-1024x166.png\" class=\"attachment-large size-large wp-image-104\" alt=\"\" srcset=\"https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/ban-1024x166.png 1024w, https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/ban-300x49.png 300w, https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/ban-768x124.png 768w, https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/ban-1536x249.png 1536w, https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/ban.png 1883w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-d3c4df9 e-flex e-con-boxed e-con e-parent\" data-id=\"d3c4df9\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;slideshow&quot;,&quot;background_slideshow_gallery&quot;:[{&quot;id&quot;:18,&quot;url&quot;:&quot;https:\\\/\\\/retrohitsonair.com.pe\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/unnamed.jpg&quot;},{&quot;id&quot;:81,&quot;url&quot;:&quot;https:\\\/\\\/retrohitsonair.com.pe\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/unnamed-1.jpg&quot;}],&quot;background_slideshow_loop&quot;:&quot;yes&quot;,&quot;background_slideshow_slide_duration&quot;:5000,&quot;background_slideshow_slide_transition&quot;:&quot;fade&quot;,&quot;background_slideshow_transition_duration&quot;:500}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-76317f8 e-con-full e-flex e-con e-child\" data-id=\"76317f8\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-78086c4 elementor-widget elementor-widget-nexo_radio_floating\" data-id=\"78086c4\" data-element_type=\"widget\" data-widget_type=\"nexo_radio_floating.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\n.nexo-radio-player {\n    width: 100%;\n    position: relative;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    padding: 1rem;\n    flex-direction: row !important;\n    border-radius: .5rem;\n    overflow: hidden;\n}\n.nexo-radio-player.layout-cuadrado {\n    flex-direction: column;\n    text-align: center;\n    height: auto !important;\n}\n.nexo-radio-player.layout-cuadrado .nexo-radio-center-controls {\n    justify-content: center;\n}\n.nexo-radio-background,\n.nexo-radio-overlay {\n    position: absolute;\n    top: 0; left: 0; right: 0; bottom: 0;\n    border-radius: inherit;\n}\n.nexo-radio-background {\n    background-size: cover;\n    background-position: center;\n    filter: blur(8px);\n    z-index: 0;\n}\n.nexo-radio-overlay {\n    z-index: 1;\n    backdrop-filter: blur(1rem);\n}\n.nexo-radio-content {\n    position: relative;\n    z-index: 2;\n    display: flex;\n    align-items: center;\n    width: 100%;\n    gap: 10px;\n}\n.nexo-radio-cover {\n    width: 70px;\n    height: 70px;\n    border-radius: 50%;\n    overflow: hidden;\n    flex-shrink: 0;\n}\n.nexo-radio-cover img {\n    width: 100%;\n    height: 100%;\n    border: 3px solid #fff;\n    object-fit: cover;\n    border-radius: 999px;\n}\n.nexo-radio-texts {\n    min-width: 0;\n    max-width: 380px;\n    margin-right: auto;\n}\n.nexo-radio-label-row {\n    display: flex;\n    align-items: center;\n    gap: 5px;\n    flex-wrap: nowrap;\n    overflow: hidden;\n}\n.nexo-radio-label-row .song-title,\n.nexo-radio-label-row .extra-label {\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n}\n.nexo-radio-label-row .live-label {\n    padding: 3px 6px;\n    line-height: 1;\n    background-color: #fff;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    gap: 6px;\n    color: #000;\n    font-weight: 700;\n    text-shadow: none;\n    font-size: 0.75rem;\n    border-radius: 4px;\n    white-space: nowrap;\n    flex-shrink: 0;\n    max-width: 100%;\n}\n\n.nexo-radio-label-row .live-label::before {\n    content: '';\n    width: 8px;\n    height: 8px;\n    background-color: red;\n    border-radius: 50%;\n    display: inline-block;\n    animation: blink 1s infinite;\n}\n@keyframes blink {\n    0%, 100% { opacity: 1; }\n    50% { opacity: 0; }\n}\n.extra-label {\n    font-size: 0.75rem;\n    color: #fff;\n    \n    border-radius: 4px;\n    font-weight: 700;\n    font-size: 13px;\n}\n.nexo-radio-texts .song-title {\n    font-size: 18px;\n    font-weight: bold;\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n}\n\n.nexo-radio-center-controls {\n    display: flex;\n    align-items: center;\n    gap: 15px;\n}\n\n.nexo-radio-button {\n    font-size: 12px;\n    width: 50px;\n    height: 50px;\n    border-radius: 50%;\n    background: transparent;\n    color: #fff;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    cursor: pointer;\n    transition: 0.3s;\n    position: relative;\n    overflow: hidden;\n}\n.nexo-radio-button::before {\n    content: \"\";\n    position: absolute;\n    inset: -1rem;\n    background-color: rgba(255, 255, 255, 0.2);\n    transform: scale(1);\n    z-index: -1;\n}\n\n.nexo-radio-button:hover {\n    transform: scale(1.1);\n}\n\n@media (min-width: 992px) {\n    .nexo-radio-button {\n        position: absolute;\n        inset: 50% 0 0 50%;\n        transform: translate(-50%, -50%);\n    }\n    .nexo-radio-button:hover {\n        transform: translate(-50%, -50%) scale(1.1);\n    }\n}\n.nexo-radio-volume {\n    font-size: 20px;\n    cursor: pointer;\n    padding: 5px;\n}\n@media (max-width: 767px) {\n    .nexo-radio-volume {\n        display: none !important;\n    }\n}\n@keyframes marquee {\n  from {\n    transform: translateX(0);\n  }\n  to {\n    transform: translateX(calc(-50% - var(--marquee-gap, 1.5rem) \/ 2));\n  }\n}\n.player-fix {\n  overflow: hidden;\n  display: inline-flex;\n  width: 100%;\n}\n.player-title {\n  font-family: var(--primary-font);\n  white-space: nowrap;\n  flex: 1 0 auto;\n}\n.player-title.is-infinite-scrolling {\n  --marquee-gap: 1rem;\n  gap: var(--marquee-gap);\n  display: flex;\n  animation: marquee var(--text-scroll-duration, 5s) linear infinite;\n}\n.player-title.is-backwards {\n  animation-direction: reverse;\n}\n.player-equalizer {\n    position: absolute;\n    inset: 0;\n    z-index: 1;\n    pointer-events: none;\n    opacity: 0.75;\n    border-radius: 0.5rem;\n    display: flex;\n    gap: 1px;\n    align-items: flex-end;\n}\n@keyframes equalizer1 {\n  0%, 100% {\n    height: 0;\n  }\n  50% {\n    height: 4rem;\n  }\n}\n@keyframes equalizer2 {\n  0%, 100% {\n    height: 0.5rem;\n  }\n  50% {\n    height: 5rem;\n  }\n}\n@keyframes equalizer3 {\n  0%, 100% {\n    height: 1rem;\n  }\n  50% {\n    height: 3rem;\n  }\n}\n.equalizer-bar {\n  background: #fff;\n  width: 100%;\n  opacity: var(--player-equalizer-opacity, 0.15);\n  transition: opacity 0.3s ease-in-out;\n  height: 0;\n  animation-iteration-count: infinite;\n  animation-name: var(--pqa, equalizer1);\n  animation-duration: var(--pqd, 1s);\n  animation-delay: var(--pql, 0s);\n}\n.nexo-radio-player:not(.is-playing) {\n--player-equalizer-opacity: 0;\n}\n.player-apps {\n  display: flex;\n  gap: 0.5rem;\n}\n@media (max-width: 991px) {\n  .player-apps, .player-volume {\n    display: none;\n  }\n}\n.app-item {\n  transition: filter .3s;\n  display: flex;\n  align-items: center;\n}\n.app-item:hover {\n  filter: drop-shadow(0 0px 10px white);\n}\n.app-item svg {\n  height: 32px;\n}\n  .layout-cuadrado .nexo-radio-cover {\n    width: 100%;\n    height: auto;\n    border-radius: 0;\n}\n\n.layout-cuadrado .nexo-radio-cover img {\n    border: 0 none;\n    border-radius: 0;\n    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.14) , 0px 1px 10px 0px rgba(0,0,0,0.12) , 0px 2px 4px -1px rgba(0,0,0,0.2);\n    aspect-ratio: 1;\n}\n\n.layout-cuadrado .player-apps {\n    display: none;\n}\n\n.layout-cuadrado .nexo-radio-button {\n    position: relative;\n    inset: auto;\n    transform: initial;\n}\n.layout-cuadrado .nexo-radio-content {\n    gap: 1rem;\n    flex-direction: column;\n    align-items: center;\n    max-width: 400px;\n    margin: auto;\n}\n.nexo-radio-meta-content {\n    display: flex;\n    justify-content: space-between;\n    width: 100%;\n    gap: 1rem;\n}\n<\/style><div class=\"nexo-radio-player layout-cuadrado\"><div class=\"nexo-radio-background\" id=\"nexo-bg\" style=\"background-image: url(https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/cropped-logotipo.png);\"><\/div><div class=\"nexo-radio-overlay\"><\/div><div class=\"nexo-radio-content\"><div class=\"nexo-radio-cover\"><img decoding=\"async\" id=\"nexo-cover\" src=\"https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/cropped-logotipo.png\" alt=\"Cover\"><\/div><div class=\"nexo-radio-meta-content\"><div class=\"nexo-radio-texts\"><div class=\"nexo-radio-label-row\">  <div class=\"live-label\">En Vivo<\/div>  <div class=\"extra-label\">Online<\/div><\/div><div class=\"player-fix song-title\"><div class=\"player-title\" id=\"nexo-title\">Retro Hits On Air<\/div><\/div><\/div><div class=\"nexo-radio-center-controls\"><div class=\"player-apps\"><\/div><div class=\"nexo-radio-button\" onclick=\"togglePlay(this)\"><i class=\"fas fa-play\"><\/i><\/div><div class=\"nexo-radio-volume\" onclick=\"toggleMute(this)\"><i class=\"fas fa-volume-up\"><\/i><\/div><\/div><\/div><\/div><div class=\"player-equalizer\" id=\"nexo-equalizer\"><\/div><audio id=\"nexo-player\" src=\"https:\/\/live.tecnohost.ec\/8012\/stream?nocache=1775268979\" data-stream-src=\"https:\/\/live.tecnohost.ec\/8012\/stream?nocache=1775268979\"><\/audio><\/div><script>\nfunction togglePlay(btn) {\n    const player = document.getElementById(\"nexo-player\");\n    if (player.paused) {\n        player.load();\n        player.play();\n        btn.innerHTML = '<i class=\"fas fa-pause\"><\/i>';\n        player.parentElement.classList.add(\"is-playing\");\n    } else {\n        player.pause();\n        btn.innerHTML = '<i class=\"fas fa-play\"><\/i>';\n        player.parentElement.classList.remove(\"is-playing\");\n    }\n}\nfunction toggleMute(btn) {\n    const player = document.getElementById(\"nexo-player\");\n    player.muted = !player.muted;\n    btn.innerHTML = player.muted\n        ? '<i class=\"fas fa-volume-mute\"><\/i>'\n        : '<i class=\"fas fa-volume-up\"><\/i>';\n}\n\nfunction scrollText (item) {\n    if (!item) return\n\n    const parent = item.parentElement\n    if (!parent) return\n\n    const parentWidth = parent.offsetWidth\n    const itemWidth = item.scrollWidth\n    const marqueeGap = \"1rem\"\n    const marqueeSpeed = 12\n\n    const isScrolling = item.classList.contains(\"is-infinite-scrolling\")\n\n    if (itemWidth > parentWidth) {\n        if (!isScrolling) {\n            item.dataset.originalText = item.innerHTML || item.innerText\n            item.innerHTML = `<span>${item.dataset.originalText}<\/span>   <span>${item.dataset.originalText}<\/span>`\n            item.classList.add(\"is-infinite-scrolling\")\n        }\n\n        const scroll = item.scrollWidth - parentWidth\n        const duration = 5000 + scroll * marqueeSpeed\n\n        if (marqueeGap) {\n            item.style.setProperty(\"--marquee-gap\", `${marqueeGap === \"auto\" ? parentWidth + \"px\" : marqueeGap}`)\n        }\n\n        item.style.setProperty(\"--text-scroll-duration\", `${duration}ms`)\n    } else {\n        removeTextScroll(item)\n    }\n}\n\nfunction removeTextScroll (item) {\n    if (!item) return\n    if (item.classList.contains(\"is-infinite-scrolling\")) {\n        item.innerHTML = item.dataset.originalText || item.innerText\n        item.removeAttribute(\"data-original-text\")\n        item.classList.remove(\"is-infinite-scrolling\", \"is-backwards\")\n    }\n}\n\nfunction observeTextScroll (item) {\n    if (!item || !item.parentElement) return\n\n    removeTextScroll(item)\n\n    const resizeObserver = new ResizeObserver(() => scrollText(item))\n    resizeObserver.observe(item.parentElement)\n\n    item._resizeObserver = resizeObserver\n    scrollText(item)\n}\n\nlet customAudioPlaying = false;\nlet customStreamPlaying = false;\n\nconst getCoverFromItunes = async (title) => {\n    try {\n        const response = await fetch(\"https:\/\/itunes.apple.com\/search?term=\" + encodeURIComponent(title) + \"&limit=1\");\n        const data = await response.json();\n        if (data.results.length > 0) {\n            return data.results[0].artworkUrl100.replace(\"100x100bb.jpg\", \"300x300bb.jpg\");\n        }\n    } catch (e) {\n        console.error(\"Error fetching cover from iTunes:\", e);\n    }\n    return \"\";\n};\n\nasync function fetchMetadata() {\n    if (customAudioPlaying) return;\n    if (customStreamPlaying) return;\n\n    try {\n        const response = await fetch(\"\");\n        const data = await response.json();\n        let title = \"\", artist = \"\", cover = \"\";\n\n        if (data.now_playing && data.now_playing.song) {\n            const song = data.now_playing.song;\n            title = song.title || song.text || \"\";\n            artist = song.artist || \"\";\n            cover = song.art || \"\";\n            if (!artist && title.includes(\" - \")) {\n                const parts = title.split(\" - \");\n                if (parts.length >= 2) {\n                    artist = parts[0].trim();\n                    title = parts.slice(1).join(\" - \").trim();\n                }\n            }\n        } else if (data.song_title || data.song_cover) {\n            title = data.song_title || \"\";\n            cover = data.song_cover || \"\";\n        } else {\n            title = data.title || \"\";\n            cover = data.cover || \"\";\n            artist = data.artist || \"\";\n        }\n\n        if (title) {\n            const getTitle = document.getElementById(\"nexo-title\");\n            removeTextScroll(getTitle)\n            getTitle.innerHTML = title || \"Sin t\u00edtulo\";\n            observeTextScroll(getTitle)\n        }\n\n\n        if (!cover && title) {\n            cover = await getCoverFromItunes(title);\n        }\n        if (cover) {\n            document.getElementById(\"nexo-cover\").src = cover;\n            document.getElementById(\"nexo-bg\").style.backgroundImage = \"url(\" + cover + \")\";\n        }\n\n        if (\"mediaSession\" in navigator && (title || cover)) {\n            navigator.mediaSession.metadata = new MediaMetadata({\n                title: title,\n                artist: artist,\n                album: \"\",\n                artwork: [{ src: cover, sizes: \"300x300\", type: \"image\/jpeg\" }]\n            });\n        }\n\n    } catch (e) {\n        console.log(\"Error obteniendo metadatos:\", e);\n    }\n\n    setTimeout(fetchMetadata, 15000);\n}\nif (\"\") {\n    fetchMetadata();\n}\nfunction setFakeEqualizer () {\n  const equalizer = document.getElementById(\"nexo-equalizer\")\n  const barsCount = 50\n\n  if (!equalizer) return\n\n  \/\/ Crea todas las barras del ecualizador\n  for (let i = 0; i < barsCount; i++) {\n    const bar = document.createElement(\"div\")\n    bar.classList.add(\"equalizer-bar\")\n    equalizer.appendChild(bar)\n\n    \/\/ Asigna variables CSS para cada barra\n    const animationDuration = Math.floor(Math.random() * 1000) + 800\n    const animationDelay = Math.floor(Math.random() * 500) + 100\n    const animationName = `equalizer${Math.floor(Math.random() * 3) + 1}`\n\n    bar.style.setProperty(\"--pqa\", animationName)\n    bar.style.setProperty(\"--pqd\", `${animationDuration}ms`)\n    bar.style.setProperty(\"--pql\", `${animationDelay}ms`)\n  }\n}\nsetFakeEqualizer();\n\nlet timeoutId = null;\n\nwindow.playWithNexoPlayer = function ({ src, title = \"\", artist = \"\", cover = \"\" }) {\n    if (!src) {\n        console.warn(\"No se proporcion\u00f3 una URL de audio v\u00e1lida.\");\n        return;\n    }\n\n    if (timeoutId) {\n        clearTimeout(timeoutId);\n        timeoutId = null;\n    }\n\n    customAudioPlaying = true;\n\n    const player = document.getElementById(\"nexo-player\");\n    const coverEl = document.getElementById(\"nexo-cover\");\n    const bgEl = document.getElementById(\"nexo-bg\");\n    const titleEl = document.getElementById(\"nexo-title\");\n\n    if (!player) return;\n\n    if (player.src !== src) {\n        player.src = src;\n        player.load();\n    }\n\n    player.play()\n        .then(() => {\n            player.parentElement.classList.add(\"is-playing\");\n            \/\/ Agregar el icono correcto al bot\u00f3n de reproducci\u00f3n\n            const playButton = document.querySelector(\".nexo-radio-button\");\n            if (playButton) {\n                playButton.innerHTML = '<i class=\"fas fa-pause\"><\/i>';\n            } else {\n                console.warn(\"No se encontr\u00f3 el bot\u00f3n de reproducci\u00f3n.\");\n            }\n        })\n        .catch(e => console.warn(\"No se pudo reproducir:\", e));\n\n    if (cover && coverEl) coverEl.src = cover;\n    if (bgEl) bgEl.style.backgroundImage = `url(${cover})`;\n    if (titleEl) {\n        titleEl.innerHTML = title;\n        titleEl.dataset.originalText = title;\n    }\n\n    if (\"mediaSession\" in navigator) {\n        navigator.mediaSession.metadata = new MediaMetadata({\n            title: title,\n            artist: artist,\n            artwork: [{ src: cover, sizes: \"300x300\", type: \"image\/jpeg\" }]\n        });\n    }\n\n    player.parentElement?.classList.add(\"is-playing\");    \n};\n\nconst playButton = document.querySelector(\".nexo-radio-button\");\n\n\nwindow.stopCustomAudio = function () {\n    const player = document.getElementById(\"nexo-player\");\n    if (!player) return;\n\n    customAudioPlaying = false;\n\n    player.src = player.dataset.streamSrc; \n    player.load();\n    fetchMetadata();\n\n    \/\/ Cambiar el icono del bot\u00f3n de reproducci\u00f3n\n    if (playButton) {\n        playButton.innerHTML = '<i class=\"fas fa-play\"><\/i>';\n        player.parentElement.classList.remove(\"is-playing\");\n    } else {\n        console.warn(\"No se encontr\u00f3 el bot\u00f3n de reproducci\u00f3n.\");\n    }\n\n    if (timeoutId) {\n        clearTimeout(timeoutId);\n        timeoutId = null;\n    }\n};\n\nlet currentApiUrl = null;\n\nwindow.setStreamWithApi = function({ streamUrl, apiUrl, image, programTitle = \"\" }) {\n    if (!streamUrl || !apiUrl) return;\n\n    customAudioPlaying = false;\n    customStreamPlaying = true;\n\n    const player = document.getElementById(\"nexo-player\");\n    const coverEl = document.getElementById(\"nexo-cover\");\n    const bgEl = document.getElementById(\"nexo-bg\");\n    const titleEl = document.getElementById(\"nexo-title\");\n\n    if (!player) return;\n\n    if (player.src !== streamUrl) {\n        player.src = streamUrl;\n        player.dataset.streamSrc = streamUrl;\n        player.load();\n    }\n\n    player.play()\n        .then(() => {\n            player.parentElement.classList.add(\"is-playing\");\n            if (playButton) {\n                playButton.innerHTML = \"<i class=\\\"fas fa-pause\\\"><\/i>\";\n            }\n        })\n        .catch(e => console.warn(\"No se pudo reproducir:\", e));\n\n\n    currentApiUrl = apiUrl;\n\n    async function fetchAndUpdateMetadata() {\n        if (!currentApiUrl) return;\n        if (timeoutId) {\n            clearTimeout(timeoutId);\n            timeoutId = null;\n        }\n\n        try {\n            const response = await fetch(currentApiUrl);\n            const data = await response.json();\n\n            let title = \"\", artist = \"\", cover = \"\";\n\n            if (data.now_playing && data.now_playing.song) {\n                const song = data.now_playing.song;\n                title = song.title || song.text || \"\";\n                artist = song.artist || \"\";\n                cover = song.art || \"\";\n                if (!artist && title.includes(\" - \")) {\n                    const parts = title.split(\" - \");\n                    if (parts.length >= 2) {\n                        artist = parts[0].trim();\n                        title = parts.slice(1).join(\" - \").trim();\n                    }\n                }\n            } else if (data.song_title || data.song_cover) {\n                title = data.song_title || \"\";\n                cover = data.song_cover || \"\";\n            } else {\n                title = data.title || \"\";\n                cover = data.cover || \"\";\n                artist = data.artist || \"\";\n            }\n\n            if (titleEl) {\n                removeTextScroll(titleEl);\n                titleEl.innerHTML = title;\n                titleEl.dataset.originalText = title;\n                observeTextScroll(titleEl);\n            }\n\n            if (!cover && title) {\n                cover = await getCoverFromItunes(title);\n            }\n\n            if (cover && coverEl) {\n                coverEl.src = cover;\n                bgEl.style.backgroundImage = `url(${cover})`;\n            }\n\n            if (\"mediaSession\" in navigator) {\n                navigator.mediaSession.metadata = new MediaMetadata({\n                    title,\n                    artist,\n                    artwork: [{ src: cover, sizes: \"300x300\", type: \"image\/jpeg\" }]\n                });\n            }\n        } catch (e) {\n            console.error(\"Error obteniendo metadatos:\", e);\n        }\n\n        timeoutId = setTimeout(fetchAndUpdateMetadata, 15000);\n    }\n\n    fetchAndUpdateMetadata();\n};<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5cb5691 elementor-view-stacked elementor-shape-rounded elementor-position-inline-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box\" data-id=\"5cb5691\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<a href=\"https:\/\/www.facebook.com\/share\/1QJ7kbhca6\/?mibextid=wwXIfr\" target=\"_blank\" class=\"elementor-icon\" tabindex=\"-1\" aria-label=\"Facebook\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fab-facebook\" viewBox=\"0 0 512 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z\"><\/path><\/svg>\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h3 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<a href=\"https:\/\/www.facebook.com\/share\/1QJ7kbhca6\/?mibextid=wwXIfr\" target=\"_blank\" >\n\t\t\t\t\t\t\tFacebook\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/h3>\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2b967a6 elementor-view-stacked elementor-shape-rounded elementor-position-inline-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box\" data-id=\"2b967a6\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<a href=\"http:\/\/wa.me\/51991420921\" target=\"_blank\" class=\"elementor-icon\" tabindex=\"-1\" aria-label=\"+51 991 420 921\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fab-whatsapp\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z\"><\/path><\/svg>\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h3 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<a href=\"http:\/\/wa.me\/51991420921\" target=\"_blank\" >\n\t\t\t\t\t\t\t+51 991 420 921\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/h3>\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-047725e elementor-view-stacked elementor-shape-rounded elementor-position-inline-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box\" data-id=\"047725e\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<a href=\"https:\/\/www.instagram.com\/retrohitsonair?igsh=cnBpdGxqZnMyN3pm\" target=\"_blank\" class=\"elementor-icon\" tabindex=\"-1\" aria-label=\"@retrohitsonair\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fab-instagram\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z\"><\/path><\/svg>\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h3 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<a href=\"https:\/\/www.instagram.com\/retrohitsonair?igsh=cnBpdGxqZnMyN3pm\" target=\"_blank\" >\n\t\t\t\t\t\t\t@retrohitsonair\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/h3>\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-aa1269e elementor-view-stacked elementor-shape-rounded elementor-position-inline-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box\" data-id=\"aa1269e\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<a href=\"https:\/\/vm.tiktok.com\/ZS9eLKykwS28r-RsGNj\/\" target=\"_blank\" class=\"elementor-icon\" tabindex=\"-1\" aria-label=\"@clasicos_hits_onair\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fab-tiktok\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z\"><\/path><\/svg>\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h3 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<a href=\"https:\/\/vm.tiktok.com\/ZS9eLKykwS28r-RsGNj\/\" target=\"_blank\" >\n\t\t\t\t\t\t\t@clasicos_hits_onair\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/h3>\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-0ad62d2 e-con-full e-flex e-con e-child\" data-id=\"0ad62d2\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c3b6b44 elementor-align-center elementor-widget elementor-widget-button\" data-id=\"c3b6b44\" data-element_type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"#\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">DEJANOS TUS COMENTARIOS<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5c1f974 elementor-align-center elementor-icon-list--layout-traditional elementor-list-item-link-full_width elementor-widget elementor-widget-icon-list\" data-id=\"5c1f974\" data-element_type=\"widget\" data-widget_type=\"icon-list.default\">\n\t\t\t\t\t\t\t<ul class=\"elementor-icon-list-items\">\n\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"mailto:%20retrohitsonair@gmail.com\" target=\"_blank\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-far-envelope\" viewBox=\"0 0 512 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">retrohitsonair@gmail.com<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t<\/ul>\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<div class=\"elementor-element elementor-element-9ee89e0 e-flex e-con-boxed e-con e-parent\" data-id=\"9ee89e0\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d9c313b elementor-widget elementor-widget-image\" data-id=\"d9c313b\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"720\" height=\"1280\" src=\"https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/chatwasap.jpg\" class=\"attachment-full size-full wp-image-42\" alt=\"\" srcset=\"https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/chatwasap.jpg 720w, https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/chatwasap-169x300.jpg 169w, https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/chatwasap-576x1024.jpg 576w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-1fca65d e-flex e-con-boxed e-con e-parent\" data-id=\"1fca65d\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a8a307b elementor-widget elementor-widget-image\" data-id=\"a8a307b\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/logotipo.png\" class=\"attachment-full size-full wp-image-23\" alt=\"\" srcset=\"https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/logotipo.png 1024w, https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/logotipo-300x300.png 300w, https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/logotipo-150x150.png 150w, https:\/\/retrohitsonair.com.pe\/wp-content\/uploads\/2025\/12\/logotipo-768x768.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9ff586d elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"9ff586d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>\u201cRHO Retro Hits On Air es una nueva radio que busca rescatar la esencia de la buena m\u00fasica de las d\u00e9cadas pasadas. Un espacio donde los grandes cl\u00e1sicos cobran vida para inspirar a las nuevas generaciones, despertando en la juventud el gusto por la verdadera m\u00fasica y el arte de crearla.\u201d<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-5b53aac e-flex e-con-boxed e-con e-parent\" data-id=\"5b53aac\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-47224be elementor-widget elementor-widget-text-editor\" data-id=\"47224be\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Radio Retro Hits On Air &#8211; todos los derechos reservados \u00a9 2026<\/p><p>Dise\u00f1ado y Desarrollado por Kuayni.<\/p>\t\t\t\t\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":"<p>En Vivo OnlineRetro Hits On Air Facebook +51 991 420 921 @retrohitsonair @clasicos_hits_onair DEJANOS TUS COMENTARIOS retrohitsonair@gmail.com \u201cRHO Retro Hits On Air es una nueva radio que busca rescatar la esencia de la buena m\u00fasica de las d\u00e9cadas pasadas. Un espacio donde los grandes cl\u00e1sicos cobran vida para inspirar a las nuevas generaciones, despertando en [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-2","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/retrohitsonair.com.pe\/index.php\/wp-json\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/retrohitsonair.com.pe\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/retrohitsonair.com.pe\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/retrohitsonair.com.pe\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/retrohitsonair.com.pe\/index.php\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":185,"href":"https:\/\/retrohitsonair.com.pe\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":234,"href":"https:\/\/retrohitsonair.com.pe\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions\/234"}],"wp:attachment":[{"href":"https:\/\/retrohitsonair.com.pe\/index.php\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}