sass-template-common 0.9.178 → 0.9.179
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.
|
@@ -1793,7 +1793,7 @@ const Wr = async ({
|
|
|
1793
1793
|
} catch (n) {
|
|
1794
1794
|
return console.error("Error fetching video schemas:", n), null;
|
|
1795
1795
|
}
|
|
1796
|
-
}, Jr = "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD", Ka = (e) => e?.startsWith("family=") ?? !1, Zr = (e) => e.fontS3Url ? e.fontS3Url : e.googleFontFamily && !Ka(e.googleFontFamily) ? e.googleFontFamily : "", Xr = (e, t, s, n) => `@font-face {
|
|
1796
|
+
}, Jr = "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD", Ka = (e) => e?.startsWith("family=") ?? !1, Zr = (e) => e.fontS3Url && e.useS3Font ? e.fontS3Url : e.googleFontFamily && !Ka(e.googleFontFamily) ? e.googleFontFamily : "", Xr = (e, t, s, n) => `@font-face {
|
|
1797
1797
|
font-family: '${e.fontName}';
|
|
1798
1798
|
font-style: normal;
|
|
1799
1799
|
font-weight: ${e.fontWeight};
|
|
@@ -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"}})})]})},ra=()=>{const{ANALYTICS_marfeel:e}=q();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},{})}();`}})},zn=({defaultRouteName:e})=>{const{CAPTCHA_KEY:t,CONFIG_comments:a=!1,CONFIG_commentsV2:r=!1}=q();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 We(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wt={exports:{}},Wn=wt.exports,na;function oa(){return na||(na=1,(function(e,t){(function(a,r){e.exports=r()})(Wn,(function(){var a=1e3,r=6e4,n=36e5,o="millisecond",i="second",l="minute",d="hour",c="day",h="week",u="month",m="quarter",g="year",f="date",p="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|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,y={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(M){var P=["th","st","nd","rd"],L=M%100;return"["+M+(P[(L-20)%10]||P[L]||P[0])+"]"}},N=function(M,P,L){var F=String(M);return!F||F.length>=P?M:""+Array(P+1-F.length).join(L)+M},S={s:N,z:function(M){var P=-M.utcOffset(),L=Math.abs(P),F=Math.floor(L/60),D=L%60;return(P<=0?"+":"-")+N(F,2,"0")+":"+N(D,2,"0")},m:function M(P,L){if(P.date()<L.date())return-M(L,P);var F=12*(L.year()-P.year())+(L.month()-P.month()),D=P.clone().add(F,u),$=L-D<0,C=P.clone().add(F+($?-1:1),u);return+(-(F+(L-D)/($?D-C:C-D))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:u,y:g,w:h,d:c,D:f,h:d,m:l,s:i,ms:o,Q:m}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},b="en",T={};T[b]=y;var k="$isDayjsObject",x=function(M){return M instanceof H||!(!M||!M[k])},z=function M(P,L,F){var D;if(!P)return b;if(typeof P=="string"){var $=P.toLowerCase();T[$]&&(D=$),L&&(T[$]=L,D=$);var C=P.split("-");if(!D&&C.length>1)return M(C[0])}else{var U=P.name;T[U]=P,D=U}return!F&&D&&(b=D),D||!F&&b},j=function(M,P){if(x(M))return M.clone();var L=typeof P=="object"?P:{};return L.date=M,L.args=arguments,new H(L)},B=S;B.l=z,B.i=x,B.w=function(M,P){return j(M,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var H=(function(){function M(L){this.$L=z(L.locale,null,!0),this.parse(L),this.$x=this.$x||L.x||{},this[k]=!0}var P=M.prototype;return P.parse=function(L){this.$d=(function(F){var D=F.date,$=F.utc;if(D===null)return new Date(NaN);if(B.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var C=D.match(w);if(C){var U=C[2]-1||0,_=(C[7]||"0").substring(0,3);return $?new Date(Date.UTC(C[1],U,C[3]||1,C[4]||0,C[5]||0,C[6]||0,_)):new Date(C[1],U,C[3]||1,C[4]||0,C[5]||0,C[6]||0,_)}}return new Date(D)})(L),this.init()},P.init=function(){var L=this.$d;this.$y=L.getFullYear(),this.$M=L.getMonth(),this.$D=L.getDate(),this.$W=L.getDay(),this.$H=L.getHours(),this.$m=L.getMinutes(),this.$s=L.getSeconds(),this.$ms=L.getMilliseconds()},P.$utils=function(){return B},P.isValid=function(){return this.$d.toString()!==p},P.isSame=function(L,F){var D=j(L);return this.startOf(F)<=D&&D<=this.endOf(F)},P.isAfter=function(L,F){return j(L)<this.startOf(F)},P.isBefore=function(L,F){return this.endOf(F)<j(L)},P.$g=function(L,F,D){return B.u(L)?this[F]:this.set(D,L)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(L,F){var D=this,$=!!B.u(F)||F,C=B.p(L),U=function(te,Z){var oe=B.w(D.$u?Date.UTC(D.$y,Z,te):new Date(D.$y,Z,te),D);return $?oe:oe.endOf(c)},_=function(te,Z){return B.w(D.toDate()[te].apply(D.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(Z)),D)},Q=this.$W,V=this.$M,Y=this.$D,K="set"+(this.$u?"UTC":"");switch(C){case g:return $?U(1,0):U(31,11);case u:return $?U(1,V):U(0,V+1);case h:var J=this.$locale().weekStart||0,ee=(Q<J?Q+7:Q)-J;return U($?Y-ee:Y+(6-ee),V);case c:case f:return _(K+"Hours",0);case d:return _(K+"Minutes",1);case l:return _(K+"Seconds",2);case i:return _(K+"Milliseconds",3);default:return this.clone()}},P.endOf=function(L){return this.startOf(L,!1)},P.$set=function(L,F){var D,$=B.p(L),C="set"+(this.$u?"UTC":""),U=(D={},D[c]=C+"Date",D[f]=C+"Date",D[u]=C+"Month",D[g]=C+"FullYear",D[d]=C+"Hours",D[l]=C+"Minutes",D[i]=C+"Seconds",D[o]=C+"Milliseconds",D)[$],_=$===c?this.$D+(F-this.$W):F;if($===u||$===g){var Q=this.clone().set(f,1);Q.$d[U](_),Q.init(),this.$d=Q.set(f,Math.min(this.$D,Q.daysInMonth())).$d}else U&&this.$d[U](_);return this.init(),this},P.set=function(L,F){return this.clone().$set(L,F)},P.get=function(L){return this[B.p(L)]()},P.add=function(L,F){var D,$=this;L=Number(L);var C=B.p(F),U=function(V){var Y=j($);return B.w(Y.date(Y.date()+Math.round(V*L)),$)};if(C===u)return this.set(u,this.$M+L);if(C===g)return this.set(g,this.$y+L);if(C===c)return U(1);if(C===h)return U(7);var _=(D={},D[l]=r,D[d]=n,D[i]=a,D)[C]||1,Q=this.$d.getTime()+L*_;return B.w(Q,this)},P.subtract=function(L,F){return this.add(-1*L,F)},P.format=function(L){var F=this,D=this.$locale();if(!this.isValid())return D.invalidDate||p;var $=L||"YYYY-MM-DDTHH:mm:ssZ",C=B.z(this),U=this.$H,_=this.$m,Q=this.$M,V=D.weekdays,Y=D.months,K=D.meridiem,J=function(Z,oe,G,he){return Z&&(Z[oe]||Z(F,$))||G[oe].slice(0,he)},ee=function(Z){return B.s(U%12||12,Z,"0")},te=K||function(Z,oe,G){var he=Z<12?"AM":"PM";return G?he.toLowerCase():he};return $.replace(A,(function(Z,oe){return oe||(function(G){switch(G){case"YY":return String(F.$y).slice(-2);case"YYYY":return B.s(F.$y,4,"0");case"M":return Q+1;case"MM":return B.s(Q+1,2,"0");case"MMM":return J(D.monthsShort,Q,Y,3);case"MMMM":return J(Y,Q);case"D":return F.$D;case"DD":return B.s(F.$D,2,"0");case"d":return String(F.$W);case"dd":return J(D.weekdaysMin,F.$W,V,2);case"ddd":return J(D.weekdaysShort,F.$W,V,3);case"dddd":return V[F.$W];case"H":return String(U);case"HH":return B.s(U,2,"0");case"h":return ee(1);case"hh":return ee(2);case"a":return te(U,_,!0);case"A":return te(U,_,!1);case"m":return String(_);case"mm":return B.s(_,2,"0");case"s":return String(F.$s);case"ss":return B.s(F.$s,2,"0");case"SSS":return B.s(F.$ms,3,"0");case"Z":return C}return null})(Z)||C.replace(":","")}))},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(L,F,D){var $,C=this,U=B.p(F),_=j(L),Q=(_.utcOffset()-this.utcOffset())*r,V=this-_,Y=function(){return B.m(C,_)};switch(U){case g:$=Y()/12;break;case u:$=Y();break;case m:$=Y()/3;break;case h:$=(V-Q)/6048e5;break;case c:$=(V-Q)/864e5;break;case d:$=V/n;break;case l:$=V/r;break;case i:$=V/a;break;default:$=V}return D?$:B.a($)},P.daysInMonth=function(){return this.endOf(u).$D},P.$locale=function(){return T[this.$L]},P.locale=function(L,F){if(!L)return this.$L;var D=this.clone(),$=z(L,F,!0);return $&&(D.$L=$),D},P.clone=function(){return B.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},M})(),W=H.prototype;return j.prototype=W,[["$ms",o],["$s",i],["$m",l],["$H",d],["$W",c],["$M",u],["$y",g],["$D",f]].forEach((function(M){W[M[1]]=function(P){return this.$g(P,M[0],M[1])}})),j.extend=function(M,P){return M.$i||(M(P,H,j),M.$i=!0),j},j.locale=z,j.isDayjs=x,j.unix=function(M){return j(1e3*M)},j.en=T[b],j.Ls=T,j.p={},j}))})(wt)),wt.exports}var Yn=oa();const de=We(Yn);var At={exports:{}},$n=At.exports,ia;function Kn(){return ia||(ia=1,(function(e,t){(function(a,r){e.exports=r()})($n,(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,h,u,m){return o.fromToBase(c,h,u,m)}n.en.relativeTime=i,o.fromToBase=function(c,h,u,m,g){for(var f,p,w,A=u.$locale().relativeTime||i,y=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=y.length,S=0;S<N;S+=1){var b=y[S];b.d&&(f=m?n(c).diff(u,b.d,!0):u.diff(c,b.d,!0));var T=(a.rounding||Math.round)(Math.abs(f));if(w=f>0,T<=b.r||!b.r){T<=1&&S>0&&(b=y[S-1]);var k=A[b.l];g&&(T=g(""+T)),p=typeof k=="string"?k.replace("%d",T):k(T,h,b.l,w);break}}if(h)return p;var x=w?A.future:A.past;return typeof x=="function"?x(p):x.replace("%s",p)},o.to=function(c,h){return l(c,h,this,!0)},o.from=function(c,h){return l(c,h,this)};var d=function(c){return c.$u?n.utc():n()};o.toNow=function(c){return this.to(d(this),c)},o.fromNow=function(c){return this.from(d(this),c)}}}))})(At)),At.exports}var Jn=Kn();const Zn=We(Jn);var bt={exports:{}},Xn=bt.exports,la;function Rn(){return la||(la=1,(function(e,t){(function(a,r){e.exports=r(oa())})(Xn,(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}))})(bt)),bt.exports}Rn();var vt={exports:{}},eo=vt.exports,ca;function to(){return ca||(ca=1,(function(e,t){(function(a,r){e.exports=r()})(eo,(function(){var a="minute",r=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(o,i,l){var d=i.prototype;l.utc=function(p){var w={date:p,utc:!0,args:arguments};return new i(w)},d.utc=function(p){var w=l(this.toDate(),{locale:this.$L,utc:!0});return p?w.add(this.utcOffset(),a):w},d.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=d.parse;d.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),c.call(this,p)};var h=d.init;d.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 h.call(this)};var u=d.utcOffset;d.utcOffset=function(p,w){var A=this.$utils().u;if(A(p))return this.$u?0:A(this.$offset)?u.call(this):this.$offset;if(typeof p=="string"&&(p=(function(b){b===void 0&&(b="");var T=b.match(r);if(!T)return null;var k=(""+T[0]).match(n)||["-",0,0],x=k[0],z=60*+k[1]+ +k[2];return z===0?0:x==="+"?z:-z})(p),p===null))return this;var y=Math.abs(p)<=16?60*p:p;if(y===0)return this.utc(w);var N=this.clone();if(w)return N.$offset=y,N.$u=!1,N;var S=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(N=this.local().add(y+S,a)).$offset=y,N.$x.$localOffset=S,N};var m=d.format;d.format=function(p){var w=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,w)},d.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},d.isUTC=function(){return!!this.$u},d.toISOString=function(){return this.toDate().toISOString()},d.toString=function(){return this.toDate().toUTCString()};var g=d.toDate;d.toDate=function(p){return p==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var f=d.diff;d.diff=function(p,w,A){if(p&&this.$u===p.$u)return f.call(this,p,w,A);var y=this.local(),N=l(p).local();return f.call(y,N,w,A)}}}))})(vt)),vt.exports}var so=to();const ao=We(so);var Ct={exports:{}},ro=Ct.exports,da;function no(){return da||(da=1,(function(e,t){(function(a,r){e.exports=r()})(ro,(function(){var a={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(n,o,i){var l,d=function(m,g,f){f===void 0&&(f={});var p=new Date(m),w=(function(A,y){y===void 0&&(y={});var N=y.timeZoneName||"short",S=A+"|"+N,b=r[S];return b||(b=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:A,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:N}),r[S]=b),b})(g,f);return w.formatToParts(p)},c=function(m,g){for(var f=d(m,g),p=[],w=0;w<f.length;w+=1){var A=f[w],y=A.type,N=A.value,S=a[y];S>=0&&(p[S]=parseInt(N,10))}var b=p[3],T=b===24?0:b,k=p[0]+"-"+p[1]+"-"+p[2]+" "+T+":"+p[4]+":"+p[5]+":000",x=+m;return(i.utc(k).valueOf()-(x-=x%1e3))/6e4},h=o.prototype;h.tz=function(m,g){m===void 0&&(m=l);var f,p=this.utcOffset(),w=this.toDate(),A=w.toLocaleString("en-US",{timeZone:m}),y=Math.round((w-new Date(A))/1e3/60),N=15*-Math.round(w.getTimezoneOffset()/15)-y;if(!Number(N))f=this.utcOffset(0,g);else if(f=i(A,{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},h.offsetName=function(m){var g=this.$x.$timezone||i.tz.guess(),f=d(this.valueOf(),g,{timeZoneName:m}).find((function(p){return p.type.toLowerCase()==="timezonename"}));return f&&f.value};var u=h.startOf;h.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,w=f||g||l,A=c(+i(),w);if(typeof m!="string")return i(m).tz(w);var y=(function(T,k,x){var z=T-60*k*1e3,j=c(z,x);if(k===j)return[z,k];var B=c(z-=60*(j-k)*1e3,x);return j===B?[z,j]:[T-60*Math.min(j,B)*1e3,Math.max(j,B)]})(i.utc(m,p).valueOf(),A,w),N=y[0],S=y[1],b=i(N).utcOffset(S);return b.$x.$timezone=w,b},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(m){l=m}}}))})(Ct)),Ct.exports}var oo=no();const io=We(oo);de.extend(ao),de.extend(io),de.extend(Zn);const yt=e=>e==="en"?"en":"es",Ce=(e,t)=>{const{PUBLIC_LNG:a,DATE_TIMEZONE:r}=t||q(),n=yt(a??"es");return de.tz(e,r).locale(n).format("DD MMMM YYYY")},at=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=q(),r=yt(t??"es");return de.tz(e,a).locale(r).format(r==="en"?"MMMM DD YYYY [•] HH:mm [hs]":"DD [de] MMMM YYYY [•] HH:mm [hs]")},ha=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=q(),r=yt(t??"es");return de.tz(e,a).locale(r).format("MM/DD/YYYY [•] HH:mm [HS]")},lo=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=q(),r=yt(t??"es");return de.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"})),d=(new Date(a.toLocaleString("en-US",{timeZone:t})).getTime()-i.getTime())/6e4,c=d>=0?"+":"-",h=g=>String(Math.floor(Math.abs(g))).padStart(2,"0"),u=h(d/60),m=h(d%60);return`${o.year}-${o.month}-${o.day}T${o.hour}:${o.minute}:${o.second}${c}${u}:${m}`},ye=(e,t=136)=>e&&e.length>t?`${e.substring(0,t)}...`:e;function _e(e){return e&&e.status==="fulfilled"?e.value.data:null}function ua(e){return e&&e.status==="fulfilled"?e.value:null}const co={url:"",target:"_self",canonical:!1,internal:""},ho={date:"",created:0,modified:0,firstpublish:0,lastpublish:0};function uo(e){return e==null?"":typeof e=="string"?e:e.article??e.home??e.section??e.seo??""}const Ye=(e,t,a,r)=>{const n=uo(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:{...ho,...e?.info?.date},link:e?.info?.link??co},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:[]}}},ma=/<div\b[^>]*class=["'][^"']*\bck-related-news\b[^"']*["'][^>]*>/gi;function Nt(e){if(!e?.body?.rendered)return[];const t=e.body.rendered,a=[];let r=0;for(;r<t.length;){ma.lastIndex=r;const n=ma.exec(t);if(!n)break;const o=n.index+n[0].length;let i=1,l=o,d=o;for(;l<t.length&&i>0;){const g=t.slice(l),f=g.match(/<div\b/i),p=g.match(/<\/div>/i),w=f?.index??-1,A=p?.index??-1;if(A===-1)break;const y=w===-1?1/0:l+w,N=l+A;w!==-1&&w<A?(i+=1,l=y+f[0].length):(i-=1,d=N,l=N+p[0].length)}const c=t.slice(o,d),h=[],u=/<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;let m;for(;(m=u.exec(c))!==null;){const g=m[1];g&&h.push(g)}h.length>0&&a.push(h),r=l}return a}const mo=Nt,fa=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=>_e(o)?.data)},Ge=()=>{const{PUBLIC_ENV:e,PUBLIC_API_HOST:t,PUBLIC_ASSETS_URL:a}=q();return e=="local"&&(!a||a==="false")?t:a&&a!=="false"?a:""},fo=()=>{const{PUBLIC_ENV:e,PUBLIC_API_FRONT:t}=q();return e==="local"?t:""},ga=e=>e.replace(/^https?:?\/\/[^/]+/,""),go=e=>{if(!e?.preview?.length)return null;const t=e.preview;return t.find(a=>a.format==="1.91:1")??t[t.length-1]},pa=({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},wa=(e,t,a,r)=>{if(!t)return{};const{PUBLIC_ASSETS_URL:n,PUBLIC_API_FRONT:o,DATE_TIMEZONE:i="America/Mexico_City"}=q(),l=ls(t.keywords)??"",d=t?.preview?.sizes?t?.preview?.sizes[0]?.url:"",c=(n!=="false"?n:o)??"",h=go(r),u=t.main.title.article,m=pa({schemaImage:h,socialImage:t?.social?.images?.facebook,fallbackImage:d,prefix:c,defaultWidth:a.landscapeLogo.width,defaultHeight:a.landscapeLogo.height,alt:r?.description??u}),g=pa({schemaImage:h,socialImage:t?.social?.images?.twitter,fallbackImage:d,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??[]}}},ls=e=>!e||!e?.tags||e?.tags?.length===0?"":e?.tags?.map(t=>t.name).join(", ").replaceAll('"',"'").replaceAll("`","'"),Aa=e=>{const t=e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);return t?{slug:t[1]??"",path:t[2]??""}:{slug:"",path:""}},ba=e=>e.replaceAll("/","").replaceAll("_","").replace(".html",""),po={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"}},va=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(po).forEach(([i,l])=>{const d=i.split(".").reduce((c,h)=>c?.[h],e);d&&r(s.jsx("meta",{[l.attr]:l.value,content:String(d)},`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=Ge()??"",a=e;return a?.startsWith("http")||a?.includes(t)||t===""?a:t+a},rt=(e,t)=>{const a=e||"";return t?a.replaceAll("[section_replace]",t["[section_replace]"]??"").replaceAll("[tag_replace]",t["[tag_replace]"]??"").replaceAll("[tags_replace]",t["[tags_replace]"]??"").replaceAll("[url_replace]",t["[url_replace]"]??"").replaceAll("[author_replace]",t["[author_replace]"]??"").replaceAll("[creator_replace]",t["[creator_replace]"]??"")||"":a||""},wo=/\[(?:general|seccion:[^\]]+|tema:\d+)\][\s\S]*?\[\/(?:general|seccion:[^\]]+|tema:\d+)\]/i,Ao=/\[(general|seccion:[^\]]+|tema:\d+)\]([\s\S]*?)\[\/\1\]/gi,bo=e=>!e||e.type==="general"?"general":e.type==="seccion"?`seccion:${e.value}`.toLowerCase():`tema:${e.value}`,St=(e,t)=>{const a=e||"";if(!wo.test(a))return a;const r=new Map;for(const l of a.matchAll(Ao)){const d=l[1]?.toLowerCase(),c=l[2];d&&c!==void 0&&!r.has(d)&&r.set(d,c)}if(r.size===0)return a;const n=bo(t),o=r.get(n);if(o!==void 0)return o;const i=r.get("general");return i!==void 0?i:""},vo=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},Co=e=>{const t=e.match(/\bsrc\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/i);return t?.[1]||t?.[2]||t?.[3]||null},Ca=(e,t,a,r)=>{try{const n=vo(e);return n.src?s.jsx("script",{"data-bs-name":r,...n},a):s.jsx("script",{...n,dangerouslySetInnerHTML:{__html:t}},a)}catch{const o=Co(e);return o?s.jsx("script",{"data-bs-name":r,src:o,async:!0,defer:!0},a):null}},yo=e=>{const t=/<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/gi;return[...e.matchAll(t)]},cs=e=>{const t=e.banners.find(n=>n.key===e.name);if(!t||!t.show)return null;const a=rt(t.value||"",e.replaces),r=yo(a);return s.jsx(s.Fragment,{children:r.map((n,o)=>{const i=n[1]||n[3]||"",l=n[2]?.trim()||"";return Ca(i,l,o,e.name)})})},ya=e=>{const t=e.banners.find(n=>n.key===e.name);if(!t||!t.show)return null;const r=rt(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]||"",d=i[2]?.trim()||"";return Ca(l,d,o,e.name)}return n.trim()&&/<[a-zA-Z]/.test(n)?s.jsx("div",{dangerouslySetInnerHTML:{__html:n}},o):null})})},$e=(e,t,a)=>{let r=e.siteUrl;return t.forEach((n,o)=>{o>0&&(r+=`/${n}`)}),`${r}/page/${a+1}`},Ke=(e,t,a)=>{let r=e.siteUrl;return t.forEach((n,o)=>{o>0&&(r+=`/${n}`)}),`${r}/page/${a-1}`};function No(e){const t=e.length;return t>1&&e.charCodeAt(t-1)===47?e.slice(0,t-1):e}const Na=()=>{const{PUBLIC_ASSETS_URL:e}=q();return e&&e!=="false"&&s.jsx("link",{rel:"preconnect",href:e,crossOrigin:"anonymous"})},ds=({images:e})=>s.jsx(s.Fragment,{children:e.map((t,a)=>t.href!==""&&s.jsx("link",{rel:"preload",href:t.href,media:t.media??"",as:"image",fetchPriority:t.fetchPriority??"high"},a))}),Sa=(e,t,a)=>{if(!t)return{};const{PUBLIC_API_FRONT:r}=q();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}]}}},So=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/${de(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/${de(n).format("YYYY/MM/DD")}/liveblog_${o}.html`}else{const r=e.params.news.replace(/\.html$/g,"").split("-");Array.isArray(r)&&(t=`/contenidos/${de(r[r.length-2]).format("YYYY/MM/DD")}/noticia_${r[r.length-1]}.html`)}return e.config.servicePrefix+t};function Eo(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/${de(i).format("YYYY/MM/DD")}/videoYouTube_${c}.lnk`,ve:c=>`/videos/video-embedded/${de(i).format("YYYY/MM/DD")}/videoEmbedded_${c}.lnk`,vf:c=>`/videos/video-flash/${de(i).format("YYYY/MM/DD")}/${a[0]}.${c}`}[o]?.(l)??"",op:o}}const Oe=(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}`},To=e=>{const{AssetsPrefix:t="",AssetsPath:a="src",isDev:r=!1}=e;return r?"src":t+a},Io=async(e,t,a,r)=>{const{FETCH_TAG_BASED_RELATED_NEWS:n=!1,FETCH_SIZE_RELATED_NEWS:o=10}=q();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)}},Uo="https://recaptchaenterprise.googleapis.com/v1/projects",ko=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=`${Uo}/${e}/assessments?key=${n}`,d={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(d)});if(!c.ok)return console.error("createAssessment API error:",c.status,await c.text()),null;const h=await c.json();if(!h?.tokenProperties?.valid)return console.log(`CreateAssessment falló - token inválido: ${h?.tokenProperties?.invalidReason??"unknown"}`),null;if(h.tokenProperties.action!==r)return console.log("La acción en reCAPTCHA no coincide con la esperada:",r),null;const u=h?.riskAnalysis?.score;return u!==void 0&&(console.log("reCAPTCHA score:",u),h?.riskAnalysis?.reasons?.forEach(m=>console.log(m))),typeof u=="number"?u:null}catch(c){return console.error("createAssessment error:",c),null}};function Lo(e,t){if(t==="comentarios")return;const a=e[t];return typeof a=="string"||a===void 0?a:void 0}const Po=e=>e?.body?.rendered.includes("ck-image-gallery")||e?.config?.articlepreview==="fotogaleria"&&e?.hascontent?.hasgalleryimages;function xo(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 hs(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 d=await t.getNewsMultimedia({path:r.link.internal,imagesizes:a});if(d&&d.data)return{...e,preview:l,videos:d.data.data[0].videos??[]}}if(o==="fotogaleria"){const d=await t.getNewsMultimedia({path:r.link.internal,imagesizes:a});if(d&&d.data){const c=await Promise.all(d.data.data[0].gallery.map(async h=>({...h})));return{...e,preview:l,gallery:c??[]}}}return{...e,preview:l}};function Oo(){const{PUBLIC_SERVICE_PREFIX:e}=q();return e&&e!=="false"?"/"+e:""}function Ue(){const{PUBLIC_SERVICE_PREFIX:e,PUBLIC_IS_SUB_PUBLICATION:t,FORCE_SUB_PUBLICATION_PREFIX:a}=q();return a&&a!==""?"/"+a:e&&e!=="false"&&t&&t!=="false"?"/"+e:""}const Ea={prefetch:[{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:".nota-prerender"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"}]},eagerness:"eager"},{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}]},Ta={prefetch:[{urls:["/"],eagerness:"eager"},{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:".nota-prerender"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"}]},eagerness:"eager"},{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}]},Ia={prefetch:[{urls:["/"],eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:"#content-news-section a"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}]},Ua={prefetch:[{urls:["/"],eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:"#block-notes-list a"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}]},Mo={Home:Ea,Common:Ta,Nota:Ia,NotaLista:Ua},ka=({active:e,type:t,customSpeculation:a})=>{const r=a||Mo[t];return e&&s.jsx("script",{type:"speculationrules",dangerouslySetInnerHTML:{__html:JSON.stringify(r)}})},Et=async(e,t,a)=>{if(a)return a.get(`/schemas${t}`,{params:e}).catch(r=>{console.log(`[/schemas${t}] Error: ${r.message}`)})},Do={autor:"autor",seccion:"seccion",tema:"claves","ultimas-noticias":"seccion"},La=async({config:e,axiosApi:t,pathname:a,ROUTE:r})=>{const{PUBLIC_PUBLICATION_ID:n=""}=q();let o=[];const i=a==="/"||a==="/index.html"?void 0:_a(Ga[r]({pathname:a,config:e})),l=Do[r]??void 0,d={newstype:e.newsType,publication:Number(n),...i&&l?{query:`${l}:('${i}')`}:{}};try{const c=await Et(d,"/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)}})},qo=(e,t)=>{const a={"@context":"https://schema.org","@type":"SoftwareApplication",name:t.name??e.name,url:t.url,operatingSystem:t.operatingSystem,applicationCategory:t.applicationCategory,publisher:{"@id":`${e.siteUrl}/#organization`},offers:{"@type":"Offer",price:t.offers.price,priceCurrency:t.offers.priceCurrency},description:t.description??e.description,downloadUrl:t.downloadUrl??t.url};return t.applicationSubCategory&&(a.applicationSubCategory=t.applicationSubCategory),t.aggregateRating&&(a.aggregateRating={"@type":"AggregateRating",ratingValue:t.aggregateRating.ratingValue,ratingCount:t.aggregateRating.ratingCount,...t.aggregateRating.bestRating&&{bestRating:t.aggregateRating.bestRating}}),t.softwareVersion&&(a.softwareVersion=t.softwareVersion),t.contentRating&&(a.contentRating=t.contentRating),(!a.description||a.description==="")&&delete a.description,a},Pa=({config:e})=>{if(!e.orgSoftware)return null;const t=Array.isArray(e.orgSoftware)?e.orgSoftware:[e.orgSoftware];return s.jsx(s.Fragment,{children:t.map((a,r)=>s.jsx("script",{id:`SoftwareApplicationSchema-${r}`,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(qo(e,a))}},r))})};function Tt(e){const{PUBLIC_ASSETS_URL:t}=q();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 xa=async({realPath:e,config:t,BASE_URL:a,axiosApi:r,schemasCustomEndpoints:n})=>{const o=Ue();let i=[];try{const l=t.socialBlockLogo?.url?new URL(t.socialBlockLogo.url).pathname:void 0,d=t.landscapeLogo?.url?new URL(t.landscapeLogo.url).pathname:void 0,c={path:e,image:d,logo:l,url:t.siteUrl,name:t.name,logow:t.socialBlockLogo?.width,logoh:t.socialBlockLogo?.height,authorurl:a+(t.paths.autor?`/${t.paths.autor}/`:"/autor/"),lang:t.lang},h=e.split("/").find(p=>["liveblogs","liveblog"].includes(p)),u=n&&n.length>0?n:h=="liveblogs"||h=="liveblog"?["/news","/news-breadcrumb","/news-liveblog"]:["/news","/news-breadcrumb"],m=t.paths.tema!==""?"/"+t.paths.tema:t.paths.tema,g=o?o+m:m;i=(await Promise.all(u.map(async p=>{const w=p==="/news-breadcrumb"?{...c,prefixtag:g}:p==="/news"&&t.schemasNewsParams?{...c,...t.schemasNewsParams}:c;return await Et(w,p,r)}))).map(p=>p?.data?.data??[])}catch(l){console.log("Error fetching schemas:",l)}return i.map((l,d)=>s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:Tt(JSON.stringify(l))}},d))},Ba=({config:e,socials:t})=>{const a={"@context":"https://schema.org","@type":"NewsMediaOrganization","@id":`${e.siteUrl}/#organization`,name:e.name,description:e.description,email:e.email,url:e.siteUrl,logo:e.squareLogo.url,address:{"@type":"PostalAddress",...e.address},sameAs:Object.keys(t).filter(r=>t[r]?.showInSchema===void 0?t[r]?.show:t[r]?.showInSchema).map(r=>t[r]?.url)};return(!e.description||e.description==="")&&delete a.description,e.address||delete a.address,s.jsx("script",{id:"WebsiteOrgListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a)}})},Oa=({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)}})},Ma=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 Et(r,"/videos",a))?.data.data;return o?s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:Tt(JSON.stringify(o))}}):void 0}catch(r){return console.error("Error fetching video schemas:",r),null}},_o="U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",Da=e=>e?.startsWith("family=")??!1,Go=e=>e.fontS3Url?e.fontS3Url:e.googleFontFamily&&!Da(e.googleFontFamily)?e.googleFontFamily:"",jo=(e,t,a,r)=>`@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"}})})]})},ra=()=>{const{ANALYTICS_marfeel:e}=q();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},{})}();`}})},zn=({defaultRouteName:e})=>{const{CAPTCHA_KEY:t,CONFIG_comments:a=!1,CONFIG_commentsV2:r=!1}=q();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 We(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wt={exports:{}},Wn=wt.exports,na;function oa(){return na||(na=1,(function(e,t){(function(a,r){e.exports=r()})(Wn,(function(){var a=1e3,r=6e4,n=36e5,o="millisecond",i="second",l="minute",d="hour",c="day",h="week",u="month",m="quarter",g="year",f="date",p="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|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,y={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(M){var P=["th","st","nd","rd"],L=M%100;return"["+M+(P[(L-20)%10]||P[L]||P[0])+"]"}},N=function(M,P,L){var F=String(M);return!F||F.length>=P?M:""+Array(P+1-F.length).join(L)+M},S={s:N,z:function(M){var P=-M.utcOffset(),L=Math.abs(P),F=Math.floor(L/60),D=L%60;return(P<=0?"+":"-")+N(F,2,"0")+":"+N(D,2,"0")},m:function M(P,L){if(P.date()<L.date())return-M(L,P);var F=12*(L.year()-P.year())+(L.month()-P.month()),D=P.clone().add(F,u),$=L-D<0,C=P.clone().add(F+($?-1:1),u);return+(-(F+(L-D)/($?D-C:C-D))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:u,y:g,w:h,d:c,D:f,h:d,m:l,s:i,ms:o,Q:m}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},b="en",T={};T[b]=y;var k="$isDayjsObject",x=function(M){return M instanceof H||!(!M||!M[k])},z=function M(P,L,F){var D;if(!P)return b;if(typeof P=="string"){var $=P.toLowerCase();T[$]&&(D=$),L&&(T[$]=L,D=$);var C=P.split("-");if(!D&&C.length>1)return M(C[0])}else{var U=P.name;T[U]=P,D=U}return!F&&D&&(b=D),D||!F&&b},j=function(M,P){if(x(M))return M.clone();var L=typeof P=="object"?P:{};return L.date=M,L.args=arguments,new H(L)},B=S;B.l=z,B.i=x,B.w=function(M,P){return j(M,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var H=(function(){function M(L){this.$L=z(L.locale,null,!0),this.parse(L),this.$x=this.$x||L.x||{},this[k]=!0}var P=M.prototype;return P.parse=function(L){this.$d=(function(F){var D=F.date,$=F.utc;if(D===null)return new Date(NaN);if(B.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var C=D.match(w);if(C){var U=C[2]-1||0,_=(C[7]||"0").substring(0,3);return $?new Date(Date.UTC(C[1],U,C[3]||1,C[4]||0,C[5]||0,C[6]||0,_)):new Date(C[1],U,C[3]||1,C[4]||0,C[5]||0,C[6]||0,_)}}return new Date(D)})(L),this.init()},P.init=function(){var L=this.$d;this.$y=L.getFullYear(),this.$M=L.getMonth(),this.$D=L.getDate(),this.$W=L.getDay(),this.$H=L.getHours(),this.$m=L.getMinutes(),this.$s=L.getSeconds(),this.$ms=L.getMilliseconds()},P.$utils=function(){return B},P.isValid=function(){return this.$d.toString()!==p},P.isSame=function(L,F){var D=j(L);return this.startOf(F)<=D&&D<=this.endOf(F)},P.isAfter=function(L,F){return j(L)<this.startOf(F)},P.isBefore=function(L,F){return this.endOf(F)<j(L)},P.$g=function(L,F,D){return B.u(L)?this[F]:this.set(D,L)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(L,F){var D=this,$=!!B.u(F)||F,C=B.p(L),U=function(te,Z){var oe=B.w(D.$u?Date.UTC(D.$y,Z,te):new Date(D.$y,Z,te),D);return $?oe:oe.endOf(c)},_=function(te,Z){return B.w(D.toDate()[te].apply(D.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(Z)),D)},Q=this.$W,V=this.$M,Y=this.$D,K="set"+(this.$u?"UTC":"");switch(C){case g:return $?U(1,0):U(31,11);case u:return $?U(1,V):U(0,V+1);case h:var J=this.$locale().weekStart||0,ee=(Q<J?Q+7:Q)-J;return U($?Y-ee:Y+(6-ee),V);case c:case f:return _(K+"Hours",0);case d:return _(K+"Minutes",1);case l:return _(K+"Seconds",2);case i:return _(K+"Milliseconds",3);default:return this.clone()}},P.endOf=function(L){return this.startOf(L,!1)},P.$set=function(L,F){var D,$=B.p(L),C="set"+(this.$u?"UTC":""),U=(D={},D[c]=C+"Date",D[f]=C+"Date",D[u]=C+"Month",D[g]=C+"FullYear",D[d]=C+"Hours",D[l]=C+"Minutes",D[i]=C+"Seconds",D[o]=C+"Milliseconds",D)[$],_=$===c?this.$D+(F-this.$W):F;if($===u||$===g){var Q=this.clone().set(f,1);Q.$d[U](_),Q.init(),this.$d=Q.set(f,Math.min(this.$D,Q.daysInMonth())).$d}else U&&this.$d[U](_);return this.init(),this},P.set=function(L,F){return this.clone().$set(L,F)},P.get=function(L){return this[B.p(L)]()},P.add=function(L,F){var D,$=this;L=Number(L);var C=B.p(F),U=function(V){var Y=j($);return B.w(Y.date(Y.date()+Math.round(V*L)),$)};if(C===u)return this.set(u,this.$M+L);if(C===g)return this.set(g,this.$y+L);if(C===c)return U(1);if(C===h)return U(7);var _=(D={},D[l]=r,D[d]=n,D[i]=a,D)[C]||1,Q=this.$d.getTime()+L*_;return B.w(Q,this)},P.subtract=function(L,F){return this.add(-1*L,F)},P.format=function(L){var F=this,D=this.$locale();if(!this.isValid())return D.invalidDate||p;var $=L||"YYYY-MM-DDTHH:mm:ssZ",C=B.z(this),U=this.$H,_=this.$m,Q=this.$M,V=D.weekdays,Y=D.months,K=D.meridiem,J=function(Z,oe,G,he){return Z&&(Z[oe]||Z(F,$))||G[oe].slice(0,he)},ee=function(Z){return B.s(U%12||12,Z,"0")},te=K||function(Z,oe,G){var he=Z<12?"AM":"PM";return G?he.toLowerCase():he};return $.replace(A,(function(Z,oe){return oe||(function(G){switch(G){case"YY":return String(F.$y).slice(-2);case"YYYY":return B.s(F.$y,4,"0");case"M":return Q+1;case"MM":return B.s(Q+1,2,"0");case"MMM":return J(D.monthsShort,Q,Y,3);case"MMMM":return J(Y,Q);case"D":return F.$D;case"DD":return B.s(F.$D,2,"0");case"d":return String(F.$W);case"dd":return J(D.weekdaysMin,F.$W,V,2);case"ddd":return J(D.weekdaysShort,F.$W,V,3);case"dddd":return V[F.$W];case"H":return String(U);case"HH":return B.s(U,2,"0");case"h":return ee(1);case"hh":return ee(2);case"a":return te(U,_,!0);case"A":return te(U,_,!1);case"m":return String(_);case"mm":return B.s(_,2,"0");case"s":return String(F.$s);case"ss":return B.s(F.$s,2,"0");case"SSS":return B.s(F.$ms,3,"0");case"Z":return C}return null})(Z)||C.replace(":","")}))},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(L,F,D){var $,C=this,U=B.p(F),_=j(L),Q=(_.utcOffset()-this.utcOffset())*r,V=this-_,Y=function(){return B.m(C,_)};switch(U){case g:$=Y()/12;break;case u:$=Y();break;case m:$=Y()/3;break;case h:$=(V-Q)/6048e5;break;case c:$=(V-Q)/864e5;break;case d:$=V/n;break;case l:$=V/r;break;case i:$=V/a;break;default:$=V}return D?$:B.a($)},P.daysInMonth=function(){return this.endOf(u).$D},P.$locale=function(){return T[this.$L]},P.locale=function(L,F){if(!L)return this.$L;var D=this.clone(),$=z(L,F,!0);return $&&(D.$L=$),D},P.clone=function(){return B.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},M})(),W=H.prototype;return j.prototype=W,[["$ms",o],["$s",i],["$m",l],["$H",d],["$W",c],["$M",u],["$y",g],["$D",f]].forEach((function(M){W[M[1]]=function(P){return this.$g(P,M[0],M[1])}})),j.extend=function(M,P){return M.$i||(M(P,H,j),M.$i=!0),j},j.locale=z,j.isDayjs=x,j.unix=function(M){return j(1e3*M)},j.en=T[b],j.Ls=T,j.p={},j}))})(wt)),wt.exports}var Yn=oa();const de=We(Yn);var At={exports:{}},$n=At.exports,ia;function Kn(){return ia||(ia=1,(function(e,t){(function(a,r){e.exports=r()})($n,(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,h,u,m){return o.fromToBase(c,h,u,m)}n.en.relativeTime=i,o.fromToBase=function(c,h,u,m,g){for(var f,p,w,A=u.$locale().relativeTime||i,y=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=y.length,S=0;S<N;S+=1){var b=y[S];b.d&&(f=m?n(c).diff(u,b.d,!0):u.diff(c,b.d,!0));var T=(a.rounding||Math.round)(Math.abs(f));if(w=f>0,T<=b.r||!b.r){T<=1&&S>0&&(b=y[S-1]);var k=A[b.l];g&&(T=g(""+T)),p=typeof k=="string"?k.replace("%d",T):k(T,h,b.l,w);break}}if(h)return p;var x=w?A.future:A.past;return typeof x=="function"?x(p):x.replace("%s",p)},o.to=function(c,h){return l(c,h,this,!0)},o.from=function(c,h){return l(c,h,this)};var d=function(c){return c.$u?n.utc():n()};o.toNow=function(c){return this.to(d(this),c)},o.fromNow=function(c){return this.from(d(this),c)}}}))})(At)),At.exports}var Jn=Kn();const Zn=We(Jn);var bt={exports:{}},Xn=bt.exports,la;function Rn(){return la||(la=1,(function(e,t){(function(a,r){e.exports=r(oa())})(Xn,(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}))})(bt)),bt.exports}Rn();var vt={exports:{}},eo=vt.exports,ca;function to(){return ca||(ca=1,(function(e,t){(function(a,r){e.exports=r()})(eo,(function(){var a="minute",r=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(o,i,l){var d=i.prototype;l.utc=function(p){var w={date:p,utc:!0,args:arguments};return new i(w)},d.utc=function(p){var w=l(this.toDate(),{locale:this.$L,utc:!0});return p?w.add(this.utcOffset(),a):w},d.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=d.parse;d.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),c.call(this,p)};var h=d.init;d.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 h.call(this)};var u=d.utcOffset;d.utcOffset=function(p,w){var A=this.$utils().u;if(A(p))return this.$u?0:A(this.$offset)?u.call(this):this.$offset;if(typeof p=="string"&&(p=(function(b){b===void 0&&(b="");var T=b.match(r);if(!T)return null;var k=(""+T[0]).match(n)||["-",0,0],x=k[0],z=60*+k[1]+ +k[2];return z===0?0:x==="+"?z:-z})(p),p===null))return this;var y=Math.abs(p)<=16?60*p:p;if(y===0)return this.utc(w);var N=this.clone();if(w)return N.$offset=y,N.$u=!1,N;var S=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(N=this.local().add(y+S,a)).$offset=y,N.$x.$localOffset=S,N};var m=d.format;d.format=function(p){var w=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,w)},d.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},d.isUTC=function(){return!!this.$u},d.toISOString=function(){return this.toDate().toISOString()},d.toString=function(){return this.toDate().toUTCString()};var g=d.toDate;d.toDate=function(p){return p==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var f=d.diff;d.diff=function(p,w,A){if(p&&this.$u===p.$u)return f.call(this,p,w,A);var y=this.local(),N=l(p).local();return f.call(y,N,w,A)}}}))})(vt)),vt.exports}var so=to();const ao=We(so);var Ct={exports:{}},ro=Ct.exports,da;function no(){return da||(da=1,(function(e,t){(function(a,r){e.exports=r()})(ro,(function(){var a={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(n,o,i){var l,d=function(m,g,f){f===void 0&&(f={});var p=new Date(m),w=(function(A,y){y===void 0&&(y={});var N=y.timeZoneName||"short",S=A+"|"+N,b=r[S];return b||(b=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:A,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:N}),r[S]=b),b})(g,f);return w.formatToParts(p)},c=function(m,g){for(var f=d(m,g),p=[],w=0;w<f.length;w+=1){var A=f[w],y=A.type,N=A.value,S=a[y];S>=0&&(p[S]=parseInt(N,10))}var b=p[3],T=b===24?0:b,k=p[0]+"-"+p[1]+"-"+p[2]+" "+T+":"+p[4]+":"+p[5]+":000",x=+m;return(i.utc(k).valueOf()-(x-=x%1e3))/6e4},h=o.prototype;h.tz=function(m,g){m===void 0&&(m=l);var f,p=this.utcOffset(),w=this.toDate(),A=w.toLocaleString("en-US",{timeZone:m}),y=Math.round((w-new Date(A))/1e3/60),N=15*-Math.round(w.getTimezoneOffset()/15)-y;if(!Number(N))f=this.utcOffset(0,g);else if(f=i(A,{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},h.offsetName=function(m){var g=this.$x.$timezone||i.tz.guess(),f=d(this.valueOf(),g,{timeZoneName:m}).find((function(p){return p.type.toLowerCase()==="timezonename"}));return f&&f.value};var u=h.startOf;h.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,w=f||g||l,A=c(+i(),w);if(typeof m!="string")return i(m).tz(w);var y=(function(T,k,x){var z=T-60*k*1e3,j=c(z,x);if(k===j)return[z,k];var B=c(z-=60*(j-k)*1e3,x);return j===B?[z,j]:[T-60*Math.min(j,B)*1e3,Math.max(j,B)]})(i.utc(m,p).valueOf(),A,w),N=y[0],S=y[1],b=i(N).utcOffset(S);return b.$x.$timezone=w,b},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(m){l=m}}}))})(Ct)),Ct.exports}var oo=no();const io=We(oo);de.extend(ao),de.extend(io),de.extend(Zn);const yt=e=>e==="en"?"en":"es",Ce=(e,t)=>{const{PUBLIC_LNG:a,DATE_TIMEZONE:r}=t||q(),n=yt(a??"es");return de.tz(e,r).locale(n).format("DD MMMM YYYY")},at=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=q(),r=yt(t??"es");return de.tz(e,a).locale(r).format(r==="en"?"MMMM DD YYYY [•] HH:mm [hs]":"DD [de] MMMM YYYY [•] HH:mm [hs]")},ha=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=q(),r=yt(t??"es");return de.tz(e,a).locale(r).format("MM/DD/YYYY [•] HH:mm [HS]")},lo=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=q(),r=yt(t??"es");return de.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"})),d=(new Date(a.toLocaleString("en-US",{timeZone:t})).getTime()-i.getTime())/6e4,c=d>=0?"+":"-",h=g=>String(Math.floor(Math.abs(g))).padStart(2,"0"),u=h(d/60),m=h(d%60);return`${o.year}-${o.month}-${o.day}T${o.hour}:${o.minute}:${o.second}${c}${u}:${m}`},ye=(e,t=136)=>e&&e.length>t?`${e.substring(0,t)}...`:e;function _e(e){return e&&e.status==="fulfilled"?e.value.data:null}function ua(e){return e&&e.status==="fulfilled"?e.value:null}const co={url:"",target:"_self",canonical:!1,internal:""},ho={date:"",created:0,modified:0,firstpublish:0,lastpublish:0};function uo(e){return e==null?"":typeof e=="string"?e:e.article??e.home??e.section??e.seo??""}const Ye=(e,t,a,r)=>{const n=uo(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:{...ho,...e?.info?.date},link:e?.info?.link??co},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:[]}}},ma=/<div\b[^>]*class=["'][^"']*\bck-related-news\b[^"']*["'][^>]*>/gi;function Nt(e){if(!e?.body?.rendered)return[];const t=e.body.rendered,a=[];let r=0;for(;r<t.length;){ma.lastIndex=r;const n=ma.exec(t);if(!n)break;const o=n.index+n[0].length;let i=1,l=o,d=o;for(;l<t.length&&i>0;){const g=t.slice(l),f=g.match(/<div\b/i),p=g.match(/<\/div>/i),w=f?.index??-1,A=p?.index??-1;if(A===-1)break;const y=w===-1?1/0:l+w,N=l+A;w!==-1&&w<A?(i+=1,l=y+f[0].length):(i-=1,d=N,l=N+p[0].length)}const c=t.slice(o,d),h=[],u=/<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;let m;for(;(m=u.exec(c))!==null;){const g=m[1];g&&h.push(g)}h.length>0&&a.push(h),r=l}return a}const mo=Nt,fa=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=>_e(o)?.data)},Ge=()=>{const{PUBLIC_ENV:e,PUBLIC_API_HOST:t,PUBLIC_ASSETS_URL:a}=q();return e=="local"&&(!a||a==="false")?t:a&&a!=="false"?a:""},fo=()=>{const{PUBLIC_ENV:e,PUBLIC_API_FRONT:t}=q();return e==="local"?t:""},ga=e=>e.replace(/^https?:?\/\/[^/]+/,""),go=e=>{if(!e?.preview?.length)return null;const t=e.preview;return t.find(a=>a.format==="1.91:1")??t[t.length-1]},pa=({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},wa=(e,t,a,r)=>{if(!t)return{};const{PUBLIC_ASSETS_URL:n,PUBLIC_API_FRONT:o,DATE_TIMEZONE:i="America/Mexico_City"}=q(),l=ls(t.keywords)??"",d=t?.preview?.sizes?t?.preview?.sizes[0]?.url:"",c=(n!=="false"?n:o)??"",h=go(r),u=t.main.title.article,m=pa({schemaImage:h,socialImage:t?.social?.images?.facebook,fallbackImage:d,prefix:c,defaultWidth:a.landscapeLogo.width,defaultHeight:a.landscapeLogo.height,alt:r?.description??u}),g=pa({schemaImage:h,socialImage:t?.social?.images?.twitter,fallbackImage:d,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??[]}}},ls=e=>!e||!e?.tags||e?.tags?.length===0?"":e?.tags?.map(t=>t.name).join(", ").replaceAll('"',"'").replaceAll("`","'"),Aa=e=>{const t=e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);return t?{slug:t[1]??"",path:t[2]??""}:{slug:"",path:""}},ba=e=>e.replaceAll("/","").replaceAll("_","").replace(".html",""),po={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"}},va=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(po).forEach(([i,l])=>{const d=i.split(".").reduce((c,h)=>c?.[h],e);d&&r(s.jsx("meta",{[l.attr]:l.value,content:String(d)},`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=Ge()??"",a=e;return a?.startsWith("http")||a?.includes(t)||t===""?a:t+a},rt=(e,t)=>{const a=e||"";return t?a.replaceAll("[section_replace]",t["[section_replace]"]??"").replaceAll("[tag_replace]",t["[tag_replace]"]??"").replaceAll("[tags_replace]",t["[tags_replace]"]??"").replaceAll("[url_replace]",t["[url_replace]"]??"").replaceAll("[author_replace]",t["[author_replace]"]??"").replaceAll("[creator_replace]",t["[creator_replace]"]??"")||"":a||""},wo=/\[(?:general|seccion:[^\]]+|tema:\d+)\][\s\S]*?\[\/(?:general|seccion:[^\]]+|tema:\d+)\]/i,Ao=/\[(general|seccion:[^\]]+|tema:\d+)\]([\s\S]*?)\[\/\1\]/gi,bo=e=>!e||e.type==="general"?"general":e.type==="seccion"?`seccion:${e.value}`.toLowerCase():`tema:${e.value}`,St=(e,t)=>{const a=e||"";if(!wo.test(a))return a;const r=new Map;for(const l of a.matchAll(Ao)){const d=l[1]?.toLowerCase(),c=l[2];d&&c!==void 0&&!r.has(d)&&r.set(d,c)}if(r.size===0)return a;const n=bo(t),o=r.get(n);if(o!==void 0)return o;const i=r.get("general");return i!==void 0?i:""},vo=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},Co=e=>{const t=e.match(/\bsrc\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/i);return t?.[1]||t?.[2]||t?.[3]||null},Ca=(e,t,a,r)=>{try{const n=vo(e);return n.src?s.jsx("script",{"data-bs-name":r,...n},a):s.jsx("script",{...n,dangerouslySetInnerHTML:{__html:t}},a)}catch{const o=Co(e);return o?s.jsx("script",{"data-bs-name":r,src:o,async:!0,defer:!0},a):null}},yo=e=>{const t=/<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/gi;return[...e.matchAll(t)]},cs=e=>{const t=e.banners.find(n=>n.key===e.name);if(!t||!t.show)return null;const a=rt(t.value||"",e.replaces),r=yo(a);return s.jsx(s.Fragment,{children:r.map((n,o)=>{const i=n[1]||n[3]||"",l=n[2]?.trim()||"";return Ca(i,l,o,e.name)})})},ya=e=>{const t=e.banners.find(n=>n.key===e.name);if(!t||!t.show)return null;const r=rt(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]||"",d=i[2]?.trim()||"";return Ca(l,d,o,e.name)}return n.trim()&&/<[a-zA-Z]/.test(n)?s.jsx("div",{dangerouslySetInnerHTML:{__html:n}},o):null})})},$e=(e,t,a)=>{let r=e.siteUrl;return t.forEach((n,o)=>{o>0&&(r+=`/${n}`)}),`${r}/page/${a+1}`},Ke=(e,t,a)=>{let r=e.siteUrl;return t.forEach((n,o)=>{o>0&&(r+=`/${n}`)}),`${r}/page/${a-1}`};function No(e){const t=e.length;return t>1&&e.charCodeAt(t-1)===47?e.slice(0,t-1):e}const Na=()=>{const{PUBLIC_ASSETS_URL:e}=q();return e&&e!=="false"&&s.jsx("link",{rel:"preconnect",href:e,crossOrigin:"anonymous"})},ds=({images:e})=>s.jsx(s.Fragment,{children:e.map((t,a)=>t.href!==""&&s.jsx("link",{rel:"preload",href:t.href,media:t.media??"",as:"image",fetchPriority:t.fetchPriority??"high"},a))}),Sa=(e,t,a)=>{if(!t)return{};const{PUBLIC_API_FRONT:r}=q();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}]}}},So=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/${de(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/${de(n).format("YYYY/MM/DD")}/liveblog_${o}.html`}else{const r=e.params.news.replace(/\.html$/g,"").split("-");Array.isArray(r)&&(t=`/contenidos/${de(r[r.length-2]).format("YYYY/MM/DD")}/noticia_${r[r.length-1]}.html`)}return e.config.servicePrefix+t};function Eo(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/${de(i).format("YYYY/MM/DD")}/videoYouTube_${c}.lnk`,ve:c=>`/videos/video-embedded/${de(i).format("YYYY/MM/DD")}/videoEmbedded_${c}.lnk`,vf:c=>`/videos/video-flash/${de(i).format("YYYY/MM/DD")}/${a[0]}.${c}`}[o]?.(l)??"",op:o}}const Oe=(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}`},To=e=>{const{AssetsPrefix:t="",AssetsPath:a="src",isDev:r=!1}=e;return r?"src":t+a},Io=async(e,t,a,r)=>{const{FETCH_TAG_BASED_RELATED_NEWS:n=!1,FETCH_SIZE_RELATED_NEWS:o=10}=q();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)}},Uo="https://recaptchaenterprise.googleapis.com/v1/projects",ko=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=`${Uo}/${e}/assessments?key=${n}`,d={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(d)});if(!c.ok)return console.error("createAssessment API error:",c.status,await c.text()),null;const h=await c.json();if(!h?.tokenProperties?.valid)return console.log(`CreateAssessment falló - token inválido: ${h?.tokenProperties?.invalidReason??"unknown"}`),null;if(h.tokenProperties.action!==r)return console.log("La acción en reCAPTCHA no coincide con la esperada:",r),null;const u=h?.riskAnalysis?.score;return u!==void 0&&(console.log("reCAPTCHA score:",u),h?.riskAnalysis?.reasons?.forEach(m=>console.log(m))),typeof u=="number"?u:null}catch(c){return console.error("createAssessment error:",c),null}};function Lo(e,t){if(t==="comentarios")return;const a=e[t];return typeof a=="string"||a===void 0?a:void 0}const Po=e=>e?.body?.rendered.includes("ck-image-gallery")||e?.config?.articlepreview==="fotogaleria"&&e?.hascontent?.hasgalleryimages;function xo(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 hs(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 d=await t.getNewsMultimedia({path:r.link.internal,imagesizes:a});if(d&&d.data)return{...e,preview:l,videos:d.data.data[0].videos??[]}}if(o==="fotogaleria"){const d=await t.getNewsMultimedia({path:r.link.internal,imagesizes:a});if(d&&d.data){const c=await Promise.all(d.data.data[0].gallery.map(async h=>({...h})));return{...e,preview:l,gallery:c??[]}}}return{...e,preview:l}};function Oo(){const{PUBLIC_SERVICE_PREFIX:e}=q();return e&&e!=="false"?"/"+e:""}function Ue(){const{PUBLIC_SERVICE_PREFIX:e,PUBLIC_IS_SUB_PUBLICATION:t,FORCE_SUB_PUBLICATION_PREFIX:a}=q();return a&&a!==""?"/"+a:e&&e!=="false"&&t&&t!=="false"?"/"+e:""}const Ea={prefetch:[{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:".nota-prerender"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"}]},eagerness:"eager"},{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}]},Ta={prefetch:[{urls:["/"],eagerness:"eager"},{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:".nota-prerender"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"}]},eagerness:"eager"},{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}]},Ia={prefetch:[{urls:["/"],eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:"#content-news-section a"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}]},Ua={prefetch:[{urls:["/"],eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:"#block-notes-list a"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}]},Mo={Home:Ea,Common:Ta,Nota:Ia,NotaLista:Ua},ka=({active:e,type:t,customSpeculation:a})=>{const r=a||Mo[t];return e&&s.jsx("script",{type:"speculationrules",dangerouslySetInnerHTML:{__html:JSON.stringify(r)}})},Et=async(e,t,a)=>{if(a)return a.get(`/schemas${t}`,{params:e}).catch(r=>{console.log(`[/schemas${t}] Error: ${r.message}`)})},Do={autor:"autor",seccion:"seccion",tema:"claves","ultimas-noticias":"seccion"},La=async({config:e,axiosApi:t,pathname:a,ROUTE:r})=>{const{PUBLIC_PUBLICATION_ID:n=""}=q();let o=[];const i=a==="/"||a==="/index.html"?void 0:_a(Ga[r]({pathname:a,config:e})),l=Do[r]??void 0,d={newstype:e.newsType,publication:Number(n),...i&&l?{query:`${l}:('${i}')`}:{}};try{const c=await Et(d,"/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)}})},qo=(e,t)=>{const a={"@context":"https://schema.org","@type":"SoftwareApplication",name:t.name??e.name,url:t.url,operatingSystem:t.operatingSystem,applicationCategory:t.applicationCategory,publisher:{"@id":`${e.siteUrl}/#organization`},offers:{"@type":"Offer",price:t.offers.price,priceCurrency:t.offers.priceCurrency},description:t.description??e.description,downloadUrl:t.downloadUrl??t.url};return t.applicationSubCategory&&(a.applicationSubCategory=t.applicationSubCategory),t.aggregateRating&&(a.aggregateRating={"@type":"AggregateRating",ratingValue:t.aggregateRating.ratingValue,ratingCount:t.aggregateRating.ratingCount,...t.aggregateRating.bestRating&&{bestRating:t.aggregateRating.bestRating}}),t.softwareVersion&&(a.softwareVersion=t.softwareVersion),t.contentRating&&(a.contentRating=t.contentRating),(!a.description||a.description==="")&&delete a.description,a},Pa=({config:e})=>{if(!e.orgSoftware)return null;const t=Array.isArray(e.orgSoftware)?e.orgSoftware:[e.orgSoftware];return s.jsx(s.Fragment,{children:t.map((a,r)=>s.jsx("script",{id:`SoftwareApplicationSchema-${r}`,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(qo(e,a))}},r))})};function Tt(e){const{PUBLIC_ASSETS_URL:t}=q();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 xa=async({realPath:e,config:t,BASE_URL:a,axiosApi:r,schemasCustomEndpoints:n})=>{const o=Ue();let i=[];try{const l=t.socialBlockLogo?.url?new URL(t.socialBlockLogo.url).pathname:void 0,d=t.landscapeLogo?.url?new URL(t.landscapeLogo.url).pathname:void 0,c={path:e,image:d,logo:l,url:t.siteUrl,name:t.name,logow:t.socialBlockLogo?.width,logoh:t.socialBlockLogo?.height,authorurl:a+(t.paths.autor?`/${t.paths.autor}/`:"/autor/"),lang:t.lang},h=e.split("/").find(p=>["liveblogs","liveblog"].includes(p)),u=n&&n.length>0?n:h=="liveblogs"||h=="liveblog"?["/news","/news-breadcrumb","/news-liveblog"]:["/news","/news-breadcrumb"],m=t.paths.tema!==""?"/"+t.paths.tema:t.paths.tema,g=o?o+m:m;i=(await Promise.all(u.map(async p=>{const w=p==="/news-breadcrumb"?{...c,prefixtag:g}:p==="/news"&&t.schemasNewsParams?{...c,...t.schemasNewsParams}:c;return await Et(w,p,r)}))).map(p=>p?.data?.data??[])}catch(l){console.log("Error fetching schemas:",l)}return i.map((l,d)=>s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:Tt(JSON.stringify(l))}},d))},Ba=({config:e,socials:t})=>{const a={"@context":"https://schema.org","@type":"NewsMediaOrganization","@id":`${e.siteUrl}/#organization`,name:e.name,description:e.description,email:e.email,url:e.siteUrl,logo:e.squareLogo.url,address:{"@type":"PostalAddress",...e.address},sameAs:Object.keys(t).filter(r=>t[r]?.showInSchema===void 0?t[r]?.show:t[r]?.showInSchema).map(r=>t[r]?.url)};return(!e.description||e.description==="")&&delete a.description,e.address||delete a.address,s.jsx("script",{id:"WebsiteOrgListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a)}})},Oa=({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)}})},Ma=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 Et(r,"/videos",a))?.data.data;return o?s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:Tt(JSON.stringify(o))}}):void 0}catch(r){return console.error("Error fetching video schemas:",r),null}},_o="U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",Da=e=>e?.startsWith("family=")??!1,Go=e=>e.fontS3Url&&e.useS3Font?e.fontS3Url:e.googleFontFamily&&!Da(e.googleFontFamily)?e.googleFontFamily:"",jo=(e,t,a,r)=>`@font-face {
|
|
14
14
|
font-family: '${e.fontName}';
|
|
15
15
|
font-style: normal;
|
|
16
16
|
font-weight: ${e.fontWeight};
|