{"id":259608,"date":"2025-11-01T02:17:50","date_gmt":"2025-11-01T01:17:50","guid":{"rendered":"https:\/\/acninternational.org\/?page_id=259608"},"modified":"2025-11-01T02:44:16","modified_gmt":"2025-11-01T01:44:16","slug":"religiousfreedomreport","status":"publish","type":"page","link":"https:\/\/acninternational.org\/es\/religiousfreedomreport\/","title":{"rendered":"Religious Freedom Report"},"content":{"rendered":"\n<style>\n  html, body {\n    margin: 0;\n    padding: 0;\n    height: 100%;\n  }\n  \/* Avoid 100vw to prevent horizontal scrollbars on some browsers *\/\n  iframe {\n    display: block;\n    width: 100%;\n    height: 100dvh; \/* better with dynamic viewport units *\/\n    border: 0;\n    overflow-y: auto;\n  }\n  \/* If you actually use these elsewhere, keep them; otherwise remove *\/\n  #header { width: 100%; height: 300px; background: #fff; padding: 20px; text-align: center; }\n  #content { width: 100%; height: 500px; border: none; }\n<\/style>\n\n<iframe\n  id=\"rfr-frame\"\n  src=\"https:\/\/rfr-acninternational.vercel.app\/religiousfreedomreport\/es\/?iframe=true&#038;hidebanner=false\"\n  loading=\"eager\"\n><\/iframe>\n\n<script>\n(function () {\n  \"use strict\";\n\n  const ALLOWED_ORIGINS = new Set([\n    \"https:\/\/acninternational.org\",\n    \"https:\/\/dev.acninternational.org\",\n    \"https:\/\/rfr-acninternational.vercel.app\"\n  ]);\n\n  const LOCALE_RE = \/^[a-z]{2}(?:-[a-z]{2})?$\/i;\n\n  function detectBasePath(pathname) {\n    const segs = pathname.split(\"\/\").filter(Boolean);\n    if (segs.length === 0) return \"\/\";\n    const firstIsLocale = LOCALE_RE.test(segs[0]);\n    if (firstIsLocale) {\n      \/\/ \/<locale>\/<base>[\/...]\n      return \"\/\" + segs.slice(0, Math.min(2, segs.length)).join(\"\/\");\n    }\n    \/\/ \/<base>\/<maybe-locale>\/...\n    if (segs.length >= 2 && LOCALE_RE.test(segs[1])) {\n      return \"\/\" + segs.slice(0, 2).join(\"\/\");\n    }\n    return \"\/\" + segs[0];\n  }\n\n  \/\/ Extract the locale present in a basePath, if any\n  function detectLocaleFromBase(basePath) {\n    const segs = String(basePath).split(\"\/\").filter(Boolean);\n    if (segs[0] && LOCALE_RE.test(segs[0])) return segs[0];\n    if (segs[1] && LOCALE_RE.test(segs[1])) return segs[1];\n    return null;\n  }\n\n  \/\/ Remove basePath if slug accidentally includes it\n  function stripBaseFromSlug(basePath, slug) {\n    const normBase = (\"\/\" + String(basePath).replace(\/^\\\/+|\\\/+$\/g, \"\")).toLowerCase();\n    let s = \"\/\" + String(slug || \"\").replace(\/^\\\/+\/, \"\");\n    const re = new RegExp(\"^\" + normBase.replace(\/[.*+?^${}()|[\\]\\\\]\/g, \"\\\\$&\") + \"(?:\/|$)\", \"i\");\n    if (re.test(s)) s = s.replace(re, \"\/\");\n    return s;\n  }\n\n  \/\/ NEW: If slug begins with same locale already in basePath, strip that duplicate\n  function stripDuplicateLeadingLocale(basePath, slug) {\n    const baseLocale = detectLocaleFromBase(basePath);\n    if (!baseLocale) return slug;\n    const re = new RegExp(\"^\/\" + baseLocale + \"(?=\/|$)\", \"i\");\n    return slug.replace(re, \"\") || \"\/\";\n  }\n\n  function getTailFromParentURL() {\n    const currentPath = window.location.pathname;\n    const basePath = detectBasePath(currentPath);\n    let tail = currentPath.slice(basePath.length);\n    if (!tail.startsWith(\"\/\")) tail = \"\/\" + tail;\n    tail = tail.replace(\/^\\\/+\/, \"\"); \/\/ \"news\/xyz\"\n    return { basePath, tail };\n  }\n\n  function applyInitialTailToIframe() {\n    const iframe = document.getElementById(\"rfr-frame\");\n    if (!iframe) return;\n\n    const { basePath, tail } = getTailFromParentURL();\n    if (!tail) return;\n\n    const u = new URL(iframe.src, window.location.href);\n\n    \/\/ normalize tail: ensure leading \"\/\", strip duplicate locale if present\n    let slug = \"\/\" + tail.replace(\/^\\\/+\/, \"\");\n    slug = stripDuplicateLeadingLocale(basePath, slug);\n\n    \/\/ append to iframe path\n    let cleanPath = u.pathname.replace(\/\\\/+$\/, \"\");\n    cleanPath = (cleanPath + slug).replace(\/\\\/{2,}\/g, \"\/\");\n    u.pathname = cleanPath;\n\n    if (iframe.src !== u.toString()) {\n      iframe.src = u.toString();\n    }\n  }\n\n  function handlePostMessage(event) {\n    if (!event || !event.data) return;\n    if (!ALLOWED_ORIGINS.has(event.origin)) return;\n\n    const msg = event.data;\n    if (msg.type !== \"PAGE_CHANGE\" || !msg.data) return;\n\n    const currentPath = window.location.pathname;\n    const basePath = detectBasePath(currentPath);\n    const title = msg.data.title || document.title;\n\n    let rawSlug = String(msg.data.slug || \"\").trim();\n    if (!rawSlug) return;\n\n    let slug = rawSlug.startsWith(\"\/\") ? rawSlug : \"\/\" + rawSlug;\n\n    \/\/ Avoid duplicating base and locale\n    slug = stripBaseFromSlug(basePath, slug);\n    slug = stripDuplicateLeadingLocale(basePath, slug);\n\n    \/\/ Compose new path\n    let newPath = (basePath.replace(\/\\\/+$\/, \"\") + slug).replace(\/\\\/{2,}\/g, \"\/\");\n\n    if (newPath.replace(\/\\\/+$\/, \"\") === currentPath.replace(\/\\\/+$\/, \"\")) return;\n\n    const url = new URL(window.location.href);\n    url.pathname = newPath;\n\n    try {\n      history.replaceState({ from: \"iframe\", slug }, title, url);\n      document.title = title;\n    } catch (e) {}\n  }\n\n  document.addEventListener(\"DOMContentLoaded\", applyInitialTailToIframe);\n  window.addEventListener(\"message\", handlePostMessage, false);\n})();\n<\/script>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":4258341480,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-iframe.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-259608","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Religious Freedom Report | ACN International<\/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:\/\/acninternational.org\/es\/religiousfreedomreport\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Religious Freedom Report\" \/>\n<meta property=\"og:url\" content=\"https:\/\/acninternational.org\/es\/religiousfreedomreport\/\" \/>\n<meta property=\"og:site_name\" content=\"ACN International\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/acninternationalorg\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-01T01:44:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/media.acninternational.org\/wp-content\/uploads\/2022\/07\/ACN-20140929-13926-1.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"200\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@acn_int\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/acninternational.org\\\/es\\\/religiousfreedomreport\\\/\",\"url\":\"https:\\\/\\\/acninternational.org\\\/es\\\/religiousfreedomreport\\\/\",\"name\":\"Religious Freedom Report | ACN International\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/acninternational.org\\\/es\\\/#website\"},\"datePublished\":\"2025-11-01T01:17:50+00:00\",\"dateModified\":\"2025-11-01T01:44:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/acninternational.org\\\/es\\\/religiousfreedomreport\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/acninternational.org\\\/es\\\/religiousfreedomreport\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/acninternational.org\\\/es\\\/religiousfreedomreport\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/acninternational.org\\\/es\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Religious Freedom Report\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/acninternational.org\\\/es\\\/#website\",\"url\":\"https:\\\/\\\/acninternational.org\\\/es\\\/\",\"name\":\"ACN International\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/acninternational.org\\\/es\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/acninternational.org\\\/es\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/acninternational.org\\\/es\\\/#organization\",\"name\":\"Aid to the Church in Need International\",\"url\":\"https:\\\/\\\/acninternational.org\\\/es\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/acninternational.org\\\/es\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/media.acninternational.org\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/acn_logo_blackvector.svg\",\"contentUrl\":\"https:\\\/\\\/media.acninternational.org\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/acn_logo_blackvector.svg\",\"width\":232.6,\"height\":78,\"caption\":\"Aid to the Church in Need International\"},\"image\":{\"@id\":\"https:\\\/\\\/acninternational.org\\\/es\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/acninternationalorg\",\"https:\\\/\\\/x.com\\\/acn_int\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCQ-077gS0TnVzkhHmf1opZw\",\"https:\\\/\\\/www.instagram.com\\\/acn_international\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Religious Freedom Report | ACN International","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:\/\/acninternational.org\/es\/religiousfreedomreport\/","og_locale":"es_ES","og_type":"article","og_title":"Religious Freedom Report","og_url":"https:\/\/acninternational.org\/es\/religiousfreedomreport\/","og_site_name":"ACN International","article_publisher":"https:\/\/www.facebook.com\/acninternationalorg","article_modified_time":"2025-11-01T01:44:16+00:00","og_image":[{"width":200,"height":200,"url":"https:\/\/media.acninternational.org\/wp-content\/uploads\/2022\/07\/ACN-20140929-13926-1.jpeg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@acn_int","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/acninternational.org\/es\/religiousfreedomreport\/","url":"https:\/\/acninternational.org\/es\/religiousfreedomreport\/","name":"Religious Freedom Report | ACN International","isPartOf":{"@id":"https:\/\/acninternational.org\/es\/#website"},"datePublished":"2025-11-01T01:17:50+00:00","dateModified":"2025-11-01T01:44:16+00:00","breadcrumb":{"@id":"https:\/\/acninternational.org\/es\/religiousfreedomreport\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/acninternational.org\/es\/religiousfreedomreport\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/acninternational.org\/es\/religiousfreedomreport\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/acninternational.org\/es\/"},{"@type":"ListItem","position":2,"name":"Religious Freedom Report"}]},{"@type":"WebSite","@id":"https:\/\/acninternational.org\/es\/#website","url":"https:\/\/acninternational.org\/es\/","name":"ACN International","description":"","publisher":{"@id":"https:\/\/acninternational.org\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/acninternational.org\/es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/acninternational.org\/es\/#organization","name":"Aid to the Church in Need International","url":"https:\/\/acninternational.org\/es\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/acninternational.org\/es\/#\/schema\/logo\/image\/","url":"https:\/\/media.acninternational.org\/wp-content\/uploads\/2019\/11\/acn_logo_blackvector.svg","contentUrl":"https:\/\/media.acninternational.org\/wp-content\/uploads\/2019\/11\/acn_logo_blackvector.svg","width":232.6,"height":78,"caption":"Aid to the Church in Need International"},"image":{"@id":"https:\/\/acninternational.org\/es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/acninternationalorg","https:\/\/x.com\/acn_int","https:\/\/www.youtube.com\/channel\/UCQ-077gS0TnVzkhHmf1opZw","https:\/\/www.instagram.com\/acn_international\/"]}]}},"_links":{"self":[{"href":"https:\/\/acninternational.org\/es\/wp-json\/wp\/v2\/pages\/259608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/acninternational.org\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/acninternational.org\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/acninternational.org\/es\/wp-json\/wp\/v2\/users\/4258341480"}],"replies":[{"embeddable":true,"href":"https:\/\/acninternational.org\/es\/wp-json\/wp\/v2\/comments?post=259608"}],"version-history":[{"count":3,"href":"https:\/\/acninternational.org\/es\/wp-json\/wp\/v2\/pages\/259608\/revisions"}],"predecessor-version":[{"id":259620,"href":"https:\/\/acninternational.org\/es\/wp-json\/wp\/v2\/pages\/259608\/revisions\/259620"}],"wp:attachment":[{"href":"https:\/\/acninternational.org\/es\/wp-json\/wp\/v2\/media?parent=259608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}