sass-template-common 0.0.26 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6802,6 +6802,7 @@ function Tr({ noteShare: e }) {
|
|
|
6802
6802
|
type: "button",
|
|
6803
6803
|
"data-text": "Link copiado",
|
|
6804
6804
|
"data-active": "false",
|
|
6805
|
+
"aria-label": "copy",
|
|
6805
6806
|
className: [de.clipboardButton, "clipbtn-id"].join(" "),
|
|
6806
6807
|
children: /* @__PURE__ */ n(Er, {})
|
|
6807
6808
|
}
|
|
@@ -6810,6 +6811,7 @@ function Tr({ noteShare: e }) {
|
|
|
6810
6811
|
"button",
|
|
6811
6812
|
{
|
|
6812
6813
|
type: "button",
|
|
6814
|
+
"aria-label": "share",
|
|
6813
6815
|
className: [de.clipboardButton, "sharebtn-id"].join(" "),
|
|
6814
6816
|
children: /* @__PURE__ */ n(qr, {})
|
|
6815
6817
|
}
|
|
@@ -9802,6 +9804,7 @@ const b9 = async ({
|
|
|
9802
9804
|
{
|
|
9803
9805
|
fetchPriority: "low",
|
|
9804
9806
|
loading: "lazy",
|
|
9807
|
+
alt: "autor",
|
|
9805
9808
|
className: de.imageStyled,
|
|
9806
9809
|
src: await ie(r.image.sizes[0]?.url || ""),
|
|
9807
9810
|
style: {
|
|
@@ -9972,7 +9975,7 @@ const I9 = (e) => /* @__PURE__ */ n(
|
|
|
9972
9975
|
}
|
|
9973
9976
|
return e.replace(
|
|
9974
9977
|
t,
|
|
9975
|
-
(i, o) => `<img fetchPriority='low' loading='lazy' src="${s[o] || o}"`
|
|
9978
|
+
(i, o) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${s[o] || o}"`
|
|
9976
9979
|
);
|
|
9977
9980
|
}, B9 = (e, t) => {
|
|
9978
9981
|
const a = {
|
|
@@ -11421,7 +11424,7 @@ const U6 = (e) => {
|
|
|
11421
11424
|
url: ""
|
|
11422
11425
|
},
|
|
11423
11426
|
link: {
|
|
11424
|
-
url: "",
|
|
11427
|
+
url: "invalidUrl",
|
|
11425
11428
|
target: "",
|
|
11426
11429
|
canonical: !1,
|
|
11427
11430
|
internal: ""
|
|
@@ -11544,7 +11547,7 @@ const U6 = (e) => {
|
|
|
11544
11547
|
q,
|
|
11545
11548
|
{
|
|
11546
11549
|
title: r?.title?.section,
|
|
11547
|
-
href: d?.link?.url,
|
|
11550
|
+
href: d?.link?.url ?? "invalidUrl",
|
|
11548
11551
|
target: d?.link?.target,
|
|
11549
11552
|
children: /* @__PURE__ */ n(
|
|
11550
11553
|
U6,
|
|
@@ -11594,7 +11597,7 @@ const U6 = (e) => {
|
|
|
11594
11597
|
q,
|
|
11595
11598
|
{
|
|
11596
11599
|
className: J.sectionDescription,
|
|
11597
|
-
href: e.info.section.url,
|
|
11600
|
+
href: e.info.section.url ?? "invalidUrl",
|
|
11598
11601
|
children: e.info.section.name
|
|
11599
11602
|
}
|
|
11600
11603
|
),
|
|
@@ -46,7 +46,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
46
46
|
c0.3-0.1,1.2-0.5,1.5-1.6c0.4-1.6,0.4-5.3,0.4-5.3c0-0.1,0.2-3.7-0.2-5.4c-0.1-0.4-0.5-1.3-1.6-1.6C22.5,7.7,17.1,7.6,15.1,7.6zM12.8,19.2c-0.1,0-0.3,0-0.4-0.1c-0.2-0.1-0.4-0.4-0.4-0.7v-6.9c0-0.3,0.1-0.5,0.4-0.6c0.2-0.1,0.5-0.1,0.7,0l5.9,3.4
|
|
47
47
|
c0.2,0.1,0.4,0.4,0.4,0.6c0,0.3-0.1,0.5-0.4,0.7l-5.9,3.5C13.1,19.1,12.9,19.2,12.8,19.2z M13.6,12.9v4.3l3.7-2.2L13.6,12.9z`}),t.jsx("path",{fill:"currentColor",d:"M12.8,18.6v-6.9l5.9,3.4L12.8,18.6z"})]}),P1=["telegram"],Et={facebook:e=>t.jsx(O1,{...e}),instagram:e=>t.jsx(Q1,{...e}),whatsapp:e=>t.jsx(tr,{...e}),tiktok:e=>t.jsx(er,{...e}),youtube:e=>t.jsx(nr,{...e}),x:e=>t.jsx(kt,{...e}),gnews:e=>t.jsx(J2,{...e}),podcast:e=>t.jsx(X2,{...e}),telegram:e=>t.jsx(R2,{...e})},Va=e=>{const{freeZone:n,socials:a}=e;return t.jsxs("footer",{className:ue.content,children:[t.jsxs("section",{className:ue.brandContent,children:[t.jsx(T,{href:"/",children:t.jsx(Ha,{fill:"var(--footer-logo-color)",className:ue.logoDesk})}),t.jsx("div",{className:ue.socialMedia,children:Object.keys(a).map(s=>a[s]?.show&&t.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":a[s].title+" link",className:ue.linkSocialNetwoks,href:a[s].url,children:Et[s]({className:P1.includes(s)?ue.socialNetworkIcon_stroke:ue.socialNetworkIcon})},s))})]}),t.jsxs("section",{className:ue.copyrigth,children:[t.jsx(Ha,{className:ue.logoMobile}),t.jsx("div",{className:ue.section,children:n.map((s,o)=>t.jsx(T,{href:s.link?s.link:void 0,target:s.target,className:ue.ourOptions,children:s.description},o))}),t.jsxs("section",{className:ue.copyrigthContent,children:[t.jsx("p",{className:ue.copyrigthText,children:"© 2025 La Hora. Todos los derechos reservados. Somos una empresa periodística con diarios regionales, de carácter local."}),t.jsx(T,{href:"https://www.bluestack.la",title:"Plataforma BLUESTACK CMS (antes CMS MEDIOS)",target:"_blank",rel:"noopener",children:t.jsx(Da,{})})]})]})]})},ce={content:"_content_1up0u_1",imageContent:"_imageContent_1up0u_9",imageStyled:"_imageStyled_1up0u_18",contentIconStyled:"_contentIconStyled_1up0u_19",avatarContent:"_avatarContent_1up0u_35",journalistSection:"_journalistSection_1up0u_43",journalistInfo:"_journalistInfo_1up0u_50",journalistInfoLink:"_journalistInfoLink_1up0u_51",socialNetworkSection:"_socialNetworkSection_1up0u_83",avatarStyled:"_avatarStyled_1up0u_95",article:"_article_1up0u_100",socialButton:"_socialButton_1up0u_104",facebookStyled:"_facebookStyled_1up0u_120",emailStyled:"_emailStyled_1up0u_124",xStyled:"_xStyled_1up0u_128",linkedinStyled:"_linkedinStyled_1up0u_132",whatsappStyled:"_whatsappStyled_1up0u_136",whatsappLink:"_whatsappLink_1up0u_140",clipboardButton:"_clipboardButton_1up0u_156"},ar=e=>t.jsx("svg",{width:"13",height:"23",viewBox:"0 0 13 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M11.7376 0H8.80322C5.52359 0 3.36594 2.11766 3.36594 5.50591V8.0471H0.431531C0.172612 8.0471 0 8.21652 0 8.47064V12.113C0 12.3671 0.172612 12.5365 0.431531 12.5365H3.36594V21.7695C3.36594 22.0237 3.53855 22.1931 3.79747 22.1931H7.68125C7.94016 22.1931 8.11278 22.0237 8.11278 21.7695V12.5365H11.565C11.8239 12.5365 11.9966 12.3671 11.9966 12.113V8.47064C11.9966 8.38593 11.9102 8.21652 11.8239 8.13181C11.7376 8.0471 11.6513 7.9624 11.4787 7.9624H8.02647V5.84474C8.02647 4.82826 8.28539 4.32002 9.66629 4.32002H11.6513C11.9102 4.32002 12.0829 4.15061 12.0829 3.89649V0.508238C12.1692 0.169413 11.9966 0 11.7376 0Z",fill:"black"})}),sr=e=>t.jsx("svg",{width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M22.2934 10.7547C22.1938 16.7261 17.3172 21.6028 11.3457 21.6028C9.55429 21.6028 7.66334 21.2047 6.07096 20.309L0 22.2L1.89095 16.4276C0.895716 14.7357 0.298572 12.8447 0.298572 10.8542C0.398096 4.88279 5.27477 0.00612497 11.2462 0.00612497C17.1181 -0.192923 22.0943 4.4847 22.2934 10.3566C22.2934 10.5557 22.2934 10.6552 22.2934 10.7547ZM16.9191 13.2428C16.8195 13.1433 16.6205 13.1433 16.4214 12.9442C16.2224 12.7452 14.8291 12.148 14.63 12.0485C14.431 11.949 14.2319 11.949 14.0329 12.148C13.8338 12.5461 13.5353 12.9442 13.1372 13.1433C13.0376 13.2428 12.8386 13.4419 12.6395 13.2428C11.8433 13.0438 11.0472 12.5461 10.45 12.0485C9.65382 11.4514 9.1562 10.4561 8.85763 10.2571C8.7581 10.058 8.85763 9.85899 8.95715 9.75947C9.1562 9.65994 9.25572 9.4609 9.35525 9.26185C9.45477 9.16232 9.45477 8.96327 9.65382 8.86375C9.85287 8.76423 9.65382 8.46566 9.65382 8.36613C9.65382 8.26661 9.05667 6.9728 8.85763 6.47518C8.65858 5.97756 8.45953 6.07708 8.26048 6.07708H7.76287C7.46429 6.07708 7.16572 6.27613 6.96667 6.47518C6.36953 7.07232 6.07096 7.86851 6.07096 8.6647C6.17048 9.65994 6.46905 10.5557 7.0662 11.3518C7.16572 11.4514 8.85763 14.3376 11.5448 15.3328C14.2319 16.328 14.2319 15.9299 14.7295 15.9299C15.5257 15.8304 16.2224 15.3328 16.521 14.6361C17.0186 13.9395 17.0186 13.4419 16.9191 13.2428Z",fill:"black"})}),i1=e=>t.jsx("svg",{version:"1.1",baseProfile:"tiny",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 30 30",overflow:"visible",xmlSpace:"preserve",...e,children:t.jsx("path",{fill:"currentColor",strokeWidth:"1.2656",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",d:`M10.2,8.3c0,1.1-0.9,2.1-2.2,2.1l0,0c-1.3,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.2-2.1C9.4,6.3,10.2,7.1,10.2,8.3z M6.1,23.7H10V11.9
|
|
48
48
|
H6.1V23.7z M19.6,11.7c-2.1,0-3.5,2-3.5,2v-1.7h-3.9v11.8H16v-6.6c0-0.3,0-0.7,0.1-0.9c0.3-0.7,0.9-1.4,2-1.4c1.4,0,2,1.1,2,2.7v6.3
|
|
49
|
-
h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`})}),or=e=>t.jsxs("svg",{width:"25",height:"21",viewBox:"0 0 25 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t.jsx("path",{d:"M21.6424 1H3.33879C2.11855 1 1 2.01687 1 3.33879V17.0665C1 18.2867 2.01687 19.4053 3.33879 19.4053H21.6424C22.8626 19.4053 23.9812 18.3884 23.9812 17.0665V3.33879C23.9812 2.01687 22.8626 1 21.6424 1Z",stroke:"black",strokeWidth:"1.6"}),t.jsx("path",{d:"M21.6425 5.57591L12.5923 11.2704L3.33887 5.57591V3.33881L12.5923 8.93157L21.6425 3.33881V5.57591Z",fill:"black"})]}),rr=e=>t.jsxs("svg",{width:"24",height:"19",viewBox:"0 0 24 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t.jsx("path",{d:"M20.8752 0.195801H2.96092C1.76664 0.195801 0.671875 1.19104 0.671875 2.48485V15.9206C0.671875 17.1149 1.66711 18.2096 2.96092 18.2096H20.8752C22.0695 18.2096 23.1643 17.2144 23.1643 15.9206V2.48485C23.1643 1.19104 22.0695 0.195801 20.8752 0.195801Z",fill:"black"}),t.jsx("path",{d:"M20.8752 4.67439L12.0176 10.2477L2.96094 4.67439V2.48486L12.0176 7.95868L20.8752 2.48486V4.67439Z",fill:"white"})]}),ir=e=>t.jsx("svg",{width:"13",height:"22",viewBox:"0 0 13 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{className:e.className,d:"M11.6659 1H8.99942C6.01924 1 4.0586 2.9084 4.0586 5.96183V8.25191H1.39213C1.15685 8.25191 1 8.40458 1 8.63359V11.916C1 12.145 1.15685 12.2977 1.39213 12.2977H4.0586V20.6183C4.0586 20.8473 4.21545 21 4.45073 21H7.97989C8.21516 21 8.37202 20.8473 8.37202 20.6183V12.2977H11.509C11.7443 12.2977 11.9012 12.145 11.9012 11.916V8.63359C11.9012 8.55725 11.8227 8.40458 11.7443 8.32824C11.6659 8.25191 11.5875 8.17557 11.4306 8.17557H8.29359V6.26718C8.29359 5.35115 8.52887 4.89313 9.78368 4.89313H11.5875C11.8227 4.89313 11.9796 4.74046 11.9796 4.51145V1.45802C12.058 1.15267 11.9012 1 11.6659 1Z",stroke:"black",strokeWidth:"1.6"})}),lr=e=>t.jsx("svg",{width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M9.30078 7.72949C9.28669 7.73721 9.26828 7.74902 9.24805 7.76465L9.19141 7.81445C8.8772 8.13005 8.71165 8.55395 8.70312 8.99023C8.77601 9.66203 8.97561 10.2287 9.34668 10.7256H9.34473C9.35348 10.7369 9.36023 10.7436 9.36133 10.7451C9.37377 10.7621 9.3856 10.779 9.39453 10.792C9.4124 10.818 9.43647 10.8532 9.45898 10.8867C9.50677 10.9578 9.57007 11.0522 9.65039 11.165C9.81168 11.3916 10.0398 11.6926 10.3262 12.0127C10.909 12.664 11.6897 13.3438 12.6006 13.6826L13.2939 13.9268C13.8822 14.1194 14.1724 14.1694 14.3203 14.1787C14.3962 14.1835 14.4316 14.1772 14.4736 14.1689C14.5057 14.1627 14.6397 14.1303 14.8008 14.1201C15.1827 14.0695 15.4845 13.8317 15.6035 13.5527L15.6377 13.4736L15.6875 13.4033C15.7495 13.3162 15.7915 13.2397 15.8232 13.1768C15.7966 13.1558 15.7712 13.1312 15.7441 13.1064C15.7417 13.1049 15.7389 13.1028 15.7354 13.1006C15.7102 13.085 15.6695 13.0616 15.6123 13.0312C15.4989 12.971 15.3518 12.8998 15.1953 12.8262C15.0688 12.7666 14.9195 12.698 14.7871 12.6377C14.6126 12.8833 14.3825 13.1242 14.0869 13.3008C14.0125 13.3669 13.897 13.4604 13.7529 13.5225C13.617 13.581 13.4226 13.6304 13.1963 13.5938C13.0666 13.5727 12.9516 13.526 12.8506 13.4658C12.108 13.2436 11.4204 12.7984 10.9238 12.3828V12.3818C10.5228 12.0715 10.2157 11.6853 10.0029 11.4004C9.87676 11.2315 9.811 11.1368 9.73047 11.0322C9.69758 10.9895 9.67674 10.9653 9.66699 10.9541L9.53027 10.8633L9.43555 10.6729C9.13999 10.0789 9.45899 9.55563 9.66504 9.34863L9.75684 9.25684L9.79395 9.2373C9.79866 9.22848 9.80456 9.21878 9.81055 9.20703C9.81876 9.19093 9.82757 9.17405 9.83789 9.15332L9.89551 9.03711L9.91504 9.0166C9.91886 9.00859 9.92341 8.99989 9.92773 8.99121C9.94244 8.9617 9.96053 8.92707 9.9834 8.88965C9.98101 8.88379 9.97917 8.87743 9.97656 8.87109C9.93235 8.7636 9.87019 8.61859 9.7998 8.45703C9.69712 8.22135 9.57723 7.94266 9.48633 7.72754H9.30469C9.30348 7.72817 9.30214 7.72875 9.30078 7.72949ZM21.7998 10.7334C21.7123 16.0007 17.4298 20.3152 12.1611 20.3154C10.7168 20.3154 9.17594 20.0177 7.82031 19.3301L3.23926 20.7637L1.75879 21.2266L2.23926 19.752L3.65723 15.4053C2.89962 14.0095 2.44141 12.4507 2.44141 10.8008V10.7871L2.46191 10.2969C2.79683 5.26385 6.96096 1.22064 12.0527 1.20605V1.20508C17.2413 1.02845 21.6243 5.17346 21.7998 10.3701V10.7334Z",stroke:"black",strokeWidth:"1.6"})}),cr=e=>t.jsxs("svg",{width:"24",height:"26",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t.jsx("path",{d:"M15.468 0.0176692C19.1667 -0.312768 21.4241 4.0663 18.9843 6.88436C17.3076 8.82178 15.1141 10.5527 13.3915 12.4761C12.2176 13.476 10.6337 13.7557 9.18071 13.2164C8.74887 13.0559 7.79245 12.4979 7.58121 12.088C7.34035 11.6196 7.56874 11.0468 8.06994 10.8964C8.70055 10.707 8.98194 11.2549 9.47302 11.5206C10.4177 12.0326 11.5324 11.8775 12.3392 11.1894C14.1959 9.60579 15.8539 7.46497 17.6981 5.83149C19.2961 3.95875 17.6443 1.19212 15.2404 1.73766C13.9722 2.02523 12.3205 4.35309 11.2479 5.2275C10.4458 5.88136 9.47224 5.01708 9.97968 4.15436C11.6922 2.72273 13.0469 0.233544 15.468 0.0176692Z",fill:"black"}),t.jsx("path",{d:"M8.5303 6.95371C9.60676 6.85786 11.2055 7.32623 11.8891 8.20922C12.487 8.98231 11.6077 9.94089 10.7853 9.42965C10.6567 9.34938 10.5273 9.19507 10.4057 9.10779C9.40644 8.39782 8.16472 8.4438 7.23168 9.24027C5.52383 10.6968 3.99604 12.6654 2.30378 14.1719C0.74403 16.0719 2.47293 18.851 4.88309 18.1925C6.09675 17.8612 7.32288 16.0173 8.32295 15.2022C9.06502 14.5974 9.97858 15.2848 9.65821 16.1475C8.76882 17.0414 7.85526 18.1449 6.90117 18.9632C3.04429 22.2707 -2.2866 16.9362 1.05349 13.0777C2.59608 11.2962 4.61339 9.7032 6.19886 7.93489C6.85207 7.39014 7.67598 7.02931 8.5303 6.95371Z",fill:"black"})]}),dr=e=>t.jsx("svg",{width:"26",height:"25",viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M10 5C9.45 5 9 5.45 9 6V9H6C5.45 9 5 9.45 5 10C5 10.55 5.45 11 6 11H9V14C9 14.55 9.45 15 10 15C10.55 15 11 14.55 11 14V11H14C14.55 11 15 10.55 15 10C15 9.45 14.55 9 14 9H11V6C11 5.45 10.55 5 10 5ZM10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18Z",fill:"black"})}),hr={FaceBook:{url:e=>`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`,icon:{outline:e=>t.jsx(ir,{className:e}),solid:e=>t.jsx(ar,{className:e})}},X:{url:e=>`https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,icon:{outline:e=>t.jsx(kt,{className:e}),solid:e=>t.jsx(kt,{className:e})}},Whatsapp:{url:e=>`https://wa.me/?text=${encodeURIComponent(e)}`,icon:{outline:e=>t.jsx(lr,{className:e}),solid:e=>t.jsx(sr,{className:e})}},Email:{url:e=>`mailto:?body=${encodeURIComponent(e)}`,icon:{outline:e=>t.jsx(or,{className:e}),solid:e=>t.jsx(rr,{className:e})}},LinkedIn:{url:e=>`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(e)}`,icon:{outline:e=>t.jsx(i1,{className:e}),solid:e=>t.jsx(i1,{className:e})}}};function Oa({noteShare:e}){const n=e&&e.url||(typeof window<"u"?window.location.href:"https://example.com");return e?t.jsxs("div",{className:ce.socialNetworkSection,children:[e.options?.map(a=>{const s=hr[a];if(!s)return null;const o=e.variant==="outline"?s.icon.outline:s.icon.solid,r=s.url(n);return t.jsx(T,{href:r,target:"_blank",rel:"noopener noreferrer","aria-label":`Compartir en ${a}`,className:`${ce.socialButton} ${ce[`${a.toLowerCase()}Button`]??""} ${ce[`${a.toLowerCase()}Styled`]}`,children:o("")},a)}),t.jsx("button",{type:"button","data-text":"Link copiado","data-active":"false",className:[ce.clipboardButton,"clipbtn-id"].join(" "),children:t.jsx(cr,{})}),t.jsx("button",{type:"button",className:[ce.clipboardButton,"sharebtn-id"].join(" "),children:t.jsx(dr,{})})]}):null}const se={content:"_content_1dzh4_1",brandContent:"_brandContent_1dzh4_10",socialMedia:"_socialMedia_1dzh4_21",linkSocialNetwoks:"_linkSocialNetwoks_1dzh4_28",sectionContent:"_sectionContent_1dzh4_42",section:"_section_1dzh4_42",menuItem:"_menuItem_1dzh4_60",otherItems:"_otherItems_1dzh4_73",copyrigth:"_copyrigth_1dzh4_87",copyrigthText:"_copyrigthText_1dzh4_97",logoStyled:"_logoStyled_1dzh4_107",socialNetworkIcon:"_socialNetworkIcon_1dzh4_118",socialInstagram:"_socialInstagram_1dzh4_125",socialNetworkIcon_stroke:"_socialNetworkIcon_stroke_1dzh4_133"},Qa=e=>{const{freeZone:n,socials:a,menu:s,customBlock:o}=e;return t.jsxs("footer",{className:se.content,children:[t.jsxs("section",{className:se.brandContent,children:[t.jsx(T,{href:"/","aria-label":"Ir a la home",children:t.jsx("span",{className:se.logoStyled,children:e.logo})}),t.jsx("div",{className:se.socialMedia,children:Object.keys(a).map(r=>a[r]?.show&&t.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":a[r].title+" link",className:se.linkSocialNetwoks,href:a[r].url,children:Et[r]({className:`${P1.includes(r)?se.socialNetworkIcon_stroke:se.socialNetworkIcon} ${r==="instagram"?se.socialInstagram:""}`})},r))})]}),t.jsxs("section",{className:se.sectionContent,children:[t.jsx("div",{className:se.section,children:s.filter(r=>!r.subitem).map((r,i)=>t.jsx(T,{href:r.link?r.link:void 0,target:r.target,className:se.menuItem,"aria-label":r.description,children:r.description},i))}),t.jsx("div",{className:se.section,children:n&&n.map((r,i)=>t.jsx(T,{href:r.link?r?.link:void 0,target:r.target,className:se.otherItems,children:r.description},i))})]}),o&&t.jsx(t.Fragment,{children:o}),t.jsxs("section",{className:se.copyrigth,children:[t.jsx("p",{className:se.copyrigthText,children:e.copyrigth}),t.jsx(T,{"aria-label":"Bluestack link",href:"https://www.bluestack.la",title:"Plataforma BLUESTACK CMS (antes CMS MEDIOS)",target:"_blank",rel:"noreferrer",children:t.jsx(Da,{})})]})]})},Ue={content:"_content_r1co8_1",videoContent:"_videoContent_r1co8_20",articleSection:"_articleSection_r1co8_27",title:"_title_r1co8_42",article:"_article_r1co8_27",correspondent:"_correspondent_r1co8_75",iframeStyled:"_iframeStyled_r1co8_84",contentFrame:"_contentFrame_r1co8_94"},Cr=e=>{const n=()=>e?.video.main.author?`${e?.video.main.author} - ${ye(e.video.info.date.created)}`:e?.video.main.author;return t.jsx("div",{className:Ue.content,children:t.jsx(ot,{children:t.jsxs("div",{className:Ue.videoContent,children:[t.jsx("p",{className:Ue.title,children:e.video.main.title}),e.type==="vy"&&t.jsx("iframe",{className:Ue.iframeStyled,src:`https://www.youtube.com/embed/${e.video.main.code}`,frameBorder:"0",allowFullScreen:!0}),e.type==="vf"&&t.jsx("iframe",{className:Ue.iframeStyled,src:e.video.main.code,frameBorder:"0",allowFullScreen:!0}),e.type==="ve"&&t.jsx("div",{className:Ue.contentFrame,dangerouslySetInnerHTML:{__html:e.video.main.code}}),t.jsxs("div",{className:Ue.articleSection,children:[t.jsx("p",{className:Ue.article,children:Ce(e.video.main.description)}),t.jsx("p",{className:Ue.correspondent,children:n()})]})]})})})},j1={content:"_content_wxhkd_1",linkStyled:"_linkStyled_wxhkd_9"},xt=e=>{const{currentPage:n,showNext:a,maxPages:s,pathname:o,query:r}=e,i=(l,d,c)=>{let h="";const C=d.split("/");return C.indexOf("page")!==-1&&C.splice(h.indexOf("page")-1,C.length-1),C.forEach((u,w)=>{w!==0&&(h+=`/${u}`)}),l==="next"?h+=`/page/${n+1}${c?`?query=${c}`:""}`:h+=`/page/${n-1}${c?`?query=${c}`:""}`};return(n>1||a&&n<s)&&t.jsxs("section",{className:j1.content,children:[n>1&&t.jsx(T,{className:j1.linkStyled,href:i("prev",o||"",r||""),children:e.texts.prevButtonText??"Anterior"}),a&&n<s&&t.jsx(T,{className:j1.linkStyled,href:i("next",o||"",r||""),children:e.texts.nextButtonText??"Siguiente"})]})},l1={content:"_content_zal5g_1",contentGrid:"_contentGrid_zal5g_8",contentGrid4:"_contentGrid4_zal5g_17",contentGrid3:"_contentGrid3_zal5g_21"},c1=e=>{const{grid:n=3}=e;return t.jsxs("section",{className:`${l1.content}`,children:[t.jsx("div",{className:`${l1.contentGrid} ${e.className?e.className:""} ${n===3?l1.contentGrid3:l1.contentGrid4} news-content`,children:e.children}),t.jsx(t.Fragment,{children:e.paginatorComponent})]})},qt={content:"_content_1orqn_1",newsDescription:"_newsDescription_1orqn_15",image:"_image_1orqn_41"},Ee=e=>{const{main:n,authors:a,info:s,preview:o,share:r,isVideo:i,config:l,overImage:d="default",isTitle:c,priorityHigh:h=!1,isLarge:C,paths:u}=e;return t.jsxs("section",{className:qt.content,style:{...e.customSectionCardStyles},children:[t.jsx(T,{className:qt.image,title:n?.title?.section,href:s?.link?.url,target:s?.link?.target,children:t.jsx(ge,{preview:o,isVideo:i,isLarge:C,priorityHigh:h})}),t.jsx("div",{className:qt.newsDescription,children:t.jsx(rt,{main:n,authors:a,info:s,preview:o,share:r,config:l,overImage:d,isTitle:c,paths:u})})]})},Pa={content:"_content_kro73_1",contentLayout:"_contentLayout_kro73_5"},G1=e=>t.jsx("div",{className:Pa.content,children:t.jsx(ot,{className:`${Pa.contentLayout} ${e.className}`,children:e.children})}),dt={content:"_content_1l5w6_1",before:"_before_1l5w6_11",textContent:"_textContent_1l5w6_21",title:"_title_1l5w6_36",description:"_description_1l5w6_45",linkStyled:"_linkStyled_1l5w6_56"},ur=e=>{const n=e.logo;return t.jsxs("section",{className:dt.content,children:[e.backgroundImgURL&&t.jsx("img",{className:dt.before,src:e.backgroundImgURL,alt:""}),t.jsxs("div",{className:`${dt.textContent} error-text-content`,children:[t.jsx(n,{}),t.jsx("p",{className:dt.title,children:e.title}),t.jsx("p",{className:dt.description,children:e.description}),t.jsx(T,{className:dt.linkStyled,href:"/",children:e.buttonText??"Inicio"})]})]})},Tt={content:"_content_zxcog_1",contentLabel:"_contentLabel_zxcog_8",label:"_label_zxcog_13",required:"_required_zxcog_22",input:"_input_zxcog_28"},fr=e=>t.jsxs("div",{className:Tt.content,children:[t.jsxs("div",{className:Tt.contentLabel,children:[t.jsx("label",{className:Tt.label,children:e.label}),e.required&&t.jsx("span",{className:Tt.required,children:"*"})]}),t.jsx("input",{className:Tt.input,...e})]}),Lt={content:"_content_zgx5w_1",contentLabel:"_contentLabel_zgx5w_8",label:"_label_zgx5w_13",required:"_required_zgx5w_22",input:"_input_zgx5w_28"},mr=e=>t.jsxs("div",{className:Lt.content,children:[t.jsxs("div",{className:Lt.contentLabel,children:[t.jsx("label",{className:Lt.label,children:e.label}),e.required&&t.jsx("span",{className:Lt.required,children:"*"})]}),t.jsxs("select",{className:Lt.input,...e,children:[t.jsx("option",{value:"",children:"--Seleccione--"}),e.options.map((n,a)=>t.jsx("option",{value:n.value,children:n.label},a))]})]}),z1={content:"_content_1mi9t_1",label:"_label_1mi9t_8",input:"_input_1mi9t_17"},gr=e=>t.jsxs("div",{className:z1.content,children:[t.jsx("label",{className:z1.label,children:e.label}),t.jsx("textarea",{className:z1.input,...e})]}),je={boxInformation:"_boxInformation_achvw_1",textBox:"_textBox_achvw_30",contentBox:"_contentBox_achvw_40",liveBox:"_liveBox_achvw_50",dot:"_dot_achvw_72",sectionDescription:"_sectionDescription_achvw_97",articule:"_articule_achvw_110",description:"_description_achvw_137"},d1={content:"_content_8ehij_1",description:"_description_8ehij_23"},ja=e=>{let n="";return e.preview.description&&(n=e.preview.description),e.preview.copyright&&(n=`${n} ${e.preview.copyright}`),e.preview.photographer&&(n=`${n} ${e.preview.photographer}`),t.jsxs("div",{className:d1.content,children:[t.jsx(ge,{preview:e.preview,isLarge:!0,priorityHigh:!0}),n&&t.jsx("div",{className:d1.description,children:n})]})},Ga=e=>t.jsx(t.Fragment,{children:t.jsxs("div",{className:je.boxInformation,children:[t.jsx(ja,{preview:e.preview}),t.jsxs("div",{className:je.textBox,children:[t.jsxs("div",{className:je.contentBox,children:[e?.info?.section&&t.jsx(T,{className:je.sectionDescription,href:e?.info?.section?.url,children:e?.info?.section?.name}),t.jsxs("div",{className:je.liveBox,children:[t.jsx("span",{className:je.dot}),t.jsx("p",{children:"EN VIVO"})]})]}),t.jsx("h1",{className:je.articule,children:e.main?.title?.section}),e.config?.showsubtitle&&t.jsx("div",{className:je.description,style:{"--fontSizeSubTitle":e.fontSizeSubTitle,"--lineHeightSubTitle":e.lineHeightSubTitle},children:e.main.subtitle.striped})]})]})}),h1={content:"_content_oipiy_1",contentLine:"_contentLine_oipiy_17",contentText:"_contentText_oipiy_24",dateLink:"_dateLink_oipiy_37"},za=e=>t.jsx("section",{className:h1.content,children:e.itemList[0]?.list.items.map((n,a)=>t.jsxs("div",{className:h1.contentLine,children:[t.jsx(T,{className:h1.dateLink,href:`#item-${a+1}`,children:yn(n.date)}),t.jsx("div",{className:h1.contentText,children:(e.itemList[0]?.list.integrated,n.title)})]},a))}),$a={content:"_content_jg6i2_1",bannerSection:"_bannerSection_jg6i2_25"},$1=e=>t.jsxs("section",{className:$a.content,children:[e.children,t.jsxs("div",{className:$a.bannerSection,children:[e.bannerTop,t.jsx(r1,{content:e.ranking,title:e.readestTitle,paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px"}}),e.banner]})]}),_e={content:"_content_1jqwg_1",header:"_header_1jqwg_21",videos:"_videos_1jqwg_46",videoContent:"_videoContent_1jqwg_53",articleSection:"_articleSection_1jqwg_60",contentLayoutVideoSection:"_contentLayoutVideoSection_1jqwg_74",sectionVideoList:"_sectionVideoList_1jqwg_82",iframeStyled:"_iframeStyled_1jqwg_155",contentFrame:"_contentFrame_1jqwg_164",relatedTitle:"_relatedTitle_1jqwg_189"},F1={content:"_content_1dj0q_1",linkImage:"_linkImage_1dj0q_12",playStyled:"_playStyled_1dj0q_19"},pr=async e=>{const n={...e,main:{...e.main,title:{...e.main.title,article:Ce(e.main.title.article,60)}}};return e&&e.info?t.jsxs("section",{className:F1.content,children:[t.jsx("a",{className:F1.linkImage,target:e?.info?.link?.target,title:e?.main?.title?.section,href:e.info.link.url,children:t.jsxs("div",{style:{position:"relative"},children:[t.jsx("img",{src:await te(e.preview.sizes[0]?.url||"")}),t.jsx(it,{className:F1.playStyled})]})}),t.jsx("div",{children:t.jsx(rt,{...n,paths:e.paths})})]}):null},Ar=e=>t.jsx("div",{className:_e.content,children:t.jsxs(ot,{className:_e.contentLayoutVideoSection,children:[t.jsxs("a",{className:_e.header,href:"/",children:[t.jsx("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.6055 4.86193C12.8659 5.12228 12.8659 5.54439 12.6055 5.80474L8.41026 10L12.6055 14.1953C12.8659 14.4556 12.8659 14.8777 12.6055 15.1381C12.3452 15.3984 11.9231 15.3984 11.6627 15.1381L6.99604 10.4714C6.73569 10.2111 6.73569 9.78894 6.99604 9.52859L11.6627 4.86193C11.9231 4.60158 12.3452 4.60158 12.6055 4.86193Z",fill:"white"})}),"VOLVER A VIDEOS"]}),t.jsxs("div",{className:_e.videos,children:[t.jsxs("div",{className:_e.videoContent,style:e.mainVideoStyles,children:[e.type==="vy"&&t.jsx("iframe",{className:_e.iframeStyled,src:`https://www.youtube.com/embed/${e.video?.main?.code}`,frameBorder:"0",allowFullScreen:!0}),e.type==="vf"&&t.jsx("iframe",{className:_e.iframeStyled,src:e.video?.main?.code,frameBorder:"0",allowFullScreen:!0}),e.type==="ve"&&t.jsx("div",{className:_e.contentFrame,dangerouslySetInnerHTML:{__html:e.video?.main?.code}}),t.jsx("div",{className:_e.articleSection,children:t.jsx(rt,{...tt(e.video,!0,!!e.video.main.description),paths:e.paths})})]}),t.jsxs("div",{className:_e.sectionVideoList,style:e.listVideoStyles,children:[e.banner&&t.jsx(ne,{banners:e.banner.banners,name:e.banner.bannerName}),e.relatedName&&t.jsx("h2",{className:_e.relatedTitle,children:e.relatedName}),Array.isArray(e.videoList)&&e.videoList.map((n,a)=>y.createElement(pr,{...tt(n,!0,!1),key:a,paths:e.paths}))]})]})]})}),Ie={content:"_content_1xvw2_1",titleContent:"_titleContent_1xvw2_24",title:"_title_1xvw2_24",startLine:"_startLine_1xvw2_87",line:"_line_1xvw2_92",bottomLine:"_bottomLine_1xvw2_98",childrenContent:"_childrenContent_1xvw2_117",readMore:"_readMore_1xvw2_127"},R=y.forwardRef((e,n)=>{const{isTitle:a=!1,isOpinion:s=!1}=e,o=a?t.jsx("h1",{className:Ie.title,children:e.title}):t.jsx("h2",{className:Ie.title,children:e.title});return t.jsxs("section",{className:Ie.content,children:[e.title&&t.jsxs("div",{className:[Ie.titleContent,e.className??""].join(" "),"data-after":`${s}`,children:[t.jsx("hr",{className:Ie.startLine}),e.titleUrl?t.jsx(T,{href:e.titleUrl,children:o}):o,t.jsx("hr",{className:Ie.line}),e.titleUrl&&t.jsx(T,{className:Ie.readMore,href:e.titleUrl?.toString()??""})]}),e.title&&t.jsx("hr",{className:[Ie.bottomLine,e.className??""].join(" ")}),t.jsx("div",{className:Ie.childrenContent,ref:n,children:e.children})]})}),Me={content:"_content_o8lbc_1",contentNews:"_contentNews_o8lbc_10",linkTitle:"_linkTitle_o8lbc_27",tag:"_tag_o8lbc_35",tagmx:"_tagmx_o8lbc_55",titular:"_titular_o8lbc_70",correspondent:"_correspondent_o8lbc_85",correspondentLink:"_correspondentLink_o8lbc_96",description:"_description_o8lbc_107"},ht=e=>{const n=()=>{if(e?.config?.showtime&&e.config?.showauthor)return`${e?.authors[0]?.fullname} - ${ye(e.info?.date?.modified)}`;if(e.config?.showauthor)return e?.authors[0]?.fullname;if(e?.config?.showtime)return ye(e.info?.date?.modified)};return t.jsxs("section",{className:`${Me.content} destacado-super-content`,children:[t.jsx(T,{href:e?.info?.link?.url,target:e?.info?.link?.target,style:{"--heightImageOverwrite":e.heightImageOverwrite?e.heightImageOverwrite:"51.8%","--heightImageOverwriteMobile":e.heightImageOverwriteMobile?e.heightImageOverwriteMobile:"491px","--fontSizeImageNewsTitleMobile":e.isVertical?"20px":"1.75rem","--lineHeightImageNewsTitleMobile":e.isVertical?"26px":"36px"},children:t.jsx(ge,{preview:e.preview,isLarge:!0,BackDropAuxHeigthMobile:"513px",priorityHigh:!0})}),t.jsxs("div",{className:Me.contentNews,style:{"--widthTextContent":e.textPosition==="start"?"100%":"80%"},children:[t.jsx(T,{className:Me.tagmx,href:e?.info?.section?.url,children:e?.info?.section?.name}),t.jsxs("div",{style:{position:"relative"},children:[t.jsx(T,{className:Me.tag,href:e?.info?.section?.url,children:e?.info?.section?.name}),t.jsx(T,{className:Me.linkTitle,href:e?.info?.link?.url,target:e?.info?.link?.target,children:t.jsx("h1",{className:Me.titular,style:{"--titlePosition":e.textPosition==="start"?"initial":"center"},children:e?.main?.title?.home})})]}),e.config?.showsubtitle&&t.jsx("div",{className:Me.description,dangerouslySetInnerHTML:{__html:e.main.subtitle.striped}}),e?.config?.showtime&&e.config?.showauthor&&t.jsx(t.Fragment,{children:e.authors[0]?.internaluser?t.jsx(T,{href:`/${e.paths?.autor??"autor"}/${e?.authors[0]?.name}`,className:Me.correspondent,children:n()}):t.jsx("p",{className:Me.correspondentLink,children:n()})})]})]})},Fa=e=>{const{main:n,authors:a,info:s,preview:o,isVideo:r,config:i,itemReverseOrder:l,imageSize:d,showSuper:c}=e;return t.jsxs("section",{className:H2.content,children:[c?t.jsx("section",{style:{...e.customSectionCardStyles},children:t.jsx(ht,{main:n,authors:a,info:s,preview:o,isVideo:r,config:i,paths:e.paths})}):t.jsx(Ee,{...e,main:n,authors:a,info:s,preview:o,isVideo:r,config:i,priorityHigh:!0}),e.banners&&t.jsx(ne,{banners:e.banners,name:"main_block_"+(e.rightOnlyBanner?1:2)}),!e.rightOnlyBanner&&t.jsx(La,{block:e.block,itemReverseOrder:l,priorityHigh:!0,imageSize:d,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})]})},W1={content:"_content_1dcf7_1",firstSection:"_firstSection_1dcf7_10",secondSection:"_secondSection_1dcf7_16"},wr=({content:e,customLargeSection:n,customSmallSection:a,paths:s})=>{const o=e[0];return Array.isArray(e)&&e.length>0&&o&&t.jsxs("section",{className:W1.content,children:[t.jsx("div",{style:n,className:W1.firstSection,children:t.jsx(ht,{...o,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:s})}),t.jsx("div",{style:a,className:W1.secondSection,children:e.map((r,i)=>i>0&&y.createElement(ht,{...r,key:i,textPosition:"start",heightImageOverwrite:"256px",heightImageOverwriteMobile:"270px",paths:s}))})]})},Wa={content:"_content_wsx1m_1",firstSection:"_firstSection_wsx1m_8"},yr=({content:e,customLargeSection:n,customSlimSection:a,paths:s})=>Array.isArray(e)&&e.length>0&&t.jsx("section",{className:Wa.content,children:e.map((o,r)=>r===0?t.jsx("div",{style:n,className:Wa.firstSection,children:t.jsx(ht,{...o,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:s})},r):t.jsx("section",{style:a,children:y.createElement(ht,{...o,key:r,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:s})},r))}),Ut={content:"_content_10nsz_1",sectionDescription:"_sectionDescription_10nsz_13",title:"_title_10nsz_33",subtitle:"_subtitle_10nsz_46",linkStyled:"_linkStyled_10nsz_57"},Za=e=>t.jsxs("div",{className:Ut.content,children:[e?.mainNew?.info.section&&t.jsx(T,{className:Ut.sectionDescription,href:e?.mainNew?.info?.section?.url,children:e?.mainNew?.info?.section?.name}),t.jsx(T,{className:Ut.title,href:e?.mainNew?.info?.link?.url,target:e?.mainNew?.info?.link?.target,children:e?.mainNew?.main?.title.home}),e?.mainNew?.main?.subtitle?.rendered&&t.jsx("p",{className:Ut.subtitle,children:e?.mainNew?.main?.subtitle?.striped}),e.goTo&&t.jsx(T,{href:e.goTo.url,className:Ut.linkStyled,children:e.goTo.description})]}),Z1={headerSection:"_headerSection_drjnj_1",headerSectionLink:"_headerSectionLink_drjnj_12",newsContent:"_newsContent_drjnj_17"},Ya=e=>{const{content:n,title:a,isVideo:s}=e;if(!n||!n[0]||n.length===0)return;const o=e.slot_id&&e.slot_id!=="Nota_1",r={...n[0],main:{...n[0].main,title:{...n[0].main.title,section:o?n[0].main.title.home:n[0].main.title.section}}},i=n.slice(1);return r&&i&&t.jsxs(R,{title:a,titleUrl:e.titleUrl,children:[t.jsxs("div",{className:Z1.headerSection,children:[t.jsx(Za,{mainNew:r,goTo:e.goTo}),t.jsx(T,{className:Z1.headerSectionLink,href:r?.info?.link?.url,target:r?.info?.link?.target,children:t.jsx(ge,{preview:r.preview})})]}),t.jsxs("div",{className:Z1.newsContent,children:[t.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),Array.isArray(i)&&i.map((l,d)=>{const c={...l,main:{...l.main,title:{...l.main.title,section:o?l.main.title.home:l.main.title.section}}};return t.jsx("div",{style:{order:d},children:t.jsx(Ee,{...c,isVideo:s,paths:e.paths})},d)})]})]})},Be={content:"_content_1stvq_1",autorContent:"_autorContent_1stvq_8",image:"_image_1stvq_24",contentIcon:"_contentIcon_1stvq_25",boxInformationContent:"_boxInformationContent_1stvq_47",autorName:"_autorName_1stvq_53",time:"_time_1stvq_85",comment:"_comment_1stvq_98",title:"_title_1stvq_107"},C1=async e=>{const{data:n,autorIcon:a}=e,s=a,o=()=>n?.config?.showtime?`${ye(n.info?.date?.modified)}`:"",r=t.jsxs("div",{className:Be.autorContent,children:[Array.isArray(n?.authors)&&Array.isArray(n?.authors[0]?.image?.sizes)&&n?.authors[0]?.image?.sizes?.length>0?t.jsx("img",{fetchPriority:"low",loading:"lazy",className:Be.image,src:await te(n?.authors[0]?.image?.sizes[0]?.url||""),alt:n?.authors[0]?.fullname}):t.jsx("div",{className:Be.contentIcon,children:t.jsx(s,{})}),t.jsx("p",{className:Be.autorName,children:Ce(n?.authors[0]?.fullname??"Redacción",18)}),t.jsx("p",{className:Be.time,children:o()})]});return t.jsxs("div",{className:Be.content,children:[n?.authors[0]?.internaluser?t.jsx(T,{href:n.authors[0]?.internaluser?`/${e.paths.autor}/${n?.authors[0]?.name}`:"#",children:r}):r,t.jsxs("div",{className:Be.boxInformationContent,children:[t.jsx(T,{className:Be.title,href:n?.info?.link?.url,target:n?.info?.link?.target,children:n?.main?.title?.home}),t.jsx("p",{className:Be.comment,children:Ce(n?.main?.subtitle?.striped||"")})]})]})},Ct={content:"_content_1d7mg_1",boxPosition:"_boxPosition_1d7mg_8",contentFlex:"_contentFlex_1d7mg_21",bannerContent:"_bannerContent_1d7mg_29",bannerContentAux:"_bannerContentAux_1d7mg_40"};function br(e){const n=new Array(e.length),a=e.length/2;for(let s=0;s<e.length;s++)s%2===0?n[Math.floor(s/2)]=e[s]:n[a+Math.floor(s/2)]=e[s];return n}const vr=e=>{const{isOpinion:n=!1}=e,a=r=>t.jsx("div",{className:Ct.boxPosition+" banner-context",style:{order:2},children:t.jsx("div",{className:Ct.bannerContentAux,children:t.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:e.banner})})},r),s=[];for(let r=0;r<e.news.length;r++){const i=e.news[r];r===2&&s.push(a(r)),i&&s.push(t.jsx("div",{className:Ct.boxPosition,style:{order:r},children:t.jsx(C1,{data:i,autorIcon:e.autorIcon,paths:e.paths})},`description-block-2-odd-${r}`))}const o=s.length%2===0?br(s):s;return t.jsx("section",{style:e.customStyles,children:t.jsx(R,{title:e.title,titleUrl:e.titleUrl,isOpinion:n,children:t.jsxs("div",{className:Ct.content,children:[t.jsx("div",{className:Ct.contentFlex,children:o}),t.jsx("div",{className:Ct.bannerContent,children:e.halfPageBanner})]})})})},Ka={content:"_content_w9viv_1",title:"_title_w9viv_10"},_r=e=>{const{showTitle:n=!0}=e;return t.jsxs("div",{className:Ka.content,children:[n&&t.jsx("p",{className:Ka.title,children:"Editorial"}),t.jsx(rt,{...e,info:{...e.info,section:{name:"",slug:"",url:""}}})]})},ut={content:"_content_1nd2h_1",newsContent:"_newsContent_1nd2h_8",boxPosition:"_boxPosition_1nd2h_17",bannerContent:"_bannerContent_1nd2h_23",bannerContentAux:"_bannerContentAux_1nd2h_33"},Nr=e=>{const{news:n}=e;return Array.isArray(n)&&t.jsxs("div",{className:ut.content,children:[t.jsxs("div",{className:ut.newsContent,children:[e.bannerArray&&e.bannerArray.map((a,s)=>t.jsx("div",{className:ut.boxPosition+" banner-context",style:{order:2+5*s},children:t.jsx("div",{className:ut.bannerContentAux,children:t.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:a})})},s)),n.map((a,s)=>t.jsx("div",{className:ut.boxPosition,style:{order:s},children:t.jsx(Ee,{...a,share:e.share,paths:e.paths})},s))]}),t.jsx("div",{className:ut.bannerContent,children:e.halfPageBanner})]})},Sr=e=>t.jsxs(t.Fragment,{children:[t.jsx(Ma,{className:"display-on-lower-900px",...e}),t.jsx(Ba,{...e})]}),u1={newsContent:"_newsContent_gd57q_1",newsContentWithLines:"_newsContentWithLines_gd57q_8",newsContentWithoutLines:"_newsContentWithoutLines_gd57q_13",contentSeparator:"_contentSeparator_gd57q_18"},Ja=e=>{const{content:n}=e;if(!n||n.length===0)return;const a=i=>e.hasLines&&(i+1)%3!==0?u1.contentSeparator:"",s=[];let o=0,r=1;for(let i=0;i<n.length;i++){e.banners&&e.bannerPositionIndex?.includes(i)&&(s.push(t.jsx("section",{className:a(o),children:e.banners?.some(h=>h.key===`${e.slot_id}_${r}`)&&t.jsx(ne,{banners:e.banners,name:`${e.slot_id}_${r}`})},o)),o++,r++);const l=e.isVideo?tt(n[i],e.showVideoTime,e.showVideosubtitle):n[i];if(!l)continue;const d=e.slot_id&&e.slot_id!=="Nota_1",c={...l,main:{...l.main,title:{...l.main.title,section:d?l.main.title.home:l.main.title.section}}};s.push(t.jsx("section",{className:a(o),children:t.jsx(Ee,{...c,isVideo:e.isVideo,paths:e.paths})},o)),o++}return s.length===2&&s.push(t.jsx("div",{},o)),t.jsx("div",{className:`${e.hasLines?u1.newsContentWithLines:u1.newsContentWithoutLines} ${u1.newsContent}`,children:s})},Y1=e=>t.jsx(R,{title:e.title,titleUrl:e.titleUrl,children:t.jsx(Ja,{content:e.content,paths:e.paths,slot_id:e.slot_id,hasLines:e.hasLines,bannerPositionIndex:e.bannerPositionIndex,isVideo:e.isVideo,banners:e.banners,showVideoTime:e.showVideoTime,showVideosubtitle:e.showVideosubtitle})}),Xa={newsContent:"_newsContent_1sb62_1",contentSeparator:"_contentSeparator_1sb62_8"},Ra=e=>{const{content:n,title:a}=e;if(!(!n||n.length===0||!Array.isArray(n)))return t.jsx(R,{title:a,titleUrl:e.titleUrl,children:t.jsx("div",{className:`${Xa.newsContent} ${e.hasLines?Xa.contentSeparator:""}`,children:n?.map((s,o)=>{const r=e.slot_id&&e.slot_id!=="Nota_1",i={...s,main:{...s.main,title:{...s.main.title,section:r?s.main.title.home:s.main.title.section}}};return t.jsx("section",{children:t.jsx(Ee,{...i,share:e.share,paths:e.paths})},o)})})})},K1={newsContent:"_newsContent_1gbse_1",contentSeparator:"_contentSeparator_1gbse_8",newsContentWhitoutLine:"_newsContentWhitoutLine_1gbse_29"},es=e=>{const{content:n,title:a}=e;if(!(!n||n.length===0))return t.jsx(R,{title:a,titleUrl:e.titleUrl,children:t.jsx("div",{className:`${K1.newsContent} ${e.hasLines?K1.contentSeparator:K1.newsContentWhitoutLine}`,children:n.map((s,o)=>{const r=e.slot_id&&e.slot_id!=="Nota_1",i={...s,main:{...s.main,title:{...s.main.title,section:r?s.main.title.home:s.main.title.section}}};return t.jsx("section",{children:t.jsx(Ee,{...i,share:e.share,paths:e.paths})},o)})})})},J1={headerSection:"_headerSection_1m1sp_3",headerSectionLink:"_headerSectionLink_1m1sp_16",newsContent:"_newsContent_1m1sp_29"},ts=e=>{const{content:n,title:a,isVideo:s=!0}=e;if(!n||n.length===0)return;const o=n[0],r=e.slot_id&&e.slot_id!=="Nota_1",i=n.slice(1);return o&&i&&t.jsxs(R,{title:a,titleUrl:e.titleUrl,children:[t.jsxs("div",{className:J1.headerSection,children:[t.jsx(Za,{goTo:e.goTo,mainNew:tt(o)}),t.jsx(T,{className:J1.headerSectionLink,href:o?.info?.link.url,target:o?.info?.link.target,"aria-label":"Video",children:t.jsx(ge,{preview:{sizes:o?.main?.image.sizes,description:o?.main?.image.description},isVideo:s,isLarge:!0})})]}),t.jsxs("div",{className:J1.newsContent,children:[t.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),Array.isArray(i)&&i.map((l,d)=>{const c=tt(l),h={...c,main:{...c.main,title:{...c.main.title,section:r?c.main.title.home:c.main.title.section}}};return t.jsx("div",{style:{order:d},children:y.createElement(Ee,{...h,isVideo:s,key:d,paths:e.paths})},d)})]})]})},It={content:"_content_cnul3_1",linkImage:"_linkImage_cnul3_30",sectionDescription:"_sectionDescription_cnul3_42",dateText:"_dateText_cnul3_61",textContent:"_textContent_cnul3_72"},kr=async e=>{const{showNewsLikeTitle:n=!1}=e;return e&&e.info?t.jsxs("section",{className:It.content,style:{"--heightImageOverwrite":"100%"},children:[t.jsx(T,{className:It.linkImage,target:e?.info?.link?.target,title:e.main?.title?.section,href:n?e.info.link.url:e?.info?.section?.url,children:t.jsx(ge,{preview:e.preview})}),t.jsxs("div",{className:It.textContent,children:[t.jsx(T,{className:It.sectionDescription,target:e?.info?.link?.target,href:n?e.info.link.url:e?.info?.section?.url,children:Ce((n?e?.main?.title?.section:e?.info?.section?.name)??"",45)}),t.jsx("p",{className:It.dateText,children:ye(e?.info?.date?.modified)})]})]}):null},ns={content:"_content_yx3zm_1",contentSeparator:"_contentSeparator_yx3zm_7"},X1={newsContent:"_newsContent_1uamf_1",contentSeparator:"_contentSeparator_1uamf_8",hasLinesBlock:"_hasLinesBlock_1uamf_40"},as=e=>{if(!e.content||e.content.length===0)return;const n=e.slot_id&&e.slot_id!=="Nota_1";return t.jsx(R,{title:e.title,children:t.jsx("div",{className:`${ns.content} ${e.hasLines?ns.contentSeparator:""}`,style:{gap:e.hasLines?"30px":"0px"},children:Array.isArray(e.content)&&e.content?.map((a,s)=>{const o={...a,main:{...a.main,title:{...a.main.title,section:n?a.main.title.home:a.main.title.section}}};return t.jsx("section",{className:e.hasLines?X1.hasLinesBlock:"",children:y.createElement(kr,{...o,key:s,showNewsLikeTitle:e.showNewsLikeTitle})},s)})})})},ft={content:"_content_1yvw0_1",boxInformation:"_boxInformation_1yvw0_12",titleGradient:"_titleGradient_1yvw0_29",sectionDescription:"_sectionDescription_1yvw0_57",articule:"_articule_1yvw0_82",linkStyled:"_linkStyled_1yvw0_114"},f1=e=>{const{isVideo:n,info:a,main:s,overImage:o="default",titleGradient:r=!1}=e;return t.jsxs("section",{className:ft.content,children:[t.jsx(T,{title:s?.title?.section,href:a.link.url,target:a.link.target,children:t.jsx(ge,{preview:e.preview,isVideo:n})}),t.jsxs("div",{className:[ft.boxInformation,r?ft.titleGradient:""].join(" "),style:{width:o!=="default"?"90%":"",left:o==="left"?0:o==="right"?"calc(10% - 1px)":"auto",top:o!=="default"?"-1rem":""},children:[e?.info?.section&&t.jsx(T,{className:[ft.sectionDescription].join(" "),href:e?.info?.section?.url,children:e?.info?.section?.name}),t.jsx("h2",{className:ft.articule,children:t.jsx(T,{className:ft.linkStyled,href:e?.info?.link?.url,target:e?.info?.link?.target,children:Ce(e.main?.title?.section,o!=="default"?60:75)})})]})]})},ss=e=>{const{content:n,title:a,slot_id:s}=e,o=e.slot_id&&e.slot_id!=="Nota_1";return n&&n.length!==0&&t.jsx(R,{title:a,titleUrl:e.titleUrl,children:t.jsx(Ke,{slot_id:s,children:n.map((r,i)=>{const l={...r,main:{...r.main,title:{...r.main.title,section:o?r.main.title.home:r.main.title.section}}};return t.jsx("div",{style:{"--heightImageOverwrite":e.heightImageOverwrite,"--heightImageOverwriteMobile":e.heightImageOverwriteMobile},children:t.jsx(f1,{...l,paths:e.paths})},i)})})})},Ge={content:"_content_1mj79_1",imageStyled:"_imageStyled_1mj79_14",contentIcon:"_contentIcon_1mj79_23",boxInformation:"_boxInformation_1mj79_44",comment:"_comment_1mj79_51",title:"_title_1mj79_60",authorName:"_authorName_1mj79_81"},Er=async e=>{const{data:n}=e;return t.jsxs("div",{className:Ge.content,children:[Array.isArray(n.authors)&&n?.authors[0]?.image?t.jsx("img",{fetchPriority:"low",loading:"lazy",className:Ge.imageStyled,src:await te(n?.authors[0]?.image?.sizes[0]?.url||""),alt:n?.authors[0]?.fullname}):t.jsx("div",{className:Ge.contentIcon,children:e.autorIcon}),t.jsxs("div",{className:Ge.boxInformation,children:[t.jsx("p",{className:Ge.authorName,children:n?.authors[0]?.internaluser?t.jsx(T,{href:n.authors[0]?.internaluser?`/${e.paths.autor}/${n?.authors[0]?.name}`:"#",children:n?.authors[0]?.fullname??"Redacción"}):n?.authors[0]?.fullname??"Redacción"}),t.jsx("p",{className:Ge.title,children:t.jsx(T,{className:Ge.linkStyled,href:n?.info?.link?.url,target:n?.info?.link?.target,children:Ce(n?.main?.title?.home,40)})}),t.jsx("p",{className:Ge.comment,children:n?.main?.subtitle?.striped})]})]})},os=e=>{const n=e.slot_id&&e.slot_id!=="Nota_1";return t.jsx(R,{titleUrl:e.titleUrl,title:e.title,children:t.jsx(Ke,{slot_id:e.slot_id,cardGap:31,cardWidth:344,visibleItems:3,children:e.content&&e.content.map((a,s)=>{const o={...a,main:{...a.main,title:{...a.main.title,section:n?a.main.title.home:a.main.title.section}}};return t.jsx(Er,{autorIcon:e.autorIcon,data:o,paths:e.paths},s)})})})},R1=e=>t.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"var(--header-icons)",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M10.5283 0.562859C13.1487 0.49118 15.6972 1.42576 17.6494 3.17516C19.6016 4.92465 20.8095 7.3565 21.0244 9.96911C21.2392 12.5816 20.4447 15.1772 18.8047 17.222L18.6641 17.3978L18.8232 17.556L23.1475 21.8451H23.1484C23.3137 22.016 23.4062 22.2451 23.4062 22.4828C23.4062 22.7194 23.3143 22.9469 23.1504 23.1175C23.0653 23.2033 22.964 23.2712 22.8525 23.3177C22.7409 23.3642 22.6209 23.388 22.5 23.3881C22.3791 23.3881 22.2591 23.3642 22.1475 23.3177C22.0358 23.2712 21.9338 23.2034 21.8486 23.1175L17.5547 18.8236L17.3965 18.6644L17.2217 18.805C15.1768 20.4451 12.5812 21.2395 9.96875 21.0248C7.35614 20.8099 4.9243 19.602 3.1748 17.6498C1.4254 15.6976 0.490821 13.149 0.5625 10.5287C0.634205 7.90823 1.70691 5.41454 3.56055 3.56091C5.41418 1.70727 7.90787 0.634563 10.5283 0.562859ZM14.0537 3.057C12.516 2.42011 10.8239 2.25385 9.19141 2.57848C7.55873 2.90324 6.05893 3.7051 4.88184 4.88219C3.70474 6.05929 2.90288 7.55909 2.57812 9.19176C2.25349 10.8242 2.41975 12.5163 3.05664 14.0541C3.69368 15.592 4.77311 16.9066 6.15723 17.8314C7.54131 18.7562 9.16841 19.2504 10.833 19.2504C13.0652 19.2504 15.2058 18.363 16.7842 16.7845C18.3626 15.2061 19.25 13.0656 19.25 10.8334C19.25 9.16877 18.7558 7.54167 17.8311 6.15759C16.9062 4.77347 15.5917 3.69404 14.0537 3.057Z",fill:"var(--header-icons)",stroke:"var(--header-icons)",strokeWidth:"0.5"})}),m1=e=>t.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.862254 3.39448C1.1226 3.13413 1.54471 3.13413 1.80506 3.39448L6.00033 7.58974L10.1956 3.39448C10.4559 3.13413 10.878 3.13413 11.1384 3.39448C11.3987 3.65483 11.3987 4.07694 11.1384 4.33729L6.47173 9.00396C6.21138 9.26431 5.78927 9.26431 5.52892 9.00396L0.862254 4.33729C0.601905 4.07694 0.601905 3.65483 0.862254 3.39448Z",fill:e.fill??"#7B888A"})}),K={drawerStyled:"_drawerStyled_1dhzk_1",sidebarCustom:"_sidebarCustom_1dhzk_6",accordionStyled:"_accordionStyled_1dhzk_24",accordionHeading:"_accordionHeading_1dhzk_35",accordionSummeryStyled:"_accordionSummeryStyled_1dhzk_44",linkStyled:"_linkStyled_1dhzk_71",subLinkStyled:"_subLinkStyled_1dhzk_91",inputContent:"_inputContent_1dhzk_113",buttonContent:"_buttonContent_1dhzk_114",inputStyled:"_inputStyled_1dhzk_124",buscar:"_buscar_1dhzk_140",buttonStyled:"_buttonStyled_1dhzk_149",accordionDetailsStyled:"_accordionDetailsStyled_1dhzk_164",footerSlider:"_footerSlider_1dhzk_179",socialMedia:"_socialMedia_1dhzk_190",copyRights:"_copyRights_1dhzk_209",icon:"_icon_1dhzk_220"},xr=({sidebar:e,socials:n,copyrigth:a,sidebarExtra:s,searchKeyWord:o})=>t.jsxs("aside",{className:K.drawerStyled,id:"sidebar-expandable",style:{"--header-icons":"var(--search-input-icons)"},children:[t.jsx("input",{type:"checkbox",id:"side-bar-state"}),t.jsxs("section",{className:K.sidebarCustom,children:[t.jsx("div",{className:K.buttonContent,children:t.jsx("label",{className:K.buttonStyled,htmlFor:"side-bar-state",children:t.jsx(lt,{className:K.icon})})}),t.jsx("div",{className:K.inputContent,children:t.jsxs(T,{href:"/buscar",className:K.inputStyled,children:[t.jsxs("p",{className:K.buscar,children:[o,"..."]}),t.jsx(R1,{color:"var(--search-input-icons)"})]})}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",justifyContent:"space-between",height:"100%"},children:[t.jsxs("div",{children:[s,e.map((r,i)=>t.jsxs("div",{className:K.accordionStyled,children:[t.jsx("input",{type:"checkbox",style:{display:"none"},id:"accordion_"+i}),t.jsx("h3",{className:K.accordionHeading,children:Array.isArray(r.subitem)?t.jsxs("label",{className:K.accordionSummeryStyled,htmlFor:"accordion_"+i,children:[r.link?t.jsx(T,{className:`${K.linkStyledAccordion} ${K.linkStyled}`,href:r.link?r.link:void 0,target:r.target,children:r.description}):t.jsx("div",{children:r.description}),t.jsx(m1,{width:13,height:13,fill:"var(--side-bar-arrow-color)"})]}):t.jsx(T,{className:K.linkStyled,href:r.link?r.link:void 0,target:r.target,children:r.description})}),Array.isArray(r.subitem)&&t.jsx("div",{className:K.accordionDetailsStyled,style:{"--max-height":r.subitem.length*45+"px"},children:r.subitem.map((l,d)=>t.jsx(T,{className:K.subLinkStyled,href:l.link?l.link:void 0,target:l.target,children:l.description},d))})]},i))]}),t.jsxs("div",{className:K.footerSlider,children:[t.jsx("div",{className:K.socialMedia,children:Object.keys(n).map(r=>n[r]?.show&&t.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":n[r].title+" link",className:K.linkSocialNetwork,href:n[r].url,children:Et[r]({className:K.icon})},r))}),t.jsx("p",{className:K.copyRights,children:a})]})]})]})]}),rs=e=>t.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t.jsx("path",{d:"M5 22.5H25C25.6875 22.5 26.25 21.9375 26.25 21.25C26.25 20.5625 25.6875 20 25 20H5C4.3125 20 3.75 20.5625 3.75 21.25C3.75 21.9375 4.3125 22.5 5 22.5ZM5 16.25H25C25.6875 16.25 26.25 15.6875 26.25 15C26.25 14.3125 25.6875 13.75 25 13.75H5C4.3125 13.75 3.75 14.3125 3.75 15C3.75 15.6875 4.3125 16.25 5 16.25ZM3.75 8.75C3.75 9.4375 4.3125 10 5 10H25C25.6875 10 26.25 9.4375 26.25 8.75C26.25 8.0625 25.6875 7.5 25 7.5H5C4.3125 7.5 3.75 8.0625 3.75 8.75Z",fill:e.color}),t.jsx("path",{d:"M5 22.5H25C25.6875 22.5 26.25 21.9375 26.25 21.25C26.25 20.5625 25.6875 20 25 20H5C4.3125 20 3.75 20.5625 3.75 21.25C3.75 21.9375 4.3125 22.5 5 22.5ZM5 16.25H25C25.6875 16.25 26.25 15.6875 26.25 15C26.25 14.3125 25.6875 13.75 25 13.75H5C4.3125 13.75 3.75 14.3125 3.75 15C3.75 15.6875 4.3125 16.25 5 16.25ZM3.75 8.75C3.75 9.4375 4.3125 10 5 10H25C25.6875 10 26.25 9.4375 26.25 8.75C26.25 8.0625 25.6875 7.5 25 7.5H5C4.3125 7.5 3.75 8.0625 3.75 8.75Z",fill:e.color})]}),Mt={content:"_content_1k52x_1",chipStyled:"_chipStyled_1k52x_17",headLine:"_headLine_1k52x_17",live:"_live_1k52x_25",closeLiveStyled:"_closeLiveStyled_1k52x_88"},is=e=>{const{alertZone:n,id:a="close-alert"}=e,s=()=>t.jsx(T,{className:Mt.headLine,href:n?.data[0]?.info.link.url,target:n?.data[0]?.info.link.target,title:n?.data[0]?.main.title.home,children:n?.data[0]?.main?.title.home??""});return t.jsxs(t.Fragment,{children:[t.jsx("input",{type:"checkbox",id:a,style:{display:"none"},defaultChecked:!(n&&n?.data&&n?.data[0]?.main?.title.home)}),n&&n?.data&&n?.data[0]?.main?.title.home&&t.jsxs("div",{id:"alert-chip",className:Mt.content,style:e.forceShow?{display:"flex",position:"sticky",top:100}:{},children:[t.jsxs("div",{className:Mt.live,children:[t.jsx("div",{className:Mt.chipStyled,children:n?.entity?.description}),e.forceShow&&t.jsx(s,{}),t.jsx("label",{htmlFor:a,children:t.jsx(lt,{className:Mt.closeLiveStyled})})]}),t.jsx(s,{})]})]})},De={content:"_content_18yq5_1",linkStyled:"_linkStyled_18yq5_14",linkSocialNetwork:"_linkSocialNetwork_18yq5_28",title:"_title_18yq5_49",tabs:"_tabs_18yq5_60",socialNetwork:"_socialNetwork_18yq5_68",icon:"_icon_18yq5_78",facebook:"_facebook_18yq5_84",youtube:"_youtube_18yq5_88",x:"_x_18yq5_92",instagram:"_instagram_18yq5_96",gnews:"_gnews_18yq5_100",tiktok:"_tiktok_18yq5_104",whatsapp:"_whatsapp_18yq5_108"},qr=e=>{const{cintillo:n,tapeTitle:a,socials:s}=e,o="",r=n?.findIndex(i=>i.link===o)??0;return(Array.isArray(n)||e.socialIcons)&&t.jsxs("section",{className:De.content,children:[Array.isArray(n)&&t.jsxs("div",{className:`${De.tabs} header-page-tape-content`,children:[a!==""&&t.jsx("p",{className:De.title,children:`${a}`}),n&&n[r]&&t.jsx(T,{className:De.linkStyled,target:n[r]?.target,href:n[r]?.link,style:{color:n[r]?.link===o?"var(--header-tape-active-link)":"var(--header-tape-icons)",fontWeight:n[r]?.link===o?"700":"400"},children:n[r]?.description},r),n&&n.map((i,l)=>{if(l!==r)return t.jsx(T,{className:De.linkStyled,href:i?.link,style:{color:i?.link===o?"var(--header-tape-active-link)":"var(--header-tape-color)",fontWeight:i?.link===o?"700":"400"},children:i?.description},l)})]}),t.jsx("div",{className:De.socialNetwork,children:Object.keys(s).map(i=>s[i]?.show&&t.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":s[i].title+" link",className:De.linkSocialNetwork,href:s[i].url,children:Et[i]({className:[De.icon,De[i]??""].join(" ")})},i))})]})},Ae={headerStyled:"_headerStyled_t61zq_1",headerContent:"_headerContent_t61zq_14",iconContent:"_iconContent_t61zq_25",menuButton:"_menuButton_t61zq_34",logoStyled:"_logoStyled_t61zq_66",buttonSection:"_buttonSection_t61zq_94",buttonSectionSearch:"_buttonSectionSearch_t61zq_109",headLineContent:"_headLineContent_t61zq_130",headLineTitle:"_headLineTitle_t61zq_143",headLine:"_headLine_t61zq_130",hasAlertZone:"_hasAlertZone_t61zq_196"},Tr=e=>{const{alertZone:n}=e;return t.jsxs("header",{className:Ae.headerStyled,children:[e.socialIcons&&t.jsx(qr,{socialIcons:e.socialIcons,cintillo:e.cintillo,tapeTitle:e.tapeTitle,socials:e.socials}),t.jsxs("div",{className:`${Ae.headerContent} center-mobile-header-icon`,children:[t.jsx(ct,{id:"button-app",className:Ae.menuButton,toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:t.jsx(rs,{className:Ae.startIcon,color:"var(--header-icons)",width:27,height:27})}),t.jsx("div",{className:Ae.iconContent,children:t.jsx(T,{href:"/","aria-label":"Home",className:"icon header-logo-link-sticky",style:{display:"flex"},children:y.createElement("span",{className:Ae.logoStyled},e.icon)})}),!e.showAlertPop&&n?.data&&t.jsxs("div",{className:Ae.headLineContent,children:[t.jsx("div",{className:`${Ae.headLineTitle} headLineTitle`,children:n.entity.description?`${n.entity.description}`:""}),t.jsx(T,{className:Ae.headLine,href:n.data[0]?.info.link.url,target:n.data[0]?.info.link.target,title:n.data[0]?.main.title.home,children:Ce(n.data[0]?.main.title.home??"",120)})]}),t.jsxs("div",{style:e.showAlertPop?{marginLeft:"auto"}:{},className:[Ae.buttonSection,n?.data?Ae.hasAlertZone:"","search-button"].join(" "),children:[t.jsx(T,{href:e.searchLink?e.searchLink:"/buscar","aria-label":e.searchKeyWord,className:`${Ae.buttonSectionSearch} search-button-icon`,style:{display:"flex"},children:t.jsx(R1,{width:28,height:28,color:"currentColor"})}),e.rightZone]})]}),!e.showAlertPop&&t.jsx(is,{alertZone:n,forceShow:e.showAlertPop})]})},He={ul:"_ul_j3aqc_1",li:"_li_j3aqc_10",liBefore:"_liBefore_j3aqc_18",ulContent:"_ulContent_j3aqc_33",contentModal:"_contentModal_j3aqc_44",linkStyled:"_linkStyled_j3aqc_56",itemLink:"_itemLink_j3aqc_81"},Lr=e=>{const{items:n}=e;return t.jsx("ul",{className:He.ul,children:n.map((a,s)=>t.jsxs("li",{className:`${He.liBefore} ${He.li}`,children:[a.link?t.jsxs(T,{"aria-label":a.description,className:He.linkStyled,href:a.link?a.link:void 0,target:a.target,children:[a.description,Array.isArray(a.subitem)&&t.jsx(m1,{})]}):t.jsxs("span",{"aria-label":a.description,className:He.linkStyled,children:[a.description,Array.isArray(a.subitem)&&t.jsx(m1,{})]}),Array.isArray(a.subitem)&&t.jsx("ul",{className:He.ulContent,children:t.jsx("div",{className:He.contentModal,children:a.subitem.map((o,r)=>t.jsx("li",{className:He.li,children:t.jsx(T,{className:He.itemLink,"aria-label":o.description,href:o.link?o.link:void 0,target:o.target,children:o.description})},r))})})]},s))})},oe={headerStyled:"_headerStyled_ksxbt_1",headerContent:"_headerContent_ksxbt_23",menuButtonSection:"_menuButtonSection_ksxbt_33",menuButton:"_menuButton_ksxbt_33",buttonSection:"_buttonSection_ksxbt_84",buttonSectionSearch:"_buttonSectionSearch_ksxbt_101",hasAlertZone:"_hasAlertZone_ksxbt_111",buttonText:"_buttonText_ksxbt_130",logoContent:"_logoContent_ksxbt_140",logoStyled:"_logoStyled_ksxbt_148",headLineContent:"_headLineContent_ksxbt_172",headLineTitle:"_headLineTitle_ksxbt_187",menuSection:"_menuSection_ksxbt_203",headLine:"_headLine_ksxbt_172",line:"_line_ksxbt_255"},Ur=e=>{const{menu:n,alertZone:a}=e;return t.jsx("header",{className:oe.headerStyled,style:{top:e.cintillo||e.socialIcons?40:0},children:t.jsxs("div",{style:e.showAlertPop?{gap:0}:{},className:[oe.headerContent,a?.data?oe.hasAlertZone:""].join(" "),children:[t.jsx("div",{className:oe.menuButtonSection,children:t.jsxs(ct,{className:oe.menuButton,id:"button-app",toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:[t.jsx(rs,{color:"var(--header-icons)",width:27,height:27}),t.jsx("p",{className:oe.buttonText,style:{lineHeight:0},children:e.menuText})]})}),t.jsx("div",{className:oe.logoContent,children:t.jsx(T,{href:"/","aria-label":"Home",className:"header-logo-link",children:y.createElement("span",{className:`${oe.logoStyled}`},e.icon)})}),t.jsxs("div",{className:oe.buttonSection,children:[t.jsx(T,{href:e.searchLink?e.searchLink:"/buscar",style:{display:"flex"},className:oe.buttonSectionSearch,"aria-label":e.searchKeyWord,children:t.jsx(R1,{width:28,height:28,color:"currentColor"})}),e.rightZone]}),!e.showAlertPop&&a?.data?t.jsxs("div",{className:oe.headLineContent,children:[t.jsx("p",{className:`${oe.headLineTitle} headLineTitle`,children:a.entity.description?`${a.entity.description}`:""}),t.jsx(T,{className:oe.headLine,href:a.data[0]?.info.link.url,target:a.data[0]?.info.link.target,title:a.data[0]?.main.title.home,children:Ce(a.data[0]?.main.title.home??"",120)})]}):t.jsx("div",{className:oe.line}),t.jsx("div",{className:oe.menuSection,style:e.showAlertPop?{"--showAlertPop":"0px"}:{},children:Array.isArray(n)&&t.jsx(Lr,{items:n})})]})})},en={childrenContent:"_childrenContent_wqlb4_1",childrenContentAux:"_childrenContentAux_wqlb4_12",op2:"_op2_wqlb4_25"},tn=e=>{const{alertZone:n,children:a,sidebar:s}=e;return t.jsxs(t.Fragment,{children:[t.jsx(Tr,{...e}),!e.showOnlyStickyHeader&&t.jsx(Ur,{...e}),t.jsxs("div",{className:[en.childrenContent,e.showAlertPop?en.op2:"",n?.data?en.childrenContentAux:""].join(" "),style:e.showOnlyStickyHeader?{"--hasAlertMargin":"3.6rem !important"}:{},id:"content-layout",children:[e.showAlertPop&&t.jsx(is,{alertZone:n,forceShow:e.showAlertPop,id:"static-alert-chip"}),a]}),t.jsx(xr,{sidebarExtra:e.sidebarExtra,searchKeyWord:e.searchKeyWord,sidebar:s,socials:e.socials,copyrigth:e.copyrigth})]})},Ir=e=>t.jsxs("svg",{width:"22",height:"18",viewBox:"0 0 22 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t.jsxs("g",{clipPath:"url(#clip0_3111_1972)",children:[t.jsx("path",{d:"M17.6679 2.85909C18.2925 2.85909 18.8792 2.85731 19.4658 2.85909C20.5705 2.86265 21.2902 3.57831 21.2911 4.68869C21.2937 8.26611 21.2946 11.8435 21.2911 15.421C21.2902 16.7438 20.4921 17.7288 19.2465 17.9555C19.0597 17.9893 18.8668 17.9964 18.6765 17.9964C13.6642 17.9982 8.65091 17.9991 3.63854 17.9973C1.93574 17.9973 0.617019 16.8852 0.330723 15.212C0.29813 15.0236 0.294606 14.8289 0.294606 14.6368C0.293725 10.3722 0.293725 6.10579 0.294606 1.83938C0.294606 0.919247 0.803772 0.23559 1.63006 0.04534C1.79303 0.00800119 1.96481 0.00177804 2.13306 0.00177804C6.69794 0 11.2628 0 15.8277 0C16.9588 0 17.6661 0.71744 17.6679 1.85983C17.6679 2.18432 17.6679 2.50793 17.6679 2.85909ZM16.7007 16.7225C16.4443 16.2291 16.3932 15.7366 16.3941 15.228C16.3985 10.7758 16.3967 6.3236 16.3967 1.87139C16.3967 1.42688 16.2532 1.27841 15.8215 1.27841C11.2628 1.27841 6.70498 1.27841 2.14628 1.27841C1.71727 1.27841 1.56047 1.43488 1.56047 1.86605C1.56047 6.11113 1.55783 10.3553 1.56488 14.6004C1.56488 14.8484 1.59835 15.1062 1.67235 15.3418C1.94631 16.2131 2.70213 16.7216 3.68523 16.7225C7.93561 16.7225 12.1851 16.7225 16.4355 16.7225H16.7015H16.7007ZM17.6679 4.15084V4.39887C17.6679 8.06608 17.6679 11.7333 17.6679 15.4005C17.6679 15.4601 17.667 15.5187 17.6705 15.5783C17.7181 16.4033 18.5321 16.9341 19.2835 16.6309C19.7662 16.4362 20.0261 16.0041 20.0261 15.3854C20.0261 11.8444 20.0261 8.30345 20.0261 4.76159C20.0261 4.66558 20.0235 4.56779 20.0023 4.47533C19.9591 4.29308 19.8376 4.15884 19.6526 4.15528C19.0007 4.14284 18.3488 4.15084 17.6688 4.15084H17.6679Z",fill:e.color}),t.jsx("path",{d:"M5.63378 3.83703C6.0663 3.83703 6.49971 3.83436 6.93224 3.83703C7.54094 3.84236 7.9673 4.27087 7.97083 4.88874C7.97523 5.62129 7.97611 6.35474 7.97083 7.08729C7.96642 7.68204 7.55328 8.11855 6.96395 8.12655C6.06894 8.139 5.17394 8.139 4.27894 8.12655C3.70635 8.11855 3.28879 7.70782 3.27558 7.13085C3.25796 6.36896 3.25884 5.60529 3.27558 4.8434C3.28791 4.24776 3.7222 3.84147 4.31329 3.83703C4.75375 3.83347 5.19332 3.83703 5.63378 3.83703ZM6.68558 6.84192V5.13767H4.55642V6.84192H6.68558Z",fill:e.color}),t.jsx("path",{d:"M8.98899 14.1631C7.30821 14.1631 5.62832 14.1649 3.94754 14.1622C3.4833 14.1622 3.18115 13.7755 3.30536 13.3488C3.37495 13.1096 3.53528 12.9549 3.78017 12.9069C3.88676 12.8856 3.99864 12.882 4.10875 12.882C7.3593 12.8811 10.6107 12.8811 13.8613 12.882C13.9705 12.882 14.0824 12.8865 14.189 12.9078C14.4991 12.9691 14.7017 13.2501 14.6805 13.5746C14.6603 13.8831 14.4233 14.1338 14.1176 14.1578C13.9714 14.1693 13.8243 14.1622 13.6772 14.1631C12.1145 14.1631 10.5508 14.1631 8.98811 14.1631H8.98899Z",fill:e.color}),t.jsx("path",{d:"M8.97232 11.1455C7.30652 11.1455 5.64072 11.1473 3.9758 11.1446C3.49659 11.1446 3.19443 10.7881 3.2975 10.3579C3.35828 10.1027 3.55825 9.91601 3.81724 9.88223C3.9115 9.86979 4.00751 9.8689 4.10265 9.8689C7.35321 9.8689 10.6038 9.8689 13.8543 9.8689C13.9424 9.8689 14.0305 9.8689 14.1177 9.87868C14.4586 9.9169 14.6912 10.1863 14.6824 10.5277C14.6736 10.8646 14.4234 11.1313 14.0798 11.1411C13.6623 11.1526 13.2438 11.1455 12.8254 11.1455C11.5411 11.1455 10.2576 11.1455 8.9732 11.1455H8.97232Z",fill:e.color}),t.jsx("path",{d:"M11.9132 5.12242C11.2314 5.12242 10.5487 5.12775 9.86683 5.12064C9.36295 5.11531 9.04935 4.70369 9.20351 4.26629C9.29072 4.01825 9.50302 3.84401 9.76553 3.84401C11.2032 3.83956 12.6408 3.83867 14.0785 3.84401C14.3991 3.84578 14.6502 4.10182 14.6757 4.41476C14.7021 4.74103 14.5119 5.01662 14.1983 5.09219C14.0996 5.11531 13.9948 5.12153 13.8935 5.12153C13.2337 5.1242 12.573 5.12242 11.9132 5.12242Z",fill:e.color}),t.jsx("path",{d:"M11.932 6.85605C12.6358 6.85605 13.3397 6.84716 14.0435 6.85872C14.5456 6.86761 14.8372 7.37524 14.6003 7.80197C14.4831 8.01355 14.2981 8.12735 14.0611 8.12824C12.6385 8.13179 11.2158 8.13446 9.79313 8.12646C9.42931 8.12468 9.16416 7.83664 9.16504 7.48903C9.16592 7.14231 9.43284 6.86316 9.79753 6.85783C10.5084 6.84894 11.2202 6.85516 11.9311 6.85516L11.932 6.85605Z",fill:e.color})]}),t.jsx("defs",{children:t.jsx("clipPath",{id:"clip0_3111_1972",children:t.jsx("rect",{width:"21",height:"18",fill:"white",transform:"translate(0.293945)"})})})]}),Mr=e=>t.jsx("svg",{...e,width:"18",height:"14",viewBox:"0 0 18 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.65269 5.62979C8.40719 4.79574 9.48503 4.79574 10.1317 5.62979C10.4551 5.98723 10.6707 6.58298 10.6707 7.05957C10.6707 7.53617 10.4551 8.01277 10.1317 8.48936C9.37724 9.3234 8.2994 9.3234 7.65269 8.48936C7.00599 7.65532 7.00599 6.46383 7.65269 5.62979ZM3.55689 7.05957C3.55689 5.51064 4.09581 4.08085 5.17365 3.00851C5.49701 2.65106 6.03593 2.65106 6.46707 3.00851C6.57485 3.24681 6.68263 3.48511 6.68263 3.7234C6.68263 3.9617 6.57485 4.2 6.46707 4.31915C5.17365 5.74894 5.17365 8.13192 6.46707 9.68085C6.79042 10.0383 6.79042 10.634 6.46707 10.9915C6.14371 11.3489 5.60479 11.3489 5.28144 11.1106L5.17365 10.9915C4.09581 10.0383 3.55689 8.60851 3.55689 7.05957ZM14.3353 7.05957C14.3353 8.60851 13.7964 10.0383 12.7186 11.1106C12.3952 11.4681 11.8563 11.4681 11.4251 11.1106C11.2096 10.8723 11.2096 10.634 11.2096 10.3957C11.2096 10.1574 11.3174 9.91915 11.4251 9.8L11.5329 9.68085C12.8263 8.25106 12.8263 5.86808 11.5329 4.31915C11.2096 3.9617 11.2096 3.36596 11.5329 3.00851C11.8563 2.65106 12.3952 2.65106 12.7186 2.88936L12.8263 3.00851C13.7964 4.08085 14.3353 5.51064 14.3353 7.05957ZM0 7.05957C0 4.55745 0.862275 2.17447 2.58683 0.387234C2.91018 0.0297874 3.4491 0.0297874 3.88024 0.387234C3.98802 0.625532 4.09581 0.744681 4.09581 1.10213C4.09581 1.34043 3.98802 1.57872 3.88024 1.69787C2.47904 3.24681 1.83234 5.03404 1.83234 7.05957C1.83234 9.08511 2.58683 10.8723 3.88024 12.4213C4.20359 12.7787 4.20359 13.3745 3.88024 13.7319C3.55689 14.0894 3.01796 14.0894 2.58683 13.7319C0.862275 11.9447 0 9.5617 0 7.05957ZM18 7.05957C18 9.5617 17.1377 11.9447 15.4132 13.7319C15.0898 14.0894 14.5509 14.0894 14.1198 13.7319C13.9042 13.4936 13.9042 13.3745 13.9042 13.017C13.9042 12.7787 14.012 12.5404 14.1198 12.4213L14.2275 12.3021C15.521 10.8723 16.2754 8.96596 16.2754 6.94043C16.2754 4.91489 15.521 3.12766 14.2275 1.57872C13.9042 1.22128 13.9042 0.625532 14.2275 0.268085C14.5509 -0.0893617 15.0898 -0.0893617 15.521 0.268085C17.0299 2.17447 18 4.55745 18 7.05957Z",fill:"currentColor"})}),Br=({menu:e,alertZone:n,children:a,sidebar:s,cintillo:o,tapeTitle:r,socialIcons:i=!0,option:l,icon:d,socials:c,copyrigth:h,rightZone:C,sidebarExtra:u,showAlertPop:w,texts:f,searchLink:m})=>{const p={op1:t.jsx(tn,{icon:d,sidebar:s,alertZone:n,menuText:f.menuText??"Menú",editionText:f.editionText??"Periódico Digital",menu:e,cintillo:o,socialIcons:i,tapeTitle:r,socials:c,copyrigth:h,showAlertPop:w,searchKeyWord:f.searchKeyWord,rightZone:C,sidebarExtra:u,searchLink:m,children:a}),op2:t.jsx(tn,{icon:d,sidebar:s,alertZone:n,menuText:f.menuText??"Menú",editionText:f.editionText??"Periódico Digital",menu:e,cintillo:o,socialIcons:i,tapeTitle:r,showAlertPop:w,socials:c,searchKeyWord:f.searchKeyWord,copyrigth:h,searchLink:m,rightZone:C,sidebarExtra:u,children:a}),op3:t.jsx(tn,{icon:d,sidebar:s,alertZone:n,menuText:f.menuText??"Menú",editionText:f.editionText??"Periódico Digital",showOnlyStickyHeader:!0,menu:e,cintillo:o,socialIcons:i,tapeTitle:r,searchKeyWord:f.searchKeyWord,showAlertPop:w,socials:c,searchLink:m,sidebarExtra:u,rightZone:t.jsxs(t.Fragment,{children:[t.jsxs(ct,{id:"button-app","aria-label":"button_1","aria-labelledby":"button_1",title:"button_1",children:[t.jsx(Ir,{color:"var(--header-icons)"}),t.jsx("p",{style:{lineHeight:0}})]}),t.jsxs(ct,{children:[t.jsx(Mr,{style:{minWidth:"fit-content"}}),t.jsx("p",{style:{lineHeight:0,padding:0},children:f.enVivoButton})]})]}),copyrigth:h,children:a})};return l?p[l]:null},Dr=e=>{switch(e.option){case"op1":return t.jsx(Va,{freeZone:e.freeZone,socials:e.socials,socialNetworks:e.socialNetworks});case"op2":return t.jsx(Qa,{...e});default:return t.jsx(t.Fragment,{})}},Ve={content:"_content_1elhb_1",newsContentSection:"_newsContentSection_1elhb_5",itemContent:"_itemContent_1elhb_10",ItemCustomContent:"_ItemCustomContent_1elhb_16"},g1=e=>{const{item:n,option:a}=e;switch(a){case"ediciones":return t.jsx("div",{className:Ve.ItemCustomContent});case"columnistasnacionales":return t.jsx("div",{className:Ve.ItemCustomContent,children:t.jsx(C1,{data:n,autorIcon:e.autorIcon,paths:e.paths})});case"columnistaslocales":return t.jsx("div",{className:Ve.ItemCustomContent,children:t.jsx(C1,{data:n,autorIcon:e.autorIcon,paths:e.paths})});case"columnistas":return t.jsx("div",{className:Ve.ItemCustomContent,children:t.jsx(C1,{data:n,autorIcon:e.autorIcon,paths:e.paths})});default:return t.jsx("div",{className:Ve.ItemCustomContent,children:t.jsx(Ee,{...n,paths:e.paths})})}},Hr=e=>{const{data:n,currentPage:a,banners:s,slug:o,ranking:r,pathname:i,texts:l={}}=e,d=[3,8,13],c={3:1,8:2,13:3};switch(e.option){case"op1":return t.jsx($1,{ranking:r,readestTitle:l.readestTitle??"",paths:e.paths,bannerTop:t.jsx(ne,{banners:s??[],name:"right_1"}),banner:t.jsx(ne,{banners:s??[],name:"right_2"}),children:t.jsx("section",{className:Ve.content,children:n.length>0?t.jsx(c1,{className:[Ve.newsContentSection,"padding-0"].join(" "),paginatorComponent:t.jsx(xt,{texts:l,pathname:i,query:"",currentPage:a,maxPages:e.PAGINATION_MAX_PAGES,showNext:!(n.length<e.NEWS_PER_SECTION)}),children:Array.isArray(n)&&n?.map((h,C)=>t.jsxs(y.Fragment,{children:[d.includes(C+1)&&t.jsx("div",{className:Ve.itemContent+" banner-context",children:t.jsx(ne,{banners:s??[],name:`block_2_${c[C+1]}`})}),t.jsx(g1,{autorIcon:e.autorIcon,item:h,option:o,paths:e.paths},C)]},C))}):t.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:t.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:l.sectionNotResultMessage})})})});case"op2":return t.jsx(t.Fragment,{children:n.length>0?t.jsx(c1,{className:"padding-0",paginatorComponent:t.jsx(xt,{texts:l,pathname:i,query:"",currentPage:a,maxPages:e.PAGINATION_MAX_PAGES,showNext:!(n.length<e.NEWS_PER_SECTION)}),children:Array.isArray(n)&&n?.map((h,C)=>t.jsxs(y.Fragment,{children:[d.includes(C+1)&&t.jsx("div",{className:Ve.itemContent,children:t.jsx(ne,{banners:s??[],name:`block_2_${c[C+1]}`})}),t.jsx(g1,{autorIcon:e.autorIcon,item:h,option:o,paths:e.paths},C)]},C))}):t.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:t.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:l.sectionNotResultMessage})})});default:return t.jsx(t.Fragment,{})}},ls={content:"_content_gwsqy_1",contactInfoContent:"_contactInfoContent_gwsqy_7"},Vr=e=>{const{data:n}=e;return t.jsx("section",{className:ls.content,children:n.map((a,s)=>t.jsx("div",{className:ls.contactInfoContent,dangerouslySetInnerHTML:{__html:a.body.rendered}},s))})},nn={tagContent:"_tagContent_ee6yw_1",contentLayout2:"_contentLayout2_ee6yw_9",contentHeader:"_contentHeader_ee6yw_42"},Or={content:"_content_1rbrt_1"},Qr=({children:e,className:n=""})=>t.jsx("div",{className:`content-layout-2 ${Or.content} ${n}`,children:e}),Bt={container:"_container_1insg_1",note:"_note_1insg_10",commercial:"_commercial_1insg_50",commercialContent:"_commercialContent_1insg_67",complement:"_complement_1insg_83"},Pr=e=>t.jsxs("section",{className:Bt.container,children:[t.jsx("div",{className:Bt.note,children:e.children}),t.jsx("div",{className:Bt.commercial,children:t.jsxs("div",{className:Bt.commercialContent,children:[e.slug==="liveblogs"&&t.jsx(za,{itemList:e.itemList}),e.bannerTop,t.jsx(r1,{content:e.ranking,title:e.texts.readestTitle,paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px"}}),t.jsx("div",{style:{position:"sticky",top:"110px"},children:e.banner})]})}),t.jsx("div",{className:Bt.complement,children:e.complement})]}),jr=e=>{const n={...e.news[0],config:{zonehome:void 0,priorityhome:"",zonesection:"",prioritysection:",",homepreview:"",showcomments:!1,showtime:!1,showauthor:!1,showuppertitle:!1,showsubtitle:!0,showads:!1},main:{...e.news[0]?.main,title:{...e.news[0]?.main.title,section:e.news[0]?.main.title.article??""}},info:{...e.news[0]?.info,link:{url:void 0,target:void 0}}};switch(e.option){case"liveblogs":return t.jsx("div",{style:{"--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-image-height-desk":"600px","--news-image-height-mobile":"420px","--news-image-description-display":"none"},children:t.jsx(Ga,{...n,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px"})});default:return t.jsx("div",{className:nn.contentHeader,style:{"--section-card-chip-padding":"0 0 0 6px","--uppertitle-display":"block","--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-description-content-gap":"0px","--section-card-chip-margin":"0 0 10px","--news-description-subtitle-margin":"22px 0 0"},children:t.jsx(rt,{...n,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px",cutSubtitle:!1,colorSubTitle:"black",isTitle:!0,paths:e.paths})})}},mt={content:"_content_16ydf_1",tags:"_tags_16ydf_10",chipStyled:"_chipStyled_16ydf_20",tagLink:"_tagLink_16ydf_47",tagStyled:"_tagStyled_16ydf_53"},Gr=e=>{const n=a=>{const s=a.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ñ/g,"n").replace(/Ñ/g,"n").replace(/[^\w\s]/gi,"").replaceAll(" ","-").toLowerCase();return`/${e.paths.tema}/${s}-t${a.id}`};return t.jsx("section",{className:mt.content,children:Array.isArray(e.tags)&&t.jsxs("div",{className:mt.tags,children:[t.jsx("p",{className:mt.tagStyled,children:"Tags:"}),e.tags.map((a,s)=>a.approved?t.jsx(T,{href:n(a),children:t.jsx("div",{className:`${mt.chipStyled} ${mt.tagLink}`,children:a.name})},s):t.jsx("div",{className:mt.chipStyled,children:a.name},s))]})})},xe={contentBox:"_contentBox_1rkkg_1",content:"_content_1rkkg_1",imageStyled:"_imageStyled_1rkkg_16",contentIconStyled:"_contentIconStyled_1rkkg_23",avatarContent:"_avatarContent_1rkkg_43",journalistSection:"_journalistSection_1rkkg_50",journalistInfo:"_journalistInfo_1rkkg_56",socialNetworkSection:"_socialNetworkSection_1rkkg_70",article:"_article_1rkkg_83"},zr=async e=>{const{autor:n}=e;return n.addtional.USER_SHOWBIO&&t.jsx("section",{className:xe.contentBox,children:t.jsxs("div",{className:xe.content,children:[t.jsxs("div",{className:xe.avatarContent,children:[t.jsx(T,{className:xe.journalistInfo,href:`/${e.paths.autor}/${n.info.name}`,children:n.info.image?t.jsx("img",{fetchPriority:"low",loading:"lazy",className:xe.imageStyled,src:await te(n.info.image.sizes[0]?.url||"")}):t.jsx("div",{className:xe.contentIconStyled,children:e.autorIcon()})}),t.jsxs("section",{className:xe.journalistSection,children:[t.jsx("h3",{className:xe.journalistInfo,children:t.jsx(T,{href:`/${e.paths.autor}/${n.info.name}`,children:n.info.fullname})}),t.jsxs("section",{className:xe.socialNetworkSection,children:[n.addtional.USER_USERFB&&t.jsx("a",{href:n.addtional.USER_USERFB,target:"_blank",rel:"noreferrer",children:t.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M16.7266 4H14.545C12.1067 4 10.5025 5.52672 10.5025 7.96947V9.80153H8.32083C8.12833 9.80153 8 9.92366 8 10.1069V12.7328C8 12.916 8.12833 13.0382 8.32083 13.0382H10.5025V19.6947C10.5025 19.8779 10.6308 20 10.8233 20H13.7108C13.9033 20 14.0316 19.8779 14.0316 19.6947V13.0382H16.5983C16.7908 13.0382 16.9191 12.916 16.9191 12.7328V10.1069C16.9191 10.0458 16.855 9.92366 16.7908 9.8626C16.7266 9.80153 16.6625 9.74046 16.5341 9.74046H13.9675V8.21374C13.9675 7.48092 14.16 7.1145 15.1866 7.1145H16.6625C16.855 7.1145 16.9833 6.99237 16.9833 6.80916V4.36641C17.0475 4.12214 16.9191 4 16.7266 4Z",stroke:"black",strokeWidth:"1.4"})})}),n.addtional.USER_USERIG&&t.jsx("a",{href:n.addtional.USER_USERIG,target:"_blank",rel:"noreferrer",children:t.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsxs("g",{clipPath:"url(#clip0_281_2357)",children:[t.jsx("path",{d:"M7.98634 4.06233C10.9335 4.1651 14.0152 3.89192 16.947 4.05106C19.1239 4.16908 20.8447 5.87246 20.9992 8.04131V17.0111C20.8646 19.1408 19.1378 20.8608 17.0113 21H8.04335C5.91354 20.8654 4.19406 19.1388 4.05551 17.0111C4.18345 14.0751 3.88383 10.9919 4.05353 8.07313C4.17682 5.95269 5.86648 4.21616 7.98634 4.06233ZM7.9532 5.4859C6.65331 5.64503 5.63713 6.68072 5.48201 7.97964L5.47804 17.0442C5.62586 18.3902 6.69175 19.4518 8.04136 19.5784L17.0445 19.5764C18.3901 19.4319 19.4514 18.3611 19.578 17.0131L19.576 8.00882C19.4321 6.67277 18.3788 5.6205 17.0445 5.47662L7.9532 5.4859Z",fill:"black"}),t.jsx("path",{d:"M15.527 9.52595C17.7019 11.7008 16.868 15.4802 13.9752 16.5079C10.6708 17.6815 7.47508 14.6354 8.47999 11.2771C9.38614 8.24892 13.2851 7.28484 15.5263 9.52662L15.527 9.52595ZM12.1894 9.72288C9.96615 9.94898 8.93936 12.6602 10.3771 14.3629C11.8149 16.0656 14.5877 15.4769 15.2168 13.3796C15.8458 11.2824 14.2529 9.51269 12.1894 9.72288Z",fill:"black"}),t.jsx("path",{d:"M17.0868 6.87507C18.5955 6.84324 18.4874 9.24614 16.8939 8.96965C15.7213 8.76609 15.8227 6.90159 17.0868 6.87507Z",fill:"black"})]}),t.jsx("defs",{children:t.jsx("clipPath",{id:"clip0_281_2357",children:t.jsx("rect",{width:"17",height:"17",fill:"white",transform:"translate(4 4)"})})})]})}),n.addtional.USER_USERTWT&&t.jsx("a",{href:n.addtional.USER_USERTWT,target:"_blank",rel:"noreferrer",children:t.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M3.43242 4.23888L10.0354 13.0628L3.39062 20.2389H4.88316L10.6981 13.9583L15.3966 20.2389H20.4832L13.51 10.9135L19.6951 4.23291H18.2026L12.8473 10.018L8.51898 4.23291H3.43242V4.23888ZM5.62943 5.33739H7.96973L18.2921 19.1404H15.9518L5.62943 5.33739Z",fill:"#010101"})})}),n.addtional.USER_USERLIN&&t.jsx("a",{href:n.addtional.USER_USERLIN,target:"_blank",rel:"noreferrer",children:t.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{d:"M13.1553 9.97173C13.2123 9.98635 13.2208 9.9478 13.2536 9.92189C13.9389 9.38958 14.1885 9.05464 15.1143 8.85195C17.735 8.27844 20.2954 9.68265 20.4618 12.5449C20.6046 15.0084 20.3504 17.6121 20.4618 20.0903C20.4316 20.4372 20.1892 20.6425 19.8557 20.6718C18.9876 20.7475 18.0154 20.6133 17.1361 20.6704C16.8583 20.6465 16.5825 20.4578 16.5609 20.1574C16.4875 18.1631 16.6637 16.0916 16.5642 14.1066C16.5334 13.4979 16.462 12.9835 15.9182 12.6353C14.805 11.9215 13.5333 12.6346 13.4495 13.9405C13.3197 15.9488 13.5484 18.1006 13.4521 20.1235C13.4383 20.4491 13.1795 20.6392 12.8768 20.6698C11.917 20.7675 10.8058 20.5967 9.82899 20.6718C9.59116 20.6478 9.35988 20.5422 9.2793 20.2989V9.41284C9.35006 9.20815 9.53219 9.08654 9.7353 9.04467C10.6604 9.10581 11.7061 8.95363 12.6161 9.04068C12.8126 9.05929 13.1553 9.2786 13.1553 9.49059V9.97239V9.97173ZM9.84668 20.1062H12.8768L12.926 20.0564V13.6766C12.926 12.7821 13.9657 11.877 14.8103 11.7999C16.2163 11.6717 17.0464 12.6253 17.1191 13.9763C17.2252 15.9468 17.0418 18.0115 17.1178 19.9919L17.1689 20.1062H19.8551L19.9062 19.9919L19.9042 12.5808C19.6992 9.46068 16.1671 8.36948 13.8924 10.104L12.6318 11.4005V9.60622H9.84733V20.1062H9.84668Z",fill:"black",stroke:"black",strokeWidth:"0.5"}),t.jsx("path",{d:"M4.6294 9.04917C5.38612 8.92822 6.41671 9.11629 7.2016 9.04917C7.53181 9.13755 7.79847 9.39274 7.8666 9.73698L7.88102 19.9233C7.84564 20.243 7.56326 20.5387 7.26581 20.6284C6.93888 20.7261 5.19219 20.7095 4.78926 20.667C4.38633 20.6244 4.10854 20.3958 3.99061 20.015L3.9834 9.75626C3.99781 9.43062 4.31885 9.09967 4.6294 9.04917ZM4.72702 9.61338C4.60319 9.64926 4.53243 9.75692 4.53833 9.88717L4.54685 19.8834C4.59729 20.0502 4.72767 20.0901 4.88426 20.1061C5.31012 20.1493 6.64078 20.1659 7.03781 20.0988C7.18064 20.0748 7.32085 19.9884 7.32478 19.825L7.31626 9.86392C7.29464 9.73831 7.20554 9.62933 7.07647 9.60872L4.72702 9.61404V9.61338Z",fill:"black",stroke:"black",strokeWidth:"0.5"}),t.jsx("path",{d:"M8.16428 6.20159C8.16428 7.45495 7.16252 8.47105 5.92687 8.47105C4.69121 8.47105 3.68945 7.45495 3.68945 6.20159C3.68945 4.94824 4.69121 3.93213 5.92687 3.93213C7.16252 3.93213 8.16428 4.94824 8.16428 6.20159ZM7.60345 6.20358C7.60345 5.2639 6.85263 4.50165 5.92556 4.50165C4.99849 4.50165 4.24766 5.26324 4.24766 6.20358C4.24766 7.14393 4.99849 7.90552 5.92556 7.90552C6.85263 7.90552 7.60345 7.14393 7.60345 6.20358Z",fill:"black",stroke:"black",strokeWidth:"0.5"})]})})]})]})]}),n.addtional.USER_SHOWBIO&&t.jsx("p",{className:xe.article,dangerouslySetInnerHTML:{__html:`${n.addtional.USER_MIBIO} <a href="/${e.paths.autor}/${n.info.name}">${e.texts.authorViewMore??"Ver más"}</a>`}})]})})},Oe={content:"_content_jrssz_1",contentWithinCard:"_contentWithinCard_jrssz_7",contentDate:"_contentDate_jrssz_13",dateInfo:"_dateInfo_jrssz_20",dot:"_dot_jrssz_30",contentTitle:"_contentTitle_jrssz_38",contentTextList:"_contentTextList_jrssz_47",contentButton:"_contentButton_jrssz_101",linkStyled:"_linkStyled_jrssz_107"},$r={content:"_content_ifkxj_1"},Fr=e=>t.jsx("section",{className:$r.content,id:e.id,children:e.children}),Wr=e=>e.replace(/<p>(\s| )+<\/p>/g,""),Zr=e=>{const n=/src="\/(.*?)"/g;return e.replace(n,`src="${pt()}/$1"`)},cs={2:1,4:2,7:3,10:4,13:5};function Yr(e){return e.replace(/<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,"")}const Kr=async({itemList:e,slug:n,banners:a,texts:s})=>{if(!e||e.length===0||!e[0])return;const o=e[0].list?.items?.map(r=>{const i=Wr(r.body.rendered);let l=Zr(i);return l=Yr(l),{...r,body:{...r.body,rendered:l}}});return t.jsx("section",{className:Oe.content,id:"block-notes-list",children:o?.map((r,i)=>t.jsxs(y.Fragment,{children:[t.jsx(Fr,{id:`item-${i+1}`,children:t.jsxs("div",{className:Oe.contentWithinCard,children:[r.date>0&&t.jsxs("div",{className:Oe.contentDate,children:[t.jsx("span",{className:Oe.dot,style:{background:n==="liveblogs"?"var(--news-liveblog-timeline-datelink-dot-color)":"var(--common-black)"}}),t.jsx("p",{className:Oe.dateInfo,style:{color:n==="liveblogs"?"var(--news-liveblog-timeline-datelink-color)":"var(--common-black)"},children:v1(r.date)})]}),t.jsx("p",{className:Oe.contentTitle,children:e[0]?.list.integrated?r.title:`${r.index}. ${r.title}`}),r.image&&t.jsx(ge,{preview:r.image,isLarge:!0}),t.jsx("div",{className:Oe.contentTextList,dangerouslySetInnerHTML:{__html:r.body.rendered}}),r.related&&t.jsx("div",{className:Oe.contentButton,children:t.jsx("a",{className:Oe.linkStyled,href:r.related??"",target:"”_blank",children:s.blockNoteList_readMore??"Leer Más"})})]})},i),cs[i]&&t.jsx(ne,{banners:a,name:"list_"+cs[i]},i)]},i))})},ds={FaceBook:"facebook",Instagram:"instagram",WhatsApp:"whatsapp",TikTok:"tiktok",Youtube:"youtube",X:"x",Gnews:"gnews",Podcast:"podcast",Telegram:"telegram"},Jr=async e=>{if(!e.news||!e.news.authors)return null;const{news:n,socials:a,texts:s}=e,o=n.authors.map(i=>i.internaluser?`<a href="${`/${e.paths.autor}/${i.name}`}">${i.fullname}</a>`:i.fullname).join(", "),r=i=>n.authors.length===1?-16:i===0?0:i*20;return n.config?.showauthor&&t.jsx("div",{className:ce.content,children:t.jsxs("div",{className:ce.avatarContent,children:[e.shareOnlyWhatsApp?t.jsxs("a",{className:ce.whatsappLink,href:a[ds.WhatsApp].url,rel:"noreferrer",target:"_blank",children:[t.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("g",{clipPath:"url(#clip0_2906_6960)",children:t.jsx("path",{d:"M25.6376 4.36364C22.8169 1.54545 19.0598 0 15.0628 0C6.82908 0 0.125619 6.67045 0.125619 14.8636C0.125619 17.4886 0.810811 20.0455 2.1241 22.2955L0 30L7.91397 27.9318C10.0952 29.1136 12.5504 29.7386 15.0514 29.7386C23.2851 29.7386 29.9886 23.0682 29.9886 14.875C29.9886 10.8977 28.4355 7.17045 25.6148 4.36364M15.0628 27.2273C12.8359 27.2273 10.6433 26.6364 8.74762 25.5L8.29083 25.2273L3.58584 26.4545L4.84202 21.8977L4.54511 21.4318C3.30034 19.4659 2.64941 17.1932 2.64941 14.8523C2.64941 8.04545 8.22231 2.5 15.0742 2.5C18.386 2.5 21.5036 3.78409 23.8561 6.125C26.1972 8.46591 27.4876 11.5682 27.4876 14.8636C27.4876 21.6818 21.9147 27.2159 15.0742 27.2159M21.8805 17.9773C21.5036 17.7955 19.6764 16.8977 19.3338 16.7727C18.9912 16.6477 18.74 16.5909 18.4888 16.9545C18.2375 17.3182 17.5295 18.1591 17.3011 18.4091C17.0841 18.6591 16.8671 18.6932 16.4903 18.5C16.1134 18.3068 14.9144 17.9205 13.4869 16.6591C12.3791 15.6705 11.6254 14.4545 11.4084 14.0909C11.1915 13.7273 11.3856 13.5227 11.5683 13.3295C11.7396 13.1591 11.9452 12.8977 12.1279 12.6818C12.3106 12.4659 12.3791 12.3068 12.5048 12.0568C12.6304 11.8068 12.5619 11.5909 12.4705 11.4091C12.3791 11.2273 11.6254 9.39773 11.3171 8.64773C11.0088 7.92045 10.7118 8.02273 10.472 8.01136C10.255 8.01136 10.0038 8 9.75257 8C9.50133 8 9.10164 8.09091 8.75904 8.46591C8.41644 8.84091 7.45718 9.73864 7.45718 11.5682C7.45718 13.3977 8.7933 15.1591 8.97602 15.4091C9.15874 15.6591 11.6026 19.4091 15.3483 21.0227C16.2391 21.4091 16.9357 21.6364 17.4724 21.8068C18.3632 22.0909 19.1854 22.0455 19.8249 21.9545C20.5443 21.8523 22.0289 21.0568 22.3487 20.1932C22.657 19.3295 22.657 18.5795 22.5657 18.4318C22.4743 18.2727 22.2231 18.1818 21.8462 18",fill:"#7AD16D"})}),t.jsx("defs",{children:t.jsx("clipPath",{id:"clip0_2906_6960",children:t.jsx("rect",{width:"30",height:"30",fill:"white"})})})]}),s.WhatsAppLinkJournalist]}):t.jsx("div",{style:{width:"100%"},"data-hydrate":"ShareButtons","data-props":encodeURIComponent(JSON.stringify({noteShare:e.noteShare})),children:t.jsx(Oa,{noteShare:e.noteShare})}),t.jsxs("section",{className:ce.journalistSection,children:[t.jsx("div",{className:ce.imageContent,style:{width:`${n.authors?.length>2?n.authors?.length*30:n.authors?.length*35}px`},children:Array.isArray(n.authors)&&n.authors?.map(async(i,l)=>i.image?t.jsx("img",{fetchPriority:"low",loading:"lazy",className:ce.imageStyled,src:await te(i.image.sizes[0]?.url||""),style:{position:"absolute",left:`${r(l)}px`}},i.fullname):t.jsx("div",{style:{position:"absolute",left:`${r(l)}px`},className:ce.contentIconStyled,children:e.autorIcon},i.fullname))}),o&&t.jsx("div",{className:ce.journalistInfoLink,dangerouslySetInnerHTML:{__html:`${s.JournalistPrefix} <h3 style="padding:0px;">${o??"Redaccion"}${n.config?.showtime&&","}</h3> ${n.config?.showtime?v1(n.info.date.modified):null}`}})]})]})})},p1={content:"_content_opb3u_1",journalistArticleContent:"_journalistArticleContent_opb3u_15",contentNews:"_contentNews_opb3u_35",noteSource:"_noteSource_opb3u_392"},Xr={summaryContent:"_summaryContent_wsypg_1"},Rr=async({summary:e})=>e&&e.rendered&&t.jsx("section",{className:Xr.summaryContent,dangerouslySetInnerHTML:{__html:e.rendered}}),hs=async({newsformated:e,internal:n})=>{if(!n)return;const a=new me,s=e.preview.sizes,r=(await a.getNewsMultimedia({path:n,imagesizes:s?s[0]?.scale:"w:801,h:449,t:2;"}))?.data.data[0]?.gallery??[];return t.jsxs("div",{className:d1.content,children:[t.jsx(Ke,{slot_id:"header",fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:r&&r.map((i,l)=>t.jsx(ge,{preview:i,priorityHigh:!0},l))}),t.jsx("div",{className:d1.description,children:r&&r[0]?.description})]})};function ei(e){const n=e.children,a=`${e.slot_id}-`,s=e.visibleItems,o=e.cardGap??20;function r(l){const d=[],c=[];let h="",C=!0;for(let u=0;u<l;u++){const w=`[data-index="${u}"]:checked ~ .carrousel-pagination li:nth-child(${u+1}) {
|
|
49
|
+
h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`})}),or=e=>t.jsxs("svg",{width:"25",height:"21",viewBox:"0 0 25 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t.jsx("path",{d:"M21.6424 1H3.33879C2.11855 1 1 2.01687 1 3.33879V17.0665C1 18.2867 2.01687 19.4053 3.33879 19.4053H21.6424C22.8626 19.4053 23.9812 18.3884 23.9812 17.0665V3.33879C23.9812 2.01687 22.8626 1 21.6424 1Z",stroke:"black",strokeWidth:"1.6"}),t.jsx("path",{d:"M21.6425 5.57591L12.5923 11.2704L3.33887 5.57591V3.33881L12.5923 8.93157L21.6425 3.33881V5.57591Z",fill:"black"})]}),rr=e=>t.jsxs("svg",{width:"24",height:"19",viewBox:"0 0 24 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t.jsx("path",{d:"M20.8752 0.195801H2.96092C1.76664 0.195801 0.671875 1.19104 0.671875 2.48485V15.9206C0.671875 17.1149 1.66711 18.2096 2.96092 18.2096H20.8752C22.0695 18.2096 23.1643 17.2144 23.1643 15.9206V2.48485C23.1643 1.19104 22.0695 0.195801 20.8752 0.195801Z",fill:"black"}),t.jsx("path",{d:"M20.8752 4.67439L12.0176 10.2477L2.96094 4.67439V2.48486L12.0176 7.95868L20.8752 2.48486V4.67439Z",fill:"white"})]}),ir=e=>t.jsx("svg",{width:"13",height:"22",viewBox:"0 0 13 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{className:e.className,d:"M11.6659 1H8.99942C6.01924 1 4.0586 2.9084 4.0586 5.96183V8.25191H1.39213C1.15685 8.25191 1 8.40458 1 8.63359V11.916C1 12.145 1.15685 12.2977 1.39213 12.2977H4.0586V20.6183C4.0586 20.8473 4.21545 21 4.45073 21H7.97989C8.21516 21 8.37202 20.8473 8.37202 20.6183V12.2977H11.509C11.7443 12.2977 11.9012 12.145 11.9012 11.916V8.63359C11.9012 8.55725 11.8227 8.40458 11.7443 8.32824C11.6659 8.25191 11.5875 8.17557 11.4306 8.17557H8.29359V6.26718C8.29359 5.35115 8.52887 4.89313 9.78368 4.89313H11.5875C11.8227 4.89313 11.9796 4.74046 11.9796 4.51145V1.45802C12.058 1.15267 11.9012 1 11.6659 1Z",stroke:"black",strokeWidth:"1.6"})}),lr=e=>t.jsx("svg",{width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M9.30078 7.72949C9.28669 7.73721 9.26828 7.74902 9.24805 7.76465L9.19141 7.81445C8.8772 8.13005 8.71165 8.55395 8.70312 8.99023C8.77601 9.66203 8.97561 10.2287 9.34668 10.7256H9.34473C9.35348 10.7369 9.36023 10.7436 9.36133 10.7451C9.37377 10.7621 9.3856 10.779 9.39453 10.792C9.4124 10.818 9.43647 10.8532 9.45898 10.8867C9.50677 10.9578 9.57007 11.0522 9.65039 11.165C9.81168 11.3916 10.0398 11.6926 10.3262 12.0127C10.909 12.664 11.6897 13.3438 12.6006 13.6826L13.2939 13.9268C13.8822 14.1194 14.1724 14.1694 14.3203 14.1787C14.3962 14.1835 14.4316 14.1772 14.4736 14.1689C14.5057 14.1627 14.6397 14.1303 14.8008 14.1201C15.1827 14.0695 15.4845 13.8317 15.6035 13.5527L15.6377 13.4736L15.6875 13.4033C15.7495 13.3162 15.7915 13.2397 15.8232 13.1768C15.7966 13.1558 15.7712 13.1312 15.7441 13.1064C15.7417 13.1049 15.7389 13.1028 15.7354 13.1006C15.7102 13.085 15.6695 13.0616 15.6123 13.0312C15.4989 12.971 15.3518 12.8998 15.1953 12.8262C15.0688 12.7666 14.9195 12.698 14.7871 12.6377C14.6126 12.8833 14.3825 13.1242 14.0869 13.3008C14.0125 13.3669 13.897 13.4604 13.7529 13.5225C13.617 13.581 13.4226 13.6304 13.1963 13.5938C13.0666 13.5727 12.9516 13.526 12.8506 13.4658C12.108 13.2436 11.4204 12.7984 10.9238 12.3828V12.3818C10.5228 12.0715 10.2157 11.6853 10.0029 11.4004C9.87676 11.2315 9.811 11.1368 9.73047 11.0322C9.69758 10.9895 9.67674 10.9653 9.66699 10.9541L9.53027 10.8633L9.43555 10.6729C9.13999 10.0789 9.45899 9.55563 9.66504 9.34863L9.75684 9.25684L9.79395 9.2373C9.79866 9.22848 9.80456 9.21878 9.81055 9.20703C9.81876 9.19093 9.82757 9.17405 9.83789 9.15332L9.89551 9.03711L9.91504 9.0166C9.91886 9.00859 9.92341 8.99989 9.92773 8.99121C9.94244 8.9617 9.96053 8.92707 9.9834 8.88965C9.98101 8.88379 9.97917 8.87743 9.97656 8.87109C9.93235 8.7636 9.87019 8.61859 9.7998 8.45703C9.69712 8.22135 9.57723 7.94266 9.48633 7.72754H9.30469C9.30348 7.72817 9.30214 7.72875 9.30078 7.72949ZM21.7998 10.7334C21.7123 16.0007 17.4298 20.3152 12.1611 20.3154C10.7168 20.3154 9.17594 20.0177 7.82031 19.3301L3.23926 20.7637L1.75879 21.2266L2.23926 19.752L3.65723 15.4053C2.89962 14.0095 2.44141 12.4507 2.44141 10.8008V10.7871L2.46191 10.2969C2.79683 5.26385 6.96096 1.22064 12.0527 1.20605V1.20508C17.2413 1.02845 21.6243 5.17346 21.7998 10.3701V10.7334Z",stroke:"black",strokeWidth:"1.6"})}),cr=e=>t.jsxs("svg",{width:"24",height:"26",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t.jsx("path",{d:"M15.468 0.0176692C19.1667 -0.312768 21.4241 4.0663 18.9843 6.88436C17.3076 8.82178 15.1141 10.5527 13.3915 12.4761C12.2176 13.476 10.6337 13.7557 9.18071 13.2164C8.74887 13.0559 7.79245 12.4979 7.58121 12.088C7.34035 11.6196 7.56874 11.0468 8.06994 10.8964C8.70055 10.707 8.98194 11.2549 9.47302 11.5206C10.4177 12.0326 11.5324 11.8775 12.3392 11.1894C14.1959 9.60579 15.8539 7.46497 17.6981 5.83149C19.2961 3.95875 17.6443 1.19212 15.2404 1.73766C13.9722 2.02523 12.3205 4.35309 11.2479 5.2275C10.4458 5.88136 9.47224 5.01708 9.97968 4.15436C11.6922 2.72273 13.0469 0.233544 15.468 0.0176692Z",fill:"black"}),t.jsx("path",{d:"M8.5303 6.95371C9.60676 6.85786 11.2055 7.32623 11.8891 8.20922C12.487 8.98231 11.6077 9.94089 10.7853 9.42965C10.6567 9.34938 10.5273 9.19507 10.4057 9.10779C9.40644 8.39782 8.16472 8.4438 7.23168 9.24027C5.52383 10.6968 3.99604 12.6654 2.30378 14.1719C0.74403 16.0719 2.47293 18.851 4.88309 18.1925C6.09675 17.8612 7.32288 16.0173 8.32295 15.2022C9.06502 14.5974 9.97858 15.2848 9.65821 16.1475C8.76882 17.0414 7.85526 18.1449 6.90117 18.9632C3.04429 22.2707 -2.2866 16.9362 1.05349 13.0777C2.59608 11.2962 4.61339 9.7032 6.19886 7.93489C6.85207 7.39014 7.67598 7.02931 8.5303 6.95371Z",fill:"black"})]}),dr=e=>t.jsx("svg",{width:"26",height:"25",viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M10 5C9.45 5 9 5.45 9 6V9H6C5.45 9 5 9.45 5 10C5 10.55 5.45 11 6 11H9V14C9 14.55 9.45 15 10 15C10.55 15 11 14.55 11 14V11H14C14.55 11 15 10.55 15 10C15 9.45 14.55 9 14 9H11V6C11 5.45 10.55 5 10 5ZM10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18Z",fill:"black"})}),hr={FaceBook:{url:e=>`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`,icon:{outline:e=>t.jsx(ir,{className:e}),solid:e=>t.jsx(ar,{className:e})}},X:{url:e=>`https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,icon:{outline:e=>t.jsx(kt,{className:e}),solid:e=>t.jsx(kt,{className:e})}},Whatsapp:{url:e=>`https://wa.me/?text=${encodeURIComponent(e)}`,icon:{outline:e=>t.jsx(lr,{className:e}),solid:e=>t.jsx(sr,{className:e})}},Email:{url:e=>`mailto:?body=${encodeURIComponent(e)}`,icon:{outline:e=>t.jsx(or,{className:e}),solid:e=>t.jsx(rr,{className:e})}},LinkedIn:{url:e=>`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(e)}`,icon:{outline:e=>t.jsx(i1,{className:e}),solid:e=>t.jsx(i1,{className:e})}}};function Oa({noteShare:e}){const n=e&&e.url||(typeof window<"u"?window.location.href:"https://example.com");return e?t.jsxs("div",{className:ce.socialNetworkSection,children:[e.options?.map(a=>{const s=hr[a];if(!s)return null;const o=e.variant==="outline"?s.icon.outline:s.icon.solid,r=s.url(n);return t.jsx(T,{href:r,target:"_blank",rel:"noopener noreferrer","aria-label":`Compartir en ${a}`,className:`${ce.socialButton} ${ce[`${a.toLowerCase()}Button`]??""} ${ce[`${a.toLowerCase()}Styled`]}`,children:o("")},a)}),t.jsx("button",{type:"button","data-text":"Link copiado","data-active":"false","aria-label":"copy",className:[ce.clipboardButton,"clipbtn-id"].join(" "),children:t.jsx(cr,{})}),t.jsx("button",{type:"button","aria-label":"share",className:[ce.clipboardButton,"sharebtn-id"].join(" "),children:t.jsx(dr,{})})]}):null}const se={content:"_content_1dzh4_1",brandContent:"_brandContent_1dzh4_10",socialMedia:"_socialMedia_1dzh4_21",linkSocialNetwoks:"_linkSocialNetwoks_1dzh4_28",sectionContent:"_sectionContent_1dzh4_42",section:"_section_1dzh4_42",menuItem:"_menuItem_1dzh4_60",otherItems:"_otherItems_1dzh4_73",copyrigth:"_copyrigth_1dzh4_87",copyrigthText:"_copyrigthText_1dzh4_97",logoStyled:"_logoStyled_1dzh4_107",socialNetworkIcon:"_socialNetworkIcon_1dzh4_118",socialInstagram:"_socialInstagram_1dzh4_125",socialNetworkIcon_stroke:"_socialNetworkIcon_stroke_1dzh4_133"},Qa=e=>{const{freeZone:n,socials:a,menu:s,customBlock:o}=e;return t.jsxs("footer",{className:se.content,children:[t.jsxs("section",{className:se.brandContent,children:[t.jsx(T,{href:"/","aria-label":"Ir a la home",children:t.jsx("span",{className:se.logoStyled,children:e.logo})}),t.jsx("div",{className:se.socialMedia,children:Object.keys(a).map(r=>a[r]?.show&&t.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":a[r].title+" link",className:se.linkSocialNetwoks,href:a[r].url,children:Et[r]({className:`${P1.includes(r)?se.socialNetworkIcon_stroke:se.socialNetworkIcon} ${r==="instagram"?se.socialInstagram:""}`})},r))})]}),t.jsxs("section",{className:se.sectionContent,children:[t.jsx("div",{className:se.section,children:s.filter(r=>!r.subitem).map((r,i)=>t.jsx(T,{href:r.link?r.link:void 0,target:r.target,className:se.menuItem,"aria-label":r.description,children:r.description},i))}),t.jsx("div",{className:se.section,children:n&&n.map((r,i)=>t.jsx(T,{href:r.link?r?.link:void 0,target:r.target,className:se.otherItems,children:r.description},i))})]}),o&&t.jsx(t.Fragment,{children:o}),t.jsxs("section",{className:se.copyrigth,children:[t.jsx("p",{className:se.copyrigthText,children:e.copyrigth}),t.jsx(T,{"aria-label":"Bluestack link",href:"https://www.bluestack.la",title:"Plataforma BLUESTACK CMS (antes CMS MEDIOS)",target:"_blank",rel:"noreferrer",children:t.jsx(Da,{})})]})]})},Ue={content:"_content_r1co8_1",videoContent:"_videoContent_r1co8_20",articleSection:"_articleSection_r1co8_27",title:"_title_r1co8_42",article:"_article_r1co8_27",correspondent:"_correspondent_r1co8_75",iframeStyled:"_iframeStyled_r1co8_84",contentFrame:"_contentFrame_r1co8_94"},Cr=e=>{const n=()=>e?.video.main.author?`${e?.video.main.author} - ${ye(e.video.info.date.created)}`:e?.video.main.author;return t.jsx("div",{className:Ue.content,children:t.jsx(ot,{children:t.jsxs("div",{className:Ue.videoContent,children:[t.jsx("p",{className:Ue.title,children:e.video.main.title}),e.type==="vy"&&t.jsx("iframe",{className:Ue.iframeStyled,src:`https://www.youtube.com/embed/${e.video.main.code}`,frameBorder:"0",allowFullScreen:!0}),e.type==="vf"&&t.jsx("iframe",{className:Ue.iframeStyled,src:e.video.main.code,frameBorder:"0",allowFullScreen:!0}),e.type==="ve"&&t.jsx("div",{className:Ue.contentFrame,dangerouslySetInnerHTML:{__html:e.video.main.code}}),t.jsxs("div",{className:Ue.articleSection,children:[t.jsx("p",{className:Ue.article,children:Ce(e.video.main.description)}),t.jsx("p",{className:Ue.correspondent,children:n()})]})]})})})},j1={content:"_content_wxhkd_1",linkStyled:"_linkStyled_wxhkd_9"},xt=e=>{const{currentPage:n,showNext:a,maxPages:s,pathname:o,query:r}=e,i=(l,d,c)=>{let h="";const C=d.split("/");return C.indexOf("page")!==-1&&C.splice(h.indexOf("page")-1,C.length-1),C.forEach((u,w)=>{w!==0&&(h+=`/${u}`)}),l==="next"?h+=`/page/${n+1}${c?`?query=${c}`:""}`:h+=`/page/${n-1}${c?`?query=${c}`:""}`};return(n>1||a&&n<s)&&t.jsxs("section",{className:j1.content,children:[n>1&&t.jsx(T,{className:j1.linkStyled,href:i("prev",o||"",r||""),children:e.texts.prevButtonText??"Anterior"}),a&&n<s&&t.jsx(T,{className:j1.linkStyled,href:i("next",o||"",r||""),children:e.texts.nextButtonText??"Siguiente"})]})},l1={content:"_content_zal5g_1",contentGrid:"_contentGrid_zal5g_8",contentGrid4:"_contentGrid4_zal5g_17",contentGrid3:"_contentGrid3_zal5g_21"},c1=e=>{const{grid:n=3}=e;return t.jsxs("section",{className:`${l1.content}`,children:[t.jsx("div",{className:`${l1.contentGrid} ${e.className?e.className:""} ${n===3?l1.contentGrid3:l1.contentGrid4} news-content`,children:e.children}),t.jsx(t.Fragment,{children:e.paginatorComponent})]})},qt={content:"_content_1orqn_1",newsDescription:"_newsDescription_1orqn_15",image:"_image_1orqn_41"},Ee=e=>{const{main:n,authors:a,info:s,preview:o,share:r,isVideo:i,config:l,overImage:d="default",isTitle:c,priorityHigh:h=!1,isLarge:C,paths:u}=e;return t.jsxs("section",{className:qt.content,style:{...e.customSectionCardStyles},children:[t.jsx(T,{className:qt.image,title:n?.title?.section,href:s?.link?.url,target:s?.link?.target,children:t.jsx(ge,{preview:o,isVideo:i,isLarge:C,priorityHigh:h})}),t.jsx("div",{className:qt.newsDescription,children:t.jsx(rt,{main:n,authors:a,info:s,preview:o,share:r,config:l,overImage:d,isTitle:c,paths:u})})]})},Pa={content:"_content_kro73_1",contentLayout:"_contentLayout_kro73_5"},G1=e=>t.jsx("div",{className:Pa.content,children:t.jsx(ot,{className:`${Pa.contentLayout} ${e.className}`,children:e.children})}),dt={content:"_content_1l5w6_1",before:"_before_1l5w6_11",textContent:"_textContent_1l5w6_21",title:"_title_1l5w6_36",description:"_description_1l5w6_45",linkStyled:"_linkStyled_1l5w6_56"},ur=e=>{const n=e.logo;return t.jsxs("section",{className:dt.content,children:[e.backgroundImgURL&&t.jsx("img",{className:dt.before,src:e.backgroundImgURL,alt:""}),t.jsxs("div",{className:`${dt.textContent} error-text-content`,children:[t.jsx(n,{}),t.jsx("p",{className:dt.title,children:e.title}),t.jsx("p",{className:dt.description,children:e.description}),t.jsx(T,{className:dt.linkStyled,href:"/",children:e.buttonText??"Inicio"})]})]})},Tt={content:"_content_zxcog_1",contentLabel:"_contentLabel_zxcog_8",label:"_label_zxcog_13",required:"_required_zxcog_22",input:"_input_zxcog_28"},fr=e=>t.jsxs("div",{className:Tt.content,children:[t.jsxs("div",{className:Tt.contentLabel,children:[t.jsx("label",{className:Tt.label,children:e.label}),e.required&&t.jsx("span",{className:Tt.required,children:"*"})]}),t.jsx("input",{className:Tt.input,...e})]}),Lt={content:"_content_zgx5w_1",contentLabel:"_contentLabel_zgx5w_8",label:"_label_zgx5w_13",required:"_required_zgx5w_22",input:"_input_zgx5w_28"},mr=e=>t.jsxs("div",{className:Lt.content,children:[t.jsxs("div",{className:Lt.contentLabel,children:[t.jsx("label",{className:Lt.label,children:e.label}),e.required&&t.jsx("span",{className:Lt.required,children:"*"})]}),t.jsxs("select",{className:Lt.input,...e,children:[t.jsx("option",{value:"",children:"--Seleccione--"}),e.options.map((n,a)=>t.jsx("option",{value:n.value,children:n.label},a))]})]}),z1={content:"_content_1mi9t_1",label:"_label_1mi9t_8",input:"_input_1mi9t_17"},gr=e=>t.jsxs("div",{className:z1.content,children:[t.jsx("label",{className:z1.label,children:e.label}),t.jsx("textarea",{className:z1.input,...e})]}),je={boxInformation:"_boxInformation_achvw_1",textBox:"_textBox_achvw_30",contentBox:"_contentBox_achvw_40",liveBox:"_liveBox_achvw_50",dot:"_dot_achvw_72",sectionDescription:"_sectionDescription_achvw_97",articule:"_articule_achvw_110",description:"_description_achvw_137"},d1={content:"_content_8ehij_1",description:"_description_8ehij_23"},ja=e=>{let n="";return e.preview.description&&(n=e.preview.description),e.preview.copyright&&(n=`${n} ${e.preview.copyright}`),e.preview.photographer&&(n=`${n} ${e.preview.photographer}`),t.jsxs("div",{className:d1.content,children:[t.jsx(ge,{preview:e.preview,isLarge:!0,priorityHigh:!0}),n&&t.jsx("div",{className:d1.description,children:n})]})},Ga=e=>t.jsx(t.Fragment,{children:t.jsxs("div",{className:je.boxInformation,children:[t.jsx(ja,{preview:e.preview}),t.jsxs("div",{className:je.textBox,children:[t.jsxs("div",{className:je.contentBox,children:[e?.info?.section&&t.jsx(T,{className:je.sectionDescription,href:e?.info?.section?.url,children:e?.info?.section?.name}),t.jsxs("div",{className:je.liveBox,children:[t.jsx("span",{className:je.dot}),t.jsx("p",{children:"EN VIVO"})]})]}),t.jsx("h1",{className:je.articule,children:e.main?.title?.section}),e.config?.showsubtitle&&t.jsx("div",{className:je.description,style:{"--fontSizeSubTitle":e.fontSizeSubTitle,"--lineHeightSubTitle":e.lineHeightSubTitle},children:e.main.subtitle.striped})]})]})}),h1={content:"_content_oipiy_1",contentLine:"_contentLine_oipiy_17",contentText:"_contentText_oipiy_24",dateLink:"_dateLink_oipiy_37"},za=e=>t.jsx("section",{className:h1.content,children:e.itemList[0]?.list.items.map((n,a)=>t.jsxs("div",{className:h1.contentLine,children:[t.jsx(T,{className:h1.dateLink,href:`#item-${a+1}`,children:yn(n.date)}),t.jsx("div",{className:h1.contentText,children:(e.itemList[0]?.list.integrated,n.title)})]},a))}),$a={content:"_content_jg6i2_1",bannerSection:"_bannerSection_jg6i2_25"},$1=e=>t.jsxs("section",{className:$a.content,children:[e.children,t.jsxs("div",{className:$a.bannerSection,children:[e.bannerTop,t.jsx(r1,{content:e.ranking,title:e.readestTitle,paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px"}}),e.banner]})]}),_e={content:"_content_1jqwg_1",header:"_header_1jqwg_21",videos:"_videos_1jqwg_46",videoContent:"_videoContent_1jqwg_53",articleSection:"_articleSection_1jqwg_60",contentLayoutVideoSection:"_contentLayoutVideoSection_1jqwg_74",sectionVideoList:"_sectionVideoList_1jqwg_82",iframeStyled:"_iframeStyled_1jqwg_155",contentFrame:"_contentFrame_1jqwg_164",relatedTitle:"_relatedTitle_1jqwg_189"},F1={content:"_content_1dj0q_1",linkImage:"_linkImage_1dj0q_12",playStyled:"_playStyled_1dj0q_19"},pr=async e=>{const n={...e,main:{...e.main,title:{...e.main.title,article:Ce(e.main.title.article,60)}}};return e&&e.info?t.jsxs("section",{className:F1.content,children:[t.jsx("a",{className:F1.linkImage,target:e?.info?.link?.target,title:e?.main?.title?.section,href:e.info.link.url,children:t.jsxs("div",{style:{position:"relative"},children:[t.jsx("img",{src:await te(e.preview.sizes[0]?.url||"")}),t.jsx(it,{className:F1.playStyled})]})}),t.jsx("div",{children:t.jsx(rt,{...n,paths:e.paths})})]}):null},Ar=e=>t.jsx("div",{className:_e.content,children:t.jsxs(ot,{className:_e.contentLayoutVideoSection,children:[t.jsxs("a",{className:_e.header,href:"/",children:[t.jsx("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.6055 4.86193C12.8659 5.12228 12.8659 5.54439 12.6055 5.80474L8.41026 10L12.6055 14.1953C12.8659 14.4556 12.8659 14.8777 12.6055 15.1381C12.3452 15.3984 11.9231 15.3984 11.6627 15.1381L6.99604 10.4714C6.73569 10.2111 6.73569 9.78894 6.99604 9.52859L11.6627 4.86193C11.9231 4.60158 12.3452 4.60158 12.6055 4.86193Z",fill:"white"})}),"VOLVER A VIDEOS"]}),t.jsxs("div",{className:_e.videos,children:[t.jsxs("div",{className:_e.videoContent,style:e.mainVideoStyles,children:[e.type==="vy"&&t.jsx("iframe",{className:_e.iframeStyled,src:`https://www.youtube.com/embed/${e.video?.main?.code}`,frameBorder:"0",allowFullScreen:!0}),e.type==="vf"&&t.jsx("iframe",{className:_e.iframeStyled,src:e.video?.main?.code,frameBorder:"0",allowFullScreen:!0}),e.type==="ve"&&t.jsx("div",{className:_e.contentFrame,dangerouslySetInnerHTML:{__html:e.video?.main?.code}}),t.jsx("div",{className:_e.articleSection,children:t.jsx(rt,{...tt(e.video,!0,!!e.video.main.description),paths:e.paths})})]}),t.jsxs("div",{className:_e.sectionVideoList,style:e.listVideoStyles,children:[e.banner&&t.jsx(ne,{banners:e.banner.banners,name:e.banner.bannerName}),e.relatedName&&t.jsx("h2",{className:_e.relatedTitle,children:e.relatedName}),Array.isArray(e.videoList)&&e.videoList.map((n,a)=>y.createElement(pr,{...tt(n,!0,!1),key:a,paths:e.paths}))]})]})]})}),Ie={content:"_content_1xvw2_1",titleContent:"_titleContent_1xvw2_24",title:"_title_1xvw2_24",startLine:"_startLine_1xvw2_87",line:"_line_1xvw2_92",bottomLine:"_bottomLine_1xvw2_98",childrenContent:"_childrenContent_1xvw2_117",readMore:"_readMore_1xvw2_127"},R=y.forwardRef((e,n)=>{const{isTitle:a=!1,isOpinion:s=!1}=e,o=a?t.jsx("h1",{className:Ie.title,children:e.title}):t.jsx("h2",{className:Ie.title,children:e.title});return t.jsxs("section",{className:Ie.content,children:[e.title&&t.jsxs("div",{className:[Ie.titleContent,e.className??""].join(" "),"data-after":`${s}`,children:[t.jsx("hr",{className:Ie.startLine}),e.titleUrl?t.jsx(T,{href:e.titleUrl,children:o}):o,t.jsx("hr",{className:Ie.line}),e.titleUrl&&t.jsx(T,{className:Ie.readMore,href:e.titleUrl?.toString()??""})]}),e.title&&t.jsx("hr",{className:[Ie.bottomLine,e.className??""].join(" ")}),t.jsx("div",{className:Ie.childrenContent,ref:n,children:e.children})]})}),Me={content:"_content_o8lbc_1",contentNews:"_contentNews_o8lbc_10",linkTitle:"_linkTitle_o8lbc_27",tag:"_tag_o8lbc_35",tagmx:"_tagmx_o8lbc_55",titular:"_titular_o8lbc_70",correspondent:"_correspondent_o8lbc_85",correspondentLink:"_correspondentLink_o8lbc_96",description:"_description_o8lbc_107"},ht=e=>{const n=()=>{if(e?.config?.showtime&&e.config?.showauthor)return`${e?.authors[0]?.fullname} - ${ye(e.info?.date?.modified)}`;if(e.config?.showauthor)return e?.authors[0]?.fullname;if(e?.config?.showtime)return ye(e.info?.date?.modified)};return t.jsxs("section",{className:`${Me.content} destacado-super-content`,children:[t.jsx(T,{href:e?.info?.link?.url,target:e?.info?.link?.target,style:{"--heightImageOverwrite":e.heightImageOverwrite?e.heightImageOverwrite:"51.8%","--heightImageOverwriteMobile":e.heightImageOverwriteMobile?e.heightImageOverwriteMobile:"491px","--fontSizeImageNewsTitleMobile":e.isVertical?"20px":"1.75rem","--lineHeightImageNewsTitleMobile":e.isVertical?"26px":"36px"},children:t.jsx(ge,{preview:e.preview,isLarge:!0,BackDropAuxHeigthMobile:"513px",priorityHigh:!0})}),t.jsxs("div",{className:Me.contentNews,style:{"--widthTextContent":e.textPosition==="start"?"100%":"80%"},children:[t.jsx(T,{className:Me.tagmx,href:e?.info?.section?.url,children:e?.info?.section?.name}),t.jsxs("div",{style:{position:"relative"},children:[t.jsx(T,{className:Me.tag,href:e?.info?.section?.url,children:e?.info?.section?.name}),t.jsx(T,{className:Me.linkTitle,href:e?.info?.link?.url,target:e?.info?.link?.target,children:t.jsx("h1",{className:Me.titular,style:{"--titlePosition":e.textPosition==="start"?"initial":"center"},children:e?.main?.title?.home})})]}),e.config?.showsubtitle&&t.jsx("div",{className:Me.description,dangerouslySetInnerHTML:{__html:e.main.subtitle.striped}}),e?.config?.showtime&&e.config?.showauthor&&t.jsx(t.Fragment,{children:e.authors[0]?.internaluser?t.jsx(T,{href:`/${e.paths?.autor??"autor"}/${e?.authors[0]?.name}`,className:Me.correspondent,children:n()}):t.jsx("p",{className:Me.correspondentLink,children:n()})})]})]})},Fa=e=>{const{main:n,authors:a,info:s,preview:o,isVideo:r,config:i,itemReverseOrder:l,imageSize:d,showSuper:c}=e;return t.jsxs("section",{className:H2.content,children:[c?t.jsx("section",{style:{...e.customSectionCardStyles},children:t.jsx(ht,{main:n,authors:a,info:s,preview:o,isVideo:r,config:i,paths:e.paths})}):t.jsx(Ee,{...e,main:n,authors:a,info:s,preview:o,isVideo:r,config:i,priorityHigh:!0}),e.banners&&t.jsx(ne,{banners:e.banners,name:"main_block_"+(e.rightOnlyBanner?1:2)}),!e.rightOnlyBanner&&t.jsx(La,{block:e.block,itemReverseOrder:l,priorityHigh:!0,imageSize:d,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})]})},W1={content:"_content_1dcf7_1",firstSection:"_firstSection_1dcf7_10",secondSection:"_secondSection_1dcf7_16"},wr=({content:e,customLargeSection:n,customSmallSection:a,paths:s})=>{const o=e[0];return Array.isArray(e)&&e.length>0&&o&&t.jsxs("section",{className:W1.content,children:[t.jsx("div",{style:n,className:W1.firstSection,children:t.jsx(ht,{...o,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:s})}),t.jsx("div",{style:a,className:W1.secondSection,children:e.map((r,i)=>i>0&&y.createElement(ht,{...r,key:i,textPosition:"start",heightImageOverwrite:"256px",heightImageOverwriteMobile:"270px",paths:s}))})]})},Wa={content:"_content_wsx1m_1",firstSection:"_firstSection_wsx1m_8"},yr=({content:e,customLargeSection:n,customSlimSection:a,paths:s})=>Array.isArray(e)&&e.length>0&&t.jsx("section",{className:Wa.content,children:e.map((o,r)=>r===0?t.jsx("div",{style:n,className:Wa.firstSection,children:t.jsx(ht,{...o,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:s})},r):t.jsx("section",{style:a,children:y.createElement(ht,{...o,key:r,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:s})},r))}),Ut={content:"_content_10nsz_1",sectionDescription:"_sectionDescription_10nsz_13",title:"_title_10nsz_33",subtitle:"_subtitle_10nsz_46",linkStyled:"_linkStyled_10nsz_57"},Za=e=>t.jsxs("div",{className:Ut.content,children:[e?.mainNew?.info.section&&t.jsx(T,{className:Ut.sectionDescription,href:e?.mainNew?.info?.section?.url,children:e?.mainNew?.info?.section?.name}),t.jsx(T,{className:Ut.title,href:e?.mainNew?.info?.link?.url,target:e?.mainNew?.info?.link?.target,children:e?.mainNew?.main?.title.home}),e?.mainNew?.main?.subtitle?.rendered&&t.jsx("p",{className:Ut.subtitle,children:e?.mainNew?.main?.subtitle?.striped}),e.goTo&&t.jsx(T,{href:e.goTo.url,className:Ut.linkStyled,children:e.goTo.description})]}),Z1={headerSection:"_headerSection_drjnj_1",headerSectionLink:"_headerSectionLink_drjnj_12",newsContent:"_newsContent_drjnj_17"},Ya=e=>{const{content:n,title:a,isVideo:s}=e;if(!n||!n[0]||n.length===0)return;const o=e.slot_id&&e.slot_id!=="Nota_1",r={...n[0],main:{...n[0].main,title:{...n[0].main.title,section:o?n[0].main.title.home:n[0].main.title.section}}},i=n.slice(1);return r&&i&&t.jsxs(R,{title:a,titleUrl:e.titleUrl,children:[t.jsxs("div",{className:Z1.headerSection,children:[t.jsx(Za,{mainNew:r,goTo:e.goTo}),t.jsx(T,{className:Z1.headerSectionLink,href:r?.info?.link?.url,target:r?.info?.link?.target,children:t.jsx(ge,{preview:r.preview})})]}),t.jsxs("div",{className:Z1.newsContent,children:[t.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),Array.isArray(i)&&i.map((l,d)=>{const c={...l,main:{...l.main,title:{...l.main.title,section:o?l.main.title.home:l.main.title.section}}};return t.jsx("div",{style:{order:d},children:t.jsx(Ee,{...c,isVideo:s,paths:e.paths})},d)})]})]})},Be={content:"_content_1stvq_1",autorContent:"_autorContent_1stvq_8",image:"_image_1stvq_24",contentIcon:"_contentIcon_1stvq_25",boxInformationContent:"_boxInformationContent_1stvq_47",autorName:"_autorName_1stvq_53",time:"_time_1stvq_85",comment:"_comment_1stvq_98",title:"_title_1stvq_107"},C1=async e=>{const{data:n,autorIcon:a}=e,s=a,o=()=>n?.config?.showtime?`${ye(n.info?.date?.modified)}`:"",r=t.jsxs("div",{className:Be.autorContent,children:[Array.isArray(n?.authors)&&Array.isArray(n?.authors[0]?.image?.sizes)&&n?.authors[0]?.image?.sizes?.length>0?t.jsx("img",{fetchPriority:"low",loading:"lazy",className:Be.image,src:await te(n?.authors[0]?.image?.sizes[0]?.url||""),alt:n?.authors[0]?.fullname}):t.jsx("div",{className:Be.contentIcon,children:t.jsx(s,{})}),t.jsx("p",{className:Be.autorName,children:Ce(n?.authors[0]?.fullname??"Redacción",18)}),t.jsx("p",{className:Be.time,children:o()})]});return t.jsxs("div",{className:Be.content,children:[n?.authors[0]?.internaluser?t.jsx(T,{href:n.authors[0]?.internaluser?`/${e.paths.autor}/${n?.authors[0]?.name}`:"#",children:r}):r,t.jsxs("div",{className:Be.boxInformationContent,children:[t.jsx(T,{className:Be.title,href:n?.info?.link?.url,target:n?.info?.link?.target,children:n?.main?.title?.home}),t.jsx("p",{className:Be.comment,children:Ce(n?.main?.subtitle?.striped||"")})]})]})},Ct={content:"_content_1d7mg_1",boxPosition:"_boxPosition_1d7mg_8",contentFlex:"_contentFlex_1d7mg_21",bannerContent:"_bannerContent_1d7mg_29",bannerContentAux:"_bannerContentAux_1d7mg_40"};function br(e){const n=new Array(e.length),a=e.length/2;for(let s=0;s<e.length;s++)s%2===0?n[Math.floor(s/2)]=e[s]:n[a+Math.floor(s/2)]=e[s];return n}const vr=e=>{const{isOpinion:n=!1}=e,a=r=>t.jsx("div",{className:Ct.boxPosition+" banner-context",style:{order:2},children:t.jsx("div",{className:Ct.bannerContentAux,children:t.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:e.banner})})},r),s=[];for(let r=0;r<e.news.length;r++){const i=e.news[r];r===2&&s.push(a(r)),i&&s.push(t.jsx("div",{className:Ct.boxPosition,style:{order:r},children:t.jsx(C1,{data:i,autorIcon:e.autorIcon,paths:e.paths})},`description-block-2-odd-${r}`))}const o=s.length%2===0?br(s):s;return t.jsx("section",{style:e.customStyles,children:t.jsx(R,{title:e.title,titleUrl:e.titleUrl,isOpinion:n,children:t.jsxs("div",{className:Ct.content,children:[t.jsx("div",{className:Ct.contentFlex,children:o}),t.jsx("div",{className:Ct.bannerContent,children:e.halfPageBanner})]})})})},Ka={content:"_content_w9viv_1",title:"_title_w9viv_10"},_r=e=>{const{showTitle:n=!0}=e;return t.jsxs("div",{className:Ka.content,children:[n&&t.jsx("p",{className:Ka.title,children:"Editorial"}),t.jsx(rt,{...e,info:{...e.info,section:{name:"",slug:"",url:""}}})]})},ut={content:"_content_1nd2h_1",newsContent:"_newsContent_1nd2h_8",boxPosition:"_boxPosition_1nd2h_17",bannerContent:"_bannerContent_1nd2h_23",bannerContentAux:"_bannerContentAux_1nd2h_33"},Nr=e=>{const{news:n}=e;return Array.isArray(n)&&t.jsxs("div",{className:ut.content,children:[t.jsxs("div",{className:ut.newsContent,children:[e.bannerArray&&e.bannerArray.map((a,s)=>t.jsx("div",{className:ut.boxPosition+" banner-context",style:{order:2+5*s},children:t.jsx("div",{className:ut.bannerContentAux,children:t.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:a})})},s)),n.map((a,s)=>t.jsx("div",{className:ut.boxPosition,style:{order:s},children:t.jsx(Ee,{...a,share:e.share,paths:e.paths})},s))]}),t.jsx("div",{className:ut.bannerContent,children:e.halfPageBanner})]})},Sr=e=>t.jsxs(t.Fragment,{children:[t.jsx(Ma,{className:"display-on-lower-900px",...e}),t.jsx(Ba,{...e})]}),u1={newsContent:"_newsContent_gd57q_1",newsContentWithLines:"_newsContentWithLines_gd57q_8",newsContentWithoutLines:"_newsContentWithoutLines_gd57q_13",contentSeparator:"_contentSeparator_gd57q_18"},Ja=e=>{const{content:n}=e;if(!n||n.length===0)return;const a=i=>e.hasLines&&(i+1)%3!==0?u1.contentSeparator:"",s=[];let o=0,r=1;for(let i=0;i<n.length;i++){e.banners&&e.bannerPositionIndex?.includes(i)&&(s.push(t.jsx("section",{className:a(o),children:e.banners?.some(h=>h.key===`${e.slot_id}_${r}`)&&t.jsx(ne,{banners:e.banners,name:`${e.slot_id}_${r}`})},o)),o++,r++);const l=e.isVideo?tt(n[i],e.showVideoTime,e.showVideosubtitle):n[i];if(!l)continue;const d=e.slot_id&&e.slot_id!=="Nota_1",c={...l,main:{...l.main,title:{...l.main.title,section:d?l.main.title.home:l.main.title.section}}};s.push(t.jsx("section",{className:a(o),children:t.jsx(Ee,{...c,isVideo:e.isVideo,paths:e.paths})},o)),o++}return s.length===2&&s.push(t.jsx("div",{},o)),t.jsx("div",{className:`${e.hasLines?u1.newsContentWithLines:u1.newsContentWithoutLines} ${u1.newsContent}`,children:s})},Y1=e=>t.jsx(R,{title:e.title,titleUrl:e.titleUrl,children:t.jsx(Ja,{content:e.content,paths:e.paths,slot_id:e.slot_id,hasLines:e.hasLines,bannerPositionIndex:e.bannerPositionIndex,isVideo:e.isVideo,banners:e.banners,showVideoTime:e.showVideoTime,showVideosubtitle:e.showVideosubtitle})}),Xa={newsContent:"_newsContent_1sb62_1",contentSeparator:"_contentSeparator_1sb62_8"},Ra=e=>{const{content:n,title:a}=e;if(!(!n||n.length===0||!Array.isArray(n)))return t.jsx(R,{title:a,titleUrl:e.titleUrl,children:t.jsx("div",{className:`${Xa.newsContent} ${e.hasLines?Xa.contentSeparator:""}`,children:n?.map((s,o)=>{const r=e.slot_id&&e.slot_id!=="Nota_1",i={...s,main:{...s.main,title:{...s.main.title,section:r?s.main.title.home:s.main.title.section}}};return t.jsx("section",{children:t.jsx(Ee,{...i,share:e.share,paths:e.paths})},o)})})})},K1={newsContent:"_newsContent_1gbse_1",contentSeparator:"_contentSeparator_1gbse_8",newsContentWhitoutLine:"_newsContentWhitoutLine_1gbse_29"},es=e=>{const{content:n,title:a}=e;if(!(!n||n.length===0))return t.jsx(R,{title:a,titleUrl:e.titleUrl,children:t.jsx("div",{className:`${K1.newsContent} ${e.hasLines?K1.contentSeparator:K1.newsContentWhitoutLine}`,children:n.map((s,o)=>{const r=e.slot_id&&e.slot_id!=="Nota_1",i={...s,main:{...s.main,title:{...s.main.title,section:r?s.main.title.home:s.main.title.section}}};return t.jsx("section",{children:t.jsx(Ee,{...i,share:e.share,paths:e.paths})},o)})})})},J1={headerSection:"_headerSection_1m1sp_3",headerSectionLink:"_headerSectionLink_1m1sp_16",newsContent:"_newsContent_1m1sp_29"},ts=e=>{const{content:n,title:a,isVideo:s=!0}=e;if(!n||n.length===0)return;const o=n[0],r=e.slot_id&&e.slot_id!=="Nota_1",i=n.slice(1);return o&&i&&t.jsxs(R,{title:a,titleUrl:e.titleUrl,children:[t.jsxs("div",{className:J1.headerSection,children:[t.jsx(Za,{goTo:e.goTo,mainNew:tt(o)}),t.jsx(T,{className:J1.headerSectionLink,href:o?.info?.link.url,target:o?.info?.link.target,"aria-label":"Video",children:t.jsx(ge,{preview:{sizes:o?.main?.image.sizes,description:o?.main?.image.description},isVideo:s,isLarge:!0})})]}),t.jsxs("div",{className:J1.newsContent,children:[t.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),Array.isArray(i)&&i.map((l,d)=>{const c=tt(l),h={...c,main:{...c.main,title:{...c.main.title,section:r?c.main.title.home:c.main.title.section}}};return t.jsx("div",{style:{order:d},children:y.createElement(Ee,{...h,isVideo:s,key:d,paths:e.paths})},d)})]})]})},It={content:"_content_cnul3_1",linkImage:"_linkImage_cnul3_30",sectionDescription:"_sectionDescription_cnul3_42",dateText:"_dateText_cnul3_61",textContent:"_textContent_cnul3_72"},kr=async e=>{const{showNewsLikeTitle:n=!1}=e;return e&&e.info?t.jsxs("section",{className:It.content,style:{"--heightImageOverwrite":"100%"},children:[t.jsx(T,{className:It.linkImage,target:e?.info?.link?.target,title:e.main?.title?.section,href:n?e.info.link.url:e?.info?.section?.url,children:t.jsx(ge,{preview:e.preview})}),t.jsxs("div",{className:It.textContent,children:[t.jsx(T,{className:It.sectionDescription,target:e?.info?.link?.target,href:n?e.info.link.url:e?.info?.section?.url,children:Ce((n?e?.main?.title?.section:e?.info?.section?.name)??"",45)}),t.jsx("p",{className:It.dateText,children:ye(e?.info?.date?.modified)})]})]}):null},ns={content:"_content_yx3zm_1",contentSeparator:"_contentSeparator_yx3zm_7"},X1={newsContent:"_newsContent_1uamf_1",contentSeparator:"_contentSeparator_1uamf_8",hasLinesBlock:"_hasLinesBlock_1uamf_40"},as=e=>{if(!e.content||e.content.length===0)return;const n=e.slot_id&&e.slot_id!=="Nota_1";return t.jsx(R,{title:e.title,children:t.jsx("div",{className:`${ns.content} ${e.hasLines?ns.contentSeparator:""}`,style:{gap:e.hasLines?"30px":"0px"},children:Array.isArray(e.content)&&e.content?.map((a,s)=>{const o={...a,main:{...a.main,title:{...a.main.title,section:n?a.main.title.home:a.main.title.section}}};return t.jsx("section",{className:e.hasLines?X1.hasLinesBlock:"",children:y.createElement(kr,{...o,key:s,showNewsLikeTitle:e.showNewsLikeTitle})},s)})})})},ft={content:"_content_1yvw0_1",boxInformation:"_boxInformation_1yvw0_12",titleGradient:"_titleGradient_1yvw0_29",sectionDescription:"_sectionDescription_1yvw0_57",articule:"_articule_1yvw0_82",linkStyled:"_linkStyled_1yvw0_114"},f1=e=>{const{isVideo:n,info:a,main:s,overImage:o="default",titleGradient:r=!1}=e;return t.jsxs("section",{className:ft.content,children:[t.jsx(T,{title:s?.title?.section,href:a.link.url,target:a.link.target,children:t.jsx(ge,{preview:e.preview,isVideo:n})}),t.jsxs("div",{className:[ft.boxInformation,r?ft.titleGradient:""].join(" "),style:{width:o!=="default"?"90%":"",left:o==="left"?0:o==="right"?"calc(10% - 1px)":"auto",top:o!=="default"?"-1rem":""},children:[e?.info?.section&&t.jsx(T,{className:[ft.sectionDescription].join(" "),href:e?.info?.section?.url,children:e?.info?.section?.name}),t.jsx("h2",{className:ft.articule,children:t.jsx(T,{className:ft.linkStyled,href:e?.info?.link?.url,target:e?.info?.link?.target,children:Ce(e.main?.title?.section,o!=="default"?60:75)})})]})]})},ss=e=>{const{content:n,title:a,slot_id:s}=e,o=e.slot_id&&e.slot_id!=="Nota_1";return n&&n.length!==0&&t.jsx(R,{title:a,titleUrl:e.titleUrl,children:t.jsx(Ke,{slot_id:s,children:n.map((r,i)=>{const l={...r,main:{...r.main,title:{...r.main.title,section:o?r.main.title.home:r.main.title.section}}};return t.jsx("div",{style:{"--heightImageOverwrite":e.heightImageOverwrite,"--heightImageOverwriteMobile":e.heightImageOverwriteMobile},children:t.jsx(f1,{...l,paths:e.paths})},i)})})})},Ge={content:"_content_1mj79_1",imageStyled:"_imageStyled_1mj79_14",contentIcon:"_contentIcon_1mj79_23",boxInformation:"_boxInformation_1mj79_44",comment:"_comment_1mj79_51",title:"_title_1mj79_60",authorName:"_authorName_1mj79_81"},Er=async e=>{const{data:n}=e;return t.jsxs("div",{className:Ge.content,children:[Array.isArray(n.authors)&&n?.authors[0]?.image?t.jsx("img",{fetchPriority:"low",loading:"lazy",className:Ge.imageStyled,src:await te(n?.authors[0]?.image?.sizes[0]?.url||""),alt:n?.authors[0]?.fullname}):t.jsx("div",{className:Ge.contentIcon,children:e.autorIcon}),t.jsxs("div",{className:Ge.boxInformation,children:[t.jsx("p",{className:Ge.authorName,children:n?.authors[0]?.internaluser?t.jsx(T,{href:n.authors[0]?.internaluser?`/${e.paths.autor}/${n?.authors[0]?.name}`:"#",children:n?.authors[0]?.fullname??"Redacción"}):n?.authors[0]?.fullname??"Redacción"}),t.jsx("p",{className:Ge.title,children:t.jsx(T,{className:Ge.linkStyled,href:n?.info?.link?.url,target:n?.info?.link?.target,children:Ce(n?.main?.title?.home,40)})}),t.jsx("p",{className:Ge.comment,children:n?.main?.subtitle?.striped})]})]})},os=e=>{const n=e.slot_id&&e.slot_id!=="Nota_1";return t.jsx(R,{titleUrl:e.titleUrl,title:e.title,children:t.jsx(Ke,{slot_id:e.slot_id,cardGap:31,cardWidth:344,visibleItems:3,children:e.content&&e.content.map((a,s)=>{const o={...a,main:{...a.main,title:{...a.main.title,section:n?a.main.title.home:a.main.title.section}}};return t.jsx(Er,{autorIcon:e.autorIcon,data:o,paths:e.paths},s)})})})},R1=e=>t.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"var(--header-icons)",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M10.5283 0.562859C13.1487 0.49118 15.6972 1.42576 17.6494 3.17516C19.6016 4.92465 20.8095 7.3565 21.0244 9.96911C21.2392 12.5816 20.4447 15.1772 18.8047 17.222L18.6641 17.3978L18.8232 17.556L23.1475 21.8451H23.1484C23.3137 22.016 23.4062 22.2451 23.4062 22.4828C23.4062 22.7194 23.3143 22.9469 23.1504 23.1175C23.0653 23.2033 22.964 23.2712 22.8525 23.3177C22.7409 23.3642 22.6209 23.388 22.5 23.3881C22.3791 23.3881 22.2591 23.3642 22.1475 23.3177C22.0358 23.2712 21.9338 23.2034 21.8486 23.1175L17.5547 18.8236L17.3965 18.6644L17.2217 18.805C15.1768 20.4451 12.5812 21.2395 9.96875 21.0248C7.35614 20.8099 4.9243 19.602 3.1748 17.6498C1.4254 15.6976 0.490821 13.149 0.5625 10.5287C0.634205 7.90823 1.70691 5.41454 3.56055 3.56091C5.41418 1.70727 7.90787 0.634563 10.5283 0.562859ZM14.0537 3.057C12.516 2.42011 10.8239 2.25385 9.19141 2.57848C7.55873 2.90324 6.05893 3.7051 4.88184 4.88219C3.70474 6.05929 2.90288 7.55909 2.57812 9.19176C2.25349 10.8242 2.41975 12.5163 3.05664 14.0541C3.69368 15.592 4.77311 16.9066 6.15723 17.8314C7.54131 18.7562 9.16841 19.2504 10.833 19.2504C13.0652 19.2504 15.2058 18.363 16.7842 16.7845C18.3626 15.2061 19.25 13.0656 19.25 10.8334C19.25 9.16877 18.7558 7.54167 17.8311 6.15759C16.9062 4.77347 15.5917 3.69404 14.0537 3.057Z",fill:"var(--header-icons)",stroke:"var(--header-icons)",strokeWidth:"0.5"})}),m1=e=>t.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.862254 3.39448C1.1226 3.13413 1.54471 3.13413 1.80506 3.39448L6.00033 7.58974L10.1956 3.39448C10.4559 3.13413 10.878 3.13413 11.1384 3.39448C11.3987 3.65483 11.3987 4.07694 11.1384 4.33729L6.47173 9.00396C6.21138 9.26431 5.78927 9.26431 5.52892 9.00396L0.862254 4.33729C0.601905 4.07694 0.601905 3.65483 0.862254 3.39448Z",fill:e.fill??"#7B888A"})}),K={drawerStyled:"_drawerStyled_1dhzk_1",sidebarCustom:"_sidebarCustom_1dhzk_6",accordionStyled:"_accordionStyled_1dhzk_24",accordionHeading:"_accordionHeading_1dhzk_35",accordionSummeryStyled:"_accordionSummeryStyled_1dhzk_44",linkStyled:"_linkStyled_1dhzk_71",subLinkStyled:"_subLinkStyled_1dhzk_91",inputContent:"_inputContent_1dhzk_113",buttonContent:"_buttonContent_1dhzk_114",inputStyled:"_inputStyled_1dhzk_124",buscar:"_buscar_1dhzk_140",buttonStyled:"_buttonStyled_1dhzk_149",accordionDetailsStyled:"_accordionDetailsStyled_1dhzk_164",footerSlider:"_footerSlider_1dhzk_179",socialMedia:"_socialMedia_1dhzk_190",copyRights:"_copyRights_1dhzk_209",icon:"_icon_1dhzk_220"},xr=({sidebar:e,socials:n,copyrigth:a,sidebarExtra:s,searchKeyWord:o})=>t.jsxs("aside",{className:K.drawerStyled,id:"sidebar-expandable",style:{"--header-icons":"var(--search-input-icons)"},children:[t.jsx("input",{type:"checkbox",id:"side-bar-state"}),t.jsxs("section",{className:K.sidebarCustom,children:[t.jsx("div",{className:K.buttonContent,children:t.jsx("label",{className:K.buttonStyled,htmlFor:"side-bar-state",children:t.jsx(lt,{className:K.icon})})}),t.jsx("div",{className:K.inputContent,children:t.jsxs(T,{href:"/buscar",className:K.inputStyled,children:[t.jsxs("p",{className:K.buscar,children:[o,"..."]}),t.jsx(R1,{color:"var(--search-input-icons)"})]})}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",justifyContent:"space-between",height:"100%"},children:[t.jsxs("div",{children:[s,e.map((r,i)=>t.jsxs("div",{className:K.accordionStyled,children:[t.jsx("input",{type:"checkbox",style:{display:"none"},id:"accordion_"+i}),t.jsx("h3",{className:K.accordionHeading,children:Array.isArray(r.subitem)?t.jsxs("label",{className:K.accordionSummeryStyled,htmlFor:"accordion_"+i,children:[r.link?t.jsx(T,{className:`${K.linkStyledAccordion} ${K.linkStyled}`,href:r.link?r.link:void 0,target:r.target,children:r.description}):t.jsx("div",{children:r.description}),t.jsx(m1,{width:13,height:13,fill:"var(--side-bar-arrow-color)"})]}):t.jsx(T,{className:K.linkStyled,href:r.link?r.link:void 0,target:r.target,children:r.description})}),Array.isArray(r.subitem)&&t.jsx("div",{className:K.accordionDetailsStyled,style:{"--max-height":r.subitem.length*45+"px"},children:r.subitem.map((l,d)=>t.jsx(T,{className:K.subLinkStyled,href:l.link?l.link:void 0,target:l.target,children:l.description},d))})]},i))]}),t.jsxs("div",{className:K.footerSlider,children:[t.jsx("div",{className:K.socialMedia,children:Object.keys(n).map(r=>n[r]?.show&&t.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":n[r].title+" link",className:K.linkSocialNetwork,href:n[r].url,children:Et[r]({className:K.icon})},r))}),t.jsx("p",{className:K.copyRights,children:a})]})]})]})]}),rs=e=>t.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t.jsx("path",{d:"M5 22.5H25C25.6875 22.5 26.25 21.9375 26.25 21.25C26.25 20.5625 25.6875 20 25 20H5C4.3125 20 3.75 20.5625 3.75 21.25C3.75 21.9375 4.3125 22.5 5 22.5ZM5 16.25H25C25.6875 16.25 26.25 15.6875 26.25 15C26.25 14.3125 25.6875 13.75 25 13.75H5C4.3125 13.75 3.75 14.3125 3.75 15C3.75 15.6875 4.3125 16.25 5 16.25ZM3.75 8.75C3.75 9.4375 4.3125 10 5 10H25C25.6875 10 26.25 9.4375 26.25 8.75C26.25 8.0625 25.6875 7.5 25 7.5H5C4.3125 7.5 3.75 8.0625 3.75 8.75Z",fill:e.color}),t.jsx("path",{d:"M5 22.5H25C25.6875 22.5 26.25 21.9375 26.25 21.25C26.25 20.5625 25.6875 20 25 20H5C4.3125 20 3.75 20.5625 3.75 21.25C3.75 21.9375 4.3125 22.5 5 22.5ZM5 16.25H25C25.6875 16.25 26.25 15.6875 26.25 15C26.25 14.3125 25.6875 13.75 25 13.75H5C4.3125 13.75 3.75 14.3125 3.75 15C3.75 15.6875 4.3125 16.25 5 16.25ZM3.75 8.75C3.75 9.4375 4.3125 10 5 10H25C25.6875 10 26.25 9.4375 26.25 8.75C26.25 8.0625 25.6875 7.5 25 7.5H5C4.3125 7.5 3.75 8.0625 3.75 8.75Z",fill:e.color})]}),Mt={content:"_content_1k52x_1",chipStyled:"_chipStyled_1k52x_17",headLine:"_headLine_1k52x_17",live:"_live_1k52x_25",closeLiveStyled:"_closeLiveStyled_1k52x_88"},is=e=>{const{alertZone:n,id:a="close-alert"}=e,s=()=>t.jsx(T,{className:Mt.headLine,href:n?.data[0]?.info.link.url,target:n?.data[0]?.info.link.target,title:n?.data[0]?.main.title.home,children:n?.data[0]?.main?.title.home??""});return t.jsxs(t.Fragment,{children:[t.jsx("input",{type:"checkbox",id:a,style:{display:"none"},defaultChecked:!(n&&n?.data&&n?.data[0]?.main?.title.home)}),n&&n?.data&&n?.data[0]?.main?.title.home&&t.jsxs("div",{id:"alert-chip",className:Mt.content,style:e.forceShow?{display:"flex",position:"sticky",top:100}:{},children:[t.jsxs("div",{className:Mt.live,children:[t.jsx("div",{className:Mt.chipStyled,children:n?.entity?.description}),e.forceShow&&t.jsx(s,{}),t.jsx("label",{htmlFor:a,children:t.jsx(lt,{className:Mt.closeLiveStyled})})]}),t.jsx(s,{})]})]})},De={content:"_content_18yq5_1",linkStyled:"_linkStyled_18yq5_14",linkSocialNetwork:"_linkSocialNetwork_18yq5_28",title:"_title_18yq5_49",tabs:"_tabs_18yq5_60",socialNetwork:"_socialNetwork_18yq5_68",icon:"_icon_18yq5_78",facebook:"_facebook_18yq5_84",youtube:"_youtube_18yq5_88",x:"_x_18yq5_92",instagram:"_instagram_18yq5_96",gnews:"_gnews_18yq5_100",tiktok:"_tiktok_18yq5_104",whatsapp:"_whatsapp_18yq5_108"},qr=e=>{const{cintillo:n,tapeTitle:a,socials:s}=e,o="",r=n?.findIndex(i=>i.link===o)??0;return(Array.isArray(n)||e.socialIcons)&&t.jsxs("section",{className:De.content,children:[Array.isArray(n)&&t.jsxs("div",{className:`${De.tabs} header-page-tape-content`,children:[a!==""&&t.jsx("p",{className:De.title,children:`${a}`}),n&&n[r]&&t.jsx(T,{className:De.linkStyled,target:n[r]?.target,href:n[r]?.link,style:{color:n[r]?.link===o?"var(--header-tape-active-link)":"var(--header-tape-icons)",fontWeight:n[r]?.link===o?"700":"400"},children:n[r]?.description},r),n&&n.map((i,l)=>{if(l!==r)return t.jsx(T,{className:De.linkStyled,href:i?.link,style:{color:i?.link===o?"var(--header-tape-active-link)":"var(--header-tape-color)",fontWeight:i?.link===o?"700":"400"},children:i?.description},l)})]}),t.jsx("div",{className:De.socialNetwork,children:Object.keys(s).map(i=>s[i]?.show&&t.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":s[i].title+" link",className:De.linkSocialNetwork,href:s[i].url,children:Et[i]({className:[De.icon,De[i]??""].join(" ")})},i))})]})},Ae={headerStyled:"_headerStyled_t61zq_1",headerContent:"_headerContent_t61zq_14",iconContent:"_iconContent_t61zq_25",menuButton:"_menuButton_t61zq_34",logoStyled:"_logoStyled_t61zq_66",buttonSection:"_buttonSection_t61zq_94",buttonSectionSearch:"_buttonSectionSearch_t61zq_109",headLineContent:"_headLineContent_t61zq_130",headLineTitle:"_headLineTitle_t61zq_143",headLine:"_headLine_t61zq_130",hasAlertZone:"_hasAlertZone_t61zq_196"},Tr=e=>{const{alertZone:n}=e;return t.jsxs("header",{className:Ae.headerStyled,children:[e.socialIcons&&t.jsx(qr,{socialIcons:e.socialIcons,cintillo:e.cintillo,tapeTitle:e.tapeTitle,socials:e.socials}),t.jsxs("div",{className:`${Ae.headerContent} center-mobile-header-icon`,children:[t.jsx(ct,{id:"button-app",className:Ae.menuButton,toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:t.jsx(rs,{className:Ae.startIcon,color:"var(--header-icons)",width:27,height:27})}),t.jsx("div",{className:Ae.iconContent,children:t.jsx(T,{href:"/","aria-label":"Home",className:"icon header-logo-link-sticky",style:{display:"flex"},children:y.createElement("span",{className:Ae.logoStyled},e.icon)})}),!e.showAlertPop&&n?.data&&t.jsxs("div",{className:Ae.headLineContent,children:[t.jsx("div",{className:`${Ae.headLineTitle} headLineTitle`,children:n.entity.description?`${n.entity.description}`:""}),t.jsx(T,{className:Ae.headLine,href:n.data[0]?.info.link.url,target:n.data[0]?.info.link.target,title:n.data[0]?.main.title.home,children:Ce(n.data[0]?.main.title.home??"",120)})]}),t.jsxs("div",{style:e.showAlertPop?{marginLeft:"auto"}:{},className:[Ae.buttonSection,n?.data?Ae.hasAlertZone:"","search-button"].join(" "),children:[t.jsx(T,{href:e.searchLink?e.searchLink:"/buscar","aria-label":e.searchKeyWord,className:`${Ae.buttonSectionSearch} search-button-icon`,style:{display:"flex"},children:t.jsx(R1,{width:28,height:28,color:"currentColor"})}),e.rightZone]})]}),!e.showAlertPop&&t.jsx(is,{alertZone:n,forceShow:e.showAlertPop})]})},He={ul:"_ul_j3aqc_1",li:"_li_j3aqc_10",liBefore:"_liBefore_j3aqc_18",ulContent:"_ulContent_j3aqc_33",contentModal:"_contentModal_j3aqc_44",linkStyled:"_linkStyled_j3aqc_56",itemLink:"_itemLink_j3aqc_81"},Lr=e=>{const{items:n}=e;return t.jsx("ul",{className:He.ul,children:n.map((a,s)=>t.jsxs("li",{className:`${He.liBefore} ${He.li}`,children:[a.link?t.jsxs(T,{"aria-label":a.description,className:He.linkStyled,href:a.link?a.link:void 0,target:a.target,children:[a.description,Array.isArray(a.subitem)&&t.jsx(m1,{})]}):t.jsxs("span",{"aria-label":a.description,className:He.linkStyled,children:[a.description,Array.isArray(a.subitem)&&t.jsx(m1,{})]}),Array.isArray(a.subitem)&&t.jsx("ul",{className:He.ulContent,children:t.jsx("div",{className:He.contentModal,children:a.subitem.map((o,r)=>t.jsx("li",{className:He.li,children:t.jsx(T,{className:He.itemLink,"aria-label":o.description,href:o.link?o.link:void 0,target:o.target,children:o.description})},r))})})]},s))})},oe={headerStyled:"_headerStyled_ksxbt_1",headerContent:"_headerContent_ksxbt_23",menuButtonSection:"_menuButtonSection_ksxbt_33",menuButton:"_menuButton_ksxbt_33",buttonSection:"_buttonSection_ksxbt_84",buttonSectionSearch:"_buttonSectionSearch_ksxbt_101",hasAlertZone:"_hasAlertZone_ksxbt_111",buttonText:"_buttonText_ksxbt_130",logoContent:"_logoContent_ksxbt_140",logoStyled:"_logoStyled_ksxbt_148",headLineContent:"_headLineContent_ksxbt_172",headLineTitle:"_headLineTitle_ksxbt_187",menuSection:"_menuSection_ksxbt_203",headLine:"_headLine_ksxbt_172",line:"_line_ksxbt_255"},Ur=e=>{const{menu:n,alertZone:a}=e;return t.jsx("header",{className:oe.headerStyled,style:{top:e.cintillo||e.socialIcons?40:0},children:t.jsxs("div",{style:e.showAlertPop?{gap:0}:{},className:[oe.headerContent,a?.data?oe.hasAlertZone:""].join(" "),children:[t.jsx("div",{className:oe.menuButtonSection,children:t.jsxs(ct,{className:oe.menuButton,id:"button-app",toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:[t.jsx(rs,{color:"var(--header-icons)",width:27,height:27}),t.jsx("p",{className:oe.buttonText,style:{lineHeight:0},children:e.menuText})]})}),t.jsx("div",{className:oe.logoContent,children:t.jsx(T,{href:"/","aria-label":"Home",className:"header-logo-link",children:y.createElement("span",{className:`${oe.logoStyled}`},e.icon)})}),t.jsxs("div",{className:oe.buttonSection,children:[t.jsx(T,{href:e.searchLink?e.searchLink:"/buscar",style:{display:"flex"},className:oe.buttonSectionSearch,"aria-label":e.searchKeyWord,children:t.jsx(R1,{width:28,height:28,color:"currentColor"})}),e.rightZone]}),!e.showAlertPop&&a?.data?t.jsxs("div",{className:oe.headLineContent,children:[t.jsx("p",{className:`${oe.headLineTitle} headLineTitle`,children:a.entity.description?`${a.entity.description}`:""}),t.jsx(T,{className:oe.headLine,href:a.data[0]?.info.link.url,target:a.data[0]?.info.link.target,title:a.data[0]?.main.title.home,children:Ce(a.data[0]?.main.title.home??"",120)})]}):t.jsx("div",{className:oe.line}),t.jsx("div",{className:oe.menuSection,style:e.showAlertPop?{"--showAlertPop":"0px"}:{},children:Array.isArray(n)&&t.jsx(Lr,{items:n})})]})})},en={childrenContent:"_childrenContent_wqlb4_1",childrenContentAux:"_childrenContentAux_wqlb4_12",op2:"_op2_wqlb4_25"},tn=e=>{const{alertZone:n,children:a,sidebar:s}=e;return t.jsxs(t.Fragment,{children:[t.jsx(Tr,{...e}),!e.showOnlyStickyHeader&&t.jsx(Ur,{...e}),t.jsxs("div",{className:[en.childrenContent,e.showAlertPop?en.op2:"",n?.data?en.childrenContentAux:""].join(" "),style:e.showOnlyStickyHeader?{"--hasAlertMargin":"3.6rem !important"}:{},id:"content-layout",children:[e.showAlertPop&&t.jsx(is,{alertZone:n,forceShow:e.showAlertPop,id:"static-alert-chip"}),a]}),t.jsx(xr,{sidebarExtra:e.sidebarExtra,searchKeyWord:e.searchKeyWord,sidebar:s,socials:e.socials,copyrigth:e.copyrigth})]})},Ir=e=>t.jsxs("svg",{width:"22",height:"18",viewBox:"0 0 22 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t.jsxs("g",{clipPath:"url(#clip0_3111_1972)",children:[t.jsx("path",{d:"M17.6679 2.85909C18.2925 2.85909 18.8792 2.85731 19.4658 2.85909C20.5705 2.86265 21.2902 3.57831 21.2911 4.68869C21.2937 8.26611 21.2946 11.8435 21.2911 15.421C21.2902 16.7438 20.4921 17.7288 19.2465 17.9555C19.0597 17.9893 18.8668 17.9964 18.6765 17.9964C13.6642 17.9982 8.65091 17.9991 3.63854 17.9973C1.93574 17.9973 0.617019 16.8852 0.330723 15.212C0.29813 15.0236 0.294606 14.8289 0.294606 14.6368C0.293725 10.3722 0.293725 6.10579 0.294606 1.83938C0.294606 0.919247 0.803772 0.23559 1.63006 0.04534C1.79303 0.00800119 1.96481 0.00177804 2.13306 0.00177804C6.69794 0 11.2628 0 15.8277 0C16.9588 0 17.6661 0.71744 17.6679 1.85983C17.6679 2.18432 17.6679 2.50793 17.6679 2.85909ZM16.7007 16.7225C16.4443 16.2291 16.3932 15.7366 16.3941 15.228C16.3985 10.7758 16.3967 6.3236 16.3967 1.87139C16.3967 1.42688 16.2532 1.27841 15.8215 1.27841C11.2628 1.27841 6.70498 1.27841 2.14628 1.27841C1.71727 1.27841 1.56047 1.43488 1.56047 1.86605C1.56047 6.11113 1.55783 10.3553 1.56488 14.6004C1.56488 14.8484 1.59835 15.1062 1.67235 15.3418C1.94631 16.2131 2.70213 16.7216 3.68523 16.7225C7.93561 16.7225 12.1851 16.7225 16.4355 16.7225H16.7015H16.7007ZM17.6679 4.15084V4.39887C17.6679 8.06608 17.6679 11.7333 17.6679 15.4005C17.6679 15.4601 17.667 15.5187 17.6705 15.5783C17.7181 16.4033 18.5321 16.9341 19.2835 16.6309C19.7662 16.4362 20.0261 16.0041 20.0261 15.3854C20.0261 11.8444 20.0261 8.30345 20.0261 4.76159C20.0261 4.66558 20.0235 4.56779 20.0023 4.47533C19.9591 4.29308 19.8376 4.15884 19.6526 4.15528C19.0007 4.14284 18.3488 4.15084 17.6688 4.15084H17.6679Z",fill:e.color}),t.jsx("path",{d:"M5.63378 3.83703C6.0663 3.83703 6.49971 3.83436 6.93224 3.83703C7.54094 3.84236 7.9673 4.27087 7.97083 4.88874C7.97523 5.62129 7.97611 6.35474 7.97083 7.08729C7.96642 7.68204 7.55328 8.11855 6.96395 8.12655C6.06894 8.139 5.17394 8.139 4.27894 8.12655C3.70635 8.11855 3.28879 7.70782 3.27558 7.13085C3.25796 6.36896 3.25884 5.60529 3.27558 4.8434C3.28791 4.24776 3.7222 3.84147 4.31329 3.83703C4.75375 3.83347 5.19332 3.83703 5.63378 3.83703ZM6.68558 6.84192V5.13767H4.55642V6.84192H6.68558Z",fill:e.color}),t.jsx("path",{d:"M8.98899 14.1631C7.30821 14.1631 5.62832 14.1649 3.94754 14.1622C3.4833 14.1622 3.18115 13.7755 3.30536 13.3488C3.37495 13.1096 3.53528 12.9549 3.78017 12.9069C3.88676 12.8856 3.99864 12.882 4.10875 12.882C7.3593 12.8811 10.6107 12.8811 13.8613 12.882C13.9705 12.882 14.0824 12.8865 14.189 12.9078C14.4991 12.9691 14.7017 13.2501 14.6805 13.5746C14.6603 13.8831 14.4233 14.1338 14.1176 14.1578C13.9714 14.1693 13.8243 14.1622 13.6772 14.1631C12.1145 14.1631 10.5508 14.1631 8.98811 14.1631H8.98899Z",fill:e.color}),t.jsx("path",{d:"M8.97232 11.1455C7.30652 11.1455 5.64072 11.1473 3.9758 11.1446C3.49659 11.1446 3.19443 10.7881 3.2975 10.3579C3.35828 10.1027 3.55825 9.91601 3.81724 9.88223C3.9115 9.86979 4.00751 9.8689 4.10265 9.8689C7.35321 9.8689 10.6038 9.8689 13.8543 9.8689C13.9424 9.8689 14.0305 9.8689 14.1177 9.87868C14.4586 9.9169 14.6912 10.1863 14.6824 10.5277C14.6736 10.8646 14.4234 11.1313 14.0798 11.1411C13.6623 11.1526 13.2438 11.1455 12.8254 11.1455C11.5411 11.1455 10.2576 11.1455 8.9732 11.1455H8.97232Z",fill:e.color}),t.jsx("path",{d:"M11.9132 5.12242C11.2314 5.12242 10.5487 5.12775 9.86683 5.12064C9.36295 5.11531 9.04935 4.70369 9.20351 4.26629C9.29072 4.01825 9.50302 3.84401 9.76553 3.84401C11.2032 3.83956 12.6408 3.83867 14.0785 3.84401C14.3991 3.84578 14.6502 4.10182 14.6757 4.41476C14.7021 4.74103 14.5119 5.01662 14.1983 5.09219C14.0996 5.11531 13.9948 5.12153 13.8935 5.12153C13.2337 5.1242 12.573 5.12242 11.9132 5.12242Z",fill:e.color}),t.jsx("path",{d:"M11.932 6.85605C12.6358 6.85605 13.3397 6.84716 14.0435 6.85872C14.5456 6.86761 14.8372 7.37524 14.6003 7.80197C14.4831 8.01355 14.2981 8.12735 14.0611 8.12824C12.6385 8.13179 11.2158 8.13446 9.79313 8.12646C9.42931 8.12468 9.16416 7.83664 9.16504 7.48903C9.16592 7.14231 9.43284 6.86316 9.79753 6.85783C10.5084 6.84894 11.2202 6.85516 11.9311 6.85516L11.932 6.85605Z",fill:e.color})]}),t.jsx("defs",{children:t.jsx("clipPath",{id:"clip0_3111_1972",children:t.jsx("rect",{width:"21",height:"18",fill:"white",transform:"translate(0.293945)"})})})]}),Mr=e=>t.jsx("svg",{...e,width:"18",height:"14",viewBox:"0 0 18 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.65269 5.62979C8.40719 4.79574 9.48503 4.79574 10.1317 5.62979C10.4551 5.98723 10.6707 6.58298 10.6707 7.05957C10.6707 7.53617 10.4551 8.01277 10.1317 8.48936C9.37724 9.3234 8.2994 9.3234 7.65269 8.48936C7.00599 7.65532 7.00599 6.46383 7.65269 5.62979ZM3.55689 7.05957C3.55689 5.51064 4.09581 4.08085 5.17365 3.00851C5.49701 2.65106 6.03593 2.65106 6.46707 3.00851C6.57485 3.24681 6.68263 3.48511 6.68263 3.7234C6.68263 3.9617 6.57485 4.2 6.46707 4.31915C5.17365 5.74894 5.17365 8.13192 6.46707 9.68085C6.79042 10.0383 6.79042 10.634 6.46707 10.9915C6.14371 11.3489 5.60479 11.3489 5.28144 11.1106L5.17365 10.9915C4.09581 10.0383 3.55689 8.60851 3.55689 7.05957ZM14.3353 7.05957C14.3353 8.60851 13.7964 10.0383 12.7186 11.1106C12.3952 11.4681 11.8563 11.4681 11.4251 11.1106C11.2096 10.8723 11.2096 10.634 11.2096 10.3957C11.2096 10.1574 11.3174 9.91915 11.4251 9.8L11.5329 9.68085C12.8263 8.25106 12.8263 5.86808 11.5329 4.31915C11.2096 3.9617 11.2096 3.36596 11.5329 3.00851C11.8563 2.65106 12.3952 2.65106 12.7186 2.88936L12.8263 3.00851C13.7964 4.08085 14.3353 5.51064 14.3353 7.05957ZM0 7.05957C0 4.55745 0.862275 2.17447 2.58683 0.387234C2.91018 0.0297874 3.4491 0.0297874 3.88024 0.387234C3.98802 0.625532 4.09581 0.744681 4.09581 1.10213C4.09581 1.34043 3.98802 1.57872 3.88024 1.69787C2.47904 3.24681 1.83234 5.03404 1.83234 7.05957C1.83234 9.08511 2.58683 10.8723 3.88024 12.4213C4.20359 12.7787 4.20359 13.3745 3.88024 13.7319C3.55689 14.0894 3.01796 14.0894 2.58683 13.7319C0.862275 11.9447 0 9.5617 0 7.05957ZM18 7.05957C18 9.5617 17.1377 11.9447 15.4132 13.7319C15.0898 14.0894 14.5509 14.0894 14.1198 13.7319C13.9042 13.4936 13.9042 13.3745 13.9042 13.017C13.9042 12.7787 14.012 12.5404 14.1198 12.4213L14.2275 12.3021C15.521 10.8723 16.2754 8.96596 16.2754 6.94043C16.2754 4.91489 15.521 3.12766 14.2275 1.57872C13.9042 1.22128 13.9042 0.625532 14.2275 0.268085C14.5509 -0.0893617 15.0898 -0.0893617 15.521 0.268085C17.0299 2.17447 18 4.55745 18 7.05957Z",fill:"currentColor"})}),Br=({menu:e,alertZone:n,children:a,sidebar:s,cintillo:o,tapeTitle:r,socialIcons:i=!0,option:l,icon:d,socials:c,copyrigth:h,rightZone:C,sidebarExtra:u,showAlertPop:w,texts:f,searchLink:m})=>{const p={op1:t.jsx(tn,{icon:d,sidebar:s,alertZone:n,menuText:f.menuText??"Menú",editionText:f.editionText??"Periódico Digital",menu:e,cintillo:o,socialIcons:i,tapeTitle:r,socials:c,copyrigth:h,showAlertPop:w,searchKeyWord:f.searchKeyWord,rightZone:C,sidebarExtra:u,searchLink:m,children:a}),op2:t.jsx(tn,{icon:d,sidebar:s,alertZone:n,menuText:f.menuText??"Menú",editionText:f.editionText??"Periódico Digital",menu:e,cintillo:o,socialIcons:i,tapeTitle:r,showAlertPop:w,socials:c,searchKeyWord:f.searchKeyWord,copyrigth:h,searchLink:m,rightZone:C,sidebarExtra:u,children:a}),op3:t.jsx(tn,{icon:d,sidebar:s,alertZone:n,menuText:f.menuText??"Menú",editionText:f.editionText??"Periódico Digital",showOnlyStickyHeader:!0,menu:e,cintillo:o,socialIcons:i,tapeTitle:r,searchKeyWord:f.searchKeyWord,showAlertPop:w,socials:c,searchLink:m,sidebarExtra:u,rightZone:t.jsxs(t.Fragment,{children:[t.jsxs(ct,{id:"button-app","aria-label":"button_1","aria-labelledby":"button_1",title:"button_1",children:[t.jsx(Ir,{color:"var(--header-icons)"}),t.jsx("p",{style:{lineHeight:0}})]}),t.jsxs(ct,{children:[t.jsx(Mr,{style:{minWidth:"fit-content"}}),t.jsx("p",{style:{lineHeight:0,padding:0},children:f.enVivoButton})]})]}),copyrigth:h,children:a})};return l?p[l]:null},Dr=e=>{switch(e.option){case"op1":return t.jsx(Va,{freeZone:e.freeZone,socials:e.socials,socialNetworks:e.socialNetworks});case"op2":return t.jsx(Qa,{...e});default:return t.jsx(t.Fragment,{})}},Ve={content:"_content_1elhb_1",newsContentSection:"_newsContentSection_1elhb_5",itemContent:"_itemContent_1elhb_10",ItemCustomContent:"_ItemCustomContent_1elhb_16"},g1=e=>{const{item:n,option:a}=e;switch(a){case"ediciones":return t.jsx("div",{className:Ve.ItemCustomContent});case"columnistasnacionales":return t.jsx("div",{className:Ve.ItemCustomContent,children:t.jsx(C1,{data:n,autorIcon:e.autorIcon,paths:e.paths})});case"columnistaslocales":return t.jsx("div",{className:Ve.ItemCustomContent,children:t.jsx(C1,{data:n,autorIcon:e.autorIcon,paths:e.paths})});case"columnistas":return t.jsx("div",{className:Ve.ItemCustomContent,children:t.jsx(C1,{data:n,autorIcon:e.autorIcon,paths:e.paths})});default:return t.jsx("div",{className:Ve.ItemCustomContent,children:t.jsx(Ee,{...n,paths:e.paths})})}},Hr=e=>{const{data:n,currentPage:a,banners:s,slug:o,ranking:r,pathname:i,texts:l={}}=e,d=[3,8,13],c={3:1,8:2,13:3};switch(e.option){case"op1":return t.jsx($1,{ranking:r,readestTitle:l.readestTitle??"",paths:e.paths,bannerTop:t.jsx(ne,{banners:s??[],name:"right_1"}),banner:t.jsx(ne,{banners:s??[],name:"right_2"}),children:t.jsx("section",{className:Ve.content,children:n.length>0?t.jsx(c1,{className:[Ve.newsContentSection,"padding-0"].join(" "),paginatorComponent:t.jsx(xt,{texts:l,pathname:i,query:"",currentPage:a,maxPages:e.PAGINATION_MAX_PAGES,showNext:!(n.length<e.NEWS_PER_SECTION)}),children:Array.isArray(n)&&n?.map((h,C)=>t.jsxs(y.Fragment,{children:[d.includes(C+1)&&t.jsx("div",{className:Ve.itemContent+" banner-context",children:t.jsx(ne,{banners:s??[],name:`block_2_${c[C+1]}`})}),t.jsx(g1,{autorIcon:e.autorIcon,item:h,option:o,paths:e.paths},C)]},C))}):t.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:t.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:l.sectionNotResultMessage})})})});case"op2":return t.jsx(t.Fragment,{children:n.length>0?t.jsx(c1,{className:"padding-0",paginatorComponent:t.jsx(xt,{texts:l,pathname:i,query:"",currentPage:a,maxPages:e.PAGINATION_MAX_PAGES,showNext:!(n.length<e.NEWS_PER_SECTION)}),children:Array.isArray(n)&&n?.map((h,C)=>t.jsxs(y.Fragment,{children:[d.includes(C+1)&&t.jsx("div",{className:Ve.itemContent,children:t.jsx(ne,{banners:s??[],name:`block_2_${c[C+1]}`})}),t.jsx(g1,{autorIcon:e.autorIcon,item:h,option:o,paths:e.paths},C)]},C))}):t.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:t.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:l.sectionNotResultMessage})})});default:return t.jsx(t.Fragment,{})}},ls={content:"_content_gwsqy_1",contactInfoContent:"_contactInfoContent_gwsqy_7"},Vr=e=>{const{data:n}=e;return t.jsx("section",{className:ls.content,children:n.map((a,s)=>t.jsx("div",{className:ls.contactInfoContent,dangerouslySetInnerHTML:{__html:a.body.rendered}},s))})},nn={tagContent:"_tagContent_ee6yw_1",contentLayout2:"_contentLayout2_ee6yw_9",contentHeader:"_contentHeader_ee6yw_42"},Or={content:"_content_1rbrt_1"},Qr=({children:e,className:n=""})=>t.jsx("div",{className:`content-layout-2 ${Or.content} ${n}`,children:e}),Bt={container:"_container_1insg_1",note:"_note_1insg_10",commercial:"_commercial_1insg_50",commercialContent:"_commercialContent_1insg_67",complement:"_complement_1insg_83"},Pr=e=>t.jsxs("section",{className:Bt.container,children:[t.jsx("div",{className:Bt.note,children:e.children}),t.jsx("div",{className:Bt.commercial,children:t.jsxs("div",{className:Bt.commercialContent,children:[e.slug==="liveblogs"&&t.jsx(za,{itemList:e.itemList}),e.bannerTop,t.jsx(r1,{content:e.ranking,title:e.texts.readestTitle,paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px"}}),t.jsx("div",{style:{position:"sticky",top:"110px"},children:e.banner})]})}),t.jsx("div",{className:Bt.complement,children:e.complement})]}),jr=e=>{const n={...e.news[0],config:{zonehome:void 0,priorityhome:"",zonesection:"",prioritysection:",",homepreview:"",showcomments:!1,showtime:!1,showauthor:!1,showuppertitle:!1,showsubtitle:!0,showads:!1},main:{...e.news[0]?.main,title:{...e.news[0]?.main.title,section:e.news[0]?.main.title.article??""}},info:{...e.news[0]?.info,link:{url:void 0,target:void 0}}};switch(e.option){case"liveblogs":return t.jsx("div",{style:{"--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-image-height-desk":"600px","--news-image-height-mobile":"420px","--news-image-description-display":"none"},children:t.jsx(Ga,{...n,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px"})});default:return t.jsx("div",{className:nn.contentHeader,style:{"--section-card-chip-padding":"0 0 0 6px","--uppertitle-display":"block","--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-description-content-gap":"0px","--section-card-chip-margin":"0 0 10px","--news-description-subtitle-margin":"22px 0 0"},children:t.jsx(rt,{...n,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px",cutSubtitle:!1,colorSubTitle:"black",isTitle:!0,paths:e.paths})})}},mt={content:"_content_16ydf_1",tags:"_tags_16ydf_10",chipStyled:"_chipStyled_16ydf_20",tagLink:"_tagLink_16ydf_47",tagStyled:"_tagStyled_16ydf_53"},Gr=e=>{const n=a=>{const s=a.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ñ/g,"n").replace(/Ñ/g,"n").replace(/[^\w\s]/gi,"").replaceAll(" ","-").toLowerCase();return`/${e.paths.tema}/${s}-t${a.id}`};return t.jsx("section",{className:mt.content,children:Array.isArray(e.tags)&&t.jsxs("div",{className:mt.tags,children:[t.jsx("p",{className:mt.tagStyled,children:"Tags:"}),e.tags.map((a,s)=>a.approved?t.jsx(T,{href:n(a),children:t.jsx("div",{className:`${mt.chipStyled} ${mt.tagLink}`,children:a.name})},s):t.jsx("div",{className:mt.chipStyled,children:a.name},s))]})})},xe={contentBox:"_contentBox_1rkkg_1",content:"_content_1rkkg_1",imageStyled:"_imageStyled_1rkkg_16",contentIconStyled:"_contentIconStyled_1rkkg_23",avatarContent:"_avatarContent_1rkkg_43",journalistSection:"_journalistSection_1rkkg_50",journalistInfo:"_journalistInfo_1rkkg_56",socialNetworkSection:"_socialNetworkSection_1rkkg_70",article:"_article_1rkkg_83"},zr=async e=>{const{autor:n}=e;return n.addtional.USER_SHOWBIO&&t.jsx("section",{className:xe.contentBox,children:t.jsxs("div",{className:xe.content,children:[t.jsxs("div",{className:xe.avatarContent,children:[t.jsx(T,{className:xe.journalistInfo,href:`/${e.paths.autor}/${n.info.name}`,children:n.info.image?t.jsx("img",{fetchPriority:"low",loading:"lazy",className:xe.imageStyled,src:await te(n.info.image.sizes[0]?.url||"")}):t.jsx("div",{className:xe.contentIconStyled,children:e.autorIcon()})}),t.jsxs("section",{className:xe.journalistSection,children:[t.jsx("h3",{className:xe.journalistInfo,children:t.jsx(T,{href:`/${e.paths.autor}/${n.info.name}`,children:n.info.fullname})}),t.jsxs("section",{className:xe.socialNetworkSection,children:[n.addtional.USER_USERFB&&t.jsx("a",{href:n.addtional.USER_USERFB,target:"_blank",rel:"noreferrer",children:t.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M16.7266 4H14.545C12.1067 4 10.5025 5.52672 10.5025 7.96947V9.80153H8.32083C8.12833 9.80153 8 9.92366 8 10.1069V12.7328C8 12.916 8.12833 13.0382 8.32083 13.0382H10.5025V19.6947C10.5025 19.8779 10.6308 20 10.8233 20H13.7108C13.9033 20 14.0316 19.8779 14.0316 19.6947V13.0382H16.5983C16.7908 13.0382 16.9191 12.916 16.9191 12.7328V10.1069C16.9191 10.0458 16.855 9.92366 16.7908 9.8626C16.7266 9.80153 16.6625 9.74046 16.5341 9.74046H13.9675V8.21374C13.9675 7.48092 14.16 7.1145 15.1866 7.1145H16.6625C16.855 7.1145 16.9833 6.99237 16.9833 6.80916V4.36641C17.0475 4.12214 16.9191 4 16.7266 4Z",stroke:"black",strokeWidth:"1.4"})})}),n.addtional.USER_USERIG&&t.jsx("a",{href:n.addtional.USER_USERIG,target:"_blank",rel:"noreferrer",children:t.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsxs("g",{clipPath:"url(#clip0_281_2357)",children:[t.jsx("path",{d:"M7.98634 4.06233C10.9335 4.1651 14.0152 3.89192 16.947 4.05106C19.1239 4.16908 20.8447 5.87246 20.9992 8.04131V17.0111C20.8646 19.1408 19.1378 20.8608 17.0113 21H8.04335C5.91354 20.8654 4.19406 19.1388 4.05551 17.0111C4.18345 14.0751 3.88383 10.9919 4.05353 8.07313C4.17682 5.95269 5.86648 4.21616 7.98634 4.06233ZM7.9532 5.4859C6.65331 5.64503 5.63713 6.68072 5.48201 7.97964L5.47804 17.0442C5.62586 18.3902 6.69175 19.4518 8.04136 19.5784L17.0445 19.5764C18.3901 19.4319 19.4514 18.3611 19.578 17.0131L19.576 8.00882C19.4321 6.67277 18.3788 5.6205 17.0445 5.47662L7.9532 5.4859Z",fill:"black"}),t.jsx("path",{d:"M15.527 9.52595C17.7019 11.7008 16.868 15.4802 13.9752 16.5079C10.6708 17.6815 7.47508 14.6354 8.47999 11.2771C9.38614 8.24892 13.2851 7.28484 15.5263 9.52662L15.527 9.52595ZM12.1894 9.72288C9.96615 9.94898 8.93936 12.6602 10.3771 14.3629C11.8149 16.0656 14.5877 15.4769 15.2168 13.3796C15.8458 11.2824 14.2529 9.51269 12.1894 9.72288Z",fill:"black"}),t.jsx("path",{d:"M17.0868 6.87507C18.5955 6.84324 18.4874 9.24614 16.8939 8.96965C15.7213 8.76609 15.8227 6.90159 17.0868 6.87507Z",fill:"black"})]}),t.jsx("defs",{children:t.jsx("clipPath",{id:"clip0_281_2357",children:t.jsx("rect",{width:"17",height:"17",fill:"white",transform:"translate(4 4)"})})})]})}),n.addtional.USER_USERTWT&&t.jsx("a",{href:n.addtional.USER_USERTWT,target:"_blank",rel:"noreferrer",children:t.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M3.43242 4.23888L10.0354 13.0628L3.39062 20.2389H4.88316L10.6981 13.9583L15.3966 20.2389H20.4832L13.51 10.9135L19.6951 4.23291H18.2026L12.8473 10.018L8.51898 4.23291H3.43242V4.23888ZM5.62943 5.33739H7.96973L18.2921 19.1404H15.9518L5.62943 5.33739Z",fill:"#010101"})})}),n.addtional.USER_USERLIN&&t.jsx("a",{href:n.addtional.USER_USERLIN,target:"_blank",rel:"noreferrer",children:t.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{d:"M13.1553 9.97173C13.2123 9.98635 13.2208 9.9478 13.2536 9.92189C13.9389 9.38958 14.1885 9.05464 15.1143 8.85195C17.735 8.27844 20.2954 9.68265 20.4618 12.5449C20.6046 15.0084 20.3504 17.6121 20.4618 20.0903C20.4316 20.4372 20.1892 20.6425 19.8557 20.6718C18.9876 20.7475 18.0154 20.6133 17.1361 20.6704C16.8583 20.6465 16.5825 20.4578 16.5609 20.1574C16.4875 18.1631 16.6637 16.0916 16.5642 14.1066C16.5334 13.4979 16.462 12.9835 15.9182 12.6353C14.805 11.9215 13.5333 12.6346 13.4495 13.9405C13.3197 15.9488 13.5484 18.1006 13.4521 20.1235C13.4383 20.4491 13.1795 20.6392 12.8768 20.6698C11.917 20.7675 10.8058 20.5967 9.82899 20.6718C9.59116 20.6478 9.35988 20.5422 9.2793 20.2989V9.41284C9.35006 9.20815 9.53219 9.08654 9.7353 9.04467C10.6604 9.10581 11.7061 8.95363 12.6161 9.04068C12.8126 9.05929 13.1553 9.2786 13.1553 9.49059V9.97239V9.97173ZM9.84668 20.1062H12.8768L12.926 20.0564V13.6766C12.926 12.7821 13.9657 11.877 14.8103 11.7999C16.2163 11.6717 17.0464 12.6253 17.1191 13.9763C17.2252 15.9468 17.0418 18.0115 17.1178 19.9919L17.1689 20.1062H19.8551L19.9062 19.9919L19.9042 12.5808C19.6992 9.46068 16.1671 8.36948 13.8924 10.104L12.6318 11.4005V9.60622H9.84733V20.1062H9.84668Z",fill:"black",stroke:"black",strokeWidth:"0.5"}),t.jsx("path",{d:"M4.6294 9.04917C5.38612 8.92822 6.41671 9.11629 7.2016 9.04917C7.53181 9.13755 7.79847 9.39274 7.8666 9.73698L7.88102 19.9233C7.84564 20.243 7.56326 20.5387 7.26581 20.6284C6.93888 20.7261 5.19219 20.7095 4.78926 20.667C4.38633 20.6244 4.10854 20.3958 3.99061 20.015L3.9834 9.75626C3.99781 9.43062 4.31885 9.09967 4.6294 9.04917ZM4.72702 9.61338C4.60319 9.64926 4.53243 9.75692 4.53833 9.88717L4.54685 19.8834C4.59729 20.0502 4.72767 20.0901 4.88426 20.1061C5.31012 20.1493 6.64078 20.1659 7.03781 20.0988C7.18064 20.0748 7.32085 19.9884 7.32478 19.825L7.31626 9.86392C7.29464 9.73831 7.20554 9.62933 7.07647 9.60872L4.72702 9.61404V9.61338Z",fill:"black",stroke:"black",strokeWidth:"0.5"}),t.jsx("path",{d:"M8.16428 6.20159C8.16428 7.45495 7.16252 8.47105 5.92687 8.47105C4.69121 8.47105 3.68945 7.45495 3.68945 6.20159C3.68945 4.94824 4.69121 3.93213 5.92687 3.93213C7.16252 3.93213 8.16428 4.94824 8.16428 6.20159ZM7.60345 6.20358C7.60345 5.2639 6.85263 4.50165 5.92556 4.50165C4.99849 4.50165 4.24766 5.26324 4.24766 6.20358C4.24766 7.14393 4.99849 7.90552 5.92556 7.90552C6.85263 7.90552 7.60345 7.14393 7.60345 6.20358Z",fill:"black",stroke:"black",strokeWidth:"0.5"})]})})]})]})]}),n.addtional.USER_SHOWBIO&&t.jsx("p",{className:xe.article,dangerouslySetInnerHTML:{__html:`${n.addtional.USER_MIBIO} <a href="/${e.paths.autor}/${n.info.name}">${e.texts.authorViewMore??"Ver más"}</a>`}})]})})},Oe={content:"_content_jrssz_1",contentWithinCard:"_contentWithinCard_jrssz_7",contentDate:"_contentDate_jrssz_13",dateInfo:"_dateInfo_jrssz_20",dot:"_dot_jrssz_30",contentTitle:"_contentTitle_jrssz_38",contentTextList:"_contentTextList_jrssz_47",contentButton:"_contentButton_jrssz_101",linkStyled:"_linkStyled_jrssz_107"},$r={content:"_content_ifkxj_1"},Fr=e=>t.jsx("section",{className:$r.content,id:e.id,children:e.children}),Wr=e=>e.replace(/<p>(\s| )+<\/p>/g,""),Zr=e=>{const n=/src="\/(.*?)"/g;return e.replace(n,`src="${pt()}/$1"`)},cs={2:1,4:2,7:3,10:4,13:5};function Yr(e){return e.replace(/<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,"")}const Kr=async({itemList:e,slug:n,banners:a,texts:s})=>{if(!e||e.length===0||!e[0])return;const o=e[0].list?.items?.map(r=>{const i=Wr(r.body.rendered);let l=Zr(i);return l=Yr(l),{...r,body:{...r.body,rendered:l}}});return t.jsx("section",{className:Oe.content,id:"block-notes-list",children:o?.map((r,i)=>t.jsxs(y.Fragment,{children:[t.jsx(Fr,{id:`item-${i+1}`,children:t.jsxs("div",{className:Oe.contentWithinCard,children:[r.date>0&&t.jsxs("div",{className:Oe.contentDate,children:[t.jsx("span",{className:Oe.dot,style:{background:n==="liveblogs"?"var(--news-liveblog-timeline-datelink-dot-color)":"var(--common-black)"}}),t.jsx("p",{className:Oe.dateInfo,style:{color:n==="liveblogs"?"var(--news-liveblog-timeline-datelink-color)":"var(--common-black)"},children:v1(r.date)})]}),t.jsx("p",{className:Oe.contentTitle,children:e[0]?.list.integrated?r.title:`${r.index}. ${r.title}`}),r.image&&t.jsx(ge,{preview:r.image,isLarge:!0}),t.jsx("div",{className:Oe.contentTextList,dangerouslySetInnerHTML:{__html:r.body.rendered}}),r.related&&t.jsx("div",{className:Oe.contentButton,children:t.jsx("a",{className:Oe.linkStyled,href:r.related??"",target:"”_blank",children:s.blockNoteList_readMore??"Leer Más"})})]})},i),cs[i]&&t.jsx(ne,{banners:a,name:"list_"+cs[i]},i)]},i))})},ds={FaceBook:"facebook",Instagram:"instagram",WhatsApp:"whatsapp",TikTok:"tiktok",Youtube:"youtube",X:"x",Gnews:"gnews",Podcast:"podcast",Telegram:"telegram"},Jr=async e=>{if(!e.news||!e.news.authors)return null;const{news:n,socials:a,texts:s}=e,o=n.authors.map(i=>i.internaluser?`<a href="${`/${e.paths.autor}/${i.name}`}">${i.fullname}</a>`:i.fullname).join(", "),r=i=>n.authors.length===1?-16:i===0?0:i*20;return n.config?.showauthor&&t.jsx("div",{className:ce.content,children:t.jsxs("div",{className:ce.avatarContent,children:[e.shareOnlyWhatsApp?t.jsxs("a",{className:ce.whatsappLink,href:a[ds.WhatsApp].url,rel:"noreferrer",target:"_blank",children:[t.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("g",{clipPath:"url(#clip0_2906_6960)",children:t.jsx("path",{d:"M25.6376 4.36364C22.8169 1.54545 19.0598 0 15.0628 0C6.82908 0 0.125619 6.67045 0.125619 14.8636C0.125619 17.4886 0.810811 20.0455 2.1241 22.2955L0 30L7.91397 27.9318C10.0952 29.1136 12.5504 29.7386 15.0514 29.7386C23.2851 29.7386 29.9886 23.0682 29.9886 14.875C29.9886 10.8977 28.4355 7.17045 25.6148 4.36364M15.0628 27.2273C12.8359 27.2273 10.6433 26.6364 8.74762 25.5L8.29083 25.2273L3.58584 26.4545L4.84202 21.8977L4.54511 21.4318C3.30034 19.4659 2.64941 17.1932 2.64941 14.8523C2.64941 8.04545 8.22231 2.5 15.0742 2.5C18.386 2.5 21.5036 3.78409 23.8561 6.125C26.1972 8.46591 27.4876 11.5682 27.4876 14.8636C27.4876 21.6818 21.9147 27.2159 15.0742 27.2159M21.8805 17.9773C21.5036 17.7955 19.6764 16.8977 19.3338 16.7727C18.9912 16.6477 18.74 16.5909 18.4888 16.9545C18.2375 17.3182 17.5295 18.1591 17.3011 18.4091C17.0841 18.6591 16.8671 18.6932 16.4903 18.5C16.1134 18.3068 14.9144 17.9205 13.4869 16.6591C12.3791 15.6705 11.6254 14.4545 11.4084 14.0909C11.1915 13.7273 11.3856 13.5227 11.5683 13.3295C11.7396 13.1591 11.9452 12.8977 12.1279 12.6818C12.3106 12.4659 12.3791 12.3068 12.5048 12.0568C12.6304 11.8068 12.5619 11.5909 12.4705 11.4091C12.3791 11.2273 11.6254 9.39773 11.3171 8.64773C11.0088 7.92045 10.7118 8.02273 10.472 8.01136C10.255 8.01136 10.0038 8 9.75257 8C9.50133 8 9.10164 8.09091 8.75904 8.46591C8.41644 8.84091 7.45718 9.73864 7.45718 11.5682C7.45718 13.3977 8.7933 15.1591 8.97602 15.4091C9.15874 15.6591 11.6026 19.4091 15.3483 21.0227C16.2391 21.4091 16.9357 21.6364 17.4724 21.8068C18.3632 22.0909 19.1854 22.0455 19.8249 21.9545C20.5443 21.8523 22.0289 21.0568 22.3487 20.1932C22.657 19.3295 22.657 18.5795 22.5657 18.4318C22.4743 18.2727 22.2231 18.1818 21.8462 18",fill:"#7AD16D"})}),t.jsx("defs",{children:t.jsx("clipPath",{id:"clip0_2906_6960",children:t.jsx("rect",{width:"30",height:"30",fill:"white"})})})]}),s.WhatsAppLinkJournalist]}):t.jsx("div",{style:{width:"100%"},"data-hydrate":"ShareButtons","data-props":encodeURIComponent(JSON.stringify({noteShare:e.noteShare})),children:t.jsx(Oa,{noteShare:e.noteShare})}),t.jsxs("section",{className:ce.journalistSection,children:[t.jsx("div",{className:ce.imageContent,style:{width:`${n.authors?.length>2?n.authors?.length*30:n.authors?.length*35}px`},children:Array.isArray(n.authors)&&n.authors?.map(async(i,l)=>i.image?t.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"autor",className:ce.imageStyled,src:await te(i.image.sizes[0]?.url||""),style:{position:"absolute",left:`${r(l)}px`}},i.fullname):t.jsx("div",{style:{position:"absolute",left:`${r(l)}px`},className:ce.contentIconStyled,children:e.autorIcon},i.fullname))}),o&&t.jsx("div",{className:ce.journalistInfoLink,dangerouslySetInnerHTML:{__html:`${s.JournalistPrefix} <h3 style="padding:0px;">${o??"Redaccion"}${n.config?.showtime&&","}</h3> ${n.config?.showtime?v1(n.info.date.modified):null}`}})]})]})})},p1={content:"_content_opb3u_1",journalistArticleContent:"_journalistArticleContent_opb3u_15",contentNews:"_contentNews_opb3u_35",noteSource:"_noteSource_opb3u_392"},Xr={summaryContent:"_summaryContent_wsypg_1"},Rr=async({summary:e})=>e&&e.rendered&&t.jsx("section",{className:Xr.summaryContent,dangerouslySetInnerHTML:{__html:e.rendered}}),hs=async({newsformated:e,internal:n})=>{if(!n)return;const a=new me,s=e.preview.sizes,r=(await a.getNewsMultimedia({path:n,imagesizes:s?s[0]?.scale:"w:801,h:449,t:2;"}))?.data.data[0]?.gallery??[];return t.jsxs("div",{className:d1.content,children:[t.jsx(Ke,{slot_id:"header",fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:r&&r.map((i,l)=>t.jsx(ge,{preview:i,priorityHigh:!0},l))}),t.jsx("div",{className:d1.description,children:r&&r[0]?.description})]})};function ei(e){const n=e.children,a=`${e.slot_id}-`,s=e.visibleItems,o=e.cardGap??20;function r(l){const d=[],c=[];let h="",C=!0;for(let u=0;u<l;u++){const w=`[data-index="${u}"]:checked ~ .carrousel-pagination li:nth-child(${u+1}) {
|
|
50
50
|
background-color:var(--carrousel-pagination-background-color)
|
|
51
51
|
}`;h+=`
|
|
52
52
|
.${a}.carrousel-container {
|
|
@@ -95,7 +95,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
95
95
|
</div>
|
|
96
96
|
${i(n.length)}
|
|
97
97
|
</div>
|
|
98
|
-
`}const ti=e=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"currentColor",...e,children:t.jsx("path",{fill:"currentColor",d:"M9.99 0C4.47 0 0 4.48 0 10s4.47 10 9.99 10C15.52 20 20 15.52 20 10S15.52 0 9.99 0Zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 16.92 6ZM10 2.04c.83 1.2 1.48 2.53 1.91 3.96H8.09C8.52 4.57 9.17 3.24 10 2.04ZM2.26 12C2.1 11.36 2 10.69 2 10s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H2.26Zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 3.08 14Zm2.95-8H3.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 6.03 6ZM10 17.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96ZM12.34 12H7.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2Zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56ZM14.36 12c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38Z"})}),ni=async e=>{const n=/<img\b[^>]*\bsrc=["']([^"']+)["']/g,a=[...e.matchAll(n)],s={};for(const o of a){const r=o[1]??"",i=e.includes(r)?{url:r}:null;if(i){const l=await te(i.url)||"";s[r]=l}}return e.replace(n,(o,r)=>`<img fetchPriority='low' loading='lazy' src="${s[r]||r}"`)},ai=(e,n)=>{const a={2:1,4:2,7:3,10:4,13:5};let s=0,o=e;const r=/<(p|li|ul|ol)>\s*<\/\1>/gi,i=/<(p|li|ul|ol)>(?:&(?:nbsp|#160|ensp|emsp|#8194|#8195);)*?<\/\1>/gi;do o=e.replace(r,"").replace(i,"");while(o.match(r)||o.match(i));return o=o.replace(/<p\b[^>]*?>[\s\S]*?<\/p>|<(ul|ol)[^>]*?>[\s\S]*?<\/\1>/g,l=>{const d=l.replace(/[.*+?^${}()|[\]\\/]/g,"\\$&");if(!new RegExp(`<blockquote[^>]*?>(?:(?!<\\/blockquote>)[\\s\\S])*?${d}[\\s\\S]*?<\\/blockquote>`,"gi").test(o)){s++;const h=n.find(C=>C.key===`block_2_${a[s]}`);return h?`${l}<div class="banner-context">${h.value}</div>`:l}return l}),o},si=e=>{const n=/<div class="ck-image-gallery"[^>]*?>([\s\S]*?)<\/div>/g,a=[...e.matchAll(n)];let s="",o=0;for(const r of a){const[i,l=""]=r,d=r.index,c=d+i.length;s+=e.slice(o,d);const C=[...l.matchAll(/data-src="([^"]+)"/g)].map(f=>f[1]).map(f=>`<img src="${f}" class="carrusel-note-item"/>`),u="gallery_embeded"+d.toString(),w=ei({slot_id:u,children:C,visibleItems:1,cardGap:0});s+=w,o=c}return s+=e.slice(o),s},oi=async(e,n,a)=>{if(!a)return e;const s=/<span data-src="(.*?)"><\/span>/g,o=[...e.matchAll(s)];let r=e;for(const i of o){const l=i[0],d=i[1]??"",c=a.find(k=>d.includes(k?.[0]?.info.link.internal||""));if(!c||!c[0])continue;const h=c[0].preview?.sizes?.[0],C=h?await te(h.url):"",u=c[0].info.section?.url??"#",w=c[0].info.section?.name??"Sección",f=c[0].info.link?.url??"#",m=c[0].main?.title.article??"Título",p=(await Promise.all(c[0].preview?.sizes?.map(async k=>{const E=await te(k.url);return k.width<200?`<source srcset="${E}" media="(width < 750px)"/>`:`<source srcset="${E}" media="(width >= 750px)"/>`}))).reduce((k,E)=>k+=E,""),v=`
|
|
98
|
+
`}const ti=e=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"currentColor",...e,children:t.jsx("path",{fill:"currentColor",d:"M9.99 0C4.47 0 0 4.48 0 10s4.47 10 9.99 10C15.52 20 20 15.52 20 10S15.52 0 9.99 0Zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 16.92 6ZM10 2.04c.83 1.2 1.48 2.53 1.91 3.96H8.09C8.52 4.57 9.17 3.24 10 2.04ZM2.26 12C2.1 11.36 2 10.69 2 10s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H2.26Zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 3.08 14Zm2.95-8H3.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 6.03 6ZM10 17.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96ZM12.34 12H7.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2Zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56ZM14.36 12c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38Z"})}),ni=async e=>{const n=/<img\b[^>]*\bsrc=["']([^"']+)["']/g,a=[...e.matchAll(n)],s={};for(const o of a){const r=o[1]??"",i=e.includes(r)?{url:r}:null;if(i){const l=await te(i.url)||"";s[r]=l}}return e.replace(n,(o,r)=>`<img fetchPriority='low' loading='lazy' alt='imagen' src="${s[r]||r}"`)},ai=(e,n)=>{const a={2:1,4:2,7:3,10:4,13:5};let s=0,o=e;const r=/<(p|li|ul|ol)>\s*<\/\1>/gi,i=/<(p|li|ul|ol)>(?:&(?:nbsp|#160|ensp|emsp|#8194|#8195);)*?<\/\1>/gi;do o=e.replace(r,"").replace(i,"");while(o.match(r)||o.match(i));return o=o.replace(/<p\b[^>]*?>[\s\S]*?<\/p>|<(ul|ol)[^>]*?>[\s\S]*?<\/\1>/g,l=>{const d=l.replace(/[.*+?^${}()|[\]\\/]/g,"\\$&");if(!new RegExp(`<blockquote[^>]*?>(?:(?!<\\/blockquote>)[\\s\\S])*?${d}[\\s\\S]*?<\\/blockquote>`,"gi").test(o)){s++;const h=n.find(C=>C.key===`block_2_${a[s]}`);return h?`${l}<div class="banner-context">${h.value}</div>`:l}return l}),o},si=e=>{const n=/<div class="ck-image-gallery"[^>]*?>([\s\S]*?)<\/div>/g,a=[...e.matchAll(n)];let s="",o=0;for(const r of a){const[i,l=""]=r,d=r.index,c=d+i.length;s+=e.slice(o,d);const C=[...l.matchAll(/data-src="([^"]+)"/g)].map(f=>f[1]).map(f=>`<img src="${f}" class="carrusel-note-item"/>`),u="gallery_embeded"+d.toString(),w=ei({slot_id:u,children:C,visibleItems:1,cardGap:0});s+=w,o=c}return s+=e.slice(o),s},oi=async(e,n,a)=>{if(!a)return e;const s=/<span data-src="(.*?)"><\/span>/g,o=[...e.matchAll(s)];let r=e;for(const i of o){const l=i[0],d=i[1]??"",c=a.find(k=>d.includes(k?.[0]?.info.link.internal||""));if(!c||!c[0])continue;const h=c[0].preview?.sizes?.[0],C=h?await te(h.url):"",u=c[0].info.section?.url??"#",w=c[0].info.section?.name??"Sección",f=c[0].info.link?.url??"#",m=c[0].main?.title.article??"Título",p=(await Promise.all(c[0].preview?.sizes?.map(async k=>{const E=await te(k.url);return k.width<200?`<source srcset="${E}" media="(width < 750px)"/>`:`<source srcset="${E}" media="(width >= 750px)"/>`}))).reduce((k,E)=>k+=E,""),v=`
|
|
99
99
|
<span data-src="${d}">
|
|
100
100
|
<picture style='display: flex'>
|
|
101
101
|
${p}
|
|
@@ -113,4 +113,4 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
113
113
|
${w}
|
|
114
114
|
<figcaption>${C.data.data[0].main.description||""}</figcaption>
|
|
115
115
|
</figure>
|
|
116
|
-
`}o+=u,r=h}return o+=e.slice(r),o}async function ii(e){const{news:n,banners:a,newsRelatedResponses:s,slug:o,itemList:r,socials:i,getVideos:l}=e;let d=n?.body?.rendered??"";d=d.replace(/<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,""),d=d.replace(/ /g,""),d=ai(d,a),d=si(d),d=await ni(d),d=await oi(d,e.texts,s),d=await ri(d,l);const c=n.main.sources??[];return t.jsxs("div",{className:p1.content,children:[o!=="liveblogs"?n.hascontent?.hasgalleryimages?t.jsx(hs,{newsformated:n,internal:n.info.link.internal}):t.jsx(ja,{preview:n.preview}):null,t.jsx(ne,{banners:a,name:"block_1"}),t.jsx("div",{className:p1.journalistArticleContent,children:t.jsx(Jr,{autorIcon:e.autorIcon,socials:i,news:n,texts:e.texts,shareOnlyWhatsApp:e.shareOnlyWhatsApp,noteShare:e.noteShare,paths:e.paths})}),t.jsx(Rr,{summary:n.main.summary}),t.jsx("div",{className:p1.contentNews,suppressHydrationWarning:!0,id:"content-news-section",dangerouslySetInnerHTML:{__html:d}}),t.jsx(Kr,{texts:e.texts,itemList:r,banners:a,slug:o}),c.length>0&&t.jsxs("div",{className:p1.noteSource,children:[t.jsx(ti,{}),t.jsx("p",{children:e.texts.noteSource+(c.length===1?"":"s")+": "+c.map(h=>h.name).join(", ")})]})]})}const li=e=>{const{content:n,title:a,slot_id:s}=e,o=e.slot_id&&e.slot_id!=="Nota_1";return n&&n.length!==0&&t.jsx(R,{title:a,titleUrl:e.titleUrl,children:t.jsx(Ke,{slot_id:s,cardWidth:200,children:n.map((r,i)=>{const l={...r,main:{...r.main,title:{...r.main.title,section:o?r.main.title.home:r.main.title.section}}};return t.jsx(f1,{...l,titleGradient:!0,paths:e.paths},i)})})})},ci=e=>{const{content:n,title:a,slot_id:s}=e,o=e.slot_id&&e.slot_id!=="Nota_1";return n&&n.length!==0&&t.jsx(R,{title:a,titleUrl:e.titleUrl,children:t.jsx(Ke,{slot_id:s,cardWidth:343,cardGap:32,visibleItems:3,children:n.map((r,i)=>{const l={...r,main:{...r.main,title:{...r.main.title,section:o?r.main.title.home:r.main.title.section}}};return t.jsx(f1,{...l,titleGradient:!0,paths:e.paths},i)})})})},di=e=>{const{content:n,title:a,slot_id:s}=e,o=e.slot_id&&e.slot_id!=="Nota_1";return n&&n.length!==0&&t.jsx(R,{title:a,titleUrl:e.titleUrl,children:t.jsx(Ke,{slot_id:s,fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:n.map((r,i)=>{const l={...r,main:{...r.main,title:{...r.main.title,section:o?r.main.title.home:r.main.title.section}}};return y.createElement(f1,{...l,key:i,titleGradient:!0,paths:e.paths})})})})},an=e=>{const n={};for(const a in e)a.startsWith("--")&&(n[a]=e[a]);return n},Je={headerSection:"_headerSection_pwnim_1",title:"_title_pwnim_11",subtitle:"_subtitle_pwnim_23",newsContent:"_newsContent_pwnim_36",containerCards:"_containerCards_pwnim_44",image:"_image_pwnim_50",blockHeadContainer:"_blockHeadContainer_pwnim_56"},hi=e=>{const{content:n,title:a,isVideo:s}=e;if(!n||n.length===0)return;const o=n[0],r=n.slice(1),i=e.slot_id&&e.slot_id!=="Nota_1";return o&&r&&t.jsxs(R,{title:a,titleUrl:e.titleUrl,children:[t.jsx("div",{className:Je.headerSection,children:t.jsxs("a",{style:{"--heightImageOverwriteMobile":"200%"},className:Je.image,href:o?.info?.link?.url,target:o?.info?.link?.target,children:[t.jsxs("div",{className:Je.blockHeadContainer,children:[t.jsx("p",{className:Je.title,children:o?.main?.title.home}),o?.main?.subtitle?.rendered&&t.jsx("p",{className:Je.subtitle,children:o?.main?.subtitle?.striped})]}),t.jsx(ge,{preview:o.preview})]})}),t.jsxs("div",{className:Je.containerCards,children:[t.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),t.jsx("div",{className:Je.newsContent,children:Array.isArray(r)&&r.map((l,d)=>{const c={...l,main:{...l.main,title:{...l.main.title,section:i?l.main.title.home:l.main.title.section}}};return t.jsx("div",{style:{order:d},children:t.jsx(Ee,{...c,isVideo:s,paths:e.paths})},d)})})]})]})},Cs={banner:e=>t.jsx(ne,{...e,name:e.slot_id.replace("Home","block")}),readest:e=>t.jsx(r1,{...e}),"Modulo 1x3":e=>t.jsx(Y1,{...e}),"Modulo 1x4":e=>t.jsx(Ra,{...e}),"Modulo 1x5":e=>t.jsx(es,{...e}),"Destacado noticias":e=>t.jsx(Ya,{...e}),"Destacado full width":e=>t.jsx(hi,{...e}),"Destacado videos":e=>t.jsx(ts,{...e}),"Carrusel card":e=>t.jsx(ss,{...e}),"Carrusel story":e=>t.jsx(li,{...e}),"Carrusel owl":e=>t.jsx(ci,{...e}),"Modulo fotogaleria":e=>t.jsx(di,{...e}),"Carrusel opinion":e=>t.jsx(os,{...e}),"Modulo 1x3 card":e=>t.jsx(as,{...e})};function sn({component:e,slot_id:n,data:a,banners:s}){if(s)return Cs[e]&&t.jsx("div",{className:"home-slot",style:an(a),children:Cs[e]({...a,banners:s,slot_id:n})})}function Ci({children:e,stylesConfigEntry:n}){return t.jsx("div",{className:"home-slot",style:an(n),children:e})}const us={Diario:e=>{if(!e?.data||e.data.length===0)return;const n=e.data.slice(1);return t.jsx(Fa,{...e.data[0],itemReverseOrder:!0,isLarge:!0,block:n,banners:e.banners,rightOnlyBanner:e.rightOnlyBanner,customSectionCardStyles:e.customSectionCardStyles,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})},"Diario con imagen":e=>{if(!e?.data||e.data.length===0)return;const n=e.data.slice(1);return t.jsx(Fa,{...e.data[0],itemReverseOrder:!0,isLarge:!0,block:n,banners:e.banners,customSectionCardStyles:e.customSectionCardStyles,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})},Super:e=>t.jsx(ht,{...e.data[0],paths:e.paths}),"3 notas verticales":e=>t.jsx(yr,{content:e.data,customLargeSection:e.customLargeSection,customSlimSection:e.customSlimSection,paths:e.paths}),"3 notas horizontales":e=>t.jsx(wr,{content:e.data,customLargeSection:e.customLargeSection,customSmallSection:e.customSmallSection,paths:e.paths})},A1=({component:e,data:n,banners:a,rightOnlyBanner:s})=>t.jsx("div",{style:an(n),children:us[e]&&us[e]({...n,rightOnlyBanner:s,banners:a})}),ui=({slots:e,DYNAMIC_SLOT_SUBINDEXES:n,stylesConfig:a,AutorIcon:s,config:o,banners:r})=>{const i=[],d=n,c=Object.keys(e).length/d;for(let h=1;h<=c;h++)for(let C=1;C<=d;C++){const u="Home_"+h+"_"+C;!e[u]||!e[u].blockSass||!e[u].blockSass[0]||!e[u].blockSass[0].value||!e[u].blockSass[0].block||e[u].blockSass[0].block==="No Mostrar"||i.push(t.jsxs(qa,{show:!!e[u].content?.data,order:(h-1)*d+(C-1),children:[t.jsx(sn,{component:e[u].blockSass[0].block,banners:r,slot_id:u,data:{...e[u].blockSass[0].block?a[e[u].blockSass[0].block]:[],content:e[u].content?.data??[],title:e[u].blockSass[0].title??void 0,titleUrl:e[u].blockSass[0].link??void 0,autorIcon:t.jsx(s,{}),paths:o.paths}}),t.jsx(Pe,{children:t.jsx(Te,{banners:r,index:"dynamic_"+h+"_"+C})})]},h+"_"+C))}return i},fi=({mainBlock:e,StylesConfigMain:n,config:a,banners:s})=>{const o=e?.news?.data||[],r=(i,l)=>({...e?.news,...n[i],data:o.slice(0,l),paths:a.paths});return t.jsxs(t.Fragment,{children:[t.jsx(A1,{component:"Super",data:r("Super",1),banners:s}),t.jsx(Pe,{children:t.jsx(Te,{banners:s,index:1})}),t.jsx(A1,{component:"3 notas verticales",data:r("3 notas verticales",3),banners:s}),t.jsx(Pe,{children:t.jsx(Te,{banners:s,index:1})}),t.jsx(A1,{component:"3 notas horizontales",data:r("3 notas horizontales",3),banners:s}),t.jsx(Pe,{children:t.jsx(Te,{banners:s,index:1})})]})},ze={content:"_content_vmnac_1",imageStyled:"_imageStyled_vmnac_20",contentIconStyled:"_contentIconStyled_vmnac_21",contentCard:"_contentCard_vmnac_31",contentInfo:"_contentInfo_vmnac_70",fullName:"_fullName_vmnac_76",LearnMoreLink:"_LearnMoreLink_vmnac_83"},mi=async e=>{const{news:n,texts:a}=e;return n.config?.showauthor&&t.jsx("div",{className:ze.content,children:Array.isArray(n.authors)&&n.authors?.map(async s=>t.jsxs("div",{className:ze.contentCard,children:[s.image?t.jsx("img",{fetchPriority:"low",loading:"lazy",className:ze.imageStyled,src:await te(s.image.sizes[0]?.url||"")},s.fullname):t.jsx("div",{className:ze.contentIconStyled,children:e.autorIcon},s.fullname),t.jsxs("div",{className:ze.contentInfo,children:[s.internaluser?t.jsx("a",{className:ze.fullName,href:`/${e.paths.autor}/${s.name}`,children:s.fullname}):t.jsx("p",{className:ze.fullName,children:s.fullname}),s.internaluser&&t.jsx("a",{className:ze.LearnMoreLink,href:`/${e.paths.autor}/${s.name}`,children:a.JournalistGroupLink})]})]},`author-${s.firstname}`))})},fs={content:"_content_cu8lm_1",title:"_title_cu8lm_18"},gi=async({newsformated:e,internal:n})=>{if(!n)return;const s=await new me().getNewsMultimedia({path:n,imagesizes:e.preview.sizes[0]?.scale});if(!s)return;const o=s.data.data[0]?.videos.filter(r=>r.type==="video-embedded")[0];return t.jsxs("div",{className:fs.content,children:[t.jsx("div",{dangerouslySetInnerHTML:{__html:o?.code??""}}),t.jsx("p",{className:fs.title,children:o?.title})]})},on={content:"_content_cu8lm_1",title:"_title_cu8lm_18"},pi=async({newsformated:e,internal:n})=>{if(!n)return;const s=await new me().getNewsMultimedia({path:n,imagesizes:e.preview.sizes[0]?.scale});if(!s)return;const o=s.data.data[0]?.videos.filter(r=>r.type==="video-youtube")[0];return t.jsxs("div",{className:on.content,children:[t.jsx("iframe",{className:on.iframeStyled,src:`https://www.youtube.com/embed/${o?.code??""}`,frameBorder:"0",allowFullScreen:!0}),t.jsx("p",{className:on.title,children:o?.title})]})},Ai={content:"_content_ezbiw_1"},wi=async({newsformated:e,internal:n})=>{if(!n)return;const s=await new me().getNews({path:n,imagesizes:e.preview.sizes[0]?.scale});if(!s)return;const o=s.data.data[0]?.external?.iframe;return t.jsx("div",{className:Ai.content,dangerouslySetInnerHTML:{__html:o??""}})},rn={content:"_content_156j7_1"},yi=e=>{if(e.news.config.articlepreview==="videoEmbedded")return t.jsx("div",{className:rn.content,children:t.jsx(gi,{newsformated:e.news,internal:e.news.info.link.internal})});if(e.news.config.articlepreview==="videoYouTube")return t.jsx("div",{className:rn.content,children:t.jsx(pi,{newsformated:e.news,internal:e.news.info.link.internal})});if(e.news.config.articlepreview==="iframe")return t.jsx("div",{className:rn.content,children:t.jsx(wi,{newsformated:e.news,internal:e.news.info.link.internal})})},bi=async e=>{const{ranking:n=[],banners:a,news:s=[],autor:o=[],newsRelatedResponses:r=[],itemList:i=[],socials:l,getVideos:d}=e,c=e.slug==="liveblogs";if(!(!s||!s[0]))return t.jsx(t.Fragment,{children:t.jsxs(Qr,{className:nn.contentLayout2,children:[t.jsx(jr,{option:e.slug,news:s,paths:e.paths}),t.jsx(Te,{banners:a,index:1}),!c&&t.jsx(yi,{news:s[0]}),t.jsx(Pr,{texts:e.texts,paths:e.paths,slug:e.slug,itemList:i,ranking:n,bannerTop:t.jsx(ne,{banners:a??[],name:"right_1"}),banner:t.jsx(ne,{banners:a??[],name:"right_2"}),complement:t.jsxs("div",{suppressHydrationWarning:!0,children:[o.length>0&&t.jsx(zr,{texts:e.texts,autorIcon:e.autorIcon,autor:o[0],paths:e.paths}),s[0].authors.length>1&&t.jsx(mi,{news:s[0],autorIcon:e.autorIcon,paths:e.paths,texts:e.texts}),t.jsx("div",{className:nn.tagContent,children:t.jsx(Gr,{tags:s[0]?.keywords?.tags,paths:e.paths})}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2rem"},suppressHydrationWarning:!0,children:[e.showComments&&t.jsx("div",{suppressHydrationWarning:!0,"data-hydrate":"LazyLoader","data-props":encodeURIComponent(JSON.stringify({render:"comment",internalPath:e.internalPath,COGNITO_AUTH_PREFIX:e.COGNITO_AUTH_PREFIX,captchaVars:e.captchaVars}))}),t.jsx(Pe,{children:t.jsx(Te,{banners:a,index:2})}),t.jsx(sn,{component:"Carrusel card",banners:[],slot_id:"Nota_1",data:{...e.stylesConfig["Carrusel card"],content:e.relatedNewsList??[],title:e.texts.relatedNewsTitle,titleUrl:void 0}}),t.jsx(Pe,{children:t.jsx(Te,{banners:a,index:3})}),t.jsx(R,{title:e.texts.moreNewsTitle,children:t.jsx("div",{suppressHydrationWarning:!0,"data-hydrate":"LazyLoader","data-props":encodeURIComponent(JSON.stringify({render:"more",stylesConfig:e.stylesConfig,section:s[0].info.section?.slug??"",currentNews:s[0]}))})}),t.jsx(Pe,{children:t.jsx(Te,{banners:a,index:4})})]})]}),children:t.jsxs("section",{style:{"--avatar-content-align-items-desk":e.slug==="liveblogs"?"flex-start":"center"},children:[t.jsx(ii,{texts:e.texts,autorIcon:e.autorIcon,socials:l,news:s[0],banners:a,newsRelatedResponses:r,itemList:i,slug:e.slug,getVideos:d,shareOnlyWhatsApp:e.shareOnlyWhatsApp,noteShare:e.noteShare,paths:e.paths}),t.jsx(ne,{banners:a??[],name:"block_3"})]})})]})})},gt={content:"_content_nz5ec_1",contentInfo:"_contentInfo_nz5ec_24",imageStyled:"_imageStyled_nz5ec_40",name:"_name_nz5ec_44",description:"_description_nz5ec_48",contentInfoWithoutImg:"_contentInfoWithoutImg_nz5ec_101"},vi=async e=>{const n=e.img?await te(e.img):"";return t.jsx("section",{className:gt.content,children:t.jsxs("div",{className:`${gt.contentInfo} ${n?"":gt.contentInfoWithoutImg}`,children:[e.img&&t.jsx("img",{fetchPriority:"low",loading:"lazy",className:gt.imageStyled,src:n}),t.jsx("h1",{className:gt.name,children:e.tag}),e.description&&t.jsx("div",{className:gt.description,dangerouslySetInnerHTML:{__html:e.description}})]})})},w1={content:"_content_7wvro_1",contentInfo:"_contentInfo_7wvro_23",name:"_name_7wvro_34",description:"_description_7wvro_43"},_i=e=>t.jsx("section",{className:w1.content,style:{color:e.textColor,"--backDropHeigth":e.backDropHeigth?e.backDropHeigth:"100%",padding:e.sectionPadding??"","--backgroundColor":e.backgroundColor},children:t.jsxs("div",{className:w1.contentInfo,children:[t.jsx("h1",{className:w1.name,style:{color:e.textColor},children:e.tag}),e.description&&t.jsx("div",{style:{color:e.textColor},className:w1.description,dangerouslySetInnerHTML:{__html:e.description}})]})}),Ni=e=>{const{option:n,entity:a}=e;switch(n){case"op1":return t.jsx(vi,{tag:a?.name??"",img:a?.image?.url??"",description:a?.description?a?.description:""});case"op2":return t.jsx(_i,{tag:a?.name??"",description:a?.description?a?.description:"",backDropHeigth:e.backDropHeigth,backgroundColor:e.backgroundColor,sectionPadding:e.sectionPadding,textColor:e.textColor});default:return t.jsx(t.Fragment,{})}},Dt={content:"_content_gxziw_1",buttonStyled:"_buttonStyled_gxziw_9",searchStyled:"_searchStyled_gxziw_21",inputStyled:"_inputStyled_gxziw_32",inputStyledTest:"_inputStyledTest_gxziw_51"},Si=e=>t.jsx("svg",{width:"68",height:"68",viewBox:"0 0 68 68",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("g",{opacity:"0.8",children:t.jsx("path",{d:"M47.8043 46.6003L47.6635 46.7758L47.8232 46.9342L56.4762 55.5171C56.4768 55.5177 56.4774 55.5184 56.478 55.519C56.8524 55.9072 57.0616 56.4256 57.0616 56.965C57.0616 57.5048 56.8521 58.0234 56.4774 58.4117C56.2839 58.6065 56.0539 58.7611 55.8005 58.8667C55.5466 58.9724 55.2743 59.0269 54.9993 59.0269C54.7243 59.0269 54.452 58.9724 54.1981 58.8667C53.9442 58.7609 53.7138 58.6059 53.5201 58.4106L53.5194 58.4099L44.9327 49.8232L44.7743 49.6648L44.5995 49.805C40.4597 53.1252 35.2051 54.7331 29.9162 54.2981C24.6272 53.863 19.706 51.4181 16.1643 47.4661C12.6227 43.514 10.7298 38.3552 10.875 33.0503C11.0201 27.7455 13.1923 22.6979 16.9447 18.9455C20.6972 15.193 25.7448 13.0209 31.0496 12.8757C36.3544 12.7305 41.5133 14.6234 45.4653 18.165C49.4174 21.7067 51.8623 26.6279 52.2974 31.9169C52.7324 37.2058 51.1245 42.4604 47.8043 46.6003ZM22.4528 47.4552C25.1799 49.2774 28.3861 50.25 31.666 50.25C36.0641 50.25 40.2822 48.5029 43.3921 45.3929C46.5021 42.2829 48.2493 38.0649 48.2493 33.6667C48.2493 30.3868 47.2767 27.1806 45.4545 24.4535C43.6323 21.7264 41.0423 19.6008 38.0121 18.3457C34.9819 17.0905 31.6476 16.7621 28.4307 17.402C25.2139 18.0419 22.259 19.6213 19.9398 21.9405C17.6205 24.2597 16.0411 27.2146 15.4013 30.4314C14.7614 33.6483 15.0898 36.9827 16.345 40.0129C17.6001 43.0431 19.7256 45.633 22.4528 47.4552Z",fill:"white",stroke:"white",strokeWidth:"0.5"})})}),ki=e=>t.jsx("form",{className:Dt.content,style:{height:e.hasContent?"218px":"50vh"},children:t.jsxs("div",{className:Dt.inputStyled,children:[t.jsx("input",{className:Dt.inputStyledTest,defaultValue:e.query,name:"query",placeholder:e.texts.searchKeyWord+"..."}),t.jsx("button",{className:Dt.buttonStyled,type:"submit",children:t.jsx(Si,{className:Dt.searchStyled})})]})}),fe={content:"_content_1mv2w_1",contentInfo:"_contentInfo_1mv2w_13",contentAuthor:"_contentAuthor_1mv2w_26",imageStyled:"_imageStyled_1mv2w_33",contentIconStyled:"_contentIconStyled_1mv2w_42",name:"_name_1mv2w_63",email:"_email_1mv2w_71",description:"_description_1mv2w_81",contenSocialNetwork:"_contenSocialNetwork_1mv2w_92",socialIcon:"_socialIcon_1mv2w_102"},Ei=async e=>{const{autor:n,autorIcon:a}=e,s=a;return t.jsx("section",{className:fe.content,children:t.jsxs("div",{className:fe.contentInfo,children:[n.info.image?t.jsx("img",{fetchPriority:"low",loading:"lazy",className:fe.imageStyled,src:await te(n.info.image.sizes[0]?.url||"")}):t.jsx("div",{className:fe.contentIconStyled,children:t.jsx(s,{})}),t.jsxs("div",{className:fe.contentAuthor,children:[t.jsx("h1",{className:fe.name,children:n.info.fullname}),n.addtional.USER_SHOWEMAIL&&t.jsx("p",{className:fe.email,children:n.info.email}),n.addtional.USER_SHOWBIO&&t.jsx("p",{className:fe.description,children:n.addtional.USER_MIBIO}),t.jsxs("div",{className:fe.contenSocialNetwork,children:[n.addtional.USER_USERFB&&t.jsx("a",{href:n.addtional.USER_USERFB,target:"_blank",rel:"noreferrer",children:t.jsx(O1,{className:fe.socialIcon})}),n.addtional.USER_USERIG&&t.jsx("a",{href:n.addtional.USER_USERIG,target:"_blank",rel:"noreferrer",children:t.jsx(Q1,{className:fe.socialIcon,style:{padding:"4px"}})}),n.addtional.USER_USERTWT&&t.jsx("a",{href:n.addtional.USER_USERTWT,target:"_blank",rel:"noreferrer",children:t.jsx(kt,{className:fe.socialIcon})}),n.addtional.USER_USERLIN&&t.jsx("a",{href:n.addtional.USER_USERLIN,target:"_blank",rel:"noreferrer",children:t.jsx(i1,{className:fe.socialIcon})})]})]})]})})},we={content:"_content_1wqqj_1",contentInfo:"_contentInfo_1wqqj_23",imageStyled:"_imageStyled_1wqqj_31",contentIconStyled:"_contentIconStyled_1wqqj_42",name:"_name_1wqqj_66",email:"_email_1wqqj_75",description:"_description_1wqqj_91",contenSocialNetwork:"_contenSocialNetwork_1wqqj_103",socialIcon:"_socialIcon_1wqqj_113"},xi=async e=>{const{autor:n,autorIcon:a}=e,s=a;return t.jsx("section",{className:we.content,children:t.jsxs("div",{className:we.contentInfo,children:[n.info.image?t.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"",className:we.imageStyled,src:await te(n.info.image.sizes[0]?.url||"")}):t.jsx("div",{className:we.contentIconStyled,children:t.jsx(s,{})}),t.jsx("h1",{className:we.name,children:n.info.fullname}),n.addtional.USER_SHOWEMAIL&&t.jsx("p",{className:we.email,children:n.info.email}),n.addtional.USER_SHOWBIO&&t.jsx("p",{className:we.description,children:n.addtional.USER_MIBIO}),t.jsxs("div",{className:we.contenSocialNetwork,children:[n.addtional.USER_USERFB&&t.jsx("a",{href:n.addtional.USER_USERFB,target:"_blank",rel:"noreferrer",children:t.jsx(O1,{className:we.socialIcon})}),n.addtional.USER_USERIG&&t.jsx("a",{href:n.addtional.USER_USERIG,target:"_blank",rel:"noreferrer",children:t.jsx(Q1,{className:we.socialIcon})}),n.addtional.USER_USERTWT&&t.jsx("a",{href:n.addtional.USER_USERTWT,target:"_blank",rel:"noreferrer",children:t.jsx(kt,{className:we.socialIcon})}),n.addtional.USER_USERLIN&&t.jsx("a",{href:n.addtional.USER_USERLIN,target:"_blank",rel:"noreferrer",children:t.jsx(i1,{className:we.socialIcon})})]})]})})},ln={content:"_content_io3tv_1",newsContentSection:"_newsContentSection_io3tv_5",itemContent:"_itemContent_io3tv_10"},qi=e=>{const{data:n,option:a,autor:s,page:o,banners:r,pathname:i,ranking:l,currentPage:d,slug:c,texts:h={}}=e,C=[5,10,15],u={5:1,10:2,15:3};switch(a){case"op1":return t.jsx(t.Fragment,{children:t.jsxs(G1,{children:[t.jsx(xi,{autor:s[0],autorIcon:e.autorIcon}),t.jsx($1,{paths:e.paths,ranking:l,readestTitle:h.readestTitle??"",bannerTop:t.jsx(ne,{banners:r??[],name:"right_1"}),banner:t.jsx(ne,{banners:r??[],name:"right_2"}),children:t.jsx("section",{className:ln.content,children:n.length>0?t.jsx(c1,{className:[ln.newsContentSection,"padding-0"].join(" "),paginatorComponent:t.jsx(xt,{texts:h,pathname:i,query:"",currentPage:d,maxPages:e.paginationLimit,showNext:!(n.length<e.newsListLimit)}),children:Array.isArray(n)&&n?.map((w,f)=>t.jsxs(y.Fragment,{children:[C.includes(f+1)&&t.jsx("div",{className:ln.itemContent+" banner-context",children:t.jsx(ne,{banners:r??[],name:`block_2_${u[f+1]}`})}),t.jsx(g1,{autorIcon:e.autorIcon,item:w,option:c,paths:e.paths},f)]},f))}):t.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:t.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:h.autorNotResultMessage})})})})]})});case"op2":return t.jsx(t.Fragment,{children:t.jsxs(G1,{children:[t.jsx(Ei,{autor:s[0],autorIcon:e.autorIcon}),Array.isArray(n)?t.jsxs(t.Fragment,{children:[t.jsx(Y1,{content:n,title:"",hasLines:!0,banners:e.banners,bannerPositionIndex:[1,6,12],paths:e.paths,slot_id:"block_2"}),t.jsx(xt,{texts:h,query:"",pathname:i,maxPages:Number(e.paginationLimit),currentPage:Number(o),showNext:!((n.length??0)<Number(e.newsListLimit))})]}):t.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:t.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:h.autorNotResultMessage})})]})});default:return t.jsx(t.Fragment,{})}},ms={content:"_content_pq89v_1",videoContent:"_videoContent_pq89v_9"},Ht={container:"_container_1xr2t_1",playStyled:"_playStyled_1xr2t_6",imageStyled:"_imageStyled_1xr2t_13",longer:"_longer_1xr2t_26",contentNews:"_contentNews_1xr2t_31",tagContent:"_tagContent_1xr2t_51",tag:"_tag_1xr2t_51",titular:"_titular_1xr2t_68",small:"_small_1xr2t_81",figure:"_figure_1xr2t_87",backDrop:"_backDrop_1xr2t_92",backDropAux:"_backDropAux_1xr2t_100"},gs=async e=>{const{size:n="longer",video:a}=e,s=a.main.image.original.url;return t.jsx("figure",{className:Ht.figure,children:t.jsxs("span",{className:Ht.backdrop,children:[t.jsx("span",{className:Ht.backDropAux}),t.jsx(T,{href:a.info.link.url,target:a.info.link.target,children:t.jsxs("div",{children:[a.main.image.sizes.map(async(o,r)=>o.width>=580?t.jsx("source",{media:"(width >=900px)",srcSet:await te(o.url)},r):t.jsx("source",{media:"(width <900px)",srcSet:await te(o.url)},r)),t.jsx("img",{fetchPriority:"low",loading:"lazy",className:[Ht.imageStyled,Ht[n]].join(" "),alt:"",src:s?await te(s):""})]})})]})})},Ti=e=>{const{videos:n}=e;return t.jsx("div",{className:ms.content,children:t.jsx(ot,{children:t.jsx(R,{title:"Videos",isTitle:!0,children:t.jsxs("div",{className:ms.videoContent,children:[t.jsx(gs,{video:n[0]}),t.jsx("div",{style:{display:"flex",flexDirection:"column"},children:n.slice(1).map((a,s)=>t.jsx(gs,{size:"small",video:a},`video-small-${s}`))})]})})})})},Xe={content:"_content_ruy5q_1",videoContent:"_videoContent_ruy5q_9",articleSection:"_articleSection_ruy5q_21",contentLatout:"_contentLatout_ruy5q_31",title:"_title_ruy5q_36",article:"_article_ruy5q_21",correspondent:"_correspondent_ruy5q_64"},ps={container:"_container_1rq2h_1",playStyled:"_playStyled_1rq2h_9"},Li=e=>{const{video:n}=e;return t.jsx(T,{href:n.info.link.url?n.info.link.url:void 0,target:n.info.link.target,children:t.jsxs("section",{className:ps.container,children:[t.jsx(ge,{isLarge:!0,preview:{sizes:n.main.image.sizes,description:n.main.description}}),t.jsx(it,{className:ps.playStyled})]})})},Ui=e=>{const n=()=>e?.video.main.author?`${e?.video.main.author} - ${ye(e.video.info.date.created)}`:e?.video.main.author;return t.jsx("div",{className:Xe.content,children:t.jsx(ot,{className:Xe.contentLatout,children:t.jsx(R,{title:"Videos",isTitle:!0,children:t.jsxs("div",{className:Xe.videoContent,children:[t.jsx(Li,{video:e.video}),t.jsxs("div",{className:Xe.articleSection,children:[t.jsx(T,{className:Xe.title,href:e.video.info.link.url,target:e.video.info.link.target,children:e.video.main.title}),t.jsx("p",{className:Xe.article,children:Ce(e.video.main.description)}),t.jsx("p",{className:Xe.correspondent,children:n()})]})]})})})})},Ii=e=>{switch(e.option){case"op1":return t.jsx(Ti,{videos:e.data});case"op2":return t.jsx(Ui,{video:e.data[0]});default:return t.jsx(t.Fragment,{})}};function Mi({containerId:e,containerId2:n}){return y.useEffect(()=>{try{let a=function(){const h=window.twttr;h?.widgets?h.widgets.load(s):c<10?(c++,requestAnimationFrame(a)):console.warn("No se pudo cargar widgets de Twitter")};const s=document.getElementById(e),o=document.getElementById(n);if(!s&&!o)return;const r=s?.querySelectorAll("script[src]")??[],i=o?.querySelectorAll("script[src]")??[];[...r,...i].forEach(h=>{const C=document.createElement("script");Array.from(h.attributes).forEach(u=>{C.setAttribute(u.name,u.value)}),h.replaceWith(C)});const d=document.querySelectorAll('script[src*="platform.twitter.com/widgets.js"]');if(d)for(let h=0;h<d.length;h++)d[h]?.remove();let c=0;if(document.querySelector('script[src*="platform.twitter.com/widgets.js"]'))a();else{const h=document.createElement("script");h.src="https://platform.twitter.com/widgets.js",h.async=!0,h.onload=a,document.body.appendChild(h)}}catch(a){console.warn("Error al procesar embeds de Twitter",a)}},[e]),null}const Bi=e=>{const{isVideo:n=!1,isLarge:a=!1,hasShadow:s=!1,BackDropAuxHeigthMobile:o}=e,r=y.useMemo(()=>e?.preview?.sizes||[],[e?.preview?.sizes]);return!r.length||!r[0]?.url||r[0]?.url===""?t.jsx("div",{className:W.imagePlaceholder}):t.jsx("figure",{className:W.figure,children:t.jsxs("span",{className:W.backdrop,children:[t.jsx("span",{className:W.backdropAux,style:{height:o||"56.25%"}}),t.jsxs("picture",{children:[t.jsx("img",{fetchPriority:"low",loading:"lazy",className:W.imageStyled,alt:e.preview?.description||"",src:"https://dev-saas.cms-medios.com"+r[0]?.url,style:{boxShadow:s?"0px 4px 8px 0px #00000033":"0px"}}),n&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:W.boxPlayIcon,style:{height:a?"40%":"72px"}}),t.jsx(it,{className:W.playStyled,style:{width:a?"3rem":"27px",height:a?"3rem":"27px",marginBottom:a?"18px":".5rem",marginLeft:a?"30px":".5rem"}})]})]})]})})},As={info:{section:{name:"",slug:"",url:""},link:{url:"",target:"",canonical:!1,internal:""},date:{date:"",created:0,modified:0,firstpublish:0,lastpublish:0}},config:{zonehome:void 0,priorityhome:"",zonesection:"",prioritysection:"",homepreview:"",showcomments:!0,showtime:!0,showauthor:!0,showuppertitle:!0,showsubtitle:!0,showads:!0},main:{title:{home:"",section:"",article:""},subtitle:{rendered:"",striped:""},tags:[]},authors:[{firstname:"",lastname:"",fullname:"",image:void 0,name:"",internaluser:!1}],preview:void 0},ws=6,Di=({section:e,currentNews:n,banner:a,isVisible:s=!1,stylesConfig:o})=>{const[r,i]=y.useState({data:Array.from({length:ws},()=>As)}),[l,d]=y.useState(!1),c=y.useCallback(async()=>{if(!(l||!n?.info?.link?.internal)){d(!0);try{const h=new URLSearchParams({section:e,currentNewsLink:n.info.link.internal}),C=await fetch(`/api/get-more-news?${h}`);if(!C.ok)throw i(void 0),new Error(`HTTP error! status: ${C.status}`);const u=await C.json();i({...u,data:u.data.slice(0,ws)})}catch(h){console.error("[/api/get-more-news] Error:",h.message),i(void 0)}}},[e,n.info.link.internal,l]);return y.useEffect(()=>{s&&c()},[s,r,c]),!r?.data||r.data.length===0?null:t.jsx(Hi,{news:r.data,title:"Más Noticias",...o["Modulo 1x3 Client"]??o["Modulo 1x3"],hasLines:!0,showSubtitle:!0,rounded:!0,banner:a,isVisible:s})},Hi=e=>{const{news:n,hasLines:a=!1}=e,s=o=>a&&(o+1)%3!==0?X1.contentSeparator:"";return t.jsx("div",{className:X1.newsContent,style:{gap:a?"30px":"20px","--gridTemplateModlule":a?"repeat(auto-fit, 343px);":"repeat(auto-fit, 380px);"},children:n.map((o,r)=>{const{main:i,authors:l,info:d,preview:c,isVideo:h=!1,config:C,overImage:u="default",isTitle:w=!1,isLarge:f=!1}=o;return t.jsx("div",{className:s(r),style:{order:r},children:t.jsxs("section",{className:qt.content,children:[t.jsx(T,{title:i?.title?.section,href:d?.link?.url,target:d?.link?.target,children:t.jsx(Bi,{isVisible:e.isVisible,preview:c,rounded:e.rounded,isVideo:h,isLarge:f,getImageUrl:e.getImageUrl})}),t.jsx("div",{className:qt.newsDescription,children:t.jsx(Vi,{main:i,authors:l,info:d,preview:c,share:e.share,config:C,overImage:u,isTitle:w,paths:o.paths,isVisible:e.isVisible})})]})},r)})})},Vi=e=>{const{share:n=!1,cutSubtitle:a=!0}=e,o=(()=>{if(!e?.authors||e.authors.length===0)return"";const r=e.authors[0],i=ye(e.info?.date?.modified);return r&&e?.config?.showtime&&e.config?.showauthor?`${r.fullname} - ${i}`:r&&e.config?.showauthor?r.fullname:e?.config?.showtime?i:""})();return t.jsxs("div",{className:Y.boxInformation,children:[n&&t.jsx(Ta,{className:Y.dotStyles}),e?.info?.section?.url&&t.jsxs("div",{className:Y.sectionDescriptionContainer,children:[t.jsx(T,{className:Y.sectionDescription,href:e.info.section.url,children:e.info.section.name}),e?.main?.uppertitle&&t.jsx("p",{className:Y.uppertitle,children:e.main.uppertitle})]}),t.jsx("h2",{className:Y.articule,children:t.jsx(T,{className:Y.linkStyled,style:{"--isLink":e?.info?.link?.url?"underline":"none"},href:e?.info?.link?.url,target:e?.info?.link?.target,children:e.main?.title?.section})}),e.config?.showsubtitle&&e.main?.subtitle?.striped&&t.jsx("p",{className:Y.description,style:{"--fontSizeSubTitle":e.fontSizeSubTitle,"--lineHeightSubTitle":e.lineHeightSubTitle,"--colorSubTitle":e.colorSubTitle},children:a?Ce(e.main.subtitle.striped):e.main.subtitle.striped}),(e?.config?.showtime||e.config?.showauthor)&&o&&t.jsx(t.Fragment,{children:e.authors?.[0]?.internaluser?t.jsx(T,{className:Y.correspondentLink,href:`/autor/${e.authors[0].name}`,children:o}):t.jsx("div",{className:Y.correspondent,children:o})})]})},Oi=({user:e,handleLogout:n,message:a})=>{const s=()=>{const r=document.querySelector(".user-actions-options");r&&r.classList.toggle("show")},o=e.firstname??"Usuario";return t.jsx("div",{className:"comment-item",children:t.jsxs("div",{style:{display:"flex",gap:"14px"},children:[e&&e.picture&&e.picture!==""?t.jsx("img",{className:"comment-avatar-img",src:e.picture,alt:e.username}):t.jsx("div",{className:"comment-avatar",children:o.charAt(0).toUpperCase()}),t.jsxs("div",{style:{flex:1},children:[t.jsxs("div",{className:"comment-header",children:[t.jsxs("span",{className:"comment-username user-welcome",children:["Hola ",o,"!"]}),t.jsx("div",{className:"user-actions-options",children:t.jsx("button",{onClick:()=>{n()},children:"Cerrar Sesion"})}),t.jsx("button",{className:"user-actions-span",onClick:s,children:t.jsx(m1,{width:13,height:13,fill:"black"})})]}),t.jsx("p",{className:"comment-text",children:a})]})]})})},X={overlay:"_overlay_qj491_3",popup:"_popup_qj491_17",title:"_title_qj491_40",optionsContainer:"_optionsContainer_qj491_52",option:"_option_qj491_52",radioInput:"_radioInput_qj491_66",radioCustom:"_radioCustom_qj491_70",optionLabel:"_optionLabel_qj491_97",buttons:"_buttons_qj491_110",cancelButton:"_cancelButton_qj491_117",closeButton:"_closeButton_qj491_118",buttonAlone:"_buttonAlone_qj491_137",reportButton:"_reportButton_qj491_143",successContainer:"_successContainer_qj491_163",thumbsUp:"_thumbsUp_qj491_171",successMessage:"_successMessage_qj491_177",errorMessage:"_errorMessage_qj491_218",loadingContainer:"_loadingContainer_qj491_231"},ys=async(e,n)=>!0;async function Qi({publication:e,username:n,id:a,type:s,baseUrl:o,captchaToken:r,captchaEnvVars:i,apiToken:l}){if(!e||!n||!a||!s||!r)throw new Error("Faltan parámetros requeridos: publication, username, id, type, captchaToken");if(typeof e!="string"||typeof n!="string"||typeof a!="string"||typeof s!="string"||typeof r!="string")throw new Error("Todos los parámetros deben ser strings");if(await!ys())throw new Error("Token de captcha inválido");if(!l)throw new Error("Falta el token de API del CMS");const d=`${o}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/report`,c=encodeURIComponent(s),h=new URLSearchParams({publication:e,username:n,id:a,type:c}),C=`${d}?${h.toString()}`;try{console.log("Reporting comment:",{publication:e,username:n,id:a,type:s,encodedType:c,url:C});const u=await $.post(C,null,{headers:{"User-Agent":"Bluestack","x-api-token":l,"Content-Type":"application/json"}});if(console.log("Report response:",u.data),u.status===200||u.status===201)return{type:"success",message:"Comentario reportado exitosamente",status:u.status,data:u.data};throw new Error(`Respuesta inesperada del servidor: ${u.status}`)}catch(u){if(console.error("Error reporting comment:",u),$.isAxiosError(u)){const w=u.response?.status,f=u.response?.data;throw w===400?new Error("Datos inválidos para el reporte"):w===401?new Error("Token de API inválido"):w===403?new Error("Acceso denegado para reportar comentario"):w===404?new Error("Comentario no encontrado"):w===409?new Error("El comentario ya fue reportado por este usuario"):w===500?new Error("Error interno del servidor CMS"):new Error(f?.error||f?.message||`Error HTTP ${w}: No se pudo reportar el comentario`)}throw u}}const qe={spam:"Es spam o contenido comercial no deseado",inappropriate:"Lenguaje inadecuado",hate:"Discurso o símbolos de odio",misinformation:"Información falsa o fraude",terrorism:"Promueve el terrorismo",intellectual:"Violación de propiedad intelectual",bullying:"Bullying o acoso"};function Pi(e){return qe[e]}const Re=300,Qe={username:"anonimo",firstname:"Usuario",lastname:"Anonimo"};function ji(e){const n=e.split(" ");if(n.length!==3)return e;const[a,s,o]=n,r=s.charAt(0).toUpperCase()+s.slice(1).toLowerCase();return`${a} ${r} ${o}`}const cn=(e,n)=>{if(!e||!e.current)return{boolean:!1,text:""};const a=e.current?.value||"",s=a.length>Re,r=a.trim()!==""&&(!0||n!=="")&&!s,i=s?`No debes exceder el limite de ${Re} caracteres.`:"Debes completar todos los campos para comentar.";return{boolean:r,text:i}},bs=e=>{const n=e.cookie.split("; ").find(a=>a.startsWith("reported="));if(!n)return[];try{return JSON.parse(decodeURIComponent(n.split("=")[1]??""))}catch{return[]}},Gi=(e,n)=>{const a=bs(e);a.includes(n)||(a.push(n),e.cookie=`reported=${encodeURIComponent(JSON.stringify(a))}; path=/; max-age=${3600*24*1}`)};function zi(e){const[n,a]=e.split("@");if(!n||!a)return e;let s="";n.length<=2?s=n[0]+"*":s=n[0]+"*".repeat(n.length-2)+n[n.length-1];const o=a.lastIndexOf(".");if(o===-1)return`${s}@${a}`;const r=a.slice(0,o),i=a.slice(o);let l="";return r.length<=2?l=r[0]+"*":l=r[0]+"*".repeat(r.length-2)+r[r.length-1],`${s}@${l}${i}`}const _={overlay:"_overlay_t7yxu_1",header:"_header_t7yxu_18",logo:"_logo_t7yxu_25",card:"_card_t7yxu_32",close:"_close_t7yxu_47",form:"_form_t7yxu_71",formUl:"_formUl_t7yxu_80",field:"_field_t7yxu_92",label:"_label_t7yxu_99",input:"_input_t7yxu_108",error:"_error_t7yxu_126",primary:"_primary_t7yxu_132",divider:"_divider_t7yxu_166",google:"_google_t7yxu_192",googleIcon:"_googleIcon_t7yxu_222",spin:"_spin_t7yxu_255",checkboxRow:"_checkboxRow_t7yxu_276",switch:"_switch_t7yxu_305",terms:"_terms_t7yxu_313",message:"_message_t7yxu_344",passwordChecker:"_passwordChecker_t7yxu_349",valid:"_valid_t7yxu_368",invalid:"_invalid_t7yxu_372",forgotPassword:"_forgotPassword_t7yxu_376",successContainer:"_successContainer_t7yxu_395",thumbsUp:"_thumbsUp_t7yxu_403",successMessage:"_successMessage_t7yxu_409"},$e=()=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",width:"24",height:"24",viewBox:"0 0 32 32",className:_.spin,children:t.jsx("path",{d:"M18,4.181v2.021c4.559,0.929,8,4.97,8,9.798c0,5.514-4.486,10-10,10S6,21.514,6,16c0-4.829,3.441-8.869,8-9.798V4.181 C8.334,5.137,4,10.066,4,16c0,6.617,5.383,12,12,12s12-5.383,12-12C28,10.066,23.666,5.137,18,4.181z"})}),$i=({isOpen:e,onClose:n,commentId:a,publication:s,username:o})=>{const[r,i]=y.useState("form"),[l,d]=y.useState(""),[c,h]=y.useState(""),[C]=y.useState(""),u=[{id:"spam",label:qe.spam},{id:"inappropriate",label:qe.inappropriate},{id:"hate",label:qe.hate},{id:"misinformation",label:qe.misinformation},{id:"terrorism",label:qe.terrorism},{id:"intellectual",label:qe.intellectual},{id:"bullying",label:qe.bullying}],w=async()=>{if(!(!l||!a)){if(bs(document).includes(a)){h("Ya has reportado este comentario.");return}i("loading"),h("");try{const p=await(await fetch("/api/comments-report",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({publication:s,username:o,id:a,captchaToken:C,type:qe[l]})})).json();if(p.type==="success")Gi(document,a),i("success"),setTimeout(()=>{f()},3e3);else throw new Error(p.message||"Error al reportar comentario")}catch(m){console.error("Error reporting comment:",m),h(m.message||"Error al reportar comentario"),i("form")}}},f=()=>{i("form"),d(""),h(""),n()};return!e||!a||!o?null:t.jsx("div",{className:X.overlay,children:t.jsxs("div",{className:X.popup,children:[t.jsx("button",{className:"close-reply-form",onClick:f,children:t.jsx(lt,{})}),t.jsx("h2",{className:X.title,children:"Reportar Abuso"}),r==="loading"&&t.jsx("div",{className:X.loadingContainer,children:t.jsx($e,{})}),r==="form"||r==="loading"?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:X.optionsContainer,children:u.map(m=>t.jsxs("label",{className:X.option,children:[t.jsx("input",{type:"radio",name:"reportReason",value:m.id,checked:l===m.id,onChange:p=>d(p.target.value),className:X.radioInput}),t.jsx("span",{className:X.radioCustom}),t.jsx("span",{className:X.optionLabel,children:m.label})]},m.id))}),c&&t.jsx("div",{className:X.errorMessage,children:c}),t.jsxs("div",{className:X.buttons,children:[t.jsx("button",{onClick:f,className:X.cancelButton,children:"Cancelar"}),t.jsx("button",{onClick:w,disabled:!l,className:X.reportButton,children:"Reportar"})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:X.successContainer,children:[t.jsx("div",{className:X.thumbsUp,children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:132,height:120,fill:"none",children:t.jsx("path",{fill:"#0073BE",d:"M119.249 42.357H81.915l5.621-27.039.177-1.893a8.906 8.906 0 0 0-2.603-6.272L78.838.941 39.907 39.93c-2.19 2.13-3.491 5.089-3.491 8.343v59.167c0 6.508 5.325 11.833 11.833 11.833h53.25c4.911 0 9.112-2.958 10.887-7.218l17.868-41.713c.533-1.36.829-2.78.829-4.32V54.192c0-6.509-5.325-11.834-11.834-11.834Zm0 23.667-17.75 41.417h-53.25V48.274l25.679-25.678L67.36 54.19h51.889v11.833ZM.916 48.274h23.667v71H.916v-71Z"})})}),t.jsx("p",{className:X.successMessage,children:"¡Gracias por reportar!"})]}),t.jsx("div",{className:X.buttons,children:t.jsx("button",{onClick:f,className:[X.closeButton,X.buttonAlone].join(" "),children:"Cerrar"})})]})]})})},Fi="35",Wi=e=>{const[n,a]=y.useState(void 0);return y.useEffect(()=>{if(n)return;(async()=>{try{const o=await fetch(`/api/comments-get?publication=${Fi}&path=${e}&size=5`);if(!o.ok)throw new Error(`Error al obtener comentarios: ${o.status}`);const r=await o.json();a((r.data??[])[0]??[])}catch(o){console.error(o),a({comments:[],morecomment:!1})}})()},[n]),{comments:n,setComments:a}},vs=({username:e,date:n})=>t.jsxs("div",{className:"comment-header",children:[t.jsx("span",{className:"comment-username",children:e}),t.jsx("span",{className:"comment-header-dot",children:"•"}),t.jsx("span",{className:"comment-date",children:ji(ye(Number(n)))})]}),_s=({user:e})=>t.jsx("div",{className:"comment-avatar",children:e.picture?t.jsx("img",{className:"comment-avatar-img",src:e.picture,alt:e.username}):e.firstname.charAt(0).toUpperCase()}),Ns=({isReply:e=!1,onReply:n,onFlag:a})=>t.jsxs("div",{className:"comment-actions",children:[!e&&n&&t.jsx("button",{onClick:n,className:"comment-action-btn",children:t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",children:[t.jsx("g",{clipPath:"url(#a)",children:t.jsx("path",{fill:"#4D4E4E",d:"M9.976 9V5l-6.983 7 6.983 7v-4.1c4.988 0 8.48 1.6 10.973 5.1-.997-5-3.99-10-10.973-11Z"})}),t.jsx("defs",{children:t.jsx("clipPath",{id:"a",children:t.jsx("path",{fill:"#fff",d:"M0 0h23.942v24H0z"})})})]})}),t.jsx("button",{onClick:a,className:"comment-action-btn",children:t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",children:[t.jsx("g",{clipPath:"url(#a)",children:t.jsx("path",{fill:"#4D4E4E",d:"M20.133 2h-16c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2Zm0 14H5.303l-1.17 1.17V4h16v12Zm-9-11h2v6h-2V5Zm0 8h2v2h-2v-2Z"})}),t.jsx("defs",{children:t.jsx("clipPath",{id:"a",children:t.jsx("path",{fill:"#fff",d:"M.133 0h24v24h-24z"})})})]})})]}),Ss=({commentRef:e,captchaToken:n="",setIsDisabled:a})=>(y.useEffect(()=>{const s=e.current;if(!s)return;const o=()=>{const i=s.value.length;s.parentElement&&(s.parentElement.dataset.text=`${i}/${Re}`),s.classList.toggle("over-limit",i>Re),a(!cn(e,n).boolean)};return s.addEventListener("input",o),o(),()=>s.removeEventListener("input",o)},[e,n,a]),t.jsxs("div",{children:[t.jsx("label",{className:"comment-input-label",children:"Comentario"}),t.jsx("textarea",{ref:e,name:"comment",placeholder:"Ingresa un comentario",rows:2})]})),ks=({commentRef:e,captchaToken:n="",children:a})=>{const s=cn(e,n);return t.jsx("div",{className:"form-actions",children:t.jsxs("div",{className:"submit-zone",children:[a,!s.boolean&&t.jsx("p",{className:"submit-warning",children:s.text})]})})},Es=({onClick:e,isDisabled:n})=>{const[a,s]=y.useState(!1);return y.useEffect(()=>{let o=null;return a&&(o=setTimeout(()=>{s(!1)},2400)),()=>{o&&clearTimeout(o)}},[a]),a?t.jsx("div",{className:"success-gif-container",children:t.jsx("img",{className:"success-gif",src:"/Success.gif"})}):t.jsxs("button",{type:"button",onClick:async o=>{await e(o)&&s(!0)},id:"comment-button",className:`submit-btn ${n?"disabled":"active"}`,children:["Enviar Comentario",t.jsx("svg",{style:{minWidth:16},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M1.39258 8.99997H12.5626L7.68258 13.88C7.29258 14.27 7.29258 14.91 7.68258 15.3C8.07258 15.69 8.70258 15.69 9.09258 15.3L15.6826 8.70997C16.0726 8.31997 16.0726 7.68997 15.6826 7.29997L9.10258 0.699971C8.71258 0.309971 8.08258 0.309971 7.69258 0.699971C7.30258 1.08997 7.30258 1.71997 7.69258 2.10997L12.5626 6.99997H1.39258C0.842578 6.99997 0.392578 7.44997 0.392578 7.99997C0.392578 8.54997 0.842578 8.99997 1.39258 8.99997Z",fill:"currentColor"})})]})},Zi="35",xs=async({path:e,ref:n,captchaToken:a,button:s,user:o,id:r,addComment:i})=>{const l=n.current?.value||"";if(!cn(n,a).boolean||!o){const d=s.nextElementSibling;return d&&(d.style.display="block"),!1}try{const d=Date.now(),c=await fetch("/api/comments-add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({publication:Zi,path:e,id:r,username:o.username,comment:l,recaptchaResponse:a})});let h=null;try{h=await c.json()}catch(f){console.error("Error parsing JSON response:",f)}if(!c.ok)throw new Error(`Error al enviar comentario: ${h?.message} status: ${c.status}`);const C=Date.now(),u=Math.max(0,2400+Math.abs(C-d)),w={username:o.username,firstname:o.firstname,...o.lastname&&{lastname:o.lastname},...o.picture&&{picture:o.picture}};return i({id:C.toString(),text:l,user:w,date:{time:Date.now()},reply:[]}),n.current&&(n.current.value=""),u}catch(d){return console.error("Error enviando comentario:",d),alert(d.message||"Error al enviar el comentario."),!1}},Yi=({replyingTo:e,commentRef:n,user:a,path:s,addReply:o,closeForm:r})=>{const[i,l]=y.useState(!0),[d,c]=y.useState(""),h=()=>{n.current?.parentElement&&(n.current.parentElement.dataset.text=`0/${Re}`),l(!0),r()};return t.jsxs("div",{className:"comment-form reply-form",children:[t.jsx("button",{className:"close-reply-form",onClick:h,children:t.jsx(lt,{})}),t.jsx(Ss,{commentRef:n,captchaToken:d,setIsDisabled:l}),t.jsx(ks,{commentRef:n,captchaToken:d,setCaptchaToken:c,children:t.jsx(Es,{onClick:async C=>{if(i)return;const u=await xs({path:s,ref:n,captchaToken:d,button:C.currentTarget,user:a,id:e,addComment:o});return u&&typeof u=="number"?(setTimeout(()=>{h()},u),!0):!1},isDisabled:i})})]})},Ki=({reply:e,replyingTo:n,user:a,onFlag:s})=>{const o=e.text;let r=`${Qe.firstname} ${Qe.lastname}`,i=Qe.username;return e.user&&(r=`${e.user.firstname} ${e.user.lastname}`,i=e.user.username),t.jsx("div",{className:"comment-item reply",children:t.jsxs("div",{className:"comment-header-container",children:[t.jsx(_s,{user:e.user?e.user:Qe}),t.jsxs("div",{style:{flex:1},children:[t.jsx(vs,{username:r,date:e.date.time}),t.jsxs("div",{className:"comment-reply-to",children:["Respondiendo a ",t.jsx("strong",{children:n})]}),t.jsx("p",{className:"comment-text",children:o}),a?.username.toLowerCase()!==i.toLowerCase()&&t.jsx(Ns,{isReply:!0,onFlag:()=>s(e.id)})]})]})})},Ji=({comment:e,replyingTo:n,path:a,user:s,handleReplyingTo:o,onFlag:r})=>{const i={morereply:e.morereply??!1,reply:e.reply?e.reply:[]},[l,d]=y.useState(i),[c,h]=y.useState(!1),C="35",u=e.text,w=y.useRef(null);let f=`${Qe.firstname} ${Qe.lastname}`,m=Qe.username;e.user&&(f=`${e.user.firstname} ${e.user.lastname}`,m=e.user.username);const p=v=>{d({morereply:l.morereply,reply:[v,...l.reply]})};return t.jsx("div",{className:"comment-item",children:t.jsxs("div",{className:"comment-header-container","data-hasreplies":l.reply.length>0?"true":"false",children:[t.jsx(_s,{user:e.user?e.user:Qe}),t.jsxs("div",{style:{flex:1},children:[t.jsx(vs,{username:f,date:e.date.time}),t.jsx("p",{className:"comment-text",children:u}),s?.username.toLowerCase()!==m.toLowerCase()&&t.jsx(Ns,{onReply:()=>o(e.id),onFlag:()=>r(e.id)}),n===e.id&&s&&t.jsx(Yi,{replyingTo:n,commentRef:w,addReply:p,user:s,path:a,closeForm:()=>o("")}),l.reply.length>0&&t.jsxs("div",{className:"comment-replies",children:[l.reply.map(v=>t.jsx(Ki,{user:s,reply:v,replyingTo:f,onFlag:r},v.id)),c?t.jsx("div",{style:{marginLeft:"4rem"},children:t.jsx($e,{})}):l.morereply&&t.jsx("button",{className:"comment-replies-button reply-button",onClick:async()=>{const v=l.reply[l.reply.length-1]?.id;h(!0);const k=await fetch(`/api/comments-get?publication=${C}&path=${a}&size=2&parentid=${e.id}&lastid=${v}`);if(!k.ok)throw h(!1),new Error(`Error al obtener comentarios: ${k.status}`);const L=(await k.json()).data[0];h(!1),d({morereply:L.morecomment,reply:[...l.reply,...L.comments]})},children:"Más Respuestas"})]})]})]})})},Xi=({commentRef:e,user:n,path:a,addComment:s})=>{const[o,r]=y.useState(!0),[i,l]=y.useState("");return t.jsxs("div",{className:"comment-form",children:[t.jsx(Ss,{commentRef:e,captchaToken:i,setIsDisabled:r}),t.jsx(ks,{commentRef:e,captchaToken:i,setCaptchaToken:l,children:t.jsx(Es,{onClick:async d=>{if(o)return;const c=await xs({path:a,ref:e,captchaToken:i,button:d.currentTarget,user:n,addComment:s});return c&&typeof c=="number"?(e.current?.parentElement&&(e.current.parentElement.dataset.text=`0/${Re}`),r(!0),setTimeout(()=>{e.current?.parentElement&&(e.current.parentElement.dataset.text=`0/${Re}`),r(!0)},c),!0):!1},isDisabled:o})})]})},qs="35",Ri=({isAuthenticated:e,path:n,user:a,handleLogout:s,CAPTCHA_KEY_V2:o})=>{const r=n.replaceAll("/","|"),[i,l]=y.useState(void 0),[d,c]=y.useState(""),{comments:h,setComments:C}=Wi(r),[u,w]=y.useState(!1),f=y.useRef(null),m=q=>{c(d===q?"":q)},p=q=>{C(h?{...h,comments:[q,...h.comments??[]]}:void 0)},v=q=>{l(q)},k=async()=>{if(!h||!h.morecomment||h.comments.length===0)return;const q=h.comments[h.comments.length-1];if(!q)return;w(!0);const H=q.id,j=await fetch(`/api/comments-get?publication=${qs}&path=${r}&size=5&lastid=${H}`);if(!j.ok)throw w(!1),new Error(`Error al obtener comentarios: ${j.status}`);const V=(await j.json()).data[0];C({morecomment:V.morecomment??!1,comments:[...h.comments,...V.comments]}),w(!1)},E=h?.comments&&h.comments.length>0,L=E?"Comparte tu opinión de este artículo.":"Se el primero en compartir tu opinión de este artículo.",M=t.jsx("div",{style:{display:"flex",width:"100%",justifyContent:"center"},children:t.jsx($e,{})});return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"comments-container",children:t.jsx(R,{title:E||e?"COMENTARIOS":!1,children:t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"comments-header",children:e&&a&&t.jsxs(t.Fragment,{children:[t.jsx(Oi,{user:a,handleLogout:s,message:L}),t.jsx(Xi,{commentRef:f,user:a,addComment:p,path:r})]})}),t.jsx("div",{className:"comments-list","data-isauthenticated":`${e}`,children:h?h.comments&&h.comments.length>0?t.jsxs(t.Fragment,{children:[h.comments.map(q=>t.jsx(Ji,{comment:q,replyingTo:d,handleReplyingTo:m,onFlag:v,user:a??Qe,path:r},q.id)),u&&M]}):null:M}),h?.morecomment&&!u&&t.jsx("button",{className:"comment-replies-button",onClick:k,children:"Más"})]})})}),t.jsx($i,{username:a?.username??void 0,publication:qs,commentId:i,isOpen:i!==void 0,onClose:()=>l(void 0),CAPTCHA_KEY_V2:o})]})},dn=async(e,n)=>{if(!e)throw new Error("No action provided");if(!n)throw new Error("No site key provided");const a=window.grecaptcha;if(!a?.enterprise)throw new Error("grecaptcha not loaded");return new Promise((s,o)=>{a.enterprise.ready(async()=>{try{const r=await a.enterprise.execute(n,{action:e});if(!r)throw new Error("Captcha token no generado");s(r)}catch(r){o(r)}})})},Ts={email:{label:"Email",required:!0},given_name:{label:"Nombre",required:!0},family_name:{label:"Apellido",required:!0},password:{label:"Contraseña",required:!0},confirmPassword:{label:"Confirmar contraseña",required:!0}},y1=[{label:"La contraseña debe tener al menos 8 caracteres",test:e=>e.length>=8},{label:"Usa un número",test:e=>/\d/.test(e)},{label:"Usa una letra minúscula",test:e=>/[a-z]/.test(e)},{label:"Usa una letra mayúscula",test:e=>/[A-Z]/.test(e)},{label:"Usa un símbolo",test:e=>/[^A-Za-z0-9]/.test(e)}];function e3({goToLogin:e,handleGoogleLogin:n}){const[a,s]=y.useState({}),[o,r]=y.useState(!1),[i,l]=y.useState(!1),[d,c]=y.useState(null),[h,C]=y.useState("register"),u=(p,v)=>{s(k=>({...k,[p]:v}))},w=async p=>{p.preventDefault(),c(null),l(!0);try{const v=Object.keys(Ts).filter(H=>!["username","password","confirmPassword"].includes(H)).map(H=>({Name:H,Value:a[H]}));if(v.some(H=>{if(!H.Value||H.Value.trim()==="")return!0}))return l(!1),c("Complete todos los campos");if(a.password!==a.confirmPassword){c("Las contraseñas no coinciden");return}const k=a.password||"";if(y1.some(H=>!H.test(k))){c("La contraseña no es válida");return}const L=Math.floor(Date.now()/1e3);v.push({Name:"updated_at",Value:String(L)});const M=await dn("comment_register","");if(!M)throw new Error("Captcha token no generado");const q=await fetch("/api/auth/create-user",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:a.email,password:a.password,userAttributes:v,token:M})});if(!q.ok){const H=await q.json().catch(()=>({}));if(H.code==="UsernameExistsException"){await fetch("/api/auth/resend-code",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:a.email})}),C("confirm");return}throw new Error(H?.error||"Error al crear usuario")}C("confirm")}catch(v){console.log(v),c(v?.message||v?.error||"Error inesperado")}finally{l(!1)}},f=async p=>{if(p.preventDefault(),!a.confirmationCode){c("Debes ingresar el código de verificación");return}c(null),l(!0);try{const v=await fetch("/api/auth/confirm-user",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:a.email,code:a.confirmationCode})});if(!v.ok){const k=await v.json().catch(()=>({}));throw new Error(k?.error||"Error al confirmar usuario")}C("success")}catch(v){c(v?.message||"Error inesperado")}finally{l(!1)}},m=a.password||"";return t.jsxs(t.Fragment,{children:[h==="register"&&t.jsxs(t.Fragment,{children:[t.jsxs("button",{onClick:n,className:_.google,children:[t.jsx("img",{src:"https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/google.svg",alt:"",className:_.googleIcon}),t.jsx("span",{children:"Continuar con Google"})]}),t.jsx("div",{className:_.divider,children:t.jsx("span",{children:"o"})}),t.jsxs("form",{onSubmit:w,className:_.form,"data-error":d?"true":"false",children:[t.jsx("ul",{className:_.formUl,children:Object.entries(Ts).map(([p,{label:v}])=>t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:v}),t.jsx("input",{type:p.toLowerCase().includes("password")?o?"text":"password":p==="birthdate"?"date":p==="email"?"email":p==="phone_number"?"tel":"text",name:p,value:a[p]||"",onChange:k=>u(p,k.target.value),className:_.input,placeholder:""}),p==="password"&&t.jsx("div",{className:_.passwordChecker,children:y1.map((k,E)=>{const L=k.test(m);return t.jsxs("div",{className:L?_.valid:_.invalid,children:[t.jsx("div",{children:L?"✔":"○"}),t.jsx("div",{children:k.label})]},E)})}),p==="confirmPassword"&&t.jsxs("div",{className:_.checkboxRow,children:[t.jsx("input",{id:"showPasswordRegister",type:"checkbox",checked:o,onChange:k=>r(k.target.checked)}),t.jsx("label",{htmlFor:"showPasswordRegister",className:_.checkboxLabel,children:"Mostrar contraseñas"})]})]},p))}),d&&t.jsx("p",{className:_.error,children:d}),t.jsxs("p",{className:_.terms,children:["Al continuar, confirmo que he leído y aceptado los",t.jsx("a",{href:"/pages/politicas-de-privacidad.html",target:"_blank",children:"Términos y Condiciones"}),"de nuestra comunidad"]}),t.jsx("button",{type:"submit",className:_.primary,disabled:i,children:i?t.jsx($e,{}):"Crear cuenta"})]})]}),h==="confirm"&&t.jsxs("form",{onSubmit:f,className:_.form,"data-error":d?"true":"false",children:[t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Código de verificación"}),t.jsx("input",{type:"text",name:"confirmationCode",value:a.confirmationCode||"",onChange:p=>u("confirmationCode",p.target.value),className:_.input,required:!0})]}),d&&t.jsx("p",{className:_.error,children:d}),t.jsx("button",{type:"submit",className:_.primary,disabled:i,children:i?t.jsx($e,{}):"Confirmar cuenta"}),t.jsxs("p",{className:_.switch,children:["¿Ya confirmaste antes?",t.jsx("button",{type:"button",onClick:e,children:"Iniciar sesión"})]})]}),h==="success"&&t.jsxs("form",{className:_.form,children:[t.jsxs("div",{className:_.successContainer,children:[t.jsx("div",{className:_.thumbsUp,children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:132,height:120,fill:"none",children:t.jsx("path",{fill:"#0073BE",d:"M119.249 42.357H81.915l5.621-27.039.177-1.893a8.906 8.906 0 0 0-2.603-6.272L78.838.941 39.907 39.93c-2.19 2.13-3.491 5.089-3.491 8.343v59.167c0 6.508 5.325 11.833 11.833 11.833h53.25c4.911 0 9.112-2.958 10.887-7.218l17.868-41.713c.533-1.36.829-2.78.829-4.32V54.192c0-6.509-5.325-11.834-11.834-11.834Zm0 23.667-17.75 41.417h-53.25V48.274l25.679-25.678L67.36 54.19h51.889v11.833ZM.916 48.274h23.667v71H.916v-71Z"})})}),t.jsxs("div",{className:_.successMessage,children:[t.jsx("p",{children:"Confirmación completa."}),t.jsx("p",{children:"Ya eres parte de la comunidad de Diario La Hora"})]})]}),t.jsx("button",{onClick:e,className:_.primary,children:"Iniciar sesión"})]}),h==="register"&&t.jsxs("p",{className:_.switch,children:["¿Ya tenés cuenta?",t.jsx("button",{type:"button",onClick:e,children:"Iniciar sesión"})]})]})}function t3({onClose:e,checkAuth:n,goToRegister:a,handleGoogleLogin:s,CAPTCHA_KEY:o}){const[r,i]=y.useState("login"),[l,d]=y.useState(""),[c,h]=y.useState(""),[C,u]=y.useState(""),[w,f]=y.useState(""),[m,p]=y.useState(""),[v,k]=y.useState(!1),[E,L]=y.useState(!1),[M,q]=y.useState(null),H=async V=>{if(!E){V.preventDefault(),q(null),L(!0);try{const D=await dn("comment_login",o);if(!D)throw new Error("Captcha token no generado");const Z=await fetch("/api/auth/login-password",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({email:l,password:c,token:D})});if(!Z.ok){const ee=await Z.json().catch(()=>({}));throw new Error(ee?.error||"Ha ocurrido un error")}e(),await n()}catch(D){q(D?.message||"Error inesperado")}finally{L(!1)}}},j=async V=>{if(!E){V.preventDefault(),q(null),L(!0);try{const D=await fetch("/api/auth/forgot-password",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l})});if(!D.ok){const Z=await D.json().catch(()=>({}));throw new Error(Z?.error||"Error al enviar código")}h(""),i("changePassword")}catch(D){q(D?.message||"Error inesperado")}finally{L(!1)}}},G=async V=>{if(E)return;if(V.preventDefault(),w!==m){q("Las contraseñas no coinciden");return}if(y1.some(Z=>!Z.test(w))){q("La contraseña no cumple con los requisitos");return}q(null),L(!0);try{const Z=await fetch("/api/auth/confirm-forgot-password",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,code:C,newPassword:w})});if(!Z.ok){const ee=await Z.json().catch(()=>({}));throw new Error(ee?.error||"Error al cambiar contraseña")}i("feedback")}catch(Z){q(Z?.message||"Error inesperado")}finally{L(!1)}};return t.jsxs(t.Fragment,{children:[r==="login"&&t.jsx(n3,{email:l,password:c,showPassword:v,loading:E,error:M,setEmail:d,setPassword:h,setShowPassword:k,onSubmit:H,onForgot:()=>{q(null),i("forgot")},onRegister:a,handleGoogleLogin:s}),r==="forgot"&&t.jsx(a3,{email:l,setEmail:d,loading:E,error:M,onSubmit:j,onBack:()=>{q(null),i("login")}}),r==="changePassword"&&t.jsx(s3,{email:l,confirmationCode:C,newPassword:w,confirmNewPassword:m,showPassword:v,loading:E,error:M,setConfirmationCode:u,setNewPassword:f,setConfirmNewPassword:p,setShowPassword:k,onSubmit:G,onBack:()=>{q(null),i("forgot")}}),r==="feedback"&&t.jsx(o3,{onBackToLogin:()=>{q(null),i("login")}})]})}function n3({email:e,password:n,showPassword:a,loading:s,error:o,setEmail:r,setPassword:i,setShowPassword:l,onSubmit:d,onForgot:c,onRegister:h,handleGoogleLogin:C}){return t.jsxs(t.Fragment,{children:[t.jsxs("button",{onClick:C,className:_.google,children:[t.jsx("img",{src:"https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/google.svg",alt:"",className:_.googleIcon}),t.jsx("span",{children:"Continuar con Google"})]}),t.jsx("div",{className:_.divider,children:t.jsx("span",{children:"o"})}),t.jsxs("form",{onSubmit:d,className:_.form,"data-error":o?"true":"false",children:[t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Email"}),t.jsx("input",{type:"email",value:e,onChange:u=>r(u.target.value),className:_.input,placeholder:""})]}),t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Contraseña"}),t.jsx("input",{type:a?"text":"password",value:n,onChange:u=>i(u.target.value),className:_.input,placeholder:""}),t.jsxs("div",{className:_.checkboxRow,children:[t.jsx("input",{id:"showPasswordLogin",type:"checkbox",checked:a,onChange:u=>l(u.target.checked)}),t.jsx("label",{htmlFor:"showPasswordLogin",className:_.checkboxLabel,children:"Mostrar contraseña"})]})]}),o&&t.jsx("p",{className:_.error,children:o}),t.jsx("button",{type:"submit",className:_.primary,disabled:s,children:s?t.jsx($e,{}):"Iniciar Sesión"})]}),t.jsxs("p",{className:_.switch,children:["¿No tenés cuenta?",t.jsx("button",{type:"button",onClick:h,children:"Registrate"})]}),t.jsx("button",{type:"button",className:_.forgotPassword,onClick:c,children:"Olvidé mi contraseña"})]})}function a3({email:e,setEmail:n,loading:a,error:s,onSubmit:o,onBack:r}){return t.jsxs("form",{onSubmit:o,className:_.form,"data-error":s?"true":"false",children:[t.jsx("p",{className:_.message,children:"Ingrese su dirección de correo electrónico. Le enviaremos un mensaje con un código para restablecer la contraseña."}),t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Email"}),t.jsx("input",{type:"email",value:e,name:"email",onChange:i=>n(i.target.value),className:_.input,placeholder:""})]}),s&&t.jsx("p",{className:_.error,children:s}),t.jsx("button",{type:"submit",className:_.primary,disabled:a,children:a?t.jsx($e,{}):"Enviar código"}),t.jsx("p",{className:_.switch,children:t.jsx("button",{type:"button",onClick:r,children:"Volver"})})]})}function s3({email:e,confirmationCode:n,newPassword:a,confirmNewPassword:s,showPassword:o,loading:r,error:i,setConfirmationCode:l,setNewPassword:d,setConfirmNewPassword:c,setShowPassword:h,onSubmit:C,onBack:u}){return t.jsxs("form",{onSubmit:C,className:_.form,"data-error":i?"true":"false",children:[t.jsxs("p",{className:_.message,children:["Hemos enviado un código de restablecimiento de contraseña en un mensaje de Correo electrónico a ",zi(e),". Ingrese el código y la contraseña nueva."]}),t.jsxs("ul",{className:_.formUl,children:[t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Código de verificación"}),t.jsx("input",{type:"text",value:n,onChange:w=>l(w.target.value),className:_.input,placeholder:""})]}),t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Nueva contraseña"}),t.jsx("input",{type:o?"text":"password",value:a,onChange:w=>d(w.target.value),className:_.input,placeholder:"",name:"password"}),t.jsx("div",{className:_.passwordChecker,children:y1.map((w,f)=>{const m=w.test(a);return t.jsxs("div",{className:m?_.valid:_.invalid,children:[t.jsx("div",{children:m?"✔":"○"}),t.jsx("div",{children:w.label})]},f)})})]}),t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Confirmar contraseña"}),t.jsx("input",{type:o?"text":"password",value:s,onChange:w=>c(w.target.value),className:_.input,placeholder:""}),t.jsxs("div",{className:_.checkboxRow,children:[t.jsx("input",{id:"showPasswordForgot",type:"checkbox",checked:o,onChange:w=>h(w.target.checked)}),t.jsx("label",{htmlFor:"showPasswordForgot",className:_.checkboxLabel,children:"Mostrar contraseñas"})]})]})]}),i&&t.jsx("p",{className:_.error,children:i}),t.jsx("button",{type:"submit",className:_.primary,style:{maxWidth:r?"revert-layer":"fit-content"},disabled:r,children:r?t.jsx($e,{}):"Cambiar contraseña"}),t.jsx("p",{className:_.switch,children:t.jsx("button",{type:"button",onClick:u,children:"Volver"})})]})}function o3({onBackToLogin:e}){return t.jsxs("div",{className:_.form,children:[t.jsx("p",{className:_.success,children:"La contraseña fue cambiada con éxito"}),t.jsx("button",{type:"button",className:_.primary,onClick:e,children:"Iniciar Sesión"})]})}function r3({loginUrl:e,COGNITO_AUTH_PREFIX:n,CAPTCHA_KEY:a,onClose:s,checkAuth:o,icon:r}){const[i,l]=y.useState("login"),d=async()=>{{await fetch("/api/auth/debug-login",{method:"GET",credentials:"include"}),localStorage.setItem("cognito-login","success:"+Date.now()),s(),o();return}};return t.jsx("div",{className:_.overlay,role:"dialog","aria-modal":"true",id:"pop-overlay",onClick:c=>{const h=c.target;h&&h.id==="pop-overlay"&&s()},children:t.jsxs("div",{className:_.card,children:[t.jsxs("header",{className:_.header,children:[t.jsx("div",{className:_.logo,children:r?r():null}),t.jsx("button",{onClick:s,className:_.close,"aria-label":"Cerrar",children:t.jsx(lt,{})})]}),i==="login"&&t.jsx(t3,{CAPTCHA_KEY:a,onClose:s,checkAuth:o,handleGoogleLogin:d,goToRegister:()=>l("register")}),i==="register"&&t.jsx(e3,{handleGoogleLogin:d,goToLogin:()=>l("login")})]})})}function i3({isAuthenticated:e,setIsAuthenticated:n,loginUrl:a,user:s,path:o,checkAuth:r,icon:i,COGNITO_AUTH_PREFIX:l,captchaVars:d}){const[c,h]=y.useState(!1),C=async()=>{await fetch("/api/auth/logout",{method:"GET",credentials:"include"}),n(!1)},u=async w=>{w.preventDefault(),a&&h(!0)};return t.jsxs(t.Fragment,{children:[c&&t.jsx(r3,{loginUrl:a,COGNITO_AUTH_PREFIX:l,CAPTCHA_KEY:d.CAPTCHA_KEY,icon:i,checkAuth:r,onClose:()=>{h(!1)}}),!e&&t.jsxs("div",{className:"auth-container",children:[t.jsx("p",{children:"Sumate a la comunidad para dejar tu comentario"}),t.jsx("a",{href:a,onClick:u,className:"login-button",children:"Iniciar Sesión"})]}),t.jsx(Ri,{isAuthenticated:e,handleLogout:C,path:o,user:e?s:void 0,CAPTCHA_KEY_V2:d.CAPTCHA_KEY_V2})]})}function l3({isVisible:e,path:n,icon:a,COGNITO_AUTH_PREFIX:s,captchaVars:o}){const[r,i]=y.useState(null),[l,d]=y.useState(null),c=async()=>{try{const u=await(await fetch("/api/auth/user",{credentials:"include"})).json();i(u.isAuthenticated),d(u.user??null)}catch(C){console.error("Error checking auth:",C),i(!1),d(null)}};y.useEffect(()=>{c()},[]),y.useEffect(()=>{if(!l||!e||typeof window>"u")return;const C=window;if(typeof C!="function"){console.warn("gtag no está disponible todavía");return}C.gtag("set",{user_id:l.username}),console.log("username setted successfully")},[l,e]);const h="/api/auth/login";return r===null?null:e&&t.jsx(i3,{COGNITO_AUTH_PREFIX:s,captchaVars:o,icon:a,isAuthenticated:r,setIsAuthenticated:i,loginUrl:h,user:l??void 0,checkAuth:c,path:n})}const c3=({render:e,internalPath:n,section:a,currentNews:s,stylesConfig:o,icon:r,COGNITO_AUTH_PREFIX:i,captchaVars:l={CAPTCHA_KEY_V2:"invalidKey",CAPTCHA_KEY:"invalidKey"}})=>{const d=y.useRef(null),[c,h]=y.useState(!1);y.useEffect(()=>{const u=new IntersectionObserver(([w])=>{w?.isIntersecting&&(h(!0),u.disconnect())},{rootMargin:"0px",threshold:.1});return d.current&&u.observe(d.current),()=>u.disconnect()},[]);const C={comment:t.jsx(l3,{COGNITO_AUTH_PREFIX:i??"template_",captchaVars:l,path:n,icon:r,isVisible:c}),more:t.jsx(Di,{section:a,currentNews:s,stylesConfig:o,isVisible:c})};return t.jsx("div",{ref:d,suppressHydrationWarning:!0,style:{...o?o["Modulo 1x3 Client"]?o["Modulo 1x3 Client"]:o["Modulo 1x3"]:{}},children:C[e]})};async function d3({publication:e,path:n,username:a,comment:s,id:o,captchaEnvVars:r,recaptchaResponse:i,baseUrl:l,apiToken:d,securityToken:c}){if(console.log("Adding comment with data:",{publication:e,path:n,username:a,comment:s,id:o,recaptchaResponse:i}),!e||!n||!s||!a)return{type:"error",message:"Faltan campos obligatorios. Por favor, completa todos los campos.",status:400};if([e,n,s,a].some(f=>typeof f!="string"))return{type:"error",message:"Datos inválidos. Intenta de nuevo.",status:400};if(!a.trim())return{type:"error",message:"El nombre no puede estar vacío.",status:400};if(!s.trim())return{type:"error",message:"El comentario no puede estar vacío.",status:400};const h=await ys();if(console.log("Verifying captcha token...",h),!h)return{type:"error",message:"Captcha inválido. Intenta nuevamente.",status:403};const C=`${l}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/add`,u={publication:e,path:n.replace(/\|/gi,"/"),username:a??!1,text:s.trim()};o&&(u.id=o);const w=new URLSearchParams(u);try{const{data:f}=await $.get(`${C}?${w.toString()}`,{headers:{"Content-Type":"application/json","x-security-token":c,"x-api-token":d,"User-Agent":"amplifyapp-comments-saas"}});return!f||f.error?(console.error("CMS error response:",f),{type:"error",message:"No se pudo guardar el comentario. Intenta nuevamente en unos minutos.",status:502}):(console.log("Comentario enviado con éxito",f),{type:"success",message:"Comentario enviado con éxito.",status:200})}catch(f){if(console.error("Error enviando comentario:",f),$.isAxiosError(f)){const m=f.response?.status??500,p=f.response?.data;return m===400?{type:"error",message:p?.message||"Solicitud inválida. Verifica que los campos sean correctos.",status:400}:m===403?{type:"error",message:"Captcha inválido o acceso prohibido.",status:403}:m===500?{type:"error",message:"Error interno del servidor del CMS.",status:500}:{type:"error",message:p?.message||"No se pudo enviar el comentario.",status:m}}return{type:"error",message:"Error inesperado. Intenta nuevamente.",status:500}}}async function h3({publication:e,path:n,size:a=5,sizereply:s=2,id:o,lastid:r,state:i="5,6",baseUrl:l,apiToken:d}){if(console.log(e,n,a,s,o,r,i,l,d),!e||!n)throw new Error("Missing required parameters: publication and path");if(typeof e!="string"||typeof n!="string")throw new Error("Invalid input types for publication or path");if(!d)throw new Error("Missing CMS API token");const c=parseInt(String(a),10),h=parseInt(String(s),10);if(isNaN(c)||c<=0)throw new Error("Invalid size parameter");if(isNaN(h)||h<0)throw new Error("Invalid sizereply parameter");const C=`${l}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/get`,u=new URLSearchParams({publication:e,path:n,size:c.toString(),sizereply:h.toString(),state:i});o&&u.append("id",o),r&&u.append("lastid",r);const w=`${C}?${u.toString()}`;try{console.log("Fetching comments from:",w);const{data:f}=await $.get(w,{headers:{"x-api-token":d,"User-Agent":"Bluestack","Cache-Control":"max-age=0, no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:"0"}});if(!f)throw new Error("No comments data received");return f.data||f||[]}catch(f){if(console.error("Error fetching comments:",f),$.isAxiosError(f)){const m=f.response?.status,p=f.response?.data;throw m===404?new Error("Comments not found"):m===403?new Error("Access forbidden - check API token"):m===401?new Error("Unauthorized - invalid API token"):m===500?new Error("Internal server error from CMS"):new Error(p?.error||p?.message||`HTTP ${m}: Failed to fetch comments`)}throw f}}const C3=async({token:e,projectId:n,captchaKey:a,apiKey:s,captchaAction:o})=>{if(!e)throw new Error("No token provided");if(!n||!a||!s)throw new Error("Missing project ID or site key");if(!o)throw new Error("No action provided");try{const i=await(await fetch(`https://recaptchaenterprise.googleapis.com/v1/projects/${n}/assessments?key=${s}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({event:{token:e,siteKey:a,expectedAction:o}})})).json();if(!i?.tokenProperties?.valid)throw new Error(`The token was: ${i?.tokenProperties?.invalidReason}`);if(i.tokenProperties.action!==o)throw new Error("The action attribute in your reCAPTCHA tag does not match the action you are expecting to score");return i?.riskAnalysis?.score??0}catch(r){throw console.error("Recaptcha verification failed",r),new Error(String(r))}};A.AssetsPreconnect=xn,A.AutorComponent=qi,A.BannerAdvertising=ne,A.BannerAdvertisingMiddle=Te,A.CarrouselCSR=P2,A.CarrouselIRS=Ke,A.CarruselCard=ss,A.CarruselOpinion=os,A.CommonServices=me,A.Comscore=hn,A.ContactInfoServer=Vr,A.ContactInput=fr,A.ContactSelect=mr,A.ContactTextarea=gr,A.ContentLayout1=ot,A.ContentLayoutTema=G1,A.DEBUG_MainSlots=fi,A.DestacadoNoticias=Ya,A.DestacadoVideos=ts,A.DynamicBlockServices=ka,A.DynamicComponents=ui,A.DynamicMainSlot=A1,A.DynamicSlot=sn,A.EditorialBlock=_r,A.ErrorComponent=ur,A.Font=Vn,A.Footer1=Va,A.Footer2=Qa,A.FooterComponent=Dr,A.FormatAfterScripts=En,A.FormatScripts=N1,A.GA4=Cn,A.GTM=Is,A.GalleryHeader=hs,A.GenerateBody=D2,A.GenerateHead=B2,A.HeaderComponent=Br,A.ImageOffline=W2,A.IssuuServices=L2,A.ItemListSchema=In,A.LayoutNewsComponent=$1,A.LazyLoader=c3,A.LiveBlogHeader=Ga,A.Location=O2,A.MainComponentServices=ro,A.Marfeel=un,A.MiddleSection=Pe,A.Modulo1x3=Y1,A.Modulo1x3Card=as,A.Modulo1x4=Ra,A.Modulo1x5=es,A.Modulo2Columnas=Nr,A.Modulo3Columnas=Ja,A.ModuloNewsletter=Sr,A.ModuloOpinion=vr,A.NewListResponseDataPH=As,A.NewsArticle=Mn,A.NewsComponent=bi,A.NewsContent=c1,A.NextPrev=xt,A.OrgList=Bn,A.PreloadImages=S1,A.REPORT_REASONS=qe,A.Readest=r1,A.ScriptHydrator=Mi,A.SearchSection=ki,A.Section=R,A.SectionCard=Ee,A.SectionCardServerComponent=g1,A.SectionServerComponent=Hr,A.ShowSection=qa,A.SocialNetworks=ds,A.SpeculationRules=Un,A.StaticSlotWrapper=Ci,A.SubscribeColumn=Ma,A.SubscribeRow=Ba,A.SubscribeWhatsAppColumn=K2,A.TagComponent=Ni,A.TimeLine=za,A.TrimPathname=Rs,A.VideoBlock3=Cr,A.VideoBlock4=Ar,A.VideoSection=Ii,A.VideosSchemas=Hn,A.WebsiteList=Dn,A.addComment=d3,A.bannersReplace=Zt,A.becomeVideoObject=tt,A.coloringByStrokeSVGs=P1,A.cutString=Ce,A.extractRealtedNews=Js,A.formatDate=ye,A.formatDateEdiciones=Ks,A.formatDateJournalistArticule=v1,A.formatDateTimeline=yn,A.formatNewsMeta=_n,A.formatVideoData=qn,A.generalGetData=M2,A.getCaptchaToken=dn,A.getComments=h3,A.getDynamicSlots=U2,A.getEnvironmentUrl=pt,A.getImageUrl=te,A.getNextMeta=At,A.getPage=yt,A.getPreloadImages=oo,A.getPrevMeta=wt,A.getReportReasonLabel=Pi,A.getResponse=bn,A.getResponsePromise=vn,A.getScriptReplaces=E1,A.getSlugs=Qn,A.getTypeOfNews=to,A.getVideoRealPath=no,A.metadataToJSX=kn,A.metadata_defaults=Ea,A.parseTags=_1,A.pathnameSplit=Nn,A.removePages=On,A.reportComment=Qi,A.shareButtons=Oa,A.socialIcons=Et,A.speculationRules=Ln,A.speculationRulesHome=Tn,A.urlReplaces=Sn,A.verifyCaptchaTokenEnterprise=C3,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})}));
|
|
116
|
+
`}o+=u,r=h}return o+=e.slice(r),o}async function ii(e){const{news:n,banners:a,newsRelatedResponses:s,slug:o,itemList:r,socials:i,getVideos:l}=e;let d=n?.body?.rendered??"";d=d.replace(/<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,""),d=d.replace(/ /g,""),d=ai(d,a),d=si(d),d=await ni(d),d=await oi(d,e.texts,s),d=await ri(d,l);const c=n.main.sources??[];return t.jsxs("div",{className:p1.content,children:[o!=="liveblogs"?n.hascontent?.hasgalleryimages?t.jsx(hs,{newsformated:n,internal:n.info.link.internal}):t.jsx(ja,{preview:n.preview}):null,t.jsx(ne,{banners:a,name:"block_1"}),t.jsx("div",{className:p1.journalistArticleContent,children:t.jsx(Jr,{autorIcon:e.autorIcon,socials:i,news:n,texts:e.texts,shareOnlyWhatsApp:e.shareOnlyWhatsApp,noteShare:e.noteShare,paths:e.paths})}),t.jsx(Rr,{summary:n.main.summary}),t.jsx("div",{className:p1.contentNews,suppressHydrationWarning:!0,id:"content-news-section",dangerouslySetInnerHTML:{__html:d}}),t.jsx(Kr,{texts:e.texts,itemList:r,banners:a,slug:o}),c.length>0&&t.jsxs("div",{className:p1.noteSource,children:[t.jsx(ti,{}),t.jsx("p",{children:e.texts.noteSource+(c.length===1?"":"s")+": "+c.map(h=>h.name).join(", ")})]})]})}const li=e=>{const{content:n,title:a,slot_id:s}=e,o=e.slot_id&&e.slot_id!=="Nota_1";return n&&n.length!==0&&t.jsx(R,{title:a,titleUrl:e.titleUrl,children:t.jsx(Ke,{slot_id:s,cardWidth:200,children:n.map((r,i)=>{const l={...r,main:{...r.main,title:{...r.main.title,section:o?r.main.title.home:r.main.title.section}}};return t.jsx(f1,{...l,titleGradient:!0,paths:e.paths},i)})})})},ci=e=>{const{content:n,title:a,slot_id:s}=e,o=e.slot_id&&e.slot_id!=="Nota_1";return n&&n.length!==0&&t.jsx(R,{title:a,titleUrl:e.titleUrl,children:t.jsx(Ke,{slot_id:s,cardWidth:343,cardGap:32,visibleItems:3,children:n.map((r,i)=>{const l={...r,main:{...r.main,title:{...r.main.title,section:o?r.main.title.home:r.main.title.section}}};return t.jsx(f1,{...l,titleGradient:!0,paths:e.paths},i)})})})},di=e=>{const{content:n,title:a,slot_id:s}=e,o=e.slot_id&&e.slot_id!=="Nota_1";return n&&n.length!==0&&t.jsx(R,{title:a,titleUrl:e.titleUrl,children:t.jsx(Ke,{slot_id:s,fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:n.map((r,i)=>{const l={...r,main:{...r.main,title:{...r.main.title,section:o?r.main.title.home:r.main.title.section}}};return y.createElement(f1,{...l,key:i,titleGradient:!0,paths:e.paths})})})})},an=e=>{const n={};for(const a in e)a.startsWith("--")&&(n[a]=e[a]);return n},Je={headerSection:"_headerSection_pwnim_1",title:"_title_pwnim_11",subtitle:"_subtitle_pwnim_23",newsContent:"_newsContent_pwnim_36",containerCards:"_containerCards_pwnim_44",image:"_image_pwnim_50",blockHeadContainer:"_blockHeadContainer_pwnim_56"},hi=e=>{const{content:n,title:a,isVideo:s}=e;if(!n||n.length===0)return;const o=n[0],r=n.slice(1),i=e.slot_id&&e.slot_id!=="Nota_1";return o&&r&&t.jsxs(R,{title:a,titleUrl:e.titleUrl,children:[t.jsx("div",{className:Je.headerSection,children:t.jsxs("a",{style:{"--heightImageOverwriteMobile":"200%"},className:Je.image,href:o?.info?.link?.url,target:o?.info?.link?.target,children:[t.jsxs("div",{className:Je.blockHeadContainer,children:[t.jsx("p",{className:Je.title,children:o?.main?.title.home}),o?.main?.subtitle?.rendered&&t.jsx("p",{className:Je.subtitle,children:o?.main?.subtitle?.striped})]}),t.jsx(ge,{preview:o.preview})]})}),t.jsxs("div",{className:Je.containerCards,children:[t.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),t.jsx("div",{className:Je.newsContent,children:Array.isArray(r)&&r.map((l,d)=>{const c={...l,main:{...l.main,title:{...l.main.title,section:i?l.main.title.home:l.main.title.section}}};return t.jsx("div",{style:{order:d},children:t.jsx(Ee,{...c,isVideo:s,paths:e.paths})},d)})})]})]})},Cs={banner:e=>t.jsx(ne,{...e,name:e.slot_id.replace("Home","block")}),readest:e=>t.jsx(r1,{...e}),"Modulo 1x3":e=>t.jsx(Y1,{...e}),"Modulo 1x4":e=>t.jsx(Ra,{...e}),"Modulo 1x5":e=>t.jsx(es,{...e}),"Destacado noticias":e=>t.jsx(Ya,{...e}),"Destacado full width":e=>t.jsx(hi,{...e}),"Destacado videos":e=>t.jsx(ts,{...e}),"Carrusel card":e=>t.jsx(ss,{...e}),"Carrusel story":e=>t.jsx(li,{...e}),"Carrusel owl":e=>t.jsx(ci,{...e}),"Modulo fotogaleria":e=>t.jsx(di,{...e}),"Carrusel opinion":e=>t.jsx(os,{...e}),"Modulo 1x3 card":e=>t.jsx(as,{...e})};function sn({component:e,slot_id:n,data:a,banners:s}){if(s)return Cs[e]&&t.jsx("div",{className:"home-slot",style:an(a),children:Cs[e]({...a,banners:s,slot_id:n})})}function Ci({children:e,stylesConfigEntry:n}){return t.jsx("div",{className:"home-slot",style:an(n),children:e})}const us={Diario:e=>{if(!e?.data||e.data.length===0)return;const n=e.data.slice(1);return t.jsx(Fa,{...e.data[0],itemReverseOrder:!0,isLarge:!0,block:n,banners:e.banners,rightOnlyBanner:e.rightOnlyBanner,customSectionCardStyles:e.customSectionCardStyles,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})},"Diario con imagen":e=>{if(!e?.data||e.data.length===0)return;const n=e.data.slice(1);return t.jsx(Fa,{...e.data[0],itemReverseOrder:!0,isLarge:!0,block:n,banners:e.banners,customSectionCardStyles:e.customSectionCardStyles,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})},Super:e=>t.jsx(ht,{...e.data[0],paths:e.paths}),"3 notas verticales":e=>t.jsx(yr,{content:e.data,customLargeSection:e.customLargeSection,customSlimSection:e.customSlimSection,paths:e.paths}),"3 notas horizontales":e=>t.jsx(wr,{content:e.data,customLargeSection:e.customLargeSection,customSmallSection:e.customSmallSection,paths:e.paths})},A1=({component:e,data:n,banners:a,rightOnlyBanner:s})=>t.jsx("div",{style:an(n),children:us[e]&&us[e]({...n,rightOnlyBanner:s,banners:a})}),ui=({slots:e,DYNAMIC_SLOT_SUBINDEXES:n,stylesConfig:a,AutorIcon:s,config:o,banners:r})=>{const i=[],d=n,c=Object.keys(e).length/d;for(let h=1;h<=c;h++)for(let C=1;C<=d;C++){const u="Home_"+h+"_"+C;!e[u]||!e[u].blockSass||!e[u].blockSass[0]||!e[u].blockSass[0].value||!e[u].blockSass[0].block||e[u].blockSass[0].block==="No Mostrar"||i.push(t.jsxs(qa,{show:!!e[u].content?.data,order:(h-1)*d+(C-1),children:[t.jsx(sn,{component:e[u].blockSass[0].block,banners:r,slot_id:u,data:{...e[u].blockSass[0].block?a[e[u].blockSass[0].block]:[],content:e[u].content?.data??[],title:e[u].blockSass[0].title??void 0,titleUrl:e[u].blockSass[0].link??void 0,autorIcon:t.jsx(s,{}),paths:o.paths}}),t.jsx(Pe,{children:t.jsx(Te,{banners:r,index:"dynamic_"+h+"_"+C})})]},h+"_"+C))}return i},fi=({mainBlock:e,StylesConfigMain:n,config:a,banners:s})=>{const o=e?.news?.data||[],r=(i,l)=>({...e?.news,...n[i],data:o.slice(0,l),paths:a.paths});return t.jsxs(t.Fragment,{children:[t.jsx(A1,{component:"Super",data:r("Super",1),banners:s}),t.jsx(Pe,{children:t.jsx(Te,{banners:s,index:1})}),t.jsx(A1,{component:"3 notas verticales",data:r("3 notas verticales",3),banners:s}),t.jsx(Pe,{children:t.jsx(Te,{banners:s,index:1})}),t.jsx(A1,{component:"3 notas horizontales",data:r("3 notas horizontales",3),banners:s}),t.jsx(Pe,{children:t.jsx(Te,{banners:s,index:1})})]})},ze={content:"_content_vmnac_1",imageStyled:"_imageStyled_vmnac_20",contentIconStyled:"_contentIconStyled_vmnac_21",contentCard:"_contentCard_vmnac_31",contentInfo:"_contentInfo_vmnac_70",fullName:"_fullName_vmnac_76",LearnMoreLink:"_LearnMoreLink_vmnac_83"},mi=async e=>{const{news:n,texts:a}=e;return n.config?.showauthor&&t.jsx("div",{className:ze.content,children:Array.isArray(n.authors)&&n.authors?.map(async s=>t.jsxs("div",{className:ze.contentCard,children:[s.image?t.jsx("img",{fetchPriority:"low",loading:"lazy",className:ze.imageStyled,src:await te(s.image.sizes[0]?.url||"")},s.fullname):t.jsx("div",{className:ze.contentIconStyled,children:e.autorIcon},s.fullname),t.jsxs("div",{className:ze.contentInfo,children:[s.internaluser?t.jsx("a",{className:ze.fullName,href:`/${e.paths.autor}/${s.name}`,children:s.fullname}):t.jsx("p",{className:ze.fullName,children:s.fullname}),s.internaluser&&t.jsx("a",{className:ze.LearnMoreLink,href:`/${e.paths.autor}/${s.name}`,children:a.JournalistGroupLink})]})]},`author-${s.firstname}`))})},fs={content:"_content_cu8lm_1",title:"_title_cu8lm_18"},gi=async({newsformated:e,internal:n})=>{if(!n)return;const s=await new me().getNewsMultimedia({path:n,imagesizes:e.preview.sizes[0]?.scale});if(!s)return;const o=s.data.data[0]?.videos.filter(r=>r.type==="video-embedded")[0];return t.jsxs("div",{className:fs.content,children:[t.jsx("div",{dangerouslySetInnerHTML:{__html:o?.code??""}}),t.jsx("p",{className:fs.title,children:o?.title})]})},on={content:"_content_cu8lm_1",title:"_title_cu8lm_18"},pi=async({newsformated:e,internal:n})=>{if(!n)return;const s=await new me().getNewsMultimedia({path:n,imagesizes:e.preview.sizes[0]?.scale});if(!s)return;const o=s.data.data[0]?.videos.filter(r=>r.type==="video-youtube")[0];return t.jsxs("div",{className:on.content,children:[t.jsx("iframe",{className:on.iframeStyled,src:`https://www.youtube.com/embed/${o?.code??""}`,frameBorder:"0",allowFullScreen:!0}),t.jsx("p",{className:on.title,children:o?.title})]})},Ai={content:"_content_ezbiw_1"},wi=async({newsformated:e,internal:n})=>{if(!n)return;const s=await new me().getNews({path:n,imagesizes:e.preview.sizes[0]?.scale});if(!s)return;const o=s.data.data[0]?.external?.iframe;return t.jsx("div",{className:Ai.content,dangerouslySetInnerHTML:{__html:o??""}})},rn={content:"_content_156j7_1"},yi=e=>{if(e.news.config.articlepreview==="videoEmbedded")return t.jsx("div",{className:rn.content,children:t.jsx(gi,{newsformated:e.news,internal:e.news.info.link.internal})});if(e.news.config.articlepreview==="videoYouTube")return t.jsx("div",{className:rn.content,children:t.jsx(pi,{newsformated:e.news,internal:e.news.info.link.internal})});if(e.news.config.articlepreview==="iframe")return t.jsx("div",{className:rn.content,children:t.jsx(wi,{newsformated:e.news,internal:e.news.info.link.internal})})},bi=async e=>{const{ranking:n=[],banners:a,news:s=[],autor:o=[],newsRelatedResponses:r=[],itemList:i=[],socials:l,getVideos:d}=e,c=e.slug==="liveblogs";if(!(!s||!s[0]))return t.jsx(t.Fragment,{children:t.jsxs(Qr,{className:nn.contentLayout2,children:[t.jsx(jr,{option:e.slug,news:s,paths:e.paths}),t.jsx(Te,{banners:a,index:1}),!c&&t.jsx(yi,{news:s[0]}),t.jsx(Pr,{texts:e.texts,paths:e.paths,slug:e.slug,itemList:i,ranking:n,bannerTop:t.jsx(ne,{banners:a??[],name:"right_1"}),banner:t.jsx(ne,{banners:a??[],name:"right_2"}),complement:t.jsxs("div",{suppressHydrationWarning:!0,children:[o.length>0&&t.jsx(zr,{texts:e.texts,autorIcon:e.autorIcon,autor:o[0],paths:e.paths}),s[0].authors.length>1&&t.jsx(mi,{news:s[0],autorIcon:e.autorIcon,paths:e.paths,texts:e.texts}),t.jsx("div",{className:nn.tagContent,children:t.jsx(Gr,{tags:s[0]?.keywords?.tags,paths:e.paths})}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2rem"},suppressHydrationWarning:!0,children:[e.showComments&&t.jsx("div",{suppressHydrationWarning:!0,"data-hydrate":"LazyLoader","data-props":encodeURIComponent(JSON.stringify({render:"comment",internalPath:e.internalPath,COGNITO_AUTH_PREFIX:e.COGNITO_AUTH_PREFIX,captchaVars:e.captchaVars}))}),t.jsx(Pe,{children:t.jsx(Te,{banners:a,index:2})}),t.jsx(sn,{component:"Carrusel card",banners:[],slot_id:"Nota_1",data:{...e.stylesConfig["Carrusel card"],content:e.relatedNewsList??[],title:e.texts.relatedNewsTitle,titleUrl:void 0}}),t.jsx(Pe,{children:t.jsx(Te,{banners:a,index:3})}),t.jsx(R,{title:e.texts.moreNewsTitle,children:t.jsx("div",{suppressHydrationWarning:!0,"data-hydrate":"LazyLoader","data-props":encodeURIComponent(JSON.stringify({render:"more",stylesConfig:e.stylesConfig,section:s[0].info.section?.slug??"",currentNews:s[0]}))})}),t.jsx(Pe,{children:t.jsx(Te,{banners:a,index:4})})]})]}),children:t.jsxs("section",{style:{"--avatar-content-align-items-desk":e.slug==="liveblogs"?"flex-start":"center"},children:[t.jsx(ii,{texts:e.texts,autorIcon:e.autorIcon,socials:l,news:s[0],banners:a,newsRelatedResponses:r,itemList:i,slug:e.slug,getVideos:d,shareOnlyWhatsApp:e.shareOnlyWhatsApp,noteShare:e.noteShare,paths:e.paths}),t.jsx(ne,{banners:a??[],name:"block_3"})]})})]})})},gt={content:"_content_nz5ec_1",contentInfo:"_contentInfo_nz5ec_24",imageStyled:"_imageStyled_nz5ec_40",name:"_name_nz5ec_44",description:"_description_nz5ec_48",contentInfoWithoutImg:"_contentInfoWithoutImg_nz5ec_101"},vi=async e=>{const n=e.img?await te(e.img):"";return t.jsx("section",{className:gt.content,children:t.jsxs("div",{className:`${gt.contentInfo} ${n?"":gt.contentInfoWithoutImg}`,children:[e.img&&t.jsx("img",{fetchPriority:"low",loading:"lazy",className:gt.imageStyled,src:n}),t.jsx("h1",{className:gt.name,children:e.tag}),e.description&&t.jsx("div",{className:gt.description,dangerouslySetInnerHTML:{__html:e.description}})]})})},w1={content:"_content_7wvro_1",contentInfo:"_contentInfo_7wvro_23",name:"_name_7wvro_34",description:"_description_7wvro_43"},_i=e=>t.jsx("section",{className:w1.content,style:{color:e.textColor,"--backDropHeigth":e.backDropHeigth?e.backDropHeigth:"100%",padding:e.sectionPadding??"","--backgroundColor":e.backgroundColor},children:t.jsxs("div",{className:w1.contentInfo,children:[t.jsx("h1",{className:w1.name,style:{color:e.textColor},children:e.tag}),e.description&&t.jsx("div",{style:{color:e.textColor},className:w1.description,dangerouslySetInnerHTML:{__html:e.description}})]})}),Ni=e=>{const{option:n,entity:a}=e;switch(n){case"op1":return t.jsx(vi,{tag:a?.name??"",img:a?.image?.url??"",description:a?.description?a?.description:""});case"op2":return t.jsx(_i,{tag:a?.name??"",description:a?.description?a?.description:"",backDropHeigth:e.backDropHeigth,backgroundColor:e.backgroundColor,sectionPadding:e.sectionPadding,textColor:e.textColor});default:return t.jsx(t.Fragment,{})}},Dt={content:"_content_gxziw_1",buttonStyled:"_buttonStyled_gxziw_9",searchStyled:"_searchStyled_gxziw_21",inputStyled:"_inputStyled_gxziw_32",inputStyledTest:"_inputStyledTest_gxziw_51"},Si=e=>t.jsx("svg",{width:"68",height:"68",viewBox:"0 0 68 68",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("g",{opacity:"0.8",children:t.jsx("path",{d:"M47.8043 46.6003L47.6635 46.7758L47.8232 46.9342L56.4762 55.5171C56.4768 55.5177 56.4774 55.5184 56.478 55.519C56.8524 55.9072 57.0616 56.4256 57.0616 56.965C57.0616 57.5048 56.8521 58.0234 56.4774 58.4117C56.2839 58.6065 56.0539 58.7611 55.8005 58.8667C55.5466 58.9724 55.2743 59.0269 54.9993 59.0269C54.7243 59.0269 54.452 58.9724 54.1981 58.8667C53.9442 58.7609 53.7138 58.6059 53.5201 58.4106L53.5194 58.4099L44.9327 49.8232L44.7743 49.6648L44.5995 49.805C40.4597 53.1252 35.2051 54.7331 29.9162 54.2981C24.6272 53.863 19.706 51.4181 16.1643 47.4661C12.6227 43.514 10.7298 38.3552 10.875 33.0503C11.0201 27.7455 13.1923 22.6979 16.9447 18.9455C20.6972 15.193 25.7448 13.0209 31.0496 12.8757C36.3544 12.7305 41.5133 14.6234 45.4653 18.165C49.4174 21.7067 51.8623 26.6279 52.2974 31.9169C52.7324 37.2058 51.1245 42.4604 47.8043 46.6003ZM22.4528 47.4552C25.1799 49.2774 28.3861 50.25 31.666 50.25C36.0641 50.25 40.2822 48.5029 43.3921 45.3929C46.5021 42.2829 48.2493 38.0649 48.2493 33.6667C48.2493 30.3868 47.2767 27.1806 45.4545 24.4535C43.6323 21.7264 41.0423 19.6008 38.0121 18.3457C34.9819 17.0905 31.6476 16.7621 28.4307 17.402C25.2139 18.0419 22.259 19.6213 19.9398 21.9405C17.6205 24.2597 16.0411 27.2146 15.4013 30.4314C14.7614 33.6483 15.0898 36.9827 16.345 40.0129C17.6001 43.0431 19.7256 45.633 22.4528 47.4552Z",fill:"white",stroke:"white",strokeWidth:"0.5"})})}),ki=e=>t.jsx("form",{className:Dt.content,style:{height:e.hasContent?"218px":"50vh"},children:t.jsxs("div",{className:Dt.inputStyled,children:[t.jsx("input",{className:Dt.inputStyledTest,defaultValue:e.query,name:"query",placeholder:e.texts.searchKeyWord+"..."}),t.jsx("button",{className:Dt.buttonStyled,type:"submit",children:t.jsx(Si,{className:Dt.searchStyled})})]})}),fe={content:"_content_1mv2w_1",contentInfo:"_contentInfo_1mv2w_13",contentAuthor:"_contentAuthor_1mv2w_26",imageStyled:"_imageStyled_1mv2w_33",contentIconStyled:"_contentIconStyled_1mv2w_42",name:"_name_1mv2w_63",email:"_email_1mv2w_71",description:"_description_1mv2w_81",contenSocialNetwork:"_contenSocialNetwork_1mv2w_92",socialIcon:"_socialIcon_1mv2w_102"},Ei=async e=>{const{autor:n,autorIcon:a}=e,s=a;return t.jsx("section",{className:fe.content,children:t.jsxs("div",{className:fe.contentInfo,children:[n.info.image?t.jsx("img",{fetchPriority:"low",loading:"lazy",className:fe.imageStyled,src:await te(n.info.image.sizes[0]?.url||"")}):t.jsx("div",{className:fe.contentIconStyled,children:t.jsx(s,{})}),t.jsxs("div",{className:fe.contentAuthor,children:[t.jsx("h1",{className:fe.name,children:n.info.fullname}),n.addtional.USER_SHOWEMAIL&&t.jsx("p",{className:fe.email,children:n.info.email}),n.addtional.USER_SHOWBIO&&t.jsx("p",{className:fe.description,children:n.addtional.USER_MIBIO}),t.jsxs("div",{className:fe.contenSocialNetwork,children:[n.addtional.USER_USERFB&&t.jsx("a",{href:n.addtional.USER_USERFB,target:"_blank",rel:"noreferrer",children:t.jsx(O1,{className:fe.socialIcon})}),n.addtional.USER_USERIG&&t.jsx("a",{href:n.addtional.USER_USERIG,target:"_blank",rel:"noreferrer",children:t.jsx(Q1,{className:fe.socialIcon,style:{padding:"4px"}})}),n.addtional.USER_USERTWT&&t.jsx("a",{href:n.addtional.USER_USERTWT,target:"_blank",rel:"noreferrer",children:t.jsx(kt,{className:fe.socialIcon})}),n.addtional.USER_USERLIN&&t.jsx("a",{href:n.addtional.USER_USERLIN,target:"_blank",rel:"noreferrer",children:t.jsx(i1,{className:fe.socialIcon})})]})]})]})})},we={content:"_content_1wqqj_1",contentInfo:"_contentInfo_1wqqj_23",imageStyled:"_imageStyled_1wqqj_31",contentIconStyled:"_contentIconStyled_1wqqj_42",name:"_name_1wqqj_66",email:"_email_1wqqj_75",description:"_description_1wqqj_91",contenSocialNetwork:"_contenSocialNetwork_1wqqj_103",socialIcon:"_socialIcon_1wqqj_113"},xi=async e=>{const{autor:n,autorIcon:a}=e,s=a;return t.jsx("section",{className:we.content,children:t.jsxs("div",{className:we.contentInfo,children:[n.info.image?t.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"",className:we.imageStyled,src:await te(n.info.image.sizes[0]?.url||"")}):t.jsx("div",{className:we.contentIconStyled,children:t.jsx(s,{})}),t.jsx("h1",{className:we.name,children:n.info.fullname}),n.addtional.USER_SHOWEMAIL&&t.jsx("p",{className:we.email,children:n.info.email}),n.addtional.USER_SHOWBIO&&t.jsx("p",{className:we.description,children:n.addtional.USER_MIBIO}),t.jsxs("div",{className:we.contenSocialNetwork,children:[n.addtional.USER_USERFB&&t.jsx("a",{href:n.addtional.USER_USERFB,target:"_blank",rel:"noreferrer",children:t.jsx(O1,{className:we.socialIcon})}),n.addtional.USER_USERIG&&t.jsx("a",{href:n.addtional.USER_USERIG,target:"_blank",rel:"noreferrer",children:t.jsx(Q1,{className:we.socialIcon})}),n.addtional.USER_USERTWT&&t.jsx("a",{href:n.addtional.USER_USERTWT,target:"_blank",rel:"noreferrer",children:t.jsx(kt,{className:we.socialIcon})}),n.addtional.USER_USERLIN&&t.jsx("a",{href:n.addtional.USER_USERLIN,target:"_blank",rel:"noreferrer",children:t.jsx(i1,{className:we.socialIcon})})]})]})})},ln={content:"_content_io3tv_1",newsContentSection:"_newsContentSection_io3tv_5",itemContent:"_itemContent_io3tv_10"},qi=e=>{const{data:n,option:a,autor:s,page:o,banners:r,pathname:i,ranking:l,currentPage:d,slug:c,texts:h={}}=e,C=[5,10,15],u={5:1,10:2,15:3};switch(a){case"op1":return t.jsx(t.Fragment,{children:t.jsxs(G1,{children:[t.jsx(xi,{autor:s[0],autorIcon:e.autorIcon}),t.jsx($1,{paths:e.paths,ranking:l,readestTitle:h.readestTitle??"",bannerTop:t.jsx(ne,{banners:r??[],name:"right_1"}),banner:t.jsx(ne,{banners:r??[],name:"right_2"}),children:t.jsx("section",{className:ln.content,children:n.length>0?t.jsx(c1,{className:[ln.newsContentSection,"padding-0"].join(" "),paginatorComponent:t.jsx(xt,{texts:h,pathname:i,query:"",currentPage:d,maxPages:e.paginationLimit,showNext:!(n.length<e.newsListLimit)}),children:Array.isArray(n)&&n?.map((w,f)=>t.jsxs(y.Fragment,{children:[C.includes(f+1)&&t.jsx("div",{className:ln.itemContent+" banner-context",children:t.jsx(ne,{banners:r??[],name:`block_2_${u[f+1]}`})}),t.jsx(g1,{autorIcon:e.autorIcon,item:w,option:c,paths:e.paths},f)]},f))}):t.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:t.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:h.autorNotResultMessage})})})})]})});case"op2":return t.jsx(t.Fragment,{children:t.jsxs(G1,{children:[t.jsx(Ei,{autor:s[0],autorIcon:e.autorIcon}),Array.isArray(n)?t.jsxs(t.Fragment,{children:[t.jsx(Y1,{content:n,title:"",hasLines:!0,banners:e.banners,bannerPositionIndex:[1,6,12],paths:e.paths,slot_id:"block_2"}),t.jsx(xt,{texts:h,query:"",pathname:i,maxPages:Number(e.paginationLimit),currentPage:Number(o),showNext:!((n.length??0)<Number(e.newsListLimit))})]}):t.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:t.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:h.autorNotResultMessage})})]})});default:return t.jsx(t.Fragment,{})}},ms={content:"_content_pq89v_1",videoContent:"_videoContent_pq89v_9"},Ht={container:"_container_1xr2t_1",playStyled:"_playStyled_1xr2t_6",imageStyled:"_imageStyled_1xr2t_13",longer:"_longer_1xr2t_26",contentNews:"_contentNews_1xr2t_31",tagContent:"_tagContent_1xr2t_51",tag:"_tag_1xr2t_51",titular:"_titular_1xr2t_68",small:"_small_1xr2t_81",figure:"_figure_1xr2t_87",backDrop:"_backDrop_1xr2t_92",backDropAux:"_backDropAux_1xr2t_100"},gs=async e=>{const{size:n="longer",video:a}=e,s=a.main.image.original.url;return t.jsx("figure",{className:Ht.figure,children:t.jsxs("span",{className:Ht.backdrop,children:[t.jsx("span",{className:Ht.backDropAux}),t.jsx(T,{href:a.info.link.url,target:a.info.link.target,children:t.jsxs("div",{children:[a.main.image.sizes.map(async(o,r)=>o.width>=580?t.jsx("source",{media:"(width >=900px)",srcSet:await te(o.url)},r):t.jsx("source",{media:"(width <900px)",srcSet:await te(o.url)},r)),t.jsx("img",{fetchPriority:"low",loading:"lazy",className:[Ht.imageStyled,Ht[n]].join(" "),alt:"",src:s?await te(s):""})]})})]})})},Ti=e=>{const{videos:n}=e;return t.jsx("div",{className:ms.content,children:t.jsx(ot,{children:t.jsx(R,{title:"Videos",isTitle:!0,children:t.jsxs("div",{className:ms.videoContent,children:[t.jsx(gs,{video:n[0]}),t.jsx("div",{style:{display:"flex",flexDirection:"column"},children:n.slice(1).map((a,s)=>t.jsx(gs,{size:"small",video:a},`video-small-${s}`))})]})})})})},Xe={content:"_content_ruy5q_1",videoContent:"_videoContent_ruy5q_9",articleSection:"_articleSection_ruy5q_21",contentLatout:"_contentLatout_ruy5q_31",title:"_title_ruy5q_36",article:"_article_ruy5q_21",correspondent:"_correspondent_ruy5q_64"},ps={container:"_container_1rq2h_1",playStyled:"_playStyled_1rq2h_9"},Li=e=>{const{video:n}=e;return t.jsx(T,{href:n.info.link.url?n.info.link.url:void 0,target:n.info.link.target,children:t.jsxs("section",{className:ps.container,children:[t.jsx(ge,{isLarge:!0,preview:{sizes:n.main.image.sizes,description:n.main.description}}),t.jsx(it,{className:ps.playStyled})]})})},Ui=e=>{const n=()=>e?.video.main.author?`${e?.video.main.author} - ${ye(e.video.info.date.created)}`:e?.video.main.author;return t.jsx("div",{className:Xe.content,children:t.jsx(ot,{className:Xe.contentLatout,children:t.jsx(R,{title:"Videos",isTitle:!0,children:t.jsxs("div",{className:Xe.videoContent,children:[t.jsx(Li,{video:e.video}),t.jsxs("div",{className:Xe.articleSection,children:[t.jsx(T,{className:Xe.title,href:e.video.info.link.url,target:e.video.info.link.target,children:e.video.main.title}),t.jsx("p",{className:Xe.article,children:Ce(e.video.main.description)}),t.jsx("p",{className:Xe.correspondent,children:n()})]})]})})})})},Ii=e=>{switch(e.option){case"op1":return t.jsx(Ti,{videos:e.data});case"op2":return t.jsx(Ui,{video:e.data[0]});default:return t.jsx(t.Fragment,{})}};function Mi({containerId:e,containerId2:n}){return y.useEffect(()=>{try{let a=function(){const h=window.twttr;h?.widgets?h.widgets.load(s):c<10?(c++,requestAnimationFrame(a)):console.warn("No se pudo cargar widgets de Twitter")};const s=document.getElementById(e),o=document.getElementById(n);if(!s&&!o)return;const r=s?.querySelectorAll("script[src]")??[],i=o?.querySelectorAll("script[src]")??[];[...r,...i].forEach(h=>{const C=document.createElement("script");Array.from(h.attributes).forEach(u=>{C.setAttribute(u.name,u.value)}),h.replaceWith(C)});const d=document.querySelectorAll('script[src*="platform.twitter.com/widgets.js"]');if(d)for(let h=0;h<d.length;h++)d[h]?.remove();let c=0;if(document.querySelector('script[src*="platform.twitter.com/widgets.js"]'))a();else{const h=document.createElement("script");h.src="https://platform.twitter.com/widgets.js",h.async=!0,h.onload=a,document.body.appendChild(h)}}catch(a){console.warn("Error al procesar embeds de Twitter",a)}},[e]),null}const Bi=e=>{const{isVideo:n=!1,isLarge:a=!1,hasShadow:s=!1,BackDropAuxHeigthMobile:o}=e,r=y.useMemo(()=>e?.preview?.sizes||[],[e?.preview?.sizes]);return!r.length||!r[0]?.url||r[0]?.url===""?t.jsx("div",{className:W.imagePlaceholder}):t.jsx("figure",{className:W.figure,children:t.jsxs("span",{className:W.backdrop,children:[t.jsx("span",{className:W.backdropAux,style:{height:o||"56.25%"}}),t.jsxs("picture",{children:[t.jsx("img",{fetchPriority:"low",loading:"lazy",className:W.imageStyled,alt:e.preview?.description||"",src:"https://dev-saas.cms-medios.com"+r[0]?.url,style:{boxShadow:s?"0px 4px 8px 0px #00000033":"0px"}}),n&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:W.boxPlayIcon,style:{height:a?"40%":"72px"}}),t.jsx(it,{className:W.playStyled,style:{width:a?"3rem":"27px",height:a?"3rem":"27px",marginBottom:a?"18px":".5rem",marginLeft:a?"30px":".5rem"}})]})]})]})})},As={info:{section:{name:"",slug:"",url:""},link:{url:"invalidUrl",target:"",canonical:!1,internal:""},date:{date:"",created:0,modified:0,firstpublish:0,lastpublish:0}},config:{zonehome:void 0,priorityhome:"",zonesection:"",prioritysection:"",homepreview:"",showcomments:!0,showtime:!0,showauthor:!0,showuppertitle:!0,showsubtitle:!0,showads:!0},main:{title:{home:"",section:"",article:""},subtitle:{rendered:"",striped:""},tags:[]},authors:[{firstname:"",lastname:"",fullname:"",image:void 0,name:"",internaluser:!1}],preview:void 0},ws=6,Di=({section:e,currentNews:n,banner:a,isVisible:s=!1,stylesConfig:o})=>{const[r,i]=y.useState({data:Array.from({length:ws},()=>As)}),[l,d]=y.useState(!1),c=y.useCallback(async()=>{if(!(l||!n?.info?.link?.internal)){d(!0);try{const h=new URLSearchParams({section:e,currentNewsLink:n.info.link.internal}),C=await fetch(`/api/get-more-news?${h}`);if(!C.ok)throw i(void 0),new Error(`HTTP error! status: ${C.status}`);const u=await C.json();i({...u,data:u.data.slice(0,ws)})}catch(h){console.error("[/api/get-more-news] Error:",h.message),i(void 0)}}},[e,n.info.link.internal,l]);return y.useEffect(()=>{s&&c()},[s,r,c]),!r?.data||r.data.length===0?null:t.jsx(Hi,{news:r.data,title:"Más Noticias",...o["Modulo 1x3 Client"]??o["Modulo 1x3"],hasLines:!0,showSubtitle:!0,rounded:!0,banner:a,isVisible:s})},Hi=e=>{const{news:n,hasLines:a=!1}=e,s=o=>a&&(o+1)%3!==0?X1.contentSeparator:"";return t.jsx("div",{className:X1.newsContent,style:{gap:a?"30px":"20px","--gridTemplateModlule":a?"repeat(auto-fit, 343px);":"repeat(auto-fit, 380px);"},children:n.map((o,r)=>{const{main:i,authors:l,info:d,preview:c,isVideo:h=!1,config:C,overImage:u="default",isTitle:w=!1,isLarge:f=!1}=o;return t.jsx("div",{className:s(r),style:{order:r},children:t.jsxs("section",{className:qt.content,children:[t.jsx(T,{title:i?.title?.section,href:d?.link?.url??"invalidUrl",target:d?.link?.target,children:t.jsx(Bi,{isVisible:e.isVisible,preview:c,rounded:e.rounded,isVideo:h,isLarge:f,getImageUrl:e.getImageUrl})}),t.jsx("div",{className:qt.newsDescription,children:t.jsx(Vi,{main:i,authors:l,info:d,preview:c,share:e.share,config:C,overImage:u,isTitle:w,paths:o.paths,isVisible:e.isVisible})})]})},r)})})},Vi=e=>{const{share:n=!1,cutSubtitle:a=!0}=e,o=(()=>{if(!e?.authors||e.authors.length===0)return"";const r=e.authors[0],i=ye(e.info?.date?.modified);return r&&e?.config?.showtime&&e.config?.showauthor?`${r.fullname} - ${i}`:r&&e.config?.showauthor?r.fullname:e?.config?.showtime?i:""})();return t.jsxs("div",{className:Y.boxInformation,children:[n&&t.jsx(Ta,{className:Y.dotStyles}),e?.info?.section?.url&&t.jsxs("div",{className:Y.sectionDescriptionContainer,children:[t.jsx(T,{className:Y.sectionDescription,href:e.info.section.url??"invalidUrl",children:e.info.section.name}),e?.main?.uppertitle&&t.jsx("p",{className:Y.uppertitle,children:e.main.uppertitle})]}),t.jsx("h2",{className:Y.articule,children:t.jsx(T,{className:Y.linkStyled,style:{"--isLink":e?.info?.link?.url?"underline":"none"},href:e?.info?.link?.url,target:e?.info?.link?.target,children:e.main?.title?.section})}),e.config?.showsubtitle&&e.main?.subtitle?.striped&&t.jsx("p",{className:Y.description,style:{"--fontSizeSubTitle":e.fontSizeSubTitle,"--lineHeightSubTitle":e.lineHeightSubTitle,"--colorSubTitle":e.colorSubTitle},children:a?Ce(e.main.subtitle.striped):e.main.subtitle.striped}),(e?.config?.showtime||e.config?.showauthor)&&o&&t.jsx(t.Fragment,{children:e.authors?.[0]?.internaluser?t.jsx(T,{className:Y.correspondentLink,href:`/autor/${e.authors[0].name}`,children:o}):t.jsx("div",{className:Y.correspondent,children:o})})]})},Oi=({user:e,handleLogout:n,message:a})=>{const s=()=>{const r=document.querySelector(".user-actions-options");r&&r.classList.toggle("show")},o=e.firstname??"Usuario";return t.jsx("div",{className:"comment-item",children:t.jsxs("div",{style:{display:"flex",gap:"14px"},children:[e&&e.picture&&e.picture!==""?t.jsx("img",{className:"comment-avatar-img",src:e.picture,alt:e.username}):t.jsx("div",{className:"comment-avatar",children:o.charAt(0).toUpperCase()}),t.jsxs("div",{style:{flex:1},children:[t.jsxs("div",{className:"comment-header",children:[t.jsxs("span",{className:"comment-username user-welcome",children:["Hola ",o,"!"]}),t.jsx("div",{className:"user-actions-options",children:t.jsx("button",{onClick:()=>{n()},children:"Cerrar Sesion"})}),t.jsx("button",{className:"user-actions-span",onClick:s,children:t.jsx(m1,{width:13,height:13,fill:"black"})})]}),t.jsx("p",{className:"comment-text",children:a})]})]})})},X={overlay:"_overlay_qj491_3",popup:"_popup_qj491_17",title:"_title_qj491_40",optionsContainer:"_optionsContainer_qj491_52",option:"_option_qj491_52",radioInput:"_radioInput_qj491_66",radioCustom:"_radioCustom_qj491_70",optionLabel:"_optionLabel_qj491_97",buttons:"_buttons_qj491_110",cancelButton:"_cancelButton_qj491_117",closeButton:"_closeButton_qj491_118",buttonAlone:"_buttonAlone_qj491_137",reportButton:"_reportButton_qj491_143",successContainer:"_successContainer_qj491_163",thumbsUp:"_thumbsUp_qj491_171",successMessage:"_successMessage_qj491_177",errorMessage:"_errorMessage_qj491_218",loadingContainer:"_loadingContainer_qj491_231"},ys=async(e,n)=>!0;async function Qi({publication:e,username:n,id:a,type:s,baseUrl:o,captchaToken:r,captchaEnvVars:i,apiToken:l}){if(!e||!n||!a||!s||!r)throw new Error("Faltan parámetros requeridos: publication, username, id, type, captchaToken");if(typeof e!="string"||typeof n!="string"||typeof a!="string"||typeof s!="string"||typeof r!="string")throw new Error("Todos los parámetros deben ser strings");if(await!ys())throw new Error("Token de captcha inválido");if(!l)throw new Error("Falta el token de API del CMS");const d=`${o}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/report`,c=encodeURIComponent(s),h=new URLSearchParams({publication:e,username:n,id:a,type:c}),C=`${d}?${h.toString()}`;try{console.log("Reporting comment:",{publication:e,username:n,id:a,type:s,encodedType:c,url:C});const u=await $.post(C,null,{headers:{"User-Agent":"Bluestack","x-api-token":l,"Content-Type":"application/json"}});if(console.log("Report response:",u.data),u.status===200||u.status===201)return{type:"success",message:"Comentario reportado exitosamente",status:u.status,data:u.data};throw new Error(`Respuesta inesperada del servidor: ${u.status}`)}catch(u){if(console.error("Error reporting comment:",u),$.isAxiosError(u)){const w=u.response?.status,f=u.response?.data;throw w===400?new Error("Datos inválidos para el reporte"):w===401?new Error("Token de API inválido"):w===403?new Error("Acceso denegado para reportar comentario"):w===404?new Error("Comentario no encontrado"):w===409?new Error("El comentario ya fue reportado por este usuario"):w===500?new Error("Error interno del servidor CMS"):new Error(f?.error||f?.message||`Error HTTP ${w}: No se pudo reportar el comentario`)}throw u}}const qe={spam:"Es spam o contenido comercial no deseado",inappropriate:"Lenguaje inadecuado",hate:"Discurso o símbolos de odio",misinformation:"Información falsa o fraude",terrorism:"Promueve el terrorismo",intellectual:"Violación de propiedad intelectual",bullying:"Bullying o acoso"};function Pi(e){return qe[e]}const Re=300,Qe={username:"anonimo",firstname:"Usuario",lastname:"Anonimo"};function ji(e){const n=e.split(" ");if(n.length!==3)return e;const[a,s,o]=n,r=s.charAt(0).toUpperCase()+s.slice(1).toLowerCase();return`${a} ${r} ${o}`}const cn=(e,n)=>{if(!e||!e.current)return{boolean:!1,text:""};const a=e.current?.value||"",s=a.length>Re,r=a.trim()!==""&&(!0||n!=="")&&!s,i=s?`No debes exceder el limite de ${Re} caracteres.`:"Debes completar todos los campos para comentar.";return{boolean:r,text:i}},bs=e=>{const n=e.cookie.split("; ").find(a=>a.startsWith("reported="));if(!n)return[];try{return JSON.parse(decodeURIComponent(n.split("=")[1]??""))}catch{return[]}},Gi=(e,n)=>{const a=bs(e);a.includes(n)||(a.push(n),e.cookie=`reported=${encodeURIComponent(JSON.stringify(a))}; path=/; max-age=${3600*24*1}`)};function zi(e){const[n,a]=e.split("@");if(!n||!a)return e;let s="";n.length<=2?s=n[0]+"*":s=n[0]+"*".repeat(n.length-2)+n[n.length-1];const o=a.lastIndexOf(".");if(o===-1)return`${s}@${a}`;const r=a.slice(0,o),i=a.slice(o);let l="";return r.length<=2?l=r[0]+"*":l=r[0]+"*".repeat(r.length-2)+r[r.length-1],`${s}@${l}${i}`}const _={overlay:"_overlay_t7yxu_1",header:"_header_t7yxu_18",logo:"_logo_t7yxu_25",card:"_card_t7yxu_32",close:"_close_t7yxu_47",form:"_form_t7yxu_71",formUl:"_formUl_t7yxu_80",field:"_field_t7yxu_92",label:"_label_t7yxu_99",input:"_input_t7yxu_108",error:"_error_t7yxu_126",primary:"_primary_t7yxu_132",divider:"_divider_t7yxu_166",google:"_google_t7yxu_192",googleIcon:"_googleIcon_t7yxu_222",spin:"_spin_t7yxu_255",checkboxRow:"_checkboxRow_t7yxu_276",switch:"_switch_t7yxu_305",terms:"_terms_t7yxu_313",message:"_message_t7yxu_344",passwordChecker:"_passwordChecker_t7yxu_349",valid:"_valid_t7yxu_368",invalid:"_invalid_t7yxu_372",forgotPassword:"_forgotPassword_t7yxu_376",successContainer:"_successContainer_t7yxu_395",thumbsUp:"_thumbsUp_t7yxu_403",successMessage:"_successMessage_t7yxu_409"},$e=()=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",width:"24",height:"24",viewBox:"0 0 32 32",className:_.spin,children:t.jsx("path",{d:"M18,4.181v2.021c4.559,0.929,8,4.97,8,9.798c0,5.514-4.486,10-10,10S6,21.514,6,16c0-4.829,3.441-8.869,8-9.798V4.181 C8.334,5.137,4,10.066,4,16c0,6.617,5.383,12,12,12s12-5.383,12-12C28,10.066,23.666,5.137,18,4.181z"})}),$i=({isOpen:e,onClose:n,commentId:a,publication:s,username:o})=>{const[r,i]=y.useState("form"),[l,d]=y.useState(""),[c,h]=y.useState(""),[C]=y.useState(""),u=[{id:"spam",label:qe.spam},{id:"inappropriate",label:qe.inappropriate},{id:"hate",label:qe.hate},{id:"misinformation",label:qe.misinformation},{id:"terrorism",label:qe.terrorism},{id:"intellectual",label:qe.intellectual},{id:"bullying",label:qe.bullying}],w=async()=>{if(!(!l||!a)){if(bs(document).includes(a)){h("Ya has reportado este comentario.");return}i("loading"),h("");try{const p=await(await fetch("/api/comments-report",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({publication:s,username:o,id:a,captchaToken:C,type:qe[l]})})).json();if(p.type==="success")Gi(document,a),i("success"),setTimeout(()=>{f()},3e3);else throw new Error(p.message||"Error al reportar comentario")}catch(m){console.error("Error reporting comment:",m),h(m.message||"Error al reportar comentario"),i("form")}}},f=()=>{i("form"),d(""),h(""),n()};return!e||!a||!o?null:t.jsx("div",{className:X.overlay,children:t.jsxs("div",{className:X.popup,children:[t.jsx("button",{className:"close-reply-form",onClick:f,children:t.jsx(lt,{})}),t.jsx("h2",{className:X.title,children:"Reportar Abuso"}),r==="loading"&&t.jsx("div",{className:X.loadingContainer,children:t.jsx($e,{})}),r==="form"||r==="loading"?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:X.optionsContainer,children:u.map(m=>t.jsxs("label",{className:X.option,children:[t.jsx("input",{type:"radio",name:"reportReason",value:m.id,checked:l===m.id,onChange:p=>d(p.target.value),className:X.radioInput}),t.jsx("span",{className:X.radioCustom}),t.jsx("span",{className:X.optionLabel,children:m.label})]},m.id))}),c&&t.jsx("div",{className:X.errorMessage,children:c}),t.jsxs("div",{className:X.buttons,children:[t.jsx("button",{onClick:f,className:X.cancelButton,children:"Cancelar"}),t.jsx("button",{onClick:w,disabled:!l,className:X.reportButton,children:"Reportar"})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:X.successContainer,children:[t.jsx("div",{className:X.thumbsUp,children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:132,height:120,fill:"none",children:t.jsx("path",{fill:"#0073BE",d:"M119.249 42.357H81.915l5.621-27.039.177-1.893a8.906 8.906 0 0 0-2.603-6.272L78.838.941 39.907 39.93c-2.19 2.13-3.491 5.089-3.491 8.343v59.167c0 6.508 5.325 11.833 11.833 11.833h53.25c4.911 0 9.112-2.958 10.887-7.218l17.868-41.713c.533-1.36.829-2.78.829-4.32V54.192c0-6.509-5.325-11.834-11.834-11.834Zm0 23.667-17.75 41.417h-53.25V48.274l25.679-25.678L67.36 54.19h51.889v11.833ZM.916 48.274h23.667v71H.916v-71Z"})})}),t.jsx("p",{className:X.successMessage,children:"¡Gracias por reportar!"})]}),t.jsx("div",{className:X.buttons,children:t.jsx("button",{onClick:f,className:[X.closeButton,X.buttonAlone].join(" "),children:"Cerrar"})})]})]})})},Fi="35",Wi=e=>{const[n,a]=y.useState(void 0);return y.useEffect(()=>{if(n)return;(async()=>{try{const o=await fetch(`/api/comments-get?publication=${Fi}&path=${e}&size=5`);if(!o.ok)throw new Error(`Error al obtener comentarios: ${o.status}`);const r=await o.json();a((r.data??[])[0]??[])}catch(o){console.error(o),a({comments:[],morecomment:!1})}})()},[n]),{comments:n,setComments:a}},vs=({username:e,date:n})=>t.jsxs("div",{className:"comment-header",children:[t.jsx("span",{className:"comment-username",children:e}),t.jsx("span",{className:"comment-header-dot",children:"•"}),t.jsx("span",{className:"comment-date",children:ji(ye(Number(n)))})]}),_s=({user:e})=>t.jsx("div",{className:"comment-avatar",children:e.picture?t.jsx("img",{className:"comment-avatar-img",src:e.picture,alt:e.username}):e.firstname.charAt(0).toUpperCase()}),Ns=({isReply:e=!1,onReply:n,onFlag:a})=>t.jsxs("div",{className:"comment-actions",children:[!e&&n&&t.jsx("button",{onClick:n,className:"comment-action-btn",children:t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",children:[t.jsx("g",{clipPath:"url(#a)",children:t.jsx("path",{fill:"#4D4E4E",d:"M9.976 9V5l-6.983 7 6.983 7v-4.1c4.988 0 8.48 1.6 10.973 5.1-.997-5-3.99-10-10.973-11Z"})}),t.jsx("defs",{children:t.jsx("clipPath",{id:"a",children:t.jsx("path",{fill:"#fff",d:"M0 0h23.942v24H0z"})})})]})}),t.jsx("button",{onClick:a,className:"comment-action-btn",children:t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",children:[t.jsx("g",{clipPath:"url(#a)",children:t.jsx("path",{fill:"#4D4E4E",d:"M20.133 2h-16c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2Zm0 14H5.303l-1.17 1.17V4h16v12Zm-9-11h2v6h-2V5Zm0 8h2v2h-2v-2Z"})}),t.jsx("defs",{children:t.jsx("clipPath",{id:"a",children:t.jsx("path",{fill:"#fff",d:"M.133 0h24v24h-24z"})})})]})})]}),Ss=({commentRef:e,captchaToken:n="",setIsDisabled:a})=>(y.useEffect(()=>{const s=e.current;if(!s)return;const o=()=>{const i=s.value.length;s.parentElement&&(s.parentElement.dataset.text=`${i}/${Re}`),s.classList.toggle("over-limit",i>Re),a(!cn(e,n).boolean)};return s.addEventListener("input",o),o(),()=>s.removeEventListener("input",o)},[e,n,a]),t.jsxs("div",{children:[t.jsx("label",{className:"comment-input-label",children:"Comentario"}),t.jsx("textarea",{ref:e,name:"comment",placeholder:"Ingresa un comentario",rows:2})]})),ks=({commentRef:e,captchaToken:n="",children:a})=>{const s=cn(e,n);return t.jsx("div",{className:"form-actions",children:t.jsxs("div",{className:"submit-zone",children:[a,!s.boolean&&t.jsx("p",{className:"submit-warning",children:s.text})]})})},Es=({onClick:e,isDisabled:n})=>{const[a,s]=y.useState(!1);return y.useEffect(()=>{let o=null;return a&&(o=setTimeout(()=>{s(!1)},2400)),()=>{o&&clearTimeout(o)}},[a]),a?t.jsx("div",{className:"success-gif-container",children:t.jsx("img",{className:"success-gif",src:"/Success.gif"})}):t.jsxs("button",{type:"button",onClick:async o=>{await e(o)&&s(!0)},id:"comment-button",className:`submit-btn ${n?"disabled":"active"}`,children:["Enviar Comentario",t.jsx("svg",{style:{minWidth:16},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M1.39258 8.99997H12.5626L7.68258 13.88C7.29258 14.27 7.29258 14.91 7.68258 15.3C8.07258 15.69 8.70258 15.69 9.09258 15.3L15.6826 8.70997C16.0726 8.31997 16.0726 7.68997 15.6826 7.29997L9.10258 0.699971C8.71258 0.309971 8.08258 0.309971 7.69258 0.699971C7.30258 1.08997 7.30258 1.71997 7.69258 2.10997L12.5626 6.99997H1.39258C0.842578 6.99997 0.392578 7.44997 0.392578 7.99997C0.392578 8.54997 0.842578 8.99997 1.39258 8.99997Z",fill:"currentColor"})})]})},Zi="35",xs=async({path:e,ref:n,captchaToken:a,button:s,user:o,id:r,addComment:i})=>{const l=n.current?.value||"";if(!cn(n,a).boolean||!o){const d=s.nextElementSibling;return d&&(d.style.display="block"),!1}try{const d=Date.now(),c=await fetch("/api/comments-add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({publication:Zi,path:e,id:r,username:o.username,comment:l,recaptchaResponse:a})});let h=null;try{h=await c.json()}catch(f){console.error("Error parsing JSON response:",f)}if(!c.ok)throw new Error(`Error al enviar comentario: ${h?.message} status: ${c.status}`);const C=Date.now(),u=Math.max(0,2400+Math.abs(C-d)),w={username:o.username,firstname:o.firstname,...o.lastname&&{lastname:o.lastname},...o.picture&&{picture:o.picture}};return i({id:C.toString(),text:l,user:w,date:{time:Date.now()},reply:[]}),n.current&&(n.current.value=""),u}catch(d){return console.error("Error enviando comentario:",d),alert(d.message||"Error al enviar el comentario."),!1}},Yi=({replyingTo:e,commentRef:n,user:a,path:s,addReply:o,closeForm:r})=>{const[i,l]=y.useState(!0),[d,c]=y.useState(""),h=()=>{n.current?.parentElement&&(n.current.parentElement.dataset.text=`0/${Re}`),l(!0),r()};return t.jsxs("div",{className:"comment-form reply-form",children:[t.jsx("button",{className:"close-reply-form",onClick:h,children:t.jsx(lt,{})}),t.jsx(Ss,{commentRef:n,captchaToken:d,setIsDisabled:l}),t.jsx(ks,{commentRef:n,captchaToken:d,setCaptchaToken:c,children:t.jsx(Es,{onClick:async C=>{if(i)return;const u=await xs({path:s,ref:n,captchaToken:d,button:C.currentTarget,user:a,id:e,addComment:o});return u&&typeof u=="number"?(setTimeout(()=>{h()},u),!0):!1},isDisabled:i})})]})},Ki=({reply:e,replyingTo:n,user:a,onFlag:s})=>{const o=e.text;let r=`${Qe.firstname} ${Qe.lastname}`,i=Qe.username;return e.user&&(r=`${e.user.firstname} ${e.user.lastname}`,i=e.user.username),t.jsx("div",{className:"comment-item reply",children:t.jsxs("div",{className:"comment-header-container",children:[t.jsx(_s,{user:e.user?e.user:Qe}),t.jsxs("div",{style:{flex:1},children:[t.jsx(vs,{username:r,date:e.date.time}),t.jsxs("div",{className:"comment-reply-to",children:["Respondiendo a ",t.jsx("strong",{children:n})]}),t.jsx("p",{className:"comment-text",children:o}),a?.username.toLowerCase()!==i.toLowerCase()&&t.jsx(Ns,{isReply:!0,onFlag:()=>s(e.id)})]})]})})},Ji=({comment:e,replyingTo:n,path:a,user:s,handleReplyingTo:o,onFlag:r})=>{const i={morereply:e.morereply??!1,reply:e.reply?e.reply:[]},[l,d]=y.useState(i),[c,h]=y.useState(!1),C="35",u=e.text,w=y.useRef(null);let f=`${Qe.firstname} ${Qe.lastname}`,m=Qe.username;e.user&&(f=`${e.user.firstname} ${e.user.lastname}`,m=e.user.username);const p=v=>{d({morereply:l.morereply,reply:[v,...l.reply]})};return t.jsx("div",{className:"comment-item",children:t.jsxs("div",{className:"comment-header-container","data-hasreplies":l.reply.length>0?"true":"false",children:[t.jsx(_s,{user:e.user?e.user:Qe}),t.jsxs("div",{style:{flex:1},children:[t.jsx(vs,{username:f,date:e.date.time}),t.jsx("p",{className:"comment-text",children:u}),s?.username.toLowerCase()!==m.toLowerCase()&&t.jsx(Ns,{onReply:()=>o(e.id),onFlag:()=>r(e.id)}),n===e.id&&s&&t.jsx(Yi,{replyingTo:n,commentRef:w,addReply:p,user:s,path:a,closeForm:()=>o("")}),l.reply.length>0&&t.jsxs("div",{className:"comment-replies",children:[l.reply.map(v=>t.jsx(Ki,{user:s,reply:v,replyingTo:f,onFlag:r},v.id)),c?t.jsx("div",{style:{marginLeft:"4rem"},children:t.jsx($e,{})}):l.morereply&&t.jsx("button",{className:"comment-replies-button reply-button",onClick:async()=>{const v=l.reply[l.reply.length-1]?.id;h(!0);const k=await fetch(`/api/comments-get?publication=${C}&path=${a}&size=2&parentid=${e.id}&lastid=${v}`);if(!k.ok)throw h(!1),new Error(`Error al obtener comentarios: ${k.status}`);const L=(await k.json()).data[0];h(!1),d({morereply:L.morecomment,reply:[...l.reply,...L.comments]})},children:"Más Respuestas"})]})]})]})})},Xi=({commentRef:e,user:n,path:a,addComment:s})=>{const[o,r]=y.useState(!0),[i,l]=y.useState("");return t.jsxs("div",{className:"comment-form",children:[t.jsx(Ss,{commentRef:e,captchaToken:i,setIsDisabled:r}),t.jsx(ks,{commentRef:e,captchaToken:i,setCaptchaToken:l,children:t.jsx(Es,{onClick:async d=>{if(o)return;const c=await xs({path:a,ref:e,captchaToken:i,button:d.currentTarget,user:n,addComment:s});return c&&typeof c=="number"?(e.current?.parentElement&&(e.current.parentElement.dataset.text=`0/${Re}`),r(!0),setTimeout(()=>{e.current?.parentElement&&(e.current.parentElement.dataset.text=`0/${Re}`),r(!0)},c),!0):!1},isDisabled:o})})]})},qs="35",Ri=({isAuthenticated:e,path:n,user:a,handleLogout:s,CAPTCHA_KEY_V2:o})=>{const r=n.replaceAll("/","|"),[i,l]=y.useState(void 0),[d,c]=y.useState(""),{comments:h,setComments:C}=Wi(r),[u,w]=y.useState(!1),f=y.useRef(null),m=q=>{c(d===q?"":q)},p=q=>{C(h?{...h,comments:[q,...h.comments??[]]}:void 0)},v=q=>{l(q)},k=async()=>{if(!h||!h.morecomment||h.comments.length===0)return;const q=h.comments[h.comments.length-1];if(!q)return;w(!0);const H=q.id,j=await fetch(`/api/comments-get?publication=${qs}&path=${r}&size=5&lastid=${H}`);if(!j.ok)throw w(!1),new Error(`Error al obtener comentarios: ${j.status}`);const V=(await j.json()).data[0];C({morecomment:V.morecomment??!1,comments:[...h.comments,...V.comments]}),w(!1)},E=h?.comments&&h.comments.length>0,L=E?"Comparte tu opinión de este artículo.":"Se el primero en compartir tu opinión de este artículo.",M=t.jsx("div",{style:{display:"flex",width:"100%",justifyContent:"center"},children:t.jsx($e,{})});return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"comments-container",children:t.jsx(R,{title:E||e?"COMENTARIOS":!1,children:t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"comments-header",children:e&&a&&t.jsxs(t.Fragment,{children:[t.jsx(Oi,{user:a,handleLogout:s,message:L}),t.jsx(Xi,{commentRef:f,user:a,addComment:p,path:r})]})}),t.jsx("div",{className:"comments-list","data-isauthenticated":`${e}`,children:h?h.comments&&h.comments.length>0?t.jsxs(t.Fragment,{children:[h.comments.map(q=>t.jsx(Ji,{comment:q,replyingTo:d,handleReplyingTo:m,onFlag:v,user:a??Qe,path:r},q.id)),u&&M]}):null:M}),h?.morecomment&&!u&&t.jsx("button",{className:"comment-replies-button",onClick:k,children:"Más"})]})})}),t.jsx($i,{username:a?.username??void 0,publication:qs,commentId:i,isOpen:i!==void 0,onClose:()=>l(void 0),CAPTCHA_KEY_V2:o})]})},dn=async(e,n)=>{if(!e)throw new Error("No action provided");if(!n)throw new Error("No site key provided");const a=window.grecaptcha;if(!a?.enterprise)throw new Error("grecaptcha not loaded");return new Promise((s,o)=>{a.enterprise.ready(async()=>{try{const r=await a.enterprise.execute(n,{action:e});if(!r)throw new Error("Captcha token no generado");s(r)}catch(r){o(r)}})})},Ts={email:{label:"Email",required:!0},given_name:{label:"Nombre",required:!0},family_name:{label:"Apellido",required:!0},password:{label:"Contraseña",required:!0},confirmPassword:{label:"Confirmar contraseña",required:!0}},y1=[{label:"La contraseña debe tener al menos 8 caracteres",test:e=>e.length>=8},{label:"Usa un número",test:e=>/\d/.test(e)},{label:"Usa una letra minúscula",test:e=>/[a-z]/.test(e)},{label:"Usa una letra mayúscula",test:e=>/[A-Z]/.test(e)},{label:"Usa un símbolo",test:e=>/[^A-Za-z0-9]/.test(e)}];function e3({goToLogin:e,handleGoogleLogin:n}){const[a,s]=y.useState({}),[o,r]=y.useState(!1),[i,l]=y.useState(!1),[d,c]=y.useState(null),[h,C]=y.useState("register"),u=(p,v)=>{s(k=>({...k,[p]:v}))},w=async p=>{p.preventDefault(),c(null),l(!0);try{const v=Object.keys(Ts).filter(H=>!["username","password","confirmPassword"].includes(H)).map(H=>({Name:H,Value:a[H]}));if(v.some(H=>{if(!H.Value||H.Value.trim()==="")return!0}))return l(!1),c("Complete todos los campos");if(a.password!==a.confirmPassword){c("Las contraseñas no coinciden");return}const k=a.password||"";if(y1.some(H=>!H.test(k))){c("La contraseña no es válida");return}const L=Math.floor(Date.now()/1e3);v.push({Name:"updated_at",Value:String(L)});const M=await dn("comment_register","");if(!M)throw new Error("Captcha token no generado");const q=await fetch("/api/auth/create-user",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:a.email,password:a.password,userAttributes:v,token:M})});if(!q.ok){const H=await q.json().catch(()=>({}));if(H.code==="UsernameExistsException"){await fetch("/api/auth/resend-code",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:a.email})}),C("confirm");return}throw new Error(H?.error||"Error al crear usuario")}C("confirm")}catch(v){console.log(v),c(v?.message||v?.error||"Error inesperado")}finally{l(!1)}},f=async p=>{if(p.preventDefault(),!a.confirmationCode){c("Debes ingresar el código de verificación");return}c(null),l(!0);try{const v=await fetch("/api/auth/confirm-user",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:a.email,code:a.confirmationCode})});if(!v.ok){const k=await v.json().catch(()=>({}));throw new Error(k?.error||"Error al confirmar usuario")}C("success")}catch(v){c(v?.message||"Error inesperado")}finally{l(!1)}},m=a.password||"";return t.jsxs(t.Fragment,{children:[h==="register"&&t.jsxs(t.Fragment,{children:[t.jsxs("button",{onClick:n,className:_.google,children:[t.jsx("img",{src:"https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/google.svg",alt:"",className:_.googleIcon}),t.jsx("span",{children:"Continuar con Google"})]}),t.jsx("div",{className:_.divider,children:t.jsx("span",{children:"o"})}),t.jsxs("form",{onSubmit:w,className:_.form,"data-error":d?"true":"false",children:[t.jsx("ul",{className:_.formUl,children:Object.entries(Ts).map(([p,{label:v}])=>t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:v}),t.jsx("input",{type:p.toLowerCase().includes("password")?o?"text":"password":p==="birthdate"?"date":p==="email"?"email":p==="phone_number"?"tel":"text",name:p,value:a[p]||"",onChange:k=>u(p,k.target.value),className:_.input,placeholder:""}),p==="password"&&t.jsx("div",{className:_.passwordChecker,children:y1.map((k,E)=>{const L=k.test(m);return t.jsxs("div",{className:L?_.valid:_.invalid,children:[t.jsx("div",{children:L?"✔":"○"}),t.jsx("div",{children:k.label})]},E)})}),p==="confirmPassword"&&t.jsxs("div",{className:_.checkboxRow,children:[t.jsx("input",{id:"showPasswordRegister",type:"checkbox",checked:o,onChange:k=>r(k.target.checked)}),t.jsx("label",{htmlFor:"showPasswordRegister",className:_.checkboxLabel,children:"Mostrar contraseñas"})]})]},p))}),d&&t.jsx("p",{className:_.error,children:d}),t.jsxs("p",{className:_.terms,children:["Al continuar, confirmo que he leído y aceptado los",t.jsx("a",{href:"/pages/politicas-de-privacidad.html",target:"_blank",children:"Términos y Condiciones"}),"de nuestra comunidad"]}),t.jsx("button",{type:"submit",className:_.primary,disabled:i,children:i?t.jsx($e,{}):"Crear cuenta"})]})]}),h==="confirm"&&t.jsxs("form",{onSubmit:f,className:_.form,"data-error":d?"true":"false",children:[t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Código de verificación"}),t.jsx("input",{type:"text",name:"confirmationCode",value:a.confirmationCode||"",onChange:p=>u("confirmationCode",p.target.value),className:_.input,required:!0})]}),d&&t.jsx("p",{className:_.error,children:d}),t.jsx("button",{type:"submit",className:_.primary,disabled:i,children:i?t.jsx($e,{}):"Confirmar cuenta"}),t.jsxs("p",{className:_.switch,children:["¿Ya confirmaste antes?",t.jsx("button",{type:"button",onClick:e,children:"Iniciar sesión"})]})]}),h==="success"&&t.jsxs("form",{className:_.form,children:[t.jsxs("div",{className:_.successContainer,children:[t.jsx("div",{className:_.thumbsUp,children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:132,height:120,fill:"none",children:t.jsx("path",{fill:"#0073BE",d:"M119.249 42.357H81.915l5.621-27.039.177-1.893a8.906 8.906 0 0 0-2.603-6.272L78.838.941 39.907 39.93c-2.19 2.13-3.491 5.089-3.491 8.343v59.167c0 6.508 5.325 11.833 11.833 11.833h53.25c4.911 0 9.112-2.958 10.887-7.218l17.868-41.713c.533-1.36.829-2.78.829-4.32V54.192c0-6.509-5.325-11.834-11.834-11.834Zm0 23.667-17.75 41.417h-53.25V48.274l25.679-25.678L67.36 54.19h51.889v11.833ZM.916 48.274h23.667v71H.916v-71Z"})})}),t.jsxs("div",{className:_.successMessage,children:[t.jsx("p",{children:"Confirmación completa."}),t.jsx("p",{children:"Ya eres parte de la comunidad de Diario La Hora"})]})]}),t.jsx("button",{onClick:e,className:_.primary,children:"Iniciar sesión"})]}),h==="register"&&t.jsxs("p",{className:_.switch,children:["¿Ya tenés cuenta?",t.jsx("button",{type:"button",onClick:e,children:"Iniciar sesión"})]})]})}function t3({onClose:e,checkAuth:n,goToRegister:a,handleGoogleLogin:s,CAPTCHA_KEY:o}){const[r,i]=y.useState("login"),[l,d]=y.useState(""),[c,h]=y.useState(""),[C,u]=y.useState(""),[w,f]=y.useState(""),[m,p]=y.useState(""),[v,k]=y.useState(!1),[E,L]=y.useState(!1),[M,q]=y.useState(null),H=async V=>{if(!E){V.preventDefault(),q(null),L(!0);try{const D=await dn("comment_login",o);if(!D)throw new Error("Captcha token no generado");const Z=await fetch("/api/auth/login-password",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({email:l,password:c,token:D})});if(!Z.ok){const ee=await Z.json().catch(()=>({}));throw new Error(ee?.error||"Ha ocurrido un error")}e(),await n()}catch(D){q(D?.message||"Error inesperado")}finally{L(!1)}}},j=async V=>{if(!E){V.preventDefault(),q(null),L(!0);try{const D=await fetch("/api/auth/forgot-password",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l})});if(!D.ok){const Z=await D.json().catch(()=>({}));throw new Error(Z?.error||"Error al enviar código")}h(""),i("changePassword")}catch(D){q(D?.message||"Error inesperado")}finally{L(!1)}}},G=async V=>{if(E)return;if(V.preventDefault(),w!==m){q("Las contraseñas no coinciden");return}if(y1.some(Z=>!Z.test(w))){q("La contraseña no cumple con los requisitos");return}q(null),L(!0);try{const Z=await fetch("/api/auth/confirm-forgot-password",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,code:C,newPassword:w})});if(!Z.ok){const ee=await Z.json().catch(()=>({}));throw new Error(ee?.error||"Error al cambiar contraseña")}i("feedback")}catch(Z){q(Z?.message||"Error inesperado")}finally{L(!1)}};return t.jsxs(t.Fragment,{children:[r==="login"&&t.jsx(n3,{email:l,password:c,showPassword:v,loading:E,error:M,setEmail:d,setPassword:h,setShowPassword:k,onSubmit:H,onForgot:()=>{q(null),i("forgot")},onRegister:a,handleGoogleLogin:s}),r==="forgot"&&t.jsx(a3,{email:l,setEmail:d,loading:E,error:M,onSubmit:j,onBack:()=>{q(null),i("login")}}),r==="changePassword"&&t.jsx(s3,{email:l,confirmationCode:C,newPassword:w,confirmNewPassword:m,showPassword:v,loading:E,error:M,setConfirmationCode:u,setNewPassword:f,setConfirmNewPassword:p,setShowPassword:k,onSubmit:G,onBack:()=>{q(null),i("forgot")}}),r==="feedback"&&t.jsx(o3,{onBackToLogin:()=>{q(null),i("login")}})]})}function n3({email:e,password:n,showPassword:a,loading:s,error:o,setEmail:r,setPassword:i,setShowPassword:l,onSubmit:d,onForgot:c,onRegister:h,handleGoogleLogin:C}){return t.jsxs(t.Fragment,{children:[t.jsxs("button",{onClick:C,className:_.google,children:[t.jsx("img",{src:"https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/google.svg",alt:"",className:_.googleIcon}),t.jsx("span",{children:"Continuar con Google"})]}),t.jsx("div",{className:_.divider,children:t.jsx("span",{children:"o"})}),t.jsxs("form",{onSubmit:d,className:_.form,"data-error":o?"true":"false",children:[t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Email"}),t.jsx("input",{type:"email",value:e,onChange:u=>r(u.target.value),className:_.input,placeholder:""})]}),t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Contraseña"}),t.jsx("input",{type:a?"text":"password",value:n,onChange:u=>i(u.target.value),className:_.input,placeholder:""}),t.jsxs("div",{className:_.checkboxRow,children:[t.jsx("input",{id:"showPasswordLogin",type:"checkbox",checked:a,onChange:u=>l(u.target.checked)}),t.jsx("label",{htmlFor:"showPasswordLogin",className:_.checkboxLabel,children:"Mostrar contraseña"})]})]}),o&&t.jsx("p",{className:_.error,children:o}),t.jsx("button",{type:"submit",className:_.primary,disabled:s,children:s?t.jsx($e,{}):"Iniciar Sesión"})]}),t.jsxs("p",{className:_.switch,children:["¿No tenés cuenta?",t.jsx("button",{type:"button",onClick:h,children:"Registrate"})]}),t.jsx("button",{type:"button",className:_.forgotPassword,onClick:c,children:"Olvidé mi contraseña"})]})}function a3({email:e,setEmail:n,loading:a,error:s,onSubmit:o,onBack:r}){return t.jsxs("form",{onSubmit:o,className:_.form,"data-error":s?"true":"false",children:[t.jsx("p",{className:_.message,children:"Ingrese su dirección de correo electrónico. Le enviaremos un mensaje con un código para restablecer la contraseña."}),t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Email"}),t.jsx("input",{type:"email",value:e,name:"email",onChange:i=>n(i.target.value),className:_.input,placeholder:""})]}),s&&t.jsx("p",{className:_.error,children:s}),t.jsx("button",{type:"submit",className:_.primary,disabled:a,children:a?t.jsx($e,{}):"Enviar código"}),t.jsx("p",{className:_.switch,children:t.jsx("button",{type:"button",onClick:r,children:"Volver"})})]})}function s3({email:e,confirmationCode:n,newPassword:a,confirmNewPassword:s,showPassword:o,loading:r,error:i,setConfirmationCode:l,setNewPassword:d,setConfirmNewPassword:c,setShowPassword:h,onSubmit:C,onBack:u}){return t.jsxs("form",{onSubmit:C,className:_.form,"data-error":i?"true":"false",children:[t.jsxs("p",{className:_.message,children:["Hemos enviado un código de restablecimiento de contraseña en un mensaje de Correo electrónico a ",zi(e),". Ingrese el código y la contraseña nueva."]}),t.jsxs("ul",{className:_.formUl,children:[t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Código de verificación"}),t.jsx("input",{type:"text",value:n,onChange:w=>l(w.target.value),className:_.input,placeholder:""})]}),t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Nueva contraseña"}),t.jsx("input",{type:o?"text":"password",value:a,onChange:w=>d(w.target.value),className:_.input,placeholder:"",name:"password"}),t.jsx("div",{className:_.passwordChecker,children:y1.map((w,f)=>{const m=w.test(a);return t.jsxs("div",{className:m?_.valid:_.invalid,children:[t.jsx("div",{children:m?"✔":"○"}),t.jsx("div",{children:w.label})]},f)})})]}),t.jsxs("div",{className:_.field,children:[t.jsx("label",{className:_.label,children:"Confirmar contraseña"}),t.jsx("input",{type:o?"text":"password",value:s,onChange:w=>c(w.target.value),className:_.input,placeholder:""}),t.jsxs("div",{className:_.checkboxRow,children:[t.jsx("input",{id:"showPasswordForgot",type:"checkbox",checked:o,onChange:w=>h(w.target.checked)}),t.jsx("label",{htmlFor:"showPasswordForgot",className:_.checkboxLabel,children:"Mostrar contraseñas"})]})]})]}),i&&t.jsx("p",{className:_.error,children:i}),t.jsx("button",{type:"submit",className:_.primary,style:{maxWidth:r?"revert-layer":"fit-content"},disabled:r,children:r?t.jsx($e,{}):"Cambiar contraseña"}),t.jsx("p",{className:_.switch,children:t.jsx("button",{type:"button",onClick:u,children:"Volver"})})]})}function o3({onBackToLogin:e}){return t.jsxs("div",{className:_.form,children:[t.jsx("p",{className:_.success,children:"La contraseña fue cambiada con éxito"}),t.jsx("button",{type:"button",className:_.primary,onClick:e,children:"Iniciar Sesión"})]})}function r3({loginUrl:e,COGNITO_AUTH_PREFIX:n,CAPTCHA_KEY:a,onClose:s,checkAuth:o,icon:r}){const[i,l]=y.useState("login"),d=async()=>{{await fetch("/api/auth/debug-login",{method:"GET",credentials:"include"}),localStorage.setItem("cognito-login","success:"+Date.now()),s(),o();return}};return t.jsx("div",{className:_.overlay,role:"dialog","aria-modal":"true",id:"pop-overlay",onClick:c=>{const h=c.target;h&&h.id==="pop-overlay"&&s()},children:t.jsxs("div",{className:_.card,children:[t.jsxs("header",{className:_.header,children:[t.jsx("div",{className:_.logo,children:r?r():null}),t.jsx("button",{onClick:s,className:_.close,"aria-label":"Cerrar",children:t.jsx(lt,{})})]}),i==="login"&&t.jsx(t3,{CAPTCHA_KEY:a,onClose:s,checkAuth:o,handleGoogleLogin:d,goToRegister:()=>l("register")}),i==="register"&&t.jsx(e3,{handleGoogleLogin:d,goToLogin:()=>l("login")})]})})}function i3({isAuthenticated:e,setIsAuthenticated:n,loginUrl:a,user:s,path:o,checkAuth:r,icon:i,COGNITO_AUTH_PREFIX:l,captchaVars:d}){const[c,h]=y.useState(!1),C=async()=>{await fetch("/api/auth/logout",{method:"GET",credentials:"include"}),n(!1)},u=async w=>{w.preventDefault(),a&&h(!0)};return t.jsxs(t.Fragment,{children:[c&&t.jsx(r3,{loginUrl:a,COGNITO_AUTH_PREFIX:l,CAPTCHA_KEY:d.CAPTCHA_KEY,icon:i,checkAuth:r,onClose:()=>{h(!1)}}),!e&&t.jsxs("div",{className:"auth-container",children:[t.jsx("p",{children:"Sumate a la comunidad para dejar tu comentario"}),t.jsx("a",{href:a,onClick:u,className:"login-button",children:"Iniciar Sesión"})]}),t.jsx(Ri,{isAuthenticated:e,handleLogout:C,path:o,user:e?s:void 0,CAPTCHA_KEY_V2:d.CAPTCHA_KEY_V2})]})}function l3({isVisible:e,path:n,icon:a,COGNITO_AUTH_PREFIX:s,captchaVars:o}){const[r,i]=y.useState(null),[l,d]=y.useState(null),c=async()=>{try{const u=await(await fetch("/api/auth/user",{credentials:"include"})).json();i(u.isAuthenticated),d(u.user??null)}catch(C){console.error("Error checking auth:",C),i(!1),d(null)}};y.useEffect(()=>{c()},[]),y.useEffect(()=>{if(!l||!e||typeof window>"u")return;const C=window;if(typeof C!="function"){console.warn("gtag no está disponible todavía");return}C.gtag("set",{user_id:l.username}),console.log("username setted successfully")},[l,e]);const h="/api/auth/login";return r===null?null:e&&t.jsx(i3,{COGNITO_AUTH_PREFIX:s,captchaVars:o,icon:a,isAuthenticated:r,setIsAuthenticated:i,loginUrl:h,user:l??void 0,checkAuth:c,path:n})}const c3=({render:e,internalPath:n,section:a,currentNews:s,stylesConfig:o,icon:r,COGNITO_AUTH_PREFIX:i,captchaVars:l={CAPTCHA_KEY_V2:"invalidKey",CAPTCHA_KEY:"invalidKey"}})=>{const d=y.useRef(null),[c,h]=y.useState(!1);y.useEffect(()=>{const u=new IntersectionObserver(([w])=>{w?.isIntersecting&&(h(!0),u.disconnect())},{rootMargin:"0px",threshold:.1});return d.current&&u.observe(d.current),()=>u.disconnect()},[]);const C={comment:t.jsx(l3,{COGNITO_AUTH_PREFIX:i??"template_",captchaVars:l,path:n,icon:r,isVisible:c}),more:t.jsx(Di,{section:a,currentNews:s,stylesConfig:o,isVisible:c})};return t.jsx("div",{ref:d,suppressHydrationWarning:!0,style:{...o?o["Modulo 1x3 Client"]?o["Modulo 1x3 Client"]:o["Modulo 1x3"]:{}},children:C[e]})};async function d3({publication:e,path:n,username:a,comment:s,id:o,captchaEnvVars:r,recaptchaResponse:i,baseUrl:l,apiToken:d,securityToken:c}){if(console.log("Adding comment with data:",{publication:e,path:n,username:a,comment:s,id:o,recaptchaResponse:i}),!e||!n||!s||!a)return{type:"error",message:"Faltan campos obligatorios. Por favor, completa todos los campos.",status:400};if([e,n,s,a].some(f=>typeof f!="string"))return{type:"error",message:"Datos inválidos. Intenta de nuevo.",status:400};if(!a.trim())return{type:"error",message:"El nombre no puede estar vacío.",status:400};if(!s.trim())return{type:"error",message:"El comentario no puede estar vacío.",status:400};const h=await ys();if(console.log("Verifying captcha token...",h),!h)return{type:"error",message:"Captcha inválido. Intenta nuevamente.",status:403};const C=`${l}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/add`,u={publication:e,path:n.replace(/\|/gi,"/"),username:a??!1,text:s.trim()};o&&(u.id=o);const w=new URLSearchParams(u);try{const{data:f}=await $.get(`${C}?${w.toString()}`,{headers:{"Content-Type":"application/json","x-security-token":c,"x-api-token":d,"User-Agent":"amplifyapp-comments-saas"}});return!f||f.error?(console.error("CMS error response:",f),{type:"error",message:"No se pudo guardar el comentario. Intenta nuevamente en unos minutos.",status:502}):(console.log("Comentario enviado con éxito",f),{type:"success",message:"Comentario enviado con éxito.",status:200})}catch(f){if(console.error("Error enviando comentario:",f),$.isAxiosError(f)){const m=f.response?.status??500,p=f.response?.data;return m===400?{type:"error",message:p?.message||"Solicitud inválida. Verifica que los campos sean correctos.",status:400}:m===403?{type:"error",message:"Captcha inválido o acceso prohibido.",status:403}:m===500?{type:"error",message:"Error interno del servidor del CMS.",status:500}:{type:"error",message:p?.message||"No se pudo enviar el comentario.",status:m}}return{type:"error",message:"Error inesperado. Intenta nuevamente.",status:500}}}async function h3({publication:e,path:n,size:a=5,sizereply:s=2,id:o,lastid:r,state:i="5,6",baseUrl:l,apiToken:d}){if(console.log(e,n,a,s,o,r,i,l,d),!e||!n)throw new Error("Missing required parameters: publication and path");if(typeof e!="string"||typeof n!="string")throw new Error("Invalid input types for publication or path");if(!d)throw new Error("Missing CMS API token");const c=parseInt(String(a),10),h=parseInt(String(s),10);if(isNaN(c)||c<=0)throw new Error("Invalid size parameter");if(isNaN(h)||h<0)throw new Error("Invalid sizereply parameter");const C=`${l}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/get`,u=new URLSearchParams({publication:e,path:n,size:c.toString(),sizereply:h.toString(),state:i});o&&u.append("id",o),r&&u.append("lastid",r);const w=`${C}?${u.toString()}`;try{console.log("Fetching comments from:",w);const{data:f}=await $.get(w,{headers:{"x-api-token":d,"User-Agent":"Bluestack","Cache-Control":"max-age=0, no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:"0"}});if(!f)throw new Error("No comments data received");return f.data||f||[]}catch(f){if(console.error("Error fetching comments:",f),$.isAxiosError(f)){const m=f.response?.status,p=f.response?.data;throw m===404?new Error("Comments not found"):m===403?new Error("Access forbidden - check API token"):m===401?new Error("Unauthorized - invalid API token"):m===500?new Error("Internal server error from CMS"):new Error(p?.error||p?.message||`HTTP ${m}: Failed to fetch comments`)}throw f}}const C3=async({token:e,projectId:n,captchaKey:a,apiKey:s,captchaAction:o})=>{if(!e)throw new Error("No token provided");if(!n||!a||!s)throw new Error("Missing project ID or site key");if(!o)throw new Error("No action provided");try{const i=await(await fetch(`https://recaptchaenterprise.googleapis.com/v1/projects/${n}/assessments?key=${s}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({event:{token:e,siteKey:a,expectedAction:o}})})).json();if(!i?.tokenProperties?.valid)throw new Error(`The token was: ${i?.tokenProperties?.invalidReason}`);if(i.tokenProperties.action!==o)throw new Error("The action attribute in your reCAPTCHA tag does not match the action you are expecting to score");return i?.riskAnalysis?.score??0}catch(r){throw console.error("Recaptcha verification failed",r),new Error(String(r))}};A.AssetsPreconnect=xn,A.AutorComponent=qi,A.BannerAdvertising=ne,A.BannerAdvertisingMiddle=Te,A.CarrouselCSR=P2,A.CarrouselIRS=Ke,A.CarruselCard=ss,A.CarruselOpinion=os,A.CommonServices=me,A.Comscore=hn,A.ContactInfoServer=Vr,A.ContactInput=fr,A.ContactSelect=mr,A.ContactTextarea=gr,A.ContentLayout1=ot,A.ContentLayoutTema=G1,A.DEBUG_MainSlots=fi,A.DestacadoNoticias=Ya,A.DestacadoVideos=ts,A.DynamicBlockServices=ka,A.DynamicComponents=ui,A.DynamicMainSlot=A1,A.DynamicSlot=sn,A.EditorialBlock=_r,A.ErrorComponent=ur,A.Font=Vn,A.Footer1=Va,A.Footer2=Qa,A.FooterComponent=Dr,A.FormatAfterScripts=En,A.FormatScripts=N1,A.GA4=Cn,A.GTM=Is,A.GalleryHeader=hs,A.GenerateBody=D2,A.GenerateHead=B2,A.HeaderComponent=Br,A.ImageOffline=W2,A.IssuuServices=L2,A.ItemListSchema=In,A.LayoutNewsComponent=$1,A.LazyLoader=c3,A.LiveBlogHeader=Ga,A.Location=O2,A.MainComponentServices=ro,A.Marfeel=un,A.MiddleSection=Pe,A.Modulo1x3=Y1,A.Modulo1x3Card=as,A.Modulo1x4=Ra,A.Modulo1x5=es,A.Modulo2Columnas=Nr,A.Modulo3Columnas=Ja,A.ModuloNewsletter=Sr,A.ModuloOpinion=vr,A.NewListResponseDataPH=As,A.NewsArticle=Mn,A.NewsComponent=bi,A.NewsContent=c1,A.NextPrev=xt,A.OrgList=Bn,A.PreloadImages=S1,A.REPORT_REASONS=qe,A.Readest=r1,A.ScriptHydrator=Mi,A.SearchSection=ki,A.Section=R,A.SectionCard=Ee,A.SectionCardServerComponent=g1,A.SectionServerComponent=Hr,A.ShowSection=qa,A.SocialNetworks=ds,A.SpeculationRules=Un,A.StaticSlotWrapper=Ci,A.SubscribeColumn=Ma,A.SubscribeRow=Ba,A.SubscribeWhatsAppColumn=K2,A.TagComponent=Ni,A.TimeLine=za,A.TrimPathname=Rs,A.VideoBlock3=Cr,A.VideoBlock4=Ar,A.VideoSection=Ii,A.VideosSchemas=Hn,A.WebsiteList=Dn,A.addComment=d3,A.bannersReplace=Zt,A.becomeVideoObject=tt,A.coloringByStrokeSVGs=P1,A.cutString=Ce,A.extractRealtedNews=Js,A.formatDate=ye,A.formatDateEdiciones=Ks,A.formatDateJournalistArticule=v1,A.formatDateTimeline=yn,A.formatNewsMeta=_n,A.formatVideoData=qn,A.generalGetData=M2,A.getCaptchaToken=dn,A.getComments=h3,A.getDynamicSlots=U2,A.getEnvironmentUrl=pt,A.getImageUrl=te,A.getNextMeta=At,A.getPage=yt,A.getPreloadImages=oo,A.getPrevMeta=wt,A.getReportReasonLabel=Pi,A.getResponse=bn,A.getResponsePromise=vn,A.getScriptReplaces=E1,A.getSlugs=Qn,A.getTypeOfNews=to,A.getVideoRealPath=no,A.metadataToJSX=kn,A.metadata_defaults=Ea,A.parseTags=_1,A.pathnameSplit=Nn,A.removePages=On,A.reportComment=Qi,A.shareButtons=Oa,A.socialIcons=Et,A.speculationRules=Ln,A.speculationRulesHome=Tn,A.urlReplaces=Sn,A.verifyCaptchaTokenEnterprise=C3,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})}));
|