sass-template-common 0.2.91 → 0.2.92
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.
|
@@ -1062,16 +1062,16 @@ const vo = () => {
|
|
|
1062
1062
|
return e.config.servicePrefix + t;
|
|
1063
1063
|
};
|
|
1064
1064
|
function O9(e) {
|
|
1065
|
-
const t = e.
|
|
1065
|
+
const t = e.lastIndexOf("-"), n = t >= 0 ? [e.slice(0, t), e.slice(t + 1)] : [e], s = n[n.length - 1]?.split("."), r = s && s[0] ? s[0] : "", o = r.substring(0, 2), i = r.substring(2, 10), c = r.substring(10);
|
|
1066
1066
|
return { path: {
|
|
1067
|
-
vy: (
|
|
1067
|
+
vy: (l) => `/videos/video-youtube/${Ie(i).format(
|
|
1068
1068
|
"YYYY/MM/DD"
|
|
1069
|
-
)}/videoYouTube_${
|
|
1070
|
-
ve: (
|
|
1069
|
+
)}/videoYouTube_${l}.lnk`,
|
|
1070
|
+
ve: (l) => `/videos/video-embedded/${Ie(i).format(
|
|
1071
1071
|
"YYYY/MM/DD"
|
|
1072
|
-
)}/videoEmbedded_${
|
|
1073
|
-
vf: (
|
|
1074
|
-
}[
|
|
1072
|
+
)}/videoEmbedded_${l}.lnk`,
|
|
1073
|
+
vf: (l) => `/videos/video-flash/${Ie(i).format("YYYY/MM/DD")}/${n[0]}.${l}`
|
|
1074
|
+
}[o]?.(c) ?? "", op: o };
|
|
1075
1075
|
}
|
|
1076
1076
|
const vt = (e, t) => {
|
|
1077
1077
|
const n = e.name.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/ñ/g, "n").replace(/Ñ/g, "n").replace(/[^\w\s]/gi, "").replaceAll(" ", "-").toLowerCase();
|
|
@@ -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
|
-
`}}),t.jsx("noscript",{children:t.jsx("iframe",{src:`https://www.googletagmanager.com/ns.html?id=${e}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]})},Ha=()=>{const{ANALYTICS_marfeel:e}=K();return e&&t.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},{})}();`}})};function mt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wt={exports:{}},jr=Wt.exports,za;function Fa(){return za||(za=1,(function(e,n){(function(a,o){e.exports=o()})(jr,(function(){var a=1e3,o=6e4,s=36e5,r="millisecond",i="second",c="minute",d="hour",l="day",h="week",u="month",f="quarter",g="year",m="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,S={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 L=["th","st","nd","rd"],T=$%100;return"["+$+(L[(T-20)%10]||L[T]||L[0])+"]"}},_=function($,L,T){var j=String($);return!j||j.length>=L?$:""+Array(L+1-j.length).join(T)+$},I={s:_,z:function($){var L=-$.utcOffset(),T=Math.abs(L),j=Math.floor(T/60),U=T%60;return(L<=0?"+":"-")+_(j,2,"0")+":"+_(U,2,"0")},m:function $(L,T){if(L.date()<T.date())return-$(T,L);var j=12*(T.year()-L.year())+(T.month()-L.month()),U=L.clone().add(j,u),F=T-U<0,y=L.clone().add(j+(F?-1:1),u);return+(-(j+(T-U)/(F?U-y:y-U))||0)},a:function($){return $<0?Math.ceil($)||0:Math.floor($)},p:function($){return{M:u,y:g,w:h,d:l,D:m,h:d,m:c,s:i,ms:r,Q:f}[$]||String($||"").toLowerCase().replace(/s$/,"")},u:function($){return $===void 0}},C="en",k={};k[C]=S;var q="$isDayjsObject",G=function($){return $ instanceof ee||!(!$||!$[q])},X=function $(L,T,j){var U;if(!L)return C;if(typeof L=="string"){var F=L.toLowerCase();k[F]&&(U=F),T&&(k[F]=T,U=F);var y=L.split("-");if(!U&&y.length>1)return $(y[0])}else{var N=L.name;k[N]=L,U=N}return!j&&U&&(C=U),U||!j&&C},H=function($,L){if(G($))return $.clone();var T=typeof L=="object"?L:{};return T.date=$,T.args=arguments,new ee(T)},M=I;M.l=X,M.i=G,M.w=function($,L){return H($,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var ee=(function(){function $(T){this.$L=X(T.locale,null,!0),this.parse(T),this.$x=this.$x||T.x||{},this[q]=!0}var L=$.prototype;return L.parse=function(T){this.$d=(function(j){var U=j.date,F=j.utc;if(U===null)return new Date(NaN);if(M.u(U))return new Date;if(U instanceof Date)return new Date(U);if(typeof U=="string"&&!/Z$/i.test(U)){var y=U.match(A);if(y){var N=y[2]-1||0,B=(y[7]||"0").substring(0,3);return F?new Date(Date.UTC(y[1],N,y[3]||1,y[4]||0,y[5]||0,y[6]||0,B)):new Date(y[1],N,y[3]||1,y[4]||0,y[5]||0,y[6]||0,B)}}return new Date(U)})(T),this.init()},L.init=function(){var T=this.$d;this.$y=T.getFullYear(),this.$M=T.getMonth(),this.$D=T.getDate(),this.$W=T.getDay(),this.$H=T.getHours(),this.$m=T.getMinutes(),this.$s=T.getSeconds(),this.$ms=T.getMilliseconds()},L.$utils=function(){return M},L.isValid=function(){return this.$d.toString()!==p},L.isSame=function(T,j){var U=H(T);return this.startOf(j)<=U&&U<=this.endOf(j)},L.isAfter=function(T,j){return H(T)<this.startOf(j)},L.isBefore=function(T,j){return this.endOf(j)<H(T)},L.$g=function(T,j,U){return M.u(T)?this[j]:this.set(U,T)},L.unix=function(){return Math.floor(this.valueOf()/1e3)},L.valueOf=function(){return this.$d.getTime()},L.startOf=function(T,j){var U=this,F=!!M.u(j)||j,y=M.p(T),N=function(R,Y){var re=M.w(U.$u?Date.UTC(U.$y,Y,R):new Date(U.$y,Y,R),U);return F?re:re.endOf(l)},B=function(R,Y){return M.w(U.toDate()[R].apply(U.toDate("s"),(F?[0,0,0,0]:[23,59,59,999]).slice(Y)),U)},Q=this.$W,D=this.$M,z=this.$D,V="set"+(this.$u?"UTC":"");switch(y){case g:return F?N(1,0):N(31,11);case u:return F?N(1,D):N(0,D+1);case h:var W=this.$locale().weekStart||0,Z=(Q<W?Q+7:Q)-W;return N(F?z-Z:z+(6-Z),D);case l:case m:return B(V+"Hours",0);case d:return B(V+"Minutes",1);case c:return B(V+"Seconds",2);case i:return B(V+"Milliseconds",3);default:return this.clone()}},L.endOf=function(T){return this.startOf(T,!1)},L.$set=function(T,j){var U,F=M.p(T),y="set"+(this.$u?"UTC":""),N=(U={},U[l]=y+"Date",U[m]=y+"Date",U[u]=y+"Month",U[g]=y+"FullYear",U[d]=y+"Hours",U[c]=y+"Minutes",U[i]=y+"Seconds",U[r]=y+"Milliseconds",U)[F],B=F===l?this.$D+(j-this.$W):j;if(F===u||F===g){var Q=this.clone().set(m,1);Q.$d[N](B),Q.init(),this.$d=Q.set(m,Math.min(this.$D,Q.daysInMonth())).$d}else N&&this.$d[N](B);return this.init(),this},L.set=function(T,j){return this.clone().$set(T,j)},L.get=function(T){return this[M.p(T)]()},L.add=function(T,j){var U,F=this;T=Number(T);var y=M.p(j),N=function(D){var z=H(F);return M.w(z.date(z.date()+Math.round(D*T)),F)};if(y===u)return this.set(u,this.$M+T);if(y===g)return this.set(g,this.$y+T);if(y===l)return N(1);if(y===h)return N(7);var B=(U={},U[c]=o,U[d]=s,U[i]=a,U)[y]||1,Q=this.$d.getTime()+T*B;return M.w(Q,this)},L.subtract=function(T,j){return this.add(-1*T,j)},L.format=function(T){var j=this,U=this.$locale();if(!this.isValid())return U.invalidDate||p;var F=T||"YYYY-MM-DDTHH:mm:ssZ",y=M.z(this),N=this.$H,B=this.$m,Q=this.$M,D=U.weekdays,z=U.months,V=U.meridiem,W=function(Y,re,P,we){return Y&&(Y[re]||Y(j,F))||P[re].slice(0,we)},Z=function(Y){return M.s(N%12||12,Y,"0")},R=V||function(Y,re,P){var we=Y<12?"AM":"PM";return P?we.toLowerCase():we};return F.replace(b,(function(Y,re){return re||(function(P){switch(P){case"YY":return String(j.$y).slice(-2);case"YYYY":return M.s(j.$y,4,"0");case"M":return Q+1;case"MM":return M.s(Q+1,2,"0");case"MMM":return W(U.monthsShort,Q,z,3);case"MMMM":return W(z,Q);case"D":return j.$D;case"DD":return M.s(j.$D,2,"0");case"d":return String(j.$W);case"dd":return W(U.weekdaysMin,j.$W,D,2);case"ddd":return W(U.weekdaysShort,j.$W,D,3);case"dddd":return D[j.$W];case"H":return String(N);case"HH":return M.s(N,2,"0");case"h":return Z(1);case"hh":return Z(2);case"a":return R(N,B,!0);case"A":return R(N,B,!1);case"m":return String(B);case"mm":return M.s(B,2,"0");case"s":return String(j.$s);case"ss":return M.s(j.$s,2,"0");case"SSS":return M.s(j.$ms,3,"0");case"Z":return y}return null})(Y)||y.replace(":","")}))},L.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},L.diff=function(T,j,U){var F,y=this,N=M.p(j),B=H(T),Q=(B.utcOffset()-this.utcOffset())*o,D=this-B,z=function(){return M.m(y,B)};switch(N){case g:F=z()/12;break;case u:F=z();break;case f:F=z()/3;break;case h:F=(D-Q)/6048e5;break;case l:F=(D-Q)/864e5;break;case d:F=D/s;break;case c:F=D/o;break;case i:F=D/a;break;default:F=D}return U?F:M.a(F)},L.daysInMonth=function(){return this.endOf(u).$D},L.$locale=function(){return k[this.$L]},L.locale=function(T,j){if(!T)return this.$L;var U=this.clone(),F=X(T,j,!0);return F&&(U.$L=F),U},L.clone=function(){return M.w(this.$d,this)},L.toDate=function(){return new Date(this.valueOf())},L.toJSON=function(){return this.isValid()?this.toISOString():null},L.toISOString=function(){return this.$d.toISOString()},L.toString=function(){return this.$d.toUTCString()},$})(),ie=ee.prototype;return H.prototype=ie,[["$ms",r],["$s",i],["$m",c],["$H",d],["$W",l],["$M",u],["$y",g],["$D",m]].forEach((function($){ie[$[1]]=function(L){return this.$g(L,$[0],$[1])}})),H.extend=function($,L){return $.$i||($(L,ee,H),$.$i=!0),H},H.locale=X,H.isDayjs=G,H.unix=function($){return H(1e3*$)},H.en=k[C],H.Ls=k,H.p={},H}))})(Wt)),Wt.exports}var $r=Fa();const Se=mt($r);var Yt={exports:{}},Qr=Yt.exports,Va;function Gr(){return Va||(Va=1,(function(e,n){(function(a,o){e.exports=o()})(Qr,(function(){return function(a,o,s){a=a||{};var r=o.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 c(l,h,u,f){return r.fromToBase(l,h,u,f)}s.en.relativeTime=i,r.fromToBase=function(l,h,u,f,g){for(var m,p,A,b=u.$locale().relativeTime||i,S=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"}],_=S.length,I=0;I<_;I+=1){var C=S[I];C.d&&(m=f?s(l).diff(u,C.d,!0):u.diff(l,C.d,!0));var k=(a.rounding||Math.round)(Math.abs(m));if(A=m>0,k<=C.r||!C.r){k<=1&&I>0&&(C=S[I-1]);var q=b[C.l];g&&(k=g(""+k)),p=typeof q=="string"?q.replace("%d",k):q(k,h,C.l,A);break}}if(h)return p;var G=A?b.future:b.past;return typeof G=="function"?G(p):G.replace("%s",p)},r.to=function(l,h){return c(l,h,this,!0)},r.from=function(l,h){return c(l,h,this)};var d=function(l){return l.$u?s.utc():s()};r.toNow=function(l){return this.to(d(this),l)},r.fromNow=function(l){return this.from(d(this),l)}}}))})(Yt)),Yt.exports}var Hr=Gr();const zr=mt(Hr);var Kt={exports:{}},Fr=Kt.exports,Wa;function Vr(){return Wa||(Wa=1,(function(e,n){(function(a,o){e.exports=o(Fa())})(Fr,(function(a){function o(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var s=o(a),r={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 s.default.locale(r,null,!0),r}))})(Kt)),Kt.exports}Vr();var Jt={exports:{}},Wr=Jt.exports,Ya;function Yr(){return Ya||(Ya=1,(function(e,n){(function(a,o){e.exports=o()})(Wr,(function(){var a="minute",o=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g;return function(r,i,c){var d=i.prototype;c.utc=function(p){var A={date:p,utc:!0,args:arguments};return new i(A)},d.utc=function(p){var A=c(this.toDate(),{locale:this.$L,utc:!0});return p?A.add(this.utcOffset(),a):A},d.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var l=d.parse;d.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),l.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,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(C){C===void 0&&(C="");var k=C.match(o);if(!k)return null;var q=(""+k[0]).match(s)||["-",0,0],G=q[0],X=60*+q[1]+ +q[2];return X===0?0:G==="+"?X:-X})(p),p===null))return this;var S=Math.abs(p)<=16?60*p:p;if(S===0)return this.utc(A);var _=this.clone();if(A)return _.$offset=S,_.$u=!1,_;var I=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(_=this.local().add(S+I,a)).$offset=S,_.$x.$localOffset=I,_};var f=d.format;d.format=function(p){var A=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return f.call(this,A)},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?c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var m=d.diff;d.diff=function(p,A,b){if(p&&this.$u===p.$u)return m.call(this,p,A,b);var S=this.local(),_=c(p).local();return m.call(S,_,A,b)}}}))})(Jt)),Jt.exports}var Kr=Yr();const Jr=mt(Kr);var Zt={exports:{}},Zr=Zt.exports,Ka;function Xr(){return Ka||(Ka=1,(function(e,n){(function(a,o){e.exports=o()})(Zr,(function(){var a={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(s,r,i){var c,d=function(f,g,m){m===void 0&&(m={});var p=new Date(f),A=(function(b,S){S===void 0&&(S={});var _=S.timeZoneName||"short",I=b+"|"+_,C=o[I];return C||(C=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:_}),o[I]=C),C})(g,m);return A.formatToParts(p)},l=function(f,g){for(var m=d(f,g),p=[],A=0;A<m.length;A+=1){var b=m[A],S=b.type,_=b.value,I=a[S];I>=0&&(p[I]=parseInt(_,10))}var C=p[3],k=C===24?0:C,q=p[0]+"-"+p[1]+"-"+p[2]+" "+k+":"+p[4]+":"+p[5]+":000",G=+f;return(i.utc(q).valueOf()-(G-=G%1e3))/6e4},h=r.prototype;h.tz=function(f,g){f===void 0&&(f=c);var m,p=this.utcOffset(),A=this.toDate(),b=A.toLocaleString("en-US",{timeZone:f}),S=Math.round((A-new Date(b))/1e3/60),_=15*-Math.round(A.getTimezoneOffset()/15)-S;if(!Number(_))m=this.utcOffset(0,g);else if(m=i(b,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(_,!0),g){var I=m.utcOffset();m=m.add(p-I,"minute")}return m.$x.$timezone=f,m},h.offsetName=function(f){var g=this.$x.$timezone||i.tz.guess(),m=d(this.valueOf(),g,{timeZoneName:f}).find((function(p){return p.type.toLowerCase()==="timezonename"}));return m&&m.value};var u=h.startOf;h.startOf=function(f,g){if(!this.$x||!this.$x.$timezone)return u.call(this,f,g);var m=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(m,f,g).tz(this.$x.$timezone,!0)},i.tz=function(f,g,m){var p=m&&g,A=m||g||c,b=l(+i(),A);if(typeof f!="string")return i(f).tz(A);var S=(function(k,q,G){var X=k-60*q*1e3,H=l(X,G);if(q===H)return[X,q];var M=l(X-=60*(H-q)*1e3,G);return H===M?[X,H]:[k-60*Math.min(H,M)*1e3,Math.max(H,M)]})(i.utc(f,p).valueOf(),b,A),_=S[0],I=S[1],C=i(_).utcOffset(I);return C.$x.$timezone=A,C},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(f){c=f}}}))})(Zt)),Zt.exports}var Rr=Xr();const ei=mt(Rr);Se.extend(Jr),Se.extend(ei),Se.extend(zr);const Xt=e=>e==="en"?"en":"es",xe=(e,n)=>{const{PUBLIC_LNG:a,DATE_TIMEZONE:o}=n||K(),s=Xt(a??"es");return Se.tz(e,o).locale(s).format("DD MMMM YYYY")},Qn=e=>{const{PUBLIC_LNG:n,DATE_TIMEZONE:a}=K(),o=Xt(n??"es");return Se.tz(e,a).locale(o).format(o==="en"?"MMMM DD YYYY [•] HH:mm [hs]":"DD [de] MMMM YYYY [•] HH:mm [hs]")},Ja=e=>{const{PUBLIC_LNG:n,DATE_TIMEZONE:a}=K(),o=Xt(n??"es");return Se.tz(e,a).locale(o).format("MM/DD/YYYY [•] HH:mm [HS]")},ti=e=>{const{PUBLIC_LNG:n,DATE_TIMEZONE:a}=K(),o=Xt(n??"es");return Se.tz(e,a).locale(o).format("dddd DD [de] MMMM YYYY")},Ue=(e,n=136)=>e&&e.length>n?`${e.substring(0,n)}...`:e;function Gn(e){return e&&e.status==="fulfilled"?e.value.data:null}function Za(e){return e&&e.status==="fulfilled"?e.value:null}const gt=(e,n,a,o)=>({authors:e.main.author?[{firstname:"",lastname:"",fullname:e.main.author?e.main.author.toString():"Redacción",image:{sizes:[],description:""},name:"",internaluser:!1}]:[],social:{description:"",images:{facebook:"",twitter:""},title:""},info:{date:{...e?.info.date,lastpublish:0,firstpublish:0,date:""},link:e?.info.link},preview:{sizes:e?.main.image.sizes,description:e?.main.image.description},config:{showtime:n,showsubtitle:a,showauthor:!!(o&&e.main.author)},main:{title:{article:e?.main.title,home:e?.main.title,seo:e?.main.title,section:e?.main.title},subtitle:{rendered:e?.main.description,striped:e?.main.description},tags:[]}});function ni(e){if(!e||!e.body||!e.body.rendered)return[];const n=e?.body?.rendered,a=[],o=n.match(/<div[^>]*class=["'][^"']*ck-related-news[^"']*["'][^>]*>[\s\S]*?<\/div>/gi);if(!o)return a;for(const s of o){const r=[],i=s.match(/data-src=["']([^"']+)["']/gi);if(i)for(const c of i){const d=c.replace(/data-src=["']([^"']+)["']/,"$1");r.push(d)}a.push(r)}return a}const ai=async(e,n)=>{const a=[];return e.forEach(r=>{r.forEach(async i=>{const c=n({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"});c&&a.push(c)})}),(await Promise.allSettled(a)).map(r=>Gn(r)?.data)},pt=()=>{const{PUBLIC_ENV:e,PUBLIC_API_HOST:n,PUBLIC_ASSETS_URL:a}=K();return e=="local"?n:a&&a!=="false"?a:""},Xa=()=>{const{PUBLIC_ENV:e,PUBLIC_API_FRONT:n}=K();return e==="local"?n:""},Ra=(e,n)=>{if(!e)return{};const{PUBLIC_ASSETS_URL:a,PUBLIC_API_FRONT:o}=K(),s=Hn(e.keywords)??"",r=e?.preview?.sizes?e?.preview?.sizes[0]?.url:"",i=(a!=="false"?a:o)??"";return{title:(e?.main?.title?.seo??e?.main?.title?.article)+" | "+n.name,robots:"index, follow, max-image-preview:large",alternates:{types:{"application/rss+xml":(n.siteUrl??"")+"/rss/feed.xml"},canonical:e?.info?.link?.canonical},description:e?.main?.subtitle?.striped??"",news_keywords:s,keywords:s,openGraph:{title:e?.social?.title??e?.main?.title?.article,url:e?.info?.link?.canonical,type:"article",description:e?.social?.description??e?.main?.subtitle?.striped??"",images:[{url:i+(e?.social?.images?.facebook??r),width:n.landscapeLogo.width,height:n.landscapeLogo.height}],siteName:n.name.toLocaleUpperCase()},twitter:{title:e?.main?.title?.article,card:"summary_large_image",site:n.siteUrl,description:e?.main?.subtitle?.striped??"",images:[{url:i+(e?.social?.images?.twitter??r),width:n.twitterSummaryCard.width,height:n.twitterSummaryCard.height}]}}},Hn=e=>!e||!e?.tags||e?.tags?.length===0?"":e?.tags?.map(n=>n.name).join(", ").replaceAll('"',"'").replaceAll("`","'"),eo=e=>{const n=e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);return n?{slug:n[1]??"",path:n[2]??""}:{slug:"",path:""}},to=e=>e.replaceAll("/","").replaceAll("_","").replace(".html",""),oi={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"},"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"}},no=e=>{const n=[];let a=0;const o=i=>n.push(i);return e.title&&typeof e.title=="string"&&o(t.jsx("title",{children:e.title},`title-${a++}`)),Object.entries(oi).forEach(([i,c])=>{const d=i.split(".").reduce((l,h)=>l?.[h],e);d&&o(t.jsx("meta",{[c.attr]:c.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"?o(t.jsx("meta",{property:"og:image",content:i},`og-img-${a++}`)):(i.url&&o(t.jsx("meta",{property:"og:image",content:i.url},`og-img-${a++}`)),i.width&&o(t.jsx("meta",{property:"og:image:width",content:String(i.width)},`og-img-w-${a++}`)),i.height&&o(t.jsx("meta",{property:"og:image:height",content:String(i.height)},`og-img-h-${a++}`))))}),(e.twitter?.images?Array.isArray(e.twitter.images)?e.twitter.images:[e.twitter.images]:[]).forEach(i=>{const c=typeof i=="string"?i:i.url;c&&o(t.jsx("meta",{name:"twitter:image",content:c},`tw-img-${a++}`))}),e.alternates?.canonical&&o(t.jsx("link",{rel:"canonical",href:String(e.alternates.canonical)},`link-${a++}`)),e.manifest&&o(t.jsx("link",{rel:"manifest",href:String(e.manifest)},`link-${a++}`)),e.alternates?.types&&Object.entries(e.alternates.types).forEach(([i,c])=>{typeof c=="string"&&o(t.jsx("link",{rel:"alternate",type:i,href:c},`alt-${a++}`))}),e.icons&&[...e.icons?.icon??[],...e.icons?.other??[]].forEach(c=>{c&&o(typeof c=="string"?t.jsx("link",{rel:"icon",href:c},`icon-${a++}`):t.jsx("link",{rel:c.rel||"icon",href:c.url,...c.type&&{type:c.type},...c.sizes&&{sizes:c.sizes}},`icon-${a++}`))}),e.other&&Object.entries(e.other).forEach(([i,c])=>{c&&o(t.jsx("meta",{name:i,content:String(c)},`other-${a++}`))}),n},de=async e=>`${pt()}${e}`,Rt=(e,n)=>{const a=e||"";return n?a.replaceAll("[section_replace]",n["[section_replace]"]??"").replaceAll("[tag_replace]",n["[tag_replace]"]??"").replaceAll("[url_replace]",n["[url_replace]"]??"").replaceAll("[author_replace]",n["[author_replace]"]??"")||"":a||""},zn=e=>{const n=e.banners.find(r=>r.key===e.name);if(!n||!n.show)return null;const a=Rt(n.value||"",e.replaces),o=/<script([^>]*)>([\s\S]*?)<\/script\s*>/gi,s=[...a.matchAll(o)];return t.jsx(t.Fragment,{children:s.map((r,i)=>{const c=r[1]||"",d=r[2]?.trim()||"",l=c.match(/src=["']([^"']+)["']/i);if(l){const h=l[1];return t.jsx("script",{src:h,async:!0},i)}else return t.jsx("script",{id:e.name,dangerouslySetInnerHTML:{__html:d}},i)})})},ao=e=>{const n=e.banners.find(s=>s.key===e.name);if(!n||!n.show)return null;const o=Rt(n.value||"",e.replaces).split(/(<script[\s\S]*?<\/script\s*>)/gi);return t.jsx(t.Fragment,{children:o.map((s,r)=>{const i=s.match(/<script([^>]*)>([\s\S]*?)<\/script\s*>/i);if(i){const c=i[1]||"",d=i[2]?.trim()||"",l=c.match(/src=["']([^"']+)["']/i);if(l){const h=l[1];return t.jsx("script",{src:h,async:!0},r)}else return t.jsx("script",{id:e.name,dangerouslySetInnerHTML:{__html:d}},r)}else if(s.trim())return t.jsx("div",{dangerouslySetInnerHTML:{__html:s}},r);return null})})},Tt=(e,n,a)=>{let o=e.siteUrl;return n.forEach((s,r)=>{r>0&&(o+=`/${s}`)}),`${o}/page/${a+1}`},kt=(e,n,a)=>{let o=e.siteUrl;return n.forEach((s,r)=>{r>0&&(o+=`/${s}`)}),`${o}/page/${a-1}`};function si(e){const n=e.length;return n>1&&e.charCodeAt(n-1)===47?e.slice(0,n-1):e}const oo=()=>{const{PUBLIC_ASSETS_URL:e}=K();return e&&e!=="false"&&t.jsx("link",{rel:"preconnect",href:e,crossOrigin:"anonymous"})},{PUBLIC_ASSETS_URL:Fn}=K(),ri=Fn&&Fn!=="false"?Fn:"",Vn=({images:e})=>t.jsx(t.Fragment,{children:e.map((n,a)=>n.href!==""&&t.jsx("link",{rel:"preload",href:ri+n.href,media:n.media??"",as:"image",fetchPriority:n.fetchPriority??"high"},a))}),so=(e,n)=>{if(!e)return{};const{PUBLIC_API_FRONT:a}=K();return{title:e?.main?.title+" | "+n.name,robots:"index, follow, max-image-preview:large",alternates:{canonical:n.siteUrl+e?.info?.link?.url},description:e.main.description??"",news_keywords:e.main.tags,keywords:e.main.tags,openGraph:{title:e.main.title,url:e?.info?.link?.canonical,type:"article",description:e.main.description??"",images:[{url:(a??"")+e?.main.image.sizes[0]?.url,width:n.landscapeLogo.width,height:n.landscapeLogo.height}],siteName:n.name.toLocaleUpperCase()},twitter:{title:e?.main?.title,card:"summary_large_image",site:n.siteUrl,description:e?.main.description??"",images:[{url:(a??"")+e?.main.image.sizes[0]?.url,width:n.twitterSummaryCard.width,height:n.twitterSummaryCard.height}]}}},ii=e=>{let n="";if(e.params.news.match(/.*t[0-9]*.html/g)){const a=e.params.news.split("-"),o=a[a.length-1]??"",s=o.substring(1,9),r=o.substring(9,13);n=`/listas/${Se(s).format("YYYY/MM/DD")}/lista_${r}.html`}else if(e.params.news.match(/.*lb[0-9]*.html/g)){const a=e.params.news.split("-"),o=a[a.length-1]??"",s=o.substring(2,10),r=o.substring(10,14);n=`/liveblog/${Se(s).format("YYYY/MM/DD")}/liveblog_${r}.html`}else{const o=e.params.news.replace(/\.html$/g,"").split("-");Array.isArray(o)&&(n=`/contenidos/${Se(o[o.length-2]).format("YYYY/MM/DD")}/noticia_${o[o.length-1]}.html`)}return e.config.servicePrefix+n};function ci(e){const n=e.split("-"),a=n[n.length-1]?.split("."),o=a&&a[0]?a[0]:"",s=o.substring(0,2),r=o.substring(2,10),i=o.substring(10);return{path:{vy:d=>`/videos/video-youtube/${Se(r).format("YYYY/MM/DD")}/videoYouTube_${d}.lnk`,ve:d=>`/videos/video-embedded/${Se(r).format("YYYY/MM/DD")}/videoEmbedded_${d}.lnk`,vf:d=>`/videos/video-flash/${Se(r).format("YYYY/MM/DD")}/${n[0]}.${d}`}[s]?.(i)??"",op:s}}const at=(e,n)=>{const a=e.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ñ/g,"n").replace(/Ñ/g,"n").replace(/[^\w\s]/gi,"").replaceAll(" ","-").toLowerCase();return n.tema?`/${n.tema}/${a}-t${e.id}`:`/${a}-t${e.id}`},li=e=>{const{AssetsPrefix:n="",AssetsPath:a="src",isDev:o=!1}=e;return o?"src":n+a},ro={prerender:[{where:{and:[{href_matches:"/*(-|-t|-lb)([0-9]{8})(-|)([0-9]{4,6}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}]},io={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:["/"]}]},di={Home:ro,Common:io},co=({active:e,type:n,customSpeculation:a})=>e&&t.jsx("script",{type:"speculationrules",dangerouslySetInnerHTML:{__html:JSON.stringify(a??di[n])}}),en=async(e,n,a)=>{if(a)return a.get(`/schemas${n}`,{params:e}).catch(o=>{console.log(`[/schemas${n}] Error: ${o.message}`)})},hi={autor:"autor",seccion:"seccion",tema:"claves","ultimas-noticias":"seccion"},lo=async({config:e,axiosApi:n,pathname:a,ROUTE:o})=>{const{PUBLIC_PUBLICATION_ID:s=""}=K();let r=[];const i=a==="/"||a==="/index.html"?void 0:po(Ao[o]({pathname:a,config:e})),c=hi[o]??void 0,d={newstype:e.newsType,publication:Number(s),...i&&c?{query:`${c}:('${i}')`}:{}};try{const l=await en(d,"/news-list-summary",n);l?.data?.data?r=l.data.data:console.warn("getSchemas responded but did not contain expected data:",l)}catch(l){console.log("Error fetching schemas:",l)}return Object.keys(r).length>0&&t.jsx("script",{id:"webSiteItemListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(r)}})};function tn(e){const{PUBLIC_ASSETS_URL:n}=K();if(!n||n==="false")return e;const a=n.replace(/\/+$/,""),o=/https?:\/\/[^/\s]+\/(arte|__export)\//g;return e.replace(o,(s,r)=>`${a}/${r}/`)}const ho=async({realPath:e,config:n,BASE_URL:a,axiosApi:o})=>{const{PUBLIC_SERVICE_PREFIX:s,PUBLIC_IS_SUB_PUBLICATION:r}=K();let i=[];try{const c=n.socialBlockLogo?.url?new URL(n.socialBlockLogo.url).pathname:void 0,d=n.landscapeLogo?.url?new URL(n.landscapeLogo.url).pathname:void 0,l={path:e,image:d,logo:c,url:n.siteUrl,name:n.name,logow:n.socialBlockLogo?.width,logoh:n.socialBlockLogo?.height,authorurl:a+"/autor/"},h=e.split("/")[1],u=h=="liveblogs"||h=="liveblog"?["/news","/news-breadcrumb","/news-liveblog"]:["/news","/news-breadcrumb"],f=n.paths.tema!==""?"/"+n.paths.tema:n.paths.tema,g=s!=="false"&&r!=="false"?"/"+s+f:f;i=(await Promise.all(u.map(async p=>{const A=p==="/news-breadcrumb"?{...l,prefixtag:g}:l;return await en(A,p,o)}))).map(p=>p?.data?.data??[])}catch(c){console.log("Error fetching schemas:",c)}return i.map((c,d)=>t.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:tn(JSON.stringify(c))}},d))},uo=({config:e,socials:n})=>{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(n).filter(o=>n[o]?.show).map(o=>n[o]?.url)};return(!e.description||e.description==="")&&delete a.description,t.jsx("script",{id:"WebsiteOrgListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a)}})},fo=({config:e})=>{const n={"@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 t.jsx("script",{id:"WebsiteListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})},mo=async({realPath:e,config:n,axiosApi:a})=>{try{const o={path:e,image:n.landscapeLogo?.url?new URL(n.landscapeLogo.url).pathname:void 0,logo:n.socialBlockLogo?.url?new URL(n.socialBlockLogo.url).pathname:void 0,url:n.siteUrl,name:n.name,logow:n.socialBlockLogo?.width,logoh:n.socialBlockLogo?.height,authorurl:`${n.siteUrl}/autor/`},r=(await en(o,"/videos",a))?.data.data;return r?t.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:tn(JSON.stringify(r))}}):void 0}catch(o){return console.error("Error fetching video schemas:",o),null}},go=({config:e})=>{const n=`@font-face {
|
|
13
|
+
`}}),t.jsx("noscript",{children:t.jsx("iframe",{src:`https://www.googletagmanager.com/ns.html?id=${e}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]})},Ha=()=>{const{ANALYTICS_marfeel:e}=K();return e&&t.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},{})}();`}})};function mt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wt={exports:{}},jr=Wt.exports,za;function Fa(){return za||(za=1,(function(e,n){(function(a,o){e.exports=o()})(jr,(function(){var a=1e3,o=6e4,s=36e5,r="millisecond",i="second",c="minute",d="hour",l="day",h="week",u="month",f="quarter",g="year",m="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,S={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 L=["th","st","nd","rd"],T=$%100;return"["+$+(L[(T-20)%10]||L[T]||L[0])+"]"}},_=function($,L,T){var j=String($);return!j||j.length>=L?$:""+Array(L+1-j.length).join(T)+$},I={s:_,z:function($){var L=-$.utcOffset(),T=Math.abs(L),j=Math.floor(T/60),U=T%60;return(L<=0?"+":"-")+_(j,2,"0")+":"+_(U,2,"0")},m:function $(L,T){if(L.date()<T.date())return-$(T,L);var j=12*(T.year()-L.year())+(T.month()-L.month()),U=L.clone().add(j,u),F=T-U<0,y=L.clone().add(j+(F?-1:1),u);return+(-(j+(T-U)/(F?U-y:y-U))||0)},a:function($){return $<0?Math.ceil($)||0:Math.floor($)},p:function($){return{M:u,y:g,w:h,d:l,D:m,h:d,m:c,s:i,ms:r,Q:f}[$]||String($||"").toLowerCase().replace(/s$/,"")},u:function($){return $===void 0}},C="en",k={};k[C]=S;var q="$isDayjsObject",G=function($){return $ instanceof ee||!(!$||!$[q])},X=function $(L,T,j){var U;if(!L)return C;if(typeof L=="string"){var F=L.toLowerCase();k[F]&&(U=F),T&&(k[F]=T,U=F);var y=L.split("-");if(!U&&y.length>1)return $(y[0])}else{var N=L.name;k[N]=L,U=N}return!j&&U&&(C=U),U||!j&&C},H=function($,L){if(G($))return $.clone();var T=typeof L=="object"?L:{};return T.date=$,T.args=arguments,new ee(T)},M=I;M.l=X,M.i=G,M.w=function($,L){return H($,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var ee=(function(){function $(T){this.$L=X(T.locale,null,!0),this.parse(T),this.$x=this.$x||T.x||{},this[q]=!0}var L=$.prototype;return L.parse=function(T){this.$d=(function(j){var U=j.date,F=j.utc;if(U===null)return new Date(NaN);if(M.u(U))return new Date;if(U instanceof Date)return new Date(U);if(typeof U=="string"&&!/Z$/i.test(U)){var y=U.match(A);if(y){var N=y[2]-1||0,B=(y[7]||"0").substring(0,3);return F?new Date(Date.UTC(y[1],N,y[3]||1,y[4]||0,y[5]||0,y[6]||0,B)):new Date(y[1],N,y[3]||1,y[4]||0,y[5]||0,y[6]||0,B)}}return new Date(U)})(T),this.init()},L.init=function(){var T=this.$d;this.$y=T.getFullYear(),this.$M=T.getMonth(),this.$D=T.getDate(),this.$W=T.getDay(),this.$H=T.getHours(),this.$m=T.getMinutes(),this.$s=T.getSeconds(),this.$ms=T.getMilliseconds()},L.$utils=function(){return M},L.isValid=function(){return this.$d.toString()!==p},L.isSame=function(T,j){var U=H(T);return this.startOf(j)<=U&&U<=this.endOf(j)},L.isAfter=function(T,j){return H(T)<this.startOf(j)},L.isBefore=function(T,j){return this.endOf(j)<H(T)},L.$g=function(T,j,U){return M.u(T)?this[j]:this.set(U,T)},L.unix=function(){return Math.floor(this.valueOf()/1e3)},L.valueOf=function(){return this.$d.getTime()},L.startOf=function(T,j){var U=this,F=!!M.u(j)||j,y=M.p(T),N=function(R,Y){var re=M.w(U.$u?Date.UTC(U.$y,Y,R):new Date(U.$y,Y,R),U);return F?re:re.endOf(l)},B=function(R,Y){return M.w(U.toDate()[R].apply(U.toDate("s"),(F?[0,0,0,0]:[23,59,59,999]).slice(Y)),U)},Q=this.$W,D=this.$M,z=this.$D,V="set"+(this.$u?"UTC":"");switch(y){case g:return F?N(1,0):N(31,11);case u:return F?N(1,D):N(0,D+1);case h:var W=this.$locale().weekStart||0,Z=(Q<W?Q+7:Q)-W;return N(F?z-Z:z+(6-Z),D);case l:case m:return B(V+"Hours",0);case d:return B(V+"Minutes",1);case c:return B(V+"Seconds",2);case i:return B(V+"Milliseconds",3);default:return this.clone()}},L.endOf=function(T){return this.startOf(T,!1)},L.$set=function(T,j){var U,F=M.p(T),y="set"+(this.$u?"UTC":""),N=(U={},U[l]=y+"Date",U[m]=y+"Date",U[u]=y+"Month",U[g]=y+"FullYear",U[d]=y+"Hours",U[c]=y+"Minutes",U[i]=y+"Seconds",U[r]=y+"Milliseconds",U)[F],B=F===l?this.$D+(j-this.$W):j;if(F===u||F===g){var Q=this.clone().set(m,1);Q.$d[N](B),Q.init(),this.$d=Q.set(m,Math.min(this.$D,Q.daysInMonth())).$d}else N&&this.$d[N](B);return this.init(),this},L.set=function(T,j){return this.clone().$set(T,j)},L.get=function(T){return this[M.p(T)]()},L.add=function(T,j){var U,F=this;T=Number(T);var y=M.p(j),N=function(D){var z=H(F);return M.w(z.date(z.date()+Math.round(D*T)),F)};if(y===u)return this.set(u,this.$M+T);if(y===g)return this.set(g,this.$y+T);if(y===l)return N(1);if(y===h)return N(7);var B=(U={},U[c]=o,U[d]=s,U[i]=a,U)[y]||1,Q=this.$d.getTime()+T*B;return M.w(Q,this)},L.subtract=function(T,j){return this.add(-1*T,j)},L.format=function(T){var j=this,U=this.$locale();if(!this.isValid())return U.invalidDate||p;var F=T||"YYYY-MM-DDTHH:mm:ssZ",y=M.z(this),N=this.$H,B=this.$m,Q=this.$M,D=U.weekdays,z=U.months,V=U.meridiem,W=function(Y,re,P,we){return Y&&(Y[re]||Y(j,F))||P[re].slice(0,we)},Z=function(Y){return M.s(N%12||12,Y,"0")},R=V||function(Y,re,P){var we=Y<12?"AM":"PM";return P?we.toLowerCase():we};return F.replace(b,(function(Y,re){return re||(function(P){switch(P){case"YY":return String(j.$y).slice(-2);case"YYYY":return M.s(j.$y,4,"0");case"M":return Q+1;case"MM":return M.s(Q+1,2,"0");case"MMM":return W(U.monthsShort,Q,z,3);case"MMMM":return W(z,Q);case"D":return j.$D;case"DD":return M.s(j.$D,2,"0");case"d":return String(j.$W);case"dd":return W(U.weekdaysMin,j.$W,D,2);case"ddd":return W(U.weekdaysShort,j.$W,D,3);case"dddd":return D[j.$W];case"H":return String(N);case"HH":return M.s(N,2,"0");case"h":return Z(1);case"hh":return Z(2);case"a":return R(N,B,!0);case"A":return R(N,B,!1);case"m":return String(B);case"mm":return M.s(B,2,"0");case"s":return String(j.$s);case"ss":return M.s(j.$s,2,"0");case"SSS":return M.s(j.$ms,3,"0");case"Z":return y}return null})(Y)||y.replace(":","")}))},L.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},L.diff=function(T,j,U){var F,y=this,N=M.p(j),B=H(T),Q=(B.utcOffset()-this.utcOffset())*o,D=this-B,z=function(){return M.m(y,B)};switch(N){case g:F=z()/12;break;case u:F=z();break;case f:F=z()/3;break;case h:F=(D-Q)/6048e5;break;case l:F=(D-Q)/864e5;break;case d:F=D/s;break;case c:F=D/o;break;case i:F=D/a;break;default:F=D}return U?F:M.a(F)},L.daysInMonth=function(){return this.endOf(u).$D},L.$locale=function(){return k[this.$L]},L.locale=function(T,j){if(!T)return this.$L;var U=this.clone(),F=X(T,j,!0);return F&&(U.$L=F),U},L.clone=function(){return M.w(this.$d,this)},L.toDate=function(){return new Date(this.valueOf())},L.toJSON=function(){return this.isValid()?this.toISOString():null},L.toISOString=function(){return this.$d.toISOString()},L.toString=function(){return this.$d.toUTCString()},$})(),ie=ee.prototype;return H.prototype=ie,[["$ms",r],["$s",i],["$m",c],["$H",d],["$W",l],["$M",u],["$y",g],["$D",m]].forEach((function($){ie[$[1]]=function(L){return this.$g(L,$[0],$[1])}})),H.extend=function($,L){return $.$i||($(L,ee,H),$.$i=!0),H},H.locale=X,H.isDayjs=G,H.unix=function($){return H(1e3*$)},H.en=k[C],H.Ls=k,H.p={},H}))})(Wt)),Wt.exports}var $r=Fa();const Se=mt($r);var Yt={exports:{}},Qr=Yt.exports,Va;function Gr(){return Va||(Va=1,(function(e,n){(function(a,o){e.exports=o()})(Qr,(function(){return function(a,o,s){a=a||{};var r=o.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 c(l,h,u,f){return r.fromToBase(l,h,u,f)}s.en.relativeTime=i,r.fromToBase=function(l,h,u,f,g){for(var m,p,A,b=u.$locale().relativeTime||i,S=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"}],_=S.length,I=0;I<_;I+=1){var C=S[I];C.d&&(m=f?s(l).diff(u,C.d,!0):u.diff(l,C.d,!0));var k=(a.rounding||Math.round)(Math.abs(m));if(A=m>0,k<=C.r||!C.r){k<=1&&I>0&&(C=S[I-1]);var q=b[C.l];g&&(k=g(""+k)),p=typeof q=="string"?q.replace("%d",k):q(k,h,C.l,A);break}}if(h)return p;var G=A?b.future:b.past;return typeof G=="function"?G(p):G.replace("%s",p)},r.to=function(l,h){return c(l,h,this,!0)},r.from=function(l,h){return c(l,h,this)};var d=function(l){return l.$u?s.utc():s()};r.toNow=function(l){return this.to(d(this),l)},r.fromNow=function(l){return this.from(d(this),l)}}}))})(Yt)),Yt.exports}var Hr=Gr();const zr=mt(Hr);var Kt={exports:{}},Fr=Kt.exports,Wa;function Vr(){return Wa||(Wa=1,(function(e,n){(function(a,o){e.exports=o(Fa())})(Fr,(function(a){function o(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var s=o(a),r={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 s.default.locale(r,null,!0),r}))})(Kt)),Kt.exports}Vr();var Jt={exports:{}},Wr=Jt.exports,Ya;function Yr(){return Ya||(Ya=1,(function(e,n){(function(a,o){e.exports=o()})(Wr,(function(){var a="minute",o=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g;return function(r,i,c){var d=i.prototype;c.utc=function(p){var A={date:p,utc:!0,args:arguments};return new i(A)},d.utc=function(p){var A=c(this.toDate(),{locale:this.$L,utc:!0});return p?A.add(this.utcOffset(),a):A},d.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var l=d.parse;d.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),l.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,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(C){C===void 0&&(C="");var k=C.match(o);if(!k)return null;var q=(""+k[0]).match(s)||["-",0,0],G=q[0],X=60*+q[1]+ +q[2];return X===0?0:G==="+"?X:-X})(p),p===null))return this;var S=Math.abs(p)<=16?60*p:p;if(S===0)return this.utc(A);var _=this.clone();if(A)return _.$offset=S,_.$u=!1,_;var I=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(_=this.local().add(S+I,a)).$offset=S,_.$x.$localOffset=I,_};var f=d.format;d.format=function(p){var A=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return f.call(this,A)},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?c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var m=d.diff;d.diff=function(p,A,b){if(p&&this.$u===p.$u)return m.call(this,p,A,b);var S=this.local(),_=c(p).local();return m.call(S,_,A,b)}}}))})(Jt)),Jt.exports}var Kr=Yr();const Jr=mt(Kr);var Zt={exports:{}},Zr=Zt.exports,Ka;function Xr(){return Ka||(Ka=1,(function(e,n){(function(a,o){e.exports=o()})(Zr,(function(){var a={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(s,r,i){var c,d=function(f,g,m){m===void 0&&(m={});var p=new Date(f),A=(function(b,S){S===void 0&&(S={});var _=S.timeZoneName||"short",I=b+"|"+_,C=o[I];return C||(C=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:_}),o[I]=C),C})(g,m);return A.formatToParts(p)},l=function(f,g){for(var m=d(f,g),p=[],A=0;A<m.length;A+=1){var b=m[A],S=b.type,_=b.value,I=a[S];I>=0&&(p[I]=parseInt(_,10))}var C=p[3],k=C===24?0:C,q=p[0]+"-"+p[1]+"-"+p[2]+" "+k+":"+p[4]+":"+p[5]+":000",G=+f;return(i.utc(q).valueOf()-(G-=G%1e3))/6e4},h=r.prototype;h.tz=function(f,g){f===void 0&&(f=c);var m,p=this.utcOffset(),A=this.toDate(),b=A.toLocaleString("en-US",{timeZone:f}),S=Math.round((A-new Date(b))/1e3/60),_=15*-Math.round(A.getTimezoneOffset()/15)-S;if(!Number(_))m=this.utcOffset(0,g);else if(m=i(b,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(_,!0),g){var I=m.utcOffset();m=m.add(p-I,"minute")}return m.$x.$timezone=f,m},h.offsetName=function(f){var g=this.$x.$timezone||i.tz.guess(),m=d(this.valueOf(),g,{timeZoneName:f}).find((function(p){return p.type.toLowerCase()==="timezonename"}));return m&&m.value};var u=h.startOf;h.startOf=function(f,g){if(!this.$x||!this.$x.$timezone)return u.call(this,f,g);var m=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(m,f,g).tz(this.$x.$timezone,!0)},i.tz=function(f,g,m){var p=m&&g,A=m||g||c,b=l(+i(),A);if(typeof f!="string")return i(f).tz(A);var S=(function(k,q,G){var X=k-60*q*1e3,H=l(X,G);if(q===H)return[X,q];var M=l(X-=60*(H-q)*1e3,G);return H===M?[X,H]:[k-60*Math.min(H,M)*1e3,Math.max(H,M)]})(i.utc(f,p).valueOf(),b,A),_=S[0],I=S[1],C=i(_).utcOffset(I);return C.$x.$timezone=A,C},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(f){c=f}}}))})(Zt)),Zt.exports}var Rr=Xr();const ei=mt(Rr);Se.extend(Jr),Se.extend(ei),Se.extend(zr);const Xt=e=>e==="en"?"en":"es",xe=(e,n)=>{const{PUBLIC_LNG:a,DATE_TIMEZONE:o}=n||K(),s=Xt(a??"es");return Se.tz(e,o).locale(s).format("DD MMMM YYYY")},Qn=e=>{const{PUBLIC_LNG:n,DATE_TIMEZONE:a}=K(),o=Xt(n??"es");return Se.tz(e,a).locale(o).format(o==="en"?"MMMM DD YYYY [•] HH:mm [hs]":"DD [de] MMMM YYYY [•] HH:mm [hs]")},Ja=e=>{const{PUBLIC_LNG:n,DATE_TIMEZONE:a}=K(),o=Xt(n??"es");return Se.tz(e,a).locale(o).format("MM/DD/YYYY [•] HH:mm [HS]")},ti=e=>{const{PUBLIC_LNG:n,DATE_TIMEZONE:a}=K(),o=Xt(n??"es");return Se.tz(e,a).locale(o).format("dddd DD [de] MMMM YYYY")},Ue=(e,n=136)=>e&&e.length>n?`${e.substring(0,n)}...`:e;function Gn(e){return e&&e.status==="fulfilled"?e.value.data:null}function Za(e){return e&&e.status==="fulfilled"?e.value:null}const gt=(e,n,a,o)=>({authors:e.main.author?[{firstname:"",lastname:"",fullname:e.main.author?e.main.author.toString():"Redacción",image:{sizes:[],description:""},name:"",internaluser:!1}]:[],social:{description:"",images:{facebook:"",twitter:""},title:""},info:{date:{...e?.info.date,lastpublish:0,firstpublish:0,date:""},link:e?.info.link},preview:{sizes:e?.main.image.sizes,description:e?.main.image.description},config:{showtime:n,showsubtitle:a,showauthor:!!(o&&e.main.author)},main:{title:{article:e?.main.title,home:e?.main.title,seo:e?.main.title,section:e?.main.title},subtitle:{rendered:e?.main.description,striped:e?.main.description},tags:[]}});function ni(e){if(!e||!e.body||!e.body.rendered)return[];const n=e?.body?.rendered,a=[],o=n.match(/<div[^>]*class=["'][^"']*ck-related-news[^"']*["'][^>]*>[\s\S]*?<\/div>/gi);if(!o)return a;for(const s of o){const r=[],i=s.match(/data-src=["']([^"']+)["']/gi);if(i)for(const c of i){const d=c.replace(/data-src=["']([^"']+)["']/,"$1");r.push(d)}a.push(r)}return a}const ai=async(e,n)=>{const a=[];return e.forEach(r=>{r.forEach(async i=>{const c=n({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"});c&&a.push(c)})}),(await Promise.allSettled(a)).map(r=>Gn(r)?.data)},pt=()=>{const{PUBLIC_ENV:e,PUBLIC_API_HOST:n,PUBLIC_ASSETS_URL:a}=K();return e=="local"?n:a&&a!=="false"?a:""},Xa=()=>{const{PUBLIC_ENV:e,PUBLIC_API_FRONT:n}=K();return e==="local"?n:""},Ra=(e,n)=>{if(!e)return{};const{PUBLIC_ASSETS_URL:a,PUBLIC_API_FRONT:o}=K(),s=Hn(e.keywords)??"",r=e?.preview?.sizes?e?.preview?.sizes[0]?.url:"",i=(a!=="false"?a:o)??"";return{title:(e?.main?.title?.seo??e?.main?.title?.article)+" | "+n.name,robots:"index, follow, max-image-preview:large",alternates:{types:{"application/rss+xml":(n.siteUrl??"")+"/rss/feed.xml"},canonical:e?.info?.link?.canonical},description:e?.main?.subtitle?.striped??"",news_keywords:s,keywords:s,openGraph:{title:e?.social?.title??e?.main?.title?.article,url:e?.info?.link?.canonical,type:"article",description:e?.social?.description??e?.main?.subtitle?.striped??"",images:[{url:i+(e?.social?.images?.facebook??r),width:n.landscapeLogo.width,height:n.landscapeLogo.height}],siteName:n.name.toLocaleUpperCase()},twitter:{title:e?.main?.title?.article,card:"summary_large_image",site:n.siteUrl,description:e?.main?.subtitle?.striped??"",images:[{url:i+(e?.social?.images?.twitter??r),width:n.twitterSummaryCard.width,height:n.twitterSummaryCard.height}]}}},Hn=e=>!e||!e?.tags||e?.tags?.length===0?"":e?.tags?.map(n=>n.name).join(", ").replaceAll('"',"'").replaceAll("`","'"),eo=e=>{const n=e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);return n?{slug:n[1]??"",path:n[2]??""}:{slug:"",path:""}},to=e=>e.replaceAll("/","").replaceAll("_","").replace(".html",""),oi={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"},"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"}},no=e=>{const n=[];let a=0;const o=i=>n.push(i);return e.title&&typeof e.title=="string"&&o(t.jsx("title",{children:e.title},`title-${a++}`)),Object.entries(oi).forEach(([i,c])=>{const d=i.split(".").reduce((l,h)=>l?.[h],e);d&&o(t.jsx("meta",{[c.attr]:c.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"?o(t.jsx("meta",{property:"og:image",content:i},`og-img-${a++}`)):(i.url&&o(t.jsx("meta",{property:"og:image",content:i.url},`og-img-${a++}`)),i.width&&o(t.jsx("meta",{property:"og:image:width",content:String(i.width)},`og-img-w-${a++}`)),i.height&&o(t.jsx("meta",{property:"og:image:height",content:String(i.height)},`og-img-h-${a++}`))))}),(e.twitter?.images?Array.isArray(e.twitter.images)?e.twitter.images:[e.twitter.images]:[]).forEach(i=>{const c=typeof i=="string"?i:i.url;c&&o(t.jsx("meta",{name:"twitter:image",content:c},`tw-img-${a++}`))}),e.alternates?.canonical&&o(t.jsx("link",{rel:"canonical",href:String(e.alternates.canonical)},`link-${a++}`)),e.manifest&&o(t.jsx("link",{rel:"manifest",href:String(e.manifest)},`link-${a++}`)),e.alternates?.types&&Object.entries(e.alternates.types).forEach(([i,c])=>{typeof c=="string"&&o(t.jsx("link",{rel:"alternate",type:i,href:c},`alt-${a++}`))}),e.icons&&[...e.icons?.icon??[],...e.icons?.other??[]].forEach(c=>{c&&o(typeof c=="string"?t.jsx("link",{rel:"icon",href:c},`icon-${a++}`):t.jsx("link",{rel:c.rel||"icon",href:c.url,...c.type&&{type:c.type},...c.sizes&&{sizes:c.sizes}},`icon-${a++}`))}),e.other&&Object.entries(e.other).forEach(([i,c])=>{c&&o(t.jsx("meta",{name:i,content:String(c)},`other-${a++}`))}),n},de=async e=>`${pt()}${e}`,Rt=(e,n)=>{const a=e||"";return n?a.replaceAll("[section_replace]",n["[section_replace]"]??"").replaceAll("[tag_replace]",n["[tag_replace]"]??"").replaceAll("[url_replace]",n["[url_replace]"]??"").replaceAll("[author_replace]",n["[author_replace]"]??"")||"":a||""},zn=e=>{const n=e.banners.find(r=>r.key===e.name);if(!n||!n.show)return null;const a=Rt(n.value||"",e.replaces),o=/<script([^>]*)>([\s\S]*?)<\/script\s*>/gi,s=[...a.matchAll(o)];return t.jsx(t.Fragment,{children:s.map((r,i)=>{const c=r[1]||"",d=r[2]?.trim()||"",l=c.match(/src=["']([^"']+)["']/i);if(l){const h=l[1];return t.jsx("script",{src:h,async:!0},i)}else return t.jsx("script",{id:e.name,dangerouslySetInnerHTML:{__html:d}},i)})})},ao=e=>{const n=e.banners.find(s=>s.key===e.name);if(!n||!n.show)return null;const o=Rt(n.value||"",e.replaces).split(/(<script[\s\S]*?<\/script\s*>)/gi);return t.jsx(t.Fragment,{children:o.map((s,r)=>{const i=s.match(/<script([^>]*)>([\s\S]*?)<\/script\s*>/i);if(i){const c=i[1]||"",d=i[2]?.trim()||"",l=c.match(/src=["']([^"']+)["']/i);if(l){const h=l[1];return t.jsx("script",{src:h,async:!0},r)}else return t.jsx("script",{id:e.name,dangerouslySetInnerHTML:{__html:d}},r)}else if(s.trim())return t.jsx("div",{dangerouslySetInnerHTML:{__html:s}},r);return null})})},Tt=(e,n,a)=>{let o=e.siteUrl;return n.forEach((s,r)=>{r>0&&(o+=`/${s}`)}),`${o}/page/${a+1}`},kt=(e,n,a)=>{let o=e.siteUrl;return n.forEach((s,r)=>{r>0&&(o+=`/${s}`)}),`${o}/page/${a-1}`};function si(e){const n=e.length;return n>1&&e.charCodeAt(n-1)===47?e.slice(0,n-1):e}const oo=()=>{const{PUBLIC_ASSETS_URL:e}=K();return e&&e!=="false"&&t.jsx("link",{rel:"preconnect",href:e,crossOrigin:"anonymous"})},{PUBLIC_ASSETS_URL:Fn}=K(),ri=Fn&&Fn!=="false"?Fn:"",Vn=({images:e})=>t.jsx(t.Fragment,{children:e.map((n,a)=>n.href!==""&&t.jsx("link",{rel:"preload",href:ri+n.href,media:n.media??"",as:"image",fetchPriority:n.fetchPriority??"high"},a))}),so=(e,n)=>{if(!e)return{};const{PUBLIC_API_FRONT:a}=K();return{title:e?.main?.title+" | "+n.name,robots:"index, follow, max-image-preview:large",alternates:{canonical:n.siteUrl+e?.info?.link?.url},description:e.main.description??"",news_keywords:e.main.tags,keywords:e.main.tags,openGraph:{title:e.main.title,url:e?.info?.link?.canonical,type:"article",description:e.main.description??"",images:[{url:(a??"")+e?.main.image.sizes[0]?.url,width:n.landscapeLogo.width,height:n.landscapeLogo.height}],siteName:n.name.toLocaleUpperCase()},twitter:{title:e?.main?.title,card:"summary_large_image",site:n.siteUrl,description:e?.main.description??"",images:[{url:(a??"")+e?.main.image.sizes[0]?.url,width:n.twitterSummaryCard.width,height:n.twitterSummaryCard.height}]}}},ii=e=>{let n="";if(e.params.news.match(/.*t[0-9]*.html/g)){const a=e.params.news.split("-"),o=a[a.length-1]??"",s=o.substring(1,9),r=o.substring(9,13);n=`/listas/${Se(s).format("YYYY/MM/DD")}/lista_${r}.html`}else if(e.params.news.match(/.*lb[0-9]*.html/g)){const a=e.params.news.split("-"),o=a[a.length-1]??"",s=o.substring(2,10),r=o.substring(10,14);n=`/liveblog/${Se(s).format("YYYY/MM/DD")}/liveblog_${r}.html`}else{const o=e.params.news.replace(/\.html$/g,"").split("-");Array.isArray(o)&&(n=`/contenidos/${Se(o[o.length-2]).format("YYYY/MM/DD")}/noticia_${o[o.length-1]}.html`)}return e.config.servicePrefix+n};function ci(e){const n=e.lastIndexOf("-"),a=n>=0?[e.slice(0,n),e.slice(n+1)]:[e],o=a[a.length-1]?.split("."),s=o&&o[0]?o[0]:"",r=s.substring(0,2),i=s.substring(2,10),c=s.substring(10);return{path:{vy:l=>`/videos/video-youtube/${Se(i).format("YYYY/MM/DD")}/videoYouTube_${l}.lnk`,ve:l=>`/videos/video-embedded/${Se(i).format("YYYY/MM/DD")}/videoEmbedded_${l}.lnk`,vf:l=>`/videos/video-flash/${Se(i).format("YYYY/MM/DD")}/${a[0]}.${l}`}[r]?.(c)??"",op:r}}const at=(e,n)=>{const a=e.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ñ/g,"n").replace(/Ñ/g,"n").replace(/[^\w\s]/gi,"").replaceAll(" ","-").toLowerCase();return n.tema?`/${n.tema}/${a}-t${e.id}`:`/${a}-t${e.id}`},li=e=>{const{AssetsPrefix:n="",AssetsPath:a="src",isDev:o=!1}=e;return o?"src":n+a},ro={prerender:[{where:{and:[{href_matches:"/*(-|-t|-lb)([0-9]{8})(-|)([0-9]{4,6}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}]},io={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:["/"]}]},di={Home:ro,Common:io},co=({active:e,type:n,customSpeculation:a})=>e&&t.jsx("script",{type:"speculationrules",dangerouslySetInnerHTML:{__html:JSON.stringify(a??di[n])}}),en=async(e,n,a)=>{if(a)return a.get(`/schemas${n}`,{params:e}).catch(o=>{console.log(`[/schemas${n}] Error: ${o.message}`)})},hi={autor:"autor",seccion:"seccion",tema:"claves","ultimas-noticias":"seccion"},lo=async({config:e,axiosApi:n,pathname:a,ROUTE:o})=>{const{PUBLIC_PUBLICATION_ID:s=""}=K();let r=[];const i=a==="/"||a==="/index.html"?void 0:po(Ao[o]({pathname:a,config:e})),c=hi[o]??void 0,d={newstype:e.newsType,publication:Number(s),...i&&c?{query:`${c}:('${i}')`}:{}};try{const l=await en(d,"/news-list-summary",n);l?.data?.data?r=l.data.data:console.warn("getSchemas responded but did not contain expected data:",l)}catch(l){console.log("Error fetching schemas:",l)}return Object.keys(r).length>0&&t.jsx("script",{id:"webSiteItemListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(r)}})};function tn(e){const{PUBLIC_ASSETS_URL:n}=K();if(!n||n==="false")return e;const a=n.replace(/\/+$/,""),o=/https?:\/\/[^/\s]+\/(arte|__export)\//g;return e.replace(o,(s,r)=>`${a}/${r}/`)}const ho=async({realPath:e,config:n,BASE_URL:a,axiosApi:o})=>{const{PUBLIC_SERVICE_PREFIX:s,PUBLIC_IS_SUB_PUBLICATION:r}=K();let i=[];try{const c=n.socialBlockLogo?.url?new URL(n.socialBlockLogo.url).pathname:void 0,d=n.landscapeLogo?.url?new URL(n.landscapeLogo.url).pathname:void 0,l={path:e,image:d,logo:c,url:n.siteUrl,name:n.name,logow:n.socialBlockLogo?.width,logoh:n.socialBlockLogo?.height,authorurl:a+"/autor/"},h=e.split("/")[1],u=h=="liveblogs"||h=="liveblog"?["/news","/news-breadcrumb","/news-liveblog"]:["/news","/news-breadcrumb"],f=n.paths.tema!==""?"/"+n.paths.tema:n.paths.tema,g=s!=="false"&&r!=="false"?"/"+s+f:f;i=(await Promise.all(u.map(async p=>{const A=p==="/news-breadcrumb"?{...l,prefixtag:g}:l;return await en(A,p,o)}))).map(p=>p?.data?.data??[])}catch(c){console.log("Error fetching schemas:",c)}return i.map((c,d)=>t.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:tn(JSON.stringify(c))}},d))},uo=({config:e,socials:n})=>{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(n).filter(o=>n[o]?.show).map(o=>n[o]?.url)};return(!e.description||e.description==="")&&delete a.description,t.jsx("script",{id:"WebsiteOrgListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a)}})},fo=({config:e})=>{const n={"@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 t.jsx("script",{id:"WebsiteListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})},mo=async({realPath:e,config:n,axiosApi:a})=>{try{const o={path:e,image:n.landscapeLogo?.url?new URL(n.landscapeLogo.url).pathname:void 0,logo:n.socialBlockLogo?.url?new URL(n.socialBlockLogo.url).pathname:void 0,url:n.siteUrl,name:n.name,logow:n.socialBlockLogo?.width,logoh:n.socialBlockLogo?.height,authorurl:`${n.siteUrl}/autor/`},r=(await en(o,"/videos",a))?.data.data;return r?t.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:tn(JSON.stringify(r))}}):void 0}catch(o){return console.error("Error fetching video schemas:",o),null}},go=({config:e})=>{const n=`@font-face {
|
|
14
14
|
font-family: '${e.fontName}';
|
|
15
15
|
font-style: normal;
|
|
16
16
|
font-weight: ${e.fontWeight};
|