sass-template-common 0.12.2 → 0.12.3
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.
|
@@ -5182,7 +5182,7 @@ class et {
|
|
|
5182
5182
|
};
|
|
5183
5183
|
};
|
|
5184
5184
|
commonNewsServices = async (t, n = {
|
|
5185
|
-
getNews: `${this.contract.note.detailMain}${this.contract.note.detailSecondary}`,
|
|
5185
|
+
getNews: `${this.contract.note.detailMain}${this.contract.note.detailSecondary}${this.contract.note.relatedThumb}`,
|
|
5186
5186
|
getNewsItemsList: `${this.contract.note.itemsListPrimary}${this.contract.note.detailSecondary}`,
|
|
5187
5187
|
getAutorInfo: `${this.contract.author.avatar}`,
|
|
5188
5188
|
getNewsItemsRelated: `${this.contract.note.relatedPrimary}${this.contract.note.relatedThumb}`
|
|
@@ -11091,8 +11091,10 @@ const _f = (e) => {
|
|
|
11091
11091
|
)
|
|
11092
11092
|
] });
|
|
11093
11093
|
}, Tu = async (e) => {
|
|
11094
|
-
const t = e.info && typeof e.info == "object" ? e.info.image : void 0, n = (t && typeof t == "object" ? t : void 0) || e.image,
|
|
11095
|
-
|
|
11094
|
+
const t = e.info && typeof e.info == "object" ? e.info.image : void 0, n = (t && typeof t == "object" ? t : void 0) || e.image, r = n?.sizes?.find(
|
|
11095
|
+
(o) => o.width === 100 && o.height === 100
|
|
11096
|
+
)?.url || n?.sizes?.[0]?.url || n?.original?.url || "";
|
|
11097
|
+
return r && await fe(r) || "";
|
|
11096
11098
|
}, Ka = ({
|
|
11097
11099
|
name: e,
|
|
11098
11100
|
imageUrl: t
|
|
@@ -26,7 +26,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
26
26
|
font-display: ${a};
|
|
27
27
|
src: url("${t}") format('${n}');
|
|
28
28
|
unicode-range: ${tu};
|
|
29
|
-
}`,nu=e=>{try{return new URL(e).origin}catch{return null}},ru=({config:e,fontUrl:t,isS3:a})=>{const n=e.fontDisplay??"swap",r=e.fontFormat??"woff2",o=nu(t);return s.jsxs(s.Fragment,{children:[o&&!a&&s.jsx("link",{rel:"preconnect",href:o,crossOrigin:"anonymous"}),s.jsx("link",{rel:"preload",as:"font",href:t,type:`font/${r}`,crossOrigin:"anonymous",fetchPriority:"high"}),s.jsx("style",{dangerouslySetInnerHTML:{__html:au(e,t,n,r)}})]})},po=({config:e})=>{const t=e.fontDisplay??"swap",{url:a,isS3:n}=su(e);return a?s.jsx(ru,{config:e,fontUrl:a,isS3:n}):mo(e.googleFontFamily)?s.jsxs(s.Fragment,{children:[s.jsx("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),s.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),s.jsx("link",{rel:"stylesheet",href:`https://fonts.googleapis.com/css2?${e.googleFontFamily}&display=${t}`})]}):null},Oa={404:()=>{},home:()=>({"[author_replace]":"","[section_replace]":"home","[tag_replace]":"","[url_replace]":""}),slug:e=>({"[author_replace]":"","[section_replace]":e.pathname==="/index.html"?"home":e.slug??"","[tag_replace]":"","[url_replace]":""}),news:e=>({"[author_replace]":e.currentNew?.authors[0]?.name??"","[section_replace]":e.currentNew?.info?.section?.slug??"","[tag_replace]":ba(e.currentNew?.keywords),"[url_replace]":Jn(e.internalPath??"")}),seccion:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/"+e.config?.paths.seccion+"/")[1]??"","[tag_replace]":"","[url_replace]":""}),tema:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/"+e.config?.paths.tema+"/")[1]??"","[tag_replace]":"","[url_replace]":""}),"ultimas-noticias":e=>({"[author_replace]":"","[section_replace]":e.config?.paths["ultimas-noticias"]??"","[tag_replace]":"","[url_replace]":""}),video:e=>({"[author_replace]":"","[section_replace]":e.slug,"[tag_replace]":"","[url_replace]":""}),videos:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/videos/")[1]??"","[tag_replace]":"","[url_replace]":""}),pages:e=>({"[author_replace]":"","[section_replace]":e.slug??"","[tag_replace]":"","[url_replace]":""}),auth:e=>({"[author_replace]":"","[section_replace]":e.slug??"","[tag_replace]":"","[url_replace]":""}),contacto:e=>({"[author_replace]":"","[section_replace]":e.config?.paths.contacto??"contacto","[tag_replace]":"","[url_replace]":""}),anuncia:e=>({"[author_replace]":"","[section_replace]":e.config?.paths.anuncia??"anuncia","[tag_replace]":"","[url_replace]":""}),buscar:e=>({"[author_replace]":"","[section_replace]":e.config?.paths.buscar??"","[tag_replace]":"","[url_replace]":""}),autor:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/"+e.config?.paths.autor+"/")[1]??"","[tag_replace]":"","[url_replace]":""})},go=e=>{if(!e)return e??"";if(e.search("/page/")===-1)return e.replace("/","");const t=e.split("/"),a=t.indexOf("page")-1;return a<0?e:(t[a]??"").replace("/","")},Se=e=>{const a=e.replace(/^\/|\/$/g,"").split("/"),n=a.indexOf("page");return n>0?`${a[n-1]??""}`:`${a[a.length-1]??""}`},bo={404:()=>"404",home:()=>"home",slug:e=>Se(e.pathname),news:e=>Kn(e.pathname)?.slug,seccion:e=>Se(e.pathname),tema:e=>Se(e.pathname),pages:e=>Se(e.pathname),auth:e=>Se(e.pathname),buscar:e=>Se(e.pathname),"ultimas-noticias":e=>Se(e.pathname),anuncia:e=>Se(e.pathname),contacto:e=>Se(e.pathname),autor:e=>Se(e.pathname),video:e=>Se(e.pathname),videos:e=>Se(e.pathname)},Ut=e=>{const t=e.split("/"),a=t[t.length-1]??"1";return Number(a)>0?Number(a):1},ou=(e,t=2)=>{if(!e||e.length===0)return[];const a=[];for(let n=0;n<t;n++){if(!e[n]||!e[n].preview)continue;const r=e[n].preview?.sizes;r&&(r.length>1?a.push({href:r[0]?.url??"",media:"(min-width: 900px)"},{href:r[1]?.url??"",media:"(max-width: 900px)"}):a.push({href:r[0]?.url??""}))}return a},wo=({gpt:e=!1,googleAds:t=!1,syndication:a=!1,adsense:n=!1})=>s.jsxs(s.Fragment,{children:[e&&s.jsx("link",{rel:"preconnect",href:"https://securepubads.g.doubleclick.net",crossOrigin:"anonymous"}),t&&s.jsx("link",{rel:"preconnect",href:"https://googleads.g.doubleclick.net",crossOrigin:"anonymous"}),a&&s.jsx("link",{rel:"preconnect",href:"https://tpc.googlesyndication.com",crossOrigin:"anonymous"}),n&&s.jsx("link",{rel:"dns-prefetch",href:"https://pagead2.googlesyndication.com"})]}),Ba=Symbol("bucket-retry-exhausted");class iu{exclude="keywords,gallery,related,relatedexternal,external,customfields";config={};imgSizes={};configVersion=".config";axiosApi=void 0;customMainImagesSize=void 0;contract;constructor(t,a,n,r,o,i){this.config=t,this.imgSizes=a,this.axiosApi=n,this.customMainImagesSize=o,this.contract=jt(i).contract,t.configVersion&&(this.configVersion=t.configVersion),r&&(this.exclude=r)}async getNewsListZone(t){if(this.axiosApi)return this.axiosApi.get("/news-list-zone",{params:t}).catch(a=>(console.log(`[/news-list-zone] Error: ${a.message}`),console.log(a),Promise.reject(a)))}async getOutstandingBlock(t){if(!this.axiosApi)return;const a=this.axiosApi,n=()=>a.get("/config/blocks",{params:{...t,path:this.config.servicePrefix+`/${this.configVersion}/columna_derecha.html`}}).catch(o=>(console.log(`[/config/blocks] Error: ${o.message}`),console.log(o),Promise.reject(o))),r=U().BUCKET_ORIGIN;if(r?.destacado){const o=U().PUBLIC_IS_OFFLINE==="true",i={data:{data:[]}},l=Ye(r,this.config.servicePrefix,"bloques","destacado",o),c=r.referer??ct,d=`origin:destacado:bucket:${l}`,u=await lt(d,()=>St(()=>It(r.proxyUrl??r.url,c).get(l),Ba,{label:"bucket:destacado",endpoint:l,params:t}),{shouldCache:f=>f!==Ba});return u===Ba?(Qt("destacado",l),i):u}return n()}getNewsListZoneWrapper(t,a,n,r){return this.getNewsListZone({zone:a||"destacadas",size:n,onmainpage:t?"section":void 0,section:t,newstype:this.config.newsType,exclude:this.exclude,imagesizes:r})}async getNewsDestacadoDiario(t,a){try{const n=await this.getNewsListZoneWrapper(t,a,1,this.customMainImagesSize||`${this.contract.note.gallery}${this.contract.note.itemsListPrimary}`),r=await this.getNewsListZoneWrapper(t,a,5);return!n?.data?.data||!r?.data?.data?[]:(n.data.data=[...n.data.data,...r.data.data.slice(1)],n)}catch(n){return console.log(`[MainComponentServices.getNewsDestacadoDiario] Error: ${n?.message}`),[]}}async getNewsDestacadoDiarioImage(t,a){try{const n=await this.getNewsListZoneWrapper(t,a,1,this.customMainImagesSize||this.contract.note.itemsListPrimary),r=await this.getNewsListZoneWrapper(t,a,5,this.contract.note.featuredDiarioImageThumb);return!n?.data?.data||!r?.data?.data?[]:(n.data.data=[...n.data.data,...r.data.data.slice(1)],n)}catch(n){return console.log(`[MainComponentServices.getNewsDestacadoDiarioImage] Error: ${n?.message}`),[]}}async getNewsAltoImpacto(t,a){try{return await this.getNewsListZoneWrapper(t,a,1,`${this.contract.note.gallery}${this.contract.note.featuredSuperSecondary}`)}catch(n){console.log(`[MainComponentServices.getNewsAltoImpacto] Error: ${n?.message}`);return}}async getNewsDestacadoVertical(t,a){try{const n=await this.getNewsListZoneWrapper(t,a,1,`${this.contract.note.featuredVerticalPrimary}${this.contract.note.itemsListPrimary}`),r=await this.getNewsListZoneWrapper(t,a,3,`${this.contract.note.featuredVerticalPrimary}${this.contract.note.featuredVerticalSecondary}`);return!n?.data?.data||!r?.data?.data?[]:(n.data.data=[...n.data.data,...r.data.data.slice(1)],n)}catch(n){return console.log(`[MainComponentServices.getNewsDestacadoVertical] Error: ${n?.message}`),[]}}async getNewsDestacadoHorizontal(t,a){try{const n=await this.getNewsListZoneWrapper(t,a,1,`${this.contract.note.featuredHorizontalPrimary}${this.contract.note.itemsListPrimary}`),r=await this.getNewsListZoneWrapper(t,a,3,this.contract.note.featuredHorizontalSecondary);return!n?.data?.data||!r?.data?.data?[]:(n.data.data=[...n.data.data,...r.data.data.slice(1)],n)}catch(n){return console.log(`[MainComponentServices.getNewsDestacadoHorizontal] Error: ${n?.message}`),[]}}GetByOptions={Diario:(t,a)=>this.getNewsDestacadoDiario(t,a),"Diario con imagen":(t,a)=>this.getNewsDestacadoDiarioImage(t,a),Super:(t,a)=>this.getNewsAltoImpacto(t,a),"3 notas verticales":(t,a)=>this.getNewsDestacadoVertical(t,a),"3 notas horizontales":(t,a)=>this.getNewsDestacadoHorizontal(t,a)};async getMainBlockData(t,a,n){try{const o=(await this.getOutstandingBlock(t))?.data?.data?.[0]?.value||"";if(!o||!Object.keys(this.GetByOptions).includes(o))return{section:o,news:[]};const i=await this.GetByOptions[o](a,n);return{section:o,news:i?.data??[]}}catch(r){return console.log(`[MainComponentServices.getMainBlockData] Error: ${r?.message}`),{section:"",news:[]}}}}const Lt=Symbol("bucket-retry-exhausted");function Ao(e){return Array.isArray(e?.data)?{...e,data:e.data.map(t=>t&&{...t,preview:At(t.preview)})}:e}function _e(e,t,a){return e.get(t,{params:a}).then(n=>(n.data=Ao(n.data),n)).catch(n=>(console.log(`[${t}] Error: ${n.message}`),Promise.reject(n)))}class Ke{constructor(t){this.props=t,this.contract=jt(t?.imageSizes).contract,t?.config?.configVersion&&(this.configVersion=t.config.configVersion),t?.exclude&&(this.exclude=t.exclude)}configVersion=".config";exclude="keywords,gallery,related,relatedexternal,external,customfields";contract;generateTokenOffline=async t=>{const{PUBLIC_IS_OFFLINE:a,PUBLIC_USERNAME_OFFLINE:n,PUBLIC_PASSWORD_OFFLINE:r}=U();if(a==="true")try{return(await this.props?.axiosApi.get("/auth",{params:{username:n,password:r,browserid:t}}).catch(i=>(console.log(`[/auth]Error: ${i.message}`),Promise.reject(i))))?.data.data[0]?.token}catch(o){console.log(`[/auth] Error: ${o.message}`),console.log(o)}};getEntitySection=t=>this.props?.axiosApi.get("/entity-section",{params:t}).catch(a=>(console.log(`[/entity-section] Error: ${a.message}`),Promise.reject(a)));getMainMenu=async t=>{const a=U().BUCKET_ORIGIN,n={data:{data:[]}},r=()=>this.props.axiosApi.get("/config/menu",{params:t}).catch(i=>(console.log(`[/config/menu] Error: ${i.message}`),ge.add({service:"CommonServices.getMainMenu",endpoint:"/config/menu",method:"GET",params:t,message:i.message,status:i.response?.status,layer:"axios-service"}),Promise.reject(i)));if(a?.menu){const i=U().PUBLIC_IS_OFFLINE==="true",l=Es(t.path),c=Ye(a,this.props?.config?.servicePrefix,"menu",l,i),d=a.referer??ct,u=`origin:menu:bucket:${c}`,f=await lt(u,()=>St(()=>It(a.proxyUrl??a.url,d).get(c),Lt,{label:"bucket:menu",endpoint:c,params:t}),{shouldCache:h=>h!==Lt,staleOnError:!0});return f===Lt?(Qt("menu",c),n):f}const o=`origin:menu:api:${t.path??""}`;return lt(o,()=>r(),{staleOnError:!0}).catch(()=>n)};getNewsListZone=t=>_e(this.props.axiosApi,"/news-list-zone",t);getNewsListZoneSection=t=>_e(this.props.axiosApi,"/news-list-zone-section",t);getNewsList=t=>_e(this.props.axiosApi,"/news-list",t);getNewsListTag=t=>_e(this.props.axiosApi,"/news-list-tag",t);getNewsListSection=t=>_e(this.props.axiosApi,"/news-list-section",t);getNewsListAvanced=t=>_e(this.props.axiosApi,"/news-list-advanced",t);getNewsListTags=t=>_e(this.props.axiosApi,"/news-list-tag",t);getNewsListTagEntity=t=>_e(this.props.axiosApi,"/news-list-tag-entity",t);getNewsListTagLite=t=>_e(this.props.axiosApi,"/news-list-tag-lite",t);getNewsListAutor=t=>_e(this.props.axiosApi,"/news-list-author",t);getNewsSearch=t=>this.props?.axiosApi.get("/news-list-search",{params:t}).catch(a=>(console.log(`[/news-list-search] Error: ${a.message}`),Promise.reject(a)));getAutorInfo=t=>this.props?.axiosApi.get("/authors",{params:t}).catch(a=>(console.log(`[/authors] Error: ${a.message}`),Promise.reject(a)));getvideoListAdvanced=t=>this.props?.axiosApi.get("/videos-list-advanced",{params:t}).catch(a=>(console.log(`[/videos-list-advanced] Error: ${a.message}`),Promise.reject(a)));getVideos=t=>this.props?.axiosApi.get("/videos",{params:t}).catch(a=>(console.log(`[/videos] Error: ${a.message}`),Promise.reject(a)));getVideosList=t=>this.props?.axiosApi.get("/videos-list",{params:t}).catch(a=>(console.log(`[/videos-list] Error: ${a.message}`),Promise.reject(a)));getBanners=async t=>{const a=U().BUCKET_ORIGIN,n={data:{data:[]}},r=()=>{const c=t.path?t.path:`/${this.configVersion}/banners.html`;return this.props.axiosApi.get("/config/banners",{params:{...t,path:this.props?.config?.servicePrefix+c}}).catch(d=>(console.log(`[/config/banners] Error: ${d.message}`),ge.add({service:"CommonServices.getBanners",endpoint:"/config/banners",method:"GET",params:t,message:d.message,status:d.response?.status,layer:"axios-service"}),Promise.reject(d)))};if(a?.banners){const c=U().PUBLIC_IS_OFFLINE==="true",d=(t.template??"").toLowerCase(),u=Ye(a,this.props?.config?.servicePrefix,"banners",d,c),f=a.referer??ct,h=`origin:banners:bucket:${u}`,p=await lt(h,()=>St(()=>It(a.proxyUrl??a.url,f).get(u),Lt,{label:"bucket:banners",endpoint:u,params:t}),{shouldCache:m=>m!==Lt,staleOnError:!0});return p===Lt?(Qt("banners",u),n):p}const o=t.path?t.path:`/${this.configVersion}/banners.html`,l=`origin:banners:api:${`${this.props?.config?.servicePrefix??""}${o}`}:${t.template??""}`;return lt(l,()=>r(),{staleOnError:!0}).catch(()=>n)};getPages=t=>this.props?.axiosApi.get("/config/pages",{params:t}).catch(a=>(console.log(`[/config/pages] Error: ${a.message}`),Promise.reject(a)));getRankingS3=async(t,a={Referer:ct})=>{if(!t||t==="")return{data:[]};const n=await St(()=>re.get(t,{headers:a}),{data:[]},{label:"bucket:ranking",endpoint:t});return jn(n)};getNews=t=>this.props?.axiosApi.get("/news",{params:{...t,exclude:`${t.exclude},pixel`}}).then(a=>(a.data=Ao(a.data),a)).catch(a=>(console.log(`[/news] Error: ${a.message}`),Promise.reject(a)));getNewsMultimedia=t=>this.props?.axiosApi.get("/news-items-multimedia",{params:t}).catch(a=>(console.log(`[/news-items-multimedia] Error: ${a.message}`),Promise.reject(a)));getNewsItemsList=t=>this.props?.axiosApi.get("/news-items-list",{params:t}).catch(a=>(console.log(`[/news-items-list] Error: ${a.message}`),Promise.reject(a)));getNewsListPath=t=>this.props?.axiosApi.get("/news-list-paths",{params:t}).catch(a=>(console.log(`[/news-list-paths] Error: ${a.message}`),Promise.reject(a)));getNewsSchemasImages=t=>this.props?.axiosApi.get("/schemas/news-images",{params:t}).catch(a=>(console.log(`[/schemas/news-images] Error: ${a.message}`),Promise.reject(a)));getNewsItemsRelated=(t,a)=>this.props?.axiosApi.get("/news-items-related",{params:{path:t,imagesizes:this.contract.note.listStandard,exclude:this.exclude,...a}}).catch(n=>(console.log(`[/news-items-related] Error: ${n.message}`),{data:er()}));sendEmail=t=>this.props?.axiosApi.post("/send/email",t,{headers:{"Content-Type":"application/x-www-form-urlencoded",Cookie:"JSESSIONID=21FDC2B9C2782893562BC53D52981A0B"}}).catch(a=>(console.log(`[/send/email] Error: ${a.message}`),Promise.reject(a)));searchData=async t=>{const a=await this.getNewsSearch(t);return a&&a?.data.data&&a?.data.data.length>0?{search:a}:{lastNews:await this.getNewsList(t)}};commonNewsServices=async(t,a={getNews:`${this.contract.note.detailMain}${this.contract.note.detailSecondary}`,getNewsItemsList:`${this.contract.note.itemsListPrimary}${this.contract.note.detailSecondary}`,getAutorInfo:`${this.contract.author.avatar}`,getNewsItemsRelated:`${this.contract.note.relatedPrimary}${this.contract.note.relatedThumb}`},n={getNewsItemsRelated:"config,keywords,authors,body,related,relatedexternal,social,external,hascontent,customfields,pixel",getAutorInfo:"groups"})=>{const[r,o]=await Promise.allSettled([this.getNews({imagesizes:a.getNews,path:t}),this.getNewsItemsList({path:t,imagesizes:a.getNewsItemsList})]),i=st(r)?.data,l=i?.[0];let c=[];l?.authors?.length===1&&l?.config?.showauthor&&l.authors[0]?.internaluser&&(c=(await this.getAutorInfo({user:l.authors[0].name,exclude:n.getAutorInfo,imagesizes:a.getAutorInfo}))?.data.data??[]);const d=fs(l),f=(st(o)?.data??[])[0]?.list?.items?.map(w=>fs(w)),h=[];f?.forEach(w=>{w&&w.length>0&&w.forEach(A=>{A.forEach(v=>{const S=this.getNews({path:v.replaceAll("|","/"),imagesizes:a.getNewsItemsRelated,exclude:n.getNewsItemsRelated});S&&h.push(S)})})});const m=(await Promise.allSettled([...h])).map(w=>st(w)?.data),g=await zn(d,this.getNews,`${this.contract.note.relatedPrimary}${this.contract.note.relatedThumb}`);let b=[];try{b=(await this.getNewsSchemasImages({path:t}))?.data?.data??[]}catch(w){console.warn("getNewsSchemasImages failed:",w),b=[]}return{news:i??[],autor:c,newsRelatedResponses:g,itemList:st(o)?.data??[],newsRelatedListResponses:m,schemasImages:b??[]}}}class yo extends Ke{MULTIPUBLICATION_FETCHES;PUBLIC_PUBLICATION_ID;IS_MULTIPUBLICATION;constructor(t){super(t);const{MULTIPUBLICATION_FETCHES:a,PUBLIC_PUBLICATION_ID:n}=U();this.MULTIPUBLICATION_FETCHES=a,this.PUBLIC_PUBLICATION_ID=n,this.IS_MULTIPUBLICATION=a!=null&&a!==""||n!=null&&n!==""}getBlockSass=async t=>{const a=await this.props?.axiosApi.get("/config/blocks-saas",{params:{...t,exclude:this.exclude,path:this.props?.config?.servicePrefix+`/${this.configVersion}/columna_derecha.html`}}).catch(n=>(console.log(`[/config/blocks-saas] Error: ${n.message}`),Promise.reject(n)));return this.resolveSlotContent(a?.data?.data)};resolveSlotContent=async t=>{if(!t||t.length===0||!t[0]?.value||!t[0].block||!this.props?.imgSizes[t[0].block])return{blockSass:t};const a=t[0],n=a?.value.split("="),r=n[0]??"",o=n[1]??"",i=a?.block,l={videos:async()=>{const c={size:this.props?.imgSizes[i].size??5,imagesizes:`${this.contract.video.lg}${this.contract.video.md}`,query:"Keywords:("+(o??"videohome")+")"};this.IS_MULTIPUBLICATION&&(c.publication=this.MULTIPUBLICATION_FETCHES??this.PUBLIC_PUBLICATION_ID);try{const d=await this.getvideoListAdvanced(c);return{blockSass:t,content:d?d.data:void 0}}catch(d){return console.log(`[/videos-list-advanced] Error: ${d?.message}`),{blockSass:t,content:void 0}}},tag:async()=>{const{USE_QUOTE_IN_QUERY_TAG_HOME:c}=U(),d={query:c?'claves:("'+o+'")':"claves:("+o+")",size:this.props?.imgSizes[i]?.size??3,newstype:this.props?.config?.newsType,exclude:this.exclude,imagesizes:this.props?.imgSizes[i]?.imageSizes};this.IS_MULTIPUBLICATION&&(d.publication=this.MULTIPUBLICATION_FETCHES??this.PUBLIC_PUBLICATION_ID);try{const u=await this.getNewsListAvanced(d);return{blockSass:t,content:u?u.data:void 0}}catch(u){return console.log(`[/news-list-advanced] Error: ${u?.message}`),{blockSass:t,content:void 0}}},seccion:async()=>{const c={query:`seccion:(${o})`,size:this.props?.imgSizes[i]?.size??3,newstype:this.props?.config?.newsType,exclude:this.exclude,imagesizes:this.props?.imgSizes[i]?.imageSizes};this.IS_MULTIPUBLICATION&&(c.publication=this.MULTIPUBLICATION_FETCHES??this.PUBLIC_PUBLICATION_ID);try{const d=await this.getNewsListAvanced(c);return{blockSass:t,content:d?d.data:void 0}}catch(d){return console.log(`[/news-list-advanced] Error: ${d?.message}`),{blockSass:t,content:void 0}}}};if(r in l){const c=l[r];return await c()}return{blockSass:t}}}class lu{issuuApi="https://api.issuu.com/v2";api=void 0;q="";constructor(t){this.q=t.q,this.api=re.create({baseURL:t.issuuApi?t.issuuApi:this.issuuApi,params:{state:t.state?t.state:"PUBLISHED",size:t.size?t.size:16,q:t.q},headers:{Authorization:`Bearer ${t.token}`}})}async getListIssuuPublications({page:t=1}){try{return await this.api?.get("/publications",{params:{q:this.q,page:t}})}catch(a){throw a}}async getListIssuuPublicationBySlug(t){try{return await this.api?.get(`/publications/${t}/embed`)}catch(a){throw a}}}const Ma=Symbol("bucket-retry-exhausted"),cu=async(e,t)=>{const a=U().BUCKET_ORIGIN;if(!a)return{};const n=U().PUBLIC_IS_OFFLINE==="true",r=Ye(a,t.servicePrefix,"bloques","modulos-dinamicos",n),o=a.referer??ct,i=`origin:slots:bucket:${r}`,l=await lt(i,()=>St(()=>It(a.proxyUrl??a.url,o).get(r),Ma,{label:"bucket:slots",endpoint:r,params:{}}),{shouldCache:u=>u!==Ma});if(l===Ma)return Qt("slots",r),{};const c=l.data?.data??[],d={};return await Promise.all(c.map(async u=>{u?.key&&(d[u.key]=await e.resolveSlotContent([u]))})),d},du=async(e,t,a,n,r,o,i)=>{const l=new yo({config:t,imgSizes:a,imageSizes:n,axiosApi:e,exclude:i}),c=async()=>{const d=[];for(let h=1;h<=r;h++)for(let p=1;p<=o;p++)d.push({func:l.getBlockSass,slot_id:h+"_"+p});const u=await Promise.allSettled([...d.map(h=>h.func({template:"Home_"+h.slot_id}))]),f={};for(let h=0;h<u.length;h++){const p=Un(u[h]),m="Home_"+(Math.floor(h/o)+1)+"_"+(Math.floor(h%o)+1);p&&(f[m]={...p})}return f};return U().BUCKET_ORIGIN?.slots?cu(l,t):c()},uu=e=>{const t=st(e);return t&&t.data?t.data:t},hu=async e=>{const t=await Promise.allSettled(Object.values(e).map(r=>{const o=r.promise??Promise.resolve(void 0);return o.catch(()=>{}),o})),a=Object.keys(e),n={};for(const r in e){const o=e[r];if(!o)continue;const i=o.custom_extractData??uu;n[r]=i(t[a.indexOf(r)])}return n},he=(e,t,a=404)=>({title:t?.name?`Error ${a} | ${t.name}`:`Error ${a}`}),Co=(e="")=>e.replace(/-/g," ").replace(/^./,t=>t.toUpperCase()),Jt=e=>{console.warn(`[metadata:fallback] ruta="${e}" — metaSource ausente, se fetcheó en SSR. Falta drilling en el repo consumidor.`)},Zt=e=>e.includes("/page/")?e.replace(/\/page\/\d+$/,""):e,Ne=e=>{try{const t=de();if(!t)return e;const a=new URL(e),n=a.pathname;return n===t||n.startsWith(`${t}/`)?e:a.origin+t+e.slice(a.origin.length)}catch{return e}},De=(e,t,a,n)=>{const r=Ne(t),o={...a?{title:a}:{},...n?{description:n}:{}};return{alternates:{...e.alternates,canonical:r},openGraph:{...e.openGraph,url:r,...o},twitter:{...e.twitter,url:r,...o}}},vo={404:e=>{const{meta:t,config:a,statusCode:n=404}=e;return he(t,a,n===500?500:404)},home:e=>{const{meta:t,config:a}=e;return{...t,...De(t,a.siteUrl,t.title)}},slug:e=>{const{meta:t,config:a,slug:n,pathname:r}=e,o=`${a.name} | ${Co(n)}`;return{...t,title:o,...De(t,a.siteUrl+r,o)}},auth:e=>{const{meta:t,config:a,slug:n,pathname:r}=e,o=`${a.name} | ${Co(n)}`;return{...t,title:o,...De(t,a.siteUrl+r,o)}},news:e=>{const{meta:t,config:a,currentNew:n,schemasImages:r}=e;if(!n)return he(t,a);const o=Yn(t,n,a,r);return o?{...t,...o}:he(t,a)},seccion:async e=>{const{meta:t,config:a,pathname:n,slug:r,axiosApi:o,metaSource:i}=e,{PUBLIC_LNG:l}=U(),d=Zt(n).split("/"),u=[],f=Ut(n),h=Number(a.newsListLimit)||0,p=l==="en";let m=i?.sectionName,g=i?.hasNextPage;if(m===void 0||g===void 0){Jt("seccion");const A=new Ke({config:a,axiosApi:o});try{let v,S;const y=await A.getNewsListSection({section:r,size:h,newstype:a.newsType,exclude:"keywords,gallery,related,relatedexternal,external,customfields",page:f});if(!y||(v=y.data.data,S=!(v.length<h),!v?.length))return he(t,a);m=v[0].info.section?.name,g=S}catch(v){return console.error(v),he(t,a,500)}}g&&u.push({rel:"next",url:Nt(a,d,f)}),f>1&&u.push({rel:"prev",url:Et(a,d,f)});const b=p?`Latest News from ${m} | ${a.name}`:`Últimas Noticias de ${m} | ${a.name}`,w=p?`All the latest news from ${m} on ${a.name}`:`Todas las últimas noticias de ${m} en ${a.name}`;return{...t,title:b,description:w,alternates:{...t.alternates,canonical:Ne(a.siteUrl+n)},manifest:a.manifest,icons:{...a.icons,other:u},other:{"msapplication-TileImage":a.msapplicationTileImage??""},openGraph:{...t.openGraph,title:b,description:w,type:"website",url:Ne(`${a.siteUrl}${n}`),locale:t.openGraph.locale},twitter:{...t.twitter,card:"summary_large_image",title:b,description:w,site:t.twitter.site,domain:new URL(a.siteUrl).hostname,url:Ne(`${a.siteUrl}${n}`)}}},tema:async e=>{const{meta:t,config:a,pathname:n,slug:r,axiosApi:o,metaSource:i}=e,c=Zt(n).split("/"),d=[],u=Ut(n),f=Number(a.newsListLimit)||0,{PUBLIC_TAG_TYPE:h,PUBLIC_LNG:p}=U(),m=p==="en";let g=i?.tagName,b=i?.hasNextPage;if(g===void 0||b===void 0){Jt("tema");const v=new Ke({config:a,axiosApi:o}),S=/([t][0-9]{4})\w+/.exec(r||""),y=S&&S?.length>0?S[0].replace("t",""):"";try{const N=await v.getNewsListTags({tagid:y,size:f,tagtype:Number(h),newstype:a.newsType,exclude:"keywords,gallery,related,relatedexternal,external,customfields",page:u});if(!N)return he(t,a);const k=N.data.entity;if(!k)return he(t,a);g=k.name,b=!(N.data.data?.length<f)}catch(N){return console.error(N),he(t,a,500)}}b&&d.push({rel:"next",url:Nt(a,c,u)}),u>1&&d.push({rel:"prev",url:Et(a,c,u)});const w=m?`Latest news about ${g} | ${a.name}`:`Últimas noticias de ${g} | ${a.name}`,A=m?`The latest news about ${g} on ${a.name}`:`Las últimas noticias sobre ${g} en ${a.name}`;return{...t,title:w,description:A,alternates:{...t.alternates,canonical:Ne(a.siteUrl+n)},manifest:a.manifest,icons:{...a.icons,other:d},other:{"msapplication-TileImage":a.msapplicationTileImage??""},openGraph:{...t.openGraph,title:w,description:A,type:"website",url:Ne(`${a.siteUrl}${n}`),locale:t.openGraph.locale},twitter:{...t.twitter,card:"summary_large_image",title:w,description:A,site:t.twitter.site,domain:new URL(a.siteUrl).hostname,url:Ne(`${a.siteUrl}${n}`)}}},"ultimas-noticias":async e=>{const{meta:t,config:a,pathname:n,texts:r,axiosApi:o,metaSource:i}=e,c=Zt(n).split("/"),d=[],u=Ut(n),f=Number(a.newsListLimit)||0,h=`${a.name} | ${r.lastNotesTitle}`,p={...t,title:h,...De(t,a.siteUrl+"/"+a.paths["ultimas-noticias"],h)};let m=i?.hasNextPage;if(m===void 0){if(Jt("ultimas-noticias"),!o)return p;const g=new Ke({config:a,axiosApi:o});try{const b=await g.getNewsList({size:f,newstype:a.newsType,exclude:"keywords,gallery,related,relatedexternal,external,customfields",page:u});if(!b)return p;m=!(b.data.data.length<f)}catch(b){return console.error(b),p}}return m&&d.push({rel:"next",url:Nt(a,c,u)}),u>1&&d.push({rel:"prev",url:Et(a,c,u)}),{...t,title:h,...De(t,a.siteUrl+n,h),manifest:a.manifest,icons:{...a.icons,other:d},other:{"msapplication-TileImage":a.msapplicationTileImage??""}}},video:async e=>{const{meta:t,config:a,internalPath:n,axiosApi:r}=e,o=new Ke({config:a,axiosApi:r});try{const i=await o.getVideos({imagesizes:o.contract.og.social,path:n});return i?.data?.data?.length?{...t,...nr(t,i.data.data[0],a)??{}}:he(t,a)}catch(i){return console.error("metadata (video) error:",i),he(t,a,500)}},videos:async e=>{const{meta:t,config:a,pathname:n,axiosApi:r,metaSource:o}=e,l=Zt(n).split("/"),c=[],d=Ut(n),u=Number(a.newsListLimit)||0;let f=o?.hasNextPage;if(f===void 0){Jt("videos");const p=new Ke({config:a,axiosApi:r});try{const m=await p.getvideoListAdvanced({size:u,query:"Category:(videohome OR destacadoseccion OR seccion)",page:Number(d)});if(!m)return he(t,a);f=!(m.data.data.length<u)}catch(m){return console.error(m),he(t,a,500)}}f&&c.push({rel:"next",url:Nt(a,l,d)}),d>1&&c.push({rel:"prev",url:Et(a,l,d)});const h="Videos | "+a.name;return{...t,title:h,...De(t,a.siteUrl+n,h),manifest:a.manifest,icons:{...a.icons,other:c},other:{"msapplication-TileImage":a.msapplicationTileImage??""}}},pages:async(e,t)=>{const{meta:a,config:n,pathname:r,slug:o,axiosApi:i}=e,l=new Ke({config:n,axiosApi:i});try{const c=await l.getPages({path:t||n.servicePrefix+`/pages/${o}`});if(!c)return he(a,n);const d=c.data.data[0]?.info.title??"",u=`${n.name} | ${d}`;return{...a,title:u,...De(a,n.siteUrl+r,u)}}catch(c){return console.error(c),he(a,n,500)}},contacto:e=>{const{meta:t,config:a,pathname:n}=e,r=U().PUBLIC_LNG==="en",o=`${a.name} | ${r?"Contact":"Contacto"}`;return{...t,title:o,...De(t,a.siteUrl+n,o)}},anuncia:e=>{const{meta:t,config:a,pathname:n}=e,r=U().PUBLIC_LNG==="en",o=`${a.name} | ${r?"Advertise":"Anuncia"}`;return{...t,title:o,...De(t,a.siteUrl+n,o)}},buscar:e=>{const{meta:t,config:a,pathname:n,query:r,texts:o}=e;if(r&&r.trim()!==""){const i=`${a.name} | ${`${o.resultsOfPrefix}'${r}'`}`;return{...t,title:i,alternates:{...t.alternates,canonical:Ne(a.siteUrl+n+(r?"?query="+r:""))},openGraph:{...t.openGraph,title:i,type:"website",url:Ne(`${a.siteUrl}${n}${r?"?query="+r:""}`)},twitter:{...t.twitter,card:"summary_large_image",title:i,domain:new URL(a.siteUrl).hostname,url:Ne(`${a.siteUrl}${n}${r?"?query="+r:""}`)}}}else{const i=`${a.name} | ${o.searchKeyWord}`;return{...t,title:i,alternates:{...t.alternates,canonical:Ne(a.siteUrl+n+(r?"?query="+r:""))},openGraph:{...t.openGraph,title:i,type:"website",url:Ne(`${a.siteUrl}${n}`)},twitter:{...t.twitter,card:"summary_large_image",title:i,domain:new URL(a.siteUrl).hostname,url:Ne(`${a.siteUrl}${n}`)}}}},autor:async e=>{const{meta:t,config:a,pathname:n,slug:r,axiosApi:o,metaSource:i}=e,c=Zt(n).split("/"),d=[],u=Ut(n),f=U().PUBLIC_LNG==="en",h=Number(a.newsListLimit)||0;let p=i?.fullname,m=i?.hasNextPage;if(p===void 0||m===void 0){Jt("autor");const w=new Ke({config:a,axiosApi:o});try{const A=await w.getAutorInfo({user:r,exclude:"groups",imagesizes:w.contract.author.avatar}),v=await w.getNewsListAutor({size:h,user:r,page:u,newstype:a.newsType,exclude:"keywords,gallery,related,relatedexternal,external,customfields",imagesizes:w.contract.note.listStandard});if(!v)return he(t,a);m=!(v.data.data.length<h),p=A?.data.data[0]?.info.fullname}catch(A){return console.error(A),he(t,a,500)}}m&&d.push({rel:"next",url:Nt(a,c,u)}),u>1&&d.push({rel:"prev",url:Et(a,c,u)});const g=f?`Latest News from ${p} | ${a.name}`:`Últimas Noticias de ${p} | ${a.name}`,b=f?`All the latest news from ${p} on ${a.name}`:`Todas las últimas noticias de ${p} en ${a.name}`;return{...t,title:g,description:b,...De(t,a.siteUrl+n,g,b),manifest:a.manifest,icons:{...a.icons,other:d},other:{"msapplication-TileImage":a.msapplicationTileImage??""}}}},fu=e=>e?e.replace(/<[^>]*>/g,"").replace(/ /gi," ").replace(/&/gi,"&").replace(/"/gi,'"').replace(/'/gi,"'").replace(/\s+/g," ").trim():"",mu=({autor:e,listAutor:t,config:a})=>{const n=t?.[0]??null,{DATE_TIMEZONE:r="America/Mexico_City",PUBLIC_ASSETS_URL:o,PUBLIC_LNG:i}=U(),l=i==="en",c=r,d=n?.info?.date?.modified?Ie(n.info.date.modified,c):void 0,u=e.addtional?.USER_JOBSTART?Ie(e.addtional.USER_JOBSTART,c):void 0,f=o&&o!=="false"?o:"",h=e.addtional,p=h?.USER_USERFB||h?.USER_PAGE_FACEBOOK||h?.USER_FACEBOOK_FAN_PAGE,m=h?.USER_USERTWT||h?.USER_PAGE_TWITTER,g=h?.USER_USERIG||h?.USER_PAGE_INSTAGRAM,b=h?.USER_USERLIN||h?.USER_PAGE_LINKEDIN,w=h?.USER_PAGE_TIKTOK,A=h?.USER_PAGE_YOUTUBE,v=h?.USER_PAGE_PINTEREST,S=l?h?.USER_POSITION_EN||"":h?.USER_JOBTITLE||h?.USER_POSITION||"",y=l?h?.USER_DESCRIPCION_EN||h?.USER_MIBIO_EN||"":h?.USER_DESCRIPCION||h?.USER_MIBIO||"",N=e?.addtional?.USER_SHOWEMAIL===!0||h?.USER_MOSTRAR_MAIL?.toUpperCase()==="TRUE",k=de(),O={"@context":"https://schema.org","@type":"ProfilePage",mainEntity:{"@type":"Person",name:e.info.fullname??e.info.name,alternateName:e.info.nickname?e.info.nickname:e.info.name,identifier:e.info.id,description:fu(y),image:e.info.image?e.info.image.sizes.map(($,M)=>M===0&&e.info.image.sizes.length!==1?null:f+$.url).filter(Boolean):[],sameAs:[p,g,b,m,w,A,v].filter(Boolean),jobTitle:S,url:a.siteUrl+k+(a.paths.autor!==""?`/${a.paths.autor}/`:"/")+e.info.name}};return u&&(O.dateCreated=u),d&&(O.dateModified=d),N&&(O.mainEntity.email=e.info.email),s.jsx("script",{type:"application/ld+json",children:JSON.stringify(Be(O))})},pu=`(function(){"use strict";const Me="__html-audit-manifest";function je(e){const t=e.getElementById(Me);if(!t||!t.textContent)return null;try{const n=JSON.parse(t.textContent);return!n||typeof n!="object"||!n.expects?null:n}catch{return null}}function g(e,t,n,o,r){return{id:e,label:t,status:n,detail:o,expected:r}}function w(e,t,n,o,r){return o==null?g(e,t,n?"ok":"info",r,void 0):o?n?g(e,t,"ok",r,!0):g(e,t,"missing",r||"Esperado por config pero AUSENTE",!0):n?g(e,t,"warn",r||"Presente pero no estaba configurado",!1):g(e,t,"info",r||"No configurado",!1)}const ce={ok:0,info:1,warn:2,missing:3};function J(e,t){if(!t||!t.length)return e;e.issues=t;let n=e.status;for(const o of t)ce[o.status]>ce[n]&&(n=o.status);return e.status=n,e}function N(e,t){return!!e.querySelector(t)}function q(e,t){return e.querySelectorAll(t).length}function F(e){const t=[];return e.querySelectorAll('script[type="application/ld+json"]').forEach(o=>{if(o.textContent)try{const r=JSON.parse(o.textContent);Array.isArray(r)?t.push(...r):t.push(r)}catch{}}),t}function U(e,t){return F(e).some(n=>{const o=n?.["@type"];return typeof o=="string"?o===t:Array.isArray(o)?o.includes(t):!1})}function pe(e,t){const n=[],o=r=>{if(!r||typeof r!="object")return;if(Array.isArray(r)){r.forEach(o);return}const s=r,i=s["@type"];(i===t||Array.isArray(i)&&i.includes(t))&&n.push(s),Array.isArray(s["@graph"])&&s["@graph"].forEach(o)};return F(e).forEach(o),n}const qe=600,Ue=6e3;function de(e,t){return e.length>t?e.slice(0,t)+\`
|
|
29
|
+
}`,nu=e=>{try{return new URL(e).origin}catch{return null}},ru=({config:e,fontUrl:t,isS3:a})=>{const n=e.fontDisplay??"swap",r=e.fontFormat??"woff2",o=nu(t);return s.jsxs(s.Fragment,{children:[o&&!a&&s.jsx("link",{rel:"preconnect",href:o,crossOrigin:"anonymous"}),s.jsx("link",{rel:"preload",as:"font",href:t,type:`font/${r}`,crossOrigin:"anonymous",fetchPriority:"high"}),s.jsx("style",{dangerouslySetInnerHTML:{__html:au(e,t,n,r)}})]})},po=({config:e})=>{const t=e.fontDisplay??"swap",{url:a,isS3:n}=su(e);return a?s.jsx(ru,{config:e,fontUrl:a,isS3:n}):mo(e.googleFontFamily)?s.jsxs(s.Fragment,{children:[s.jsx("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),s.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),s.jsx("link",{rel:"stylesheet",href:`https://fonts.googleapis.com/css2?${e.googleFontFamily}&display=${t}`})]}):null},Oa={404:()=>{},home:()=>({"[author_replace]":"","[section_replace]":"home","[tag_replace]":"","[url_replace]":""}),slug:e=>({"[author_replace]":"","[section_replace]":e.pathname==="/index.html"?"home":e.slug??"","[tag_replace]":"","[url_replace]":""}),news:e=>({"[author_replace]":e.currentNew?.authors[0]?.name??"","[section_replace]":e.currentNew?.info?.section?.slug??"","[tag_replace]":ba(e.currentNew?.keywords),"[url_replace]":Jn(e.internalPath??"")}),seccion:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/"+e.config?.paths.seccion+"/")[1]??"","[tag_replace]":"","[url_replace]":""}),tema:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/"+e.config?.paths.tema+"/")[1]??"","[tag_replace]":"","[url_replace]":""}),"ultimas-noticias":e=>({"[author_replace]":"","[section_replace]":e.config?.paths["ultimas-noticias"]??"","[tag_replace]":"","[url_replace]":""}),video:e=>({"[author_replace]":"","[section_replace]":e.slug,"[tag_replace]":"","[url_replace]":""}),videos:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/videos/")[1]??"","[tag_replace]":"","[url_replace]":""}),pages:e=>({"[author_replace]":"","[section_replace]":e.slug??"","[tag_replace]":"","[url_replace]":""}),auth:e=>({"[author_replace]":"","[section_replace]":e.slug??"","[tag_replace]":"","[url_replace]":""}),contacto:e=>({"[author_replace]":"","[section_replace]":e.config?.paths.contacto??"contacto","[tag_replace]":"","[url_replace]":""}),anuncia:e=>({"[author_replace]":"","[section_replace]":e.config?.paths.anuncia??"anuncia","[tag_replace]":"","[url_replace]":""}),buscar:e=>({"[author_replace]":"","[section_replace]":e.config?.paths.buscar??"","[tag_replace]":"","[url_replace]":""}),autor:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/"+e.config?.paths.autor+"/")[1]??"","[tag_replace]":"","[url_replace]":""})},go=e=>{if(!e)return e??"";if(e.search("/page/")===-1)return e.replace("/","");const t=e.split("/"),a=t.indexOf("page")-1;return a<0?e:(t[a]??"").replace("/","")},Se=e=>{const a=e.replace(/^\/|\/$/g,"").split("/"),n=a.indexOf("page");return n>0?`${a[n-1]??""}`:`${a[a.length-1]??""}`},bo={404:()=>"404",home:()=>"home",slug:e=>Se(e.pathname),news:e=>Kn(e.pathname)?.slug,seccion:e=>Se(e.pathname),tema:e=>Se(e.pathname),pages:e=>Se(e.pathname),auth:e=>Se(e.pathname),buscar:e=>Se(e.pathname),"ultimas-noticias":e=>Se(e.pathname),anuncia:e=>Se(e.pathname),contacto:e=>Se(e.pathname),autor:e=>Se(e.pathname),video:e=>Se(e.pathname),videos:e=>Se(e.pathname)},Ut=e=>{const t=e.split("/"),a=t[t.length-1]??"1";return Number(a)>0?Number(a):1},ou=(e,t=2)=>{if(!e||e.length===0)return[];const a=[];for(let n=0;n<t;n++){if(!e[n]||!e[n].preview)continue;const r=e[n].preview?.sizes;r&&(r.length>1?a.push({href:r[0]?.url??"",media:"(min-width: 900px)"},{href:r[1]?.url??"",media:"(max-width: 900px)"}):a.push({href:r[0]?.url??""}))}return a},wo=({gpt:e=!1,googleAds:t=!1,syndication:a=!1,adsense:n=!1})=>s.jsxs(s.Fragment,{children:[e&&s.jsx("link",{rel:"preconnect",href:"https://securepubads.g.doubleclick.net",crossOrigin:"anonymous"}),t&&s.jsx("link",{rel:"preconnect",href:"https://googleads.g.doubleclick.net",crossOrigin:"anonymous"}),a&&s.jsx("link",{rel:"preconnect",href:"https://tpc.googlesyndication.com",crossOrigin:"anonymous"}),n&&s.jsx("link",{rel:"dns-prefetch",href:"https://pagead2.googlesyndication.com"})]}),Ba=Symbol("bucket-retry-exhausted");class iu{exclude="keywords,gallery,related,relatedexternal,external,customfields";config={};imgSizes={};configVersion=".config";axiosApi=void 0;customMainImagesSize=void 0;contract;constructor(t,a,n,r,o,i){this.config=t,this.imgSizes=a,this.axiosApi=n,this.customMainImagesSize=o,this.contract=jt(i).contract,t.configVersion&&(this.configVersion=t.configVersion),r&&(this.exclude=r)}async getNewsListZone(t){if(this.axiosApi)return this.axiosApi.get("/news-list-zone",{params:t}).catch(a=>(console.log(`[/news-list-zone] Error: ${a.message}`),console.log(a),Promise.reject(a)))}async getOutstandingBlock(t){if(!this.axiosApi)return;const a=this.axiosApi,n=()=>a.get("/config/blocks",{params:{...t,path:this.config.servicePrefix+`/${this.configVersion}/columna_derecha.html`}}).catch(o=>(console.log(`[/config/blocks] Error: ${o.message}`),console.log(o),Promise.reject(o))),r=U().BUCKET_ORIGIN;if(r?.destacado){const o=U().PUBLIC_IS_OFFLINE==="true",i={data:{data:[]}},l=Ye(r,this.config.servicePrefix,"bloques","destacado",o),c=r.referer??ct,d=`origin:destacado:bucket:${l}`,u=await lt(d,()=>St(()=>It(r.proxyUrl??r.url,c).get(l),Ba,{label:"bucket:destacado",endpoint:l,params:t}),{shouldCache:f=>f!==Ba});return u===Ba?(Qt("destacado",l),i):u}return n()}getNewsListZoneWrapper(t,a,n,r){return this.getNewsListZone({zone:a||"destacadas",size:n,onmainpage:t?"section":void 0,section:t,newstype:this.config.newsType,exclude:this.exclude,imagesizes:r})}async getNewsDestacadoDiario(t,a){try{const n=await this.getNewsListZoneWrapper(t,a,1,this.customMainImagesSize||`${this.contract.note.gallery}${this.contract.note.itemsListPrimary}`),r=await this.getNewsListZoneWrapper(t,a,5);return!n?.data?.data||!r?.data?.data?[]:(n.data.data=[...n.data.data,...r.data.data.slice(1)],n)}catch(n){return console.log(`[MainComponentServices.getNewsDestacadoDiario] Error: ${n?.message}`),[]}}async getNewsDestacadoDiarioImage(t,a){try{const n=await this.getNewsListZoneWrapper(t,a,1,this.customMainImagesSize||this.contract.note.itemsListPrimary),r=await this.getNewsListZoneWrapper(t,a,5,this.contract.note.featuredDiarioImageThumb);return!n?.data?.data||!r?.data?.data?[]:(n.data.data=[...n.data.data,...r.data.data.slice(1)],n)}catch(n){return console.log(`[MainComponentServices.getNewsDestacadoDiarioImage] Error: ${n?.message}`),[]}}async getNewsAltoImpacto(t,a){try{return await this.getNewsListZoneWrapper(t,a,1,`${this.contract.note.gallery}${this.contract.note.featuredSuperSecondary}`)}catch(n){console.log(`[MainComponentServices.getNewsAltoImpacto] Error: ${n?.message}`);return}}async getNewsDestacadoVertical(t,a){try{const n=await this.getNewsListZoneWrapper(t,a,1,`${this.contract.note.featuredVerticalPrimary}${this.contract.note.itemsListPrimary}`),r=await this.getNewsListZoneWrapper(t,a,3,`${this.contract.note.featuredVerticalPrimary}${this.contract.note.featuredVerticalSecondary}`);return!n?.data?.data||!r?.data?.data?[]:(n.data.data=[...n.data.data,...r.data.data.slice(1)],n)}catch(n){return console.log(`[MainComponentServices.getNewsDestacadoVertical] Error: ${n?.message}`),[]}}async getNewsDestacadoHorizontal(t,a){try{const n=await this.getNewsListZoneWrapper(t,a,1,`${this.contract.note.featuredHorizontalPrimary}${this.contract.note.itemsListPrimary}`),r=await this.getNewsListZoneWrapper(t,a,3,this.contract.note.featuredHorizontalSecondary);return!n?.data?.data||!r?.data?.data?[]:(n.data.data=[...n.data.data,...r.data.data.slice(1)],n)}catch(n){return console.log(`[MainComponentServices.getNewsDestacadoHorizontal] Error: ${n?.message}`),[]}}GetByOptions={Diario:(t,a)=>this.getNewsDestacadoDiario(t,a),"Diario con imagen":(t,a)=>this.getNewsDestacadoDiarioImage(t,a),Super:(t,a)=>this.getNewsAltoImpacto(t,a),"3 notas verticales":(t,a)=>this.getNewsDestacadoVertical(t,a),"3 notas horizontales":(t,a)=>this.getNewsDestacadoHorizontal(t,a)};async getMainBlockData(t,a,n){try{const o=(await this.getOutstandingBlock(t))?.data?.data?.[0]?.value||"";if(!o||!Object.keys(this.GetByOptions).includes(o))return{section:o,news:[]};const i=await this.GetByOptions[o](a,n);return{section:o,news:i?.data??[]}}catch(r){return console.log(`[MainComponentServices.getMainBlockData] Error: ${r?.message}`),{section:"",news:[]}}}}const Lt=Symbol("bucket-retry-exhausted");function Ao(e){return Array.isArray(e?.data)?{...e,data:e.data.map(t=>t&&{...t,preview:At(t.preview)})}:e}function _e(e,t,a){return e.get(t,{params:a}).then(n=>(n.data=Ao(n.data),n)).catch(n=>(console.log(`[${t}] Error: ${n.message}`),Promise.reject(n)))}class Ke{constructor(t){this.props=t,this.contract=jt(t?.imageSizes).contract,t?.config?.configVersion&&(this.configVersion=t.config.configVersion),t?.exclude&&(this.exclude=t.exclude)}configVersion=".config";exclude="keywords,gallery,related,relatedexternal,external,customfields";contract;generateTokenOffline=async t=>{const{PUBLIC_IS_OFFLINE:a,PUBLIC_USERNAME_OFFLINE:n,PUBLIC_PASSWORD_OFFLINE:r}=U();if(a==="true")try{return(await this.props?.axiosApi.get("/auth",{params:{username:n,password:r,browserid:t}}).catch(i=>(console.log(`[/auth]Error: ${i.message}`),Promise.reject(i))))?.data.data[0]?.token}catch(o){console.log(`[/auth] Error: ${o.message}`),console.log(o)}};getEntitySection=t=>this.props?.axiosApi.get("/entity-section",{params:t}).catch(a=>(console.log(`[/entity-section] Error: ${a.message}`),Promise.reject(a)));getMainMenu=async t=>{const a=U().BUCKET_ORIGIN,n={data:{data:[]}},r=()=>this.props.axiosApi.get("/config/menu",{params:t}).catch(i=>(console.log(`[/config/menu] Error: ${i.message}`),ge.add({service:"CommonServices.getMainMenu",endpoint:"/config/menu",method:"GET",params:t,message:i.message,status:i.response?.status,layer:"axios-service"}),Promise.reject(i)));if(a?.menu){const i=U().PUBLIC_IS_OFFLINE==="true",l=Es(t.path),c=Ye(a,this.props?.config?.servicePrefix,"menu",l,i),d=a.referer??ct,u=`origin:menu:bucket:${c}`,f=await lt(u,()=>St(()=>It(a.proxyUrl??a.url,d).get(c),Lt,{label:"bucket:menu",endpoint:c,params:t}),{shouldCache:h=>h!==Lt,staleOnError:!0});return f===Lt?(Qt("menu",c),n):f}const o=`origin:menu:api:${t.path??""}`;return lt(o,()=>r(),{staleOnError:!0}).catch(()=>n)};getNewsListZone=t=>_e(this.props.axiosApi,"/news-list-zone",t);getNewsListZoneSection=t=>_e(this.props.axiosApi,"/news-list-zone-section",t);getNewsList=t=>_e(this.props.axiosApi,"/news-list",t);getNewsListTag=t=>_e(this.props.axiosApi,"/news-list-tag",t);getNewsListSection=t=>_e(this.props.axiosApi,"/news-list-section",t);getNewsListAvanced=t=>_e(this.props.axiosApi,"/news-list-advanced",t);getNewsListTags=t=>_e(this.props.axiosApi,"/news-list-tag",t);getNewsListTagEntity=t=>_e(this.props.axiosApi,"/news-list-tag-entity",t);getNewsListTagLite=t=>_e(this.props.axiosApi,"/news-list-tag-lite",t);getNewsListAutor=t=>_e(this.props.axiosApi,"/news-list-author",t);getNewsSearch=t=>this.props?.axiosApi.get("/news-list-search",{params:t}).catch(a=>(console.log(`[/news-list-search] Error: ${a.message}`),Promise.reject(a)));getAutorInfo=t=>this.props?.axiosApi.get("/authors",{params:t}).catch(a=>(console.log(`[/authors] Error: ${a.message}`),Promise.reject(a)));getvideoListAdvanced=t=>this.props?.axiosApi.get("/videos-list-advanced",{params:t}).catch(a=>(console.log(`[/videos-list-advanced] Error: ${a.message}`),Promise.reject(a)));getVideos=t=>this.props?.axiosApi.get("/videos",{params:t}).catch(a=>(console.log(`[/videos] Error: ${a.message}`),Promise.reject(a)));getVideosList=t=>this.props?.axiosApi.get("/videos-list",{params:t}).catch(a=>(console.log(`[/videos-list] Error: ${a.message}`),Promise.reject(a)));getBanners=async t=>{const a=U().BUCKET_ORIGIN,n={data:{data:[]}},r=()=>{const c=t.path?t.path:`/${this.configVersion}/banners.html`;return this.props.axiosApi.get("/config/banners",{params:{...t,path:this.props?.config?.servicePrefix+c}}).catch(d=>(console.log(`[/config/banners] Error: ${d.message}`),ge.add({service:"CommonServices.getBanners",endpoint:"/config/banners",method:"GET",params:t,message:d.message,status:d.response?.status,layer:"axios-service"}),Promise.reject(d)))};if(a?.banners){const c=U().PUBLIC_IS_OFFLINE==="true",d=(t.template??"").toLowerCase(),u=Ye(a,this.props?.config?.servicePrefix,"banners",d,c),f=a.referer??ct,h=`origin:banners:bucket:${u}`,p=await lt(h,()=>St(()=>It(a.proxyUrl??a.url,f).get(u),Lt,{label:"bucket:banners",endpoint:u,params:t}),{shouldCache:m=>m!==Lt,staleOnError:!0});return p===Lt?(Qt("banners",u),n):p}const o=t.path?t.path:`/${this.configVersion}/banners.html`,l=`origin:banners:api:${`${this.props?.config?.servicePrefix??""}${o}`}:${t.template??""}`;return lt(l,()=>r(),{staleOnError:!0}).catch(()=>n)};getPages=t=>this.props?.axiosApi.get("/config/pages",{params:t}).catch(a=>(console.log(`[/config/pages] Error: ${a.message}`),Promise.reject(a)));getRankingS3=async(t,a={Referer:ct})=>{if(!t||t==="")return{data:[]};const n=await St(()=>re.get(t,{headers:a}),{data:[]},{label:"bucket:ranking",endpoint:t});return jn(n)};getNews=t=>this.props?.axiosApi.get("/news",{params:{...t,exclude:`${t.exclude},pixel`}}).then(a=>(a.data=Ao(a.data),a)).catch(a=>(console.log(`[/news] Error: ${a.message}`),Promise.reject(a)));getNewsMultimedia=t=>this.props?.axiosApi.get("/news-items-multimedia",{params:t}).catch(a=>(console.log(`[/news-items-multimedia] Error: ${a.message}`),Promise.reject(a)));getNewsItemsList=t=>this.props?.axiosApi.get("/news-items-list",{params:t}).catch(a=>(console.log(`[/news-items-list] Error: ${a.message}`),Promise.reject(a)));getNewsListPath=t=>this.props?.axiosApi.get("/news-list-paths",{params:t}).catch(a=>(console.log(`[/news-list-paths] Error: ${a.message}`),Promise.reject(a)));getNewsSchemasImages=t=>this.props?.axiosApi.get("/schemas/news-images",{params:t}).catch(a=>(console.log(`[/schemas/news-images] Error: ${a.message}`),Promise.reject(a)));getNewsItemsRelated=(t,a)=>this.props?.axiosApi.get("/news-items-related",{params:{path:t,imagesizes:this.contract.note.listStandard,exclude:this.exclude,...a}}).catch(n=>(console.log(`[/news-items-related] Error: ${n.message}`),{data:er()}));sendEmail=t=>this.props?.axiosApi.post("/send/email",t,{headers:{"Content-Type":"application/x-www-form-urlencoded",Cookie:"JSESSIONID=21FDC2B9C2782893562BC53D52981A0B"}}).catch(a=>(console.log(`[/send/email] Error: ${a.message}`),Promise.reject(a)));searchData=async t=>{const a=await this.getNewsSearch(t);return a&&a?.data.data&&a?.data.data.length>0?{search:a}:{lastNews:await this.getNewsList(t)}};commonNewsServices=async(t,a={getNews:`${this.contract.note.detailMain}${this.contract.note.detailSecondary}${this.contract.note.relatedThumb}`,getNewsItemsList:`${this.contract.note.itemsListPrimary}${this.contract.note.detailSecondary}`,getAutorInfo:`${this.contract.author.avatar}`,getNewsItemsRelated:`${this.contract.note.relatedPrimary}${this.contract.note.relatedThumb}`},n={getNewsItemsRelated:"config,keywords,authors,body,related,relatedexternal,social,external,hascontent,customfields,pixel",getAutorInfo:"groups"})=>{const[r,o]=await Promise.allSettled([this.getNews({imagesizes:a.getNews,path:t}),this.getNewsItemsList({path:t,imagesizes:a.getNewsItemsList})]),i=st(r)?.data,l=i?.[0];let c=[];l?.authors?.length===1&&l?.config?.showauthor&&l.authors[0]?.internaluser&&(c=(await this.getAutorInfo({user:l.authors[0].name,exclude:n.getAutorInfo,imagesizes:a.getAutorInfo}))?.data.data??[]);const d=fs(l),f=(st(o)?.data??[])[0]?.list?.items?.map(w=>fs(w)),h=[];f?.forEach(w=>{w&&w.length>0&&w.forEach(A=>{A.forEach(v=>{const S=this.getNews({path:v.replaceAll("|","/"),imagesizes:a.getNewsItemsRelated,exclude:n.getNewsItemsRelated});S&&h.push(S)})})});const m=(await Promise.allSettled([...h])).map(w=>st(w)?.data),g=await zn(d,this.getNews,`${this.contract.note.relatedPrimary}${this.contract.note.relatedThumb}`);let b=[];try{b=(await this.getNewsSchemasImages({path:t}))?.data?.data??[]}catch(w){console.warn("getNewsSchemasImages failed:",w),b=[]}return{news:i??[],autor:c,newsRelatedResponses:g,itemList:st(o)?.data??[],newsRelatedListResponses:m,schemasImages:b??[]}}}class yo extends Ke{MULTIPUBLICATION_FETCHES;PUBLIC_PUBLICATION_ID;IS_MULTIPUBLICATION;constructor(t){super(t);const{MULTIPUBLICATION_FETCHES:a,PUBLIC_PUBLICATION_ID:n}=U();this.MULTIPUBLICATION_FETCHES=a,this.PUBLIC_PUBLICATION_ID=n,this.IS_MULTIPUBLICATION=a!=null&&a!==""||n!=null&&n!==""}getBlockSass=async t=>{const a=await this.props?.axiosApi.get("/config/blocks-saas",{params:{...t,exclude:this.exclude,path:this.props?.config?.servicePrefix+`/${this.configVersion}/columna_derecha.html`}}).catch(n=>(console.log(`[/config/blocks-saas] Error: ${n.message}`),Promise.reject(n)));return this.resolveSlotContent(a?.data?.data)};resolveSlotContent=async t=>{if(!t||t.length===0||!t[0]?.value||!t[0].block||!this.props?.imgSizes[t[0].block])return{blockSass:t};const a=t[0],n=a?.value.split("="),r=n[0]??"",o=n[1]??"",i=a?.block,l={videos:async()=>{const c={size:this.props?.imgSizes[i].size??5,imagesizes:`${this.contract.video.lg}${this.contract.video.md}`,query:"Keywords:("+(o??"videohome")+")"};this.IS_MULTIPUBLICATION&&(c.publication=this.MULTIPUBLICATION_FETCHES??this.PUBLIC_PUBLICATION_ID);try{const d=await this.getvideoListAdvanced(c);return{blockSass:t,content:d?d.data:void 0}}catch(d){return console.log(`[/videos-list-advanced] Error: ${d?.message}`),{blockSass:t,content:void 0}}},tag:async()=>{const{USE_QUOTE_IN_QUERY_TAG_HOME:c}=U(),d={query:c?'claves:("'+o+'")':"claves:("+o+")",size:this.props?.imgSizes[i]?.size??3,newstype:this.props?.config?.newsType,exclude:this.exclude,imagesizes:this.props?.imgSizes[i]?.imageSizes};this.IS_MULTIPUBLICATION&&(d.publication=this.MULTIPUBLICATION_FETCHES??this.PUBLIC_PUBLICATION_ID);try{const u=await this.getNewsListAvanced(d);return{blockSass:t,content:u?u.data:void 0}}catch(u){return console.log(`[/news-list-advanced] Error: ${u?.message}`),{blockSass:t,content:void 0}}},seccion:async()=>{const c={query:`seccion:(${o})`,size:this.props?.imgSizes[i]?.size??3,newstype:this.props?.config?.newsType,exclude:this.exclude,imagesizes:this.props?.imgSizes[i]?.imageSizes};this.IS_MULTIPUBLICATION&&(c.publication=this.MULTIPUBLICATION_FETCHES??this.PUBLIC_PUBLICATION_ID);try{const d=await this.getNewsListAvanced(c);return{blockSass:t,content:d?d.data:void 0}}catch(d){return console.log(`[/news-list-advanced] Error: ${d?.message}`),{blockSass:t,content:void 0}}}};if(r in l){const c=l[r];return await c()}return{blockSass:t}}}class lu{issuuApi="https://api.issuu.com/v2";api=void 0;q="";constructor(t){this.q=t.q,this.api=re.create({baseURL:t.issuuApi?t.issuuApi:this.issuuApi,params:{state:t.state?t.state:"PUBLISHED",size:t.size?t.size:16,q:t.q},headers:{Authorization:`Bearer ${t.token}`}})}async getListIssuuPublications({page:t=1}){try{return await this.api?.get("/publications",{params:{q:this.q,page:t}})}catch(a){throw a}}async getListIssuuPublicationBySlug(t){try{return await this.api?.get(`/publications/${t}/embed`)}catch(a){throw a}}}const Ma=Symbol("bucket-retry-exhausted"),cu=async(e,t)=>{const a=U().BUCKET_ORIGIN;if(!a)return{};const n=U().PUBLIC_IS_OFFLINE==="true",r=Ye(a,t.servicePrefix,"bloques","modulos-dinamicos",n),o=a.referer??ct,i=`origin:slots:bucket:${r}`,l=await lt(i,()=>St(()=>It(a.proxyUrl??a.url,o).get(r),Ma,{label:"bucket:slots",endpoint:r,params:{}}),{shouldCache:u=>u!==Ma});if(l===Ma)return Qt("slots",r),{};const c=l.data?.data??[],d={};return await Promise.all(c.map(async u=>{u?.key&&(d[u.key]=await e.resolveSlotContent([u]))})),d},du=async(e,t,a,n,r,o,i)=>{const l=new yo({config:t,imgSizes:a,imageSizes:n,axiosApi:e,exclude:i}),c=async()=>{const d=[];for(let h=1;h<=r;h++)for(let p=1;p<=o;p++)d.push({func:l.getBlockSass,slot_id:h+"_"+p});const u=await Promise.allSettled([...d.map(h=>h.func({template:"Home_"+h.slot_id}))]),f={};for(let h=0;h<u.length;h++){const p=Un(u[h]),m="Home_"+(Math.floor(h/o)+1)+"_"+(Math.floor(h%o)+1);p&&(f[m]={...p})}return f};return U().BUCKET_ORIGIN?.slots?cu(l,t):c()},uu=e=>{const t=st(e);return t&&t.data?t.data:t},hu=async e=>{const t=await Promise.allSettled(Object.values(e).map(r=>{const o=r.promise??Promise.resolve(void 0);return o.catch(()=>{}),o})),a=Object.keys(e),n={};for(const r in e){const o=e[r];if(!o)continue;const i=o.custom_extractData??uu;n[r]=i(t[a.indexOf(r)])}return n},he=(e,t,a=404)=>({title:t?.name?`Error ${a} | ${t.name}`:`Error ${a}`}),Co=(e="")=>e.replace(/-/g," ").replace(/^./,t=>t.toUpperCase()),Jt=e=>{console.warn(`[metadata:fallback] ruta="${e}" — metaSource ausente, se fetcheó en SSR. Falta drilling en el repo consumidor.`)},Zt=e=>e.includes("/page/")?e.replace(/\/page\/\d+$/,""):e,Ne=e=>{try{const t=de();if(!t)return e;const a=new URL(e),n=a.pathname;return n===t||n.startsWith(`${t}/`)?e:a.origin+t+e.slice(a.origin.length)}catch{return e}},De=(e,t,a,n)=>{const r=Ne(t),o={...a?{title:a}:{},...n?{description:n}:{}};return{alternates:{...e.alternates,canonical:r},openGraph:{...e.openGraph,url:r,...o},twitter:{...e.twitter,url:r,...o}}},vo={404:e=>{const{meta:t,config:a,statusCode:n=404}=e;return he(t,a,n===500?500:404)},home:e=>{const{meta:t,config:a}=e;return{...t,...De(t,a.siteUrl,t.title)}},slug:e=>{const{meta:t,config:a,slug:n,pathname:r}=e,o=`${a.name} | ${Co(n)}`;return{...t,title:o,...De(t,a.siteUrl+r,o)}},auth:e=>{const{meta:t,config:a,slug:n,pathname:r}=e,o=`${a.name} | ${Co(n)}`;return{...t,title:o,...De(t,a.siteUrl+r,o)}},news:e=>{const{meta:t,config:a,currentNew:n,schemasImages:r}=e;if(!n)return he(t,a);const o=Yn(t,n,a,r);return o?{...t,...o}:he(t,a)},seccion:async e=>{const{meta:t,config:a,pathname:n,slug:r,axiosApi:o,metaSource:i}=e,{PUBLIC_LNG:l}=U(),d=Zt(n).split("/"),u=[],f=Ut(n),h=Number(a.newsListLimit)||0,p=l==="en";let m=i?.sectionName,g=i?.hasNextPage;if(m===void 0||g===void 0){Jt("seccion");const A=new Ke({config:a,axiosApi:o});try{let v,S;const y=await A.getNewsListSection({section:r,size:h,newstype:a.newsType,exclude:"keywords,gallery,related,relatedexternal,external,customfields",page:f});if(!y||(v=y.data.data,S=!(v.length<h),!v?.length))return he(t,a);m=v[0].info.section?.name,g=S}catch(v){return console.error(v),he(t,a,500)}}g&&u.push({rel:"next",url:Nt(a,d,f)}),f>1&&u.push({rel:"prev",url:Et(a,d,f)});const b=p?`Latest News from ${m} | ${a.name}`:`Últimas Noticias de ${m} | ${a.name}`,w=p?`All the latest news from ${m} on ${a.name}`:`Todas las últimas noticias de ${m} en ${a.name}`;return{...t,title:b,description:w,alternates:{...t.alternates,canonical:Ne(a.siteUrl+n)},manifest:a.manifest,icons:{...a.icons,other:u},other:{"msapplication-TileImage":a.msapplicationTileImage??""},openGraph:{...t.openGraph,title:b,description:w,type:"website",url:Ne(`${a.siteUrl}${n}`),locale:t.openGraph.locale},twitter:{...t.twitter,card:"summary_large_image",title:b,description:w,site:t.twitter.site,domain:new URL(a.siteUrl).hostname,url:Ne(`${a.siteUrl}${n}`)}}},tema:async e=>{const{meta:t,config:a,pathname:n,slug:r,axiosApi:o,metaSource:i}=e,c=Zt(n).split("/"),d=[],u=Ut(n),f=Number(a.newsListLimit)||0,{PUBLIC_TAG_TYPE:h,PUBLIC_LNG:p}=U(),m=p==="en";let g=i?.tagName,b=i?.hasNextPage;if(g===void 0||b===void 0){Jt("tema");const v=new Ke({config:a,axiosApi:o}),S=/([t][0-9]{4})\w+/.exec(r||""),y=S&&S?.length>0?S[0].replace("t",""):"";try{const N=await v.getNewsListTags({tagid:y,size:f,tagtype:Number(h),newstype:a.newsType,exclude:"keywords,gallery,related,relatedexternal,external,customfields",page:u});if(!N)return he(t,a);const k=N.data.entity;if(!k)return he(t,a);g=k.name,b=!(N.data.data?.length<f)}catch(N){return console.error(N),he(t,a,500)}}b&&d.push({rel:"next",url:Nt(a,c,u)}),u>1&&d.push({rel:"prev",url:Et(a,c,u)});const w=m?`Latest news about ${g} | ${a.name}`:`Últimas noticias de ${g} | ${a.name}`,A=m?`The latest news about ${g} on ${a.name}`:`Las últimas noticias sobre ${g} en ${a.name}`;return{...t,title:w,description:A,alternates:{...t.alternates,canonical:Ne(a.siteUrl+n)},manifest:a.manifest,icons:{...a.icons,other:d},other:{"msapplication-TileImage":a.msapplicationTileImage??""},openGraph:{...t.openGraph,title:w,description:A,type:"website",url:Ne(`${a.siteUrl}${n}`),locale:t.openGraph.locale},twitter:{...t.twitter,card:"summary_large_image",title:w,description:A,site:t.twitter.site,domain:new URL(a.siteUrl).hostname,url:Ne(`${a.siteUrl}${n}`)}}},"ultimas-noticias":async e=>{const{meta:t,config:a,pathname:n,texts:r,axiosApi:o,metaSource:i}=e,c=Zt(n).split("/"),d=[],u=Ut(n),f=Number(a.newsListLimit)||0,h=`${a.name} | ${r.lastNotesTitle}`,p={...t,title:h,...De(t,a.siteUrl+"/"+a.paths["ultimas-noticias"],h)};let m=i?.hasNextPage;if(m===void 0){if(Jt("ultimas-noticias"),!o)return p;const g=new Ke({config:a,axiosApi:o});try{const b=await g.getNewsList({size:f,newstype:a.newsType,exclude:"keywords,gallery,related,relatedexternal,external,customfields",page:u});if(!b)return p;m=!(b.data.data.length<f)}catch(b){return console.error(b),p}}return m&&d.push({rel:"next",url:Nt(a,c,u)}),u>1&&d.push({rel:"prev",url:Et(a,c,u)}),{...t,title:h,...De(t,a.siteUrl+n,h),manifest:a.manifest,icons:{...a.icons,other:d},other:{"msapplication-TileImage":a.msapplicationTileImage??""}}},video:async e=>{const{meta:t,config:a,internalPath:n,axiosApi:r}=e,o=new Ke({config:a,axiosApi:r});try{const i=await o.getVideos({imagesizes:o.contract.og.social,path:n});return i?.data?.data?.length?{...t,...nr(t,i.data.data[0],a)??{}}:he(t,a)}catch(i){return console.error("metadata (video) error:",i),he(t,a,500)}},videos:async e=>{const{meta:t,config:a,pathname:n,axiosApi:r,metaSource:o}=e,l=Zt(n).split("/"),c=[],d=Ut(n),u=Number(a.newsListLimit)||0;let f=o?.hasNextPage;if(f===void 0){Jt("videos");const p=new Ke({config:a,axiosApi:r});try{const m=await p.getvideoListAdvanced({size:u,query:"Category:(videohome OR destacadoseccion OR seccion)",page:Number(d)});if(!m)return he(t,a);f=!(m.data.data.length<u)}catch(m){return console.error(m),he(t,a,500)}}f&&c.push({rel:"next",url:Nt(a,l,d)}),d>1&&c.push({rel:"prev",url:Et(a,l,d)});const h="Videos | "+a.name;return{...t,title:h,...De(t,a.siteUrl+n,h),manifest:a.manifest,icons:{...a.icons,other:c},other:{"msapplication-TileImage":a.msapplicationTileImage??""}}},pages:async(e,t)=>{const{meta:a,config:n,pathname:r,slug:o,axiosApi:i}=e,l=new Ke({config:n,axiosApi:i});try{const c=await l.getPages({path:t||n.servicePrefix+`/pages/${o}`});if(!c)return he(a,n);const d=c.data.data[0]?.info.title??"",u=`${n.name} | ${d}`;return{...a,title:u,...De(a,n.siteUrl+r,u)}}catch(c){return console.error(c),he(a,n,500)}},contacto:e=>{const{meta:t,config:a,pathname:n}=e,r=U().PUBLIC_LNG==="en",o=`${a.name} | ${r?"Contact":"Contacto"}`;return{...t,title:o,...De(t,a.siteUrl+n,o)}},anuncia:e=>{const{meta:t,config:a,pathname:n}=e,r=U().PUBLIC_LNG==="en",o=`${a.name} | ${r?"Advertise":"Anuncia"}`;return{...t,title:o,...De(t,a.siteUrl+n,o)}},buscar:e=>{const{meta:t,config:a,pathname:n,query:r,texts:o}=e;if(r&&r.trim()!==""){const i=`${a.name} | ${`${o.resultsOfPrefix}'${r}'`}`;return{...t,title:i,alternates:{...t.alternates,canonical:Ne(a.siteUrl+n+(r?"?query="+r:""))},openGraph:{...t.openGraph,title:i,type:"website",url:Ne(`${a.siteUrl}${n}${r?"?query="+r:""}`)},twitter:{...t.twitter,card:"summary_large_image",title:i,domain:new URL(a.siteUrl).hostname,url:Ne(`${a.siteUrl}${n}${r?"?query="+r:""}`)}}}else{const i=`${a.name} | ${o.searchKeyWord}`;return{...t,title:i,alternates:{...t.alternates,canonical:Ne(a.siteUrl+n+(r?"?query="+r:""))},openGraph:{...t.openGraph,title:i,type:"website",url:Ne(`${a.siteUrl}${n}`)},twitter:{...t.twitter,card:"summary_large_image",title:i,domain:new URL(a.siteUrl).hostname,url:Ne(`${a.siteUrl}${n}`)}}}},autor:async e=>{const{meta:t,config:a,pathname:n,slug:r,axiosApi:o,metaSource:i}=e,c=Zt(n).split("/"),d=[],u=Ut(n),f=U().PUBLIC_LNG==="en",h=Number(a.newsListLimit)||0;let p=i?.fullname,m=i?.hasNextPage;if(p===void 0||m===void 0){Jt("autor");const w=new Ke({config:a,axiosApi:o});try{const A=await w.getAutorInfo({user:r,exclude:"groups",imagesizes:w.contract.author.avatar}),v=await w.getNewsListAutor({size:h,user:r,page:u,newstype:a.newsType,exclude:"keywords,gallery,related,relatedexternal,external,customfields",imagesizes:w.contract.note.listStandard});if(!v)return he(t,a);m=!(v.data.data.length<h),p=A?.data.data[0]?.info.fullname}catch(A){return console.error(A),he(t,a,500)}}m&&d.push({rel:"next",url:Nt(a,c,u)}),u>1&&d.push({rel:"prev",url:Et(a,c,u)});const g=f?`Latest News from ${p} | ${a.name}`:`Últimas Noticias de ${p} | ${a.name}`,b=f?`All the latest news from ${p} on ${a.name}`:`Todas las últimas noticias de ${p} en ${a.name}`;return{...t,title:g,description:b,...De(t,a.siteUrl+n,g,b),manifest:a.manifest,icons:{...a.icons,other:d},other:{"msapplication-TileImage":a.msapplicationTileImage??""}}}},fu=e=>e?e.replace(/<[^>]*>/g,"").replace(/ /gi," ").replace(/&/gi,"&").replace(/"/gi,'"').replace(/'/gi,"'").replace(/\s+/g," ").trim():"",mu=({autor:e,listAutor:t,config:a})=>{const n=t?.[0]??null,{DATE_TIMEZONE:r="America/Mexico_City",PUBLIC_ASSETS_URL:o,PUBLIC_LNG:i}=U(),l=i==="en",c=r,d=n?.info?.date?.modified?Ie(n.info.date.modified,c):void 0,u=e.addtional?.USER_JOBSTART?Ie(e.addtional.USER_JOBSTART,c):void 0,f=o&&o!=="false"?o:"",h=e.addtional,p=h?.USER_USERFB||h?.USER_PAGE_FACEBOOK||h?.USER_FACEBOOK_FAN_PAGE,m=h?.USER_USERTWT||h?.USER_PAGE_TWITTER,g=h?.USER_USERIG||h?.USER_PAGE_INSTAGRAM,b=h?.USER_USERLIN||h?.USER_PAGE_LINKEDIN,w=h?.USER_PAGE_TIKTOK,A=h?.USER_PAGE_YOUTUBE,v=h?.USER_PAGE_PINTEREST,S=l?h?.USER_POSITION_EN||"":h?.USER_JOBTITLE||h?.USER_POSITION||"",y=l?h?.USER_DESCRIPCION_EN||h?.USER_MIBIO_EN||"":h?.USER_DESCRIPCION||h?.USER_MIBIO||"",N=e?.addtional?.USER_SHOWEMAIL===!0||h?.USER_MOSTRAR_MAIL?.toUpperCase()==="TRUE",k=de(),O={"@context":"https://schema.org","@type":"ProfilePage",mainEntity:{"@type":"Person",name:e.info.fullname??e.info.name,alternateName:e.info.nickname?e.info.nickname:e.info.name,identifier:e.info.id,description:fu(y),image:e.info.image?e.info.image.sizes.map(($,M)=>M===0&&e.info.image.sizes.length!==1?null:f+$.url).filter(Boolean):[],sameAs:[p,g,b,m,w,A,v].filter(Boolean),jobTitle:S,url:a.siteUrl+k+(a.paths.autor!==""?`/${a.paths.autor}/`:"/")+e.info.name}};return u&&(O.dateCreated=u),d&&(O.dateModified=d),N&&(O.mainEntity.email=e.info.email),s.jsx("script",{type:"application/ld+json",children:JSON.stringify(Be(O))})},pu=`(function(){"use strict";const Me="__html-audit-manifest";function je(e){const t=e.getElementById(Me);if(!t||!t.textContent)return null;try{const n=JSON.parse(t.textContent);return!n||typeof n!="object"||!n.expects?null:n}catch{return null}}function g(e,t,n,o,r){return{id:e,label:t,status:n,detail:o,expected:r}}function w(e,t,n,o,r){return o==null?g(e,t,n?"ok":"info",r,void 0):o?n?g(e,t,"ok",r,!0):g(e,t,"missing",r||"Esperado por config pero AUSENTE",!0):n?g(e,t,"warn",r||"Presente pero no estaba configurado",!1):g(e,t,"info",r||"No configurado",!1)}const ce={ok:0,info:1,warn:2,missing:3};function J(e,t){if(!t||!t.length)return e;e.issues=t;let n=e.status;for(const o of t)ce[o.status]>ce[n]&&(n=o.status);return e.status=n,e}function N(e,t){return!!e.querySelector(t)}function q(e,t){return e.querySelectorAll(t).length}function F(e){const t=[];return e.querySelectorAll('script[type="application/ld+json"]').forEach(o=>{if(o.textContent)try{const r=JSON.parse(o.textContent);Array.isArray(r)?t.push(...r):t.push(r)}catch{}}),t}function U(e,t){return F(e).some(n=>{const o=n?.["@type"];return typeof o=="string"?o===t:Array.isArray(o)?o.includes(t):!1})}function pe(e,t){const n=[],o=r=>{if(!r||typeof r!="object")return;if(Array.isArray(r)){r.forEach(o);return}const s=r,i=s["@type"];(i===t||Array.isArray(i)&&i.includes(t))&&n.push(s),Array.isArray(s["@graph"])&&s["@graph"].forEach(o)};return F(e).forEach(o),n}const qe=600,Ue=6e3;function de(e,t){return e.length>t?e.slice(0,t)+\`
|
|
30
30
|
… (recortado)\`:e}function E(e,t=qe){return e?de(e.outerHTML||"",t):""}function h(e,t){return t&&t.length&&(e.evidence=t),e}function O(e,t){return Array.from(e.querySelectorAll(t)).map(n=>({label:n.getAttribute("property")||n.getAttribute("name")||n.getAttribute("rel")||n.getAttribute("type")||n.tagName.toLowerCase(),snippet:E(n)}))}function K(e,t){if(!e||typeof e!="object")return;if(Array.isArray(e)){e.forEach(r=>K(r,t));return}const n=e,o=n["@type"];typeof o=="string"?t.add(o):Array.isArray(o)&&o.forEach(r=>typeof r=="string"&&t.add(r)),Array.isArray(n["@graph"])&&K(n["@graph"],t)}function ue(e){const t=e.querySelectorAll('script[type="application/ld+json"]'),n=[];return t.forEach((o,r)=>{const s=o.textContent||"",i=new Set;let l=s,a=!0;try{const u=JSON.parse(s);K(u,i),l=JSON.stringify(u,null,2)}catch{a=!1}const c=o.id,p=[...i],d=p.length?p.join(", "):c||\`bloque #\${r+1}\`;n.push({types:p,label:a?d:\`\${d} (JSON inválido)\`,snippet:de(l,Ue)})}),n}function _(e,t){return ue(e).filter(n=>n.types.includes(t)).map(n=>({label:n.label,snippet:n.snippet}))}function _e(e){return ue(e).map(t=>({label:t.label,snippet:t.snippet}))}const Ie=(e,t)=>{const n=t?.expects,o=[],r=e.querySelector("meta[charset]");o.push(h(w("htmlAttrs.charset","<meta charset>",!!r,n?n.charset:null,"Falta <meta charset>"),r?[{label:"<meta charset>",snippet:E(r)}]:[]));const s=e.querySelector('meta[name="viewport"]');o.push(h(w("htmlAttrs.viewport","<meta name=viewport>",!!s,n?n.viewport:null,"Falta <meta name=viewport>"),s?[{label:"<meta name=viewport>",snippet:E(s)}]:[]));const i=e.documentElement.getAttribute("lang");o.push(g("htmlAttrs.lang","html[lang]",i?"ok":"info",i?\`lang="\${i}"\`:"No emitido por el paquete (lo agrega el sitio)"));const l=e.documentElement.getAttribute("dir");o.push(g("htmlAttrs.dir","html[dir]",l?"ok":"info",l?\`dir="\${l}"\`:"No emitido por el paquete"));const a=new Map;e.querySelectorAll("[id]").forEach(p=>{const d=p.id;d&&a.set(d,(a.get(d)||0)+1)});const c=[...a.entries()].filter(([,p])=>p>1).map(([p])=>p);return o.push(g("htmlAttrs.duplicateIds","IDs duplicados",c.length?"warn":"ok",c.length?\`Duplicados: \${c.slice(0,10).join(", ")}\`:"Sin IDs duplicados")),{key:"htmlAttrs",title:"HTML attrs",findings:o}},Fe=(e,t)=>{const n=t?.expects,o=[],r=e.querySelector('script[type="speculationrules"]');o.push(h(w("structure.speculationRules","Speculation rules",!!r,n?n.speculationRules:null,"Speculation rules desactivadas"),r?[{label:"speculationrules",snippet:E(r,2e3)}]:[])),t?.speculationType&&o.push(g("structure.speculationType","Speculation type","info",\`Tipo esperado: \${t.speculationType}\`));const s=q(e,"main");o.push(g("structure.main","<main>",s===1?"ok":s===0?"info":"warn",s===1?"1 <main>":s===0?"Sin <main> (lo arma el sitio)":\`\${s} <main> (debería ser 1)\`)),o.push(g("structure.header","<header>",N(e,"header")?"ok":"info",N(e,"header")?"Presente":"Sin <header>")),o.push(g("structure.footer","<footer>",N(e,"footer")?"ok":"info",N(e,"footer")?"Presente":"Sin <footer>"));const i=q(e,"h1");return o.push(g("structure.h1","<h1>",i===1?"ok":"warn",i===0?"Sin <h1>":i===1?"1 <h1>":\`\${i} <h1> (revisar jerarquía)\`)),{key:"structure",title:"Estructura",findings:o}},Pe=["og:title","og:description","og:type","og:url","og:site_name","og:locale","og:image"],He=["twitter:card","twitter:title","twitter:description","twitter:image","twitter:site"];function M(e,t){return{status:e,message:t}}function X(e,t=60){const n=e.trim();return n.length>t?n.slice(0,t)+"…":n}function P(e,t={}){const n=(e||"").trim();if(!n)return[];const o=[],r=t.absolute!==!1,s=t.https!==!1,i=/^[a-z][a-z0-9+.-]*:/i.test(n),l=n.startsWith("//");r&&!i&&!l&&o.push(M("warn",\`URL relativa ("\${X(n)}"); se espera absoluta\`));let a=null;try{a=new URL(n,t.base)}catch{return o.push(M("warn",\`URL malformada: "\${X(n)}"\`)),o}return(a.protocol==="http:"||a.protocol==="https:")&&(s&&a.protocol==="http:"&&o.push(M("warn","Usa http (inseguro); se espera https")),a.pathname.includes("//")&&o.push(M("warn",\`Doble slash en el path: "\${X(a.pathname)}"\`)),t.sameHost&&a.host!==t.sameHost&&o.push(M("warn",\`Host distinto: "\${a.host}" (se espera "\${t.sameHost}")\`))),o}function fe(e,t){const n=(e||"").trim();if(!n)return null;try{return new URL(n,t).href}catch{return null}}const Be={NewsArticle:["@context","headline","datePublished","image","author","publisher"]};function De(e){return e==null?!0:typeof e=="string"?e.trim()==="":Array.isArray(e)?e.length===0:typeof e=="object"?Object.keys(e).length===0:!1}function We(e,t){return t.filter(n=>De(e[n])).map(n=>M("warn",\`Falta campo requerido: \${n}\`))}function Ge(e){const t=e.itemListElement;return Array.isArray(t)?t.length:t?1:0}function z(e){return e===void 0||e==="meta"?null:e}function L(e,t,n,o,r,s,i){const l=e.querySelector(o),a=w(t,n,!!l,r,l?he(l):s);return l&&(h(a,[{label:n,snippet:E(l)}]),i&&J(a,i(l))),a}function he(e){const n=(e.getAttribute("content")||e.getAttribute("href")||e.textContent||"").trim();return n.length>80?n.slice(0,80)+"…":n||"presente"}const Ve=(e,t)=>{const n=t?.expects.metadata,o=[],r=e.location?.href,s=e.location?.host,i=e.querySelector('link[rel="canonical"]')?.getAttribute("href")||"",l=e.querySelector("title"),a=!!l&&!!l.textContent?.trim();o.push(h(w("metadata.title","<title>",a,z(n?.title),a?he(l):"Falta <title> o está vacío"),l?[{label:"<title>",snippet:E(l)}]:[])),o.push(L(e,"metadata.description","meta description",'meta[name="description"]',z(n?.description),"Falta <meta name=description>"));const c=e.querySelectorAll('meta[name="keywords"], meta[name="news_keywords"]');o.push(h(g("metadata.keywords","keywords / news_keywords",c.length?"ok":"info",c.length?\`\${c.length} tag(s)\`:"Sin keywords (opcional)"),O(e,'meta[name="keywords"], meta[name="news_keywords"]'))),o.push(L(e,"metadata.robots","meta robots",'meta[name="robots"]',z(n?.robots),"Sin meta robots (esperado solo en news/video)")),o.push(L(e,"metadata.canonical","link canonical",'link[rel="canonical"]',z(n?.canonical),"Falta <link rel=canonical>",m=>P(m.getAttribute("href"),{base:r,https:!0,sameHost:s})));const p=t?.expects.hreflang,d='link[rel="alternate"][hreflang]',u=e.querySelectorAll(d),x=Array.from(u).map(m=>m.getAttribute("hreflang")||""),C=p?.expected?p.langs.filter(m=>!x.includes(m)):[];o.push(h(w("metadata.hreflang","link alternate hreflang",u.length>0&&C.length===0,p?p.expected:null,p?.expected?C.length?\`Faltan hreflang: \${C.join(", ")}\`:\`\${u.length} hreflang (\${x.join(", ")})\`:u.length?\`\${u.length} hreflang (\${x.join(", ")})\`:"Sin hreflang (no esperado en esta ruta)"),O(e,d))),o.push(L(e,"metadata.og.title","og:title",'meta[property="og:title"]',z(n?.openGraph),"Falta og:title")),o.push(L(e,"metadata.og.image","og:image",'meta[property="og:image"]',z(n?.openGraph),"Falta og:image (sin imagen de preview al compartir)",m=>P(m.getAttribute("content"),{base:r,https:!0})));for(const m of Pe){if(m==="og:title"||m==="og:image")continue;const T="metadata."+m.replace(":","."),ae=m==="og:url"?le=>Je(le.getAttribute("content"),i,r):void 0;o.push(L(e,T,m,\`meta[property="\${m}"]\`,null,\`Sin \${m} (opcional)\`,ae))}const $=q(e,'meta[property^="og:"]');o.push(h(g("metadata.og.count","Tags og:* totales",$>0?"ok":"info",\`\${$} tag(s) og:*\`),O(e,'meta[property^="og:"]'))),o.push(L(e,"metadata.twitter.card","twitter:card",'meta[name="twitter:card"]',z(n?.twitter),"Falta twitter:card")),o.push(L(e,"metadata.twitter.image","twitter:image",'meta[name="twitter:image"]',z(n?.twitter),"Falta twitter:image",m=>P(m.getAttribute("content"),{base:r,https:!0})));for(const m of He){if(m==="twitter:card"||m==="twitter:image")continue;const T="metadata."+m.replace(":",".");o.push(L(e,T,m,\`meta[name="\${m}"]\`,null,\`Sin \${m} (opcional)\`))}const R=q(e,'meta[name^="twitter:"]');o.push(h(g("metadata.twitter.count","Tags twitter:* totales",R>0?"ok":"info",\`\${R} tag(s) twitter:*\`),O(e,'meta[name^="twitter:"]')));const j=q(e,'meta[property^="article:"]');o.push(h(w("metadata.article","article:* (published/modified/section/author/tag)",j>0,z(n?.article),j>0?\`\${j} tag(s) article:*\`:"Sin article:* (esperado solo en news)"),O(e,'meta[property^="article:"]'))),o.push(L(e,"metadata.rss","link alternate RSS",'link[rel="alternate"][type="application/rss+xml"]',z(n?.rss),"Sin alternate RSS (esperado solo en news)")),o.push(L(e,"metadata.manifest","link manifest",'link[rel="manifest"]',null,"Sin <link rel=manifest> (opcional)"));const k='link[rel="icon"], link[rel="apple-touch-icon"], link[rel="shortcut icon"], link[rel="mask-icon"]',A=q(e,k);return o.push(h(g("metadata.icons","favicons / icons",A?"ok":"info",A?\`\${A} icono(s)\`:"Sin favicons declarados"),O(e,k))),{key:"metadata",title:"Metadata",findings:o}};function Je(e,t,n){const o=P(e,{base:n,https:!0}),r=fe(e,n),s=fe(t,n);return r&&s&&r!==s&&o.push(M("warn",\`og:url no coincide con canonical (\${s})\`)),o}const Ke=(e,t)=>{const n=t?.expects.schemas,o=[];o.push(h(w("schemas.NewsMediaOrganization","NewsMediaOrganization (OrgList)",N(e,"script#WebsiteOrgListSchema")||U(e,"NewsMediaOrganization"),n?n.NewsMediaOrganization:!0,"Falta NewsMediaOrganization (se emite siempre)"),_(e,"NewsMediaOrganization"))),o.push(h(w("schemas.WebSite","WebSite (WebsiteList)",N(e,"script#WebsiteListSchema")||U(e,"WebSite"),n?n.WebSite:null,"Falta WebSite"),_(e,"WebSite")));{const a=h(w("schemas.NewsArticle","NewsArticle",U(e,"NewsArticle"),n?n.NewsArticle:null,"NewsArticle esperado pero AUSENTE (puede ser API vacía)"),_(e,"NewsArticle"));if(a.status==="ok"){const c=pe(e,"NewsArticle");c.length&&J(a,We(c[0],Be.NewsArticle))}o.push(a)}o.push(h(w("schemas.Videos","VideoObject",U(e,"VideoObject"),n?n.Videos:null,"VideoObject esperado pero AUSENTE"),_(e,"VideoObject"))),o.push(h(w("schemas.Autor","ProfilePage (Autor)",U(e,"ProfilePage"),n?n.Autor:null,"ProfilePage esperado pero AUSENTE"),_(e,"ProfilePage")));{const a=h(w("schemas.ItemList","ItemList",N(e,"script#webSiteItemListSchema")||U(e,"ItemList"),n?n.ItemList:null,"ItemList esperado pero AUSENTE (PuedeVacío)"),_(e,"ItemList"));if(a.status==="ok"){const c=pe(e,"ItemList"),p=c.reduce((d,u)=>d+Ge(u),0);a.detail=\`\${c.length} ItemList; \${p} entr\${p===1?"y":"ies"}\`,c.length&&p===0&&J(a,[M("warn","ItemList sin itemListElement (lista vacía)")])}o.push(a)}o.push(h(w("schemas.SoftwareApplication","SoftwareApplication",N(e,'script[id^="SoftwareApplicationSchema-"]')||U(e,"SoftwareApplication"),n?n.SoftwareApplication:null,"SoftwareApplication esperado pero AUSENTE"),_(e,"SoftwareApplication")));const r=e.querySelectorAll('script[type="application/ld+json"]');let s=0;r.forEach(a=>{if(a.textContent)try{JSON.parse(a.textContent)}catch{s++}});const i=Xe(e),l=i?\`; @graph: \${i} nodo(s)\`:"";return o.push(h(g("schemas.parsed","JSON-LD parseables",s?"warn":"ok",\`\${r.length} bloque(s); \${s} inválido(s)\${l}. Tipos: \${Qe(e)}\`),_e(e))),{key:"schemas",title:"Schemas JSON-LD",findings:o}};function Xe(e){let t=0;const n=o=>{if(!o||typeof o!="object")return;if(Array.isArray(o)){o.forEach(n);return}const r=o;Array.isArray(r["@graph"])&&(t+=r["@graph"].length,r["@graph"].forEach(n))};return F(e).forEach(n),t}function Qe(e){const t=new Set;return F(e).forEach(n=>{const o=n?.["@type"];typeof o=="string"?t.add(o):Array.isArray(o)&&o.forEach(r=>typeof r=="string"&&t.add(r))}),t.size?[...t].join(", "):"—"}const Ye=(e,t)=>{const n=t?.expects,o=e.querySelector('link[rel="amphtml"]');return{key:"amp",title:"AMP",findings:[h(w("amp.amphtml","link rel=amphtml",!!o,n?n.amp:null,o?\`href=\${o.getAttribute("href")||""}\`:"No hay AMP"),o?[{label:"link rel=amphtml",snippet:E(o)}]:[])]}};function H(e){return e.slice(0,8).map(t=>({label:t.getAttribute("src")||"(sin src)",snippet:E(t,300)}))}function me(e,t){const n=(e.getAttribute("src")||"").trim();if(!n||n.startsWith("data:"))return null;try{return new URL(n,t)}catch{return null}}const Ze=(e,t)=>{const n=Array.from(e.querySelectorAll("img")),o=[],r=e.location?.href;let s=null;if(t?.expects.assetsUrl)try{s=new URL(t.expects.assetsUrl).host}catch{s=null}o.push(g("images.count","<img> totales","info",\`\${n.length} imagen(es)\`));const i=n.filter(p=>!p.hasAttribute("alt"));o.push(h(g("images.alt","img sin atributo alt",i.length?"warn":"ok",i.length?\`\${i.length} <img> sin alt: \${Q(i)}\`:"Todas las <img> declaran alt"),H(i)));const l=n.filter(p=>p.getAttribute("loading")==="lazy").length;o.push(g("images.lazy","img loading=lazy","info",\`\${l}/\${n.length} lazy\`));const a=n.filter(p=>{const d=p.getAttribute("src");return d!==null&&d.trim()===""});o.push(h(g("images.emptySrc","img con src vacío",a.length?"warn":"ok",a.length?\`\${a.length} <img> con src=""\`:"Sin src vacíos"),H(a)));const c=n.filter(p=>me(p,r)?.protocol==="http:");if(o.push(h(g("images.insecure","img con src http (inseguro)",c.length?"warn":"ok",c.length?\`\${c.length} <img> en http: \${Q(c)}\`:"Sin imágenes http (mixed content)"),H(c))),s){const p=n.filter(d=>{const u=me(d,r);return!!u&&(u.protocol==="http:"||u.protocol==="https:")&&u.host!==s});o.push(h(g("images.offAssets",\`img fuera del dominio de assets (\${s})\`,"info",p.length?\`\${p.length} <img> en otro host: \${Q(p)}\`:"Todas las <img> absolutas vienen del dominio de assets"),H(p)))}return{key:"images",title:"Imágenes",findings:o}};function Q(e){return e.slice(0,5).map(t=>t.getAttribute("src")||"(sin src)").join(", ")}function Y(e,t){for(const n of t){const o=e.querySelector(n);if(o)return o}return null}function B(e,t){return e?[{label:t,snippet:E(e)}]:[]}const et=[Ie,Fe,Ve,Ke,Ye,(e,t)=>{const n=t?.expects,o=[],r=n?.assetsUrl;let s;r?s=Array.from(e.querySelectorAll('link[rel="preconnect"]')).some(c=>(c.getAttribute("href")||"").indexOf(r)===0):s=!!e.querySelector('link[rel="preconnect"]'),o.push(h(w("css.preconnectAssets","preconnect assets",s,n?n.preconnectAssets:null,"Falta <link rel=preconnect> a PUBLIC_ASSETS_URL"),O(e,'link[rel="preconnect"], link[rel="dns-prefetch"]'))),o.push(h(w("css.preloadImages","preload de imágenes",!!e.querySelector('link[rel="preload"][as="image"]'),n?n.preloadImages:null,"No hay preload de imágenes (preloadImages)"),O(e,'link[rel="preload"][as="image"]')));const i=!!e.querySelector('link[rel="preload"][as="font"]'),l=!!e.querySelector('link[href*="fonts.googleapis"], link[href*="fonts.gstatic"]'),a=n?.font;return a==="selfHosted"?o.push(w("css.font","Font self-hosted",i,!0,"Font self-hosted esperada pero sin <link as=font>")):a==="google"?o.push(w("css.font","Google Fonts",l,!0,"Google Fonts esperada pero ausente")):o.push(g("css.font","Fonts","info",i?"Font self-hosted presente":l?"Google Fonts presente":"Sin fuente configurada por el paquete")),o.push(h(g("css.stylesheets","<link rel=stylesheet> totales","info",\`\${q(e,'link[rel="stylesheet"]')} stylesheet(s) (los agrega el sitio)\`),O(e,'link[rel="stylesheet"]'))),{key:"cssImports",title:"CSS / preconnect / fonts",findings:o}},Ze,(e,t)=>{const n=t?.expects.analytics,o=[],r=Y(e,["script#googleanalytics",'script[src*="gtag/js"]']);o.push(h(w("content.ga4","GA4",!!r,n?n.ga4:null,"GA4 no configurado"),B(r,"GA4")));const s=Y(e,["script#GTM",'script[src*="googletagmanager.com/gtm.js"]','iframe[src*="googletagmanager.com/ns.html"]']);o.push(h(w("content.gtm","Google Tag Manager",!!s,n?n.gtm:null,"GTM no configurado"),B(s,"GTM")));const i=Y(e,["script#comscore",'script[src*="scorecardresearch"]']);o.push(h(w("content.comscore","Comscore",!!i,n?n.comscore:null,"Comscore no configurado"),B(i,"Comscore")));const l=e.querySelector('script[src*="marfeel"]')||Array.from(e.querySelectorAll("script")).find(u=>(u.textContent||"").includes("marfeel"))||null;o.push(h(w("content.marfeel","Marfeel",!!l,n?n.marfeel:null,"Marfeel no configurado"),B(l,"Marfeel")));const c=Array.from(e.querySelectorAll("h1,h2,h3,h4,h5,h6")).filter(u=>!(u.textContent||"").trim());o.push(h(g("content.emptyHeadings","Headings vacíos",c.length?"warn":"ok",c.length?\`\${c.length} heading(s) sin texto\`:"Sin headings vacíos"),c.slice(0,8).map(u=>({label:u.tagName.toLowerCase(),snippet:E(u,200)}))));const p=Array.from(e.querySelectorAll("a")),d=p.filter(u=>{const x=u.getAttribute("href");return x===null||x.trim()===""||x.trim()==="#"});return o.push(h(g("content.links","Links sin destino",d.length?"warn":"ok",\`\${p.length} link(s); \${d.length} sin href válido\`),d.slice(0,8).map(u=>({label:(u.textContent||"").trim().slice(0,40)||"(sin texto)",snippet:E(u,200)})))),{key:"content",title:"Contenido",findings:o}}];function ge(e,t){const n=et.map(r=>r(e,t)),o={ok:0,missing:0,warn:0,info:0};for(const r of n)for(const s of r.findings)o[s.status]++;return{route:t?t.route:null,hasManifest:!!t,totals:o,categories:n,blindSpots:t?t.blindSpots||[]:[]}}const tt=\`
|
|
31
31
|
/* all: initial corta toda herencia del host; los resets explícitos de abajo pinean la
|
|
32
32
|
base tipográfica para no depender del font-size/zoom de la página contenedora. */
|
|
@@ -427,7 +427,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
427
427
|
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
|
|
428
428
|
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`}),s.jsx("path",{fill:"currentColor",d:"M12.8,18.6v-6.9l5.9,3.4L12.8,18.6z"})]})},Zu=["telegram"],pt={facebook:e=>s.jsx(js,{...e}),instagram:e=>s.jsx(Fs,{...e}),whatsapp:e=>s.jsx(Ju,{...e}),tiktok:e=>s.jsx(Vs,{...e}),youtube:e=>s.jsx(zs,{...e}),x:e=>s.jsx(Fe,{...e}),gnews:e=>s.jsx($u,{...e}),podcast:e=>s.jsx(Qu,{...e}),telegram:e=>s.jsx(Yu,{...e}),linkedin:e=>s.jsx(je,{...e}),spotify:e=>s.jsx(Wu,{...e}),threads:e=>s.jsx(Ku,{...e}),pinterest:e=>s.jsx(Hs,{...e})},Xu=e=>{const{freeZone:t,socials:a,menu:n,customBlock:r,custom_styles:o={}}=e,i=ft();return s.jsxs("footer",{className:"su-flex su-flex-col su-items-center su-justify-center sass-com-ft-content",style:o,children:[s.jsxs("section",{className:"su-flex su-items-center su-gap-8 sass-com-ft-brandContent",children:[s.jsx(_,{href:"/","aria-label":i.goToHomeAria??"Ir a la home",children:s.jsx("span",{className:"sass-com-ft-logoStyled",children:e.logo})}),s.jsx("div",{className:"su-flex-center su-gap-4 sass-com-ft-socialMedia",children:Object.keys(a).map(l=>!l||!a[l]||!pt[l]?null:a[l]?.show&&s.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":a[l].title+" link",className:"su-flex-center sass-com-ft-linkSocialNetwoks",href:a[l].url,children:pt[l]({className:`${`sass-com-ft-social${l.charAt(0).toUpperCase()+l.slice(1)}`}`})},l))})]}),s.jsxs("section",{className:"sass-com-ft-sectionContent",children:[s.jsx("div",{className:"sass-com-ft-section",children:n.filter(l=>!l.subitem).map((l,c)=>s.jsx(_,{block_subPublication:!0,href:l.link?l.link:void 0,target:l.target,className:"sass-com-ft-menuItem footer-menu-item","aria-label":l.description,children:l.description},c))}),s.jsx("div",{className:"sass-com-ft-section",children:t&&t.map((l,c)=>s.jsx(_,{block_subPublication:!0,href:l.link?l?.link:void 0,target:l.target,className:"sass-com-ft-otherItems",children:l.description},c))})]}),r&&s.jsx(s.Fragment,{children:r}),s.jsxs("section",{className:"sass-com-ft-copyrigth",children:[s.jsx("p",{className:"sass-com-ft-copyrigthText",children:e.copyrigth}),s.jsx(_,{"aria-label":"Bluestack link",href:"https://www.bluestack.la",title:i.bluestackPlatformTitle??"Plataforma BLUESTACK CMS (antes CMS MEDIOS)",target:"_blank",rel:"noreferrer",children:s.jsx(zu,{})})]})]})},Rt=e=>{const{PUBLIC_ENV:t}=U(),a=ne("/facebook-black.svg");return t!==""&&!e.forceSVG?s.jsx("img",{fetchPriority:"low",loading:"lazy",width:17,height:23,src:a,alt:"",...e}):s.jsx("svg",{width:"13",height:"23",viewBox:"0 0 13 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:s.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"})})},Bo=e=>{const{PUBLIC_ENV:t}=U(),a=ne("/email.svg");return t!==""&&!e.forceSVG?s.jsx("img",{fetchPriority:"low",loading:"lazy",src:a,alt:"",...e}):s.jsxs("svg",{width:"25",height:"21",viewBox:"0 0 25 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.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"}),s.jsx("path",{d:"M21.6425 5.57591L12.5923 11.2704L3.33887 5.57591V3.33881L12.5923 8.93157L21.6425 3.33881V5.57591Z",fill:"black"})]})},Mo=e=>{const{PUBLIC_ENV:t}=U(),a=ne("/email-black.svg");return t!==""&&!e.forceSVG?s.jsx("img",{fetchPriority:"low",loading:"lazy",src:a,alt:"",...e}):s.jsxs("svg",{width:"24",height:"19",viewBox:"0 0 24 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.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"}),s.jsx("path",{d:"M20.8752 4.67439L12.0176 10.2477L2.96094 4.67439V2.48486L12.0176 7.95868L20.8752 2.48486V4.67439Z",fill:"white"})]})},Ha=e=>{const{PUBLIC_ENV:t}=U(),a=ne("/facebook-note.svg");return t!==""&&!e.forceSVG?s.jsx("img",{fetchPriority:"low",loading:"lazy",width:17,height:23,src:a,alt:"",...e}):s.jsx("svg",{width:"13",height:"22",viewBox:"0 0 13 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.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"})})},Va=e=>{const{PUBLIC_ENV:t}=U(),a=ne("/plus.svg");return t!==""&&!e.forceSVG?s.jsx("img",{fetchPriority:"low",loading:"lazy",src:a,alt:"",...e}):s.jsx("svg",{width:"26",height:"25",viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:s.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"})})},Ru={FaceBook:{url:e=>`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`,icon:{outline:e=>s.jsx(Ha,{className:e,forceSVG:!0}),solid:e=>s.jsx(Rt,{className:e,forceSVG:!0})}},X:{url:e=>`https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,icon:{outline:e=>s.jsx(Fe,{className:e,forceSVG:!0}),solid:e=>s.jsx(Fe,{className:e,forceSVG:!0})}},Whatsapp:{url:e=>`https://wa.me/?text=${encodeURIComponent(e)}`,icon:{outline:e=>s.jsx(_s,{className:e,forceSVG:!0}),solid:e=>s.jsx(Ms,{className:e,forceSVG:!0})}},Email:{url:e=>`mailto:?body=${encodeURIComponent(e)}`,icon:{outline:e=>s.jsx(Bo,{className:e,forceSVG:!0}),solid:e=>s.jsx(Mo,{className:e,forceSVG:!0})}},LinkedIn:{url:e=>`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(e)}`,icon:{outline:e=>s.jsx(je,{className:e,forceSVG:!0}),solid:e=>s.jsx(je,{className:e,forceSVG:!0})}}};function _o({noteShare:e}){const t=e&&e.url||(typeof window<"u"?window.location.href:"https://example.com");if(!e)return null;const a=ft();return s.jsxs("div",{className:"sass-com-ja3-socialNetworkSection",children:[e.options?.map(n=>{const r=Ru[n];if(!r)return null;const o=e.variant==="outline"?r.icon.outline:r.icon.solid,i=r.url(t);return s.jsx(_,{href:i,target:"_blank",rel:"noopener noreferrer","aria-label":`${a.shareOnPrefix??"Compartir en"} ${n}`,className:`sass-com-ja3-socialButton sass-com-ja3-${n.toLowerCase()}Button sass-com-ja3-${n.toLowerCase()}Styled`,children:o("")},n)}),s.jsx("button",{type:"button","data-text":a.linkCopied??"Link copiado","data-active":"false","aria-label":"copy",className:["sass-com-ja3-clipboardButton","clipbtn-id"].join(" "),children:s.jsx(Ds,{forceSVG:!0})}),s.jsx("button",{type:"button","aria-label":"share",className:["sass-com-ja3-clipboardButton","sharebtn-id"].join(" "),children:s.jsx(Va,{})})]})}const eh=e=>{const t=`${e?.video.main.author} - `,a=e?.video.main.author?qe(e.video.info.date.created,t):{},n=()=>e?.video.main.author?`${t}${ke(e.video.info.date.created)}`:e?.video.main.author;return s.jsx("div",{className:"sass-com-bv3-content",children:s.jsx(Ls,{children:s.jsxs("div",{className:"sass-com-bv3-videoContent",children:[s.jsx("p",{className:"sass-com-bv3-title",children:e.video.main.title}),e.type==="vy"&&s.jsx("iframe",{className:"sass-com-bv3-iframeStyled",src:`https://www.youtube.com/embed/${e.video.main.code}`,frameBorder:"0",allowFullScreen:!0}),e.type==="vf"&&s.jsx("iframe",{className:"sass-com-bv3-iframeStyled",src:e.video.main.code,frameBorder:"0",allowFullScreen:!0}),e.type==="ve"&&s.jsx("div",{className:"sass-com-bv3-contentFrame",dangerouslySetInnerHTML:{__html:e.video.main.code}}),s.jsxs("div",{className:"sass-com-bv3-articleSection",children:[s.jsx("p",{className:"sass-com-bv3-article",children:Pe(e.video.main.description)}),s.jsx("p",{className:"sass-com-bv3-correspondent",...a,children:n()})]})]})})})},za=e=>{const{currentPage:t,showNext:a,maxPages:n,pathname:r,query:o,block_subPublication:i}=e,l=(c,d,u)=>{let f="";const h=d.split("/");return h.indexOf("page")!==-1&&h.splice(f.indexOf("page")-1,h.length-1),h.forEach((p,m)=>{m!==0&&(f+=`/${p}`)}),c==="next"?f+=`/page/${t+1}${u?`?query=${u}`:""}`:f+=`/page/${t-1}${u?`?query=${u}`:""}`};return(t>1||a&&t<n)&&s.jsxs("section",{className:"sass-com-np-content",children:[t>1&&s.jsx(_,{block_subPublication:i,className:"sass-com-np-linkStyled",href:l("prev",r||"",o||""),children:e.texts.prevButtonText??"Anterior"}),a&&t<n&&s.jsx(_,{block_subPublication:i,className:"sass-com-np-linkStyled",href:l("next",r||"",o||""),children:e.texts.nextButtonText??"Siguiente"})]})},$a=e=>{const{grid:t=3}=e;return s.jsxs("section",{className:"sass-com-nc-content",children:[s.jsx("div",{className:`sass-com-nc-contentGrid ${e.className?e.className:""} ${t===3?"sass-com-nc-contentGrid3":"sass-com-nc-contentGrid4"} news-content`,children:e.children}),s.jsx(s.Fragment,{children:e.paginatorComponent})]})},Do=({homepreview:e="imagen",videos:t,external:a,preview:n,linkClassName:r="sass-com-sc1-image",linkHref:o,linkTarget:i,linkTitle:l,isVideo:c=!1,isLarge:d,priorityHigh:u=!1})=>{const{CONFIG_videoClipUrl:f}=U(),h=e??"imagen",p=Array.isArray(t)?t:[],m=()=>{const A=p[0]?.clip;return A?s.jsx("div",{className:"sass-com-sc1-videoClipContainer",children:s.jsx("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:s.jsx("source",{src:`${f}${A}`,type:"video/mp4"})})}):null},g=()=>{const A=p[0]?.code;return A?s.jsx("iframe",{className:"sass-com-sc1-videoIframeContainer",src:`https://www.youtube.com/embed/${A}`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,title:l}):null},b=()=>{const A=p.find($=>$.type==="video-embedded");if(!A?.code)return null;const S=/src\s*=\s*"([^"]+)"/.exec(A.code),y=S?S[1]:null;if(!y)return null;const N=n.original?.url??n.sizes?.[0]?.url??"",k=Re()??"",O=N.startsWith("http")||N.includes(k)||k===""?N:k+N;return s.jsx("iframe",{className:"sass-com-sc1-embeddedIframeContainer",src:y,frameBorder:"0",allowFullScreen:!0,title:l,style:{"--thumbnail-url":`url(${O})`}})},w=()=>s.jsx(_,{"aria-label":l,className:r,title:l,href:o,target:i,children:s.jsx(Ee,{preview:n,isVideo:c,isLarge:d,priorityHigh:u})});switch(h){case"videoYouTube":return p[0]?.code?s.jsx(g,{}):s.jsx(w,{});case"videoEmbedded":return p.some(A=>A.type==="video-embedded"&&A.code)?s.jsx(b,{}):s.jsx(w,{});case"clip":return p[0]?.clip?s.jsx(m,{}):s.jsx(w,{});case"iframe":return a?.iframe?s.jsx("div",{className:"sass-com-sc1-iframeContainer",dangerouslySetInnerHTML:{__html:a.iframe}}):s.jsx(w,{});default:return s.jsx(w,{})}},He=e=>{const{main:t,authors:a,info:n,preview:r,share:o,isVideo:i,config:l,overImage:c="default",isTitle:d,priorityHigh:u=!1,isLarge:f,paths:h,keywords:p,speculationPrerenderClass:m}=e;return s.jsxs("section",{className:"sass-com-sc1-content",style:{...e.customSectionCardStyles},children:[s.jsx("div",{className:"sass-com-sc1-contentWrapper",children:s.jsx(Do,{homepreview:l?.homepreview,videos:e.videos,external:e.external,preview:r,linkClassName:"sass-com-sc1-image",linkHref:n?.link?.url,linkTarget:n?.link?.target,linkTitle:t?.title?.section,isVideo:i,isLarge:f,priorityHigh:u})}),s.jsx("div",{className:"sass-com-sc1-newsDescription",children:s.jsx(Ge,{main:t,authors:a,info:n,preview:r,share:o,config:l,overImage:c,isTitle:d,paths:h,keywords:p,speculationPrerenderClass:m})})]})},es=e=>{const{isVideo:t,info:a,main:n,overImage:r="default",titleGradient:o=!1,speculationPrerenderClass:i}=e,l=ht("sass-com-sc2-linkStyled",i),{SHOW_TAG_BY_SECTION:c,SUB_PUBLICATION_PREFIX_IN_ROUTES:d}=U(),u=()=>{if(c&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const f=e.keywords.tags[0],h=f.name;return f.approved?s.jsx("h3",{children:s.jsx(_,{"aria-label":h,block_subPublication:d?.tema,className:"sass-com-sc2-sectionDescription",href:Qe(f,e.paths),children:h})}):s.jsx("div",{className:"sass-com-sc2-sectionDescription",children:h})}else if(e.info?.section?.url)return s.jsx("h3",{children:s.jsx(_,{className:"sass-com-sc2-sectionDescription",href:e?.info?.link?.url,target:e?.info?.link?.target,children:e.info.section.name})});return null};return s.jsxs("section",{className:"sass-com-sc2-content",children:[s.jsx(_,{className:"sass-com-sc2-imageLink",title:n?.title?.section,href:a.link.url,target:a.link.target,children:s.jsx(Ee,{preview:e.preview,isVideo:t})}),s.jsxs("div",{className:["sass-com-sc2-boxInformation",o?"sass-com-sc2-titleGradient":""].join(" "),style:{width:r!=="default"?"90%":"",left:r==="left"?0:r==="right"?"calc(10% - 1px)":"auto",top:r!=="default"?"-1rem":""},children:[s.jsx(u,{}),s.jsx("h2",{className:"sass-com-sc2-articule",children:s.jsx(_,{className:l,href:e?.info?.link?.url,target:e?.info?.link?.target,children:e.main?.title?.section})})]})]})},th=e=>s.jsx("div",{className:"sass-com-lt-content",children:s.jsx(Ls,{className:`sass-com-lt-contentLayout ${e.className}`,children:e.children})}),sh=e=>{const t=e.logo;return s.jsxs("section",{className:"sass-com-err-content",children:[e.backgroundImgURL&&s.jsx("img",{className:"sass-com-err-before su-absolute su-inset-0 su-size-full su-object-cover",src:e.backgroundImgURL,alt:"Imagen de fondo del error"}),s.jsxs("div",{className:"sass-com-err-textContent error-text-content",children:[s.jsx(t,{}),s.jsx("p",{className:"sass-com-err-title",children:e.title}),s.jsx("p",{className:"sass-com-err-description",children:e.description}),s.jsx(_,{className:"sass-com-err-linkStyled su-no-underline su-flex-center",href:"/",children:e.buttonText??"Inicio"})]})]})},ah=e=>s.jsxs("div",{className:"sass-com-cin-content",children:[s.jsxs("div",{className:"sass-com-cin-contentLabel",children:[s.jsx("label",{className:"sass-com-cin-label",children:e.label}),e.required&&s.jsx("span",{className:"sass-com-cin-required",children:"*"})]}),s.jsx("input",{className:"sass-com-cin-input",...e})]}),nh=e=>s.jsxs("div",{className:"sass-com-csel-content",children:[s.jsxs("div",{className:"sass-com-csel-contentLabel",children:[s.jsx("label",{className:"sass-com-csel-label",children:e.label}),e.required&&s.jsx("span",{className:"sass-com-csel-required",children:"*"})]}),s.jsxs("select",{className:"sass-com-csel-input",...e,children:[s.jsx("option",{value:"",children:"--Seleccione--"}),e.options.map((t,a)=>s.jsx("option",{value:t.value,children:t.label},a))]})]}),rh=e=>s.jsxs("div",{className:"sass-com-cta-content",children:[s.jsx("label",{className:"sass-com-cta-label",children:e.label}),s.jsx("textarea",{className:"sass-com-cta-input",...e})]}),qo=e=>{const t=At(e.preview);let a="";return t.description&&(a=t.description),t.copyright&&(a=`${a} ${t.copyright}`),t.photographer&&(a=`${a} ${t.photographer}`),s.jsx("div",{className:"sass-com-in2-content",children:s.jsx(Ee,{preview:t,isLarge:!0,priorityHigh:!0,figCaption:a})})},Go=e=>s.jsx(s.Fragment,{children:s.jsxs("div",{className:"sass-com-lbh-boxInformation sass-liveblog-header",children:[s.jsx(qo,{preview:e.preview}),s.jsxs("div",{className:"sass-com-lbh-textBox",children:[s.jsxs("div",{className:"sass-com-lbh-contentBox",children:[e?.info?.section&&s.jsx(_,{className:"sass-com-lbh-sectionDescription",href:e?.info?.section?.url,children:e?.info?.section?.name}),s.jsxs("div",{className:"sass-com-lbh-liveBox",children:[s.jsx("span",{className:"sass-com-lbh-dot"}),s.jsx("p",{children:"EN VIVO"})]})]}),s.jsx("h1",{className:"sass-com-lbh-articule",children:e.main?.title?.section}),e.config?.showsubtitle&&s.jsx("p",{className:"sass-com-lbh-description",style:{"--fontSizeSubTitle":e.fontSizeSubTitle,"--lineHeightSubTitle":e.lineHeightSubTitle},children:e.main.subtitle.striped})]})]})}),jo=e=>s.jsx("section",{className:"sass-com-tl-content sass-liveblog-time-line",children:e.itemList[0]?.list.items.map((t,a)=>s.jsxs("div",{className:"sass-com-tl-contentLine",children:[s.jsx("div",{className:"sass-com-tl-dateLink",children:xn(t.date)}),s.jsx(_,{className:"sass-com-tl-contentText",href:`#item-${a+1}`,children:(e.itemList[0]?.list.integrated,t.title)})]},a))}),Fo=e=>{const{PUBLIC_ENV:t}=U(),a=ne("/linkedin-black.svg");return t!==""&&!e.forceSVG?s.jsx("img",{fetchPriority:"low",loading:"lazy",src:a,alt:"",...e}):s.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:s.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
|
|
429
429
|
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
|
|
430
|
-
h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`})})},oh={tiktok:{hosts:["tiktok.com","vm.tiktok.com"],fromHandle:e=>`https://www.tiktok.com/@${e}`},youtube:{hosts:["youtube.com","youtu.be"],fromHandle:e=>/^UC[A-Za-z0-9_-]{22}$/.test(e)?`https://www.youtube.com/channel/${e}`:`https://www.youtube.com/@${e}`},pinterest:{hosts:["pinterest.com","pin.it","pinterest.es","pinterest.com.mx"],fromHandle:e=>`https://www.pinterest.com/${e}`}},ih=new Set(["","-","--",".","#","n/a","na","no","null","undefined","false","none","ninguno","ninguna","sin dato","sin datos"]),lh=/^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/,ch=e=>e.replace(/^[\s"'<(\[]+/,"").replace(/[\s"'>)\].,;:]+$/,""),dh=(e,t)=>/^https?:\/\//i.test(e)||/^www\./i.test(e)?!0:t.some(a=>e.toLowerCase().startsWith(`${a}/`)),uh=e=>{const t=/^https?:\/\//i.test(e)?e:`https://${e}`;let a;try{a=new URL(t)}catch{return null}return!a.hostname.includes(".")||/\s/.test(a.hostname)?null:a.toString()},Ve=(e,t)=>{const a=oh[e];if(!a||typeof t!="string")return"";const n=ch(t.trim());if(ih.has(n.toLowerCase()))return"";if(dh(n,a.hosts))return uh(n)??"";const r=n.replace(/^[@/]+/,"").replace(/\/+$/,"");return lh.test(r)?a.fromHandle(r):""},$s=e=>{if(!e||e.trim()==="")return e;const t=e.trim();return t.startsWith("http://")||t.startsWith("https://")?t:`https://${t}`},hh=e=>!e||e.trim()===""?!1:/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()),gt=(e,t,a)=>s.jsx("img",{className:a,src:ne(`/autor-${e}.svg`),alt:t,fetchPriority:"low",loading:"lazy"}),fh=async e=>{const{autor:t,autorIcon:a,socialIconsFilled:n=!1,socialIconsCustom:r=!1}=e,o=a,{PUBLIC_LNG:i}=U(),l=i==="en",c=t?.addtional,d=t?.info?.image?.sizes?.[0]?.url??"",u=t?.info?.fullname??"",f=t?.info?.email??"",h=l?c?.USER_DESCRIPCION_EN||c?.USER_MIBIO_EN||"":c?.USER_DESCRIPCION||c?.USER_MIBIO||"",p=$s(t?.addtional?.USER_USERFB??""),m=$s(t?.addtional?.USER_USERIG??""),g=$s(t?.addtional?.USER_USERTWT??""),b=$s(t?.addtional?.USER_USERLIN??""),w=Ve("tiktok",c?.USER_PAGE_TIKTOK),A=Ve("youtube",c?.USER_PAGE_YOUTUBE),v=Ve("pinterest",c?.USER_PAGE_PINTEREST),S=()=>!f||f.trim()===""?!1:hh(f),y=N=>`mailto:${N.trim()}`;return s.jsx("section",{className:`sass-com-ah1-content su-flex-center su-relative su-w-full ${e.className??""}`,children:s.jsxs("div",{className:"sass-com-ah1-info",children:[d?s.jsx("div",{className:"sass-com-ah1-image-container sass-image-autor-wrapper",children:s.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"Imagen de perfil de "+u,className:"sass-com-ah1-image su-object-cover",src:await ue(d)})}):s.jsx("div",{className:"sass-com-ah1-icon-wrap sass-image-autor-wrapper su-flex-center",children:s.jsx(o,{})}),s.jsx("h1",{className:"sass-com-ah1-name",children:u}),S()&&s.jsx("a",{href:y(f),className:"sass-com-ah1-email","aria-label":`Enviar correo electrónico a ${f}`,title:`Enviar correo a ${f}`,children:f}),s.jsx("p",{className:"sass-com-ah1-description",children:h}),s.jsxs("div",{className:"sass-com-ah1-social",children:[p&&s.jsx("a",{href:p,target:"_blank",className:`sass-com-ah1-social-link ${n?"sass-com-ah1-social-filled":"sass-com-ah1-social-stroke"}`,rel:"noreferrer",children:r?gt(n?"facebook-black":"facebook","Facebook","sass-com-ah1-social-icon sass-social-icon-facebook"):n?s.jsx(Rt,{className:"sass-com-ah1-social-icon sass-social-icon-facebook",forceSVG:!0}):s.jsx(js,{className:"sass-com-ah1-facebook-icon sass-com-ah1-social-icon-facebook",forceSVG:!0})}),m&&s.jsx("a",{href:m,target:"_blank",className:"sass-com-ah1-social-link",rel:"noreferrer",children:r?gt("instagram","Instagram","sass-com-ah1-social-icon sass-com-ah1-social-icon-instagram"):s.jsx(Fs,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-instagram",forceSVG:!0})}),g&&s.jsx("a",{href:g,target:"_blank",className:"sass-com-ah1-social-link",rel:"noreferrer",children:r?gt("x","X","sass-com-ah1-social-icon sass-com-ah1-social-icon-x"):s.jsx(Fe,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-x",forceSVG:!0})}),b&&s.jsx("a",{href:b,target:"_blank",className:`sass-com-ah1-social-link ${n?"sass-com-ah1-social-filled":"sass-com-ah1-social-stroke"}`,rel:"noreferrer",children:r?gt(n?"linkedin-black":"linkedin","LinkedIn","sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin"):n?s.jsx(Fo,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin",forceSVG:!0}):s.jsx(je,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin",forceSVG:!0})}),w&&s.jsx("a",{href:w,target:"_blank","aria-label":"TikTok",className:"sass-com-ah1-social-link",rel:"noreferrer",children:r?gt("tiktok","TikTok","sass-com-ah1-social-icon sass-com-ah1-social-icon-tiktok"):s.jsx(Vs,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-tiktok",forceSVG:!0,width:28,height:28})}),A&&s.jsx("a",{href:A,target:"_blank","aria-label":"YouTube",className:"sass-com-ah1-social-link",rel:"noreferrer",children:r?gt("youtube","YouTube","sass-com-ah1-social-icon sass-com-ah1-social-icon-youtube"):s.jsx(zs,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-youtube",forceSVG:!0,width:28,height:28})}),v&&s.jsx("a",{href:v,target:"_blank","aria-label":"Pinterest",className:"sass-com-ah1-social-link",rel:"noreferrer",children:r?gt("pinterest","Pinterest","sass-com-ah1-social-icon sass-com-ah1-social-icon-pinterest"):s.jsx(Hs,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-pinterest",forceSVG:!0,width:28,height:28})})]})]})})},mh=async e=>{const{autor:t,autorIcon:a,socialIconsFilled:n=!1}=e,r=a,{PUBLIC_LNG:o}=U(),i=o==="en",l=t?.addtional,c=t?.info?.image?.sizes?.[0]?.url??"",d=t?.info?.fullname??"",u=t?.info?.email??"",f=l?.USER_SHOWEMAIL===!0||l?.USER_MOSTRAR_MAIL?.toUpperCase()==="TRUE",h=l?.USER_SHOWBIO??!1,p=i?l?.USER_DESCRIPCION_EN||l?.USER_MIBIO_EN||"":l?.USER_DESCRIPCION||l?.USER_MIBIO||"",m=t?.addtional?.USER_USERFB??"",g=t?.addtional?.USER_USERIG??"",b=t?.addtional?.USER_USERTWT??"",w=t?.addtional?.USER_USERLIN??"",A=Ve("tiktok",l?.USER_PAGE_TIKTOK),v=Ve("youtube",l?.USER_PAGE_YOUTUBE),S=Ve("pinterest",l?.USER_PAGE_PINTEREST);return s.jsx("section",{className:"sass-com-ah2-content su-flex su-w-full su-items-center su-justify-end",children:s.jsxs("div",{className:"sass-com-ah2-contentInfo su-stack-center su-relative su-w-full su-gap-2 su-p-4",children:[c?s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-ah2-imageStyled su-object-cover",src:await ue(c)}):s.jsx("div",{className:"sass-com-ah2-contentIconStyled su-flex-center",children:s.jsx(r,{})}),s.jsxs("div",{className:"sass-com-ah2-contentAuthor su-stack-center su-md:items-start",children:[s.jsx("h1",{className:"sass-com-ah2-name",children:d}),f&&s.jsx("p",{className:"sass-com-ah2-email",children:u}),h&&s.jsx("p",{className:"sass-com-ah2-description",children:p}),s.jsxs("div",{className:"sass-com-ah2-contenSocialNetwork su-flex su-items-center su-gap-4 su-justify-start",children:[m&&s.jsx("a",{href:m,target:"_blank",className:n?"sass-com-ah2-socialIconFilled":"sass-com-ah2-socialIconStroke",rel:"noreferrer",children:n?s.jsx(Rt,{className:"sass-com-ah2-blackIconFaceBook sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook",forceSVG:!0}):s.jsx(js,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook",forceSVG:!0})}),g&&s.jsx("a",{href:g,target:"_blank",rel:"noreferrer",children:s.jsx(Fs,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-instagram",forceSVG:!0})}),b&&s.jsx("a",{href:b,target:"_blank",rel:"noreferrer",children:s.jsx(Fe,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-x",forceSVG:!0})}),w&&s.jsx("a",{href:w,target:"_blank",className:n?"sass-com-ah2-socialIconFilled":"sass-com-ah2-socialIconStroke",rel:"noreferrer",children:n?s.jsx(Fo,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin",forceSVG:!0}):s.jsx(je,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin",forceSVG:!0})}),A&&s.jsx("a",{href:A,target:"_blank","aria-label":"TikTok",rel:"noreferrer",children:s.jsx(Vs,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-tiktok",forceSVG:!0})}),v&&s.jsx("a",{href:v,target:"_blank","aria-label":"YouTube",rel:"noreferrer",children:s.jsx(zs,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-youtube",forceSVG:!0})}),S&&s.jsx("a",{href:S,target:"_blank","aria-label":"Pinterest",rel:"noreferrer",children:s.jsx(Hs,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-pinterest",forceSVG:!0})})]})]})]})})},Ho=e=>s.jsxs("section",{className:"sass-com-lnc-content",children:[e.children,s.jsxs("div",{className:"sass-com-lnc-bannerSection",style:e.readestCustomStyles,children:[e.bannerTop,s.jsx(Gs,{content:e.ranking,title:e.readestTitle,videosSectionLabel:e.videosSectionLabel,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]})]}),ph=async e=>{const t=qa(),a={...e,main:{...e.main,title:{...e.main.title,article:Pe(e.main.title.article,60)}}};return e&&e.info?s.jsxs("section",{className:"sass-com-sc7-content",children:[s.jsx("a",{className:"sass-com-sc7-linkImage",target:e?.info?.link?.target,title:e?.main?.title?.section,href:e.info.link.url,children:s.jsxs("div",{style:{position:"relative"},children:[s.jsx("img",{src:await ue(e.preview.sizes[0]?.url||"")}),s.jsx(t,{className:"sass-com-sc7-playStyled saas-image-play-icon"})]})}),s.jsx("div",{className:"sass-com-sc7-newsDescription",children:s.jsx(Ge,{...a,paths:e.paths})})]}):null},gh=e=>{let t=[];return e.videoList&&e.videoList.length>0&&(t=e.videoList?.filter(a=>a.info.path!==e.video.info.path)??[]),s.jsx("div",{className:"sass-com-bv4-content",children:s.jsxs(Ls,{className:"sass-com-bv4-contentLayoutVideoSection",children:[s.jsxs("a",{className:"sass-com-bv4-header",href:e.goBackLink??"/videos",children:[s.jsx("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.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:"currentColor"})}),e.titleGoBack??"VOLVER A VIDEOS"]}),s.jsxs("div",{className:"sass-com-bv4-videos",children:[s.jsxs("div",{className:"sass-com-bv4-videoContent",style:e.mainVideoStyles,children:[e.type==="vy"&&s.jsx("iframe",{className:"sass-com-bv4-iframeStyled",src:`https://www.youtube.com/embed/${e.video?.main?.code}`,frameBorder:"0",allowFullScreen:!0}),e.type==="vf"&&s.jsx("iframe",{className:"sass-com-bv4-iframeStyled",src:e.video?.main?.code,frameBorder:"0",allowFullScreen:!0,allow:"autoplay; fullscreen",sandbox:"allow-scripts allow-same-origin allow-presentation allow-popups"}),e.type==="ve"&&s.jsx("div",{className:"sass-com-bv4-contentFrame",dangerouslySetInnerHTML:{__html:e.video?.main?.code??""}}),s.jsx("div",{className:"sass-com-bv4-articleSection",children:s.jsx(Ge,{isTitle:!0,cutSubtitle:!1,...wt({...e?.video,info:{...e?.video?.info,link:{...e.video?.info?.link,url:""}}},!0,!!e.video?.main?.description,!0),paths:e.paths})})]}),s.jsxs("div",{className:"sass-com-bv4-sectionVideoList",style:e.listVideoStyles,children:[e.banner&&s.jsx(Ce,{banners:e.banner.banners,name:e.banner.bannerName}),e.relatedName&&s.jsx("h2",{className:"sass-com-bv4-relatedTitle saas-video-related-title",children:e.relatedName}),Array.isArray(t)&&t.map((a,n)=>T.createElement(ph,{...wt(a,!0,!1,!1),key:n,paths:e.paths}))]})]})]})})},fe=T.forwardRef((e,t)=>{const{isTitle:a=!1,isOpinion:n=!1,noHeading:r=!1}=e,o=r?s.jsx("div",{className:"sass-com-sec-title",children:e.title}):a?s.jsx("h1",{className:"sass-com-sec-title",children:e.title}):s.jsx("h2",{className:"sass-com-sec-title",children:e.title});return s.jsxs("section",{className:"sass-com-sec-content",children:[e.title&&s.jsxs("div",{className:["sass-com-sec-titleContent",e.className??""].join(" "),"data-after":`${n}`,children:[s.jsx("hr",{className:"sass-com-sec-startLine"}),e.titleUrl?s.jsx(_,{href:e.titleUrl,children:o}):o,s.jsx("hr",{className:"sass-com-sec-line"}),e.titleUrl&&s.jsx(_,{className:"sass-com-sec-readMore",href:e.titleUrl?.toString()??""})]}),e.title&&s.jsx("hr",{className:["sass-com-sec-bottomLine",e.className??""].join(" ")}),s.jsx("div",{className:"sass-com-sec-childrenContent",ref:t,children:e.children})]})}),Qa=e=>s.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"var(--header-icons)",xmlns:"http://www.w3.org/2000/svg",...e,children:s.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"})}),Qs=e=>s.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:s.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:"currentColor"})}),bh=()=>s.jsx("div",{className:"sass-com-sb-buttonContent",children:s.jsx("label",{className:"sass-com-sb-buttonStyled",htmlFor:"side-bar-state",children:s.jsx(mt,{className:"sass-com-sb-icon"})})}),wh=({action:e,placeholder:t,ariaLabel:a})=>s.jsx("div",{className:"sass-com-sb-inputContent",children:s.jsxs("form",{className:"sass-com-sb-inputStyled",action:e,method:"GET",children:[s.jsx("input",{className:"sass-com-sb-buscar",type:"text",name:"query",placeholder:t}),s.jsx("button",{type:"submit","aria-label":a,className:"sass-com-sb-searchSubmit",children:s.jsx(Qa,{color:"var(--search-input-icons)"})})]})}),Ah=({item:e,index:t})=>{const a=`accordion_${t}`,n=Array.isArray(e.subitem);return s.jsxs("div",{className:"sass-com-sb-accordionStyled",children:[s.jsx("input",{type:"checkbox",id:a,style:{display:"none"}}),s.jsx("span",{className:"sass-com-sb-accordionHeading",children:n?s.jsxs("div",{className:"sass-com-sb-accordionSummeryStyled",children:[e.link?s.jsx(_,{block_subPublication:!0,className:"sass-com-sb-linkStyled",href:e.link,target:e.target,children:e.description}):s.jsx("div",{className:"sass-com-sb-accordionTitle",children:e.description}),s.jsx("label",{className:"sass-com-sb-accordionToggle",htmlFor:a,"aria-label":`Expandir ${e.description}`,children:s.jsx(Qs,{className:"sass-com-sb-accordionChevron",width:13,height:13})})]}):s.jsx(_,{block_subPublication:!0,className:"sass-com-sb-linkStyled",href:e.link??void 0,target:e.target,children:e.description})}),n&&s.jsx("div",{className:"sass-com-sb-accordionDetailsStyled",style:{"--max-height":`${e.subitem.length*45}px`},children:e.subitem.map((r,o)=>s.jsx(_,{block_subPublication:!0,className:"sass-com-sb-subLinkStyled",href:r.link??void 0,target:r.target,children:r.description},o))})]})},yh=({socials:e,copyright:t})=>s.jsxs("div",{className:"sass-com-sb-footerSlider",children:[s.jsx("div",{className:"sass-com-sb-socialMedia",children:Object.keys(e).map(a=>e[a]?.show&&pt[a]?s.jsx("a",{href:e[a].url,target:"_blank",rel:"noreferrer","aria-label":`${e[a].title} link`,className:"sass-com-sb-linkSocialNetwork",children:pt[a]({className:`sass-com-sb-icon ${`sass-com-sb-icon-${a}`}`})},a):null)}),t&&s.jsx("p",{className:"sass-com-sb-copyRights",children:t})]}),Ch=({sidebar:e,socials:t,copyrigth:a,sidebarExtra:n,searchKeyWord:r,searchLink:o,custom_styles:i={}})=>{const{SUB_PUBLICATION_PREFIX_IN_ROUTES:l,CONFIG_buscar_html:c}=U(),d=l?.buscar?de():"",u=c?".html":"";return s.jsxs("aside",{className:"sass-com-sb-drawerStyled",id:"sidebar-expandable",style:i,children:[s.jsx("input",{type:"checkbox",id:"side-bar-state"}),s.jsxs("section",{className:"sass-com-sb-sidebarCustom",children:[s.jsx(bh,{}),s.jsx(wh,{action:`${d}${o||"/buscar"}${u}`,placeholder:`${r}...`,ariaLabel:r}),s.jsxs("div",{className:"sass-com-sb-mainContent",children:[s.jsxs("div",{children:[n,e.map((f,h)=>s.jsx(Ah,{item:f,index:h},h))]}),s.jsx(yh,{socials:t,copyright:a})]})]})]})},Vo=e=>s.jsx("svg",{width:"27",height:"18",viewBox:"0 0 27 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:s.jsx("path",{d:"M1.5 18H25.5C26.325 18 27 17.325 27 16.5C27 15.675 26.325 15 25.5 15H1.5C0.675 15 0 15.675 0 16.5C0 17.325 0.675 18 1.5 18ZM1.5 10.5H25.5C26.325 10.5 27 9.825 27 9C27 8.175 26.325 7.5 25.5 7.5H1.5C0.675 7.5 0 8.175 0 9C0 9.825 0.675 10.5 1.5 10.5ZM0 1.5C0 2.325 0.675 3 1.5 3H25.5C26.325 3 27 2.325 27 1.5C27 0.675 26.325 0 25.5 0H1.5C0.675 0 0 0.675 0 1.5Z",fill:e.color})}),zo=e=>{const{alertZone:t,id:a="close-alert"}=e,n=()=>s.jsx(_,{className:"sass-com-hlm-headLine",href:t?.data[0]?.info.link.url,target:t?.data[0]?.info.link.target,title:t?.data[0]?.main.title.home,children:t?.data[0]?.main?.title.home??""});return s.jsxs(s.Fragment,{children:[s.jsx("input",{type:"checkbox",id:a,style:{display:"none"},defaultChecked:!(t&&t?.data&&t?.data[0]?.main?.title.home)}),t&&t?.data&&t?.data[0]?.main?.title.home&&s.jsxs("div",{id:"alert-chip",className:"sass-com-hlm-content",style:e.forceShow?{display:"flex",position:"sticky",top:100}:{},children:[s.jsxs("div",{className:"sass-com-hlm-live",children:[s.jsx("div",{className:"sass-com-hlm-chipStyled",children:t?.entity?.description}),e.forceShow&&s.jsx(n,{}),s.jsx("label",{htmlFor:a,children:s.jsx(mt,{className:"sass-com-hlm-closeLiveStyled"})})]}),s.jsx(n,{})]})]})},$o=e=>{const{cintillo:t,tapeTitle:a,socials:n}=e,r="",o=t?.findIndex(i=>i.link===r)??0;return(Array.isArray(t)||e.socialIcons)&&s.jsxs("section",{className:"sass-com-htape-content",children:[Array.isArray(t)&&s.jsxs("div",{className:"sass-com-htape-tabs header-page-tape-content",children:[a!==""&&s.jsx("p",{className:"sass-com-htape-title",children:`${a}`}),t&&t[o]&&s.jsx(_,{block_subPublication:!0,className:"sass-com-htape-linkStyled",target:t[o]?.target,href:t[o]?.link,style:{color:t[o]?.link===r?"var(--header-tape-active-link)":"var(--header-tape-icons)",fontWeight:t[o]?.link===r?"700":"400"},children:t[o]?.description},o),t&&t.map((i,l)=>{if(l!==o)return s.jsx(_,{block_subPublication:!0,className:"sass-com-htape-linkStyled",href:i?.link,style:{color:i?.link===r?"var(--header-tape-active-link)":"var(--header-tape-color)",fontWeight:i?.link===r?"700":"400"},children:i?.description},l)})]}),s.jsx("div",{className:"sass-com-htape-socialNetwork",children:Object.keys(n).map(i=>!i||!n[i]||!pt[i]?null:n[i]?.show&&s.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":n[i].title+" link",className:"sass-com-htape-linkSocialNetwork",href:n[i].url,children:pt[i]({className:["sass-com-htape-icon",`sass-com-htape-${String(i)}`].join(" ")})},i))})]})},vh=e=>{const{alertZone:t,custom_styles:a={}}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:n}=U();return s.jsxs("header",{className:"sass-com-h1sk-headerStyled",style:a,id:"saas-header-sticky",children:[e.socialIcons&&e.headerTape?.sticky&&s.jsx($o,{socialIcons:e.socialIcons,cintillo:e.cintillo,tapeTitle:e.tapeTitle,socials:e.socials}),s.jsxs("div",{className:`${t&&t?.data&&!e.showAlertPop?"sass-com-h1sk-headerContentAlert":"sass-com-h1sk-headerContent"} center-mobile-header-icon`,children:[s.jsx(Fa,{id:"button-app",className:"sass-com-h1sk-menuButton",toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:s.jsx(Vo,{className:"sass-com-h1sk-startIcon",color:"var(--header-menu-icon-color, var(--header-icons))",width:27,height:27})}),s.jsxs("div",{className:"sass-com-h1sk-iconContent",children:[s.jsx(_,{href:"/","aria-label":"Home",className:"icon header-logo-link-sticky",style:{display:"flex"},children:T.createElement("span",{className:"sass-com-h1sk-logoStyled"},e.icon)}),e.mobileIcon?s.jsx(_,{href:"/","aria-label":"Home",className:"icon header-logo-link-sticky header-mobile-icon",style:{display:"flex"},children:T.createElement("span",{className:"sass-com-h1sk-logoStyled"},e.mobileIcon())}):null]}),!e.showAlertPop&&t?.data&&s.jsxs("div",{className:"sass-com-h1sk-headLineContent",children:[s.jsx("div",{className:"sass-com-h1sk-headLineTitle headLineTitle",children:t.entity.description?`${t.entity.description}`:""}),s.jsx(_,{className:"sass-com-h1sk-headLine",href:t.data[0]?.info.link.url,target:t.data[0]?.info.link.target,title:t.data[0]?.main.title.home,children:Pe(t.data[0]?.main.title.home??"",120)})]}),s.jsxs("div",{style:e.showAlertPop?{marginLeft:"auto"}:{},className:["sass-com-h1sk-buttonSection",t?.data?"sass-com-h1sk-hasAlertZone":"","search-button"].join(" "),children:[s.jsx(_,{block_subPublication:n?.buscar,href:e.searchLink?e.searchLink:"/buscar","aria-label":e.searchKeyWord,className:"sass-com-h1sk-buttonSectionSearch search-button-icon",style:{display:"flex"},children:s.jsx(Qa,{width:28,height:28,color:"currentColor"})}),e.rightZone]})]}),e.customComponent&&e.customComponent,!e.showAlertPop&&s.jsx(zo,{alertZone:t,forceShow:e.showAlertPop})]})},Sh=e=>{const{items:t}=e;return s.jsx("ul",{className:"sass-com-mopt-ul",children:t.map((a,n)=>s.jsxs("li",{className:"sass-com-mopt-liBefore sass-com-mopt-li",children:[a.link?s.jsxs(_,{block_subPublication:!0,"aria-label":a.description,className:"sass-com-mopt-linkStyled",href:a.link?a.link:void 0,target:a.target,children:[a.description,Array.isArray(a.subitem)&&s.jsx(Qs,{})]}):s.jsxs("span",{"aria-label":a.description,className:"sass-com-mopt-linkStyled",children:[a.description,Array.isArray(a.subitem)&&s.jsx(Qs,{})]}),Array.isArray(a.subitem)&&s.jsx("ul",{className:"sass-com-mopt-ulContent",children:s.jsx("div",{className:"sass-com-mopt-contentModal",children:a.subitem.map((r,o)=>s.jsx("li",{className:"sass-com-mopt-li",children:s.jsx(_,{block_subPublication:!0,className:"sass-com-mopt-itemLink","aria-label":r.description,href:r.link?r.link:void 0,target:r.target,children:r.description})},o))})})]},n))})},Nh=e=>{const{menu:t,alertZone:a,custom_styles:n={},prerender_classes:r}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:o}=U();return s.jsxs("header",{className:"sass-com-h1st-headerStyled",id:"saas-header-static",style:{...n,top:e.cintillo||e.socialIcons&&!e.headerTape?.static?40:0},children:[e.socialIcons&&e.headerTape?.static&&s.jsx($o,{socialIcons:e.socialIcons,cintillo:e.cintillo,tapeTitle:e.tapeTitle,socials:e.socials}),s.jsxs("div",{style:e.showAlertPop?{gap:0}:{},className:["sass-com-h1st-headerContent",a?.data?"sass-com-h1st-hasAlertZone":""].join(" "),children:[s.jsx("div",{className:"sass-com-h1st-menuButtonSection sass-header-menu-button",children:s.jsxs(Fa,{className:"sass-com-h1st-menuButton",id:"button-app",toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:[s.jsx(Vo,{color:"var(--header-menu-icon-color, var(--header-icons))",width:27,height:27}),s.jsx("p",{className:"sass-com-h1st-buttonText",style:{lineHeight:0},children:e.menuText})]})}),s.jsx("div",{className:"sass-com-h1st-logoContent",children:s.jsx(_,{href:"/","aria-label":"Home",className:"header-logo-link",children:T.createElement("span",{className:"sass-com-h1st-logoStyled"},e.icon)})}),s.jsxs("div",{className:"sass-com-h1st-buttonSection sass-header-right-button-section",children:[s.jsx(_,{block_subPublication:o?.buscar,href:e.searchLink?e.searchLink:"/buscar",className:"sass-com-h1st-buttonSectionSearch","aria-label":e.searchKeyWord,style:{display:"flex"},children:s.jsx(Qa,{width:28,height:28,color:"currentColor"})}),e.rightZone]}),!e.showAlertPop&&a?.data?s.jsxs("div",{className:"sass-com-h1st-headLineContent",children:[s.jsx("p",{className:"sass-com-h1st-headLineTitle headLineTitle",children:a.entity.description?`${a.entity.description}`:""}),s.jsx(_,{className:`sass-com-h1st-headLine ${r?.alert}`,href:a.data[0]?.info.link.url,target:a.data[0]?.info.link.target,title:a.data[0]?.main.title.home,children:Pe(a.data[0]?.main.title.home??"",120)})]}):s.jsx("div",{className:"sass-com-h1st-line"}),s.jsx("div",{className:"sass-com-h1st-menuSection",style:e.showAlertPop?{"--showAlertPop":"0px"}:{},children:Array.isArray(t)&&s.jsx(Sh,{items:t})})]}),e.customComponent&&e.customComponent]})},Eh=e=>{const{alertZone:t,children:a,sidebar:n,custom_styles:r={}}=e,o=e.childrenContentTag??"div",i=s.jsxs(o,{className:["sass-com-h1-childrenContent",e.showAlertPop?"sass-com-h1-op2":"",t?.data?"sass-com-h1-childrenContentAux":""].join(" "),style:e.showOnlyStickyHeader?{...r,"--hasAlertMargin":"3.6rem !important"}:r,id:"content-layout",children:[e.showAlertPop&&s.jsx(zo,{alertZone:t,forceShow:e.showAlertPop,id:"static-alert-chip"}),a]});return s.jsxs(s.Fragment,{children:[e.childrenContentPosition==="before-headers"&&i,s.jsx(vh,{...e}),!e.showOnlyStickyHeader&&s.jsx(Nh,{...e}),e.childrenContentPosition!=="before-headers"&&i,s.jsx(Ch,{sidebarExtra:e.sidebarExtra,searchKeyWord:e.searchKeyWord,sidebar:n,searchLink:e.searchLink,socials:e.socials,copyrigth:e.copyrigth,custom_styles:e.custom_styles})]})},xh=async e=>{const t=e.info&&typeof e.info=="object"?e.info.image:void 0,a=(t&&typeof t=="object"?t:void 0)||e.image,n=a?.sizes?.[0]?.url||a?.original?.url||"";return n&&await ue(n)||""},Qo=({name:e,imageUrl:t})=>s.jsxs(s.Fragment,{children:[t?s.jsx("img",{className:"sass-com-ts-chipImage su-object-cover",src:t,alt:"",loading:"lazy",fetchPriority:"low"}):null,e]}),Wo=async e=>{const{SUB_PUBLICATION_PREFIX_IN_ROUTES:t}=U();if(!e?.tags?.length)return null;const a=await Promise.all(e.tags.map(async n=>({item:n,imageUrl:await xh(n)})));return s.jsx("section",{className:"sass-com-ts-content",children:s.jsxs("div",{className:"sass-com-ts-tags",children:[s.jsx("p",{className:"sass-com-ts-tagStyled",children:e.title?e.title:"Tags:"}),a.map(({item:n,imageUrl:r},o)=>n.approved?s.jsx(_,{block_subPublication:t?.tema,href:Qe(n,e.paths),children:s.jsx("div",{className:"sass-com-ts-chipStyled sass-com-ts-tagLink",children:s.jsx(Qo,{name:n.name,imageUrl:r})})},o):s.jsx("div",{className:"sass-com-ts-chipStyled",children:s.jsx(Qo,{name:n.name,imageUrl:r})},o))]})})},Yo=async e=>{const{autor:t}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:a,PUBLIC_LNG:n}=U(),r=de(),o=n==="en",i=t?.addtional,l=t?.info?.name??"",c=t?.info?.fullname??"",d=t?.info?.image?.sizes?.[0]?.url??"",u=o?i?.USER_DESCRIPCION_EN||i?.USER_MIBIO_EN||"":i?.USER_DESCRIPCION||i?.USER_MIBIO||"",f=t?.addtional?.USER_USERFB??"",h=t?.addtional?.USER_USERIG??"",p=t?.addtional?.USER_USERTWT??"",m=t?.addtional?.USER_USERLIN??"",g=Ve("tiktok",i?.USER_PAGE_TIKTOK),b=Ve("youtube",i?.USER_PAGE_YOUTUBE),w=Ve("pinterest",i?.USER_PAGE_PINTEREST),A=`${r}/${e.paths.autor}/${l}`,y=u.replace(/<[^>]*>/g,"").replace(/&[^;]+;/g," ").trim().length>360,N=`ja2-bio-toggle-${l}`;return!!t&&s.jsx("section",{className:"sass-com-ja2-contentBox",children:s.jsxs("div",{className:"sass-com-ja2-content",children:[s.jsxs("div",{className:"sass-com-ja2-avatarContent",children:[s.jsx(_,{block_subPublication:a?.autor,className:"sass-com-ja2-journalistInfo su-no-underline",href:A,children:d?s.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"Imagen de perfil de "+l,className:"sass-com-ja2-imageStyled",src:await ue(d)}):s.jsx("div",{className:"sass-com-ja2-contentIconStyled",children:e.autorIcon})}),s.jsxs("section",{className:"sass-com-ja2-journalistSection",children:[s.jsx(_,{block_subPublication:a?.autor,className:"sass-com-ja2-journalistInfo su-no-underline",href:A,children:c}),s.jsxs("section",{className:"sass-com-ja2-socialNetworkSection",children:[f&&s.jsx("a",{href:f,target:"_blank","aria-label":u,rel:"noreferrer",children:s.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.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"})})}),h&&s.jsx("a",{href:h,target:"_blank","aria-label":u,rel:"noreferrer",children:s.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsxs("g",{clipPath:"url(#clip0_281_2357)",children:[s.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"}),s.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"}),s.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"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_281_2357",children:s.jsx("rect",{width:"17",height:"17",fill:"white",transform:"translate(4 4)"})})})]})}),p&&s.jsx("a",{href:p,target:"_blank","aria-label":u,rel:"noreferrer",children:s.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.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"})})}),m&&s.jsx("a",{href:m,target:"_blank","aria-label":u,rel:"noreferrer",children:s.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.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"}),s.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"}),s.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"})]})}),g&&s.jsx("a",{href:g,target:"_blank","aria-label":"TikTok",rel:"noreferrer",children:s.jsx(Vs,{className:"sass-com-ja2-tiktokStyled",forceSVG:!0,width:24,height:24})}),b&&s.jsx("a",{href:b,target:"_blank","aria-label":"YouTube",rel:"noreferrer",children:s.jsx(zs,{className:"sass-com-ja2-youtubeStyled",forceSVG:!0,width:24,height:24})}),w&&s.jsx("a",{href:w,target:"_blank","aria-label":"Pinterest",rel:"noreferrer",children:s.jsx(Hs,{className:"sass-com-ja2-pinterestStyled",forceSVG:!0,width:24,height:24})})]})]})]}),y?s.jsxs("div",{className:"sass-com-ja2-bioExpandable",children:[s.jsx("input",{type:"checkbox",id:N,className:"sass-com-ja2-bioToggle"}),s.jsx("div",{className:"sass-com-ja2-article sass-com-ja2-article-clamp",dangerouslySetInnerHTML:{__html:u}}),s.jsxs("div",{className:"sass-com-ja2-bioFooter",children:[s.jsxs("label",{htmlFor:N,className:"sass-com-ja2-bioToggleLink",children:[s.jsx("span",{className:"sass-com-ja2-bioToggleLinkMore",children:String(e.texts.authorViewMore??"Ver más")}),s.jsx("span",{className:"sass-com-ja2-bioToggleLinkLess",children:"Ver menos"})]}),s.jsx("label",{htmlFor:N,className:"sass-com-ja2-bioArrow","aria-label":"Leer más / Leer menos",children:s.jsx("svg",{viewBox:"0 0 24 24",fill:"none",width:"18",height:"18","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M6 9l6 6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),s.jsx("a",{"aria-label":l,className:"sass-com-ja2-bioAuthorLink",href:A,children:String(e.texts.authorViewMore??"Ver más")})]}):s.jsx("div",{className:"sass-com-ja2-article",dangerouslySetInnerHTML:{__html:`${u} <a aria-label="${l}" href="${A}">${String(e.texts.authorViewMore??"Ver más")}</a>`}})]})})},Ko=async e=>{const{news:t,texts:a}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:n}=U();return t?t.config?.showauthor&&t.authors?.length>1&&s.jsx("div",{className:"sass-com-jg-content su-flex su-w-full su-flex-col su-items-center su-justify-evenly su-gap-0 su-md:flex-row",children:Array.isArray(t.authors)&&t.authors?.map(async r=>s.jsxs("div",{className:"sass-com-jg-contentCard",children:[r.image?s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-jg-imageStyled su-flex-center",src:await ue(r.image?.sizes?.[0]?.url||"")},r.fullname):s.jsx("div",{className:"sass-com-jg-contentIconStyled su-flex-center",children:e.autorIcon},r.fullname),s.jsxs("div",{className:"sass-com-jg-contentInfo",children:[r.internaluser?s.jsx(_,{block_subPublication:n?.autor,className:"sass-com-jg-fullName",href:`/${e.paths.autor}/${r.name}`,children:r.fullname}):s.jsx("p",{className:"sass-com-jg-fullName",children:r.fullname}),r.internaluser&&s.jsx(_,{block_subPublication:n?.autor,className:"sass-com-jg-LearnMoreLink",href:`/${e.paths.autor}/${r.name}`,children:String(a.JournalistGroupLink??"")})]})]},`author-${r.firstname}`))}):(Me("JournalistGroup","news"),null)},Ws=e=>{if(!e||e.trim()==="")return e;const t=e.trim();return t.startsWith("http://")||t.startsWith("https://")?t:`https://${t}`},Th=async e=>{const t=e.img?await ue(e.img):"",a=Ws(e.social?.facebook??""),n=Ws(e.social?.instagram??""),r=Ws(e.social?.twitter??""),o=Ws(e.social?.linkedin??""),i=e.social&&(a||n||r||o);return s.jsx("section",{className:`sass-com-th-content ${e.className}`,children:s.jsxs("div",{className:`sass-com-th-contentInfo ${t?"":"sass-com-th-contentInfoWithoutImg"}`,children:[e.img&&s.jsx("div",{className:"sass-com-th-imageContainer sass-image-tag-wrapper",children:s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-th-imageStyled su-object-cover",src:t})}),s.jsx("h1",{className:"sass-com-th-name",children:e.tag}),e.description&&s.jsx("div",{className:"sass-com-th-description",dangerouslySetInnerHTML:{__html:e.description}}),e.url&&s.jsx("a",{className:"sass-com-th-urlTag",href:e.url,children:e.url}),i&&s.jsxs("div",{className:"sass-com-th-contenSocialNetwork",children:[a&&s.jsx("a",{href:a,target:"_blank",className:"sass-com-th-socialFacebookIcon sass-com-th-socialIconStroke",rel:"noreferrer",children:s.jsx(js,{className:"sass-com-th-faceBookIcon",forceSVG:!0})}),n&&s.jsx("a",{href:n,target:"_blank",className:"sass-com-th-socialIconLink",rel:"noreferrer",children:s.jsx(Fs,{className:"sass-com-th-socialIcon",forceSVG:!0})}),r&&s.jsx("a",{href:r,target:"_blank",className:"sass-com-th-socialIconLink",rel:"noreferrer",children:s.jsx(Fe,{className:"sass-com-th-socialIcon",forceSVG:!0})}),o&&s.jsx("a",{href:o,target:"_blank",className:"sass-com-th-socialIconLink sass-com-th-socialIconStroke",rel:"noreferrer",children:s.jsx(je,{className:"sass-com-th-socialIcon",forceSVG:!0})})]})]})})},Wa=s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor",children:s.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})});function kh({googleSourceShare:e,googleProfile:t,whatsAppShare:a,text:n}){return s.jsxs("div",{className:"sass-com-src-container",children:[e&&s.jsxs("a",{className:"sass-com-src-button",href:e,target:"_blank",rel:"noopener noreferrer",children:[s.jsx("img",{src:ne("/icono-google-plus-badge.svg"),loading:"lazy",fetchPriority:"low",alt:"Google Source",width:28,height:28}),n.sourceButtons?.googleSourceShare||"Añádenos como fuente preferida",Wa]}),t&&s.jsxs("a",{className:"sass-com-src-button",href:t,target:"_blank",rel:"noopener noreferrer",children:[s.jsx("img",{src:ne("/icono-google-news-plus-badge.svg"),loading:"lazy",fetchPriority:"low",alt:"Google News",width:28,height:28}),n.sourceButtons?.googleProfile||"Google News",Wa]}),a&&s.jsxs("a",{className:"sass-com-src-button",href:a,target:"_blank",rel:"noopener noreferrer",children:[s.jsx("img",{src:ne("/icono-whatsapp-plus-badge.svg"),loading:"lazy",fetchPriority:"low",alt:"WhatsApp",width:28,height:28}),n.sourceButtons?.whatsAppShare||"Sumate al canal de WhatsApp",Wa]})]})}function Ih(e){const{main:t,authors:a,info:n,preview:r,config:o,keywords:i,isVideo:l,isLarge:c,priorityHigh:d,share:u,overImage:f,isTitle:h,paths:p}=e,{CONFIG_videoClipUrl:m}=U(),g=o?.homepreview??"imagen",b=()=>{const y=e.videos?.[0]?.clip;return y?s.jsx("div",{className:"homeCardVideoClipContainer",children:s.jsx("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,width:"480",height:"535",children:s.jsx("source",{src:`${m}${y}`,type:"video/mp4"})})}):null},w=()=>{if(!e.videos)return null;const y=e.videos?.[0]?.code;return y?s.jsx("iframe",{className:"homeCardVideoIframeContainer",src:`https://www.youtube.com/embed/${y}`,frameBorder:"0",allowFullScreen:!0}):null},A=()=>{if(!e.videos)return null;const y=(e.videos??[]).find(V=>V.type==="video-embedded");if(!y?.code)return null;const k=/src\s*=\s*"([^"]+)"/.exec(y.code),O=k?k[1]:null;if(!O)return null;const $=r.original?.url??r.sizes?.[0]?.url??"",M=Re()??"",B=$.startsWith("http")||$.includes(M)||M===""?$:M+$;return s.jsx("iframe",{className:"homeCardEmbeddedIframeContainer",src:O,frameBorder:"0",allowFullScreen:!0,style:{"--thumbnail-url":`url(${B})`}})},v=()=>{const N=e.gallery??[];return N.length?s.jsx(et,{slot_id:"home-card_"+e.info.link.url,fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:N.map((k,O)=>{const $=k?.url||k?.id||`gallery-${O}`;return s.jsx(_,{"aria-label":e.main?.title?.section,className:"homeCardImage",title:t?.title?.section,href:n?.link?.url,target:n?.link?.target,children:s.jsx(Ee,{preview:k,isVideo:l,isLarge:c,priorityHigh:d})},$)})}):null};let S=null;switch(g){case"fotogaleria":S=s.jsx(v,{});break;case"videoYouTube":S=s.jsx(w,{});break;case"videoEmbedded":S=s.jsx(A,{});break;case"clip":S=s.jsx(b,{});break;case"iframe":S=s.jsx("div",{className:"homeCardIframeContainer",dangerouslySetInnerHTML:{__html:e?.external?.iframe??""}});break;default:S=s.jsx(_,{"aria-label":e?.main?.title?.section,className:"homeCardImage",title:t?.title?.section,href:n?.link?.url,target:n?.link?.target,children:s.jsx(Ee,{preview:r,isVideo:l,isLarge:c,priorityHigh:d})});break}return s.jsxs("section",{className:"homeCardContent",style:{...e.customSectionCardStyles},children:[s.jsx("div",{className:"homeCardContentWrapper",children:S}),s.jsx("div",{className:"homeCardNewsDescription",children:s.jsx(Ge,{main:t,authors:a,info:n,preview:r,share:u,config:o,overImage:f,isTitle:h,paths:p,keywords:i})})]})}const Ot=e=>{const{SHOW_TAG_BY_SECTION:t,SUB_PUBLICATION_PREFIX_IN_ROUTES:a}=U(),n=`${e?.authors[0]?.fullname} - `,r=e?.config?.showtime&&e.config?.showauthor?qe(e.info?.date?.modified,n):e?.config?.showtime?qe(e.info?.date?.modified):{},o=()=>{if(e?.config?.showtime&&e.config?.showauthor)return`${n}${ke(e.info?.date?.modified)}`;if(e.config?.showauthor)return e?.authors[0]?.fullname;if(e?.config?.showtime)return ke(e.info?.date?.modified)},i=()=>{if(t&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const c=e.keywords.tags[0],d=c.name;return c.approved?s.jsxs("h3",{children:[" ",s.jsx(_,{"aria-label":d,className:"sass-bmd-sup-tagmx",block_subPublication:a?.tema,href:Qe(c,e.paths),children:d})]}):s.jsx("div",{className:"sass-bmd-sup-tagmx",children:d})}else if(e.info?.section?.url)return s.jsx("h3",{children:s.jsx(_,{className:"sass-bmd-sup-tagmx",href:e?.info?.section?.url,children:e?.info?.section?.name})});return null},l=()=>{if(t&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const c=e.keywords.tags[0],d=c.name;return c.approved?s.jsx("h3",{children:s.jsx(_,{"aria-label":d,className:"sass-bmd-sup-tag",block_subPublication:a?.tema,href:Qe(c,e.paths),children:d})}):s.jsx("div",{className:"sass-bmd-sup-tag",children:d})}else if(e.info?.section?.url)return s.jsx("h3",{children:s.jsx(_,{className:"sass-bmd-sup-tag",href:e?.info?.section?.url,children:e?.info?.section?.name})});return null};return s.jsxs("section",{className:"sass-bmd-sup-content destacado-super-content",children:[s.jsx(_,{href:e?.info?.link?.url,target:e?.info?.link?.target,"aria-label":e?.main?.title?.home,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:s.jsx(Ee,{preview:e.preview,isLarge:!0,BackDropAuxHeigthMobile:"513px",priorityHigh:!0})}),s.jsxs("div",{className:"sass-bmd-sup-contentNews",style:{"--widthTextContent":e.textPosition==="start"?"100%":"80%"},children:[s.jsx(i,{}),s.jsxs("div",{style:{position:"relative"},children:[s.jsx(l,{}),s.jsx(_,{className:ht("sass-bmd-sup-linkTitle",e.speculationPrerenderClass),href:e?.info?.link?.url,target:e?.info?.link?.target,children:s.jsx("h1",{className:"sass-bmd-sup-titular",style:{"--titlePosition":e.textPosition==="start"?"initial":"center"},children:e?.main?.title?.home})})]}),e.config?.showsubtitle&&s.jsx("div",{className:"sass-bmd-sup-description",dangerouslySetInnerHTML:{__html:e.main.subtitle.striped}}),e?.config?.showtime&&e.config?.showauthor&&s.jsx(s.Fragment,{children:e.authors[0]?.internaluser?s.jsx(_,{block_subPublication:a?.autor,href:`/${e.paths?.autor??"autor"}/${e?.authors[0]?.name}`,className:"sass-bmd-sup-correspondent",...r,children:o()}):s.jsx("p",{className:"sass-bmd-sup-correspondentLink",...r,children:o()})})]})]})},Jo=e=>{const{main:t,authors:a,info:n,preview:r,isVideo:o,config:i,itemReverseOrder:l,imageSize:c,showSuper:d,textPosition:u,heightImageOverwrite:f,heightImageOverwriteMobile:h}=e;return s.jsxs("section",{className:"su-grid su-w-full su-gap-8 sass-bmd-dd-content",children:[d?s.jsx("section",{style:{...e.customSectionCardStyles},children:s.jsx(Ot,{main:t,authors:a,info:n,preview:r,isVideo:o,config:i,paths:e.paths,textPosition:u,heightImageOverwrite:f,heightImageOverwriteMobile:h,speculationPrerenderClass:e.speculationPrerenderClass})}):s.jsx(He,{...e,main:t,authors:a,info:n,preview:r,isVideo:o,config:i,speculationPrerenderClass:e.speculationPrerenderClass,priorityHigh:!0,isTitle:!0}),e.banners&&s.jsx(Ce,{banners:e.banners,name:"main_block_"+(e.rightOnlyBanner?1:2)}),!e.rightOnlyBanner&&s.jsx(ja,{block:e.block,itemReverseOrder:l,priorityHigh:!0,imageSize:c,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})]})},Uh=({content:e,customLargeSection:t,customSmallSection:a,paths:n,speculationPrerenderClass:r})=>{const o=e[0];return Array.isArray(e)&&e.length>0&&o&&s.jsxs("section",{className:"sass-bmd-dnh-content",children:[s.jsx("div",{style:t,className:"su-w-full sass-bmd-dnh-firstSection",children:s.jsx(Ot,{...o,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:n,speculationPrerenderClass:r})}),s.jsx("div",{style:a,className:"su-flex su-flex-col su-gap-2 su-w-full su-h-auto su-md:gap-0 sass-bmd-dnh-secondSection",children:e.map((i,l)=>l>0&&T.createElement(Ot,{...i,key:l,textPosition:"start",heightImageOverwrite:"256px",heightImageOverwriteMobile:"270px",paths:n,speculationPrerenderClass:r}))})]})},Lh=({content:e,customLargeSection:t,customSlimSection:a,paths:n,speculationPrerenderClass:r})=>Array.isArray(e)&&e.length>0&&s.jsx("section",{className:"su-grid su-w-full su-gap-2 sass-bmd-dnv-content",children:e.map((o,i)=>i===0?s.jsx("div",{style:t,className:"su-w-full sass-bmd-dnv-firstSection",children:s.jsx(Ot,{...o,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:n,speculationPrerenderClass:r})},i):s.jsx("section",{style:a,children:T.createElement(Ot,{...o,key:i,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:n,speculationPrerenderClass:r})},i))}),Zo=e=>{const{SHOW_TAG_BY_SECTION:t,SUB_PUBLICATION_PREFIX_IN_ROUTES:a}=U(),n=ht("sass-com-bh-title",e.speculationPrerenderClass),r=()=>{if(t&&e.mainNew.keywords?.tags?.length&&e.mainNew.keywords.tags.length>0){const o=e.mainNew.keywords.tags[0],i=o.name;return o.approved?s.jsx("h3",{className:"sass-com-bh-section",children:s.jsx(_,{"aria-label":i,className:"sass-com-bh-sectionDescription",block_subPublication:a?.tema,href:Qe(o,e.paths),children:i})}):s.jsx("div",{className:"sass-com-bh-sectionDescription",children:i})}else if(e.mainNew.info?.section?.url)return s.jsx("h3",{className:"sass-com-bh-section",children:s.jsx(_,{className:"sass-com-bh-sectionDescription",href:e?.mainNew?.info?.section?.url,children:e?.mainNew?.info?.section?.name})});return null};return s.jsxs("div",{className:"sass-com-bh-content",children:[s.jsx(r,{}),s.jsx(_,{className:n,href:e?.mainNew?.info?.link?.url,target:e?.mainNew?.info?.link?.target,children:e?.mainNew?.main?.title.home}),e?.mainNew?.main?.subtitle?.rendered&&s.jsx("p",{className:"sass-com-bh-subtitle",children:e?.mainNew?.main?.subtitle?.striped}),e.goTo&&s.jsx(_,{href:e.goTo.url,className:"sass-com-bh-linkStyled",children:e.goTo.description})]})},Xo=e=>{const{content:t,title:a,isVideo:n,priorityHigh:r=!1,isLarge:o}=e;if(!t||!t[0]||t.length===0)return;const i=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1"),l={...t[0],main:{...t[0].main,title:{...t[0].main.title,section:i?t[0].main.title.home:t[0].main.title.section}}},c=t.slice(1),d=l;return l&&c&&s.jsxs(fe,{title:a,titleUrl:e.titleUrl,children:[s.jsxs("div",{className:"su-flex su-flex-col-reverse su-overflow-hidden sass-bd-dn-headerSection",children:[s.jsx(Zo,{mainNew:l,goTo:e.goTo,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass}),s.jsx(Do,{homepreview:l.config?.homepreview,videos:d.videos,external:l.external,preview:l.preview,linkClassName:"sass-bd-dn-headerSectionLink sass-com-sc1-image",linkHref:l?.info?.link?.url,linkTarget:l?.info?.link?.target,linkTitle:l.main?.title?.section,isVideo:n,isLarge:o,priorityHigh:r})]}),s.jsxs("div",{className:"su-grid sass-bd-dn-newsContent",children:[s.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),Array.isArray(c)&&c.map((u,f)=>{const h={...u,main:{...u.main,title:{...u.main.title,section:i?u.main.title.home:u.main.title.section}}};return s.jsx("div",{style:{order:f},children:s.jsx(He,{...h,isVideo:n,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})},f)})]})]})},Ys=async e=>{const{data:t,autorIcon:a,speculationPrerenderClass:n}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:r}=U(),o=()=>t?.config?.showtime?`${ke(t.info?.date?.modified)}`:"",i=s.jsxs("div",{className:"sass-com-oc2-autorContent",children:[Array.isArray(t?.authors)&&Array.isArray(t?.authors[0]?.image?.sizes)&&t?.authors[0]?.image&&t?.authors[0]?.image?.sizes?.length>0?s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-oc2-image",src:await ue(t?.authors[0]?.image?.sizes[0]?.url||""),alt:t?.authors[0]?.fullname}):s.jsx("div",{className:"sass-com-oc2-contentIcon",children:a}),s.jsx("p",{className:"sass-com-oc2-autorName",children:Pe(t?.authors[0]?.fullname??"Redacción",18)}),s.jsx("p",{className:"sass-com-oc2-time",...t?.config?.showtime?qe(t.info?.date?.modified):{},children:o()})]});return s.jsxs("div",{className:"sass-com-oc2-content",children:[t?.authors[0]?.internaluser?s.jsx(_,{block_subPublication:r?.autor,href:t.authors[0]?.internaluser?`/${e.paths.autor}/${t?.authors[0]?.name}`:"#",children:i}):i,s.jsxs("div",{className:"sass-com-oc2-boxInformationContent",children:[s.jsx(_,{className:n?`${n} sass-com-oc2-title`:"sass-com-oc2-title",href:t?.info?.link?.url,target:t?.info?.link?.target,children:t?.main?.title?.home}),s.jsx("p",{className:"sass-com-oc2-comment",children:Pe(t?.main?.subtitle?.striped||"")})]})]})};function Ph(e){const t=new Array(e.length),a=e.length/2;for(let n=0;n<e.length;n++)n%2===0?t[Math.floor(n/2)]=e[n]:t[a+Math.floor(n/2)]=e[n];return t}const Oh=e=>{const{isOpinion:t=!1}=e,a=o=>s.jsx("div",{className:"sass-bs-mo-boxPosition banner-context",style:{order:2},children:s.jsx("div",{className:"sass-bs-mo-bannerContentAux",children:s.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:e.banner})})},o),n=[];for(let o=0;o<e.news.length;o++){const i=e.news[o];o===2&&n.push(a(o)),i&&n.push(s.jsx("div",{className:"sass-bs-mo-boxPosition",style:{order:o},children:s.jsx(Ys,{data:i,autorIcon:e.autorIcon,paths:e.paths})},`description-block-2-odd-${o}`))}const r=n.length%2===0?Ph(n):n;return s.jsx("section",{style:e.customStyles,children:s.jsx(fe,{title:e.title,titleUrl:e.titleUrl,isOpinion:t,children:s.jsxs("div",{className:"sass-bs-mo-content",children:[s.jsx("div",{className:"sass-bs-mo-contentFlex",children:r}),s.jsx("div",{className:"sass-bs-mo-bannerContent",children:e.halfPageBanner})]})})})},Bh=e=>{const{showTitle:t=!0}=e;return s.jsxs("div",{className:"sass-bs-eb1-content",children:[t&&s.jsx("p",{className:"sass-bs-eb1-title",children:"Editorial"}),s.jsx(Ge,{...e,info:{...e.info,section:{name:"",slug:"",url:""}}})]})},Mh=e=>{const{news:t}=e,a=e.isHome??!1;return Array.isArray(t)&&s.jsxs("div",{className:"sass-bs-m2c-content",children:[s.jsxs("div",{className:"sass-bs-m2c-newsContent",children:[e.bannerArray&&e.bannerArray.map((n,r)=>s.jsx("div",{className:"sass-bs-m2c-boxPosition banner-context",style:{order:2+5*r},children:s.jsx("div",{className:"sass-bs-m2c-bannerContentAux",children:s.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:n})})},r)),t.map((n,r)=>{const o={...n,main:{...n.main,title:{...n.main.title,section:a?n.main.title.home:n.main.title.section}}};return s.jsx("div",{className:"sass-bs-m2c-boxPosition",style:{order:r},children:s.jsx(He,{...o,share:e.share,paths:e.paths})},r)})]}),s.jsx("div",{className:"sass-bs-m2c-bannerContent",children:e.halfPageBanner})]})},_h=e=>s.jsxs(s.Fragment,{children:[s.jsx(Po,{className:"display-on-lower-900px",...e,termsLink:e.termsLink,submitFunction:e.submitFunction,linkUrl:e.linkUrl}),s.jsx(Oo,{...e})]}),Ro=e=>{const{content:t}=e;if(!t||t.length===0)return;const a=i=>e.hasLines&&(i+1)%3!==0?"sass-bs-m3c-contentSeparator":"",n=[];let r=0,o=1;for(let i=0;i<t.length;i++){e.banners&&e.bannerPositionIndex?.includes(i)&&(n.push(s.jsx("section",{className:a(r),children:e.banners?.some(u=>u.key===`${e.slot_id}_${o}`)&&s.jsx(Ce,{banners:e.banners,name:`${e.slot_id}_${o}`})},r)),r++,o++);const l=e.isVideo?wt(t[i],e.showVideoTime,e.showVideosubtitle,e.showVideoAuthor):t[i];if(!l)continue;const c=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1"),d={...l,main:{...l.main,title:{...l.main.title,section:c?l.main.title.home:l.main.title.section}}};n.push(s.jsx("section",{className:a(r),children:s.jsx(He,{...d,isVideo:e.isVideo,paths:e.paths,speculationPrerenderClass:No(r,e.speculationPrerenderClass,e.speculationPrerender)})},r)),r++}return n.length===2&&n.push(s.jsx("div",{},r)),s.jsx("div",{className:`${e.hasLines?"sass-bs-m3c-newsContentWithLines":"sass-bs-m3c-newsContentWithoutLines"} sass-bs-m3c-newsContent`,children:n})};function Dh(e){const t=new Array(e.length),a=e.length/2;for(let n=0;n<e.length;n++)n%2===0?t[Math.floor(n/2)]=e[n]:t[a+Math.floor(n/2)]=e[n];return t}const qh=e=>{const t=e.isHome??!1,a=s.jsx("div",{className:"sass-bs-mbn-boxPosition banner-context",style:{order:2},children:s.jsx("div",{className:"sass-bs-mbn-bannerContentAux",children:s.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:e.banner})})},"banner-static"),n=[];for(let o=0;o<e.news.length;o++){const i=e.news[o];if(o===2&&n.push(a),i){const l={...i,main:{...i.main,title:{...i.main.title,section:t?i.main.title.home:i.main.title.section}}};n.push(s.jsx("div",{className:"sass-bs-mbn-boxPosition",style:{order:o},children:s.jsx(Ge,{...l,paths:e.paths})},`description-block-2-odd-${o}`))}}n.length%2!==0&&n.push(s.jsx("div",{style:{order:n.length}},"extra_div"+n.length));const r=Dh(n);return s.jsx(fe,{title:e.title,titleUrl:e.titleUrl,children:s.jsxs("div",{className:"sass-bs-mbn-content",children:[s.jsx("div",{className:"sass-bs-mbn-contentFlex",children:r}),s.jsx("div",{className:"sass-bs-mbn-bannerContent",children:e.halfPageBanner})]})})},ei=e=>s.jsx(fe,{title:e.title,titleUrl:e.titleUrl,children:s.jsx(Ro,{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,speculationPrerender:e.speculationPrerender,speculationPrerenderClass:e.speculationPrerenderClass})}),ti=e=>{const{content:t,title:a}=e;if(!(!t||t.length===0||!Array.isArray(t)))return s.jsx(fe,{title:a,titleUrl:e.titleUrl,children:s.jsx("div",{className:`su-grid su-justify-center sass-bd-m14-newsContent ${e.hasLines?"sass-bd-m14-contentSeparator":""}`,children:t?.map((n,r)=>{const o=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1"),i={...n,main:{...n.main,title:{...n.main.title,section:o?n.main.title.home:n.main.title.section}}};return s.jsx("section",{children:s.jsx(He,{...i,share:e.share,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})},r)})})})},si=e=>{const{content:t,title:a}=e;if(!(!t||t.length===0))return s.jsx(fe,{title:a,titleUrl:e.titleUrl,children:s.jsx("div",{className:`su-grid su-justify-center sass-bd-m15-newsContent ${e.hasLines?"sass-bd-m15-contentSeparator":"sass-bd-m15-newsContentWhitoutLine"}`,children:t.map((n,r)=>{const o=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1"),i={...n,main:{...n.main,title:{...n.main.title,section:o?n.main.title.home:n.main.title.section}}};return s.jsx("section",{children:s.jsx(He,{...i,share:e.share,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})},r)})})})},ai=e=>{const{content:t,title:a,isVideo:n=!0}=e;if(!t||t.length===0)return;const r=t[0],o=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1"),i=t.slice(1);return r&&i&&s.jsxs(fe,{title:a,titleUrl:e.titleUrl,children:[s.jsxs("div",{className:"sass-bd-dv-headerSection",children:[s.jsx(Zo,{goTo:e.goTo,mainNew:wt(r),paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass}),s.jsx(_,{className:"sass-bd-dv-headerSectionLink",href:r?.info?.link.url,target:r?.info?.link.target,"aria-label":"Video",children:s.jsx(Ee,{preview:{sizes:r?.main?.image.sizes,description:r?.main?.image.description},isVideo:n,isLarge:!0})})]}),s.jsxs("div",{className:"sass-bd-dv-newsContent",children:[s.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),Array.isArray(i)&&i.map((l,c)=>{const d=wt(l),u={...d,main:{...d.main,title:{...d.main.title,section:o?d.main.title.home:d.main.title.section}}};return s.jsx("div",{style:{order:c},children:T.createElement(He,{...u,isVideo:n,key:c,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})},c)})]})]})},Gh=async e=>{const{showNewsLikeTitle:t=!1,speculationPrerenderClass:a}=e;return e&&e.info?s.jsxs("section",{className:"sass-com-sc6-content",style:{"--heightImageOverwrite":"100%"},children:[s.jsx(_,{className:"sass-com-sc6-linkImage",target:e?.info?.link?.target,title:e.main?.title?.section,href:t?e.info.link.url:e?.info?.section?.url,children:s.jsx(Ee,{preview:e.preview})}),s.jsx("div",{className:"sass-com-sc6-textContent",children:s.jsx(Ge,{...e,paths:e.paths,speculationPrerenderClass:a})})]}):null},ni=e=>{if(!e.content||e.content.length===0)return;const t=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1");return s.jsx(fe,{title:e.title,children:s.jsx("div",{className:`su-grid sass-bd-m13c-content ${e.hasLines?"sass-bd-m13c-contentSeparator":""}`,style:{gap:e.hasLines?"30px":"0px"},children:Array.isArray(e.content)&&e.content?.map((a,n)=>{const r={...a,main:{...a.main,title:{...a.main.title,section:t?a.main.title.home:a.main.title.section}}};return s.jsx("section",{className:e.hasLines?"sass-bd-m13-hasLinesBlock":"",children:T.createElement(Gh,{...r,key:n,showNewsLikeTitle:e.showNewsLikeTitle,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})},n)})})})},ri=e=>{const{content:t,title:a,slot_id:n}=e,r=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1");return t&&t.length!==0&&s.jsx(fe,{title:a,titleUrl:e.titleUrl,children:s.jsx(et,{slot_id:n,cardWidth:e.cardWidth,cardGap:e.cardGap,visibleItems:e.visibleItems,pagination:e.pagination,children:t.map((o,i)=>{const l={...o,main:{...o.main,title:{...o.main.title,section:r?o.main.title.home:o.main.title.section}}};return s.jsx("div",{style:{"--heightImageOverwrite":e.heightImageOverwrite,"--heightImageOverwriteMobile":e.heightImageOverwriteMobile},children:s.jsx(es,{...l,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})},i)})})})},jh=async e=>{const{SUB_PUBLICATION_PREFIX_IN_ROUTES:t}=U(),{data:a,speculationPrerenderClass:n}=e,r=ht("sass-com-opt1-linkStyled",n);return s.jsxs("div",{className:"sass-com-opt1-content",children:[Array.isArray(a.authors)&&a?.authors[0]?.image?s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-opt1-imageStyled",src:await ue(a?.authors[0]?.image?.sizes[0]?.url||""),alt:a?.authors[0]?.fullname}):s.jsx("div",{className:"sass-com-opt1-contentIcon",children:e.autorIcon}),s.jsxs("div",{className:"sass-com-opt1-boxInformation",children:[s.jsx("p",{className:"sass-com-opt1-authorName",children:a?.authors[0]?.internaluser?s.jsx(_,{block_subPublication:t?.autor,href:a.authors[0]?.internaluser?`/${e.paths.autor}/${a?.authors[0]?.name}`:"#",children:a?.authors[0]?.fullname??"Redacción"}):a?.authors[0]?.fullname??"Redacción"}),s.jsx("p",{className:"sass-com-opt1-title",children:s.jsx(_,{className:r,href:a?.info?.link?.url,target:a?.info?.link?.target,children:Pe(a?.main?.title?.home,40)})}),s.jsx("p",{className:"sass-com-opt1-comment",children:a?.main?.subtitle?.striped}),s.jsx("p",{className:"sass-com-opt1-dateText",children:we(a.info.date.modified).locale("es").format("DD [De] MMMM")})]})]})},oi=e=>{const t=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1");return s.jsx(fe,{titleUrl:e.titleUrl,title:e.title,children:s.jsx(et,{slot_id:e.slot_id,cardGap:31,cardWidth:344,visibleItems:3,children:e.content&&e.content.map((a,n)=>{const r={...a,main:{...a.main,title:{...a.main.title,section:t?a.main.title.home:a.main.title.section}}};return s.jsx(jh,{autorIcon:e.autorIcon,data:r,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass},n)})})})},Ya=e=>{const{item:t,option:a}=e;switch(a){case"ediciones":return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent"});case"columnistasnacionales":return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Ys,{data:t,autorIcon:e.autorIcon,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})});case"columnistaslocales":return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Ys,{data:t,autorIcon:e.autorIcon,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})});case"columnistas":return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Ys,{data:t,autorIcon:e.autorIcon,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})});default:return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(He,{...t,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})})}},Fh=e=>{const{data:t,currentPage:a,banners:n,slug:r,ranking:o,pathname:i,texts:l={},custom_bannerPosition:c}=e,d=c||{3:1,8:2,13:3},u=d?Object.keys(d).map(f=>parseInt(f)):[];switch(e.option){case"op1":return s.jsx(Ho,{ranking:o,readestTitle:l.readestTitle??"",videosSectionLabel:l.videosSectionTitle,paths:e.paths,readestCustomStyles:e.readestCustomStyles,bannerTop:s.jsx(Ce,{banners:n??[],name:"right_1"}),banner:s.jsx(Ce,{banners:n??[],name:"right_2"}),children:s.jsx("section",{className:"sass-pg-sec-content",children:t.length>0?s.jsx($a,{className:["sass-pg-sec-newsContentSection","padding-0"].join(" "),paginatorComponent:s.jsx(za,{texts:l,pathname:i,query:"",currentPage:a,maxPages:e.PAGINATION_MAX_PAGES,showNext:!(t.length<e.NEWS_PER_SECTION)}),children:Array.isArray(t)&&t?.map((f,h)=>s.jsxs(T.Fragment,{children:[u.includes(h+1)&&s.jsx("div",{className:"sass-pg-sec-itemContent banner-context",children:s.jsx(Ce,{banners:n??[],name:`block_2_${d[h+1]}`})}),s.jsx(Ya,{autorIcon:e.autorIcon,item:f,option:r,paths:e.paths,speculationPrerenderClass:e.speculationPrerender?.length&&h<e.speculationPrerender.length?e.speculationPrerender.class:void 0},h)]},h))}):s.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:s.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:l.sectionNotResultMessage})})})});case"op2":return s.jsx(s.Fragment,{children:t.length>0?s.jsx($a,{className:"padding-0",paginatorComponent:s.jsx(za,{texts:l,pathname:i,query:"",currentPage:a,maxPages:e.PAGINATION_MAX_PAGES,showNext:!(t.length<e.NEWS_PER_SECTION)}),children:Array.isArray(t)&&t?.map((f,h)=>s.jsxs(T.Fragment,{children:[u.includes(h+1)&&s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Ce,{banners:n??[],name:`block_2_${d[h+1]}`})}),s.jsx(Ya,{autorIcon:e.autorIcon,item:f,option:r,paths:e.paths,speculationPrerenderClass:e.speculationPrerender?.length&&h<e.speculationPrerender.length?e.speculationPrerender.class:void 0},h)]},h))}):s.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:s.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:l.sectionNotResultMessage})})});default:return s.jsx(s.Fragment,{})}},Hh=e=>{const{data:t}=e;return s.jsx("section",{className:"sass-pg-cont-content",children:t.map((a,n)=>s.jsx("div",{className:"sass-pg-cont-contactInfoContent",dangerouslySetInnerHTML:{__html:a.body.rendered}},n))})},Vh=e=>s.jsxs("section",{className:"sass-com-lnoc-container",children:[s.jsx("div",{className:"sass-com-lnoc-note",children:e.children}),s.jsx("div",{className:"sass-com-lnoc-commercial",children:s.jsxs("div",{className:"sass-com-lnoc-commercialContent",children:[e.slug==="liveblogs"&&s.jsx(jo,{itemList:e.itemList}),e.bannerTop,s.jsx(Gs,{content:e.ranking,title:String(e.texts.readestTitle??""),videosSectionLabel:e.texts.videosSectionTitle,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.readestCustomStyles}}),s.jsx("div",{style:{position:"sticky",top:"110px"},children:e.banner})]})}),s.jsx("div",{className:"sass-com-lnoc-complement",children:e.complement})]}),ii=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const n=e?.preview?.sizes?.[0]?.scale??void 0,o=(await a.getNewsMultimedia({path:t,imagesizes:n}))?.data?.data;if(!Array.isArray(o)||o.length===0)return null;const i=o[0],c=(Array.isArray(i?.videos)?i.videos:[]).find(d=>d?.type==="video-embedded");return c?.code?s.jsxs("div",{className:"sass-pg-veh-content",children:[s.jsx("div",{dangerouslySetInnerHTML:{__html:typeof c.code=="string"?c.code:""}}),c?.title&&s.jsx("p",{className:"sass-pg-veh-title",children:c.title})]}):null}catch{return null}},li=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const n=e?.preview?.sizes?.[0]?.scale??void 0,o=(await a.getNewsMultimedia({path:t,imagesizes:n}))?.data?.data;if(!Array.isArray(o)||o.length===0)return null;const i=o[0],c=(Array.isArray(i?.videos)?i.videos:[]).find(d=>d?.type==="video-youtube");return!c?.code||typeof c.code!="string"?null:s.jsxs("div",{className:"sass-pg-vyh-content",children:[s.jsx("iframe",{className:"sass-pg-vyh-iframeStyled",src:`https://www.youtube.com/embed/${c.code}`,frameBorder:"0",allowFullScreen:!0}),c?.title&&s.jsx("p",{className:"sass-pg-vyh-title",children:c.title})]})}catch{return null}},ci=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const n=e?.preview?.sizes?.[0]?.scale??void 0,o=(await a.getNews({path:t,imagesizes:n}))?.data?.data;if(!Array.isArray(o)||o.length===0)return null;const l=o[0]?.external?.iframe;return typeof l!="string"||l.trim()===""?null:s.jsx("div",{className:"sass-pg-ifh-content",dangerouslySetInnerHTML:{__html:l}})}catch{return null}},bt={videoEmbedded:"videoEmbedded",videoYouTube:"videoYouTube",iframe:"iframe",fotoGaleria:"fotogaleria"},zh={[bt.videoEmbedded]:ii,[bt.videoYouTube]:li,[bt.iframe]:ci},$h=({news:e,commonServices:t})=>{const{config:a,info:n}=e;a||Me("ArticulePreview","config");const r=a?.articlepreview,o=n?.link?.internal,i=r?zh[r]:null;return i?s.jsx("div",{className:"sass-pg-nap-content",children:s.jsx(i,{newsformated:e,internal:o,commonServices:t})}):null},di=e=>{const t=e.option==="liveblogs",a=e.subtitleBeforeImage?"sass-pg-news-headerSection--subtitleBeforeImage":"",n=()=>{if(!e.news[0]?.main?.title)return Me("HeaderSectionComponent","news[0].main.title"),null;const r={...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 s.jsx("header",{className:a||void 0,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":"auto","--news-description-title-line-clamp":"none",...e.headerSectionStyles?.liveblogs},children:s.jsx(Go,{...r,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px"})});default:return s.jsx("header",{className:["sass-pg-news-contentHeader",a].filter(Boolean).join(" "),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","--news-description-title-line-clamp":"none",...e.headerSectionStyles?.common},children:s.jsx(Ge,{...r,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px",cutSubtitle:!0,colorSubTitle:"black",isTitle:!0,paths:e.paths,newsDescriptionSectionTag:e.newsDescriptionSectionTag})})}};return s.jsxs(s.Fragment,{children:[s.jsx(n,{}),s.jsx(ut,{banners:e.banners,index:1,scope:e.scope}),!t&&e.commonServices&&s.jsx($h,{news:e.news[0],commonServices:e.commonServices})]})},Qh=e=>s.jsx("section",{className:"su-w-full sass-com-ccard-content",id:e.id,children:e.children}),Wh=async(e,t,a)=>{if(!a)return e;const n=/(<div[^>]*class=["'][^"']*ck-related-news[^"']*["'][^>]*>[\s\S]*?<span\b[^>]*data-src="([^"]+)"[^>]*>[\s\S]*?<\/span>[\s\S]*?<\/div>\s*<\/div>)/g,r=[...e.matchAll(n)];let o=e;for(const i of r){const l=i[1],c=i[2]??"";let d;if(a.forEach(y=>{Array.isArray(y)&&!d&&(d=y.find(N=>c.replaceAll("/","|").includes(N?.info.link.internal||"")))}),!d){const y=l.replace(/class=["']([^"']*ck-related-news[^"']*)["']/,'class="$1-empty"');o=o.replace(l,y);continue}const u=d.preview?.sizes?.[0],f=u?await ue(u.url):"",h=d.info.section?.url??"#",p=d.info.section?.name??"Sección",m=d.info.link?.url??"#",g=d.main?.title.article??"Título",b=(await Promise.all(d.preview?.sizes?.map(async y=>{const N=await ue(y.url);return y.width<200?`<source srcset="${N}" media="(width < 750px)"/>`:`<source srcset="${N}" media="(width >= 750px)"/>`})||[])).reduce((y,N)=>y+=N,""),w=l.match(/<span\b[^>]*data-src="[^"]+"[^>]*>[\s\S]*?<\/span>/),A=w?w[0]:"",v=`
|
|
430
|
+
h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`})})},oh={tiktok:{hosts:["tiktok.com","vm.tiktok.com"],fromHandle:e=>`https://www.tiktok.com/@${e}`},youtube:{hosts:["youtube.com","youtu.be"],fromHandle:e=>/^UC[A-Za-z0-9_-]{22}$/.test(e)?`https://www.youtube.com/channel/${e}`:`https://www.youtube.com/@${e}`},pinterest:{hosts:["pinterest.com","pin.it","pinterest.es","pinterest.com.mx"],fromHandle:e=>`https://www.pinterest.com/${e}`}},ih=new Set(["","-","--",".","#","n/a","na","no","null","undefined","false","none","ninguno","ninguna","sin dato","sin datos"]),lh=/^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/,ch=e=>e.replace(/^[\s"'<(\[]+/,"").replace(/[\s"'>)\].,;:]+$/,""),dh=(e,t)=>/^https?:\/\//i.test(e)||/^www\./i.test(e)?!0:t.some(a=>e.toLowerCase().startsWith(`${a}/`)),uh=e=>{const t=/^https?:\/\//i.test(e)?e:`https://${e}`;let a;try{a=new URL(t)}catch{return null}return!a.hostname.includes(".")||/\s/.test(a.hostname)?null:a.toString()},Ve=(e,t)=>{const a=oh[e];if(!a||typeof t!="string")return"";const n=ch(t.trim());if(ih.has(n.toLowerCase()))return"";if(dh(n,a.hosts))return uh(n)??"";const r=n.replace(/^[@/]+/,"").replace(/\/+$/,"");return lh.test(r)?a.fromHandle(r):""},$s=e=>{if(!e||e.trim()==="")return e;const t=e.trim();return t.startsWith("http://")||t.startsWith("https://")?t:`https://${t}`},hh=e=>!e||e.trim()===""?!1:/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()),gt=(e,t,a)=>s.jsx("img",{className:a,src:ne(`/autor-${e}.svg`),alt:t,fetchPriority:"low",loading:"lazy"}),fh=async e=>{const{autor:t,autorIcon:a,socialIconsFilled:n=!1,socialIconsCustom:r=!1}=e,o=a,{PUBLIC_LNG:i}=U(),l=i==="en",c=t?.addtional,d=t?.info?.image?.sizes?.[0]?.url??"",u=t?.info?.fullname??"",f=t?.info?.email??"",h=l?c?.USER_DESCRIPCION_EN||c?.USER_MIBIO_EN||"":c?.USER_DESCRIPCION||c?.USER_MIBIO||"",p=$s(t?.addtional?.USER_USERFB??""),m=$s(t?.addtional?.USER_USERIG??""),g=$s(t?.addtional?.USER_USERTWT??""),b=$s(t?.addtional?.USER_USERLIN??""),w=Ve("tiktok",c?.USER_PAGE_TIKTOK),A=Ve("youtube",c?.USER_PAGE_YOUTUBE),v=Ve("pinterest",c?.USER_PAGE_PINTEREST),S=()=>!f||f.trim()===""?!1:hh(f),y=N=>`mailto:${N.trim()}`;return s.jsx("section",{className:`sass-com-ah1-content su-flex-center su-relative su-w-full ${e.className??""}`,children:s.jsxs("div",{className:"sass-com-ah1-info",children:[d?s.jsx("div",{className:"sass-com-ah1-image-container sass-image-autor-wrapper",children:s.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"Imagen de perfil de "+u,className:"sass-com-ah1-image su-object-cover",src:await ue(d)})}):s.jsx("div",{className:"sass-com-ah1-icon-wrap sass-image-autor-wrapper su-flex-center",children:s.jsx(o,{})}),s.jsx("h1",{className:"sass-com-ah1-name",children:u}),S()&&s.jsx("a",{href:y(f),className:"sass-com-ah1-email","aria-label":`Enviar correo electrónico a ${f}`,title:`Enviar correo a ${f}`,children:f}),s.jsx("p",{className:"sass-com-ah1-description",children:h}),s.jsxs("div",{className:"sass-com-ah1-social",children:[p&&s.jsx("a",{href:p,target:"_blank",className:`sass-com-ah1-social-link ${n?"sass-com-ah1-social-filled":"sass-com-ah1-social-stroke"}`,rel:"noreferrer",children:r?gt(n?"facebook-black":"facebook","Facebook","sass-com-ah1-social-icon sass-social-icon-facebook"):n?s.jsx(Rt,{className:"sass-com-ah1-social-icon sass-social-icon-facebook",forceSVG:!0}):s.jsx(js,{className:"sass-com-ah1-facebook-icon sass-com-ah1-social-icon-facebook",forceSVG:!0})}),m&&s.jsx("a",{href:m,target:"_blank",className:"sass-com-ah1-social-link",rel:"noreferrer",children:r?gt("instagram","Instagram","sass-com-ah1-social-icon sass-com-ah1-social-icon-instagram"):s.jsx(Fs,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-instagram",forceSVG:!0})}),g&&s.jsx("a",{href:g,target:"_blank",className:"sass-com-ah1-social-link",rel:"noreferrer",children:r?gt("x","X","sass-com-ah1-social-icon sass-com-ah1-social-icon-x"):s.jsx(Fe,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-x",forceSVG:!0})}),b&&s.jsx("a",{href:b,target:"_blank",className:`sass-com-ah1-social-link ${n?"sass-com-ah1-social-filled":"sass-com-ah1-social-stroke"}`,rel:"noreferrer",children:r?gt(n?"linkedin-black":"linkedin","LinkedIn","sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin"):n?s.jsx(Fo,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin",forceSVG:!0}):s.jsx(je,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin",forceSVG:!0})}),w&&s.jsx("a",{href:w,target:"_blank","aria-label":"TikTok",className:"sass-com-ah1-social-link",rel:"noreferrer",children:r?gt("tiktok","TikTok","sass-com-ah1-social-icon sass-com-ah1-social-icon-tiktok"):s.jsx(Vs,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-tiktok",forceSVG:!0,width:28,height:28})}),A&&s.jsx("a",{href:A,target:"_blank","aria-label":"YouTube",className:"sass-com-ah1-social-link",rel:"noreferrer",children:r?gt("youtube","YouTube","sass-com-ah1-social-icon sass-com-ah1-social-icon-youtube"):s.jsx(zs,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-youtube",forceSVG:!0,width:28,height:28})}),v&&s.jsx("a",{href:v,target:"_blank","aria-label":"Pinterest",className:"sass-com-ah1-social-link",rel:"noreferrer",children:r?gt("pinterest","Pinterest","sass-com-ah1-social-icon sass-com-ah1-social-icon-pinterest"):s.jsx(Hs,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-pinterest",forceSVG:!0,width:28,height:28})})]})]})})},mh=async e=>{const{autor:t,autorIcon:a,socialIconsFilled:n=!1}=e,r=a,{PUBLIC_LNG:o}=U(),i=o==="en",l=t?.addtional,c=t?.info?.image?.sizes?.[0]?.url??"",d=t?.info?.fullname??"",u=t?.info?.email??"",f=l?.USER_SHOWEMAIL===!0||l?.USER_MOSTRAR_MAIL?.toUpperCase()==="TRUE",h=l?.USER_SHOWBIO??!1,p=i?l?.USER_DESCRIPCION_EN||l?.USER_MIBIO_EN||"":l?.USER_DESCRIPCION||l?.USER_MIBIO||"",m=t?.addtional?.USER_USERFB??"",g=t?.addtional?.USER_USERIG??"",b=t?.addtional?.USER_USERTWT??"",w=t?.addtional?.USER_USERLIN??"",A=Ve("tiktok",l?.USER_PAGE_TIKTOK),v=Ve("youtube",l?.USER_PAGE_YOUTUBE),S=Ve("pinterest",l?.USER_PAGE_PINTEREST);return s.jsx("section",{className:"sass-com-ah2-content su-flex su-w-full su-items-center su-justify-end",children:s.jsxs("div",{className:"sass-com-ah2-contentInfo su-stack-center su-relative su-w-full su-gap-2 su-p-4",children:[c?s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-ah2-imageStyled su-object-cover",src:await ue(c)}):s.jsx("div",{className:"sass-com-ah2-contentIconStyled su-flex-center",children:s.jsx(r,{})}),s.jsxs("div",{className:"sass-com-ah2-contentAuthor su-stack-center su-md:items-start",children:[s.jsx("h1",{className:"sass-com-ah2-name",children:d}),f&&s.jsx("p",{className:"sass-com-ah2-email",children:u}),h&&s.jsx("p",{className:"sass-com-ah2-description",children:p}),s.jsxs("div",{className:"sass-com-ah2-contenSocialNetwork su-flex su-items-center su-gap-4 su-justify-start",children:[m&&s.jsx("a",{href:m,target:"_blank",className:n?"sass-com-ah2-socialIconFilled":"sass-com-ah2-socialIconStroke",rel:"noreferrer",children:n?s.jsx(Rt,{className:"sass-com-ah2-blackIconFaceBook sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook",forceSVG:!0}):s.jsx(js,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook",forceSVG:!0})}),g&&s.jsx("a",{href:g,target:"_blank",rel:"noreferrer",children:s.jsx(Fs,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-instagram",forceSVG:!0})}),b&&s.jsx("a",{href:b,target:"_blank",rel:"noreferrer",children:s.jsx(Fe,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-x",forceSVG:!0})}),w&&s.jsx("a",{href:w,target:"_blank",className:n?"sass-com-ah2-socialIconFilled":"sass-com-ah2-socialIconStroke",rel:"noreferrer",children:n?s.jsx(Fo,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin",forceSVG:!0}):s.jsx(je,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin",forceSVG:!0})}),A&&s.jsx("a",{href:A,target:"_blank","aria-label":"TikTok",rel:"noreferrer",children:s.jsx(Vs,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-tiktok",forceSVG:!0})}),v&&s.jsx("a",{href:v,target:"_blank","aria-label":"YouTube",rel:"noreferrer",children:s.jsx(zs,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-youtube",forceSVG:!0})}),S&&s.jsx("a",{href:S,target:"_blank","aria-label":"Pinterest",rel:"noreferrer",children:s.jsx(Hs,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-pinterest",forceSVG:!0})})]})]})]})})},Ho=e=>s.jsxs("section",{className:"sass-com-lnc-content",children:[e.children,s.jsxs("div",{className:"sass-com-lnc-bannerSection",style:e.readestCustomStyles,children:[e.bannerTop,s.jsx(Gs,{content:e.ranking,title:e.readestTitle,videosSectionLabel:e.videosSectionLabel,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]})]}),ph=async e=>{const t=qa(),a={...e,main:{...e.main,title:{...e.main.title,article:Pe(e.main.title.article,60)}}};return e&&e.info?s.jsxs("section",{className:"sass-com-sc7-content",children:[s.jsx("a",{className:"sass-com-sc7-linkImage",target:e?.info?.link?.target,title:e?.main?.title?.section,href:e.info.link.url,children:s.jsxs("div",{style:{position:"relative"},children:[s.jsx("img",{src:await ue(e.preview.sizes[0]?.url||"")}),s.jsx(t,{className:"sass-com-sc7-playStyled saas-image-play-icon"})]})}),s.jsx("div",{className:"sass-com-sc7-newsDescription",children:s.jsx(Ge,{...a,paths:e.paths})})]}):null},gh=e=>{let t=[];return e.videoList&&e.videoList.length>0&&(t=e.videoList?.filter(a=>a.info.path!==e.video.info.path)??[]),s.jsx("div",{className:"sass-com-bv4-content",children:s.jsxs(Ls,{className:"sass-com-bv4-contentLayoutVideoSection",children:[s.jsxs("a",{className:"sass-com-bv4-header",href:e.goBackLink??"/videos",children:[s.jsx("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.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:"currentColor"})}),e.titleGoBack??"VOLVER A VIDEOS"]}),s.jsxs("div",{className:"sass-com-bv4-videos",children:[s.jsxs("div",{className:"sass-com-bv4-videoContent",style:e.mainVideoStyles,children:[e.type==="vy"&&s.jsx("iframe",{className:"sass-com-bv4-iframeStyled",src:`https://www.youtube.com/embed/${e.video?.main?.code}`,frameBorder:"0",allowFullScreen:!0}),e.type==="vf"&&s.jsx("iframe",{className:"sass-com-bv4-iframeStyled",src:e.video?.main?.code,frameBorder:"0",allowFullScreen:!0,allow:"autoplay; fullscreen",sandbox:"allow-scripts allow-same-origin allow-presentation allow-popups"}),e.type==="ve"&&s.jsx("div",{className:"sass-com-bv4-contentFrame",dangerouslySetInnerHTML:{__html:e.video?.main?.code??""}}),s.jsx("div",{className:"sass-com-bv4-articleSection",children:s.jsx(Ge,{isTitle:!0,cutSubtitle:!1,...wt({...e?.video,info:{...e?.video?.info,link:{...e.video?.info?.link,url:""}}},!0,!!e.video?.main?.description,!0),paths:e.paths})})]}),s.jsxs("div",{className:"sass-com-bv4-sectionVideoList",style:e.listVideoStyles,children:[e.banner&&s.jsx(Ce,{banners:e.banner.banners,name:e.banner.bannerName}),e.relatedName&&s.jsx("h2",{className:"sass-com-bv4-relatedTitle saas-video-related-title",children:e.relatedName}),Array.isArray(t)&&t.map((a,n)=>T.createElement(ph,{...wt(a,!0,!1,!1),key:n,paths:e.paths}))]})]})]})})},fe=T.forwardRef((e,t)=>{const{isTitle:a=!1,isOpinion:n=!1,noHeading:r=!1}=e,o=r?s.jsx("div",{className:"sass-com-sec-title",children:e.title}):a?s.jsx("h1",{className:"sass-com-sec-title",children:e.title}):s.jsx("h2",{className:"sass-com-sec-title",children:e.title});return s.jsxs("section",{className:"sass-com-sec-content",children:[e.title&&s.jsxs("div",{className:["sass-com-sec-titleContent",e.className??""].join(" "),"data-after":`${n}`,children:[s.jsx("hr",{className:"sass-com-sec-startLine"}),e.titleUrl?s.jsx(_,{href:e.titleUrl,children:o}):o,s.jsx("hr",{className:"sass-com-sec-line"}),e.titleUrl&&s.jsx(_,{className:"sass-com-sec-readMore",href:e.titleUrl?.toString()??""})]}),e.title&&s.jsx("hr",{className:["sass-com-sec-bottomLine",e.className??""].join(" ")}),s.jsx("div",{className:"sass-com-sec-childrenContent",ref:t,children:e.children})]})}),Qa=e=>s.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"var(--header-icons)",xmlns:"http://www.w3.org/2000/svg",...e,children:s.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"})}),Qs=e=>s.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:s.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:"currentColor"})}),bh=()=>s.jsx("div",{className:"sass-com-sb-buttonContent",children:s.jsx("label",{className:"sass-com-sb-buttonStyled",htmlFor:"side-bar-state",children:s.jsx(mt,{className:"sass-com-sb-icon"})})}),wh=({action:e,placeholder:t,ariaLabel:a})=>s.jsx("div",{className:"sass-com-sb-inputContent",children:s.jsxs("form",{className:"sass-com-sb-inputStyled",action:e,method:"GET",children:[s.jsx("input",{className:"sass-com-sb-buscar",type:"text",name:"query",placeholder:t}),s.jsx("button",{type:"submit","aria-label":a,className:"sass-com-sb-searchSubmit",children:s.jsx(Qa,{color:"var(--search-input-icons)"})})]})}),Ah=({item:e,index:t})=>{const a=`accordion_${t}`,n=Array.isArray(e.subitem);return s.jsxs("div",{className:"sass-com-sb-accordionStyled",children:[s.jsx("input",{type:"checkbox",id:a,style:{display:"none"}}),s.jsx("span",{className:"sass-com-sb-accordionHeading",children:n?s.jsxs("div",{className:"sass-com-sb-accordionSummeryStyled",children:[e.link?s.jsx(_,{block_subPublication:!0,className:"sass-com-sb-linkStyled",href:e.link,target:e.target,children:e.description}):s.jsx("div",{className:"sass-com-sb-accordionTitle",children:e.description}),s.jsx("label",{className:"sass-com-sb-accordionToggle",htmlFor:a,"aria-label":`Expandir ${e.description}`,children:s.jsx(Qs,{className:"sass-com-sb-accordionChevron",width:13,height:13})})]}):s.jsx(_,{block_subPublication:!0,className:"sass-com-sb-linkStyled",href:e.link??void 0,target:e.target,children:e.description})}),n&&s.jsx("div",{className:"sass-com-sb-accordionDetailsStyled",style:{"--max-height":`${e.subitem.length*45}px`},children:e.subitem.map((r,o)=>s.jsx(_,{block_subPublication:!0,className:"sass-com-sb-subLinkStyled",href:r.link??void 0,target:r.target,children:r.description},o))})]})},yh=({socials:e,copyright:t})=>s.jsxs("div",{className:"sass-com-sb-footerSlider",children:[s.jsx("div",{className:"sass-com-sb-socialMedia",children:Object.keys(e).map(a=>e[a]?.show&&pt[a]?s.jsx("a",{href:e[a].url,target:"_blank",rel:"noreferrer","aria-label":`${e[a].title} link`,className:"sass-com-sb-linkSocialNetwork",children:pt[a]({className:`sass-com-sb-icon ${`sass-com-sb-icon-${a}`}`})},a):null)}),t&&s.jsx("p",{className:"sass-com-sb-copyRights",children:t})]}),Ch=({sidebar:e,socials:t,copyrigth:a,sidebarExtra:n,searchKeyWord:r,searchLink:o,custom_styles:i={}})=>{const{SUB_PUBLICATION_PREFIX_IN_ROUTES:l,CONFIG_buscar_html:c}=U(),d=l?.buscar?de():"",u=c?".html":"";return s.jsxs("aside",{className:"sass-com-sb-drawerStyled",id:"sidebar-expandable",style:i,children:[s.jsx("input",{type:"checkbox",id:"side-bar-state"}),s.jsxs("section",{className:"sass-com-sb-sidebarCustom",children:[s.jsx(bh,{}),s.jsx(wh,{action:`${d}${o||"/buscar"}${u}`,placeholder:`${r}...`,ariaLabel:r}),s.jsxs("div",{className:"sass-com-sb-mainContent",children:[s.jsxs("div",{children:[n,e.map((f,h)=>s.jsx(Ah,{item:f,index:h},h))]}),s.jsx(yh,{socials:t,copyright:a})]})]})]})},Vo=e=>s.jsx("svg",{width:"27",height:"18",viewBox:"0 0 27 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:s.jsx("path",{d:"M1.5 18H25.5C26.325 18 27 17.325 27 16.5C27 15.675 26.325 15 25.5 15H1.5C0.675 15 0 15.675 0 16.5C0 17.325 0.675 18 1.5 18ZM1.5 10.5H25.5C26.325 10.5 27 9.825 27 9C27 8.175 26.325 7.5 25.5 7.5H1.5C0.675 7.5 0 8.175 0 9C0 9.825 0.675 10.5 1.5 10.5ZM0 1.5C0 2.325 0.675 3 1.5 3H25.5C26.325 3 27 2.325 27 1.5C27 0.675 26.325 0 25.5 0H1.5C0.675 0 0 0.675 0 1.5Z",fill:e.color})}),zo=e=>{const{alertZone:t,id:a="close-alert"}=e,n=()=>s.jsx(_,{className:"sass-com-hlm-headLine",href:t?.data[0]?.info.link.url,target:t?.data[0]?.info.link.target,title:t?.data[0]?.main.title.home,children:t?.data[0]?.main?.title.home??""});return s.jsxs(s.Fragment,{children:[s.jsx("input",{type:"checkbox",id:a,style:{display:"none"},defaultChecked:!(t&&t?.data&&t?.data[0]?.main?.title.home)}),t&&t?.data&&t?.data[0]?.main?.title.home&&s.jsxs("div",{id:"alert-chip",className:"sass-com-hlm-content",style:e.forceShow?{display:"flex",position:"sticky",top:100}:{},children:[s.jsxs("div",{className:"sass-com-hlm-live",children:[s.jsx("div",{className:"sass-com-hlm-chipStyled",children:t?.entity?.description}),e.forceShow&&s.jsx(n,{}),s.jsx("label",{htmlFor:a,children:s.jsx(mt,{className:"sass-com-hlm-closeLiveStyled"})})]}),s.jsx(n,{})]})]})},$o=e=>{const{cintillo:t,tapeTitle:a,socials:n}=e,r="",o=t?.findIndex(i=>i.link===r)??0;return(Array.isArray(t)||e.socialIcons)&&s.jsxs("section",{className:"sass-com-htape-content",children:[Array.isArray(t)&&s.jsxs("div",{className:"sass-com-htape-tabs header-page-tape-content",children:[a!==""&&s.jsx("p",{className:"sass-com-htape-title",children:`${a}`}),t&&t[o]&&s.jsx(_,{block_subPublication:!0,className:"sass-com-htape-linkStyled",target:t[o]?.target,href:t[o]?.link,style:{color:t[o]?.link===r?"var(--header-tape-active-link)":"var(--header-tape-icons)",fontWeight:t[o]?.link===r?"700":"400"},children:t[o]?.description},o),t&&t.map((i,l)=>{if(l!==o)return s.jsx(_,{block_subPublication:!0,className:"sass-com-htape-linkStyled",href:i?.link,style:{color:i?.link===r?"var(--header-tape-active-link)":"var(--header-tape-color)",fontWeight:i?.link===r?"700":"400"},children:i?.description},l)})]}),s.jsx("div",{className:"sass-com-htape-socialNetwork",children:Object.keys(n).map(i=>!i||!n[i]||!pt[i]?null:n[i]?.show&&s.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":n[i].title+" link",className:"sass-com-htape-linkSocialNetwork",href:n[i].url,children:pt[i]({className:["sass-com-htape-icon",`sass-com-htape-${String(i)}`].join(" ")})},i))})]})},vh=e=>{const{alertZone:t,custom_styles:a={}}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:n}=U();return s.jsxs("header",{className:"sass-com-h1sk-headerStyled",style:a,id:"saas-header-sticky",children:[e.socialIcons&&e.headerTape?.sticky&&s.jsx($o,{socialIcons:e.socialIcons,cintillo:e.cintillo,tapeTitle:e.tapeTitle,socials:e.socials}),s.jsxs("div",{className:`${t&&t?.data&&!e.showAlertPop?"sass-com-h1sk-headerContentAlert":"sass-com-h1sk-headerContent"} center-mobile-header-icon`,children:[s.jsx(Fa,{id:"button-app",className:"sass-com-h1sk-menuButton",toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:s.jsx(Vo,{className:"sass-com-h1sk-startIcon",color:"var(--header-menu-icon-color, var(--header-icons))",width:27,height:27})}),s.jsxs("div",{className:"sass-com-h1sk-iconContent",children:[s.jsx(_,{href:"/","aria-label":"Home",className:"icon header-logo-link-sticky",style:{display:"flex"},children:T.createElement("span",{className:"sass-com-h1sk-logoStyled"},e.icon)}),e.mobileIcon?s.jsx(_,{href:"/","aria-label":"Home",className:"icon header-logo-link-sticky header-mobile-icon",style:{display:"flex"},children:T.createElement("span",{className:"sass-com-h1sk-logoStyled"},e.mobileIcon())}):null]}),!e.showAlertPop&&t?.data&&s.jsxs("div",{className:"sass-com-h1sk-headLineContent",children:[s.jsx("div",{className:"sass-com-h1sk-headLineTitle headLineTitle",children:t.entity.description?`${t.entity.description}`:""}),s.jsx(_,{className:"sass-com-h1sk-headLine",href:t.data[0]?.info.link.url,target:t.data[0]?.info.link.target,title:t.data[0]?.main.title.home,children:Pe(t.data[0]?.main.title.home??"",120)})]}),s.jsxs("div",{style:e.showAlertPop?{marginLeft:"auto"}:{},className:["sass-com-h1sk-buttonSection",t?.data?"sass-com-h1sk-hasAlertZone":"","search-button"].join(" "),children:[s.jsx(_,{block_subPublication:n?.buscar,href:e.searchLink?e.searchLink:"/buscar","aria-label":e.searchKeyWord,className:"sass-com-h1sk-buttonSectionSearch search-button-icon",style:{display:"flex"},children:s.jsx(Qa,{width:28,height:28,color:"currentColor"})}),e.rightZone]})]}),e.customComponent&&e.customComponent,!e.showAlertPop&&s.jsx(zo,{alertZone:t,forceShow:e.showAlertPop})]})},Sh=e=>{const{items:t}=e;return s.jsx("ul",{className:"sass-com-mopt-ul",children:t.map((a,n)=>s.jsxs("li",{className:"sass-com-mopt-liBefore sass-com-mopt-li",children:[a.link?s.jsxs(_,{block_subPublication:!0,"aria-label":a.description,className:"sass-com-mopt-linkStyled",href:a.link?a.link:void 0,target:a.target,children:[a.description,Array.isArray(a.subitem)&&s.jsx(Qs,{})]}):s.jsxs("span",{"aria-label":a.description,className:"sass-com-mopt-linkStyled",children:[a.description,Array.isArray(a.subitem)&&s.jsx(Qs,{})]}),Array.isArray(a.subitem)&&s.jsx("ul",{className:"sass-com-mopt-ulContent",children:s.jsx("div",{className:"sass-com-mopt-contentModal",children:a.subitem.map((r,o)=>s.jsx("li",{className:"sass-com-mopt-li",children:s.jsx(_,{block_subPublication:!0,className:"sass-com-mopt-itemLink","aria-label":r.description,href:r.link?r.link:void 0,target:r.target,children:r.description})},o))})})]},n))})},Nh=e=>{const{menu:t,alertZone:a,custom_styles:n={},prerender_classes:r}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:o}=U();return s.jsxs("header",{className:"sass-com-h1st-headerStyled",id:"saas-header-static",style:{...n,top:e.cintillo||e.socialIcons&&!e.headerTape?.static?40:0},children:[e.socialIcons&&e.headerTape?.static&&s.jsx($o,{socialIcons:e.socialIcons,cintillo:e.cintillo,tapeTitle:e.tapeTitle,socials:e.socials}),s.jsxs("div",{style:e.showAlertPop?{gap:0}:{},className:["sass-com-h1st-headerContent",a?.data?"sass-com-h1st-hasAlertZone":""].join(" "),children:[s.jsx("div",{className:"sass-com-h1st-menuButtonSection sass-header-menu-button",children:s.jsxs(Fa,{className:"sass-com-h1st-menuButton",id:"button-app",toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:[s.jsx(Vo,{color:"var(--header-menu-icon-color, var(--header-icons))",width:27,height:27}),s.jsx("p",{className:"sass-com-h1st-buttonText",style:{lineHeight:0},children:e.menuText})]})}),s.jsx("div",{className:"sass-com-h1st-logoContent",children:s.jsx(_,{href:"/","aria-label":"Home",className:"header-logo-link",children:T.createElement("span",{className:"sass-com-h1st-logoStyled"},e.icon)})}),s.jsxs("div",{className:"sass-com-h1st-buttonSection sass-header-right-button-section",children:[s.jsx(_,{block_subPublication:o?.buscar,href:e.searchLink?e.searchLink:"/buscar",className:"sass-com-h1st-buttonSectionSearch","aria-label":e.searchKeyWord,style:{display:"flex"},children:s.jsx(Qa,{width:28,height:28,color:"currentColor"})}),e.rightZone]}),!e.showAlertPop&&a?.data?s.jsxs("div",{className:"sass-com-h1st-headLineContent",children:[s.jsx("p",{className:"sass-com-h1st-headLineTitle headLineTitle",children:a.entity.description?`${a.entity.description}`:""}),s.jsx(_,{className:`sass-com-h1st-headLine ${r?.alert}`,href:a.data[0]?.info.link.url,target:a.data[0]?.info.link.target,title:a.data[0]?.main.title.home,children:Pe(a.data[0]?.main.title.home??"",120)})]}):s.jsx("div",{className:"sass-com-h1st-line"}),s.jsx("div",{className:"sass-com-h1st-menuSection",style:e.showAlertPop?{"--showAlertPop":"0px"}:{},children:Array.isArray(t)&&s.jsx(Sh,{items:t})})]}),e.customComponent&&e.customComponent]})},Eh=e=>{const{alertZone:t,children:a,sidebar:n,custom_styles:r={}}=e,o=e.childrenContentTag??"div",i=s.jsxs(o,{className:["sass-com-h1-childrenContent",e.showAlertPop?"sass-com-h1-op2":"",t?.data?"sass-com-h1-childrenContentAux":""].join(" "),style:e.showOnlyStickyHeader?{...r,"--hasAlertMargin":"3.6rem !important"}:r,id:"content-layout",children:[e.showAlertPop&&s.jsx(zo,{alertZone:t,forceShow:e.showAlertPop,id:"static-alert-chip"}),a]});return s.jsxs(s.Fragment,{children:[e.childrenContentPosition==="before-headers"&&i,s.jsx(vh,{...e}),!e.showOnlyStickyHeader&&s.jsx(Nh,{...e}),e.childrenContentPosition!=="before-headers"&&i,s.jsx(Ch,{sidebarExtra:e.sidebarExtra,searchKeyWord:e.searchKeyWord,sidebar:n,searchLink:e.searchLink,socials:e.socials,copyrigth:e.copyrigth,custom_styles:e.custom_styles})]})},xh=async e=>{const t=e.info&&typeof e.info=="object"?e.info.image:void 0,a=(t&&typeof t=="object"?t:void 0)||e.image,r=a?.sizes?.find(o=>o.width===100&&o.height===100)?.url||a?.sizes?.[0]?.url||a?.original?.url||"";return r&&await ue(r)||""},Qo=({name:e,imageUrl:t})=>s.jsxs(s.Fragment,{children:[t?s.jsx("img",{className:"sass-com-ts-chipImage su-object-cover",src:t,alt:"",loading:"lazy",fetchPriority:"low"}):null,e]}),Wo=async e=>{const{SUB_PUBLICATION_PREFIX_IN_ROUTES:t}=U();if(!e?.tags?.length)return null;const a=await Promise.all(e.tags.map(async n=>({item:n,imageUrl:await xh(n)})));return s.jsx("section",{className:"sass-com-ts-content",children:s.jsxs("div",{className:"sass-com-ts-tags",children:[s.jsx("p",{className:"sass-com-ts-tagStyled",children:e.title?e.title:"Tags:"}),a.map(({item:n,imageUrl:r},o)=>n.approved?s.jsx(_,{block_subPublication:t?.tema,href:Qe(n,e.paths),children:s.jsx("div",{className:"sass-com-ts-chipStyled sass-com-ts-tagLink",children:s.jsx(Qo,{name:n.name,imageUrl:r})})},o):s.jsx("div",{className:"sass-com-ts-chipStyled",children:s.jsx(Qo,{name:n.name,imageUrl:r})},o))]})})},Yo=async e=>{const{autor:t}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:a,PUBLIC_LNG:n}=U(),r=de(),o=n==="en",i=t?.addtional,l=t?.info?.name??"",c=t?.info?.fullname??"",d=t?.info?.image?.sizes?.[0]?.url??"",u=o?i?.USER_DESCRIPCION_EN||i?.USER_MIBIO_EN||"":i?.USER_DESCRIPCION||i?.USER_MIBIO||"",f=t?.addtional?.USER_USERFB??"",h=t?.addtional?.USER_USERIG??"",p=t?.addtional?.USER_USERTWT??"",m=t?.addtional?.USER_USERLIN??"",g=Ve("tiktok",i?.USER_PAGE_TIKTOK),b=Ve("youtube",i?.USER_PAGE_YOUTUBE),w=Ve("pinterest",i?.USER_PAGE_PINTEREST),A=`${r}/${e.paths.autor}/${l}`,y=u.replace(/<[^>]*>/g,"").replace(/&[^;]+;/g," ").trim().length>360,N=`ja2-bio-toggle-${l}`;return!!t&&s.jsx("section",{className:"sass-com-ja2-contentBox",children:s.jsxs("div",{className:"sass-com-ja2-content",children:[s.jsxs("div",{className:"sass-com-ja2-avatarContent",children:[s.jsx(_,{block_subPublication:a?.autor,className:"sass-com-ja2-journalistInfo su-no-underline",href:A,children:d?s.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"Imagen de perfil de "+l,className:"sass-com-ja2-imageStyled",src:await ue(d)}):s.jsx("div",{className:"sass-com-ja2-contentIconStyled",children:e.autorIcon})}),s.jsxs("section",{className:"sass-com-ja2-journalistSection",children:[s.jsx(_,{block_subPublication:a?.autor,className:"sass-com-ja2-journalistInfo su-no-underline",href:A,children:c}),s.jsxs("section",{className:"sass-com-ja2-socialNetworkSection",children:[f&&s.jsx("a",{href:f,target:"_blank","aria-label":u,rel:"noreferrer",children:s.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.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"})})}),h&&s.jsx("a",{href:h,target:"_blank","aria-label":u,rel:"noreferrer",children:s.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsxs("g",{clipPath:"url(#clip0_281_2357)",children:[s.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"}),s.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"}),s.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"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_281_2357",children:s.jsx("rect",{width:"17",height:"17",fill:"white",transform:"translate(4 4)"})})})]})}),p&&s.jsx("a",{href:p,target:"_blank","aria-label":u,rel:"noreferrer",children:s.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.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"})})}),m&&s.jsx("a",{href:m,target:"_blank","aria-label":u,rel:"noreferrer",children:s.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.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"}),s.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"}),s.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"})]})}),g&&s.jsx("a",{href:g,target:"_blank","aria-label":"TikTok",rel:"noreferrer",children:s.jsx(Vs,{className:"sass-com-ja2-tiktokStyled",forceSVG:!0,width:24,height:24})}),b&&s.jsx("a",{href:b,target:"_blank","aria-label":"YouTube",rel:"noreferrer",children:s.jsx(zs,{className:"sass-com-ja2-youtubeStyled",forceSVG:!0,width:24,height:24})}),w&&s.jsx("a",{href:w,target:"_blank","aria-label":"Pinterest",rel:"noreferrer",children:s.jsx(Hs,{className:"sass-com-ja2-pinterestStyled",forceSVG:!0,width:24,height:24})})]})]})]}),y?s.jsxs("div",{className:"sass-com-ja2-bioExpandable",children:[s.jsx("input",{type:"checkbox",id:N,className:"sass-com-ja2-bioToggle"}),s.jsx("div",{className:"sass-com-ja2-article sass-com-ja2-article-clamp",dangerouslySetInnerHTML:{__html:u}}),s.jsxs("div",{className:"sass-com-ja2-bioFooter",children:[s.jsxs("label",{htmlFor:N,className:"sass-com-ja2-bioToggleLink",children:[s.jsx("span",{className:"sass-com-ja2-bioToggleLinkMore",children:String(e.texts.authorViewMore??"Ver más")}),s.jsx("span",{className:"sass-com-ja2-bioToggleLinkLess",children:"Ver menos"})]}),s.jsx("label",{htmlFor:N,className:"sass-com-ja2-bioArrow","aria-label":"Leer más / Leer menos",children:s.jsx("svg",{viewBox:"0 0 24 24",fill:"none",width:"18",height:"18","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M6 9l6 6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),s.jsx("a",{"aria-label":l,className:"sass-com-ja2-bioAuthorLink",href:A,children:String(e.texts.authorViewMore??"Ver más")})]}):s.jsx("div",{className:"sass-com-ja2-article",dangerouslySetInnerHTML:{__html:`${u} <a aria-label="${l}" href="${A}">${String(e.texts.authorViewMore??"Ver más")}</a>`}})]})})},Ko=async e=>{const{news:t,texts:a}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:n}=U();return t?t.config?.showauthor&&t.authors?.length>1&&s.jsx("div",{className:"sass-com-jg-content su-flex su-w-full su-flex-col su-items-center su-justify-evenly su-gap-0 su-md:flex-row",children:Array.isArray(t.authors)&&t.authors?.map(async r=>s.jsxs("div",{className:"sass-com-jg-contentCard",children:[r.image?s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-jg-imageStyled su-flex-center",src:await ue(r.image?.sizes?.[0]?.url||"")},r.fullname):s.jsx("div",{className:"sass-com-jg-contentIconStyled su-flex-center",children:e.autorIcon},r.fullname),s.jsxs("div",{className:"sass-com-jg-contentInfo",children:[r.internaluser?s.jsx(_,{block_subPublication:n?.autor,className:"sass-com-jg-fullName",href:`/${e.paths.autor}/${r.name}`,children:r.fullname}):s.jsx("p",{className:"sass-com-jg-fullName",children:r.fullname}),r.internaluser&&s.jsx(_,{block_subPublication:n?.autor,className:"sass-com-jg-LearnMoreLink",href:`/${e.paths.autor}/${r.name}`,children:String(a.JournalistGroupLink??"")})]})]},`author-${r.firstname}`))}):(Me("JournalistGroup","news"),null)},Ws=e=>{if(!e||e.trim()==="")return e;const t=e.trim();return t.startsWith("http://")||t.startsWith("https://")?t:`https://${t}`},Th=async e=>{const t=e.img?await ue(e.img):"",a=Ws(e.social?.facebook??""),n=Ws(e.social?.instagram??""),r=Ws(e.social?.twitter??""),o=Ws(e.social?.linkedin??""),i=e.social&&(a||n||r||o);return s.jsx("section",{className:`sass-com-th-content ${e.className}`,children:s.jsxs("div",{className:`sass-com-th-contentInfo ${t?"":"sass-com-th-contentInfoWithoutImg"}`,children:[e.img&&s.jsx("div",{className:"sass-com-th-imageContainer sass-image-tag-wrapper",children:s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-th-imageStyled su-object-cover",src:t})}),s.jsx("h1",{className:"sass-com-th-name",children:e.tag}),e.description&&s.jsx("div",{className:"sass-com-th-description",dangerouslySetInnerHTML:{__html:e.description}}),e.url&&s.jsx("a",{className:"sass-com-th-urlTag",href:e.url,children:e.url}),i&&s.jsxs("div",{className:"sass-com-th-contenSocialNetwork",children:[a&&s.jsx("a",{href:a,target:"_blank",className:"sass-com-th-socialFacebookIcon sass-com-th-socialIconStroke",rel:"noreferrer",children:s.jsx(js,{className:"sass-com-th-faceBookIcon",forceSVG:!0})}),n&&s.jsx("a",{href:n,target:"_blank",className:"sass-com-th-socialIconLink",rel:"noreferrer",children:s.jsx(Fs,{className:"sass-com-th-socialIcon",forceSVG:!0})}),r&&s.jsx("a",{href:r,target:"_blank",className:"sass-com-th-socialIconLink",rel:"noreferrer",children:s.jsx(Fe,{className:"sass-com-th-socialIcon",forceSVG:!0})}),o&&s.jsx("a",{href:o,target:"_blank",className:"sass-com-th-socialIconLink sass-com-th-socialIconStroke",rel:"noreferrer",children:s.jsx(je,{className:"sass-com-th-socialIcon",forceSVG:!0})})]})]})})},Wa=s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"currentColor",children:s.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})});function kh({googleSourceShare:e,googleProfile:t,whatsAppShare:a,text:n}){return s.jsxs("div",{className:"sass-com-src-container",children:[e&&s.jsxs("a",{className:"sass-com-src-button",href:e,target:"_blank",rel:"noopener noreferrer",children:[s.jsx("img",{src:ne("/icono-google-plus-badge.svg"),loading:"lazy",fetchPriority:"low",alt:"Google Source",width:28,height:28}),n.sourceButtons?.googleSourceShare||"Añádenos como fuente preferida",Wa]}),t&&s.jsxs("a",{className:"sass-com-src-button",href:t,target:"_blank",rel:"noopener noreferrer",children:[s.jsx("img",{src:ne("/icono-google-news-plus-badge.svg"),loading:"lazy",fetchPriority:"low",alt:"Google News",width:28,height:28}),n.sourceButtons?.googleProfile||"Google News",Wa]}),a&&s.jsxs("a",{className:"sass-com-src-button",href:a,target:"_blank",rel:"noopener noreferrer",children:[s.jsx("img",{src:ne("/icono-whatsapp-plus-badge.svg"),loading:"lazy",fetchPriority:"low",alt:"WhatsApp",width:28,height:28}),n.sourceButtons?.whatsAppShare||"Sumate al canal de WhatsApp",Wa]})]})}function Ih(e){const{main:t,authors:a,info:n,preview:r,config:o,keywords:i,isVideo:l,isLarge:c,priorityHigh:d,share:u,overImage:f,isTitle:h,paths:p}=e,{CONFIG_videoClipUrl:m}=U(),g=o?.homepreview??"imagen",b=()=>{const y=e.videos?.[0]?.clip;return y?s.jsx("div",{className:"homeCardVideoClipContainer",children:s.jsx("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,width:"480",height:"535",children:s.jsx("source",{src:`${m}${y}`,type:"video/mp4"})})}):null},w=()=>{if(!e.videos)return null;const y=e.videos?.[0]?.code;return y?s.jsx("iframe",{className:"homeCardVideoIframeContainer",src:`https://www.youtube.com/embed/${y}`,frameBorder:"0",allowFullScreen:!0}):null},A=()=>{if(!e.videos)return null;const y=(e.videos??[]).find(V=>V.type==="video-embedded");if(!y?.code)return null;const k=/src\s*=\s*"([^"]+)"/.exec(y.code),O=k?k[1]:null;if(!O)return null;const $=r.original?.url??r.sizes?.[0]?.url??"",M=Re()??"",B=$.startsWith("http")||$.includes(M)||M===""?$:M+$;return s.jsx("iframe",{className:"homeCardEmbeddedIframeContainer",src:O,frameBorder:"0",allowFullScreen:!0,style:{"--thumbnail-url":`url(${B})`}})},v=()=>{const N=e.gallery??[];return N.length?s.jsx(et,{slot_id:"home-card_"+e.info.link.url,fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:N.map((k,O)=>{const $=k?.url||k?.id||`gallery-${O}`;return s.jsx(_,{"aria-label":e.main?.title?.section,className:"homeCardImage",title:t?.title?.section,href:n?.link?.url,target:n?.link?.target,children:s.jsx(Ee,{preview:k,isVideo:l,isLarge:c,priorityHigh:d})},$)})}):null};let S=null;switch(g){case"fotogaleria":S=s.jsx(v,{});break;case"videoYouTube":S=s.jsx(w,{});break;case"videoEmbedded":S=s.jsx(A,{});break;case"clip":S=s.jsx(b,{});break;case"iframe":S=s.jsx("div",{className:"homeCardIframeContainer",dangerouslySetInnerHTML:{__html:e?.external?.iframe??""}});break;default:S=s.jsx(_,{"aria-label":e?.main?.title?.section,className:"homeCardImage",title:t?.title?.section,href:n?.link?.url,target:n?.link?.target,children:s.jsx(Ee,{preview:r,isVideo:l,isLarge:c,priorityHigh:d})});break}return s.jsxs("section",{className:"homeCardContent",style:{...e.customSectionCardStyles},children:[s.jsx("div",{className:"homeCardContentWrapper",children:S}),s.jsx("div",{className:"homeCardNewsDescription",children:s.jsx(Ge,{main:t,authors:a,info:n,preview:r,share:u,config:o,overImage:f,isTitle:h,paths:p,keywords:i})})]})}const Ot=e=>{const{SHOW_TAG_BY_SECTION:t,SUB_PUBLICATION_PREFIX_IN_ROUTES:a}=U(),n=`${e?.authors[0]?.fullname} - `,r=e?.config?.showtime&&e.config?.showauthor?qe(e.info?.date?.modified,n):e?.config?.showtime?qe(e.info?.date?.modified):{},o=()=>{if(e?.config?.showtime&&e.config?.showauthor)return`${n}${ke(e.info?.date?.modified)}`;if(e.config?.showauthor)return e?.authors[0]?.fullname;if(e?.config?.showtime)return ke(e.info?.date?.modified)},i=()=>{if(t&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const c=e.keywords.tags[0],d=c.name;return c.approved?s.jsxs("h3",{children:[" ",s.jsx(_,{"aria-label":d,className:"sass-bmd-sup-tagmx",block_subPublication:a?.tema,href:Qe(c,e.paths),children:d})]}):s.jsx("div",{className:"sass-bmd-sup-tagmx",children:d})}else if(e.info?.section?.url)return s.jsx("h3",{children:s.jsx(_,{className:"sass-bmd-sup-tagmx",href:e?.info?.section?.url,children:e?.info?.section?.name})});return null},l=()=>{if(t&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const c=e.keywords.tags[0],d=c.name;return c.approved?s.jsx("h3",{children:s.jsx(_,{"aria-label":d,className:"sass-bmd-sup-tag",block_subPublication:a?.tema,href:Qe(c,e.paths),children:d})}):s.jsx("div",{className:"sass-bmd-sup-tag",children:d})}else if(e.info?.section?.url)return s.jsx("h3",{children:s.jsx(_,{className:"sass-bmd-sup-tag",href:e?.info?.section?.url,children:e?.info?.section?.name})});return null};return s.jsxs("section",{className:"sass-bmd-sup-content destacado-super-content",children:[s.jsx(_,{href:e?.info?.link?.url,target:e?.info?.link?.target,"aria-label":e?.main?.title?.home,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:s.jsx(Ee,{preview:e.preview,isLarge:!0,BackDropAuxHeigthMobile:"513px",priorityHigh:!0})}),s.jsxs("div",{className:"sass-bmd-sup-contentNews",style:{"--widthTextContent":e.textPosition==="start"?"100%":"80%"},children:[s.jsx(i,{}),s.jsxs("div",{style:{position:"relative"},children:[s.jsx(l,{}),s.jsx(_,{className:ht("sass-bmd-sup-linkTitle",e.speculationPrerenderClass),href:e?.info?.link?.url,target:e?.info?.link?.target,children:s.jsx("h1",{className:"sass-bmd-sup-titular",style:{"--titlePosition":e.textPosition==="start"?"initial":"center"},children:e?.main?.title?.home})})]}),e.config?.showsubtitle&&s.jsx("div",{className:"sass-bmd-sup-description",dangerouslySetInnerHTML:{__html:e.main.subtitle.striped}}),e?.config?.showtime&&e.config?.showauthor&&s.jsx(s.Fragment,{children:e.authors[0]?.internaluser?s.jsx(_,{block_subPublication:a?.autor,href:`/${e.paths?.autor??"autor"}/${e?.authors[0]?.name}`,className:"sass-bmd-sup-correspondent",...r,children:o()}):s.jsx("p",{className:"sass-bmd-sup-correspondentLink",...r,children:o()})})]})]})},Jo=e=>{const{main:t,authors:a,info:n,preview:r,isVideo:o,config:i,itemReverseOrder:l,imageSize:c,showSuper:d,textPosition:u,heightImageOverwrite:f,heightImageOverwriteMobile:h}=e;return s.jsxs("section",{className:"su-grid su-w-full su-gap-8 sass-bmd-dd-content",children:[d?s.jsx("section",{style:{...e.customSectionCardStyles},children:s.jsx(Ot,{main:t,authors:a,info:n,preview:r,isVideo:o,config:i,paths:e.paths,textPosition:u,heightImageOverwrite:f,heightImageOverwriteMobile:h,speculationPrerenderClass:e.speculationPrerenderClass})}):s.jsx(He,{...e,main:t,authors:a,info:n,preview:r,isVideo:o,config:i,speculationPrerenderClass:e.speculationPrerenderClass,priorityHigh:!0,isTitle:!0}),e.banners&&s.jsx(Ce,{banners:e.banners,name:"main_block_"+(e.rightOnlyBanner?1:2)}),!e.rightOnlyBanner&&s.jsx(ja,{block:e.block,itemReverseOrder:l,priorityHigh:!0,imageSize:c,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})]})},Uh=({content:e,customLargeSection:t,customSmallSection:a,paths:n,speculationPrerenderClass:r})=>{const o=e[0];return Array.isArray(e)&&e.length>0&&o&&s.jsxs("section",{className:"sass-bmd-dnh-content",children:[s.jsx("div",{style:t,className:"su-w-full sass-bmd-dnh-firstSection",children:s.jsx(Ot,{...o,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:n,speculationPrerenderClass:r})}),s.jsx("div",{style:a,className:"su-flex su-flex-col su-gap-2 su-w-full su-h-auto su-md:gap-0 sass-bmd-dnh-secondSection",children:e.map((i,l)=>l>0&&T.createElement(Ot,{...i,key:l,textPosition:"start",heightImageOverwrite:"256px",heightImageOverwriteMobile:"270px",paths:n,speculationPrerenderClass:r}))})]})},Lh=({content:e,customLargeSection:t,customSlimSection:a,paths:n,speculationPrerenderClass:r})=>Array.isArray(e)&&e.length>0&&s.jsx("section",{className:"su-grid su-w-full su-gap-2 sass-bmd-dnv-content",children:e.map((o,i)=>i===0?s.jsx("div",{style:t,className:"su-w-full sass-bmd-dnv-firstSection",children:s.jsx(Ot,{...o,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:n,speculationPrerenderClass:r})},i):s.jsx("section",{style:a,children:T.createElement(Ot,{...o,key:i,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:n,speculationPrerenderClass:r})},i))}),Zo=e=>{const{SHOW_TAG_BY_SECTION:t,SUB_PUBLICATION_PREFIX_IN_ROUTES:a}=U(),n=ht("sass-com-bh-title",e.speculationPrerenderClass),r=()=>{if(t&&e.mainNew.keywords?.tags?.length&&e.mainNew.keywords.tags.length>0){const o=e.mainNew.keywords.tags[0],i=o.name;return o.approved?s.jsx("h3",{className:"sass-com-bh-section",children:s.jsx(_,{"aria-label":i,className:"sass-com-bh-sectionDescription",block_subPublication:a?.tema,href:Qe(o,e.paths),children:i})}):s.jsx("div",{className:"sass-com-bh-sectionDescription",children:i})}else if(e.mainNew.info?.section?.url)return s.jsx("h3",{className:"sass-com-bh-section",children:s.jsx(_,{className:"sass-com-bh-sectionDescription",href:e?.mainNew?.info?.section?.url,children:e?.mainNew?.info?.section?.name})});return null};return s.jsxs("div",{className:"sass-com-bh-content",children:[s.jsx(r,{}),s.jsx(_,{className:n,href:e?.mainNew?.info?.link?.url,target:e?.mainNew?.info?.link?.target,children:e?.mainNew?.main?.title.home}),e?.mainNew?.main?.subtitle?.rendered&&s.jsx("p",{className:"sass-com-bh-subtitle",children:e?.mainNew?.main?.subtitle?.striped}),e.goTo&&s.jsx(_,{href:e.goTo.url,className:"sass-com-bh-linkStyled",children:e.goTo.description})]})},Xo=e=>{const{content:t,title:a,isVideo:n,priorityHigh:r=!1,isLarge:o}=e;if(!t||!t[0]||t.length===0)return;const i=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1"),l={...t[0],main:{...t[0].main,title:{...t[0].main.title,section:i?t[0].main.title.home:t[0].main.title.section}}},c=t.slice(1),d=l;return l&&c&&s.jsxs(fe,{title:a,titleUrl:e.titleUrl,children:[s.jsxs("div",{className:"su-flex su-flex-col-reverse su-overflow-hidden sass-bd-dn-headerSection",children:[s.jsx(Zo,{mainNew:l,goTo:e.goTo,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass}),s.jsx(Do,{homepreview:l.config?.homepreview,videos:d.videos,external:l.external,preview:l.preview,linkClassName:"sass-bd-dn-headerSectionLink sass-com-sc1-image",linkHref:l?.info?.link?.url,linkTarget:l?.info?.link?.target,linkTitle:l.main?.title?.section,isVideo:n,isLarge:o,priorityHigh:r})]}),s.jsxs("div",{className:"su-grid sass-bd-dn-newsContent",children:[s.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),Array.isArray(c)&&c.map((u,f)=>{const h={...u,main:{...u.main,title:{...u.main.title,section:i?u.main.title.home:u.main.title.section}}};return s.jsx("div",{style:{order:f},children:s.jsx(He,{...h,isVideo:n,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})},f)})]})]})},Ys=async e=>{const{data:t,autorIcon:a,speculationPrerenderClass:n}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:r}=U(),o=()=>t?.config?.showtime?`${ke(t.info?.date?.modified)}`:"",i=s.jsxs("div",{className:"sass-com-oc2-autorContent",children:[Array.isArray(t?.authors)&&Array.isArray(t?.authors[0]?.image?.sizes)&&t?.authors[0]?.image&&t?.authors[0]?.image?.sizes?.length>0?s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-oc2-image",src:await ue(t?.authors[0]?.image?.sizes[0]?.url||""),alt:t?.authors[0]?.fullname}):s.jsx("div",{className:"sass-com-oc2-contentIcon",children:a}),s.jsx("p",{className:"sass-com-oc2-autorName",children:Pe(t?.authors[0]?.fullname??"Redacción",18)}),s.jsx("p",{className:"sass-com-oc2-time",...t?.config?.showtime?qe(t.info?.date?.modified):{},children:o()})]});return s.jsxs("div",{className:"sass-com-oc2-content",children:[t?.authors[0]?.internaluser?s.jsx(_,{block_subPublication:r?.autor,href:t.authors[0]?.internaluser?`/${e.paths.autor}/${t?.authors[0]?.name}`:"#",children:i}):i,s.jsxs("div",{className:"sass-com-oc2-boxInformationContent",children:[s.jsx(_,{className:n?`${n} sass-com-oc2-title`:"sass-com-oc2-title",href:t?.info?.link?.url,target:t?.info?.link?.target,children:t?.main?.title?.home}),s.jsx("p",{className:"sass-com-oc2-comment",children:Pe(t?.main?.subtitle?.striped||"")})]})]})};function Ph(e){const t=new Array(e.length),a=e.length/2;for(let n=0;n<e.length;n++)n%2===0?t[Math.floor(n/2)]=e[n]:t[a+Math.floor(n/2)]=e[n];return t}const Oh=e=>{const{isOpinion:t=!1}=e,a=o=>s.jsx("div",{className:"sass-bs-mo-boxPosition banner-context",style:{order:2},children:s.jsx("div",{className:"sass-bs-mo-bannerContentAux",children:s.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:e.banner})})},o),n=[];for(let o=0;o<e.news.length;o++){const i=e.news[o];o===2&&n.push(a(o)),i&&n.push(s.jsx("div",{className:"sass-bs-mo-boxPosition",style:{order:o},children:s.jsx(Ys,{data:i,autorIcon:e.autorIcon,paths:e.paths})},`description-block-2-odd-${o}`))}const r=n.length%2===0?Ph(n):n;return s.jsx("section",{style:e.customStyles,children:s.jsx(fe,{title:e.title,titleUrl:e.titleUrl,isOpinion:t,children:s.jsxs("div",{className:"sass-bs-mo-content",children:[s.jsx("div",{className:"sass-bs-mo-contentFlex",children:r}),s.jsx("div",{className:"sass-bs-mo-bannerContent",children:e.halfPageBanner})]})})})},Bh=e=>{const{showTitle:t=!0}=e;return s.jsxs("div",{className:"sass-bs-eb1-content",children:[t&&s.jsx("p",{className:"sass-bs-eb1-title",children:"Editorial"}),s.jsx(Ge,{...e,info:{...e.info,section:{name:"",slug:"",url:""}}})]})},Mh=e=>{const{news:t}=e,a=e.isHome??!1;return Array.isArray(t)&&s.jsxs("div",{className:"sass-bs-m2c-content",children:[s.jsxs("div",{className:"sass-bs-m2c-newsContent",children:[e.bannerArray&&e.bannerArray.map((n,r)=>s.jsx("div",{className:"sass-bs-m2c-boxPosition banner-context",style:{order:2+5*r},children:s.jsx("div",{className:"sass-bs-m2c-bannerContentAux",children:s.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:n})})},r)),t.map((n,r)=>{const o={...n,main:{...n.main,title:{...n.main.title,section:a?n.main.title.home:n.main.title.section}}};return s.jsx("div",{className:"sass-bs-m2c-boxPosition",style:{order:r},children:s.jsx(He,{...o,share:e.share,paths:e.paths})},r)})]}),s.jsx("div",{className:"sass-bs-m2c-bannerContent",children:e.halfPageBanner})]})},_h=e=>s.jsxs(s.Fragment,{children:[s.jsx(Po,{className:"display-on-lower-900px",...e,termsLink:e.termsLink,submitFunction:e.submitFunction,linkUrl:e.linkUrl}),s.jsx(Oo,{...e})]}),Ro=e=>{const{content:t}=e;if(!t||t.length===0)return;const a=i=>e.hasLines&&(i+1)%3!==0?"sass-bs-m3c-contentSeparator":"",n=[];let r=0,o=1;for(let i=0;i<t.length;i++){e.banners&&e.bannerPositionIndex?.includes(i)&&(n.push(s.jsx("section",{className:a(r),children:e.banners?.some(u=>u.key===`${e.slot_id}_${o}`)&&s.jsx(Ce,{banners:e.banners,name:`${e.slot_id}_${o}`})},r)),r++,o++);const l=e.isVideo?wt(t[i],e.showVideoTime,e.showVideosubtitle,e.showVideoAuthor):t[i];if(!l)continue;const c=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1"),d={...l,main:{...l.main,title:{...l.main.title,section:c?l.main.title.home:l.main.title.section}}};n.push(s.jsx("section",{className:a(r),children:s.jsx(He,{...d,isVideo:e.isVideo,paths:e.paths,speculationPrerenderClass:No(r,e.speculationPrerenderClass,e.speculationPrerender)})},r)),r++}return n.length===2&&n.push(s.jsx("div",{},r)),s.jsx("div",{className:`${e.hasLines?"sass-bs-m3c-newsContentWithLines":"sass-bs-m3c-newsContentWithoutLines"} sass-bs-m3c-newsContent`,children:n})};function Dh(e){const t=new Array(e.length),a=e.length/2;for(let n=0;n<e.length;n++)n%2===0?t[Math.floor(n/2)]=e[n]:t[a+Math.floor(n/2)]=e[n];return t}const qh=e=>{const t=e.isHome??!1,a=s.jsx("div",{className:"sass-bs-mbn-boxPosition banner-context",style:{order:2},children:s.jsx("div",{className:"sass-bs-mbn-bannerContentAux",children:s.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:e.banner})})},"banner-static"),n=[];for(let o=0;o<e.news.length;o++){const i=e.news[o];if(o===2&&n.push(a),i){const l={...i,main:{...i.main,title:{...i.main.title,section:t?i.main.title.home:i.main.title.section}}};n.push(s.jsx("div",{className:"sass-bs-mbn-boxPosition",style:{order:o},children:s.jsx(Ge,{...l,paths:e.paths})},`description-block-2-odd-${o}`))}}n.length%2!==0&&n.push(s.jsx("div",{style:{order:n.length}},"extra_div"+n.length));const r=Dh(n);return s.jsx(fe,{title:e.title,titleUrl:e.titleUrl,children:s.jsxs("div",{className:"sass-bs-mbn-content",children:[s.jsx("div",{className:"sass-bs-mbn-contentFlex",children:r}),s.jsx("div",{className:"sass-bs-mbn-bannerContent",children:e.halfPageBanner})]})})},ei=e=>s.jsx(fe,{title:e.title,titleUrl:e.titleUrl,children:s.jsx(Ro,{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,speculationPrerender:e.speculationPrerender,speculationPrerenderClass:e.speculationPrerenderClass})}),ti=e=>{const{content:t,title:a}=e;if(!(!t||t.length===0||!Array.isArray(t)))return s.jsx(fe,{title:a,titleUrl:e.titleUrl,children:s.jsx("div",{className:`su-grid su-justify-center sass-bd-m14-newsContent ${e.hasLines?"sass-bd-m14-contentSeparator":""}`,children:t?.map((n,r)=>{const o=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1"),i={...n,main:{...n.main,title:{...n.main.title,section:o?n.main.title.home:n.main.title.section}}};return s.jsx("section",{children:s.jsx(He,{...i,share:e.share,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})},r)})})})},si=e=>{const{content:t,title:a}=e;if(!(!t||t.length===0))return s.jsx(fe,{title:a,titleUrl:e.titleUrl,children:s.jsx("div",{className:`su-grid su-justify-center sass-bd-m15-newsContent ${e.hasLines?"sass-bd-m15-contentSeparator":"sass-bd-m15-newsContentWhitoutLine"}`,children:t.map((n,r)=>{const o=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1"),i={...n,main:{...n.main,title:{...n.main.title,section:o?n.main.title.home:n.main.title.section}}};return s.jsx("section",{children:s.jsx(He,{...i,share:e.share,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})},r)})})})},ai=e=>{const{content:t,title:a,isVideo:n=!0}=e;if(!t||t.length===0)return;const r=t[0],o=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1"),i=t.slice(1);return r&&i&&s.jsxs(fe,{title:a,titleUrl:e.titleUrl,children:[s.jsxs("div",{className:"sass-bd-dv-headerSection",children:[s.jsx(Zo,{goTo:e.goTo,mainNew:wt(r),paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass}),s.jsx(_,{className:"sass-bd-dv-headerSectionLink",href:r?.info?.link.url,target:r?.info?.link.target,"aria-label":"Video",children:s.jsx(Ee,{preview:{sizes:r?.main?.image.sizes,description:r?.main?.image.description},isVideo:n,isLarge:!0})})]}),s.jsxs("div",{className:"sass-bd-dv-newsContent",children:[s.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),Array.isArray(i)&&i.map((l,c)=>{const d=wt(l),u={...d,main:{...d.main,title:{...d.main.title,section:o?d.main.title.home:d.main.title.section}}};return s.jsx("div",{style:{order:c},children:T.createElement(He,{...u,isVideo:n,key:c,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})},c)})]})]})},Gh=async e=>{const{showNewsLikeTitle:t=!1,speculationPrerenderClass:a}=e;return e&&e.info?s.jsxs("section",{className:"sass-com-sc6-content",style:{"--heightImageOverwrite":"100%"},children:[s.jsx(_,{className:"sass-com-sc6-linkImage",target:e?.info?.link?.target,title:e.main?.title?.section,href:t?e.info.link.url:e?.info?.section?.url,children:s.jsx(Ee,{preview:e.preview})}),s.jsx("div",{className:"sass-com-sc6-textContent",children:s.jsx(Ge,{...e,paths:e.paths,speculationPrerenderClass:a})})]}):null},ni=e=>{if(!e.content||e.content.length===0)return;const t=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1");return s.jsx(fe,{title:e.title,children:s.jsx("div",{className:`su-grid sass-bd-m13c-content ${e.hasLines?"sass-bd-m13c-contentSeparator":""}`,style:{gap:e.hasLines?"30px":"0px"},children:Array.isArray(e.content)&&e.content?.map((a,n)=>{const r={...a,main:{...a.main,title:{...a.main.title,section:t?a.main.title.home:a.main.title.section}}};return s.jsx("section",{className:e.hasLines?"sass-bd-m13-hasLinesBlock":"",children:T.createElement(Gh,{...r,key:n,showNewsLikeTitle:e.showNewsLikeTitle,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})},n)})})})},ri=e=>{const{content:t,title:a,slot_id:n}=e,r=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1");return t&&t.length!==0&&s.jsx(fe,{title:a,titleUrl:e.titleUrl,children:s.jsx(et,{slot_id:n,cardWidth:e.cardWidth,cardGap:e.cardGap,visibleItems:e.visibleItems,pagination:e.pagination,children:t.map((o,i)=>{const l={...o,main:{...o.main,title:{...o.main.title,section:r?o.main.title.home:o.main.title.section}}};return s.jsx("div",{style:{"--heightImageOverwrite":e.heightImageOverwrite,"--heightImageOverwriteMobile":e.heightImageOverwriteMobile},children:s.jsx(es,{...l,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})},i)})})})},jh=async e=>{const{SUB_PUBLICATION_PREFIX_IN_ROUTES:t}=U(),{data:a,speculationPrerenderClass:n}=e,r=ht("sass-com-opt1-linkStyled",n);return s.jsxs("div",{className:"sass-com-opt1-content",children:[Array.isArray(a.authors)&&a?.authors[0]?.image?s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-opt1-imageStyled",src:await ue(a?.authors[0]?.image?.sizes[0]?.url||""),alt:a?.authors[0]?.fullname}):s.jsx("div",{className:"sass-com-opt1-contentIcon",children:e.autorIcon}),s.jsxs("div",{className:"sass-com-opt1-boxInformation",children:[s.jsx("p",{className:"sass-com-opt1-authorName",children:a?.authors[0]?.internaluser?s.jsx(_,{block_subPublication:t?.autor,href:a.authors[0]?.internaluser?`/${e.paths.autor}/${a?.authors[0]?.name}`:"#",children:a?.authors[0]?.fullname??"Redacción"}):a?.authors[0]?.fullname??"Redacción"}),s.jsx("p",{className:"sass-com-opt1-title",children:s.jsx(_,{className:r,href:a?.info?.link?.url,target:a?.info?.link?.target,children:Pe(a?.main?.title?.home,40)})}),s.jsx("p",{className:"sass-com-opt1-comment",children:a?.main?.subtitle?.striped}),s.jsx("p",{className:"sass-com-opt1-dateText",children:we(a.info.date.modified).locale("es").format("DD [De] MMMM")})]})]})},oi=e=>{const t=e.isHome??(e.slot_id&&e.slot_id!=="Nota_1");return s.jsx(fe,{titleUrl:e.titleUrl,title:e.title,children:s.jsx(et,{slot_id:e.slot_id,cardGap:31,cardWidth:344,visibleItems:3,children:e.content&&e.content.map((a,n)=>{const r={...a,main:{...a.main,title:{...a.main.title,section:t?a.main.title.home:a.main.title.section}}};return s.jsx(jh,{autorIcon:e.autorIcon,data:r,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass},n)})})})},Ya=e=>{const{item:t,option:a}=e;switch(a){case"ediciones":return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent"});case"columnistasnacionales":return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Ys,{data:t,autorIcon:e.autorIcon,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})});case"columnistaslocales":return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Ys,{data:t,autorIcon:e.autorIcon,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})});case"columnistas":return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Ys,{data:t,autorIcon:e.autorIcon,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})});default:return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(He,{...t,paths:e.paths,speculationPrerenderClass:e.speculationPrerenderClass})})}},Fh=e=>{const{data:t,currentPage:a,banners:n,slug:r,ranking:o,pathname:i,texts:l={},custom_bannerPosition:c}=e,d=c||{3:1,8:2,13:3},u=d?Object.keys(d).map(f=>parseInt(f)):[];switch(e.option){case"op1":return s.jsx(Ho,{ranking:o,readestTitle:l.readestTitle??"",videosSectionLabel:l.videosSectionTitle,paths:e.paths,readestCustomStyles:e.readestCustomStyles,bannerTop:s.jsx(Ce,{banners:n??[],name:"right_1"}),banner:s.jsx(Ce,{banners:n??[],name:"right_2"}),children:s.jsx("section",{className:"sass-pg-sec-content",children:t.length>0?s.jsx($a,{className:["sass-pg-sec-newsContentSection","padding-0"].join(" "),paginatorComponent:s.jsx(za,{texts:l,pathname:i,query:"",currentPage:a,maxPages:e.PAGINATION_MAX_PAGES,showNext:!(t.length<e.NEWS_PER_SECTION)}),children:Array.isArray(t)&&t?.map((f,h)=>s.jsxs(T.Fragment,{children:[u.includes(h+1)&&s.jsx("div",{className:"sass-pg-sec-itemContent banner-context",children:s.jsx(Ce,{banners:n??[],name:`block_2_${d[h+1]}`})}),s.jsx(Ya,{autorIcon:e.autorIcon,item:f,option:r,paths:e.paths,speculationPrerenderClass:e.speculationPrerender?.length&&h<e.speculationPrerender.length?e.speculationPrerender.class:void 0},h)]},h))}):s.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:s.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:l.sectionNotResultMessage})})})});case"op2":return s.jsx(s.Fragment,{children:t.length>0?s.jsx($a,{className:"padding-0",paginatorComponent:s.jsx(za,{texts:l,pathname:i,query:"",currentPage:a,maxPages:e.PAGINATION_MAX_PAGES,showNext:!(t.length<e.NEWS_PER_SECTION)}),children:Array.isArray(t)&&t?.map((f,h)=>s.jsxs(T.Fragment,{children:[u.includes(h+1)&&s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Ce,{banners:n??[],name:`block_2_${d[h+1]}`})}),s.jsx(Ya,{autorIcon:e.autorIcon,item:f,option:r,paths:e.paths,speculationPrerenderClass:e.speculationPrerender?.length&&h<e.speculationPrerender.length?e.speculationPrerender.class:void 0},h)]},h))}):s.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:s.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:l.sectionNotResultMessage})})});default:return s.jsx(s.Fragment,{})}},Hh=e=>{const{data:t}=e;return s.jsx("section",{className:"sass-pg-cont-content",children:t.map((a,n)=>s.jsx("div",{className:"sass-pg-cont-contactInfoContent",dangerouslySetInnerHTML:{__html:a.body.rendered}},n))})},Vh=e=>s.jsxs("section",{className:"sass-com-lnoc-container",children:[s.jsx("div",{className:"sass-com-lnoc-note",children:e.children}),s.jsx("div",{className:"sass-com-lnoc-commercial",children:s.jsxs("div",{className:"sass-com-lnoc-commercialContent",children:[e.slug==="liveblogs"&&s.jsx(jo,{itemList:e.itemList}),e.bannerTop,s.jsx(Gs,{content:e.ranking,title:String(e.texts.readestTitle??""),videosSectionLabel:e.texts.videosSectionTitle,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.readestCustomStyles}}),s.jsx("div",{style:{position:"sticky",top:"110px"},children:e.banner})]})}),s.jsx("div",{className:"sass-com-lnoc-complement",children:e.complement})]}),ii=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const n=e?.preview?.sizes?.[0]?.scale??void 0,o=(await a.getNewsMultimedia({path:t,imagesizes:n}))?.data?.data;if(!Array.isArray(o)||o.length===0)return null;const i=o[0],c=(Array.isArray(i?.videos)?i.videos:[]).find(d=>d?.type==="video-embedded");return c?.code?s.jsxs("div",{className:"sass-pg-veh-content",children:[s.jsx("div",{dangerouslySetInnerHTML:{__html:typeof c.code=="string"?c.code:""}}),c?.title&&s.jsx("p",{className:"sass-pg-veh-title",children:c.title})]}):null}catch{return null}},li=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const n=e?.preview?.sizes?.[0]?.scale??void 0,o=(await a.getNewsMultimedia({path:t,imagesizes:n}))?.data?.data;if(!Array.isArray(o)||o.length===0)return null;const i=o[0],c=(Array.isArray(i?.videos)?i.videos:[]).find(d=>d?.type==="video-youtube");return!c?.code||typeof c.code!="string"?null:s.jsxs("div",{className:"sass-pg-vyh-content",children:[s.jsx("iframe",{className:"sass-pg-vyh-iframeStyled",src:`https://www.youtube.com/embed/${c.code}`,frameBorder:"0",allowFullScreen:!0}),c?.title&&s.jsx("p",{className:"sass-pg-vyh-title",children:c.title})]})}catch{return null}},ci=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const n=e?.preview?.sizes?.[0]?.scale??void 0,o=(await a.getNews({path:t,imagesizes:n}))?.data?.data;if(!Array.isArray(o)||o.length===0)return null;const l=o[0]?.external?.iframe;return typeof l!="string"||l.trim()===""?null:s.jsx("div",{className:"sass-pg-ifh-content",dangerouslySetInnerHTML:{__html:l}})}catch{return null}},bt={videoEmbedded:"videoEmbedded",videoYouTube:"videoYouTube",iframe:"iframe",fotoGaleria:"fotogaleria"},zh={[bt.videoEmbedded]:ii,[bt.videoYouTube]:li,[bt.iframe]:ci},$h=({news:e,commonServices:t})=>{const{config:a,info:n}=e;a||Me("ArticulePreview","config");const r=a?.articlepreview,o=n?.link?.internal,i=r?zh[r]:null;return i?s.jsx("div",{className:"sass-pg-nap-content",children:s.jsx(i,{newsformated:e,internal:o,commonServices:t})}):null},di=e=>{const t=e.option==="liveblogs",a=e.subtitleBeforeImage?"sass-pg-news-headerSection--subtitleBeforeImage":"",n=()=>{if(!e.news[0]?.main?.title)return Me("HeaderSectionComponent","news[0].main.title"),null;const r={...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 s.jsx("header",{className:a||void 0,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":"auto","--news-description-title-line-clamp":"none",...e.headerSectionStyles?.liveblogs},children:s.jsx(Go,{...r,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px"})});default:return s.jsx("header",{className:["sass-pg-news-contentHeader",a].filter(Boolean).join(" "),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","--news-description-title-line-clamp":"none",...e.headerSectionStyles?.common},children:s.jsx(Ge,{...r,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px",cutSubtitle:!0,colorSubTitle:"black",isTitle:!0,paths:e.paths,newsDescriptionSectionTag:e.newsDescriptionSectionTag})})}};return s.jsxs(s.Fragment,{children:[s.jsx(n,{}),s.jsx(ut,{banners:e.banners,index:1,scope:e.scope}),!t&&e.commonServices&&s.jsx($h,{news:e.news[0],commonServices:e.commonServices})]})},Qh=e=>s.jsx("section",{className:"su-w-full sass-com-ccard-content",id:e.id,children:e.children}),Wh=async(e,t,a)=>{if(!a)return e;const n=/(<div[^>]*class=["'][^"']*ck-related-news[^"']*["'][^>]*>[\s\S]*?<span\b[^>]*data-src="([^"]+)"[^>]*>[\s\S]*?<\/span>[\s\S]*?<\/div>\s*<\/div>)/g,r=[...e.matchAll(n)];let o=e;for(const i of r){const l=i[1],c=i[2]??"";let d;if(a.forEach(y=>{Array.isArray(y)&&!d&&(d=y.find(N=>c.replaceAll("/","|").includes(N?.info.link.internal||"")))}),!d){const y=l.replace(/class=["']([^"']*ck-related-news[^"']*)["']/,'class="$1-empty"');o=o.replace(l,y);continue}const u=d.preview?.sizes?.[0],f=u?await ue(u.url):"",h=d.info.section?.url??"#",p=d.info.section?.name??"Sección",m=d.info.link?.url??"#",g=d.main?.title.article??"Título",b=(await Promise.all(d.preview?.sizes?.map(async y=>{const N=await ue(y.url);return y.width<200?`<source srcset="${N}" media="(width < 750px)"/>`:`<source srcset="${N}" media="(width >= 750px)"/>`})||[])).reduce((y,N)=>y+=N,""),w=l.match(/<span\b[^>]*data-src="[^"]+"[^>]*>[\s\S]*?<\/span>/),A=w?w[0]:"",v=`
|
|
431
431
|
<span data-src="${c}">
|
|
432
432
|
<picture style='display: flex'>
|
|
433
433
|
${b}
|