sass-template-common 0.9.68 → 0.9.70

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.
@@ -1065,6 +1065,9 @@ declare type HeaderProps = {
1065
1065
  childrenContentTag?: 'div' | 'article';
1066
1066
  custom_styles?: CSSProperties;
1067
1067
  mobileIcon?: any;
1068
+ prerender_classes?: {
1069
+ alert?: string;
1070
+ };
1068
1071
  };
1069
1072
 
1070
1073
  export declare const HeaderSectionComponent: FC<Props_12>;
@@ -1153,7 +1153,7 @@ const wd = ns, ur = async (e, t) => {
1153
1153
  const c = o[1] || o[3] || "", u = o[2]?.trim() || "";
1154
1154
  return Ma(c, u, i, e.name);
1155
1155
  }
1156
- return r.trim() ? /* @__PURE__ */ a(
1156
+ return r.trim() && /<[a-zA-Z]/.test(r) ? /* @__PURE__ */ a(
1157
1157
  "div",
1158
1158
  {
1159
1159
  dangerouslySetInnerHTML: { __html: r }
@@ -8512,13 +8512,16 @@ const iu = (e) => {
8512
8512
  ) }, i)) }) })
8513
8513
  ] }, n)) });
8514
8514
  }, nc = (e) => {
8515
- const { menu: t, alertZone: s, custom_styles: n = {} } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } = _();
8515
+ const { menu: t, alertZone: s, custom_styles: n = {}, prerender_classes: r } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: i } = _();
8516
8516
  return /* @__PURE__ */ p(
8517
8517
  "header",
8518
8518
  {
8519
8519
  className: "sass-com-h1st-headerStyled",
8520
8520
  id: "saas-header-static",
8521
- style: { ...n, top: e.cintillo || e.socialIcons && !e.headerTape?.static ? 40 : 0 },
8521
+ style: {
8522
+ ...n,
8523
+ top: e.cintillo || e.socialIcons && !e.headerTape?.static ? 40 : 0
8524
+ },
8522
8525
  children: [
8523
8526
  e.socialIcons && e.headerTape?.static && /* @__PURE__ */ a(
8524
8527
  Sn,
@@ -8538,45 +8541,64 @@ const iu = (e) => {
8538
8541
  s?.data ? "sass-com-h1st-hasAlertZone" : ""
8539
8542
  ].join(" "),
8540
8543
  children: [
8541
- /* @__PURE__ */ a("div", { className: "sass-com-h1st-menuButtonSection sass-header-menu-button", children: /* @__PURE__ */ p(
8542
- Is,
8544
+ /* @__PURE__ */ a(
8545
+ "div",
8543
8546
  {
8544
- className: "sass-com-h1st-menuButton",
8545
- id: "button-app",
8546
- toggledrawerevent: "true",
8547
- "aria-label": "menu",
8548
- "aria-labelledby": "menu",
8549
- title: "menu",
8550
- children: [
8551
- /* @__PURE__ */ a(Cn, { color: "var(--header-menu-icon-color, var(--header-icons))", width: 27, height: 27 }),
8552
- /* @__PURE__ */ a("p", { className: "sass-com-h1st-buttonText", style: { lineHeight: 0 }, children: e.menuText })
8553
- ]
8547
+ className: "sass-com-h1st-menuButtonSection sass-header-menu-button",
8548
+ children: /* @__PURE__ */ p(
8549
+ Is,
8550
+ {
8551
+ className: "sass-com-h1st-menuButton",
8552
+ id: "button-app",
8553
+ toggledrawerevent: "true",
8554
+ "aria-label": "menu",
8555
+ "aria-labelledby": "menu",
8556
+ title: "menu",
8557
+ children: [
8558
+ /* @__PURE__ */ a(
8559
+ Cn,
8560
+ {
8561
+ color: "var(--header-menu-icon-color, var(--header-icons))",
8562
+ width: 27,
8563
+ height: 27
8564
+ }
8565
+ ),
8566
+ /* @__PURE__ */ a("p", { className: "sass-com-h1st-buttonText", style: { lineHeight: 0 }, children: e.menuText })
8567
+ ]
8568
+ }
8569
+ )
8554
8570
  }
8555
- ) }),
8571
+ ),
8556
8572
  /* @__PURE__ */ a("div", { className: "sass-com-h1st-logoContent", children: /* @__PURE__ */ a(O, { href: "/", "aria-label": "Home", className: "header-logo-link", children: le.createElement(
8557
8573
  "span",
8558
8574
  { className: "sass-com-h1st-logoStyled" },
8559
8575
  e.icon
8560
8576
  ) }) }),
8561
- /* @__PURE__ */ p("div", { className: "sass-com-h1st-buttonSection sass-header-right-button-section", children: [
8562
- /* @__PURE__ */ a(
8563
- O,
8564
- {
8565
- block_subPublication: r?.buscar,
8566
- href: e.searchLink ? e.searchLink : "/buscar",
8567
- className: "sass-com-h1st-buttonSectionSearch",
8568
- "aria-label": e.searchKeyWord,
8569
- children: /* @__PURE__ */ a(xs, { width: 28, height: 28, color: "currentColor" })
8570
- }
8571
- ),
8572
- e.rightZone
8573
- ] }),
8577
+ /* @__PURE__ */ p(
8578
+ "div",
8579
+ {
8580
+ className: "sass-com-h1st-buttonSection sass-header-right-button-section",
8581
+ children: [
8582
+ /* @__PURE__ */ a(
8583
+ O,
8584
+ {
8585
+ block_subPublication: i?.buscar,
8586
+ href: e.searchLink ? e.searchLink : "/buscar",
8587
+ className: "sass-com-h1st-buttonSectionSearch",
8588
+ "aria-label": e.searchKeyWord,
8589
+ children: /* @__PURE__ */ a(xs, { width: 28, height: 28, color: "currentColor" })
8590
+ }
8591
+ ),
8592
+ e.rightZone
8593
+ ]
8594
+ }
8595
+ ),
8574
8596
  !e.showAlertPop && s?.data ? /* @__PURE__ */ p("div", { className: "sass-com-h1st-headLineContent", children: [
8575
8597
  /* @__PURE__ */ a("p", { className: "sass-com-h1st-headLineTitle headLineTitle", children: s.entity.description ? `${s.entity.description}` : "" }),
8576
8598
  /* @__PURE__ */ a(
8577
8599
  O,
8578
8600
  {
8579
- className: "sass-com-h1st-headLine",
8601
+ className: `sass-com-h1st-headLine ${r?.alert}`,
8580
8602
  href: s.data[0]?.info.link.url,
8581
8603
  target: s.data[0]?.info.link.target,
8582
8604
  title: s.data[0]?.main.title.home,
@@ -10,7 +10,7 @@ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
10
10
  j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
11
11
  'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
12
12
  })(window,document,'script','dataLayer','${e}');
13
- `}}),s.jsx("noscript",{children:s.jsx("iframe",{src:`https://www.googletagmanager.com/ns.html?id=${e}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]})},$s=()=>{const{ANALYTICS_marfeel:e}=D();return e&&s.jsx("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:`!function(){"use strict";function e(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],c=document.createElement("script");c.src=e,t?c.type="module":(c.defer=!0,c.type="text/javascript",c.setAttribute("nomodule",""));var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(c,n)}!function(t,c){!function(t,c,n){var a,o,r;n.accountId=c,null!==(a=t.marfeel)&&void 0!==a||(t.marfeel={}),null!==(o=(r=t.marfeel).cmd)&&void 0!==o||(r.cmd=[]),t.marfeel.config=n;var i="https://sdk.mrf.io/statics";e("".concat(i,"/marfeel-sdk.js?id=").concat(c),!0),e("".concat(i,"/marfeel-sdk.es5.js?id=").concat(c),!1)}(t,c,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})}(window,${e},{})}();`}})},Bn=({defaultRouteName:e})=>{const{CAPTCHA_KEY:t,CONFIG_comments:a=!1,CONFIG_commentsV2:r=!1}=D();return t&&t!==""&&(e==="video"&&a&&!r||e==="news"&&a&&!r||e==="auth"||e==="anuncia"||e==="contacto")&&s.jsx("script",{src:`https://www.google.com/recaptcha/enterprise.js?render=${t}`,async:!0,defer:!0})};function Qe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var it={exports:{}},On=it.exports,Zs;function Xs(){return Zs||(Zs=1,(function(e,t){(function(a,r){e.exports=r()})(On,(function(){var a=1e3,r=6e4,n=36e5,o="millisecond",i="second",l="minute",h="hour",c="day",d="week",u="month",m="quarter",g="year",f="date",p="Invalid Date",A=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,E={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var x=["th","st","nd","rd"],k=_%100;return"["+_+(x[(k-20)%10]||x[k]||x[0])+"]"}},N=function(_,x,k){var G=String(_);return!G||G.length>=x?_:""+Array(x+1-G.length).join(k)+_},S={s:N,z:function(_){var x=-_.utcOffset(),k=Math.abs(x),G=Math.floor(k/60),P=k%60;return(x<=0?"+":"-")+N(G,2,"0")+":"+N(P,2,"0")},m:function _(x,k){if(x.date()<k.date())return-_(k,x);var G=12*(k.year()-x.year())+(k.month()-x.month()),P=x.clone().add(G,u),W=k-P<0,y=x.clone().add(G+(W?-1:1),u);return+(-(G+(k-P)/(W?P-y:y-P))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:u,y:g,w:d,d:c,D:f,h,m:l,s:i,ms:o,Q:m}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},w="en",U={};U[w]=E;var L="$isDayjsObject",F=function(_){return _ instanceof V||!(!_||!_[L])},Y=function _(x,k,G){var P;if(!x)return w;if(typeof x=="string"){var W=x.toLowerCase();U[W]&&(P=W),k&&(U[W]=k,P=W);var y=x.split("-");if(!P&&y.length>1)return _(y[0])}else{var T=x.name;U[T]=x,P=T}return!G&&P&&(w=P),P||!G&&w},H=function(_,x){if(F(_))return _.clone();var k=typeof x=="object"?x:{};return k.date=_,k.args=arguments,new V(k)},B=S;B.l=Y,B.i=F,B.w=function(_,x){return H(_,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var V=(function(){function _(k){this.$L=Y(k.locale,null,!0),this.parse(k),this.$x=this.$x||k.x||{},this[L]=!0}var x=_.prototype;return x.parse=function(k){this.$d=(function(G){var P=G.date,W=G.utc;if(P===null)return new Date(NaN);if(B.u(P))return new Date;if(P instanceof Date)return new Date(P);if(typeof P=="string"&&!/Z$/i.test(P)){var y=P.match(A);if(y){var T=y[2]-1||0,M=(y[7]||"0").substring(0,3);return W?new Date(Date.UTC(y[1],T,y[3]||1,y[4]||0,y[5]||0,y[6]||0,M)):new Date(y[1],T,y[3]||1,y[4]||0,y[5]||0,y[6]||0,M)}}return new Date(P)})(k),this.init()},x.init=function(){var k=this.$d;this.$y=k.getFullYear(),this.$M=k.getMonth(),this.$D=k.getDate(),this.$W=k.getDay(),this.$H=k.getHours(),this.$m=k.getMinutes(),this.$s=k.getSeconds(),this.$ms=k.getMilliseconds()},x.$utils=function(){return B},x.isValid=function(){return this.$d.toString()!==p},x.isSame=function(k,G){var P=H(k);return this.startOf(G)<=P&&P<=this.endOf(G)},x.isAfter=function(k,G){return H(k)<this.startOf(G)},x.isBefore=function(k,G){return this.endOf(G)<H(k)},x.$g=function(k,G,P){return B.u(k)?this[G]:this.set(P,k)},x.unix=function(){return Math.floor(this.valueOf()/1e3)},x.valueOf=function(){return this.$d.getTime()},x.startOf=function(k,G){var P=this,W=!!B.u(G)||G,y=B.p(k),T=function(ee,$){var ne=B.w(P.$u?Date.UTC(P.$y,$,ee):new Date(P.$y,$,ee),P);return W?ne:ne.endOf(c)},M=function(ee,$){return B.w(P.toDate()[ee].apply(P.toDate("s"),(W?[0,0,0,0]:[23,59,59,999]).slice($)),P)},Q=this.$W,j=this.$M,z=this.$D,K="set"+(this.$u?"UTC":"");switch(y){case g:return W?T(1,0):T(31,11);case u:return W?T(1,j):T(0,j+1);case d:var J=this.$locale().weekStart||0,R=(Q<J?Q+7:Q)-J;return T(W?z-R:z+(6-R),j);case c:case f:return M(K+"Hours",0);case h:return M(K+"Minutes",1);case l:return M(K+"Seconds",2);case i:return M(K+"Milliseconds",3);default:return this.clone()}},x.endOf=function(k){return this.startOf(k,!1)},x.$set=function(k,G){var P,W=B.p(k),y="set"+(this.$u?"UTC":""),T=(P={},P[c]=y+"Date",P[f]=y+"Date",P[u]=y+"Month",P[g]=y+"FullYear",P[h]=y+"Hours",P[l]=y+"Minutes",P[i]=y+"Seconds",P[o]=y+"Milliseconds",P)[W],M=W===c?this.$D+(G-this.$W):G;if(W===u||W===g){var Q=this.clone().set(f,1);Q.$d[T](M),Q.init(),this.$d=Q.set(f,Math.min(this.$D,Q.daysInMonth())).$d}else T&&this.$d[T](M);return this.init(),this},x.set=function(k,G){return this.clone().$set(k,G)},x.get=function(k){return this[B.p(k)]()},x.add=function(k,G){var P,W=this;k=Number(k);var y=B.p(G),T=function(j){var z=H(W);return B.w(z.date(z.date()+Math.round(j*k)),W)};if(y===u)return this.set(u,this.$M+k);if(y===g)return this.set(g,this.$y+k);if(y===c)return T(1);if(y===d)return T(7);var M=(P={},P[l]=r,P[h]=n,P[i]=a,P)[y]||1,Q=this.$d.getTime()+k*M;return B.w(Q,this)},x.subtract=function(k,G){return this.add(-1*k,G)},x.format=function(k){var G=this,P=this.$locale();if(!this.isValid())return P.invalidDate||p;var W=k||"YYYY-MM-DDTHH:mm:ssZ",y=B.z(this),T=this.$H,M=this.$m,Q=this.$M,j=P.weekdays,z=P.months,K=P.meridiem,J=function($,ne,q,de){return $&&($[ne]||$(G,W))||q[ne].slice(0,de)},R=function($){return B.s(T%12||12,$,"0")},ee=K||function($,ne,q){var de=$<12?"AM":"PM";return q?de.toLowerCase():de};return W.replace(b,(function($,ne){return ne||(function(q){switch(q){case"YY":return String(G.$y).slice(-2);case"YYYY":return B.s(G.$y,4,"0");case"M":return Q+1;case"MM":return B.s(Q+1,2,"0");case"MMM":return J(P.monthsShort,Q,z,3);case"MMMM":return J(z,Q);case"D":return G.$D;case"DD":return B.s(G.$D,2,"0");case"d":return String(G.$W);case"dd":return J(P.weekdaysMin,G.$W,j,2);case"ddd":return J(P.weekdaysShort,G.$W,j,3);case"dddd":return j[G.$W];case"H":return String(T);case"HH":return B.s(T,2,"0");case"h":return R(1);case"hh":return R(2);case"a":return ee(T,M,!0);case"A":return ee(T,M,!1);case"m":return String(M);case"mm":return B.s(M,2,"0");case"s":return String(G.$s);case"ss":return B.s(G.$s,2,"0");case"SSS":return B.s(G.$ms,3,"0");case"Z":return y}return null})($)||y.replace(":","")}))},x.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},x.diff=function(k,G,P){var W,y=this,T=B.p(G),M=H(k),Q=(M.utcOffset()-this.utcOffset())*r,j=this-M,z=function(){return B.m(y,M)};switch(T){case g:W=z()/12;break;case u:W=z();break;case m:W=z()/3;break;case d:W=(j-Q)/6048e5;break;case c:W=(j-Q)/864e5;break;case h:W=j/n;break;case l:W=j/r;break;case i:W=j/a;break;default:W=j}return P?W:B.a(W)},x.daysInMonth=function(){return this.endOf(u).$D},x.$locale=function(){return U[this.$L]},x.locale=function(k,G){if(!k)return this.$L;var P=this.clone(),W=Y(k,G,!0);return W&&(P.$L=W),P},x.clone=function(){return B.w(this.$d,this)},x.toDate=function(){return new Date(this.valueOf())},x.toJSON=function(){return this.isValid()?this.toISOString():null},x.toISOString=function(){return this.$d.toISOString()},x.toString=function(){return this.$d.toUTCString()},_})(),te=V.prototype;return H.prototype=te,[["$ms",o],["$s",i],["$m",l],["$H",h],["$W",c],["$M",u],["$y",g],["$D",f]].forEach((function(_){te[_[1]]=function(x){return this.$g(x,_[0],_[1])}})),H.extend=function(_,x){return _.$i||(_(x,V,H),_.$i=!0),H},H.locale=Y,H.isDayjs=F,H.unix=function(_){return H(1e3*_)},H.en=U[w],H.Ls=U,H.p={},H}))})(it)),it.exports}var Mn=Xs();const Ae=Qe(Mn);var lt={exports:{}},qn=lt.exports,Rs;function Dn(){return Rs||(Rs=1,(function(e,t){(function(a,r){e.exports=r()})(qn,(function(){return function(a,r,n){a=a||{};var o=r.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function l(c,d,u,m){return o.fromToBase(c,d,u,m)}n.en.relativeTime=i,o.fromToBase=function(c,d,u,m,g){for(var f,p,A,b=u.$locale().relativeTime||i,E=a.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],N=E.length,S=0;S<N;S+=1){var w=E[S];w.d&&(f=m?n(c).diff(u,w.d,!0):u.diff(c,w.d,!0));var U=(a.rounding||Math.round)(Math.abs(f));if(A=f>0,U<=w.r||!w.r){U<=1&&S>0&&(w=E[S-1]);var L=b[w.l];g&&(U=g(""+U)),p=typeof L=="string"?L.replace("%d",U):L(U,d,w.l,A);break}}if(d)return p;var F=A?b.future:b.past;return typeof F=="function"?F(p):F.replace("%s",p)},o.to=function(c,d){return l(c,d,this,!0)},o.from=function(c,d){return l(c,d,this)};var h=function(c){return c.$u?n.utc():n()};o.toNow=function(c){return this.to(h(this),c)},o.fromNow=function(c){return this.from(h(this),c)}}}))})(lt)),lt.exports}var _n=Dn();const Gn=Qe(_n);var ct={exports:{}},jn=ct.exports,ea;function Qn(){return ea||(ea=1,(function(e,t){(function(a,r){e.exports=r(Xs())})(jn,(function(a){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var n=r(a),o={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(i){return i+"º"}};return n.default.locale(o,null,!0),o}))})(ct)),ct.exports}Qn();var dt={exports:{}},Hn=dt.exports,ta;function Fn(){return ta||(ta=1,(function(e,t){(function(a,r){e.exports=r()})(Hn,(function(){var a="minute",r=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(o,i,l){var h=i.prototype;l.utc=function(p){var A={date:p,utc:!0,args:arguments};return new i(A)},h.utc=function(p){var A=l(this.toDate(),{locale:this.$L,utc:!0});return p?A.add(this.utcOffset(),a):A},h.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=h.parse;h.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),c.call(this,p)};var d=h.init;h.init=function(){if(this.$u){var p=this.$d;this.$y=p.getUTCFullYear(),this.$M=p.getUTCMonth(),this.$D=p.getUTCDate(),this.$W=p.getUTCDay(),this.$H=p.getUTCHours(),this.$m=p.getUTCMinutes(),this.$s=p.getUTCSeconds(),this.$ms=p.getUTCMilliseconds()}else d.call(this)};var u=h.utcOffset;h.utcOffset=function(p,A){var b=this.$utils().u;if(b(p))return this.$u?0:b(this.$offset)?u.call(this):this.$offset;if(typeof p=="string"&&(p=(function(w){w===void 0&&(w="");var U=w.match(r);if(!U)return null;var L=(""+U[0]).match(n)||["-",0,0],F=L[0],Y=60*+L[1]+ +L[2];return Y===0?0:F==="+"?Y:-Y})(p),p===null))return this;var E=Math.abs(p)<=16?60*p:p;if(E===0)return this.utc(A);var N=this.clone();if(A)return N.$offset=E,N.$u=!1,N;var S=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(N=this.local().add(E+S,a)).$offset=E,N.$x.$localOffset=S,N};var m=h.format;h.format=function(p){var A=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,A)},h.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var g=h.toDate;h.toDate=function(p){return p==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var f=h.diff;h.diff=function(p,A,b){if(p&&this.$u===p.$u)return f.call(this,p,A,b);var E=this.local(),N=l(p).local();return f.call(E,N,A,b)}}}))})(dt)),dt.exports}var Vn=Fn();const zn=Qe(Vn);var ht={exports:{}},Wn=ht.exports,sa;function Yn(){return sa||(sa=1,(function(e,t){(function(a,r){e.exports=r()})(Wn,(function(){var a={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(n,o,i){var l,h=function(m,g,f){f===void 0&&(f={});var p=new Date(m),A=(function(b,E){E===void 0&&(E={});var N=E.timeZoneName||"short",S=b+"|"+N,w=r[S];return w||(w=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:b,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:N}),r[S]=w),w})(g,f);return A.formatToParts(p)},c=function(m,g){for(var f=h(m,g),p=[],A=0;A<f.length;A+=1){var b=f[A],E=b.type,N=b.value,S=a[E];S>=0&&(p[S]=parseInt(N,10))}var w=p[3],U=w===24?0:w,L=p[0]+"-"+p[1]+"-"+p[2]+" "+U+":"+p[4]+":"+p[5]+":000",F=+m;return(i.utc(L).valueOf()-(F-=F%1e3))/6e4},d=o.prototype;d.tz=function(m,g){m===void 0&&(m=l);var f,p=this.utcOffset(),A=this.toDate(),b=A.toLocaleString("en-US",{timeZone:m}),E=Math.round((A-new Date(b))/1e3/60),N=15*-Math.round(A.getTimezoneOffset()/15)-E;if(!Number(N))f=this.utcOffset(0,g);else if(f=i(b,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(N,!0),g){var S=f.utcOffset();f=f.add(p-S,"minute")}return f.$x.$timezone=m,f},d.offsetName=function(m){var g=this.$x.$timezone||i.tz.guess(),f=h(this.valueOf(),g,{timeZoneName:m}).find((function(p){return p.type.toLowerCase()==="timezonename"}));return f&&f.value};var u=d.startOf;d.startOf=function(m,g){if(!this.$x||!this.$x.$timezone)return u.call(this,m,g);var f=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(f,m,g).tz(this.$x.$timezone,!0)},i.tz=function(m,g,f){var p=f&&g,A=f||g||l,b=c(+i(),A);if(typeof m!="string")return i(m).tz(A);var E=(function(U,L,F){var Y=U-60*L*1e3,H=c(Y,F);if(L===H)return[Y,L];var B=c(Y-=60*(H-L)*1e3,F);return H===B?[Y,H]:[U-60*Math.min(H,B)*1e3,Math.max(H,B)]})(i.utc(m,p).valueOf(),b,A),N=E[0],S=E[1],w=i(N).utcOffset(S);return w.$x.$timezone=A,w},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(m){l=m}}}))})(ht)),ht.exports}var Kn=Yn();const Jn=Qe(Kn);Ae.extend(zn),Ae.extend(Jn),Ae.extend(Gn);const ut=e=>e==="en"?"en":"es",ye=(e,t)=>{const{PUBLIC_LNG:a,DATE_TIMEZONE:r}=t||D(),n=ut(a??"es");return Ae.tz(e,r).locale(n).format("DD MMMM YYYY")},mt=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=D(),r=ut(t??"es");return Ae.tz(e,a).locale(r).format(r==="en"?"MMMM DD YYYY [•] HH:mm [hs]":"DD [de] MMMM YYYY [•] HH:mm [hs]")},aa=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=D(),r=ut(t??"es");return Ae.tz(e,a).locale(r).format("MM/DD/YYYY [•] HH:mm [HS]")},$n=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=D(),r=ut(t??"es");return Ae.tz(e,a).locale(r).format("dddd DD [de] MMMM YYYY")},Be=(e,t)=>{if(!e)return"";const a=new Date(e),n=new Intl.DateTimeFormat("en-CA",{timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts(a),o={};n.forEach(g=>{g.type!=="literal"&&(o[g.type]=g.value)});const i=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),h=(new Date(a.toLocaleString("en-US",{timeZone:t})).getTime()-i.getTime())/6e4,c=h>=0?"+":"-",d=g=>String(Math.floor(Math.abs(g))).padStart(2,"0"),u=d(h/60),m=d(h%60);return`${o.year}-${o.month}-${o.day}T${o.hour}:${o.minute}:${o.second}${c}${u}:${m}`},Ce=(e,t=136)=>e&&e.length>t?`${e.substring(0,t)}...`:e;function Oe(e){return e&&e.status==="fulfilled"?e.value.data:null}function ra(e){return e&&e.status==="fulfilled"?e.value:null}const Zn={url:"",target:"_self",canonical:!1,internal:""},Xn={date:"",created:0,modified:0,firstpublish:0,lastpublish:0};function Rn(e){return e==null?"":typeof e=="string"?e:e.article??e.home??e.section??e.seo??""}const He=(e,t,a,r)=>{const n=Rn(e?.main?.title),o=e?.main?.description??"";return{authors:e?.main?.author?[{firstname:"",lastname:"",fullname:typeof e.main.author=="string"?e.main.author:String(e.main.author??"Redacción"),image:{sizes:[],description:""},name:"",internaluser:!1}]:[],social:{description:"",images:{facebook:"",twitter:""},title:""},info:{date:{...Xn,...e?.info?.date},link:e?.info?.link??Zn},preview:{sizes:e?.main?.image?.sizes??[],description:e?.main?.image?.description??""},config:{showtime:t??!1,showsubtitle:a??!1,showauthor:!!(r&&e?.main?.author)},main:{title:{article:n,home:n,seo:n,section:n},subtitle:{rendered:o,striped:o},tags:[]}}},na=/<div\b[^>]*class=["'][^"']*\bck-related-news\b[^"']*["'][^>]*>/gi;function ft(e){if(!e?.body?.rendered)return[];const t=e.body.rendered,a=[];let r=0;for(;r<t.length;){na.lastIndex=r;const n=na.exec(t);if(!n)break;const o=n.index+n[0].length;let i=1,l=o,h=o;for(;l<t.length&&i>0;){const g=t.slice(l),f=g.match(/<div\b/i),p=g.match(/<\/div>/i),A=f?.index??-1,b=p?.index??-1;if(b===-1)break;const E=A===-1?1/0:l+A,N=l+b;A!==-1&&A<b?(i+=1,l=E+f[0].length):(i-=1,h=N,l=N+p[0].length)}const c=t.slice(o,h),d=[],u=/<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;let m;for(;(m=u.exec(c))!==null;){const g=m[1];g&&d.push(g)}d.length>0&&a.push(d),r=l}return a}const eo=ft,oa=async(e,t)=>{const a=[];return e.forEach(o=>{o.forEach(i=>{const l=t({path:i.replaceAll("|","/"),imagesizes:"w:212,h:142,t:2;w:100,h:100,t:2",exclude:"config,keywords,authors,body,related,relatedexternal,social,external,hascontent,customfields,pixel"});l&&a.push(l)})}),(await Promise.allSettled(a)).map(o=>Oe(o)?.data)},Fe=()=>{const{PUBLIC_ENV:e,PUBLIC_API_HOST:t,PUBLIC_ASSETS_URL:a}=D();return e=="local"?t:a&&a!=="false"?a:""},to=()=>{const{PUBLIC_ENV:e,PUBLIC_API_FRONT:t}=D();return e==="local"?t:""},so=e=>{if(!e?.preview?.length)return null;const t=e.preview;return t.find(a=>a.format==="1.91:1")??t[t.length-1]},ia=({schemaImage:e,socialImage:t,fallbackImage:a,prefix:r,defaultWidth:n,defaultHeight:o,alt:i})=>e?.url?{url:r+e.url,width:e.width,height:e.height,alt:i}:{url:r+(t??a??""),width:n,height:o,alt:i},la=(e,t,a,r)=>{if(!t)return{};const{PUBLIC_ASSETS_URL:n,PUBLIC_API_FRONT:o,DATE_TIMEZONE:i="America/Mexico_City"}=D(),l=$t(t.keywords)??"",h=t?.preview?.sizes?t?.preview?.sizes[0]?.url:"",c=(n!=="false"?n:o)??"",d=so(r),u=t.main.title.article,m=ia({schemaImage:d,socialImage:t?.social?.images?.facebook,fallbackImage:h,prefix:c,defaultWidth:a.landscapeLogo.width,defaultHeight:a.landscapeLogo.height,alt:r?.description??u}),g=ia({schemaImage:d,socialImage:t?.social?.images?.twitter,fallbackImage:h,prefix:c,defaultWidth:a.twitterSummaryCard.width,defaultHeight:a.twitterSummaryCard.height,alt:r?.description??u});return{title:(t?.main?.title?.seo??t?.main?.title?.article)+" | "+a.name,robots:"index, follow, max-image-preview:large",alternates:{types:{"application/rss+xml":(a.siteUrl??"")+"/rss/feed.xml"},canonical:t?.info?.link?.canonical},description:t?.main?.subtitle?.striped??"",news_keywords:l,keywords:l,openGraph:{title:t?.social?.title?t?.social?.title:t?.main?.title?.article,url:t?.info?.link?.canonical,type:"article",description:t?.social?.description?t?.social?.description:t?.main?.subtitle?.striped??"",images:[m],siteName:a.name.toLocaleUpperCase(),locale:a.lang.startsWith("en")?"en_US":a.lang==="es"?"es_LA":a.lang.replace("-","_")},twitter:{title:t?.main?.title?.article,card:"summary_large_image",site:e.twitter.site,description:t?.main?.subtitle?.striped??"",images:[g]},article:{published_time:Be(t?.info?.date?.firstpublish,i),modified_time:Be(t?.info?.date?.lastpublish??t?.info?.date?.firstpublish,i),section:t?.info?.section?.name,author:t?.authors?.[0]?.fullname,tag:t?.keywords?.tags??[]}}},$t=e=>!e||!e?.tags||e?.tags?.length===0?"":e?.tags?.map(t=>t.name).join(", ").replaceAll('"',"'").replaceAll("`","'"),ca=e=>{const t=e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);return t?{slug:t[1]??"",path:t[2]??""}:{slug:"",path:""}},da=e=>e.replaceAll("/","").replaceAll("_","").replace(".html",""),ao={description:{attr:"name",value:"description"},robots:{attr:"name",value:"robots"},keywords:{attr:"name",value:"keywords"},news_keywords:{attr:"name",value:"news_keywords"},"openGraph.title":{attr:"property",value:"og:title"},"openGraph.description":{attr:"property",value:"og:description"},"openGraph.type":{attr:"property",value:"og:type"},"openGraph.url":{attr:"property",value:"og:url"},"openGraph.siteName":{attr:"property",value:"og:site_name"},"openGraph.locale":{attr:"property",value:"og:locale"},"twitter.card":{attr:"name",value:"twitter:card"},"twitter.title":{attr:"name",value:"twitter:title"},"twitter.description":{attr:"name",value:"twitter:description"},"twitter.site":{attr:"name",value:"twitter:site"},"twitter.creator":{attr:"name",value:"twitter:creator"}},ha=e=>{const t=[];let a=0;const r=i=>t.push(i);return e.title&&typeof e.title=="string"&&r(s.jsx("title",{children:e.title},`title-${a++}`)),Object.entries(ao).forEach(([i,l])=>{const h=i.split(".").reduce((c,d)=>c?.[d],e);h&&r(s.jsx("meta",{[l.attr]:l.value,content:String(h)},`meta-${a++}`))}),(e.openGraph?.images?Array.isArray(e.openGraph.images)?e.openGraph.images:[e.openGraph.images]:[]).forEach(i=>{i&&(typeof i=="string"?r(s.jsx("meta",{property:"og:image",content:i},`og-img-${a++}`)):(i.url&&r(s.jsx("meta",{property:"og:image",content:i.url},`og-img-${a++}`)),i.width&&r(s.jsx("meta",{property:"og:image:width",content:String(i.width)},`og-img-w-${a++}`)),i.height&&r(s.jsx("meta",{property:"og:image:height",content:String(i.height)},`og-img-h-${a++}`)),i.alt&&r(s.jsx("meta",{property:"og:image:alt",content:String(i.alt)},`og-img-alt-${a++}`))))}),(e.twitter?.images?Array.isArray(e.twitter.images)?e.twitter.images:[e.twitter.images]:[]).forEach(i=>{i&&(typeof i=="string"?r(s.jsx("meta",{name:"twitter:image",content:i},`tw-img-${a++}`)):(i.url&&r(s.jsx("meta",{name:"twitter:image",content:i.url},`tw-img-${a++}`)),i.width&&r(s.jsx("meta",{name:"twitter:image:width",content:String(i.width)},`tw-img-w-${a++}`)),i.height&&r(s.jsx("meta",{name:"twitter:image:height",content:String(i.height)},`tw-img-h-${a++}`)),i.alt&&r(s.jsx("meta",{name:"twitter:image:alt",content:String(i.alt)},`tw-img-alt-${a++}`))))}),e.article&&(r(s.jsx("meta",{property:"article:published_time",content:e.article.published_time})),r(s.jsx("meta",{property:"article:modified_time",content:e.article.modified_time})),r(s.jsx("meta",{property:"article:section",content:e.article.section})),r(s.jsx("meta",{property:"article:author",content:e.article.author})),Array.isArray(e.article.tag)&&e.article.tag.length>0&&e.article.tag.forEach(i=>{r(s.jsx("meta",{property:"article:tag",content:i.name}))})),e.alternates?.canonical&&r(s.jsx("link",{rel:"canonical",href:String(e.alternates.canonical)},`link-${a++}`)),e.manifest&&r(s.jsx("link",{rel:"manifest",href:String(e.manifest)},`link-${a++}`)),e.alternates?.types&&Object.entries(e.alternates.types).forEach(([i,l])=>{typeof l=="string"&&r(s.jsx("link",{rel:"alternate",type:i,href:l},`alt-${a++}`))}),e.icons&&[...e.icons?.icon??[],...e.icons?.other??[]].forEach(l=>{l&&r(typeof l=="string"?s.jsx("link",{rel:"icon",href:l},`icon-${a++}`):s.jsx("link",{rel:l.rel||"icon",href:l.url,...l.type&&{type:l.type},...l.sizes&&{sizes:l.sizes}},`icon-${a++}`))}),e.other&&Object.entries(e.other).forEach(([i,l])=>{l&&r(s.jsx("meta",{name:i,content:String(l)},`other-${a++}`))}),t},ie=async e=>{const t=Fe()??"",a=e;return a?.startsWith("http")||a?.includes(t)||t===""?a:t+a},gt=(e,t)=>{const a=e||"";return t?a.replaceAll("[section_replace]",t["[section_replace]"]??"").replaceAll("[tag_replace]",t["[tag_replace]"]??"").replaceAll("[url_replace]",t["[url_replace]"]??"").replaceAll("[author_replace]",t["[author_replace]"]??"")||"":a||""},ro=e=>{const t={};if(!e)return t;const a=/([^\s=]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'>]+)))?/g;let r;for(;r=a.exec(e);){const n=r[1],o=r[2]??r[3]??r[4]??!0;t[n]=o}return t},no=e=>{const t=e.match(/\bsrc\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/i);return t?.[1]||t?.[2]||t?.[3]||null},ua=(e,t,a,r)=>{try{const n=ro(e);return n.src?s.jsx("script",{"data-bs-name":r,...n},a):s.jsx("script",{...n,dangerouslySetInnerHTML:{__html:t}},a)}catch{const o=no(e);return o?s.jsx("script",{"data-bs-name":r,src:o,async:!0,defer:!0},a):null}},oo=e=>{const t=/<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/gi;return[...e.matchAll(t)]},Zt=e=>{const t=e.banners.find(n=>n.key===e.name);if(!t||!t.show)return null;const a=gt(t.value||"",e.replaces),r=oo(a);return s.jsx(s.Fragment,{children:r.map((n,o)=>{const i=n[1]||n[3]||"",l=n[2]?.trim()||"";return ua(i,l,o,e.name)})})},ma=e=>{const t=e.banners.find(n=>n.key===e.name);if(!t||!t.show)return null;const r=gt(t.value||"",e.replaces).split(/(<script\b[\s\S]*?<\/script\s*>|<script\b[^>]*\/?>)/gi);return s.jsx(s.Fragment,{children:r.map((n,o)=>{const i=n.match(/<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/i);if(i){const l=i[1]||i[3]||"",h=i[2]?.trim()||"";return ua(l,h,o,e.name)}return n.trim()?s.jsx("div",{dangerouslySetInnerHTML:{__html:n}},o):null})})},Ze=(e,t,a)=>{let r=e.siteUrl;return t.forEach((n,o)=>{o>0&&(r+=`/${n}`)}),`${r}/page/${a+1}`},Xe=(e,t,a)=>{let r=e.siteUrl;return t.forEach((n,o)=>{o>0&&(r+=`/${n}`)}),`${r}/page/${a-1}`};function io(e){const t=e.length;return t>1&&e.charCodeAt(t-1)===47?e.slice(0,t-1):e}const fa=()=>{const{PUBLIC_ASSETS_URL:e}=D();return e&&e!=="false"&&s.jsx("link",{rel:"preconnect",href:e,crossOrigin:"anonymous"})},{PUBLIC_ASSETS_URL:Xt}=D(),lo=Xt&&Xt!=="false"?Xt:"",Rt=({images:e})=>s.jsx(s.Fragment,{children:e.map((t,a)=>t.href!==""&&s.jsx("link",{rel:"preload",href:lo+t.href,media:t.media??"",as:"image",fetchPriority:t.fetchPriority??"high"},a))}),ga=(e,t,a)=>{if(!t)return{};const{PUBLIC_API_FRONT:r}=D();return{title:t?.main?.title+" | "+a.name,robots:"index, follow, max-image-preview:large",alternates:{canonical:a.siteUrl+t?.info?.link?.url},description:t.main.description??"",news_keywords:t.main.tags,keywords:t.main.tags,openGraph:{title:t.main.title,url:t?.info?.link?.canonical,type:"article",description:t.main.description??"",images:[{url:(r??"")+t?.main.image.sizes[0]?.url,width:a.landscapeLogo.width,height:a.landscapeLogo.height}],siteName:a.name.toLocaleUpperCase(),locale:a.lang.startsWith("en")?"en_US":a.lang==="es"?"es_LA":a.lang.replace("-","_")},twitter:{title:t?.main?.title,card:"summary_large_image",site:e.twitter.site,description:t?.main.description??"",images:[{url:(r??"")+t?.main.image.sizes[0]?.url,width:a.twitterSummaryCard.width,height:a.twitterSummaryCard.height}]}}},co=e=>{let t="";if(e.params.news.match(/.*t[0-9]*.html/g)){const a=e.params.news.split("-"),r=a[a.length-1]??"",n=r.substring(1,9),o=r.substring(9,13);t=`/listas/${Ae(n).format("YYYY/MM/DD")}/lista_${o}.html`}else if(e.params.news.match(/.*lb[0-9]*.html/g)){const a=e.params.news.split("-"),r=a[a.length-1]??"",n=r.substring(2,10),o=r.substring(10,14);t=`/liveblog/${Ae(n).format("YYYY/MM/DD")}/liveblog_${o}.html`}else{const r=e.params.news.replace(/\.html$/g,"").split("-");Array.isArray(r)&&(t=`/contenidos/${Ae(r[r.length-2]).format("YYYY/MM/DD")}/noticia_${r[r.length-1]}.html`)}return e.config.servicePrefix+t};function ho(e){const t=e.lastIndexOf("-"),a=t>=0?[e.slice(0,t),e.slice(t+1)]:[e],r=a[a.length-1]?.split("."),n=r&&r[0]?r[0]:"",o=n.substring(0,2),i=n.substring(2,10),l=n.substring(10);return{path:{vy:c=>`/videos/video-youtube/${Ae(i).format("YYYY/MM/DD")}/videoYouTube_${c}.lnk`,ve:c=>`/videos/video-embedded/${Ae(i).format("YYYY/MM/DD")}/videoEmbedded_${c}.lnk`,vf:c=>`/videos/video-flash/${Ae(i).format("YYYY/MM/DD")}/${a[0]}.${c}`}[o]?.(l)??"",op:o}}const Ue=(e,t)=>{const a=e.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ñ/g,"n").replace(/Ñ/g,"n").replace(/[^\w\s]/gi,"").replaceAll(" ","-").toLowerCase();return t?.tema?`/${t.tema}/${a}-t${e.id}`:`/${a}-t${e.id}`},uo=e=>{const{AssetsPrefix:t="",AssetsPath:a="src",isDev:r=!1}=e;return r?"src":t+a},mo=async(e,t,a,r)=>{const{FETCH_TAG_BASED_RELATED_NEWS:n=!1,FETCH_SIZE_RELATED_NEWS:o=10}=D();if(!e)return[];try{if(e.related&&e.related?.automatic===!1&&e.related?.news&&e.related?.news.length>0)return(await a.getNewsListPath({path:e.related.news.map(l=>l.path).join(";"),exclude:"gallery,related,relatedexternal,external,customfields",imagesizes:r.md}))?.data?.data??[];{const i=e&&e.keywords&&e.keywords.tags&&e.keywords.tags[0];return((e?i&&n?await a.getNewsListAvanced({query:'claves:("'+e.keywords?.tags[0].name+'")',exclude:"gallery,related,relatedexternal,external,customfields",imagesizes:r.md,size:o+1}):await a.getNewsItemsRelated(t.split("/").join("|"),{size:o}):null)?.data?.data??[]).filter(c=>c.info.link.internal!==t.split("/").join("|"))}}catch(i){console.log(i)}},fo="https://recaptchaenterprise.googleapis.com/v1/projects",go=async({projectID:e,recaptchaKey:t,token:a,recaptchaAction:r,apiKey:n,userAgent:o,userIpAddress:i})=>{if(!e||!t||!a||!n)return console.warn("createAssessment: faltan parámetros requeridos"),null;const l=`${fo}/${e}/assessments?key=${n}`,h={event:{token:a,siteKey:t,expectedAction:r,...o&&{userAgent:o},...i&&{userIpAddress:i}}};try{const c=await fetch(l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(h)});if(!c.ok)return console.error("createAssessment API error:",c.status,await c.text()),null;const d=await c.json();if(!d?.tokenProperties?.valid)return console.log(`CreateAssessment falló - token inválido: ${d?.tokenProperties?.invalidReason??"unknown"}`),null;if(d.tokenProperties.action!==r)return console.log("La acción en reCAPTCHA no coincide con la esperada:",r),null;const u=d?.riskAnalysis?.score;return u!==void 0&&(console.log("reCAPTCHA score:",u),d?.riskAnalysis?.reasons?.forEach(m=>console.log(m))),typeof u=="number"?u:null}catch(c){return console.error("createAssessment error:",c),null}};function po(e,t){if(t==="comentarios")return;const a=e[t];return typeof a=="string"||a===void 0?a:void 0}const Ao=e=>e?.body?.rendered.includes("ck-image-gallery")||e?.config?.articlepreview==="fotogaleria"&&e?.hascontent?.hasgalleryimages;function wo(e){const t={};for(const[a,r]of Object.entries(e)){const n=btoa(a).split("").reverse().join("");typeof r=="string"?t[n]=btoa(r).split("").reverse().join(""):t[n]=r}return t}function es(e){const t={};for(const[a,r]of Object.entries(e)){const n=atob(a.split("").reverse().join(""));if(typeof r=="string")try{t[n]=atob(r.split("").reverse().join(""))}catch{t[n]=r}else t[n]=r}return t}const bo=async(e,t,a)=>{const{info:r,preview:n}=e,o=e?.config?.homepreview||"imagen",i=o==="clip"&&e?.hascontent?.hasgalleryvideosflash,l={...n};if(o==="videoYouTube"||o==="videoEmbedded"||i){const h=await t.getNewsMultimedia({path:r.link.internal,imagesizes:a});if(h&&h.data)return{...e,preview:l,videos:h.data.data[0].videos??[]}}if(o==="fotogaleria"){const h=await t.getNewsMultimedia({path:r.link.internal,imagesizes:a});if(h&&h.data){const c=await Promise.all(h.data.data[0].gallery.map(async d=>({...d})));return{...e,preview:l,gallery:c??[]}}}return{...e,preview:l}},pa={prerender:[{where:{and:[{href_matches:"/*(-|-t|-lb)([0-9]{8})(-|)([0-9]{4,6}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}]},Aa={prerender:[{where:{and:[{href_matches:"/*(-|-t|-lb)([0-9]{8})(-|)([0-9]{4,6}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"},{eagerness:"moderate",urls:["/"]}]},vo={Home:pa,Common:Aa},wa=({active:e,type:t,customSpeculation:a})=>e&&s.jsx("script",{type:"speculationrules",dangerouslySetInnerHTML:{__html:JSON.stringify(a??vo[t])}}),pt=async(e,t,a)=>{if(a)return a.get(`/schemas${t}`,{params:e}).catch(r=>{console.log(`[/schemas${t}] Error: ${r.message}`)})},yo={autor:"autor",seccion:"seccion",tema:"claves","ultimas-noticias":"seccion"},ba=async({config:e,axiosApi:t,pathname:a,ROUTE:r})=>{const{PUBLIC_PUBLICATION_ID:n=""}=D();let o=[];const i=a==="/"||a==="/index.html"?void 0:Ea(Ta[r]({pathname:a,config:e})),l=yo[r]??void 0,h={newstype:e.newsType,publication:Number(n),...i&&l?{query:`${l}:('${i}')`}:{}};try{const c=await pt(h,"/news-list-summary",t);c?.data?.data?o=c.data.data:console.warn("getSchemas responded but did not contain expected data:",c)}catch(c){console.log("Error fetching schemas:",c)}return Object.keys(o).length>0&&s.jsx("script",{id:"webSiteItemListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(o)}})};function At(e){const{PUBLIC_ASSETS_URL:t}=D();if(!t||t==="false")return e;const a=t.replace(/\/+$/,""),r=/https?:\/\/[^/\s]+\/(arte|__export)\//g;return e.replace(r,(n,o)=>`${a}/${o}/`)}const va=async({realPath:e,config:t,BASE_URL:a,axiosApi:r})=>{const{PUBLIC_SERVICE_PREFIX:n,PUBLIC_IS_SUB_PUBLICATION:o}=D();let i=[];try{const l=t.socialBlockLogo?.url?new URL(t.socialBlockLogo.url).pathname:void 0,h=t.landscapeLogo?.url?new URL(t.landscapeLogo.url).pathname:void 0,c={path:e,image:h,logo:l,url:t.siteUrl,name:t.name,logow:t.socialBlockLogo?.width,logoh:t.socialBlockLogo?.height,authorurl:a+"/autor/"},d=e.split("/")[1],u=d=="liveblogs"||d=="liveblog"?["/news","/news-breadcrumb","/news-liveblog"]:["/news","/news-breadcrumb"],m=t.paths.tema!==""?"/"+t.paths.tema:t.paths.tema,g=n!=="false"&&o!=="false"?"/"+n+m:m;i=(await Promise.all(u.map(async p=>{const A=p==="/news-breadcrumb"?{...c,prefixtag:g}:p==="/news"&&t.schemasNewsParams?{...c,...t.schemasNewsParams}:c;return await pt(A,p,r)}))).map(p=>p?.data?.data??[])}catch(l){console.log("Error fetching schemas:",l)}return i.map((l,h)=>s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:At(JSON.stringify(l))}},h))},ya=({config:e,socials:t})=>{const a={"@context":"https://schema.org","@type":"NewsMediaOrganization",name:e.name,description:e.description,email:e.email,url:e.siteUrl,logo:e.squareLogo.url,sameAs:Object.keys(t).filter(r=>t[r]?.show).map(r=>t[r]?.url)};return(!e.description||e.description==="")&&delete a.description,s.jsx("script",{id:"WebsiteOrgListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a)}})},Ca=({config:e})=>{const t={"@context":"https://schema.org","@type":"WebSite",name:e.name,url:e.siteUrl,potentialAction:{"@type":"SearchAction",target:e.siteUrl+"/buscar?query={search_term_string}","query-input":"required name=search_term_string"}};return s.jsx("script",{id:"WebsiteListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}})},Na=async({realPath:e,config:t,axiosApi:a})=>{try{const r={path:e,image:t.landscapeLogo?.url?new URL(t.landscapeLogo.url).pathname:void 0,logo:t.socialBlockLogo?.url?new URL(t.socialBlockLogo.url).pathname:void 0,url:t.siteUrl,name:t.name,logow:t.socialBlockLogo?.width,logoh:t.socialBlockLogo?.height,authorurl:`${t.siteUrl}/autor/`},o=(await pt(r,"/videos",a))?.data.data;return o?s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:At(JSON.stringify(o))}}):void 0}catch(r){return console.error("Error fetching video schemas:",r),null}},Sa=({config:e})=>{const t=`@font-face {
13
+ `}}),s.jsx("noscript",{children:s.jsx("iframe",{src:`https://www.googletagmanager.com/ns.html?id=${e}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]})},$s=()=>{const{ANALYTICS_marfeel:e}=D();return e&&s.jsx("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:`!function(){"use strict";function e(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],c=document.createElement("script");c.src=e,t?c.type="module":(c.defer=!0,c.type="text/javascript",c.setAttribute("nomodule",""));var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(c,n)}!function(t,c){!function(t,c,n){var a,o,r;n.accountId=c,null!==(a=t.marfeel)&&void 0!==a||(t.marfeel={}),null!==(o=(r=t.marfeel).cmd)&&void 0!==o||(r.cmd=[]),t.marfeel.config=n;var i="https://sdk.mrf.io/statics";e("".concat(i,"/marfeel-sdk.js?id=").concat(c),!0),e("".concat(i,"/marfeel-sdk.es5.js?id=").concat(c),!1)}(t,c,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})}(window,${e},{})}();`}})},Bn=({defaultRouteName:e})=>{const{CAPTCHA_KEY:t,CONFIG_comments:a=!1,CONFIG_commentsV2:r=!1}=D();return t&&t!==""&&(e==="video"&&a&&!r||e==="news"&&a&&!r||e==="auth"||e==="anuncia"||e==="contacto")&&s.jsx("script",{src:`https://www.google.com/recaptcha/enterprise.js?render=${t}`,async:!0,defer:!0})};function Qe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var it={exports:{}},On=it.exports,Zs;function Xs(){return Zs||(Zs=1,(function(e,t){(function(a,r){e.exports=r()})(On,(function(){var a=1e3,r=6e4,n=36e5,o="millisecond",i="second",l="minute",h="hour",c="day",d="week",u="month",m="quarter",g="year",f="date",p="Invalid Date",A=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,E={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var x=["th","st","nd","rd"],k=_%100;return"["+_+(x[(k-20)%10]||x[k]||x[0])+"]"}},N=function(_,x,k){var G=String(_);return!G||G.length>=x?_:""+Array(x+1-G.length).join(k)+_},S={s:N,z:function(_){var x=-_.utcOffset(),k=Math.abs(x),G=Math.floor(k/60),P=k%60;return(x<=0?"+":"-")+N(G,2,"0")+":"+N(P,2,"0")},m:function _(x,k){if(x.date()<k.date())return-_(k,x);var G=12*(k.year()-x.year())+(k.month()-x.month()),P=x.clone().add(G,u),W=k-P<0,y=x.clone().add(G+(W?-1:1),u);return+(-(G+(k-P)/(W?P-y:y-P))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:u,y:g,w:d,d:c,D:f,h,m:l,s:i,ms:o,Q:m}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},w="en",U={};U[w]=E;var L="$isDayjsObject",F=function(_){return _ instanceof V||!(!_||!_[L])},Y=function _(x,k,G){var P;if(!x)return w;if(typeof x=="string"){var W=x.toLowerCase();U[W]&&(P=W),k&&(U[W]=k,P=W);var y=x.split("-");if(!P&&y.length>1)return _(y[0])}else{var T=x.name;U[T]=x,P=T}return!G&&P&&(w=P),P||!G&&w},H=function(_,x){if(F(_))return _.clone();var k=typeof x=="object"?x:{};return k.date=_,k.args=arguments,new V(k)},B=S;B.l=Y,B.i=F,B.w=function(_,x){return H(_,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var V=(function(){function _(k){this.$L=Y(k.locale,null,!0),this.parse(k),this.$x=this.$x||k.x||{},this[L]=!0}var x=_.prototype;return x.parse=function(k){this.$d=(function(G){var P=G.date,W=G.utc;if(P===null)return new Date(NaN);if(B.u(P))return new Date;if(P instanceof Date)return new Date(P);if(typeof P=="string"&&!/Z$/i.test(P)){var y=P.match(A);if(y){var T=y[2]-1||0,M=(y[7]||"0").substring(0,3);return W?new Date(Date.UTC(y[1],T,y[3]||1,y[4]||0,y[5]||0,y[6]||0,M)):new Date(y[1],T,y[3]||1,y[4]||0,y[5]||0,y[6]||0,M)}}return new Date(P)})(k),this.init()},x.init=function(){var k=this.$d;this.$y=k.getFullYear(),this.$M=k.getMonth(),this.$D=k.getDate(),this.$W=k.getDay(),this.$H=k.getHours(),this.$m=k.getMinutes(),this.$s=k.getSeconds(),this.$ms=k.getMilliseconds()},x.$utils=function(){return B},x.isValid=function(){return this.$d.toString()!==p},x.isSame=function(k,G){var P=H(k);return this.startOf(G)<=P&&P<=this.endOf(G)},x.isAfter=function(k,G){return H(k)<this.startOf(G)},x.isBefore=function(k,G){return this.endOf(G)<H(k)},x.$g=function(k,G,P){return B.u(k)?this[G]:this.set(P,k)},x.unix=function(){return Math.floor(this.valueOf()/1e3)},x.valueOf=function(){return this.$d.getTime()},x.startOf=function(k,G){var P=this,W=!!B.u(G)||G,y=B.p(k),T=function(ee,$){var ne=B.w(P.$u?Date.UTC(P.$y,$,ee):new Date(P.$y,$,ee),P);return W?ne:ne.endOf(c)},M=function(ee,$){return B.w(P.toDate()[ee].apply(P.toDate("s"),(W?[0,0,0,0]:[23,59,59,999]).slice($)),P)},Q=this.$W,j=this.$M,z=this.$D,K="set"+(this.$u?"UTC":"");switch(y){case g:return W?T(1,0):T(31,11);case u:return W?T(1,j):T(0,j+1);case d:var J=this.$locale().weekStart||0,R=(Q<J?Q+7:Q)-J;return T(W?z-R:z+(6-R),j);case c:case f:return M(K+"Hours",0);case h:return M(K+"Minutes",1);case l:return M(K+"Seconds",2);case i:return M(K+"Milliseconds",3);default:return this.clone()}},x.endOf=function(k){return this.startOf(k,!1)},x.$set=function(k,G){var P,W=B.p(k),y="set"+(this.$u?"UTC":""),T=(P={},P[c]=y+"Date",P[f]=y+"Date",P[u]=y+"Month",P[g]=y+"FullYear",P[h]=y+"Hours",P[l]=y+"Minutes",P[i]=y+"Seconds",P[o]=y+"Milliseconds",P)[W],M=W===c?this.$D+(G-this.$W):G;if(W===u||W===g){var Q=this.clone().set(f,1);Q.$d[T](M),Q.init(),this.$d=Q.set(f,Math.min(this.$D,Q.daysInMonth())).$d}else T&&this.$d[T](M);return this.init(),this},x.set=function(k,G){return this.clone().$set(k,G)},x.get=function(k){return this[B.p(k)]()},x.add=function(k,G){var P,W=this;k=Number(k);var y=B.p(G),T=function(j){var z=H(W);return B.w(z.date(z.date()+Math.round(j*k)),W)};if(y===u)return this.set(u,this.$M+k);if(y===g)return this.set(g,this.$y+k);if(y===c)return T(1);if(y===d)return T(7);var M=(P={},P[l]=r,P[h]=n,P[i]=a,P)[y]||1,Q=this.$d.getTime()+k*M;return B.w(Q,this)},x.subtract=function(k,G){return this.add(-1*k,G)},x.format=function(k){var G=this,P=this.$locale();if(!this.isValid())return P.invalidDate||p;var W=k||"YYYY-MM-DDTHH:mm:ssZ",y=B.z(this),T=this.$H,M=this.$m,Q=this.$M,j=P.weekdays,z=P.months,K=P.meridiem,J=function($,ne,q,de){return $&&($[ne]||$(G,W))||q[ne].slice(0,de)},R=function($){return B.s(T%12||12,$,"0")},ee=K||function($,ne,q){var de=$<12?"AM":"PM";return q?de.toLowerCase():de};return W.replace(b,(function($,ne){return ne||(function(q){switch(q){case"YY":return String(G.$y).slice(-2);case"YYYY":return B.s(G.$y,4,"0");case"M":return Q+1;case"MM":return B.s(Q+1,2,"0");case"MMM":return J(P.monthsShort,Q,z,3);case"MMMM":return J(z,Q);case"D":return G.$D;case"DD":return B.s(G.$D,2,"0");case"d":return String(G.$W);case"dd":return J(P.weekdaysMin,G.$W,j,2);case"ddd":return J(P.weekdaysShort,G.$W,j,3);case"dddd":return j[G.$W];case"H":return String(T);case"HH":return B.s(T,2,"0");case"h":return R(1);case"hh":return R(2);case"a":return ee(T,M,!0);case"A":return ee(T,M,!1);case"m":return String(M);case"mm":return B.s(M,2,"0");case"s":return String(G.$s);case"ss":return B.s(G.$s,2,"0");case"SSS":return B.s(G.$ms,3,"0");case"Z":return y}return null})($)||y.replace(":","")}))},x.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},x.diff=function(k,G,P){var W,y=this,T=B.p(G),M=H(k),Q=(M.utcOffset()-this.utcOffset())*r,j=this-M,z=function(){return B.m(y,M)};switch(T){case g:W=z()/12;break;case u:W=z();break;case m:W=z()/3;break;case d:W=(j-Q)/6048e5;break;case c:W=(j-Q)/864e5;break;case h:W=j/n;break;case l:W=j/r;break;case i:W=j/a;break;default:W=j}return P?W:B.a(W)},x.daysInMonth=function(){return this.endOf(u).$D},x.$locale=function(){return U[this.$L]},x.locale=function(k,G){if(!k)return this.$L;var P=this.clone(),W=Y(k,G,!0);return W&&(P.$L=W),P},x.clone=function(){return B.w(this.$d,this)},x.toDate=function(){return new Date(this.valueOf())},x.toJSON=function(){return this.isValid()?this.toISOString():null},x.toISOString=function(){return this.$d.toISOString()},x.toString=function(){return this.$d.toUTCString()},_})(),te=V.prototype;return H.prototype=te,[["$ms",o],["$s",i],["$m",l],["$H",h],["$W",c],["$M",u],["$y",g],["$D",f]].forEach((function(_){te[_[1]]=function(x){return this.$g(x,_[0],_[1])}})),H.extend=function(_,x){return _.$i||(_(x,V,H),_.$i=!0),H},H.locale=Y,H.isDayjs=F,H.unix=function(_){return H(1e3*_)},H.en=U[w],H.Ls=U,H.p={},H}))})(it)),it.exports}var Mn=Xs();const Ae=Qe(Mn);var lt={exports:{}},qn=lt.exports,Rs;function Dn(){return Rs||(Rs=1,(function(e,t){(function(a,r){e.exports=r()})(qn,(function(){return function(a,r,n){a=a||{};var o=r.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function l(c,d,u,m){return o.fromToBase(c,d,u,m)}n.en.relativeTime=i,o.fromToBase=function(c,d,u,m,g){for(var f,p,A,b=u.$locale().relativeTime||i,E=a.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],N=E.length,S=0;S<N;S+=1){var w=E[S];w.d&&(f=m?n(c).diff(u,w.d,!0):u.diff(c,w.d,!0));var U=(a.rounding||Math.round)(Math.abs(f));if(A=f>0,U<=w.r||!w.r){U<=1&&S>0&&(w=E[S-1]);var L=b[w.l];g&&(U=g(""+U)),p=typeof L=="string"?L.replace("%d",U):L(U,d,w.l,A);break}}if(d)return p;var F=A?b.future:b.past;return typeof F=="function"?F(p):F.replace("%s",p)},o.to=function(c,d){return l(c,d,this,!0)},o.from=function(c,d){return l(c,d,this)};var h=function(c){return c.$u?n.utc():n()};o.toNow=function(c){return this.to(h(this),c)},o.fromNow=function(c){return this.from(h(this),c)}}}))})(lt)),lt.exports}var _n=Dn();const Gn=Qe(_n);var ct={exports:{}},jn=ct.exports,ea;function Qn(){return ea||(ea=1,(function(e,t){(function(a,r){e.exports=r(Xs())})(jn,(function(a){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var n=r(a),o={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(i){return i+"º"}};return n.default.locale(o,null,!0),o}))})(ct)),ct.exports}Qn();var dt={exports:{}},Hn=dt.exports,ta;function Fn(){return ta||(ta=1,(function(e,t){(function(a,r){e.exports=r()})(Hn,(function(){var a="minute",r=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(o,i,l){var h=i.prototype;l.utc=function(p){var A={date:p,utc:!0,args:arguments};return new i(A)},h.utc=function(p){var A=l(this.toDate(),{locale:this.$L,utc:!0});return p?A.add(this.utcOffset(),a):A},h.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=h.parse;h.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),c.call(this,p)};var d=h.init;h.init=function(){if(this.$u){var p=this.$d;this.$y=p.getUTCFullYear(),this.$M=p.getUTCMonth(),this.$D=p.getUTCDate(),this.$W=p.getUTCDay(),this.$H=p.getUTCHours(),this.$m=p.getUTCMinutes(),this.$s=p.getUTCSeconds(),this.$ms=p.getUTCMilliseconds()}else d.call(this)};var u=h.utcOffset;h.utcOffset=function(p,A){var b=this.$utils().u;if(b(p))return this.$u?0:b(this.$offset)?u.call(this):this.$offset;if(typeof p=="string"&&(p=(function(w){w===void 0&&(w="");var U=w.match(r);if(!U)return null;var L=(""+U[0]).match(n)||["-",0,0],F=L[0],Y=60*+L[1]+ +L[2];return Y===0?0:F==="+"?Y:-Y})(p),p===null))return this;var E=Math.abs(p)<=16?60*p:p;if(E===0)return this.utc(A);var N=this.clone();if(A)return N.$offset=E,N.$u=!1,N;var S=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(N=this.local().add(E+S,a)).$offset=E,N.$x.$localOffset=S,N};var m=h.format;h.format=function(p){var A=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,A)},h.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var g=h.toDate;h.toDate=function(p){return p==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var f=h.diff;h.diff=function(p,A,b){if(p&&this.$u===p.$u)return f.call(this,p,A,b);var E=this.local(),N=l(p).local();return f.call(E,N,A,b)}}}))})(dt)),dt.exports}var Vn=Fn();const zn=Qe(Vn);var ht={exports:{}},Wn=ht.exports,sa;function Yn(){return sa||(sa=1,(function(e,t){(function(a,r){e.exports=r()})(Wn,(function(){var a={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(n,o,i){var l,h=function(m,g,f){f===void 0&&(f={});var p=new Date(m),A=(function(b,E){E===void 0&&(E={});var N=E.timeZoneName||"short",S=b+"|"+N,w=r[S];return w||(w=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:b,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:N}),r[S]=w),w})(g,f);return A.formatToParts(p)},c=function(m,g){for(var f=h(m,g),p=[],A=0;A<f.length;A+=1){var b=f[A],E=b.type,N=b.value,S=a[E];S>=0&&(p[S]=parseInt(N,10))}var w=p[3],U=w===24?0:w,L=p[0]+"-"+p[1]+"-"+p[2]+" "+U+":"+p[4]+":"+p[5]+":000",F=+m;return(i.utc(L).valueOf()-(F-=F%1e3))/6e4},d=o.prototype;d.tz=function(m,g){m===void 0&&(m=l);var f,p=this.utcOffset(),A=this.toDate(),b=A.toLocaleString("en-US",{timeZone:m}),E=Math.round((A-new Date(b))/1e3/60),N=15*-Math.round(A.getTimezoneOffset()/15)-E;if(!Number(N))f=this.utcOffset(0,g);else if(f=i(b,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(N,!0),g){var S=f.utcOffset();f=f.add(p-S,"minute")}return f.$x.$timezone=m,f},d.offsetName=function(m){var g=this.$x.$timezone||i.tz.guess(),f=h(this.valueOf(),g,{timeZoneName:m}).find((function(p){return p.type.toLowerCase()==="timezonename"}));return f&&f.value};var u=d.startOf;d.startOf=function(m,g){if(!this.$x||!this.$x.$timezone)return u.call(this,m,g);var f=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(f,m,g).tz(this.$x.$timezone,!0)},i.tz=function(m,g,f){var p=f&&g,A=f||g||l,b=c(+i(),A);if(typeof m!="string")return i(m).tz(A);var E=(function(U,L,F){var Y=U-60*L*1e3,H=c(Y,F);if(L===H)return[Y,L];var B=c(Y-=60*(H-L)*1e3,F);return H===B?[Y,H]:[U-60*Math.min(H,B)*1e3,Math.max(H,B)]})(i.utc(m,p).valueOf(),b,A),N=E[0],S=E[1],w=i(N).utcOffset(S);return w.$x.$timezone=A,w},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(m){l=m}}}))})(ht)),ht.exports}var Kn=Yn();const Jn=Qe(Kn);Ae.extend(zn),Ae.extend(Jn),Ae.extend(Gn);const ut=e=>e==="en"?"en":"es",ye=(e,t)=>{const{PUBLIC_LNG:a,DATE_TIMEZONE:r}=t||D(),n=ut(a??"es");return Ae.tz(e,r).locale(n).format("DD MMMM YYYY")},mt=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=D(),r=ut(t??"es");return Ae.tz(e,a).locale(r).format(r==="en"?"MMMM DD YYYY [•] HH:mm [hs]":"DD [de] MMMM YYYY [•] HH:mm [hs]")},aa=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=D(),r=ut(t??"es");return Ae.tz(e,a).locale(r).format("MM/DD/YYYY [•] HH:mm [HS]")},$n=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=D(),r=ut(t??"es");return Ae.tz(e,a).locale(r).format("dddd DD [de] MMMM YYYY")},Be=(e,t)=>{if(!e)return"";const a=new Date(e),n=new Intl.DateTimeFormat("en-CA",{timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts(a),o={};n.forEach(g=>{g.type!=="literal"&&(o[g.type]=g.value)});const i=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),h=(new Date(a.toLocaleString("en-US",{timeZone:t})).getTime()-i.getTime())/6e4,c=h>=0?"+":"-",d=g=>String(Math.floor(Math.abs(g))).padStart(2,"0"),u=d(h/60),m=d(h%60);return`${o.year}-${o.month}-${o.day}T${o.hour}:${o.minute}:${o.second}${c}${u}:${m}`},Ce=(e,t=136)=>e&&e.length>t?`${e.substring(0,t)}...`:e;function Oe(e){return e&&e.status==="fulfilled"?e.value.data:null}function ra(e){return e&&e.status==="fulfilled"?e.value:null}const Zn={url:"",target:"_self",canonical:!1,internal:""},Xn={date:"",created:0,modified:0,firstpublish:0,lastpublish:0};function Rn(e){return e==null?"":typeof e=="string"?e:e.article??e.home??e.section??e.seo??""}const He=(e,t,a,r)=>{const n=Rn(e?.main?.title),o=e?.main?.description??"";return{authors:e?.main?.author?[{firstname:"",lastname:"",fullname:typeof e.main.author=="string"?e.main.author:String(e.main.author??"Redacción"),image:{sizes:[],description:""},name:"",internaluser:!1}]:[],social:{description:"",images:{facebook:"",twitter:""},title:""},info:{date:{...Xn,...e?.info?.date},link:e?.info?.link??Zn},preview:{sizes:e?.main?.image?.sizes??[],description:e?.main?.image?.description??""},config:{showtime:t??!1,showsubtitle:a??!1,showauthor:!!(r&&e?.main?.author)},main:{title:{article:n,home:n,seo:n,section:n},subtitle:{rendered:o,striped:o},tags:[]}}},na=/<div\b[^>]*class=["'][^"']*\bck-related-news\b[^"']*["'][^>]*>/gi;function ft(e){if(!e?.body?.rendered)return[];const t=e.body.rendered,a=[];let r=0;for(;r<t.length;){na.lastIndex=r;const n=na.exec(t);if(!n)break;const o=n.index+n[0].length;let i=1,l=o,h=o;for(;l<t.length&&i>0;){const g=t.slice(l),f=g.match(/<div\b/i),p=g.match(/<\/div>/i),A=f?.index??-1,b=p?.index??-1;if(b===-1)break;const E=A===-1?1/0:l+A,N=l+b;A!==-1&&A<b?(i+=1,l=E+f[0].length):(i-=1,h=N,l=N+p[0].length)}const c=t.slice(o,h),d=[],u=/<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;let m;for(;(m=u.exec(c))!==null;){const g=m[1];g&&d.push(g)}d.length>0&&a.push(d),r=l}return a}const eo=ft,oa=async(e,t)=>{const a=[];return e.forEach(o=>{o.forEach(i=>{const l=t({path:i.replaceAll("|","/"),imagesizes:"w:212,h:142,t:2;w:100,h:100,t:2",exclude:"config,keywords,authors,body,related,relatedexternal,social,external,hascontent,customfields,pixel"});l&&a.push(l)})}),(await Promise.allSettled(a)).map(o=>Oe(o)?.data)},Fe=()=>{const{PUBLIC_ENV:e,PUBLIC_API_HOST:t,PUBLIC_ASSETS_URL:a}=D();return e=="local"?t:a&&a!=="false"?a:""},to=()=>{const{PUBLIC_ENV:e,PUBLIC_API_FRONT:t}=D();return e==="local"?t:""},so=e=>{if(!e?.preview?.length)return null;const t=e.preview;return t.find(a=>a.format==="1.91:1")??t[t.length-1]},ia=({schemaImage:e,socialImage:t,fallbackImage:a,prefix:r,defaultWidth:n,defaultHeight:o,alt:i})=>e?.url?{url:r+e.url,width:e.width,height:e.height,alt:i}:{url:r+(t??a??""),width:n,height:o,alt:i},la=(e,t,a,r)=>{if(!t)return{};const{PUBLIC_ASSETS_URL:n,PUBLIC_API_FRONT:o,DATE_TIMEZONE:i="America/Mexico_City"}=D(),l=$t(t.keywords)??"",h=t?.preview?.sizes?t?.preview?.sizes[0]?.url:"",c=(n!=="false"?n:o)??"",d=so(r),u=t.main.title.article,m=ia({schemaImage:d,socialImage:t?.social?.images?.facebook,fallbackImage:h,prefix:c,defaultWidth:a.landscapeLogo.width,defaultHeight:a.landscapeLogo.height,alt:r?.description??u}),g=ia({schemaImage:d,socialImage:t?.social?.images?.twitter,fallbackImage:h,prefix:c,defaultWidth:a.twitterSummaryCard.width,defaultHeight:a.twitterSummaryCard.height,alt:r?.description??u});return{title:(t?.main?.title?.seo??t?.main?.title?.article)+" | "+a.name,robots:"index, follow, max-image-preview:large",alternates:{types:{"application/rss+xml":(a.siteUrl??"")+"/rss/feed.xml"},canonical:t?.info?.link?.canonical},description:t?.main?.subtitle?.striped??"",news_keywords:l,keywords:l,openGraph:{title:t?.social?.title?t?.social?.title:t?.main?.title?.article,url:t?.info?.link?.canonical,type:"article",description:t?.social?.description?t?.social?.description:t?.main?.subtitle?.striped??"",images:[m],siteName:a.name.toLocaleUpperCase(),locale:a.lang.startsWith("en")?"en_US":a.lang==="es"?"es_LA":a.lang.replace("-","_")},twitter:{title:t?.main?.title?.article,card:"summary_large_image",site:e.twitter.site,description:t?.main?.subtitle?.striped??"",images:[g]},article:{published_time:Be(t?.info?.date?.firstpublish,i),modified_time:Be(t?.info?.date?.lastpublish??t?.info?.date?.firstpublish,i),section:t?.info?.section?.name,author:t?.authors?.[0]?.fullname,tag:t?.keywords?.tags??[]}}},$t=e=>!e||!e?.tags||e?.tags?.length===0?"":e?.tags?.map(t=>t.name).join(", ").replaceAll('"',"'").replaceAll("`","'"),ca=e=>{const t=e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);return t?{slug:t[1]??"",path:t[2]??""}:{slug:"",path:""}},da=e=>e.replaceAll("/","").replaceAll("_","").replace(".html",""),ao={description:{attr:"name",value:"description"},robots:{attr:"name",value:"robots"},keywords:{attr:"name",value:"keywords"},news_keywords:{attr:"name",value:"news_keywords"},"openGraph.title":{attr:"property",value:"og:title"},"openGraph.description":{attr:"property",value:"og:description"},"openGraph.type":{attr:"property",value:"og:type"},"openGraph.url":{attr:"property",value:"og:url"},"openGraph.siteName":{attr:"property",value:"og:site_name"},"openGraph.locale":{attr:"property",value:"og:locale"},"twitter.card":{attr:"name",value:"twitter:card"},"twitter.title":{attr:"name",value:"twitter:title"},"twitter.description":{attr:"name",value:"twitter:description"},"twitter.site":{attr:"name",value:"twitter:site"},"twitter.creator":{attr:"name",value:"twitter:creator"}},ha=e=>{const t=[];let a=0;const r=i=>t.push(i);return e.title&&typeof e.title=="string"&&r(s.jsx("title",{children:e.title},`title-${a++}`)),Object.entries(ao).forEach(([i,l])=>{const h=i.split(".").reduce((c,d)=>c?.[d],e);h&&r(s.jsx("meta",{[l.attr]:l.value,content:String(h)},`meta-${a++}`))}),(e.openGraph?.images?Array.isArray(e.openGraph.images)?e.openGraph.images:[e.openGraph.images]:[]).forEach(i=>{i&&(typeof i=="string"?r(s.jsx("meta",{property:"og:image",content:i},`og-img-${a++}`)):(i.url&&r(s.jsx("meta",{property:"og:image",content:i.url},`og-img-${a++}`)),i.width&&r(s.jsx("meta",{property:"og:image:width",content:String(i.width)},`og-img-w-${a++}`)),i.height&&r(s.jsx("meta",{property:"og:image:height",content:String(i.height)},`og-img-h-${a++}`)),i.alt&&r(s.jsx("meta",{property:"og:image:alt",content:String(i.alt)},`og-img-alt-${a++}`))))}),(e.twitter?.images?Array.isArray(e.twitter.images)?e.twitter.images:[e.twitter.images]:[]).forEach(i=>{i&&(typeof i=="string"?r(s.jsx("meta",{name:"twitter:image",content:i},`tw-img-${a++}`)):(i.url&&r(s.jsx("meta",{name:"twitter:image",content:i.url},`tw-img-${a++}`)),i.width&&r(s.jsx("meta",{name:"twitter:image:width",content:String(i.width)},`tw-img-w-${a++}`)),i.height&&r(s.jsx("meta",{name:"twitter:image:height",content:String(i.height)},`tw-img-h-${a++}`)),i.alt&&r(s.jsx("meta",{name:"twitter:image:alt",content:String(i.alt)},`tw-img-alt-${a++}`))))}),e.article&&(r(s.jsx("meta",{property:"article:published_time",content:e.article.published_time})),r(s.jsx("meta",{property:"article:modified_time",content:e.article.modified_time})),r(s.jsx("meta",{property:"article:section",content:e.article.section})),r(s.jsx("meta",{property:"article:author",content:e.article.author})),Array.isArray(e.article.tag)&&e.article.tag.length>0&&e.article.tag.forEach(i=>{r(s.jsx("meta",{property:"article:tag",content:i.name}))})),e.alternates?.canonical&&r(s.jsx("link",{rel:"canonical",href:String(e.alternates.canonical)},`link-${a++}`)),e.manifest&&r(s.jsx("link",{rel:"manifest",href:String(e.manifest)},`link-${a++}`)),e.alternates?.types&&Object.entries(e.alternates.types).forEach(([i,l])=>{typeof l=="string"&&r(s.jsx("link",{rel:"alternate",type:i,href:l},`alt-${a++}`))}),e.icons&&[...e.icons?.icon??[],...e.icons?.other??[]].forEach(l=>{l&&r(typeof l=="string"?s.jsx("link",{rel:"icon",href:l},`icon-${a++}`):s.jsx("link",{rel:l.rel||"icon",href:l.url,...l.type&&{type:l.type},...l.sizes&&{sizes:l.sizes}},`icon-${a++}`))}),e.other&&Object.entries(e.other).forEach(([i,l])=>{l&&r(s.jsx("meta",{name:i,content:String(l)},`other-${a++}`))}),t},ie=async e=>{const t=Fe()??"",a=e;return a?.startsWith("http")||a?.includes(t)||t===""?a:t+a},gt=(e,t)=>{const a=e||"";return t?a.replaceAll("[section_replace]",t["[section_replace]"]??"").replaceAll("[tag_replace]",t["[tag_replace]"]??"").replaceAll("[url_replace]",t["[url_replace]"]??"").replaceAll("[author_replace]",t["[author_replace]"]??"")||"":a||""},ro=e=>{const t={};if(!e)return t;const a=/([^\s=]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'>]+)))?/g;let r;for(;r=a.exec(e);){const n=r[1],o=r[2]??r[3]??r[4]??!0;t[n]=o}return t},no=e=>{const t=e.match(/\bsrc\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/i);return t?.[1]||t?.[2]||t?.[3]||null},ua=(e,t,a,r)=>{try{const n=ro(e);return n.src?s.jsx("script",{"data-bs-name":r,...n},a):s.jsx("script",{...n,dangerouslySetInnerHTML:{__html:t}},a)}catch{const o=no(e);return o?s.jsx("script",{"data-bs-name":r,src:o,async:!0,defer:!0},a):null}},oo=e=>{const t=/<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/gi;return[...e.matchAll(t)]},Zt=e=>{const t=e.banners.find(n=>n.key===e.name);if(!t||!t.show)return null;const a=gt(t.value||"",e.replaces),r=oo(a);return s.jsx(s.Fragment,{children:r.map((n,o)=>{const i=n[1]||n[3]||"",l=n[2]?.trim()||"";return ua(i,l,o,e.name)})})},ma=e=>{const t=e.banners.find(n=>n.key===e.name);if(!t||!t.show)return null;const r=gt(t.value||"",e.replaces).split(/(<script\b[\s\S]*?<\/script\s*>|<script\b[^>]*\/?>)/gi);return s.jsx(s.Fragment,{children:r.map((n,o)=>{const i=n.match(/<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/i);if(i){const l=i[1]||i[3]||"",h=i[2]?.trim()||"";return ua(l,h,o,e.name)}return n.trim()&&/<[a-zA-Z]/.test(n)?s.jsx("div",{dangerouslySetInnerHTML:{__html:n}},o):null})})},Ze=(e,t,a)=>{let r=e.siteUrl;return t.forEach((n,o)=>{o>0&&(r+=`/${n}`)}),`${r}/page/${a+1}`},Xe=(e,t,a)=>{let r=e.siteUrl;return t.forEach((n,o)=>{o>0&&(r+=`/${n}`)}),`${r}/page/${a-1}`};function io(e){const t=e.length;return t>1&&e.charCodeAt(t-1)===47?e.slice(0,t-1):e}const fa=()=>{const{PUBLIC_ASSETS_URL:e}=D();return e&&e!=="false"&&s.jsx("link",{rel:"preconnect",href:e,crossOrigin:"anonymous"})},{PUBLIC_ASSETS_URL:Xt}=D(),lo=Xt&&Xt!=="false"?Xt:"",Rt=({images:e})=>s.jsx(s.Fragment,{children:e.map((t,a)=>t.href!==""&&s.jsx("link",{rel:"preload",href:lo+t.href,media:t.media??"",as:"image",fetchPriority:t.fetchPriority??"high"},a))}),ga=(e,t,a)=>{if(!t)return{};const{PUBLIC_API_FRONT:r}=D();return{title:t?.main?.title+" | "+a.name,robots:"index, follow, max-image-preview:large",alternates:{canonical:a.siteUrl+t?.info?.link?.url},description:t.main.description??"",news_keywords:t.main.tags,keywords:t.main.tags,openGraph:{title:t.main.title,url:t?.info?.link?.canonical,type:"article",description:t.main.description??"",images:[{url:(r??"")+t?.main.image.sizes[0]?.url,width:a.landscapeLogo.width,height:a.landscapeLogo.height}],siteName:a.name.toLocaleUpperCase(),locale:a.lang.startsWith("en")?"en_US":a.lang==="es"?"es_LA":a.lang.replace("-","_")},twitter:{title:t?.main?.title,card:"summary_large_image",site:e.twitter.site,description:t?.main.description??"",images:[{url:(r??"")+t?.main.image.sizes[0]?.url,width:a.twitterSummaryCard.width,height:a.twitterSummaryCard.height}]}}},co=e=>{let t="";if(e.params.news.match(/.*t[0-9]*.html/g)){const a=e.params.news.split("-"),r=a[a.length-1]??"",n=r.substring(1,9),o=r.substring(9,13);t=`/listas/${Ae(n).format("YYYY/MM/DD")}/lista_${o}.html`}else if(e.params.news.match(/.*lb[0-9]*.html/g)){const a=e.params.news.split("-"),r=a[a.length-1]??"",n=r.substring(2,10),o=r.substring(10,14);t=`/liveblog/${Ae(n).format("YYYY/MM/DD")}/liveblog_${o}.html`}else{const r=e.params.news.replace(/\.html$/g,"").split("-");Array.isArray(r)&&(t=`/contenidos/${Ae(r[r.length-2]).format("YYYY/MM/DD")}/noticia_${r[r.length-1]}.html`)}return e.config.servicePrefix+t};function ho(e){const t=e.lastIndexOf("-"),a=t>=0?[e.slice(0,t),e.slice(t+1)]:[e],r=a[a.length-1]?.split("."),n=r&&r[0]?r[0]:"",o=n.substring(0,2),i=n.substring(2,10),l=n.substring(10);return{path:{vy:c=>`/videos/video-youtube/${Ae(i).format("YYYY/MM/DD")}/videoYouTube_${c}.lnk`,ve:c=>`/videos/video-embedded/${Ae(i).format("YYYY/MM/DD")}/videoEmbedded_${c}.lnk`,vf:c=>`/videos/video-flash/${Ae(i).format("YYYY/MM/DD")}/${a[0]}.${c}`}[o]?.(l)??"",op:o}}const Ue=(e,t)=>{const a=e.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ñ/g,"n").replace(/Ñ/g,"n").replace(/[^\w\s]/gi,"").replaceAll(" ","-").toLowerCase();return t?.tema?`/${t.tema}/${a}-t${e.id}`:`/${a}-t${e.id}`},uo=e=>{const{AssetsPrefix:t="",AssetsPath:a="src",isDev:r=!1}=e;return r?"src":t+a},mo=async(e,t,a,r)=>{const{FETCH_TAG_BASED_RELATED_NEWS:n=!1,FETCH_SIZE_RELATED_NEWS:o=10}=D();if(!e)return[];try{if(e.related&&e.related?.automatic===!1&&e.related?.news&&e.related?.news.length>0)return(await a.getNewsListPath({path:e.related.news.map(l=>l.path).join(";"),exclude:"gallery,related,relatedexternal,external,customfields",imagesizes:r.md}))?.data?.data??[];{const i=e&&e.keywords&&e.keywords.tags&&e.keywords.tags[0];return((e?i&&n?await a.getNewsListAvanced({query:'claves:("'+e.keywords?.tags[0].name+'")',exclude:"gallery,related,relatedexternal,external,customfields",imagesizes:r.md,size:o+1}):await a.getNewsItemsRelated(t.split("/").join("|"),{size:o}):null)?.data?.data??[]).filter(c=>c.info.link.internal!==t.split("/").join("|"))}}catch(i){console.log(i)}},fo="https://recaptchaenterprise.googleapis.com/v1/projects",go=async({projectID:e,recaptchaKey:t,token:a,recaptchaAction:r,apiKey:n,userAgent:o,userIpAddress:i})=>{if(!e||!t||!a||!n)return console.warn("createAssessment: faltan parámetros requeridos"),null;const l=`${fo}/${e}/assessments?key=${n}`,h={event:{token:a,siteKey:t,expectedAction:r,...o&&{userAgent:o},...i&&{userIpAddress:i}}};try{const c=await fetch(l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(h)});if(!c.ok)return console.error("createAssessment API error:",c.status,await c.text()),null;const d=await c.json();if(!d?.tokenProperties?.valid)return console.log(`CreateAssessment falló - token inválido: ${d?.tokenProperties?.invalidReason??"unknown"}`),null;if(d.tokenProperties.action!==r)return console.log("La acción en reCAPTCHA no coincide con la esperada:",r),null;const u=d?.riskAnalysis?.score;return u!==void 0&&(console.log("reCAPTCHA score:",u),d?.riskAnalysis?.reasons?.forEach(m=>console.log(m))),typeof u=="number"?u:null}catch(c){return console.error("createAssessment error:",c),null}};function po(e,t){if(t==="comentarios")return;const a=e[t];return typeof a=="string"||a===void 0?a:void 0}const Ao=e=>e?.body?.rendered.includes("ck-image-gallery")||e?.config?.articlepreview==="fotogaleria"&&e?.hascontent?.hasgalleryimages;function wo(e){const t={};for(const[a,r]of Object.entries(e)){const n=btoa(a).split("").reverse().join("");typeof r=="string"?t[n]=btoa(r).split("").reverse().join(""):t[n]=r}return t}function es(e){const t={};for(const[a,r]of Object.entries(e)){const n=atob(a.split("").reverse().join(""));if(typeof r=="string")try{t[n]=atob(r.split("").reverse().join(""))}catch{t[n]=r}else t[n]=r}return t}const bo=async(e,t,a)=>{const{info:r,preview:n}=e,o=e?.config?.homepreview||"imagen",i=o==="clip"&&e?.hascontent?.hasgalleryvideosflash,l={...n};if(o==="videoYouTube"||o==="videoEmbedded"||i){const h=await t.getNewsMultimedia({path:r.link.internal,imagesizes:a});if(h&&h.data)return{...e,preview:l,videos:h.data.data[0].videos??[]}}if(o==="fotogaleria"){const h=await t.getNewsMultimedia({path:r.link.internal,imagesizes:a});if(h&&h.data){const c=await Promise.all(h.data.data[0].gallery.map(async d=>({...d})));return{...e,preview:l,gallery:c??[]}}}return{...e,preview:l}},pa={prerender:[{where:{and:[{href_matches:"/*(-|-t|-lb)([0-9]{8})(-|)([0-9]{4,6}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}]},Aa={prerender:[{where:{and:[{href_matches:"/*(-|-t|-lb)([0-9]{8})(-|)([0-9]{4,6}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"},{eagerness:"moderate",urls:["/"]}]},vo={Home:pa,Common:Aa},wa=({active:e,type:t,customSpeculation:a})=>e&&s.jsx("script",{type:"speculationrules",dangerouslySetInnerHTML:{__html:JSON.stringify(a??vo[t])}}),pt=async(e,t,a)=>{if(a)return a.get(`/schemas${t}`,{params:e}).catch(r=>{console.log(`[/schemas${t}] Error: ${r.message}`)})},yo={autor:"autor",seccion:"seccion",tema:"claves","ultimas-noticias":"seccion"},ba=async({config:e,axiosApi:t,pathname:a,ROUTE:r})=>{const{PUBLIC_PUBLICATION_ID:n=""}=D();let o=[];const i=a==="/"||a==="/index.html"?void 0:Ea(Ta[r]({pathname:a,config:e})),l=yo[r]??void 0,h={newstype:e.newsType,publication:Number(n),...i&&l?{query:`${l}:('${i}')`}:{}};try{const c=await pt(h,"/news-list-summary",t);c?.data?.data?o=c.data.data:console.warn("getSchemas responded but did not contain expected data:",c)}catch(c){console.log("Error fetching schemas:",c)}return Object.keys(o).length>0&&s.jsx("script",{id:"webSiteItemListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(o)}})};function At(e){const{PUBLIC_ASSETS_URL:t}=D();if(!t||t==="false")return e;const a=t.replace(/\/+$/,""),r=/https?:\/\/[^/\s]+\/(arte|__export)\//g;return e.replace(r,(n,o)=>`${a}/${o}/`)}const va=async({realPath:e,config:t,BASE_URL:a,axiosApi:r})=>{const{PUBLIC_SERVICE_PREFIX:n,PUBLIC_IS_SUB_PUBLICATION:o}=D();let i=[];try{const l=t.socialBlockLogo?.url?new URL(t.socialBlockLogo.url).pathname:void 0,h=t.landscapeLogo?.url?new URL(t.landscapeLogo.url).pathname:void 0,c={path:e,image:h,logo:l,url:t.siteUrl,name:t.name,logow:t.socialBlockLogo?.width,logoh:t.socialBlockLogo?.height,authorurl:a+"/autor/"},d=e.split("/")[1],u=d=="liveblogs"||d=="liveblog"?["/news","/news-breadcrumb","/news-liveblog"]:["/news","/news-breadcrumb"],m=t.paths.tema!==""?"/"+t.paths.tema:t.paths.tema,g=n!=="false"&&o!=="false"?"/"+n+m:m;i=(await Promise.all(u.map(async p=>{const A=p==="/news-breadcrumb"?{...c,prefixtag:g}:p==="/news"&&t.schemasNewsParams?{...c,...t.schemasNewsParams}:c;return await pt(A,p,r)}))).map(p=>p?.data?.data??[])}catch(l){console.log("Error fetching schemas:",l)}return i.map((l,h)=>s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:At(JSON.stringify(l))}},h))},ya=({config:e,socials:t})=>{const a={"@context":"https://schema.org","@type":"NewsMediaOrganization",name:e.name,description:e.description,email:e.email,url:e.siteUrl,logo:e.squareLogo.url,sameAs:Object.keys(t).filter(r=>t[r]?.show).map(r=>t[r]?.url)};return(!e.description||e.description==="")&&delete a.description,s.jsx("script",{id:"WebsiteOrgListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a)}})},Ca=({config:e})=>{const t={"@context":"https://schema.org","@type":"WebSite",name:e.name,url:e.siteUrl,potentialAction:{"@type":"SearchAction",target:e.siteUrl+"/buscar?query={search_term_string}","query-input":"required name=search_term_string"}};return s.jsx("script",{id:"WebsiteListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}})},Na=async({realPath:e,config:t,axiosApi:a})=>{try{const r={path:e,image:t.landscapeLogo?.url?new URL(t.landscapeLogo.url).pathname:void 0,logo:t.socialBlockLogo?.url?new URL(t.socialBlockLogo.url).pathname:void 0,url:t.siteUrl,name:t.name,logow:t.socialBlockLogo?.width,logoh:t.socialBlockLogo?.height,authorurl:`${t.siteUrl}/autor/`},o=(await pt(r,"/videos",a))?.data.data;return o?s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:At(JSON.stringify(o))}}):void 0}catch(r){return console.error("Error fetching video schemas:",r),null}},Sa=({config:e})=>{const t=`@font-face {
14
14
  font-family: '${e.fontName}';
15
15
  font-style: normal;
16
16
  font-weight: ${e.fontWeight};
@@ -146,7 +146,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
146
146
  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
147
147
  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"})]})},Sl=["telegram"],Pt={facebook:e=>s.jsx(xt,{...e}),instagram:e=>s.jsx(Lt,{...e}),whatsapp:e=>s.jsx(Cl,{...e}),tiktok:e=>s.jsx(yl,{...e}),youtube:e=>s.jsx(Nl,{...e}),x:e=>s.jsx(Pe,{...e}),gnews:e=>s.jsx(wl,{...e}),podcast:e=>s.jsx(bl,{...e}),telegram:e=>s.jsx(vl,{...e})},El=e=>{const{freeZone:t,socials:a,menu:r,customBlock:n,custom_styles:o={}}=e;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(O,{href:"/","aria-label":"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(i=>a[i]?.show&&s.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":a[i].title+" link",className:"su-flex-center sass-com-ft-linkSocialNetwoks",href:a[i].url,children:Pt[i]({className:`${`sass-com-ft-social${i.charAt(0).toUpperCase()+i.slice(1)}`}`})},i))})]}),s.jsxs("section",{className:"sass-com-ft-sectionContent",children:[s.jsx("div",{className:"sass-com-ft-section",children:r.filter(i=>!i.subitem).map((i,l)=>s.jsx(O,{block_subPublication:!0,href:i.link?i.link:void 0,target:i.target,className:"sass-com-ft-menuItem footer-menu-item","aria-label":i.description,children:i.description},l))}),s.jsx("div",{className:"sass-com-ft-section",children:t&&t.map((i,l)=>s.jsx(O,{block_subPublication:!0,href:i.link?i?.link:void 0,target:i.target,className:"sass-com-ft-otherItems",children:i.description},l))})]}),n&&s.jsx(s.Fragment,{children:n}),s.jsxs("section",{className:"sass-com-ft-copyrigth",children:[s.jsx("p",{className:"sass-com-ft-copyrigthText",children:e.copyrigth}),s.jsx(O,{"aria-label":"Bluestack link",href:"https://www.bluestack.la",title:"Plataforma BLUESTACK CMS (antes CMS MEDIOS)",target:"_blank",rel:"noreferrer",children:s.jsx(Al,{})})]})]})},Bt=e=>{const{PUBLIC_ENV:t}=D(),a=oe("/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"})})},Ge=e=>{const{PUBLIC_ENV:t}=D(),a=oe("/linkedin.svg");return t!==""&&!e.forceSVG?s.jsx("img",{fetchPriority:"low",loading:"lazy",src:a,alt:"",...e}):s.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsx("path",{d:"M23.9693 19.7768C22.9443 20.1795 22.3065 21.1785 22.3043 22.2887L22.278 32.7258C22.278 33.1474 21.8 33.4956 21.4127 33.4956H16.1736C15.7995 33.4956 15.293 33.1629 15.293 32.7302V14.8898C15.293 14.4081 15.7995 14.0455 16.2229 14.0466L20.9335 14.051C21.3842 14.051 21.7814 14.5105 21.8065 14.9254L21.8481 15.6185C22.9082 14.4994 24.2166 13.803 25.7055 13.6316C26.5599 13.5338 27.3957 13.5326 28.2555 13.625C31.5769 13.9821 34 16.8678 34 20.2318V32.5678C34 33.0283 33.5602 33.4911 33.1216 33.4911L28.3792 33.4945C27.9295 33.4945 27.4766 33.0484 27.4766 32.57L27.4646 22.2298C27.4646 21.7247 27.3847 21.1908 27.1101 20.7769C26.445 19.7735 25.1169 19.3263 23.9704 19.7757L23.9693 19.7768ZM23.5788 18.9414C25.118 18.2683 26.9143 18.8068 27.8606 20.1751C28.261 20.7536 28.3452 21.4099 28.4021 22.1107L28.4481 32.5522H33.0712V20.3442C33.0898 17.3717 30.9664 14.7964 28.0455 14.5539C27.2742 14.4905 26.5347 14.4816 25.7799 14.585C24.3621 14.7775 23.1084 15.5262 22.266 16.6764L20.9423 18.0125L20.9292 14.9911L16.2677 15V32.5522L21.4007 32.5544L21.4028 22.2342C21.4794 20.7858 22.2441 19.5254 23.5777 18.9414H23.5788Z",fill:"currentColor",stroke:"currentColor","stroke-width":"0.5"}),s.jsx("path",{d:"M11.6141 33.4944L7.91316 33.5011C7.09486 33.5022 6.46473 32.847 6.46582 32.006L6.46801 15.4505C6.46801 14.6384 7.09158 14.0432 7.85627 14.0432L11.5211 14.041C12.3689 14.041 13.0023 14.6885 13.0023 15.5595L12.9925 32.1773C12.9925 32.9026 12.2978 33.4922 11.6152 33.4944H11.6141ZM11.6283 32.5544C11.8952 32.4932 12.067 32.3453 12.067 32.0605V15.5106C12.067 15.1835 11.8099 14.991 11.5233 14.991H7.85846C7.59809 14.9922 7.43728 15.1791 7.39789 15.4516V32.006C7.39789 32.2986 7.597 32.5511 7.88034 32.5511L11.6272 32.5555L11.6283 32.5544Z",fill:"currentColor",stroke:"currentColor","stroke-width":"0.5"}),s.jsx("path",{d:"M13.4654 9.03032C13.5595 10.9582 12.2708 12.6836 10.4296 13.0318C9.25798 13.2532 8.14212 12.9372 7.26804 12.1385C6.08982 11.0639 5.67082 9.39631 6.27142 7.88227C6.82716 6.48392 8.16072 5.51164 9.71855 5.4994C10.8103 5.4905 11.7829 5.93103 12.5038 6.75536C13.0628 7.3939 13.4206 8.12701 13.4654 9.03032ZM11.5094 11.5022C12.9447 10.2807 12.8058 8.12256 11.4645 7.05572C10.7119 6.45611 9.73058 6.29925 8.80289 6.61519C7.48464 7.06573 6.74621 8.42403 6.98141 9.82461C7.19255 11.0861 8.2012 11.9661 9.44068 12.1218C10.2097 12.2186 10.9022 12.0184 11.5094 11.5022Z",fill:"currentColor",stroke:"currentColor","stroke-width":"0.5"})]})},Nr=e=>{const{PUBLIC_ENV:t}=D(),a=oe("/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"})]})},Sr=e=>{const{PUBLIC_ENV:t}=D(),a=oe("/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"})]})},Er=e=>{const{PUBLIC_ENV:t}=D(),a=oe("/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"})})},Tr=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"})}),Tl={FaceBook:{url:e=>`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`,icon:{outline:e=>s.jsx(Er,{className:e,forceSVG:!0}),solid:e=>s.jsx(Bt,{className:e,forceSVG:!0})}},X:{url:e=>`https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,icon:{outline:e=>s.jsx(Pe,{className:e,forceSVG:!0}),solid:e=>s.jsx(Pe,{className:e,forceSVG:!0})}},Whatsapp:{url:e=>`https://wa.me/?text=${encodeURIComponent(e)}`,icon:{outline:e=>s.jsx(gs,{className:e,forceSVG:!0}),solid:e=>s.jsx(fs,{className:e,forceSVG:!0})}},Email:{url:e=>`mailto:?body=${encodeURIComponent(e)}`,icon:{outline:e=>s.jsx(Nr,{className:e,forceSVG:!0}),solid:e=>s.jsx(Sr,{className:e,forceSVG:!0})}},LinkedIn:{url:e=>`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(e)}`,icon:{outline:e=>s.jsx(Ge,{className:e,forceSVG:!0}),solid:e=>s.jsx(Ge,{className:e,forceSVG:!0})}}};function Ir({noteShare:e}){const t=e&&e.url||(typeof window<"u"?window.location.href:"https://example.com");return e?s.jsxs("div",{className:"sass-com-ja3-socialNetworkSection",children:[e.options?.map(a=>{const r=Tl[a];if(!r)return null;const n=e.variant==="outline"?r.icon.outline:r.icon.solid,o=r.url(t);return s.jsx(O,{href:o,target:"_blank",rel:"noopener noreferrer","aria-label":`Compartir en ${a}`,className:`sass-com-ja3-socialButton sass-com-ja3-${a.toLowerCase()}Button sass-com-ja3-${a.toLowerCase()}Styled`,children:n("")},a)}),s.jsx("button",{type:"button","data-text":"Link copiado","data-active":"false","aria-label":"copy",className:["sass-com-ja3-clipboardButton","clipbtn-id"].join(" "),children:s.jsx(ps,{forceSVG:!0})}),s.jsx("button",{type:"button","aria-label":"share",className:["sass-com-ja3-clipboardButton","sharebtn-id"].join(" "),children:s.jsx(Tr,{})})]}):null}const Il=e=>{const t=()=>e?.video.main.author?`${e?.video.main.author} - ${ye(e.video.info.date.created)}`:e?.video.main.author;return s.jsx("div",{className:"sass-com-bv3-content",children:s.jsx(Ut,{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:Ce(e.video.main.description)}),s.jsx("p",{className:"sass-com-bv3-correspondent",children:t()})]})]})})})},vs=e=>{const{currentPage:t,showNext:a,maxPages:r,pathname:n,query:o,block_subPublication:i}=e,l=(h,c,d)=>{let u="";const m=c.split("/");return m.indexOf("page")!==-1&&m.splice(u.indexOf("page")-1,m.length-1),m.forEach((g,f)=>{f!==0&&(u+=`/${g}`)}),h==="next"?u+=`/page/${t+1}${d?`?query=${d}`:""}`:u+=`/page/${t-1}${d?`?query=${d}`:""}`};return(t>1||a&&t<r)&&s.jsxs("section",{className:"sass-com-np-content",children:[t>1&&s.jsx(O,{block_subPublication:i,className:"sass-com-np-linkStyled",href:l("prev",n||"",o||""),children:e.texts.prevButtonText??"Anterior"}),a&&t<r&&s.jsx(O,{block_subPublication:i,className:"sass-com-np-linkStyled",href:l("next",n||"",o||""),children:e.texts.nextButtonText??"Siguiente"})]})},ys=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})]})},Se=e=>{const{main:t,authors:a,info:r,preview:n,share:o,isVideo:i,config:l,overImage:h="default",isTitle:c,priorityHigh:d=!1,isLarge:u,paths:m,keywords:g}=e;return s.jsxs("section",{className:"sass-com-sc1-content",style:{...e.customSectionCardStyles},children:[s.jsx(O,{"aria-label":e.main?.title?.section,className:"sass-com-sc1-image",title:t?.title?.section,href:r?.link?.url,target:r?.link?.target,children:s.jsx(ge,{preview:n,isVideo:i,isLarge:u,priorityHigh:d})}),s.jsx("div",{className:"sass-com-sc1-newsDescription",children:s.jsx(Le,{main:t,authors:a,info:r,preview:n,share:o,config:l,overImage:h,isTitle:c,paths:m,keywords:g})})]})},nt=e=>{const{isVideo:t,info:a,main:r,overImage:n="default",titleGradient:o=!1}=e,{SHOW_TAG_BY_SECTION:i,SUB_PUBLICATION_PREFIX_IN_ROUTES:l}=D(),h=()=>{if(i&&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(O,{"aria-label":d,block_subPublication:l?.tema,className:"sass-com-sc2-sectionDescription",href:Ue(c,e.paths),children:d})}):s.jsx("div",{className:"sass-com-sc2-sectionDescription",children:d})}else if(e.info?.section?.url)return s.jsx("h3",{children:s.jsx(O,{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(O,{title:r?.title?.section,href:a.link.url,target:a.link.target,children:s.jsx(ge,{preview:e.preview,isVideo:t})}),s.jsxs("div",{className:["sass-com-sc2-boxInformation",o?"sass-com-sc2-titleGradient":""].join(" "),style:{width:n!=="default"?"90%":"",left:n==="left"?0:n==="right"?"calc(10% - 1px)":"auto",top:n!=="default"?"-1rem":""},children:[s.jsx(h,{}),s.jsx("h2",{className:"sass-com-sc2-articule",children:s.jsx(O,{className:"sass-com-sc2-linkStyled",href:e?.info?.link?.url,target:e?.info?.link?.target,children:e.main?.title?.section})})]})]})},Ul=e=>s.jsx("div",{className:"sass-com-lt-content",children:s.jsx(Ut,{className:`sass-com-lt-contentLayout ${e.className}`,children:e.children})}),kl=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(O,{className:"sass-com-err-linkStyled su-no-underline su-flex-center",href:"/",children:e.buttonText??"Inicio"})]})]})},xl=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})]}),Ll=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))]})]}),Pl=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})]}),Ur=e=>{let t="";return e.preview.description&&(t=e.preview.description),e.preview.copyright&&(t=`${t} ${e.preview.copyright}`),e.preview.photographer&&(t=`${t} ${e.preview.photographer}`),s.jsx("div",{className:"sass-com-in2-content",children:s.jsx(ge,{preview:e.preview,isLarge:!0,priorityHigh:!0,figCaption:t})})},kr=e=>s.jsx(s.Fragment,{children:s.jsxs("div",{className:"sass-com-lbh-boxInformation sass-liveblog-header",children:[s.jsx(Ur,{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(O,{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("h2",{className:"sass-com-lbh-description",style:{"--fontSizeSubTitle":e.fontSizeSubTitle,"--lineHeightSubTitle":e.lineHeightSubTitle},children:e.main.subtitle.striped})]})]})}),xr=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(O,{className:"sass-com-tl-dateLink",href:`#item-${a+1}`,children:aa(t.date)}),s.jsx("div",{className:"sass-com-tl-contentText",children:(e.itemList[0]?.list.integrated,t.title)})]},a))}),Lr=e=>{const{PUBLIC_ENV:t}=D(),a=oe("/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
148
148
  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
149
- h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`})})},Ot=e=>{if(!e||e.trim()==="")return e;const t=e.trim();return t.startsWith("http://")||t.startsWith("https://")?t:`https://${t}`},Bl=e=>!e||e.trim()===""?!1:/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()),Ol=async e=>{const{autor:t,autorIcon:a,socialIconsFilled:r=!1}=e,n=a,o=t?.info?.image?.sizes?.[0]?.url??"",i=t?.info?.fullname??"",l=t?.info?.email??"",h=t?.addtional?.USER_SHOWEMAIL??!1,c=t?.addtional?.USER_SHOWBIO??!1,d=t?.addtional?.USER_MIBIO??"",u=Ot(t?.addtional?.USER_USERFB??""),m=Ot(t?.addtional?.USER_USERIG??""),g=Ot(t?.addtional?.USER_USERTWT??""),f=Ot(t?.addtional?.USER_USERLIN??""),p=()=>!h||!l||l.trim()===""?!1:Bl(l),A=b=>`mailto:${b.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:[o?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 "+i,className:"sass-com-ah1-image su-object-cover",src:await ie(o)})}):s.jsx("div",{className:"sass-com-ah1-icon-wrap sass-image-autor-wrapper su-flex-center",children:s.jsx(n,{})}),s.jsx("h1",{className:"sass-com-ah1-name",children:i}),p()&&s.jsx("a",{href:A(l),className:"sass-com-ah1-email","aria-label":`Enviar correo electrónico a ${l}`,title:`Enviar correo a ${l}`,children:l}),c&&s.jsx("p",{className:"sass-com-ah1-description",children:d}),s.jsxs("div",{className:"sass-com-ah1-social",children:[u&&s.jsx("a",{href:u,target:"_blank",className:`sass-com-ah1-social-link ${r?"sass-com-ah1-social-filled":"sass-com-ah1-social-stroke"}`,rel:"noreferrer",children:r?s.jsx(Bt,{className:"sass-com-ah1-social-icon sass-social-icon-facebook",forceSVG:!0}):s.jsx(xt,{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:s.jsx(Lt,{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:s.jsx(Pe,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-x",forceSVG:!0})}),f&&s.jsx("a",{href:f,target:"_blank",className:`sass-com-ah1-social-link ${r?"sass-com-ah1-social-filled":"sass-com-ah1-social-stroke"}`,rel:"noreferrer",children:r?s.jsx(Lr,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin",forceSVG:!0}):s.jsx(Ge,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin",forceSVG:!0})})]})]})})},Ml=async e=>{const{autor:t,autorIcon:a,socialIconsFilled:r=!1}=e,n=a,o=t?.info?.image?.sizes?.[0]?.url??"",i=t?.info?.fullname??"",l=t?.info?.email??"",h=t?.addtional?.USER_SHOWEMAIL??!1,c=t?.addtional?.USER_SHOWBIO??!1,d=t?.addtional?.USER_MIBIO??"",u=t?.addtional?.USER_USERFB??"",m=t?.addtional?.USER_USERIG??"",g=t?.addtional?.USER_USERTWT??"",f=t?.addtional?.USER_USERLIN??"";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:[o?s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-ah2-imageStyled su-object-cover",src:await ie(o)}):s.jsx("div",{className:"sass-com-ah2-contentIconStyled su-flex-center",children:s.jsx(n,{})}),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:i}),h&&s.jsx("p",{className:"sass-com-ah2-email",children:l}),c&&s.jsx("p",{className:"sass-com-ah2-description",children:d}),s.jsxs("div",{className:"sass-com-ah2-contenSocialNetwork su-flex su-items-center su-gap-4 su-justify-start",children:[u&&s.jsx("a",{href:u,target:"_blank",className:r?"sass-com-ah2-socialIconFilled":"sass-com-ah2-socialIconStroke",rel:"noreferrer",children:r?s.jsx(Bt,{className:"sass-com-ah2-blackIconFaceBook sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook",forceSVG:!0}):s.jsx(xt,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook",forceSVG:!0})}),m&&s.jsx("a",{href:m,target:"_blank",rel:"noreferrer",children:s.jsx(Lt,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-instagram",forceSVG:!0})}),g&&s.jsx("a",{href:g,target:"_blank",rel:"noreferrer",children:s.jsx(Pe,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-x",forceSVG:!0})}),f&&s.jsx("a",{href:f,target:"_blank",className:r?"sass-com-ah2-socialIconFilled":"sass-com-ah2-socialIconStroke",rel:"noreferrer",children:r?s.jsx(Lr,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin",forceSVG:!0}):s.jsx(Ge,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin",forceSVG:!0})})]})]})]})})},Pr=e=>s.jsxs("section",{className:"sass-com-lnc-content",children:[e.children,s.jsxs("div",{className:"sass-com-lnc-bannerSection",children:[e.bannerTop,s.jsx(kt,{content:e.ranking,title:e.readestTitle,paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px"}}),e.banner]})]}),ql=async e=>{const t=As(),a={...e,main:{...e.main,title:{...e.main.title,article:Ce(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 ie(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(Le,{...a,paths:e.paths})})]}):null},Dl=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(Ut,{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:"white"})}),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(Le,{isTitle:!0,cutSubtitle:!1,...He({...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(fe,{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,r)=>I.createElement(ql,{...He(a,!0,!1,!1),key:r,paths:e.paths}))]})]})]})})},ce=I.forwardRef((e,t)=>{const{isTitle:a=!1,isOpinion:r=!1}=e,n=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":`${r}`,children:[s.jsx("hr",{className:"sass-com-sec-startLine"}),e.titleUrl?s.jsx(O,{href:e.titleUrl,children:n}):n,s.jsx("hr",{className:"sass-com-sec-line"}),e.titleUrl&&s.jsx(O,{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})]})}),Cs=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"})}),Mt=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"})}),_l=()=>s.jsx("div",{className:"sass-com-sb-buttonContent",children:s.jsx("label",{className:"sass-com-sb-buttonStyled",htmlFor:"side-bar-state",children:s.jsx(Ke,{className:"sass-com-sb-icon"})})}),Gl=({action:e,placeholder:t})=>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":"Buscar from sidebar",className:"sass-com-sb-searchSubmit",children:s.jsx(Cs,{color:"var(--search-input-icons)"})})]})}),jl=({item:e,index:t})=>{const a=`accordion_${t}`,r=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("h3",{className:"sass-com-sb-accordionHeading",children:r?s.jsxs("label",{className:"sass-com-sb-accordionSummeryStyled",htmlFor:a,children:[e.link?s.jsx(O,{block_subPublication:!0,className:"sass-com-sb-linkStyled",href:e.link,target:e.target,children:e.description}):s.jsx("div",{children:e.description}),s.jsx(Mt,{width:13,height:13,fill:"var(--side-bar-arrow-color)"})]}):s.jsx(O,{block_subPublication:!0,className:"sass-com-sb-linkStyled",href:e.link??void 0,target:e.target,children:e.description})}),r&&s.jsx("div",{className:"sass-com-sb-accordionDetailsStyled",style:{"--max-height":`${e.subitem.length*45}px`},children:e.subitem.map((n,o)=>s.jsx(O,{block_subPublication:!0,className:"sass-com-sb-subLinkStyled",href:n.link??void 0,target:n.target,children:n.description},o))})]})},Ql=({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?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"})},a):null)}),t&&s.jsx("p",{className:"sass-com-sb-copyRights",children:t})]}),Hl=({sidebar:e,socials:t,copyrigth:a,sidebarExtra:r,searchKeyWord:n,custom_styles:o={}})=>{const{PUBLIC_SERVICE_PREFIX:i,PUBLIC_IS_SUB_PUBLICATION:l,SUB_PUBLICATION_PREFIX_IN_ROUTES:h}=D(),c=h?.buscar&&i!=="false"&&l!=="false"?`/${i}`:"";return s.jsxs("aside",{className:"sass-com-sb-drawerStyled",id:"sidebar-expandable",style:o,children:[s.jsx("input",{type:"checkbox",id:"side-bar-state"}),s.jsxs("section",{className:"sass-com-sb-sidebarCustom",children:[s.jsx(_l,{}),s.jsx(Gl,{action:`${c}/buscar`,placeholder:`${n}...`}),s.jsxs("div",{className:"sass-com-sb-mainContent",children:[s.jsxs("div",{children:[r,e.map((d,u)=>s.jsx(jl,{item:d,index:u},u))]}),s.jsx(Ql,{socials:t,copyright:a})]})]})]})},Br=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})}),Or=e=>{const{alertZone:t,id:a="close-alert"}=e,r=()=>s.jsx(O,{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(r,{}),s.jsx("label",{htmlFor:a,children:s.jsx(Ke,{className:"sass-com-hlm-closeLiveStyled"})})]}),s.jsx(r,{})]})]})},Mr=e=>{const{cintillo:t,tapeTitle:a,socials:r}=e,n="",o=t?.findIndex(i=>i.link===n)??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(O,{block_subPublication:!0,className:"sass-com-htape-linkStyled",target:t[o]?.target,href:t[o]?.link,style:{color:t[o]?.link===n?"var(--header-tape-active-link)":"var(--header-tape-icons)",fontWeight:t[o]?.link===n?"700":"400"},children:t[o]?.description},o),t&&t.map((i,l)=>{if(l!==o)return s.jsx(O,{block_subPublication:!0,className:"sass-com-htape-linkStyled",href:i?.link,style:{color:i?.link===n?"var(--header-tape-active-link)":"var(--header-tape-color)",fontWeight:i?.link===n?"700":"400"},children:i?.description},l)})]}),s.jsx("div",{className:"sass-com-htape-socialNetwork",children:Object.keys(r).map(i=>r[i]?.show&&s.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":r[i].title+" link",className:"sass-com-htape-linkSocialNetwork",href:r[i].url,children:Pt[i]({className:["sass-com-htape-icon",`sass-com-htape-${String(i)}`].join(" ")})},i))})]})},Fl=e=>{const{alertZone:t,custom_styles:a={}}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:r}=D();return s.jsxs("header",{className:"sass-com-h1sk-headerStyled",style:a,id:"saas-header-sticky",children:[e.socialIcons&&e.headerTape?.sticky&&s.jsx(Mr,{socialIcons:e.socialIcons,cintillo:e.cintillo,tapeTitle:e.tapeTitle,socials:e.socials}),s.jsxs("div",{className:"sass-com-h1sk-headerContent center-mobile-header-icon",children:[s.jsx(bs,{id:"button-app",className:"sass-com-h1sk-menuButton",toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:s.jsx(Br,{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(O,{href:"/","aria-label":"Home",className:"icon header-logo-link-sticky",style:{display:"flex"},children:I.createElement("span",{className:"sass-com-h1sk-logoStyled"},e.icon)}),e.mobileIcon?s.jsx(O,{href:"/","aria-label":"Home",className:"icon header-logo-link-sticky header-mobile-icon",style:{display:"flex"},children:I.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(O,{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:Ce(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(O,{block_subPublication:r?.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(Cs,{width:28,height:28,color:"currentColor"})}),e.rightZone]})]}),!e.showAlertPop&&s.jsx(Or,{alertZone:t,forceShow:e.showAlertPop})]})},Vl=e=>{const{items:t}=e;return s.jsx("ul",{className:"sass-com-mopt-ul",children:t.map((a,r)=>s.jsxs("li",{className:"sass-com-mopt-liBefore sass-com-mopt-li",children:[a.link?s.jsxs(O,{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(Mt,{})]}):s.jsxs("span",{"aria-label":a.description,className:"sass-com-mopt-linkStyled",children:[a.description,Array.isArray(a.subitem)&&s.jsx(Mt,{})]}),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((n,o)=>s.jsx("li",{className:"sass-com-mopt-li",children:s.jsx(O,{block_subPublication:!0,className:"sass-com-mopt-itemLink","aria-label":n.description,href:n.link?n.link:void 0,target:n.target,children:n.description})},o))})})]},r))})},zl=e=>{const{menu:t,alertZone:a,custom_styles:r={}}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:n}=D();return s.jsxs("header",{className:"sass-com-h1st-headerStyled",id:"saas-header-static",style:{...r,top:e.cintillo||e.socialIcons&&!e.headerTape?.static?40:0},children:[e.socialIcons&&e.headerTape?.static&&s.jsx(Mr,{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(bs,{className:"sass-com-h1st-menuButton",id:"button-app",toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:[s.jsx(Br,{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(O,{href:"/","aria-label":"Home",className:"header-logo-link",children:I.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(O,{block_subPublication:n?.buscar,href:e.searchLink?e.searchLink:"/buscar",className:"sass-com-h1st-buttonSectionSearch","aria-label":e.searchKeyWord,children:s.jsx(Cs,{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(O,{className:"sass-com-h1st-headLine",href:a.data[0]?.info.link.url,target:a.data[0]?.info.link.target,title:a.data[0]?.main.title.home,children:Ce(a.data[0]?.main.title.home??"",120)})]}):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(Vl,{items:t})})]})]})},Wl=e=>{const{alertZone:t,children:a,sidebar:r,custom_styles:n={}}=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?{...n,"--hasAlertMargin":"3.6rem !important"}:n,id:"content-layout",children:[e.showAlertPop&&s.jsx(Or,{alertZone:t,forceShow:e.showAlertPop,id:"static-alert-chip"}),a]});return s.jsxs(s.Fragment,{children:[e.childrenContentPosition==="before-headers"&&i,s.jsx(Fl,{...e}),!e.showOnlyStickyHeader&&s.jsx(zl,{...e}),e.childrenContentPosition!=="before-headers"&&i,s.jsx(Hl,{sidebarExtra:e.sidebarExtra,searchKeyWord:e.searchKeyWord,sidebar:r,socials:e.socials,copyrigth:e.copyrigth,custom_styles:e.custom_styles})]})},qr=e=>{const{SUB_PUBLICATION_PREFIX_IN_ROUTES:t}=D();return e?.tags&&e?.tags?.length>0&&s.jsx("section",{className:"sass-com-ts-content",children:Array.isArray(e.tags)&&s.jsxs("div",{className:"sass-com-ts-tags",children:[s.jsx("p",{className:"sass-com-ts-tagStyled",children:e.title?e.title:"Tags:"}),e.tags.map((a,r)=>a.approved?s.jsx(O,{block_subPublication:t?.tema,href:Ue(a,e.paths),children:s.jsx("div",{className:"sass-com-ts-chipStyled sass-com-ts-tagLink",children:a.name})},r):s.jsx("div",{className:"sass-com-ts-chipStyled",children:a.name},r))]})})},Dr=async e=>{const{autor:t}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:a}=D(),r=t?.addtional?.USER_SHOWBIO??!1,n=t?.info?.name??"",o=t?.info?.fullname??"",i=t?.info?.image?.sizes?.[0]?.url??"",l=t?.addtional?.USER_MIBIO??"",h=t?.addtional?.USER_USERFB??"",c=t?.addtional?.USER_USERIG??"",d=t?.addtional?.USER_USERTWT??"",u=t?.addtional?.USER_USERLIN??"";return r&&!!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(O,{block_subPublication:a?.autor,className:"sass-com-ja2-journalistInfo su-no-underline",href:`/${e.paths.autor}/${n}`,children:i?s.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"Imagen de perfil de "+n,className:"sass-com-ja2-imageStyled",src:await ie(i)}):s.jsx("div",{className:"sass-com-ja2-contentIconStyled",children:e.autorIcon})}),s.jsxs("section",{className:"sass-com-ja2-journalistSection",children:[s.jsx("h3",{className:"sass-com-ja2-journalistInfo",children:s.jsx(O,{block_subPublication:a?.autor,className:"su-no-underline",href:`/${e.paths.autor}/${n}`,children:o})}),s.jsxs("section",{className:"sass-com-ja2-socialNetworkSection",children:[h&&s.jsx("a",{href:h,target:"_blank","aria-label":l,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"})})}),c&&s.jsx("a",{href:c,target:"_blank","aria-label":l,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)"})})})]})}),d&&s.jsx("a",{href:d,target:"_blank","aria-label":l,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"})})}),u&&s.jsx("a",{href:u,target:"_blank","aria-label":l,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"})]})})]})]})]}),r&&s.jsx("p",{className:"sass-com-ja2-article",dangerouslySetInnerHTML:{__html:`${l} <a aria-label="${n}" href="/${e.paths.autor}/${n}">${String(e.texts.authorViewMore??"Ver más")}</a>`}})]})})},_r=async e=>{const{news:t,texts:a}=e;return 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 ie(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("a",{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("a",{className:"sass-com-jg-LearnMoreLink",href:`/${e.paths.autor}/${r.name}`,children:String(a.JournalistGroupLink??"")})]})]},`author-${r.firstname}`))})},qt=e=>{if(!e||e.trim()==="")return e;const t=e.trim();return t.startsWith("http://")||t.startsWith("https://")?t:`https://${t}`},Yl=async e=>{const t=e.img?await ie(e.img):"",a=qt(e.social?.facebook??""),r=qt(e.social?.instagram??""),n=qt(e.social?.twitter??""),o=qt(e.social?.linkedin??""),i=e.social&&(a||r||n||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(xt,{className:"sass-com-th-faceBookIcon",forceSVG:!0})}),r&&s.jsx("a",{href:r,target:"_blank",className:"sass-com-th-socialIconLink",rel:"noreferrer",children:s.jsx(Lt,{className:"sass-com-th-socialIcon",forceSVG:!0})}),n&&s.jsx("a",{href:n,target:"_blank",className:"sass-com-th-socialIconLink",rel:"noreferrer",children:s.jsx(Pe,{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(Ge,{className:"sass-com-th-socialIcon",forceSVG:!0})})]})]})})};function Kl(e){const{main:t,authors:a,info:r,preview:n,config:o,keywords:i,isVideo:l,isLarge:h,priorityHigh:c,share:d,overImage:u,isTitle:m,paths:g}=e,{CONFIG_videoClipUrl:f}=D(),p=o?.homepreview??"imagen",A=()=>{const w=e.videos?.[0]?.clip;return w?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:`${f}${w}`,type:"video/mp4"})})}):null},b=()=>{if(!e.videos)return null;const w=e.videos?.[0]?.code;return w?s.jsx("iframe",{className:"homeCardVideoIframeContainer",src:`https://www.youtube.com/embed/${w}`,frameBorder:"0",allowFullScreen:!0}):null},E=()=>{if(!e.videos)return null;const w=(e.videos??[]).find(V=>V.type==="video-embedded");if(!w?.code)return null;const L=/src\s*=\s*"([^"]+)"/.exec(w.code),F=L?L[1]:null;if(!F)return null;const Y=n.original?.url??n.sizes?.[0]?.url??"",H=Fe()??"",B=Y.startsWith("http")||Y.includes(H)||H===""?Y:H+Y;return s.jsx("iframe",{className:"homeCardEmbeddedIframeContainer",src:F,frameBorder:"0",allowFullScreen:!0,style:{"--thumbnail-url":`url(${B})`}})},N=()=>{const U=e.gallery??[];return U.length?s.jsx(xe,{slot_id:"home-card_"+e.info.link.url,fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:U.map((L,F)=>{const Y=L?.url||L?.id||`gallery-${F}`;return s.jsx(O,{"aria-label":e.main?.title?.section,className:"homeCardImage",title:t?.title?.section,href:r?.link?.url,target:r?.link?.target,children:s.jsx(ge,{preview:L,isVideo:l,isLarge:h,priorityHigh:c})},Y)})}):null};let S=null;switch(p){case"fotogaleria":S=s.jsx(N,{});break;case"videoYouTube":S=s.jsx(b,{});break;case"videoEmbedded":S=s.jsx(E,{});break;case"clip":S=s.jsx(A,{});break;case"iframe":S=s.jsx("div",{className:"homeCardIframeContainer",dangerouslySetInnerHTML:{__html:e?.external?.iframe??""}});break;default:S=s.jsx(O,{"aria-label":e?.main?.title?.section,className:"homeCardImage",title:t?.title?.section,href:r?.link?.url,target:r?.link?.target,children:s.jsx(ge,{preview:n,isVideo:l,isLarge:h,priorityHigh:c})});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(Le,{main:t,authors:a,info:r,preview:n,share:d,config:o,overImage:u,isTitle:m,paths:g,keywords:i})})]})}const Je=e=>{const{SHOW_TAG_BY_SECTION:t,SUB_PUBLICATION_PREFIX_IN_ROUTES:a}=D(),r=()=>{if(e?.config?.showtime&&e.config?.showauthor)return`${e?.authors[0]?.fullname} - ${ye(e.info?.date?.modified)}`;if(e.config?.showauthor)return e?.authors[0]?.fullname;if(e?.config?.showtime)return ye(e.info?.date?.modified)},n=()=>{if(t&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const i=e.keywords.tags[0],l=i.name;return i.approved?s.jsxs("h3",{children:[" ",s.jsx(O,{"aria-label":l,className:"sass-bmd-sup-tagmx",block_subPublication:a?.tema,href:Ue(i,e.paths),children:l})]}):s.jsx("div",{className:"sass-bmd-sup-tagmx",children:l})}else if(e.info?.section?.url)return s.jsx("h3",{children:s.jsx(O,{className:"sass-bmd-sup-tagmx",href:e?.info?.section?.url,children:e?.info?.section?.name})});return null},o=()=>{if(t&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const i=e.keywords.tags[0],l=i.name;return i.approved?s.jsx("h3",{children:s.jsx(O,{"aria-label":l,className:"sass-bmd-sup-tag",block_subPublication:a?.tema,href:Ue(i,e.paths),children:l})}):s.jsx("div",{className:"sass-bmd-sup-tag",children:l})}else if(e.info?.section?.url)return s.jsx("h3",{children:s.jsx(O,{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(O,{href:e?.info?.link?.url,target:e?.info?.link?.target,style:{"--heightImageOverwrite":e.heightImageOverwrite?e.heightImageOverwrite:"51.8%","--heightImageOverwriteMobile":e.heightImageOverwriteMobile?e.heightImageOverwriteMobile:"491px","--fontSizeImageNewsTitleMobile":e.isVertical?"20px":"1.75rem","--lineHeightImageNewsTitleMobile":e.isVertical?"26px":"36px"},children:s.jsx(ge,{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(n,{}),s.jsxs("div",{style:{position:"relative"},children:[s.jsx(o,{}),s.jsx(O,{className:"sass-bmd-sup-linkTitle",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(O,{block_subPublication:a?.autor,href:`/${e.paths?.autor??"autor"}/${e?.authors[0]?.name}`,className:"sass-bmd-sup-correspondent",children:r()}):s.jsx("p",{className:"sass-bmd-sup-correspondentLink",children:r()})})]})]})},Gr=e=>{const{main:t,authors:a,info:r,preview:n,isVideo:o,config:i,itemReverseOrder:l,imageSize:h,showSuper:c,textPosition:d,heightImageOverwrite:u,heightImageOverwriteMobile:m}=e;return s.jsxs("section",{className:"su-grid su-w-full su-gap-8 sass-bmd-dd-content",children:[c?s.jsx("section",{style:{...e.customSectionCardStyles},children:s.jsx(Je,{main:t,authors:a,info:r,preview:n,isVideo:o,config:i,paths:e.paths,textPosition:d,heightImageOverwrite:u,heightImageOverwriteMobile:m})}):s.jsx(Se,{...e,main:t,authors:a,info:r,preview:n,isVideo:o,config:i,priorityHigh:!0}),e.banners&&s.jsx(fe,{banners:e.banners,name:"main_block_"+(e.rightOnlyBanner?1:2)}),!e.rightOnlyBanner&&s.jsx(br,{block:e.block,itemReverseOrder:l,priorityHigh:!0,imageSize:h,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})]})},Jl=({content:e,customLargeSection:t,customSmallSection:a,paths:r})=>{const n=e[0];return Array.isArray(e)&&e.length>0&&n&&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(Je,{...n,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths: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((o,i)=>i>0&&I.createElement(Je,{...o,key:i,textPosition:"start",heightImageOverwrite:"256px",heightImageOverwriteMobile:"270px",paths:r}))})]})},$l=({content:e,customLargeSection:t,customSlimSection:a,paths: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((n,o)=>o===0?s.jsx("div",{style:t,className:"su-w-full sass-bmd-dnv-firstSection",children:s.jsx(Je,{...n,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:r})},o):s.jsx("section",{style:a,children:I.createElement(Je,{...n,key:o,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:r})},o))}),jr=e=>{const{SHOW_TAG_BY_SECTION:t,SUB_PUBLICATION_PREFIX_IN_ROUTES:a}=D(),r=()=>{if(t&&e.mainNew.keywords?.tags?.length&&e.mainNew.keywords.tags.length>0){const n=e.mainNew.keywords.tags[0],o=n.name;return n.approved?s.jsx("h3",{className:"sass-com-bh-section",children:s.jsx(O,{"aria-label":o,className:"sass-com-bh-sectionDescription",block_subPublication:a?.tema,href:Ue(n,e.paths),children:o})}):s.jsx("div",{className:"sass-com-bh-sectionDescription",children:o})}else if(e.mainNew.info?.section?.url)return s.jsx("h3",{className:"sass-com-bh-section",children:s.jsx(O,{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(O,{className:"sass-com-bh-title",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(O,{href:e.goTo.url,className:"sass-com-bh-linkStyled",children:e.goTo.description})]})},Qr=e=>{const{content:t,title:a,isVideo:r}=e;if(!t||!t[0]||t.length===0)return;const n=e.slot_id&&e.slot_id!=="Nota_1",o={...t[0],main:{...t[0].main,title:{...t[0].main.title,section:n?t[0].main.title.home:t[0].main.title.section}}},i=t.slice(1);return o&&i&&s.jsxs(ce,{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(jr,{mainNew:o,goTo:e.goTo,paths:e.paths}),s.jsx(O,{className:"sass-bd-dn-headerSectionLink",href:o?.info?.link?.url,target:o?.info?.link?.target,children:s.jsx(ge,{preview:o.preview})})]}),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(i)&&i.map((l,h)=>{const c={...l,main:{...l.main,title:{...l.main.title,section:n?l.main.title.home:l.main.title.section}}};return s.jsx("div",{style:{order:h},children:s.jsx(Se,{...c,isVideo:r,paths:e.paths})},h)})]})]})},Dt=async e=>{const{data:t,autorIcon:a}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:r}=D(),n=a,o=()=>t?.config?.showtime?`${ye(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?.sizes?.length>0?s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-oc2-image",src:await ie(t?.authors[0]?.image?.sizes[0]?.url||""),alt:t?.authors[0]?.fullname}):s.jsx("div",{className:"sass-com-oc2-contentIcon",children:s.jsx(n,{})}),s.jsx("p",{className:"sass-com-oc2-autorName",children:Ce(t?.authors[0]?.fullname??"Redacción",18)}),s.jsx("p",{className:"sass-com-oc2-time",children:o()})]});return s.jsxs("div",{className:"sass-com-oc2-content",children:[t?.authors[0]?.internaluser?s.jsx(O,{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(O,{className:"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:Ce(t?.main?.subtitle?.striped||"")})]})]})};function Zl(e){const t=new Array(e.length),a=e.length/2;for(let r=0;r<e.length;r++)r%2===0?t[Math.floor(r/2)]=e[r]:t[a+Math.floor(r/2)]=e[r];return t}const Xl=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),r=[];for(let o=0;o<e.news.length;o++){const i=e.news[o];o===2&&r.push(a(o)),i&&r.push(s.jsx("div",{className:"sass-bs-mo-boxPosition",style:{order:o},children:s.jsx(Dt,{data:i,autorIcon:e.autorIcon,paths:e.paths})},`description-block-2-odd-${o}`))}const n=r.length%2===0?Zl(r):r;return s.jsx("section",{style:e.customStyles,children:s.jsx(ce,{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:n}),s.jsx("div",{className:"sass-bs-mo-bannerContent",children:e.halfPageBanner})]})})})},Rl=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(Le,{...e,info:{...e.info,section:{name:"",slug:"",url:""}}})]})},ec=e=>{const{news:t}=e;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((a,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:a})})},r)),t.map((a,r)=>s.jsx("div",{className:"sass-bs-m2c-boxPosition",style:{order:r},children:s.jsx(Se,{...a,share:e.share,paths:e.paths})},r))]}),s.jsx("div",{className:"sass-bs-m2c-bannerContent",children:e.halfPageBanner})]})},tc=e=>s.jsxs(s.Fragment,{children:[s.jsx(yr,{className:"display-on-lower-900px",...e,termsLink:e.termsLink,submitFunction:e.submitFunction}),s.jsx(Cr,{...e})]}),Hr=e=>{const{content:t}=e;if(!t||t.length===0)return;const a=i=>e.hasLines&&(i+1)%3!==0?"sass-bs-m3c-contentSeparator":"",r=[];let n=0,o=1;for(let i=0;i<t.length;i++){e.banners&&e.bannerPositionIndex?.includes(i)&&(r.push(s.jsx("section",{className:a(n),children:e.banners?.some(d=>d.key===`${e.slot_id}_${o}`)&&s.jsx(fe,{banners:e.banners,name:`${e.slot_id}_${o}`})},n)),n++,o++);const l=e.isVideo?He(t[i],e.showVideoTime,e.showVideosubtitle,e.showVideoAuthor):t[i];if(!l)continue;const h=e.slot_id&&e.slot_id!=="Nota_1",c={...l,main:{...l.main,title:{...l.main.title,section:h?l.main.title.home:l.main.title.section}}};r.push(s.jsx("section",{className:a(n),children:s.jsx(Se,{...c,isVideo:e.isVideo,paths:e.paths})},n)),n++}return r.length===2&&r.push(s.jsx("div",{},n)),s.jsx("div",{className:`${e.hasLines?"sass-bs-m3c-newsContentWithLines":"sass-bs-m3c-newsContentWithoutLines"} sass-bs-m3c-newsContent`,children:r})},Fr=e=>s.jsx(ce,{title:e.title,titleUrl:e.titleUrl,children:s.jsx(Hr,{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})}),Vr=e=>{const{content:t,title:a}=e;if(!(!t||t.length===0||!Array.isArray(t)))return s.jsx(ce,{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((r,n)=>{const o=e.slot_id&&e.slot_id!=="Nota_1",i={...r,main:{...r.main,title:{...r.main.title,section:o?r.main.title.home:r.main.title.section}}};return s.jsx("section",{children:s.jsx(Se,{...i,share:e.share,paths:e.paths})},n)})})})},zr=e=>{const{content:t,title:a}=e;if(!(!t||t.length===0))return s.jsx(ce,{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((r,n)=>{const o=e.slot_id&&e.slot_id!=="Nota_1",i={...r,main:{...r.main,title:{...r.main.title,section:o?r.main.title.home:r.main.title.section}}};return s.jsx("section",{children:s.jsx(Se,{...i,share:e.share,paths:e.paths})},n)})})})},Wr=e=>{const{content:t,title:a,isVideo:r=!0}=e;if(!t||t.length===0)return;const n=t[0],o=e.slot_id&&e.slot_id!=="Nota_1",i=t.slice(1);return n&&i&&s.jsxs(ce,{title:a,titleUrl:e.titleUrl,children:[s.jsxs("div",{className:"sass-bd-dv-headerSection",children:[s.jsx(jr,{goTo:e.goTo,mainNew:He(n),paths:e.paths}),s.jsx(O,{className:"sass-bd-dv-headerSectionLink",href:n?.info?.link.url,target:n?.info?.link.target,"aria-label":"Video",children:s.jsx(ge,{preview:{sizes:n?.main?.image.sizes,description:n?.main?.image.description},isVideo:r,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,h)=>{const c=He(l),d={...c,main:{...c.main,title:{...c.main.title,section:o?c.main.title.home:c.main.title.section}}};return s.jsx("div",{style:{order:h},children:I.createElement(Se,{...d,isVideo:r,key:h,paths:e.paths})},h)})]})]})},sc=async e=>{const{showNewsLikeTitle:t=!1}=e;return e&&e.info?s.jsxs("section",{className:"sass-com-sc6-content",style:{"--heightImageOverwrite":"100%"},children:[s.jsx(O,{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(ge,{preview:e.preview})}),s.jsxs("div",{className:"sass-com-sc6-textContent",children:[s.jsx(O,{className:"sass-com-sc6-sectionDescription",target:e?.info?.link?.target,href:t?e.info.link.url:e?.info?.section?.url,children:(t?e?.main?.title?.section:e?.info?.section?.name)??""}),s.jsx("p",{className:"sass-com-sc6-dateText",children:ye(e?.info?.date?.modified)})]})]}):null},Yr=e=>{if(!e.content||e.content.length===0)return;const t=e.slot_id&&e.slot_id!=="Nota_1";return s.jsx(ce,{title:e.title,children:s.jsx("div",{className:`su-grid su-justify-center 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,r)=>{const n={...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:I.createElement(sc,{...n,key:r,showNewsLikeTitle:e.showNewsLikeTitle})},r)})})})},Kr=e=>{const{content:t,title:a,slot_id:r}=e,n=e.slot_id&&e.slot_id!=="Nota_1";return t&&t.length!==0&&s.jsx(ce,{title:a,titleUrl:e.titleUrl,children:s.jsx(xe,{slot_id:r,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:n?o.main.title.home:o.main.title.section}}};return s.jsx("div",{style:{"--heightImageOverwrite":e.heightImageOverwrite,"--heightImageOverwriteMobile":e.heightImageOverwriteMobile},children:s.jsx(nt,{...l,paths:e.paths})},i)})})})},ac=async e=>{const{SUB_PUBLICATION_PREFIX_IN_ROUTES:t}=D(),{data:a}=e;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 ie(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(O,{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(O,{className:"sass-com-opt1-linkStyled",href:a?.info?.link?.url,target:a?.info?.link?.target,children:Ce(a?.main?.title?.home,40)})}),s.jsx("p",{className:"sass-com-opt1-comment",children:a?.main?.subtitle?.striped})]})]})},Jr=e=>{const t=e.slot_id&&e.slot_id!=="Nota_1";return s.jsx(ce,{titleUrl:e.titleUrl,title:e.title,children:s.jsx(xe,{slot_id:e.slot_id,cardGap:31,cardWidth:344,visibleItems:3,children:e.content&&e.content.map((a,r)=>{const n={...a,main:{...a.main,title:{...a.main.title,section:t?a.main.title.home:a.main.title.section}}};return s.jsx(ac,{autorIcon:e.autorIcon,data:n,paths:e.paths},r)})})})},Ns=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(Dt,{data:t,autorIcon:e.autorIcon,paths:e.paths})});case"columnistaslocales":return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Dt,{data:t,autorIcon:e.autorIcon,paths:e.paths})});case"columnistas":return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Dt,{data:t,autorIcon:e.autorIcon,paths:e.paths})});default:return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Se,{...t,paths:e.paths})})}},rc=e=>{const{data:t,currentPage:a,banners:r,slug:n,ranking:o,pathname:i,texts:l={}}=e,h=[3,8,13],c={3:1,8:2,13:3};switch(e.option){case"op1":return s.jsx(Pr,{ranking:o,readestTitle:l.readestTitle??"",paths:e.paths,bannerTop:s.jsx(fe,{banners:r??[],name:"right_1"}),banner:s.jsx(fe,{banners:r??[],name:"right_2"}),children:s.jsx("section",{className:"sass-pg-sec-content",children:t.length>0?s.jsx(ys,{className:["sass-pg-sec-newsContentSection","padding-0"].join(" "),paginatorComponent:s.jsx(vs,{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((d,u)=>s.jsxs(I.Fragment,{children:[h.includes(u+1)&&s.jsx("div",{className:"sass-pg-sec-itemContent banner-context",children:s.jsx(fe,{banners:r??[],name:`block_2_${c[u+1]}`})}),s.jsx(Ns,{autorIcon:e.autorIcon,item:d,option:n,paths:e.paths},u)]},u))}):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(ys,{className:"padding-0",paginatorComponent:s.jsx(vs,{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((d,u)=>s.jsxs(I.Fragment,{children:[h.includes(u+1)&&s.jsx("div",{className:"sass-pg-sec-itemContent",children:s.jsx(fe,{banners:r??[],name:`block_2_${c[u+1]}`})}),s.jsx(Ns,{autorIcon:e.autorIcon,item:d,option:n,paths:e.paths},u)]},u))}):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,{})}},nc=e=>{const{data:t}=e;return s.jsx("section",{className:"sass-pg-cont-content",children:t.map((a,r)=>s.jsx("div",{className:"sass-pg-cont-contactInfoContent",dangerouslySetInnerHTML:{__html:a.body.rendered}},r))})},oc=({children:e,className:t=""})=>s.jsx("div",{className:`content-layout-2 sass-com-cl2-content ${t}`,children:e}),ic=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(xr,{itemList:e.itemList}),e.bannerTop,s.jsx(kt,{content:e.ranking,title:String(e.texts.readestTitle??""),paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px",...e.readestCustomStyles}}),s.jsx("div",{style:{position:"sticky",top:"110px"},children:e.banner})]})}),s.jsx("div",{className:"sass-com-lnoc-complement",children:e.complement})]}),$r=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const r=e?.preview?.sizes?.[0]?.scale??void 0,o=(await a.getNewsMultimedia({path:t,imagesizes:r}))?.data?.data;if(!Array.isArray(o)||o.length===0)return null;const i=o[0],h=(Array.isArray(i?.videos)?i.videos:[]).find(c=>c?.type==="video-embedded");return h?.code?s.jsxs("div",{className:"sass-pg-veh-content",children:[s.jsx("div",{dangerouslySetInnerHTML:{__html:typeof h.code=="string"?h.code:""}}),h?.title&&s.jsx("p",{className:"sass-pg-veh-title",children:h.title})]}):null}catch{return null}},Zr=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const r=e?.preview?.sizes?.[0]?.scale??void 0,o=(await a.getNewsMultimedia({path:t,imagesizes:r}))?.data?.data;if(!Array.isArray(o)||o.length===0)return null;const i=o[0],h=(Array.isArray(i?.videos)?i.videos:[]).find(c=>c?.type==="video-youtube");return!h?.code||typeof h.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/${h.code}`,frameBorder:"0",allowFullScreen:!0}),h?.title&&s.jsx("p",{className:"sass-pg-vyh-title",children:h.title})]})}catch{return null}},Xr=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const r=e?.preview?.sizes?.[0]?.scale??void 0,o=(await a.getNews({path:t,imagesizes:r}))?.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}},je={videoEmbedded:"videoEmbedded",videoYouTube:"videoYouTube",iframe:"iframe",fotoGaleria:"fotogaleria"},lc={[je.videoEmbedded]:$r,[je.videoYouTube]:Zr,[je.iframe]:Xr},cc=({news:e,commonServices:t})=>{const{config:a,info:r}=e,n=a.articlepreview,o=r.link.internal,i=n?lc[n]:null;return i?s.jsx("div",{className:"sass-pg-nap-content",children:s.jsx(i,{newsformated:e,internal:o,commonServices:t})}):null},Rr=e=>{const t=e.option==="liveblogs",a=()=>{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",{style:{"--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-image-height-desk":"600px","--news-image-height-mobile":"420px",...e.headerSectionStyles?.liveblogs},children:s.jsx(kr,{...r,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px"})});default:return s.jsx("header",{className:"sass-pg-news-contentHeader",style:{"--section-card-chip-padding":"0 0 0 6px","--uppertitle-display":"block","--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-description-content-gap":"0px",...e.headerSectionStyles?.common},children:s.jsx(Le,{...r,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px",cutSubtitle:!1,colorSubTitle:"black",isTitle:!0,paths:e.paths,newsDescriptionSectionTag:e.newsDescriptionSectionTag})})}};return s.jsxs(s.Fragment,{children:[s.jsx(a,{}),s.jsx(_e,{banners:e.banners,index:1}),!t&&e.commonServices&&s.jsx(cc,{news:e.news[0],commonServices:e.commonServices})]})},dc=e=>s.jsx("section",{className:"su-w-full sass-com-ccard-content",id:e.id,children:e.children}),hc=async(e,t,a)=>{if(!a)return e;const r=/(<div[^>]*class=["'][^"']*ck-related-news[^"']*["'][^>]*>[\s\S]*?<span\b[^>]*data-src="([^"]+)"[^>]*>[\s\S]*?<\/span>[\s\S]*?<\/div>\s*<\/div>)/g,n=[...e.matchAll(r)];let o=e;for(const i of n){const l=i[1],h=i[2]??"";let c;if(a.forEach(w=>{Array.isArray(w)&&!c&&(c=w.find(U=>h.replaceAll("/","|").includes(U?.info.link.internal||"")))}),!c){const w=l.replace(/class=["']([^"']*ck-related-news[^"']*)["']/,'class="$1-empty"');o=o.replace(l,w);continue}const d=c.preview?.sizes?.[0],u=d?await ie(d.url):"",m=c.info.section?.url??"#",g=c.info.section?.name??"Sección",f=c.info.link?.url??"#",p=c.main?.title.article??"Título",A=(await Promise.all(c.preview?.sizes?.map(async w=>{const U=await ie(w.url);return w.width<200?`<source srcset="${U}" media="(width < 750px)"/>`:`<source srcset="${U}" media="(width >= 750px)"/>`})||[])).reduce((w,U)=>w+=U,""),b=l.match(/<span\b[^>]*data-src="[^"]+"[^>]*>[\s\S]*?<\/span>/),E=b?b[0]:"",N=`
149
+ h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`})})},Ot=e=>{if(!e||e.trim()==="")return e;const t=e.trim();return t.startsWith("http://")||t.startsWith("https://")?t:`https://${t}`},Bl=e=>!e||e.trim()===""?!1:/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()),Ol=async e=>{const{autor:t,autorIcon:a,socialIconsFilled:r=!1}=e,n=a,o=t?.info?.image?.sizes?.[0]?.url??"",i=t?.info?.fullname??"",l=t?.info?.email??"",h=t?.addtional?.USER_SHOWEMAIL??!1,c=t?.addtional?.USER_SHOWBIO??!1,d=t?.addtional?.USER_MIBIO??"",u=Ot(t?.addtional?.USER_USERFB??""),m=Ot(t?.addtional?.USER_USERIG??""),g=Ot(t?.addtional?.USER_USERTWT??""),f=Ot(t?.addtional?.USER_USERLIN??""),p=()=>!h||!l||l.trim()===""?!1:Bl(l),A=b=>`mailto:${b.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:[o?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 "+i,className:"sass-com-ah1-image su-object-cover",src:await ie(o)})}):s.jsx("div",{className:"sass-com-ah1-icon-wrap sass-image-autor-wrapper su-flex-center",children:s.jsx(n,{})}),s.jsx("h1",{className:"sass-com-ah1-name",children:i}),p()&&s.jsx("a",{href:A(l),className:"sass-com-ah1-email","aria-label":`Enviar correo electrónico a ${l}`,title:`Enviar correo a ${l}`,children:l}),c&&s.jsx("p",{className:"sass-com-ah1-description",children:d}),s.jsxs("div",{className:"sass-com-ah1-social",children:[u&&s.jsx("a",{href:u,target:"_blank",className:`sass-com-ah1-social-link ${r?"sass-com-ah1-social-filled":"sass-com-ah1-social-stroke"}`,rel:"noreferrer",children:r?s.jsx(Bt,{className:"sass-com-ah1-social-icon sass-social-icon-facebook",forceSVG:!0}):s.jsx(xt,{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:s.jsx(Lt,{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:s.jsx(Pe,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-x",forceSVG:!0})}),f&&s.jsx("a",{href:f,target:"_blank",className:`sass-com-ah1-social-link ${r?"sass-com-ah1-social-filled":"sass-com-ah1-social-stroke"}`,rel:"noreferrer",children:r?s.jsx(Lr,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin",forceSVG:!0}):s.jsx(Ge,{className:"sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin",forceSVG:!0})})]})]})})},Ml=async e=>{const{autor:t,autorIcon:a,socialIconsFilled:r=!1}=e,n=a,o=t?.info?.image?.sizes?.[0]?.url??"",i=t?.info?.fullname??"",l=t?.info?.email??"",h=t?.addtional?.USER_SHOWEMAIL??!1,c=t?.addtional?.USER_SHOWBIO??!1,d=t?.addtional?.USER_MIBIO??"",u=t?.addtional?.USER_USERFB??"",m=t?.addtional?.USER_USERIG??"",g=t?.addtional?.USER_USERTWT??"",f=t?.addtional?.USER_USERLIN??"";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:[o?s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-ah2-imageStyled su-object-cover",src:await ie(o)}):s.jsx("div",{className:"sass-com-ah2-contentIconStyled su-flex-center",children:s.jsx(n,{})}),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:i}),h&&s.jsx("p",{className:"sass-com-ah2-email",children:l}),c&&s.jsx("p",{className:"sass-com-ah2-description",children:d}),s.jsxs("div",{className:"sass-com-ah2-contenSocialNetwork su-flex su-items-center su-gap-4 su-justify-start",children:[u&&s.jsx("a",{href:u,target:"_blank",className:r?"sass-com-ah2-socialIconFilled":"sass-com-ah2-socialIconStroke",rel:"noreferrer",children:r?s.jsx(Bt,{className:"sass-com-ah2-blackIconFaceBook sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook",forceSVG:!0}):s.jsx(xt,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook",forceSVG:!0})}),m&&s.jsx("a",{href:m,target:"_blank",rel:"noreferrer",children:s.jsx(Lt,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-instagram",forceSVG:!0})}),g&&s.jsx("a",{href:g,target:"_blank",rel:"noreferrer",children:s.jsx(Pe,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-x",forceSVG:!0})}),f&&s.jsx("a",{href:f,target:"_blank",className:r?"sass-com-ah2-socialIconFilled":"sass-com-ah2-socialIconStroke",rel:"noreferrer",children:r?s.jsx(Lr,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin",forceSVG:!0}):s.jsx(Ge,{className:"sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin",forceSVG:!0})})]})]})]})})},Pr=e=>s.jsxs("section",{className:"sass-com-lnc-content",children:[e.children,s.jsxs("div",{className:"sass-com-lnc-bannerSection",children:[e.bannerTop,s.jsx(kt,{content:e.ranking,title:e.readestTitle,paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px"}}),e.banner]})]}),ql=async e=>{const t=As(),a={...e,main:{...e.main,title:{...e.main.title,article:Ce(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 ie(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(Le,{...a,paths:e.paths})})]}):null},Dl=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(Ut,{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:"white"})}),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(Le,{isTitle:!0,cutSubtitle:!1,...He({...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(fe,{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,r)=>I.createElement(ql,{...He(a,!0,!1,!1),key:r,paths:e.paths}))]})]})]})})},ce=I.forwardRef((e,t)=>{const{isTitle:a=!1,isOpinion:r=!1}=e,n=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":`${r}`,children:[s.jsx("hr",{className:"sass-com-sec-startLine"}),e.titleUrl?s.jsx(O,{href:e.titleUrl,children:n}):n,s.jsx("hr",{className:"sass-com-sec-line"}),e.titleUrl&&s.jsx(O,{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})]})}),Cs=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"})}),Mt=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"})}),_l=()=>s.jsx("div",{className:"sass-com-sb-buttonContent",children:s.jsx("label",{className:"sass-com-sb-buttonStyled",htmlFor:"side-bar-state",children:s.jsx(Ke,{className:"sass-com-sb-icon"})})}),Gl=({action:e,placeholder:t})=>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":"Buscar from sidebar",className:"sass-com-sb-searchSubmit",children:s.jsx(Cs,{color:"var(--search-input-icons)"})})]})}),jl=({item:e,index:t})=>{const a=`accordion_${t}`,r=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("h3",{className:"sass-com-sb-accordionHeading",children:r?s.jsxs("label",{className:"sass-com-sb-accordionSummeryStyled",htmlFor:a,children:[e.link?s.jsx(O,{block_subPublication:!0,className:"sass-com-sb-linkStyled",href:e.link,target:e.target,children:e.description}):s.jsx("div",{children:e.description}),s.jsx(Mt,{width:13,height:13,fill:"var(--side-bar-arrow-color)"})]}):s.jsx(O,{block_subPublication:!0,className:"sass-com-sb-linkStyled",href:e.link??void 0,target:e.target,children:e.description})}),r&&s.jsx("div",{className:"sass-com-sb-accordionDetailsStyled",style:{"--max-height":`${e.subitem.length*45}px`},children:e.subitem.map((n,o)=>s.jsx(O,{block_subPublication:!0,className:"sass-com-sb-subLinkStyled",href:n.link??void 0,target:n.target,children:n.description},o))})]})},Ql=({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?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"})},a):null)}),t&&s.jsx("p",{className:"sass-com-sb-copyRights",children:t})]}),Hl=({sidebar:e,socials:t,copyrigth:a,sidebarExtra:r,searchKeyWord:n,custom_styles:o={}})=>{const{PUBLIC_SERVICE_PREFIX:i,PUBLIC_IS_SUB_PUBLICATION:l,SUB_PUBLICATION_PREFIX_IN_ROUTES:h}=D(),c=h?.buscar&&i!=="false"&&l!=="false"?`/${i}`:"";return s.jsxs("aside",{className:"sass-com-sb-drawerStyled",id:"sidebar-expandable",style:o,children:[s.jsx("input",{type:"checkbox",id:"side-bar-state"}),s.jsxs("section",{className:"sass-com-sb-sidebarCustom",children:[s.jsx(_l,{}),s.jsx(Gl,{action:`${c}/buscar`,placeholder:`${n}...`}),s.jsxs("div",{className:"sass-com-sb-mainContent",children:[s.jsxs("div",{children:[r,e.map((d,u)=>s.jsx(jl,{item:d,index:u},u))]}),s.jsx(Ql,{socials:t,copyright:a})]})]})]})},Br=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})}),Or=e=>{const{alertZone:t,id:a="close-alert"}=e,r=()=>s.jsx(O,{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(r,{}),s.jsx("label",{htmlFor:a,children:s.jsx(Ke,{className:"sass-com-hlm-closeLiveStyled"})})]}),s.jsx(r,{})]})]})},Mr=e=>{const{cintillo:t,tapeTitle:a,socials:r}=e,n="",o=t?.findIndex(i=>i.link===n)??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(O,{block_subPublication:!0,className:"sass-com-htape-linkStyled",target:t[o]?.target,href:t[o]?.link,style:{color:t[o]?.link===n?"var(--header-tape-active-link)":"var(--header-tape-icons)",fontWeight:t[o]?.link===n?"700":"400"},children:t[o]?.description},o),t&&t.map((i,l)=>{if(l!==o)return s.jsx(O,{block_subPublication:!0,className:"sass-com-htape-linkStyled",href:i?.link,style:{color:i?.link===n?"var(--header-tape-active-link)":"var(--header-tape-color)",fontWeight:i?.link===n?"700":"400"},children:i?.description},l)})]}),s.jsx("div",{className:"sass-com-htape-socialNetwork",children:Object.keys(r).map(i=>r[i]?.show&&s.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":r[i].title+" link",className:"sass-com-htape-linkSocialNetwork",href:r[i].url,children:Pt[i]({className:["sass-com-htape-icon",`sass-com-htape-${String(i)}`].join(" ")})},i))})]})},Fl=e=>{const{alertZone:t,custom_styles:a={}}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:r}=D();return s.jsxs("header",{className:"sass-com-h1sk-headerStyled",style:a,id:"saas-header-sticky",children:[e.socialIcons&&e.headerTape?.sticky&&s.jsx(Mr,{socialIcons:e.socialIcons,cintillo:e.cintillo,tapeTitle:e.tapeTitle,socials:e.socials}),s.jsxs("div",{className:"sass-com-h1sk-headerContent center-mobile-header-icon",children:[s.jsx(bs,{id:"button-app",className:"sass-com-h1sk-menuButton",toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:s.jsx(Br,{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(O,{href:"/","aria-label":"Home",className:"icon header-logo-link-sticky",style:{display:"flex"},children:I.createElement("span",{className:"sass-com-h1sk-logoStyled"},e.icon)}),e.mobileIcon?s.jsx(O,{href:"/","aria-label":"Home",className:"icon header-logo-link-sticky header-mobile-icon",style:{display:"flex"},children:I.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(O,{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:Ce(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(O,{block_subPublication:r?.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(Cs,{width:28,height:28,color:"currentColor"})}),e.rightZone]})]}),!e.showAlertPop&&s.jsx(Or,{alertZone:t,forceShow:e.showAlertPop})]})},Vl=e=>{const{items:t}=e;return s.jsx("ul",{className:"sass-com-mopt-ul",children:t.map((a,r)=>s.jsxs("li",{className:"sass-com-mopt-liBefore sass-com-mopt-li",children:[a.link?s.jsxs(O,{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(Mt,{})]}):s.jsxs("span",{"aria-label":a.description,className:"sass-com-mopt-linkStyled",children:[a.description,Array.isArray(a.subitem)&&s.jsx(Mt,{})]}),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((n,o)=>s.jsx("li",{className:"sass-com-mopt-li",children:s.jsx(O,{block_subPublication:!0,className:"sass-com-mopt-itemLink","aria-label":n.description,href:n.link?n.link:void 0,target:n.target,children:n.description})},o))})})]},r))})},zl=e=>{const{menu:t,alertZone:a,custom_styles:r={},prerender_classes:n}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:o}=D();return s.jsxs("header",{className:"sass-com-h1st-headerStyled",id:"saas-header-static",style:{...r,top:e.cintillo||e.socialIcons&&!e.headerTape?.static?40:0},children:[e.socialIcons&&e.headerTape?.static&&s.jsx(Mr,{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(bs,{className:"sass-com-h1st-menuButton",id:"button-app",toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:[s.jsx(Br,{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(O,{href:"/","aria-label":"Home",className:"header-logo-link",children:I.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(O,{block_subPublication:o?.buscar,href:e.searchLink?e.searchLink:"/buscar",className:"sass-com-h1st-buttonSectionSearch","aria-label":e.searchKeyWord,children:s.jsx(Cs,{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(O,{className:`sass-com-h1st-headLine ${n?.alert}`,href:a.data[0]?.info.link.url,target:a.data[0]?.info.link.target,title:a.data[0]?.main.title.home,children:Ce(a.data[0]?.main.title.home??"",120)})]}):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(Vl,{items:t})})]})]})},Wl=e=>{const{alertZone:t,children:a,sidebar:r,custom_styles:n={}}=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?{...n,"--hasAlertMargin":"3.6rem !important"}:n,id:"content-layout",children:[e.showAlertPop&&s.jsx(Or,{alertZone:t,forceShow:e.showAlertPop,id:"static-alert-chip"}),a]});return s.jsxs(s.Fragment,{children:[e.childrenContentPosition==="before-headers"&&i,s.jsx(Fl,{...e}),!e.showOnlyStickyHeader&&s.jsx(zl,{...e}),e.childrenContentPosition!=="before-headers"&&i,s.jsx(Hl,{sidebarExtra:e.sidebarExtra,searchKeyWord:e.searchKeyWord,sidebar:r,socials:e.socials,copyrigth:e.copyrigth,custom_styles:e.custom_styles})]})},qr=e=>{const{SUB_PUBLICATION_PREFIX_IN_ROUTES:t}=D();return e?.tags&&e?.tags?.length>0&&s.jsx("section",{className:"sass-com-ts-content",children:Array.isArray(e.tags)&&s.jsxs("div",{className:"sass-com-ts-tags",children:[s.jsx("p",{className:"sass-com-ts-tagStyled",children:e.title?e.title:"Tags:"}),e.tags.map((a,r)=>a.approved?s.jsx(O,{block_subPublication:t?.tema,href:Ue(a,e.paths),children:s.jsx("div",{className:"sass-com-ts-chipStyled sass-com-ts-tagLink",children:a.name})},r):s.jsx("div",{className:"sass-com-ts-chipStyled",children:a.name},r))]})})},Dr=async e=>{const{autor:t}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:a}=D(),r=t?.addtional?.USER_SHOWBIO??!1,n=t?.info?.name??"",o=t?.info?.fullname??"",i=t?.info?.image?.sizes?.[0]?.url??"",l=t?.addtional?.USER_MIBIO??"",h=t?.addtional?.USER_USERFB??"",c=t?.addtional?.USER_USERIG??"",d=t?.addtional?.USER_USERTWT??"",u=t?.addtional?.USER_USERLIN??"";return r&&!!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(O,{block_subPublication:a?.autor,className:"sass-com-ja2-journalistInfo su-no-underline",href:`/${e.paths.autor}/${n}`,children:i?s.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"Imagen de perfil de "+n,className:"sass-com-ja2-imageStyled",src:await ie(i)}):s.jsx("div",{className:"sass-com-ja2-contentIconStyled",children:e.autorIcon})}),s.jsxs("section",{className:"sass-com-ja2-journalistSection",children:[s.jsx("h3",{className:"sass-com-ja2-journalistInfo",children:s.jsx(O,{block_subPublication:a?.autor,className:"su-no-underline",href:`/${e.paths.autor}/${n}`,children:o})}),s.jsxs("section",{className:"sass-com-ja2-socialNetworkSection",children:[h&&s.jsx("a",{href:h,target:"_blank","aria-label":l,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"})})}),c&&s.jsx("a",{href:c,target:"_blank","aria-label":l,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)"})})})]})}),d&&s.jsx("a",{href:d,target:"_blank","aria-label":l,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"})})}),u&&s.jsx("a",{href:u,target:"_blank","aria-label":l,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"})]})})]})]})]}),r&&s.jsx("p",{className:"sass-com-ja2-article",dangerouslySetInnerHTML:{__html:`${l} <a aria-label="${n}" href="/${e.paths.autor}/${n}">${String(e.texts.authorViewMore??"Ver más")}</a>`}})]})})},_r=async e=>{const{news:t,texts:a}=e;return 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 ie(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("a",{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("a",{className:"sass-com-jg-LearnMoreLink",href:`/${e.paths.autor}/${r.name}`,children:String(a.JournalistGroupLink??"")})]})]},`author-${r.firstname}`))})},qt=e=>{if(!e||e.trim()==="")return e;const t=e.trim();return t.startsWith("http://")||t.startsWith("https://")?t:`https://${t}`},Yl=async e=>{const t=e.img?await ie(e.img):"",a=qt(e.social?.facebook??""),r=qt(e.social?.instagram??""),n=qt(e.social?.twitter??""),o=qt(e.social?.linkedin??""),i=e.social&&(a||r||n||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(xt,{className:"sass-com-th-faceBookIcon",forceSVG:!0})}),r&&s.jsx("a",{href:r,target:"_blank",className:"sass-com-th-socialIconLink",rel:"noreferrer",children:s.jsx(Lt,{className:"sass-com-th-socialIcon",forceSVG:!0})}),n&&s.jsx("a",{href:n,target:"_blank",className:"sass-com-th-socialIconLink",rel:"noreferrer",children:s.jsx(Pe,{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(Ge,{className:"sass-com-th-socialIcon",forceSVG:!0})})]})]})})};function Kl(e){const{main:t,authors:a,info:r,preview:n,config:o,keywords:i,isVideo:l,isLarge:h,priorityHigh:c,share:d,overImage:u,isTitle:m,paths:g}=e,{CONFIG_videoClipUrl:f}=D(),p=o?.homepreview??"imagen",A=()=>{const w=e.videos?.[0]?.clip;return w?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:`${f}${w}`,type:"video/mp4"})})}):null},b=()=>{if(!e.videos)return null;const w=e.videos?.[0]?.code;return w?s.jsx("iframe",{className:"homeCardVideoIframeContainer",src:`https://www.youtube.com/embed/${w}`,frameBorder:"0",allowFullScreen:!0}):null},E=()=>{if(!e.videos)return null;const w=(e.videos??[]).find(V=>V.type==="video-embedded");if(!w?.code)return null;const L=/src\s*=\s*"([^"]+)"/.exec(w.code),F=L?L[1]:null;if(!F)return null;const Y=n.original?.url??n.sizes?.[0]?.url??"",H=Fe()??"",B=Y.startsWith("http")||Y.includes(H)||H===""?Y:H+Y;return s.jsx("iframe",{className:"homeCardEmbeddedIframeContainer",src:F,frameBorder:"0",allowFullScreen:!0,style:{"--thumbnail-url":`url(${B})`}})},N=()=>{const U=e.gallery??[];return U.length?s.jsx(xe,{slot_id:"home-card_"+e.info.link.url,fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:U.map((L,F)=>{const Y=L?.url||L?.id||`gallery-${F}`;return s.jsx(O,{"aria-label":e.main?.title?.section,className:"homeCardImage",title:t?.title?.section,href:r?.link?.url,target:r?.link?.target,children:s.jsx(ge,{preview:L,isVideo:l,isLarge:h,priorityHigh:c})},Y)})}):null};let S=null;switch(p){case"fotogaleria":S=s.jsx(N,{});break;case"videoYouTube":S=s.jsx(b,{});break;case"videoEmbedded":S=s.jsx(E,{});break;case"clip":S=s.jsx(A,{});break;case"iframe":S=s.jsx("div",{className:"homeCardIframeContainer",dangerouslySetInnerHTML:{__html:e?.external?.iframe??""}});break;default:S=s.jsx(O,{"aria-label":e?.main?.title?.section,className:"homeCardImage",title:t?.title?.section,href:r?.link?.url,target:r?.link?.target,children:s.jsx(ge,{preview:n,isVideo:l,isLarge:h,priorityHigh:c})});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(Le,{main:t,authors:a,info:r,preview:n,share:d,config:o,overImage:u,isTitle:m,paths:g,keywords:i})})]})}const Je=e=>{const{SHOW_TAG_BY_SECTION:t,SUB_PUBLICATION_PREFIX_IN_ROUTES:a}=D(),r=()=>{if(e?.config?.showtime&&e.config?.showauthor)return`${e?.authors[0]?.fullname} - ${ye(e.info?.date?.modified)}`;if(e.config?.showauthor)return e?.authors[0]?.fullname;if(e?.config?.showtime)return ye(e.info?.date?.modified)},n=()=>{if(t&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const i=e.keywords.tags[0],l=i.name;return i.approved?s.jsxs("h3",{children:[" ",s.jsx(O,{"aria-label":l,className:"sass-bmd-sup-tagmx",block_subPublication:a?.tema,href:Ue(i,e.paths),children:l})]}):s.jsx("div",{className:"sass-bmd-sup-tagmx",children:l})}else if(e.info?.section?.url)return s.jsx("h3",{children:s.jsx(O,{className:"sass-bmd-sup-tagmx",href:e?.info?.section?.url,children:e?.info?.section?.name})});return null},o=()=>{if(t&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const i=e.keywords.tags[0],l=i.name;return i.approved?s.jsx("h3",{children:s.jsx(O,{"aria-label":l,className:"sass-bmd-sup-tag",block_subPublication:a?.tema,href:Ue(i,e.paths),children:l})}):s.jsx("div",{className:"sass-bmd-sup-tag",children:l})}else if(e.info?.section?.url)return s.jsx("h3",{children:s.jsx(O,{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(O,{href:e?.info?.link?.url,target:e?.info?.link?.target,style:{"--heightImageOverwrite":e.heightImageOverwrite?e.heightImageOverwrite:"51.8%","--heightImageOverwriteMobile":e.heightImageOverwriteMobile?e.heightImageOverwriteMobile:"491px","--fontSizeImageNewsTitleMobile":e.isVertical?"20px":"1.75rem","--lineHeightImageNewsTitleMobile":e.isVertical?"26px":"36px"},children:s.jsx(ge,{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(n,{}),s.jsxs("div",{style:{position:"relative"},children:[s.jsx(o,{}),s.jsx(O,{className:"sass-bmd-sup-linkTitle",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(O,{block_subPublication:a?.autor,href:`/${e.paths?.autor??"autor"}/${e?.authors[0]?.name}`,className:"sass-bmd-sup-correspondent",children:r()}):s.jsx("p",{className:"sass-bmd-sup-correspondentLink",children:r()})})]})]})},Gr=e=>{const{main:t,authors:a,info:r,preview:n,isVideo:o,config:i,itemReverseOrder:l,imageSize:h,showSuper:c,textPosition:d,heightImageOverwrite:u,heightImageOverwriteMobile:m}=e;return s.jsxs("section",{className:"su-grid su-w-full su-gap-8 sass-bmd-dd-content",children:[c?s.jsx("section",{style:{...e.customSectionCardStyles},children:s.jsx(Je,{main:t,authors:a,info:r,preview:n,isVideo:o,config:i,paths:e.paths,textPosition:d,heightImageOverwrite:u,heightImageOverwriteMobile:m})}):s.jsx(Se,{...e,main:t,authors:a,info:r,preview:n,isVideo:o,config:i,priorityHigh:!0}),e.banners&&s.jsx(fe,{banners:e.banners,name:"main_block_"+(e.rightOnlyBanner?1:2)}),!e.rightOnlyBanner&&s.jsx(br,{block:e.block,itemReverseOrder:l,priorityHigh:!0,imageSize:h,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})]})},Jl=({content:e,customLargeSection:t,customSmallSection:a,paths:r})=>{const n=e[0];return Array.isArray(e)&&e.length>0&&n&&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(Je,{...n,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths: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((o,i)=>i>0&&I.createElement(Je,{...o,key:i,textPosition:"start",heightImageOverwrite:"256px",heightImageOverwriteMobile:"270px",paths:r}))})]})},$l=({content:e,customLargeSection:t,customSlimSection:a,paths: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((n,o)=>o===0?s.jsx("div",{style:t,className:"su-w-full sass-bmd-dnv-firstSection",children:s.jsx(Je,{...n,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:r})},o):s.jsx("section",{style:a,children:I.createElement(Je,{...n,key:o,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:r})},o))}),jr=e=>{const{SHOW_TAG_BY_SECTION:t,SUB_PUBLICATION_PREFIX_IN_ROUTES:a}=D(),r=()=>{if(t&&e.mainNew.keywords?.tags?.length&&e.mainNew.keywords.tags.length>0){const n=e.mainNew.keywords.tags[0],o=n.name;return n.approved?s.jsx("h3",{className:"sass-com-bh-section",children:s.jsx(O,{"aria-label":o,className:"sass-com-bh-sectionDescription",block_subPublication:a?.tema,href:Ue(n,e.paths),children:o})}):s.jsx("div",{className:"sass-com-bh-sectionDescription",children:o})}else if(e.mainNew.info?.section?.url)return s.jsx("h3",{className:"sass-com-bh-section",children:s.jsx(O,{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(O,{className:"sass-com-bh-title",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(O,{href:e.goTo.url,className:"sass-com-bh-linkStyled",children:e.goTo.description})]})},Qr=e=>{const{content:t,title:a,isVideo:r}=e;if(!t||!t[0]||t.length===0)return;const n=e.slot_id&&e.slot_id!=="Nota_1",o={...t[0],main:{...t[0].main,title:{...t[0].main.title,section:n?t[0].main.title.home:t[0].main.title.section}}},i=t.slice(1);return o&&i&&s.jsxs(ce,{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(jr,{mainNew:o,goTo:e.goTo,paths:e.paths}),s.jsx(O,{className:"sass-bd-dn-headerSectionLink",href:o?.info?.link?.url,target:o?.info?.link?.target,children:s.jsx(ge,{preview:o.preview})})]}),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(i)&&i.map((l,h)=>{const c={...l,main:{...l.main,title:{...l.main.title,section:n?l.main.title.home:l.main.title.section}}};return s.jsx("div",{style:{order:h},children:s.jsx(Se,{...c,isVideo:r,paths:e.paths})},h)})]})]})},Dt=async e=>{const{data:t,autorIcon:a}=e,{SUB_PUBLICATION_PREFIX_IN_ROUTES:r}=D(),n=a,o=()=>t?.config?.showtime?`${ye(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?.sizes?.length>0?s.jsx("img",{fetchPriority:"low",loading:"lazy",className:"sass-com-oc2-image",src:await ie(t?.authors[0]?.image?.sizes[0]?.url||""),alt:t?.authors[0]?.fullname}):s.jsx("div",{className:"sass-com-oc2-contentIcon",children:s.jsx(n,{})}),s.jsx("p",{className:"sass-com-oc2-autorName",children:Ce(t?.authors[0]?.fullname??"Redacción",18)}),s.jsx("p",{className:"sass-com-oc2-time",children:o()})]});return s.jsxs("div",{className:"sass-com-oc2-content",children:[t?.authors[0]?.internaluser?s.jsx(O,{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(O,{className:"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:Ce(t?.main?.subtitle?.striped||"")})]})]})};function Zl(e){const t=new Array(e.length),a=e.length/2;for(let r=0;r<e.length;r++)r%2===0?t[Math.floor(r/2)]=e[r]:t[a+Math.floor(r/2)]=e[r];return t}const Xl=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),r=[];for(let o=0;o<e.news.length;o++){const i=e.news[o];o===2&&r.push(a(o)),i&&r.push(s.jsx("div",{className:"sass-bs-mo-boxPosition",style:{order:o},children:s.jsx(Dt,{data:i,autorIcon:e.autorIcon,paths:e.paths})},`description-block-2-odd-${o}`))}const n=r.length%2===0?Zl(r):r;return s.jsx("section",{style:e.customStyles,children:s.jsx(ce,{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:n}),s.jsx("div",{className:"sass-bs-mo-bannerContent",children:e.halfPageBanner})]})})})},Rl=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(Le,{...e,info:{...e.info,section:{name:"",slug:"",url:""}}})]})},ec=e=>{const{news:t}=e;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((a,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:a})})},r)),t.map((a,r)=>s.jsx("div",{className:"sass-bs-m2c-boxPosition",style:{order:r},children:s.jsx(Se,{...a,share:e.share,paths:e.paths})},r))]}),s.jsx("div",{className:"sass-bs-m2c-bannerContent",children:e.halfPageBanner})]})},tc=e=>s.jsxs(s.Fragment,{children:[s.jsx(yr,{className:"display-on-lower-900px",...e,termsLink:e.termsLink,submitFunction:e.submitFunction}),s.jsx(Cr,{...e})]}),Hr=e=>{const{content:t}=e;if(!t||t.length===0)return;const a=i=>e.hasLines&&(i+1)%3!==0?"sass-bs-m3c-contentSeparator":"",r=[];let n=0,o=1;for(let i=0;i<t.length;i++){e.banners&&e.bannerPositionIndex?.includes(i)&&(r.push(s.jsx("section",{className:a(n),children:e.banners?.some(d=>d.key===`${e.slot_id}_${o}`)&&s.jsx(fe,{banners:e.banners,name:`${e.slot_id}_${o}`})},n)),n++,o++);const l=e.isVideo?He(t[i],e.showVideoTime,e.showVideosubtitle,e.showVideoAuthor):t[i];if(!l)continue;const h=e.slot_id&&e.slot_id!=="Nota_1",c={...l,main:{...l.main,title:{...l.main.title,section:h?l.main.title.home:l.main.title.section}}};r.push(s.jsx("section",{className:a(n),children:s.jsx(Se,{...c,isVideo:e.isVideo,paths:e.paths})},n)),n++}return r.length===2&&r.push(s.jsx("div",{},n)),s.jsx("div",{className:`${e.hasLines?"sass-bs-m3c-newsContentWithLines":"sass-bs-m3c-newsContentWithoutLines"} sass-bs-m3c-newsContent`,children:r})},Fr=e=>s.jsx(ce,{title:e.title,titleUrl:e.titleUrl,children:s.jsx(Hr,{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})}),Vr=e=>{const{content:t,title:a}=e;if(!(!t||t.length===0||!Array.isArray(t)))return s.jsx(ce,{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((r,n)=>{const o=e.slot_id&&e.slot_id!=="Nota_1",i={...r,main:{...r.main,title:{...r.main.title,section:o?r.main.title.home:r.main.title.section}}};return s.jsx("section",{children:s.jsx(Se,{...i,share:e.share,paths:e.paths})},n)})})})},zr=e=>{const{content:t,title:a}=e;if(!(!t||t.length===0))return s.jsx(ce,{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((r,n)=>{const o=e.slot_id&&e.slot_id!=="Nota_1",i={...r,main:{...r.main,title:{...r.main.title,section:o?r.main.title.home:r.main.title.section}}};return s.jsx("section",{children:s.jsx(Se,{...i,share:e.share,paths:e.paths})},n)})})})},Wr=e=>{const{content:t,title:a,isVideo:r=!0}=e;if(!t||t.length===0)return;const n=t[0],o=e.slot_id&&e.slot_id!=="Nota_1",i=t.slice(1);return n&&i&&s.jsxs(ce,{title:a,titleUrl:e.titleUrl,children:[s.jsxs("div",{className:"sass-bd-dv-headerSection",children:[s.jsx(jr,{goTo:e.goTo,mainNew:He(n),paths:e.paths}),s.jsx(O,{className:"sass-bd-dv-headerSectionLink",href:n?.info?.link.url,target:n?.info?.link.target,"aria-label":"Video",children:s.jsx(ge,{preview:{sizes:n?.main?.image.sizes,description:n?.main?.image.description},isVideo:r,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,h)=>{const c=He(l),d={...c,main:{...c.main,title:{...c.main.title,section:o?c.main.title.home:c.main.title.section}}};return s.jsx("div",{style:{order:h},children:I.createElement(Se,{...d,isVideo:r,key:h,paths:e.paths})},h)})]})]})},sc=async e=>{const{showNewsLikeTitle:t=!1}=e;return e&&e.info?s.jsxs("section",{className:"sass-com-sc6-content",style:{"--heightImageOverwrite":"100%"},children:[s.jsx(O,{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(ge,{preview:e.preview})}),s.jsxs("div",{className:"sass-com-sc6-textContent",children:[s.jsx(O,{className:"sass-com-sc6-sectionDescription",target:e?.info?.link?.target,href:t?e.info.link.url:e?.info?.section?.url,children:(t?e?.main?.title?.section:e?.info?.section?.name)??""}),s.jsx("p",{className:"sass-com-sc6-dateText",children:ye(e?.info?.date?.modified)})]})]}):null},Yr=e=>{if(!e.content||e.content.length===0)return;const t=e.slot_id&&e.slot_id!=="Nota_1";return s.jsx(ce,{title:e.title,children:s.jsx("div",{className:`su-grid su-justify-center 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,r)=>{const n={...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:I.createElement(sc,{...n,key:r,showNewsLikeTitle:e.showNewsLikeTitle})},r)})})})},Kr=e=>{const{content:t,title:a,slot_id:r}=e,n=e.slot_id&&e.slot_id!=="Nota_1";return t&&t.length!==0&&s.jsx(ce,{title:a,titleUrl:e.titleUrl,children:s.jsx(xe,{slot_id:r,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:n?o.main.title.home:o.main.title.section}}};return s.jsx("div",{style:{"--heightImageOverwrite":e.heightImageOverwrite,"--heightImageOverwriteMobile":e.heightImageOverwriteMobile},children:s.jsx(nt,{...l,paths:e.paths})},i)})})})},ac=async e=>{const{SUB_PUBLICATION_PREFIX_IN_ROUTES:t}=D(),{data:a}=e;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 ie(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(O,{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(O,{className:"sass-com-opt1-linkStyled",href:a?.info?.link?.url,target:a?.info?.link?.target,children:Ce(a?.main?.title?.home,40)})}),s.jsx("p",{className:"sass-com-opt1-comment",children:a?.main?.subtitle?.striped})]})]})},Jr=e=>{const t=e.slot_id&&e.slot_id!=="Nota_1";return s.jsx(ce,{titleUrl:e.titleUrl,title:e.title,children:s.jsx(xe,{slot_id:e.slot_id,cardGap:31,cardWidth:344,visibleItems:3,children:e.content&&e.content.map((a,r)=>{const n={...a,main:{...a.main,title:{...a.main.title,section:t?a.main.title.home:a.main.title.section}}};return s.jsx(ac,{autorIcon:e.autorIcon,data:n,paths:e.paths},r)})})})},Ns=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(Dt,{data:t,autorIcon:e.autorIcon,paths:e.paths})});case"columnistaslocales":return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Dt,{data:t,autorIcon:e.autorIcon,paths:e.paths})});case"columnistas":return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Dt,{data:t,autorIcon:e.autorIcon,paths:e.paths})});default:return s.jsx("div",{className:"sass-pg-sec-ItemCustomContent",children:s.jsx(Se,{...t,paths:e.paths})})}},rc=e=>{const{data:t,currentPage:a,banners:r,slug:n,ranking:o,pathname:i,texts:l={}}=e,h=[3,8,13],c={3:1,8:2,13:3};switch(e.option){case"op1":return s.jsx(Pr,{ranking:o,readestTitle:l.readestTitle??"",paths:e.paths,bannerTop:s.jsx(fe,{banners:r??[],name:"right_1"}),banner:s.jsx(fe,{banners:r??[],name:"right_2"}),children:s.jsx("section",{className:"sass-pg-sec-content",children:t.length>0?s.jsx(ys,{className:["sass-pg-sec-newsContentSection","padding-0"].join(" "),paginatorComponent:s.jsx(vs,{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((d,u)=>s.jsxs(I.Fragment,{children:[h.includes(u+1)&&s.jsx("div",{className:"sass-pg-sec-itemContent banner-context",children:s.jsx(fe,{banners:r??[],name:`block_2_${c[u+1]}`})}),s.jsx(Ns,{autorIcon:e.autorIcon,item:d,option:n,paths:e.paths},u)]},u))}):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(ys,{className:"padding-0",paginatorComponent:s.jsx(vs,{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((d,u)=>s.jsxs(I.Fragment,{children:[h.includes(u+1)&&s.jsx("div",{className:"sass-pg-sec-itemContent",children:s.jsx(fe,{banners:r??[],name:`block_2_${c[u+1]}`})}),s.jsx(Ns,{autorIcon:e.autorIcon,item:d,option:n,paths:e.paths},u)]},u))}):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,{})}},nc=e=>{const{data:t}=e;return s.jsx("section",{className:"sass-pg-cont-content",children:t.map((a,r)=>s.jsx("div",{className:"sass-pg-cont-contactInfoContent",dangerouslySetInnerHTML:{__html:a.body.rendered}},r))})},oc=({children:e,className:t=""})=>s.jsx("div",{className:`content-layout-2 sass-com-cl2-content ${t}`,children:e}),ic=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(xr,{itemList:e.itemList}),e.bannerTop,s.jsx(kt,{content:e.ranking,title:String(e.texts.readestTitle??""),paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px",...e.readestCustomStyles}}),s.jsx("div",{style:{position:"sticky",top:"110px"},children:e.banner})]})}),s.jsx("div",{className:"sass-com-lnoc-complement",children:e.complement})]}),$r=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const r=e?.preview?.sizes?.[0]?.scale??void 0,o=(await a.getNewsMultimedia({path:t,imagesizes:r}))?.data?.data;if(!Array.isArray(o)||o.length===0)return null;const i=o[0],h=(Array.isArray(i?.videos)?i.videos:[]).find(c=>c?.type==="video-embedded");return h?.code?s.jsxs("div",{className:"sass-pg-veh-content",children:[s.jsx("div",{dangerouslySetInnerHTML:{__html:typeof h.code=="string"?h.code:""}}),h?.title&&s.jsx("p",{className:"sass-pg-veh-title",children:h.title})]}):null}catch{return null}},Zr=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const r=e?.preview?.sizes?.[0]?.scale??void 0,o=(await a.getNewsMultimedia({path:t,imagesizes:r}))?.data?.data;if(!Array.isArray(o)||o.length===0)return null;const i=o[0],h=(Array.isArray(i?.videos)?i.videos:[]).find(c=>c?.type==="video-youtube");return!h?.code||typeof h.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/${h.code}`,frameBorder:"0",allowFullScreen:!0}),h?.title&&s.jsx("p",{className:"sass-pg-vyh-title",children:h.title})]})}catch{return null}},Xr=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const r=e?.preview?.sizes?.[0]?.scale??void 0,o=(await a.getNews({path:t,imagesizes:r}))?.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}},je={videoEmbedded:"videoEmbedded",videoYouTube:"videoYouTube",iframe:"iframe",fotoGaleria:"fotogaleria"},lc={[je.videoEmbedded]:$r,[je.videoYouTube]:Zr,[je.iframe]:Xr},cc=({news:e,commonServices:t})=>{const{config:a,info:r}=e,n=a.articlepreview,o=r.link.internal,i=n?lc[n]:null;return i?s.jsx("div",{className:"sass-pg-nap-content",children:s.jsx(i,{newsformated:e,internal:o,commonServices:t})}):null},Rr=e=>{const t=e.option==="liveblogs",a=()=>{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",{style:{"--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-image-height-desk":"600px","--news-image-height-mobile":"420px",...e.headerSectionStyles?.liveblogs},children:s.jsx(kr,{...r,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px"})});default:return s.jsx("header",{className:"sass-pg-news-contentHeader",style:{"--section-card-chip-padding":"0 0 0 6px","--uppertitle-display":"block","--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-description-content-gap":"0px",...e.headerSectionStyles?.common},children:s.jsx(Le,{...r,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px",cutSubtitle:!1,colorSubTitle:"black",isTitle:!0,paths:e.paths,newsDescriptionSectionTag:e.newsDescriptionSectionTag})})}};return s.jsxs(s.Fragment,{children:[s.jsx(a,{}),s.jsx(_e,{banners:e.banners,index:1}),!t&&e.commonServices&&s.jsx(cc,{news:e.news[0],commonServices:e.commonServices})]})},dc=e=>s.jsx("section",{className:"su-w-full sass-com-ccard-content",id:e.id,children:e.children}),hc=async(e,t,a)=>{if(!a)return e;const r=/(<div[^>]*class=["'][^"']*ck-related-news[^"']*["'][^>]*>[\s\S]*?<span\b[^>]*data-src="([^"]+)"[^>]*>[\s\S]*?<\/span>[\s\S]*?<\/div>\s*<\/div>)/g,n=[...e.matchAll(r)];let o=e;for(const i of n){const l=i[1],h=i[2]??"";let c;if(a.forEach(w=>{Array.isArray(w)&&!c&&(c=w.find(U=>h.replaceAll("/","|").includes(U?.info.link.internal||"")))}),!c){const w=l.replace(/class=["']([^"']*ck-related-news[^"']*)["']/,'class="$1-empty"');o=o.replace(l,w);continue}const d=c.preview?.sizes?.[0],u=d?await ie(d.url):"",m=c.info.section?.url??"#",g=c.info.section?.name??"Sección",f=c.info.link?.url??"#",p=c.main?.title.article??"Título",A=(await Promise.all(c.preview?.sizes?.map(async w=>{const U=await ie(w.url);return w.width<200?`<source srcset="${U}" media="(width < 750px)"/>`:`<source srcset="${U}" media="(width >= 750px)"/>`})||[])).reduce((w,U)=>w+=U,""),b=l.match(/<span\b[^>]*data-src="[^"]+"[^>]*>[\s\S]*?<\/span>/),E=b?b[0]:"",N=`
150
150
  <span data-src="${h}">
151
151
  <picture style='display: flex'>
152
152
  ${A}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sass-template-common",
3
- "version": "0.9.68",
3
+ "version": "0.9.70",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"