sass-template-common 0.0.87 → 0.0.88

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.
@@ -978,10 +978,10 @@ const Io = () => {
978
978
  "YYYY/MM/DD"
979
979
  )}/liveblog_${i}.html`;
980
980
  } else {
981
- const n = e.params.news.split("-");
982
- Array.isArray(n) && (t = `/contenidos/${ge(n[n.length - 2]).format(
981
+ const s = e.params.news.replace(/\.html$/g, "").split("-");
982
+ Array.isArray(s) && (t = `/contenidos/${ge(s[s.length - 2]).format(
983
983
  "YYYY/MM/DD"
984
- )}/noticia_${n[n.length - 1]}.html`);
984
+ )}/noticia_${s[s.length - 1]}.html`);
985
985
  }
986
986
  return e.config.servicePrefix + t;
987
987
  };
@@ -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"}})})]}),ua=({id:e})=>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 jt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Gt={exports:{}},Go=Gt.exports,ma;function fa(){return ma||(ma=1,(function(e,n){(function(a,s){e.exports=s()})(Go,(function(){var a=1e3,s=6e4,o=36e5,r="millisecond",i="second",l="minute",c="hour",h="day",d="week",u="month",m="quarter",y="year",f="date",g="Invalid Date",w=/^(\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,U={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(B){var E=["th","st","nd","rd"],v=B%100;return"["+B+(E[(v-20)%10]||E[v]||E[0])+"]"}},S=function(B,E,v){var L=String(B);return!L||L.length>=E?B:""+Array(E+1-L.length).join(v)+B},M={s:S,z:function(B){var E=-B.utcOffset(),v=Math.abs(E),L=Math.floor(v/60),k=v%60;return(E<=0?"+":"-")+S(L,2,"0")+":"+S(k,2,"0")},m:function B(E,v){if(E.date()<v.date())return-B(v,E);var L=12*(v.year()-E.year())+(v.month()-E.month()),k=E.clone().add(L,u),Q=v-k<0,N=E.clone().add(L+(Q?-1:1),u);return+(-(L+(v-k)/(Q?k-N:N-k))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:u,y,w:d,d:h,D:f,h:c,m:l,s:i,ms:r,Q:m}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},x="en",I={};I[x]=U;var P="$isDayjsObject",$=function(B){return B instanceof H||!(!B||!B[P])},z=function B(E,v,L){var k;if(!E)return x;if(typeof E=="string"){var Q=E.toLowerCase();I[Q]&&(k=Q),v&&(I[Q]=v,k=Q);var N=E.split("-");if(!k&&N.length>1)return B(N[0])}else{var D=E.name;I[D]=E,k=D}return!L&&k&&(x=k),k||!L&&x},O=function(B,E){if($(B))return B.clone();var v=typeof E=="object"?E:{};return v.date=B,v.args=arguments,new H(v)},q=M;q.l=z,q.i=$,q.w=function(B,E){return O(B,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var H=(function(){function B(v){this.$L=z(v.locale,null,!0),this.parse(v),this.$x=this.$x||v.x||{},this[P]=!0}var E=B.prototype;return E.parse=function(v){this.$d=(function(L){var k=L.date,Q=L.utc;if(k===null)return new Date(NaN);if(q.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var N=k.match(w);if(N){var D=N[2]-1||0,G=(N[7]||"0").substring(0,3);return Q?new Date(Date.UTC(N[1],D,N[3]||1,N[4]||0,N[5]||0,N[6]||0,G)):new Date(N[1],D,N[3]||1,N[4]||0,N[5]||0,N[6]||0,G)}}return new Date(k)})(v),this.init()},E.init=function(){var v=this.$d;this.$y=v.getFullYear(),this.$M=v.getMonth(),this.$D=v.getDate(),this.$W=v.getDay(),this.$H=v.getHours(),this.$m=v.getMinutes(),this.$s=v.getSeconds(),this.$ms=v.getMilliseconds()},E.$utils=function(){return q},E.isValid=function(){return this.$d.toString()!==g},E.isSame=function(v,L){var k=O(v);return this.startOf(L)<=k&&k<=this.endOf(L)},E.isAfter=function(v,L){return O(v)<this.startOf(L)},E.isBefore=function(v,L){return this.endOf(L)<O(v)},E.$g=function(v,L,k){return q.u(v)?this[L]:this.set(k,v)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(v,L){var k=this,Q=!!q.u(L)||L,N=q.p(v),D=function(Xe,he){var He=q.w(k.$u?Date.UTC(k.$y,he,Xe):new Date(k.$y,he,Xe),k);return Q?He:He.endOf(h)},G=function(Xe,he){return q.w(k.toDate()[Xe].apply(k.toDate("s"),(Q?[0,0,0,0]:[23,59,59,999]).slice(he)),k)},W=this.$W,F=this.$M,X=this.$D,Ne="set"+(this.$u?"UTC":"");switch(N){case y:return Q?D(1,0):D(31,11);case u:return Q?D(1,F):D(0,F+1);case d:var Se=this.$locale().weekStart||0,Ot=(W<Se?W+7:W)-Se;return D(Q?X-Ot:X+(6-Ot),F);case h:case f:return G(Ne+"Hours",0);case c:return G(Ne+"Minutes",1);case l:return G(Ne+"Seconds",2);case i:return G(Ne+"Milliseconds",3);default:return this.clone()}},E.endOf=function(v){return this.startOf(v,!1)},E.$set=function(v,L){var k,Q=q.p(v),N="set"+(this.$u?"UTC":""),D=(k={},k[h]=N+"Date",k[f]=N+"Date",k[u]=N+"Month",k[y]=N+"FullYear",k[c]=N+"Hours",k[l]=N+"Minutes",k[i]=N+"Seconds",k[r]=N+"Milliseconds",k)[Q],G=Q===h?this.$D+(L-this.$W):L;if(Q===u||Q===y){var W=this.clone().set(f,1);W.$d[D](G),W.init(),this.$d=W.set(f,Math.min(this.$D,W.daysInMonth())).$d}else D&&this.$d[D](G);return this.init(),this},E.set=function(v,L){return this.clone().$set(v,L)},E.get=function(v){return this[q.p(v)]()},E.add=function(v,L){var k,Q=this;v=Number(v);var N=q.p(L),D=function(F){var X=O(Q);return q.w(X.date(X.date()+Math.round(F*v)),Q)};if(N===u)return this.set(u,this.$M+v);if(N===y)return this.set(y,this.$y+v);if(N===h)return D(1);if(N===d)return D(7);var G=(k={},k[l]=s,k[c]=o,k[i]=a,k)[N]||1,W=this.$d.getTime()+v*G;return q.w(W,this)},E.subtract=function(v,L){return this.add(-1*v,L)},E.format=function(v){var L=this,k=this.$locale();if(!this.isValid())return k.invalidDate||g;var Q=v||"YYYY-MM-DDTHH:mm:ssZ",N=q.z(this),D=this.$H,G=this.$m,W=this.$M,F=k.weekdays,X=k.months,Ne=k.meridiem,Se=function(he,He,Qt,Sn){return he&&(he[He]||he(L,Q))||Qt[He].slice(0,Sn)},Ot=function(he){return q.s(D%12||12,he,"0")},Xe=Ne||function(he,He,Qt){var Sn=he<12?"AM":"PM";return Qt?Sn.toLowerCase():Sn};return Q.replace(b,(function(he,He){return He||(function(Qt){switch(Qt){case"YY":return String(L.$y).slice(-2);case"YYYY":return q.s(L.$y,4,"0");case"M":return W+1;case"MM":return q.s(W+1,2,"0");case"MMM":return Se(k.monthsShort,W,X,3);case"MMMM":return Se(X,W);case"D":return L.$D;case"DD":return q.s(L.$D,2,"0");case"d":return String(L.$W);case"dd":return Se(k.weekdaysMin,L.$W,F,2);case"ddd":return Se(k.weekdaysShort,L.$W,F,3);case"dddd":return F[L.$W];case"H":return String(D);case"HH":return q.s(D,2,"0");case"h":return Ot(1);case"hh":return Ot(2);case"a":return Xe(D,G,!0);case"A":return Xe(D,G,!1);case"m":return String(G);case"mm":return q.s(G,2,"0");case"s":return String(L.$s);case"ss":return q.s(L.$s,2,"0");case"SSS":return q.s(L.$ms,3,"0");case"Z":return N}return null})(he)||N.replace(":","")}))},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(v,L,k){var Q,N=this,D=q.p(L),G=O(v),W=(G.utcOffset()-this.utcOffset())*s,F=this-G,X=function(){return q.m(N,G)};switch(D){case y:Q=X()/12;break;case u:Q=X();break;case m:Q=X()/3;break;case d:Q=(F-W)/6048e5;break;case h:Q=(F-W)/864e5;break;case c:Q=F/o;break;case l:Q=F/s;break;case i:Q=F/a;break;default:Q=F}return k?Q:q.a(Q)},E.daysInMonth=function(){return this.endOf(u).$D},E.$locale=function(){return I[this.$L]},E.locale=function(v,L){if(!v)return this.$L;var k=this.clone(),Q=z(v,L,!0);return Q&&(k.$L=Q),k},E.clone=function(){return q.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},B})(),ee=H.prototype;return O.prototype=ee,[["$ms",r],["$s",i],["$m",l],["$H",c],["$W",h],["$M",u],["$y",y],["$D",f]].forEach((function(B){ee[B[1]]=function(E){return this.$g(E,B[0],B[1])}})),O.extend=function(B,E){return B.$i||(B(E,H,O),B.$i=!0),O},O.locale=z,O.isDayjs=$,O.unix=function(B){return O(1e3*B)},O.en=I[x],O.Ls=I,O.p={},O}))})(Gt)),Gt.exports}var $o=fa();const ue=jt($o);var $t={exports:{}},zo=$t.exports,ga;function Ho(){return ga||(ga=1,(function(e,n){(function(a,s){e.exports=s()})(zo,(function(){return function(a,s,o){a=a||{};var r=s.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(h,d,u,m){return r.fromToBase(h,d,u,m)}o.en.relativeTime=i,r.fromToBase=function(h,d,u,m,y){for(var f,g,w,b=u.$locale().relativeTime||i,U=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=U.length,M=0;M<S;M+=1){var x=U[M];x.d&&(f=m?o(h).diff(u,x.d,!0):u.diff(h,x.d,!0));var I=(a.rounding||Math.round)(Math.abs(f));if(w=f>0,I<=x.r||!x.r){I<=1&&M>0&&(x=U[M-1]);var P=b[x.l];y&&(I=y(""+I)),g=typeof P=="string"?P.replace("%d",I):P(I,d,x.l,w);break}}if(d)return g;var $=w?b.future:b.past;return typeof $=="function"?$(g):$.replace("%s",g)},r.to=function(h,d){return l(h,d,this,!0)},r.from=function(h,d){return l(h,d,this)};var c=function(h){return h.$u?o.utc():o()};r.toNow=function(h){return this.to(c(this),h)},r.fromNow=function(h){return this.from(c(this),h)}}}))})($t)),$t.exports}var Fo=Ho();const Vo=jt(Fo);var zt={exports:{}},Wo=zt.exports,pa;function Yo(){return pa||(pa=1,(function(e,n){(function(a,s){e.exports=s(fa())})(Wo,(function(a){function s(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=s(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 o.default.locale(r,null,!0),r}))})(zt)),zt.exports}Yo();var Ht={exports:{}},Ko=Ht.exports,Aa;function Jo(){return Aa||(Aa=1,(function(e,n){(function(a,s){e.exports=s()})(Ko,(function(){var a="minute",s=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(r,i,l){var c=i.prototype;l.utc=function(g){var w={date:g,utc:!0,args:arguments};return new i(w)},c.utc=function(g){var w=l(this.toDate(),{locale:this.$L,utc:!0});return g?w.add(this.utcOffset(),a):w},c.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var h=c.parse;c.parse=function(g){g.utc&&(this.$u=!0),this.$utils().u(g.$offset)||(this.$offset=g.$offset),h.call(this,g)};var d=c.init;c.init=function(){if(this.$u){var g=this.$d;this.$y=g.getUTCFullYear(),this.$M=g.getUTCMonth(),this.$D=g.getUTCDate(),this.$W=g.getUTCDay(),this.$H=g.getUTCHours(),this.$m=g.getUTCMinutes(),this.$s=g.getUTCSeconds(),this.$ms=g.getUTCMilliseconds()}else d.call(this)};var u=c.utcOffset;c.utcOffset=function(g,w){var b=this.$utils().u;if(b(g))return this.$u?0:b(this.$offset)?u.call(this):this.$offset;if(typeof g=="string"&&(g=(function(x){x===void 0&&(x="");var I=x.match(s);if(!I)return null;var P=(""+I[0]).match(o)||["-",0,0],$=P[0],z=60*+P[1]+ +P[2];return z===0?0:$==="+"?z:-z})(g),g===null))return this;var U=Math.abs(g)<=16?60*g:g;if(U===0)return this.utc(w);var S=this.clone();if(w)return S.$offset=U,S.$u=!1,S;var M=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(S=this.local().add(U+M,a)).$offset=U,S.$x.$localOffset=M,S};var m=c.format;c.format=function(g){var w=g||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,w)},c.valueOf=function(){var g=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*g},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var y=c.toDate;c.toDate=function(g){return g==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():y.call(this)};var f=c.diff;c.diff=function(g,w,b){if(g&&this.$u===g.$u)return f.call(this,g,w,b);var U=this.local(),S=l(g).local();return f.call(U,S,w,b)}}}))})(Ht)),Ht.exports}var Zo=Jo();const Xo=jt(Zo);var Ft={exports:{}},Ro=Ft.exports,wa;function er(){return wa||(wa=1,(function(e,n){(function(a,s){e.exports=s()})(Ro,(function(){var a={year:0,month:1,day:2,hour:3,minute:4,second:5},s={};return function(o,r,i){var l,c=function(m,y,f){f===void 0&&(f={});var g=new Date(m),w=(function(b,U){U===void 0&&(U={});var S=U.timeZoneName||"short",M=b+"|"+S,x=s[M];return x||(x=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:S}),s[M]=x),x})(y,f);return w.formatToParts(g)},h=function(m,y){for(var f=c(m,y),g=[],w=0;w<f.length;w+=1){var b=f[w],U=b.type,S=b.value,M=a[U];M>=0&&(g[M]=parseInt(S,10))}var x=g[3],I=x===24?0:x,P=g[0]+"-"+g[1]+"-"+g[2]+" "+I+":"+g[4]+":"+g[5]+":000",$=+m;return(i.utc(P).valueOf()-($-=$%1e3))/6e4},d=r.prototype;d.tz=function(m,y){m===void 0&&(m=l);var f,g=this.utcOffset(),w=this.toDate(),b=w.toLocaleString("en-US",{timeZone:m}),U=Math.round((w-new Date(b))/1e3/60),S=15*-Math.round(w.getTimezoneOffset()/15)-U;if(!Number(S))f=this.utcOffset(0,y);else if(f=i(b,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(S,!0),y){var M=f.utcOffset();f=f.add(g-M,"minute")}return f.$x.$timezone=m,f},d.offsetName=function(m){var y=this.$x.$timezone||i.tz.guess(),f=c(this.valueOf(),y,{timeZoneName:m}).find((function(g){return g.type.toLowerCase()==="timezonename"}));return f&&f.value};var u=d.startOf;d.startOf=function(m,y){if(!this.$x||!this.$x.$timezone)return u.call(this,m,y);var f=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(f,m,y).tz(this.$x.$timezone,!0)},i.tz=function(m,y,f){var g=f&&y,w=f||y||l,b=h(+i(),w);if(typeof m!="string")return i(m).tz(w);var U=(function(I,P,$){var z=I-60*P*1e3,O=h(z,$);if(P===O)return[z,P];var q=h(z-=60*(O-P)*1e3,$);return O===q?[z,O]:[I-60*Math.min(O,q)*1e3,Math.max(O,q)]})(i.utc(m,g).valueOf(),b,w),S=U[0],M=U[1],x=i(S).utcOffset(M);return x.$x.$timezone=w,x},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(m){l=m}}}))})(Ft)),Ft.exports}var tr=er();const nr=jt(tr);let kn={PUBLIC_API_HOST:"https://dev-saas.cms-medios.com",PUBLIC_API_FRONT:"https://dev-lahora.cms-medios.com",PUBLIC_API_PATH:void 0,PUBLIC_API_PATH_VERSION:void 0,PUBLIC_X_SECURITY_TOKEN:"wj5oeACJStV3exBvodMa",PUBLIC_PUBLICATION_ID:"35",PUBLIC_TAG_TYPE:"27",PUBLIC_ENV:"local",PUBLIC_LNG:"en",PUBLIC_SERVICE_PREFIX:"false",PUBLIC_IS_SUB_PUBLICATION:void 0,PUBLIC_USERNAME_OFFLINE:"previewreactsaas",PUBLIC_PASSWORD_OFFLINE:"Y35VhZGkFtwu",PUBLIC_IS_OFFLINE:"false",PUBLIC_OFFLINE_SITE:"formula",PUBLIC_WP_API_HOST:void 0,PUBLIC_X_SECURITY_WAF_TOKEN:"false",DEPLOY_BUCKET:"false",PUBLIC_ASSETS_URL:"false",PUBLIC_BUILD_ID:"123456789"};function ar(e={}){kn={...kn,...e}}function J(){return kn}ue.extend(Xo),ue.extend(nr),ue.extend(Vo);const Vt="America/Mexico_City",{PUBLIC_LNG:sr}=J(),gt=sr==="en"?"en":"es",Ce=e=>ue.tz(e,Vt).locale(gt).format("DD MMMM YYYY"),En=e=>ue.tz(e,Vt).locale(gt).format(gt==="en"?"MMMM DD YYYY [•] HH:mm [hs]":"DD [de] MMMM YYYY [•] HH:mm [hs]"),ya=e=>ue.tz(e,Vt).locale(gt).format("MM/DD/YYYY [•] HH:mm [HS]"),or=e=>ue.tz(e,Vt).locale(gt).format("dddd DD [de] MMMM YYYY"),me=(e,n=136)=>e&&e.length>n?`${e.substring(0,n)}...`:e;function Ca(e){return e&&e.status==="fulfilled"?e.value.data:null}function ba(e){return e&&e.status==="fulfilled"?e.value:null}const Re=(e,n,a)=>({authors:[],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},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 rr(e){const n=[],a=e.match(/<div[^>]*class=["'][^"']*ck-related-news[^"']*["'][^>]*>[\s\S]*?<\/div>/gi);if(!a)return n;for(const s of a){const o=[],r=s.match(/data-src=["']([^"']+)["']/gi);if(r)for(const i of r){const l=i.replace(/data-src=["']([^"']+)["']/,"$1");o.push(l)}n.push(o)}return n}const pt=()=>{const{PUBLIC_ENV:e,PUBLIC_API_HOST:n,PUBLIC_ASSETS_URL:a}=J();return e=="local"?n:a!=="false"&&a!=="false"?a:""},va=()=>{const{PUBLIC_ENV:e,PUBLIC_API_FRONT:n}=J();return e==="local"?n:""},_a=(e,n)=>{if(!e)return{};const{PUBLIC_ASSETS_URL:a,PUBLIC_API_FRONT:s}=J(),o=In(e.keywords)??"",r=e?.preview?.sizes?e?.preview?.sizes[0]?.url:"",i=(a!=="false"?a:s)??"";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:o,keywords:o,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}]}}},In=e=>!e||!e?.tags||e?.tags?.length===0?"":e?.tags?.map(n=>n.name).join(", ").replaceAll('"',"'").replaceAll("`","'"),Na=e=>{const n=e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);return n?{slug:n[1]??"",path:n[2]??""}:{slug:"",path:""}},Sa=e=>e.replaceAll("/","").replaceAll("_","").replace(".html",""),ir={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"}},ka=e=>{const n=[];let a=0;const s=i=>n.push(i);return e.title&&typeof e.title=="string"&&s(t.jsx("title",{children:e.title},`title-${a++}`)),Object.entries(ir).forEach(([i,l])=>{const c=i.split(".").reduce((h,d)=>h?.[d],e);c&&s(t.jsx("meta",{[l.attr]:l.value,content:String(c)},`meta-${a++}`))}),(e.openGraph?.images?Array.isArray(e.openGraph.images)?e.openGraph.images:[e.openGraph.images]:[]).forEach(i=>{i&&(typeof i=="string"?s(t.jsx("meta",{property:"og:image",content:i},`og-img-${a++}`)):(i.url&&s(t.jsx("meta",{property:"og:image",content:i.url},`og-img-${a++}`)),i.width&&s(t.jsx("meta",{property:"og:image:width",content:String(i.width)},`og-img-w-${a++}`)),i.height&&s(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 l=typeof i=="string"?i:i.url;l&&s(t.jsx("meta",{name:"twitter:image",content:l},`tw-img-${a++}`))}),e.alternates?.canonical&&s(t.jsx("link",{rel:"canonical",href:String(e.alternates.canonical)},`link-${a++}`)),e.manifest&&s(t.jsx("link",{rel:"manifest",href:String(e.manifest)},`link-${a++}`)),e.alternates?.types&&Object.entries(e.alternates.types).forEach(([i,l])=>{typeof l=="string"&&s(t.jsx("link",{rel:"alternate",type:i,href:l},`alt-${a++}`))}),e.icons&&[...e.icons?.icon??[],...e.icons?.other??[]].forEach(l=>{l&&s(typeof l=="string"?t.jsx("link",{rel:"icon",href:l},`icon-${a++}`):t.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&&s(t.jsx("meta",{name:i,content:String(l)},`other-${a++}`))}),n},te=async e=>`${pt()}${e}`,Wt=(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||""},Un=e=>{const n=e.banners.find(r=>r.key===e.name);if(!n||!n.show)return null;const a=Wt(n.value||"",e.replaces),s=/<script([^>]*)>([\s\S]*?)<\/script\s*>/gi,o=[...a.matchAll(s)];return t.jsx(t.Fragment,{children:o.map((r,i)=>{const l=r[1]||"",c=r[2]?.trim()||"",h=l.match(/src=["']([^"']+)["']/i);if(h){const d=h[1];return t.jsx("script",{src:d,async:!0},i)}else return t.jsx("script",{id:e.name,dangerouslySetInnerHTML:{__html:c}},i)})})},Ea=e=>{const n=e.banners.find(o=>o.key===e.name);if(!n||!n.show)return null;const s=Wt(n.value||"",e.replaces).split(/(<script[\s\S]*?<\/script\s*>)/gi);return t.jsx(t.Fragment,{children:s.map((o,r)=>{const i=o.match(/<script([^>]*)>([\s\S]*?)<\/script\s*>/i);if(i){const l=i[1]||"",c=i[2]?.trim()||"",h=l.match(/src=["']([^"']+)["']/i);if(h){const d=h[1];return t.jsx("script",{src:d,async:!0},r)}else return t.jsx("script",{id:e.name,dangerouslySetInnerHTML:{__html:c}},r)}else if(o.trim())return t.jsx("div",{dangerouslySetInnerHTML:{__html:o}},r);return null})})},At=(e,n,a)=>{let s=e.siteUrl;return n.forEach((o,r)=>{r>0&&(s+=`/${o}`)}),`${s}/page/${a+1}`},wt=(e,n,a)=>{let s=e.siteUrl;return n.forEach((o,r)=>{r>0&&(s+=`/${o}`)}),`${s}/page/${a-1}`};function lr(e){const n=e.length;return n>1&&e.charCodeAt(n-1)===47?e.slice(0,n-1):e}const Ia=()=>{const{PUBLIC_ASSETS_URL:e}=J();return e&&e!=="false"&&t.jsx("link",{rel:"preconnect",href:e,crossOrigin:"anonymous"})},{PUBLIC_ASSETS_URL:Tn}=J(),cr=Tn&&Tn!=="false"?Tn:"",xn=({images:e})=>t.jsx(t.Fragment,{children:e.map((n,a)=>n.href!==""&&t.jsx("link",{rel:"preload",href:cr+n.href,media:n.media??"",as:"image",fetchPriority:n.fetchPriority??"high"},a))}),Ua=(e,n)=>{if(!e)return{};const{PUBLIC_API_FRONT:a}=J();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}]}}},dr=e=>{let n="";if(e.params.news.match(/.*t[0-9]*.html/g)){const a=e.params.news.split("-"),s=a[a.length-1]??"",o=s.substring(1,9),r=s.substring(9,13);n=`/listas/${ue(o).format("YYYY/MM/DD")}/lista_${r}.html`}else if(e.params.news.match(/.*lb[0-9]*.html/g)){const a=e.params.news.split("-"),s=a[a.length-1]??"",o=s.substring(2,10),r=s.substring(10,14);n=`/liveblog/${ue(o).format("YYYY/MM/DD")}/liveblog_${r}.html`}else{const a=e.params.news.split("-");Array.isArray(a)&&(n=`/contenidos/${ue(a[a.length-2]).format("YYYY/MM/DD")}/noticia_${a[a.length-1]}.html`)}return e.config.servicePrefix+n};function hr(e){const n=e.split("-"),a=n[n.length-1]?.split("."),s=a&&a[0]?a[0]:"",o=s.substring(0,2),r=s.substring(2,10),i=s.substring(10);return{path:{vy:c=>`/videos/video-youtube/${ue(r).format("YYYY/MM/DD")}/videoYouTube_${c}.lnk`,ve:c=>`/videos/video-embedded/${ue(r).format("YYYY/MM/DD")}/videoEmbedded_${c}.lnk`,vf:c=>`/videos/video-flash/${ue(r).format("YYYY/MM/DD")}/${n[0]}.${c}`}[o]?.(i)??"",op:o}}const Ta={prerender:[{where:{and:[{href_matches:"/*(-|-t|-lb)([0-9]{8})(-|)([0-9]{4,6}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"immediate"}]},xa={prerender:[{where:{and:[{href_matches:"/*(-|-t|-lb)([0-9]{8})(-|)([0-9]{4,6}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"immediate"},{eagerness:"immediate",urls:["/"]}]},ur={Home:Ta,Common:xa},qa=({active:e,type:n,customSpeculation:a})=>e&&t.jsx("script",{type:"speculationrules",dangerouslySetInnerHTML:{__html:JSON.stringify(a??ur[n])}}),Yt=async(e,n,a)=>{if(!a)return;const s=n==="/news-breadcrumb"?{...e,prefixtag:"/tema"}:e;return a.get(`/schemas${n}`,{params:s}).catch(o=>{console.log(`[/schemas${n}] Error: ${o.message}`)})},mr={autor:"autor",seccion:"seccion",tema:"claves","ultimas-noticias":"seccion"},Ba=async({config:e,axiosApi:n,pathname:a,ROUTE:s})=>{let o=[];const r=a==="/"||a==="/index.html"?void 0:ja(Ga[s]({pathname:a,config:e})),i=mr[s]??void 0,l={newstype:e.newsType,publication:"35",...r&&i?{query:`${i}:('${r}')`}:{}};try{const c=await Yt(l,"/news-list-summary",n);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&&t.jsx("script",{id:"webSiteItemListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(o)}})};function La(e){const{PUBLIC_ASSETS_URL:n}=J();if(!n||n==="false")return e;const a=n.replace(/\/+$/,""),s=/https?:\/\/[^/\s]+\/(arte|__export)\//g;return e.replace(s,(o,r)=>`${a}/${r}/`)}const Da=async({realPath:e,config:n,BASE_URL:a,axiosApi:s})=>{let o=[];try{const r=n.socialBlockLogo?.url?new URL(n.socialBlockLogo.url).pathname:void 0,i=n.landscapeLogo?.url?new URL(n.landscapeLogo.url).pathname:void 0,l={path:e,image:i,logo:r,url:n.siteUrl,name:n.name,logow:n.socialBlockLogo?.width,logoh:n.socialBlockLogo?.height,authorurl:a+"/autor/"},c=e.split("/")[1],h=c=="liveblogs"||c=="liveblog"?["/news","/news-breadcrumb","/news-liveblog"]:["/news","/news-breadcrumb"];o=(await Promise.all(h.map(async u=>await Yt(l,u,s)))).map(u=>u?.data?.data??[])}catch(r){console.log("Error fetching schemas:",r)}return o.map((r,i)=>t.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:La(JSON.stringify(r))}},i))},Ma=({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(s=>n[s]?.show).map(s=>n[s]?.url)};return(!e.description||e.description==="")&&delete a.description,t.jsx("script",{id:"WebsiteOrgListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a)}})},Pa=({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)}})},Oa=async({realPath:e,config:n,axiosApi:a})=>{try{const s={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 Yt(s,"/videos",a))?.data.data;return r?t.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:La(JSON.stringify(r))}}):void 0}catch(s){return console.error("Error fetching video schemas:",s),null}},Qa=({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"}})})]}),ua=({id:e})=>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 jt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Gt={exports:{}},Go=Gt.exports,ma;function fa(){return ma||(ma=1,(function(e,n){(function(a,s){e.exports=s()})(Go,(function(){var a=1e3,s=6e4,o=36e5,r="millisecond",i="second",l="minute",c="hour",h="day",d="week",u="month",m="quarter",y="year",f="date",g="Invalid Date",w=/^(\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,U={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(B){var E=["th","st","nd","rd"],v=B%100;return"["+B+(E[(v-20)%10]||E[v]||E[0])+"]"}},S=function(B,E,v){var L=String(B);return!L||L.length>=E?B:""+Array(E+1-L.length).join(v)+B},M={s:S,z:function(B){var E=-B.utcOffset(),v=Math.abs(E),L=Math.floor(v/60),k=v%60;return(E<=0?"+":"-")+S(L,2,"0")+":"+S(k,2,"0")},m:function B(E,v){if(E.date()<v.date())return-B(v,E);var L=12*(v.year()-E.year())+(v.month()-E.month()),k=E.clone().add(L,u),Q=v-k<0,N=E.clone().add(L+(Q?-1:1),u);return+(-(L+(v-k)/(Q?k-N:N-k))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:u,y,w:d,d:h,D:f,h:c,m:l,s:i,ms:r,Q:m}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},x="en",I={};I[x]=U;var P="$isDayjsObject",$=function(B){return B instanceof H||!(!B||!B[P])},z=function B(E,v,L){var k;if(!E)return x;if(typeof E=="string"){var Q=E.toLowerCase();I[Q]&&(k=Q),v&&(I[Q]=v,k=Q);var N=E.split("-");if(!k&&N.length>1)return B(N[0])}else{var D=E.name;I[D]=E,k=D}return!L&&k&&(x=k),k||!L&&x},O=function(B,E){if($(B))return B.clone();var v=typeof E=="object"?E:{};return v.date=B,v.args=arguments,new H(v)},q=M;q.l=z,q.i=$,q.w=function(B,E){return O(B,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var H=(function(){function B(v){this.$L=z(v.locale,null,!0),this.parse(v),this.$x=this.$x||v.x||{},this[P]=!0}var E=B.prototype;return E.parse=function(v){this.$d=(function(L){var k=L.date,Q=L.utc;if(k===null)return new Date(NaN);if(q.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var N=k.match(w);if(N){var D=N[2]-1||0,G=(N[7]||"0").substring(0,3);return Q?new Date(Date.UTC(N[1],D,N[3]||1,N[4]||0,N[5]||0,N[6]||0,G)):new Date(N[1],D,N[3]||1,N[4]||0,N[5]||0,N[6]||0,G)}}return new Date(k)})(v),this.init()},E.init=function(){var v=this.$d;this.$y=v.getFullYear(),this.$M=v.getMonth(),this.$D=v.getDate(),this.$W=v.getDay(),this.$H=v.getHours(),this.$m=v.getMinutes(),this.$s=v.getSeconds(),this.$ms=v.getMilliseconds()},E.$utils=function(){return q},E.isValid=function(){return this.$d.toString()!==g},E.isSame=function(v,L){var k=O(v);return this.startOf(L)<=k&&k<=this.endOf(L)},E.isAfter=function(v,L){return O(v)<this.startOf(L)},E.isBefore=function(v,L){return this.endOf(L)<O(v)},E.$g=function(v,L,k){return q.u(v)?this[L]:this.set(k,v)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(v,L){var k=this,Q=!!q.u(L)||L,N=q.p(v),D=function(Xe,he){var He=q.w(k.$u?Date.UTC(k.$y,he,Xe):new Date(k.$y,he,Xe),k);return Q?He:He.endOf(h)},G=function(Xe,he){return q.w(k.toDate()[Xe].apply(k.toDate("s"),(Q?[0,0,0,0]:[23,59,59,999]).slice(he)),k)},W=this.$W,F=this.$M,X=this.$D,Ne="set"+(this.$u?"UTC":"");switch(N){case y:return Q?D(1,0):D(31,11);case u:return Q?D(1,F):D(0,F+1);case d:var Se=this.$locale().weekStart||0,Ot=(W<Se?W+7:W)-Se;return D(Q?X-Ot:X+(6-Ot),F);case h:case f:return G(Ne+"Hours",0);case c:return G(Ne+"Minutes",1);case l:return G(Ne+"Seconds",2);case i:return G(Ne+"Milliseconds",3);default:return this.clone()}},E.endOf=function(v){return this.startOf(v,!1)},E.$set=function(v,L){var k,Q=q.p(v),N="set"+(this.$u?"UTC":""),D=(k={},k[h]=N+"Date",k[f]=N+"Date",k[u]=N+"Month",k[y]=N+"FullYear",k[c]=N+"Hours",k[l]=N+"Minutes",k[i]=N+"Seconds",k[r]=N+"Milliseconds",k)[Q],G=Q===h?this.$D+(L-this.$W):L;if(Q===u||Q===y){var W=this.clone().set(f,1);W.$d[D](G),W.init(),this.$d=W.set(f,Math.min(this.$D,W.daysInMonth())).$d}else D&&this.$d[D](G);return this.init(),this},E.set=function(v,L){return this.clone().$set(v,L)},E.get=function(v){return this[q.p(v)]()},E.add=function(v,L){var k,Q=this;v=Number(v);var N=q.p(L),D=function(F){var X=O(Q);return q.w(X.date(X.date()+Math.round(F*v)),Q)};if(N===u)return this.set(u,this.$M+v);if(N===y)return this.set(y,this.$y+v);if(N===h)return D(1);if(N===d)return D(7);var G=(k={},k[l]=s,k[c]=o,k[i]=a,k)[N]||1,W=this.$d.getTime()+v*G;return q.w(W,this)},E.subtract=function(v,L){return this.add(-1*v,L)},E.format=function(v){var L=this,k=this.$locale();if(!this.isValid())return k.invalidDate||g;var Q=v||"YYYY-MM-DDTHH:mm:ssZ",N=q.z(this),D=this.$H,G=this.$m,W=this.$M,F=k.weekdays,X=k.months,Ne=k.meridiem,Se=function(he,He,Qt,Sn){return he&&(he[He]||he(L,Q))||Qt[He].slice(0,Sn)},Ot=function(he){return q.s(D%12||12,he,"0")},Xe=Ne||function(he,He,Qt){var Sn=he<12?"AM":"PM";return Qt?Sn.toLowerCase():Sn};return Q.replace(b,(function(he,He){return He||(function(Qt){switch(Qt){case"YY":return String(L.$y).slice(-2);case"YYYY":return q.s(L.$y,4,"0");case"M":return W+1;case"MM":return q.s(W+1,2,"0");case"MMM":return Se(k.monthsShort,W,X,3);case"MMMM":return Se(X,W);case"D":return L.$D;case"DD":return q.s(L.$D,2,"0");case"d":return String(L.$W);case"dd":return Se(k.weekdaysMin,L.$W,F,2);case"ddd":return Se(k.weekdaysShort,L.$W,F,3);case"dddd":return F[L.$W];case"H":return String(D);case"HH":return q.s(D,2,"0");case"h":return Ot(1);case"hh":return Ot(2);case"a":return Xe(D,G,!0);case"A":return Xe(D,G,!1);case"m":return String(G);case"mm":return q.s(G,2,"0");case"s":return String(L.$s);case"ss":return q.s(L.$s,2,"0");case"SSS":return q.s(L.$ms,3,"0");case"Z":return N}return null})(he)||N.replace(":","")}))},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(v,L,k){var Q,N=this,D=q.p(L),G=O(v),W=(G.utcOffset()-this.utcOffset())*s,F=this-G,X=function(){return q.m(N,G)};switch(D){case y:Q=X()/12;break;case u:Q=X();break;case m:Q=X()/3;break;case d:Q=(F-W)/6048e5;break;case h:Q=(F-W)/864e5;break;case c:Q=F/o;break;case l:Q=F/s;break;case i:Q=F/a;break;default:Q=F}return k?Q:q.a(Q)},E.daysInMonth=function(){return this.endOf(u).$D},E.$locale=function(){return I[this.$L]},E.locale=function(v,L){if(!v)return this.$L;var k=this.clone(),Q=z(v,L,!0);return Q&&(k.$L=Q),k},E.clone=function(){return q.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},B})(),ee=H.prototype;return O.prototype=ee,[["$ms",r],["$s",i],["$m",l],["$H",c],["$W",h],["$M",u],["$y",y],["$D",f]].forEach((function(B){ee[B[1]]=function(E){return this.$g(E,B[0],B[1])}})),O.extend=function(B,E){return B.$i||(B(E,H,O),B.$i=!0),O},O.locale=z,O.isDayjs=$,O.unix=function(B){return O(1e3*B)},O.en=I[x],O.Ls=I,O.p={},O}))})(Gt)),Gt.exports}var $o=fa();const ue=jt($o);var $t={exports:{}},zo=$t.exports,ga;function Ho(){return ga||(ga=1,(function(e,n){(function(a,s){e.exports=s()})(zo,(function(){return function(a,s,o){a=a||{};var r=s.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(h,d,u,m){return r.fromToBase(h,d,u,m)}o.en.relativeTime=i,r.fromToBase=function(h,d,u,m,y){for(var f,g,w,b=u.$locale().relativeTime||i,U=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=U.length,M=0;M<S;M+=1){var x=U[M];x.d&&(f=m?o(h).diff(u,x.d,!0):u.diff(h,x.d,!0));var I=(a.rounding||Math.round)(Math.abs(f));if(w=f>0,I<=x.r||!x.r){I<=1&&M>0&&(x=U[M-1]);var P=b[x.l];y&&(I=y(""+I)),g=typeof P=="string"?P.replace("%d",I):P(I,d,x.l,w);break}}if(d)return g;var $=w?b.future:b.past;return typeof $=="function"?$(g):$.replace("%s",g)},r.to=function(h,d){return l(h,d,this,!0)},r.from=function(h,d){return l(h,d,this)};var c=function(h){return h.$u?o.utc():o()};r.toNow=function(h){return this.to(c(this),h)},r.fromNow=function(h){return this.from(c(this),h)}}}))})($t)),$t.exports}var Fo=Ho();const Vo=jt(Fo);var zt={exports:{}},Wo=zt.exports,pa;function Yo(){return pa||(pa=1,(function(e,n){(function(a,s){e.exports=s(fa())})(Wo,(function(a){function s(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=s(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 o.default.locale(r,null,!0),r}))})(zt)),zt.exports}Yo();var Ht={exports:{}},Ko=Ht.exports,Aa;function Jo(){return Aa||(Aa=1,(function(e,n){(function(a,s){e.exports=s()})(Ko,(function(){var a="minute",s=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(r,i,l){var c=i.prototype;l.utc=function(g){var w={date:g,utc:!0,args:arguments};return new i(w)},c.utc=function(g){var w=l(this.toDate(),{locale:this.$L,utc:!0});return g?w.add(this.utcOffset(),a):w},c.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var h=c.parse;c.parse=function(g){g.utc&&(this.$u=!0),this.$utils().u(g.$offset)||(this.$offset=g.$offset),h.call(this,g)};var d=c.init;c.init=function(){if(this.$u){var g=this.$d;this.$y=g.getUTCFullYear(),this.$M=g.getUTCMonth(),this.$D=g.getUTCDate(),this.$W=g.getUTCDay(),this.$H=g.getUTCHours(),this.$m=g.getUTCMinutes(),this.$s=g.getUTCSeconds(),this.$ms=g.getUTCMilliseconds()}else d.call(this)};var u=c.utcOffset;c.utcOffset=function(g,w){var b=this.$utils().u;if(b(g))return this.$u?0:b(this.$offset)?u.call(this):this.$offset;if(typeof g=="string"&&(g=(function(x){x===void 0&&(x="");var I=x.match(s);if(!I)return null;var P=(""+I[0]).match(o)||["-",0,0],$=P[0],z=60*+P[1]+ +P[2];return z===0?0:$==="+"?z:-z})(g),g===null))return this;var U=Math.abs(g)<=16?60*g:g;if(U===0)return this.utc(w);var S=this.clone();if(w)return S.$offset=U,S.$u=!1,S;var M=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(S=this.local().add(U+M,a)).$offset=U,S.$x.$localOffset=M,S};var m=c.format;c.format=function(g){var w=g||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,w)},c.valueOf=function(){var g=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*g},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var y=c.toDate;c.toDate=function(g){return g==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():y.call(this)};var f=c.diff;c.diff=function(g,w,b){if(g&&this.$u===g.$u)return f.call(this,g,w,b);var U=this.local(),S=l(g).local();return f.call(U,S,w,b)}}}))})(Ht)),Ht.exports}var Zo=Jo();const Xo=jt(Zo);var Ft={exports:{}},Ro=Ft.exports,wa;function er(){return wa||(wa=1,(function(e,n){(function(a,s){e.exports=s()})(Ro,(function(){var a={year:0,month:1,day:2,hour:3,minute:4,second:5},s={};return function(o,r,i){var l,c=function(m,y,f){f===void 0&&(f={});var g=new Date(m),w=(function(b,U){U===void 0&&(U={});var S=U.timeZoneName||"short",M=b+"|"+S,x=s[M];return x||(x=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:S}),s[M]=x),x})(y,f);return w.formatToParts(g)},h=function(m,y){for(var f=c(m,y),g=[],w=0;w<f.length;w+=1){var b=f[w],U=b.type,S=b.value,M=a[U];M>=0&&(g[M]=parseInt(S,10))}var x=g[3],I=x===24?0:x,P=g[0]+"-"+g[1]+"-"+g[2]+" "+I+":"+g[4]+":"+g[5]+":000",$=+m;return(i.utc(P).valueOf()-($-=$%1e3))/6e4},d=r.prototype;d.tz=function(m,y){m===void 0&&(m=l);var f,g=this.utcOffset(),w=this.toDate(),b=w.toLocaleString("en-US",{timeZone:m}),U=Math.round((w-new Date(b))/1e3/60),S=15*-Math.round(w.getTimezoneOffset()/15)-U;if(!Number(S))f=this.utcOffset(0,y);else if(f=i(b,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(S,!0),y){var M=f.utcOffset();f=f.add(g-M,"minute")}return f.$x.$timezone=m,f},d.offsetName=function(m){var y=this.$x.$timezone||i.tz.guess(),f=c(this.valueOf(),y,{timeZoneName:m}).find((function(g){return g.type.toLowerCase()==="timezonename"}));return f&&f.value};var u=d.startOf;d.startOf=function(m,y){if(!this.$x||!this.$x.$timezone)return u.call(this,m,y);var f=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(f,m,y).tz(this.$x.$timezone,!0)},i.tz=function(m,y,f){var g=f&&y,w=f||y||l,b=h(+i(),w);if(typeof m!="string")return i(m).tz(w);var U=(function(I,P,$){var z=I-60*P*1e3,O=h(z,$);if(P===O)return[z,P];var q=h(z-=60*(O-P)*1e3,$);return O===q?[z,O]:[I-60*Math.min(O,q)*1e3,Math.max(O,q)]})(i.utc(m,g).valueOf(),b,w),S=U[0],M=U[1],x=i(S).utcOffset(M);return x.$x.$timezone=w,x},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(m){l=m}}}))})(Ft)),Ft.exports}var tr=er();const nr=jt(tr);let kn={PUBLIC_API_HOST:"https://dev-saas.cms-medios.com",PUBLIC_API_FRONT:"https://dev-lahora.cms-medios.com",PUBLIC_API_PATH:void 0,PUBLIC_API_PATH_VERSION:void 0,PUBLIC_X_SECURITY_TOKEN:"wj5oeACJStV3exBvodMa",PUBLIC_PUBLICATION_ID:"35",PUBLIC_TAG_TYPE:"27",PUBLIC_ENV:"local",PUBLIC_LNG:"en",PUBLIC_SERVICE_PREFIX:"false",PUBLIC_IS_SUB_PUBLICATION:void 0,PUBLIC_USERNAME_OFFLINE:"previewreactsaas",PUBLIC_PASSWORD_OFFLINE:"Y35VhZGkFtwu",PUBLIC_IS_OFFLINE:"false",PUBLIC_OFFLINE_SITE:"formula",PUBLIC_WP_API_HOST:void 0,PUBLIC_X_SECURITY_WAF_TOKEN:"false",DEPLOY_BUCKET:"false",PUBLIC_ASSETS_URL:"false",PUBLIC_BUILD_ID:"123456789"};function ar(e={}){kn={...kn,...e}}function J(){return kn}ue.extend(Xo),ue.extend(nr),ue.extend(Vo);const Vt="America/Mexico_City",{PUBLIC_LNG:sr}=J(),gt=sr==="en"?"en":"es",Ce=e=>ue.tz(e,Vt).locale(gt).format("DD MMMM YYYY"),En=e=>ue.tz(e,Vt).locale(gt).format(gt==="en"?"MMMM DD YYYY [•] HH:mm [hs]":"DD [de] MMMM YYYY [•] HH:mm [hs]"),ya=e=>ue.tz(e,Vt).locale(gt).format("MM/DD/YYYY [•] HH:mm [HS]"),or=e=>ue.tz(e,Vt).locale(gt).format("dddd DD [de] MMMM YYYY"),me=(e,n=136)=>e&&e.length>n?`${e.substring(0,n)}...`:e;function Ca(e){return e&&e.status==="fulfilled"?e.value.data:null}function ba(e){return e&&e.status==="fulfilled"?e.value:null}const Re=(e,n,a)=>({authors:[],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},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 rr(e){const n=[],a=e.match(/<div[^>]*class=["'][^"']*ck-related-news[^"']*["'][^>]*>[\s\S]*?<\/div>/gi);if(!a)return n;for(const s of a){const o=[],r=s.match(/data-src=["']([^"']+)["']/gi);if(r)for(const i of r){const l=i.replace(/data-src=["']([^"']+)["']/,"$1");o.push(l)}n.push(o)}return n}const pt=()=>{const{PUBLIC_ENV:e,PUBLIC_API_HOST:n,PUBLIC_ASSETS_URL:a}=J();return e=="local"?n:a!=="false"&&a!=="false"?a:""},va=()=>{const{PUBLIC_ENV:e,PUBLIC_API_FRONT:n}=J();return e==="local"?n:""},_a=(e,n)=>{if(!e)return{};const{PUBLIC_ASSETS_URL:a,PUBLIC_API_FRONT:s}=J(),o=In(e.keywords)??"",r=e?.preview?.sizes?e?.preview?.sizes[0]?.url:"",i=(a!=="false"?a:s)??"";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:o,keywords:o,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}]}}},In=e=>!e||!e?.tags||e?.tags?.length===0?"":e?.tags?.map(n=>n.name).join(", ").replaceAll('"',"'").replaceAll("`","'"),Na=e=>{const n=e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);return n?{slug:n[1]??"",path:n[2]??""}:{slug:"",path:""}},Sa=e=>e.replaceAll("/","").replaceAll("_","").replace(".html",""),ir={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"}},ka=e=>{const n=[];let a=0;const s=i=>n.push(i);return e.title&&typeof e.title=="string"&&s(t.jsx("title",{children:e.title},`title-${a++}`)),Object.entries(ir).forEach(([i,l])=>{const c=i.split(".").reduce((h,d)=>h?.[d],e);c&&s(t.jsx("meta",{[l.attr]:l.value,content:String(c)},`meta-${a++}`))}),(e.openGraph?.images?Array.isArray(e.openGraph.images)?e.openGraph.images:[e.openGraph.images]:[]).forEach(i=>{i&&(typeof i=="string"?s(t.jsx("meta",{property:"og:image",content:i},`og-img-${a++}`)):(i.url&&s(t.jsx("meta",{property:"og:image",content:i.url},`og-img-${a++}`)),i.width&&s(t.jsx("meta",{property:"og:image:width",content:String(i.width)},`og-img-w-${a++}`)),i.height&&s(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 l=typeof i=="string"?i:i.url;l&&s(t.jsx("meta",{name:"twitter:image",content:l},`tw-img-${a++}`))}),e.alternates?.canonical&&s(t.jsx("link",{rel:"canonical",href:String(e.alternates.canonical)},`link-${a++}`)),e.manifest&&s(t.jsx("link",{rel:"manifest",href:String(e.manifest)},`link-${a++}`)),e.alternates?.types&&Object.entries(e.alternates.types).forEach(([i,l])=>{typeof l=="string"&&s(t.jsx("link",{rel:"alternate",type:i,href:l},`alt-${a++}`))}),e.icons&&[...e.icons?.icon??[],...e.icons?.other??[]].forEach(l=>{l&&s(typeof l=="string"?t.jsx("link",{rel:"icon",href:l},`icon-${a++}`):t.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&&s(t.jsx("meta",{name:i,content:String(l)},`other-${a++}`))}),n},te=async e=>`${pt()}${e}`,Wt=(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||""},Un=e=>{const n=e.banners.find(r=>r.key===e.name);if(!n||!n.show)return null;const a=Wt(n.value||"",e.replaces),s=/<script([^>]*)>([\s\S]*?)<\/script\s*>/gi,o=[...a.matchAll(s)];return t.jsx(t.Fragment,{children:o.map((r,i)=>{const l=r[1]||"",c=r[2]?.trim()||"",h=l.match(/src=["']([^"']+)["']/i);if(h){const d=h[1];return t.jsx("script",{src:d,async:!0},i)}else return t.jsx("script",{id:e.name,dangerouslySetInnerHTML:{__html:c}},i)})})},Ea=e=>{const n=e.banners.find(o=>o.key===e.name);if(!n||!n.show)return null;const s=Wt(n.value||"",e.replaces).split(/(<script[\s\S]*?<\/script\s*>)/gi);return t.jsx(t.Fragment,{children:s.map((o,r)=>{const i=o.match(/<script([^>]*)>([\s\S]*?)<\/script\s*>/i);if(i){const l=i[1]||"",c=i[2]?.trim()||"",h=l.match(/src=["']([^"']+)["']/i);if(h){const d=h[1];return t.jsx("script",{src:d,async:!0},r)}else return t.jsx("script",{id:e.name,dangerouslySetInnerHTML:{__html:c}},r)}else if(o.trim())return t.jsx("div",{dangerouslySetInnerHTML:{__html:o}},r);return null})})},At=(e,n,a)=>{let s=e.siteUrl;return n.forEach((o,r)=>{r>0&&(s+=`/${o}`)}),`${s}/page/${a+1}`},wt=(e,n,a)=>{let s=e.siteUrl;return n.forEach((o,r)=>{r>0&&(s+=`/${o}`)}),`${s}/page/${a-1}`};function lr(e){const n=e.length;return n>1&&e.charCodeAt(n-1)===47?e.slice(0,n-1):e}const Ia=()=>{const{PUBLIC_ASSETS_URL:e}=J();return e&&e!=="false"&&t.jsx("link",{rel:"preconnect",href:e,crossOrigin:"anonymous"})},{PUBLIC_ASSETS_URL:Tn}=J(),cr=Tn&&Tn!=="false"?Tn:"",xn=({images:e})=>t.jsx(t.Fragment,{children:e.map((n,a)=>n.href!==""&&t.jsx("link",{rel:"preload",href:cr+n.href,media:n.media??"",as:"image",fetchPriority:n.fetchPriority??"high"},a))}),Ua=(e,n)=>{if(!e)return{};const{PUBLIC_API_FRONT:a}=J();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}]}}},dr=e=>{let n="";if(e.params.news.match(/.*t[0-9]*.html/g)){const a=e.params.news.split("-"),s=a[a.length-1]??"",o=s.substring(1,9),r=s.substring(9,13);n=`/listas/${ue(o).format("YYYY/MM/DD")}/lista_${r}.html`}else if(e.params.news.match(/.*lb[0-9]*.html/g)){const a=e.params.news.split("-"),s=a[a.length-1]??"",o=s.substring(2,10),r=s.substring(10,14);n=`/liveblog/${ue(o).format("YYYY/MM/DD")}/liveblog_${r}.html`}else{const s=e.params.news.replace(/\.html$/g,"").split("-");Array.isArray(s)&&(n=`/contenidos/${ue(s[s.length-2]).format("YYYY/MM/DD")}/noticia_${s[s.length-1]}.html`)}return e.config.servicePrefix+n};function hr(e){const n=e.split("-"),a=n[n.length-1]?.split("."),s=a&&a[0]?a[0]:"",o=s.substring(0,2),r=s.substring(2,10),i=s.substring(10);return{path:{vy:c=>`/videos/video-youtube/${ue(r).format("YYYY/MM/DD")}/videoYouTube_${c}.lnk`,ve:c=>`/videos/video-embedded/${ue(r).format("YYYY/MM/DD")}/videoEmbedded_${c}.lnk`,vf:c=>`/videos/video-flash/${ue(r).format("YYYY/MM/DD")}/${n[0]}.${c}`}[o]?.(i)??"",op:o}}const Ta={prerender:[{where:{and:[{href_matches:"/*(-|-t|-lb)([0-9]{8})(-|)([0-9]{4,6}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"immediate"}]},xa={prerender:[{where:{and:[{href_matches:"/*(-|-t|-lb)([0-9]{8})(-|)([0-9]{4,6}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"immediate"},{eagerness:"immediate",urls:["/"]}]},ur={Home:Ta,Common:xa},qa=({active:e,type:n,customSpeculation:a})=>e&&t.jsx("script",{type:"speculationrules",dangerouslySetInnerHTML:{__html:JSON.stringify(a??ur[n])}}),Yt=async(e,n,a)=>{if(!a)return;const s=n==="/news-breadcrumb"?{...e,prefixtag:"/tema"}:e;return a.get(`/schemas${n}`,{params:s}).catch(o=>{console.log(`[/schemas${n}] Error: ${o.message}`)})},mr={autor:"autor",seccion:"seccion",tema:"claves","ultimas-noticias":"seccion"},Ba=async({config:e,axiosApi:n,pathname:a,ROUTE:s})=>{let o=[];const r=a==="/"||a==="/index.html"?void 0:ja(Ga[s]({pathname:a,config:e})),i=mr[s]??void 0,l={newstype:e.newsType,publication:"35",...r&&i?{query:`${i}:('${r}')`}:{}};try{const c=await Yt(l,"/news-list-summary",n);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&&t.jsx("script",{id:"webSiteItemListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(o)}})};function La(e){const{PUBLIC_ASSETS_URL:n}=J();if(!n||n==="false")return e;const a=n.replace(/\/+$/,""),s=/https?:\/\/[^/\s]+\/(arte|__export)\//g;return e.replace(s,(o,r)=>`${a}/${r}/`)}const Da=async({realPath:e,config:n,BASE_URL:a,axiosApi:s})=>{let o=[];try{const r=n.socialBlockLogo?.url?new URL(n.socialBlockLogo.url).pathname:void 0,i=n.landscapeLogo?.url?new URL(n.landscapeLogo.url).pathname:void 0,l={path:e,image:i,logo:r,url:n.siteUrl,name:n.name,logow:n.socialBlockLogo?.width,logoh:n.socialBlockLogo?.height,authorurl:a+"/autor/"},c=e.split("/")[1],h=c=="liveblogs"||c=="liveblog"?["/news","/news-breadcrumb","/news-liveblog"]:["/news","/news-breadcrumb"];o=(await Promise.all(h.map(async u=>await Yt(l,u,s)))).map(u=>u?.data?.data??[])}catch(r){console.log("Error fetching schemas:",r)}return o.map((r,i)=>t.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:La(JSON.stringify(r))}},i))},Ma=({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(s=>n[s]?.show).map(s=>n[s]?.url)};return(!e.description||e.description==="")&&delete a.description,t.jsx("script",{id:"WebsiteOrgListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a)}})},Pa=({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)}})},Oa=async({realPath:e,config:n,axiosApi:a})=>{try{const s={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 Yt(s,"/videos",a))?.data.data;return r?t.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:La(JSON.stringify(r))}}):void 0}catch(s){return console.error("Error fetching video schemas:",s),null}},Qa=({config:e})=>{const n=`@font-face {
14
14
  font-family: '${e.fontName}';
15
15
  font-style: normal;
16
16
  font-weight: ${e.fontWeight};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sass-template-common",
3
- "version": "0.0.87",
3
+ "version": "0.0.88",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"