Se ha producido un error al procesar la plantilla.
Invocation of method 'getSiblingArticle' in  class com.liferay.portal.util.IterTemplateContent threw exception org.hibernate.exception.GenericJDBCException: error executing work at 21736/F/SCROLL_INFINITO[line 6, column 34]
1##----Estandar2.0----
 
2$iterVelocityTools.setRenderArticleMode(1)
 
3
 
4#set($sort = "createdate")
 
5#set($criteria= "desc")
 
6#set($art_next = $articleToolbox.getSiblingArticle($sort, $criteria, "next"))
 
7#set($sectionID = "#printAssignedSectionID_v1")
 
8#set($templateId = $iterVelocityTools.getVelocityVariable("template_id")) 
 
9## CONTENIDOS
 
10#set($dateMask = "d MMMM yyyy")
 
11#set($canonicalUrl = $articleToolbox.getArticleViewer('canonical'))
 
12#set($title = $!articleToolbox.getTag(null,'Headline').data)
 
13#set($hostName = "#siteUrl()")
 
14##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
15#set ($arrayListContenidos = [])
 
16
 
17#set ($element = {})
 
18#set ($temp = $element.put("name","Titulo_App"))
 
19#set ($temp = $element.put("type","Tituloapp"))
 
20#set ($temp = $element.put("cssclass","texto"))
 
21#set ($temp = $element.put("tag","div"))
 
22#set($temp = $arrayListContenidos.add($element))
 
23
 
24#set ($element = {})
 
25#set ($temp = $element.put("name","Text"))
 
26#set ($temp = $element.put("type","paragraph"))
 
27#set ($temp = $element.put("cssclass","texto"))
 
28#set ($temp = $element.put("tag","div"))
 
29#set($temp = $arrayListContenidos.add($element))
 
30
 
31#set ($element = {})
 
32#set ($temp = $element.put("name","Image_Text"))
 
33#set ($temp = $element.put("type","image"))
 
34#set ($temp = $element.put("cssclass","img text"))
 
35#set ($temp = $element.put("tag","div"))
 
36#set($temp = $arrayListContenidos.add($element))
 
37
 
38#set ($element = {})
 
39#set ($temp = $element.put("name","Image_Text_GIF"))
 
40#set ($temp = $element.put("type","image"))
 
41#set ($temp = $element.put("cssclass","imagen"))
 
42#set ($temp = $element.put("tag","div"))
 
43#set($temp = $arrayListContenidos.add($element))
 
44
 
45#set ($element = {})
 
46#set ($temp = $element.put("name","Lead_Text"))
 
47#set ($temp = $element.put("type","text"))
 
48#set ($temp = $element.put("cssclass","intertitulo"))
 
49#set ($temp = $element.put("tag","div"))
 
50#set($temp = $arrayListContenidos.add($element))
 
51
 
52#set ($element = {})
 
53#set ($temp = $element.put("name","HTML_Text"))
 
54#set ($temp = $element.put("type","html"))
 
55#set ($temp = $element.put("cssclass","html_text"))
 
56#set ($temp = $element.put("tag","div"))
 
57#set($temp = $arrayListContenidos.add($element))
 
58
 
59#set ($element = {})
 
60#set ($temp = $element.put("name","Twitter_Text"))
 
61#set ($temp = $element.put("type","twitter"))
 
62#set ($temp = $element.put("cssclass","twitter_text"))
 
63#set ($temp = $element.put("tag","div"))
 
64#set ($temp = $arrayListContenidos.add($element))
 
65
 
66#set ($element = {})
 
67#set ($temp = $element.put("name","Facebook_Text"))
 
68#set ($temp = $element.put("type","facebook"))
 
69#set ($temp = $element.put("cssclass","facebook_text"))
 
70#set ($temp = $element.put("tag","div"))
 
71#set ($temp = $arrayListContenidos.add($element))
 
72
 
73#set ($element = {})
 
74#set ($temp = $element.put("name","Instagram_Text"))
 
75#set ($temp = $element.put("type","instagram"))
 
76#set ($temp = $element.put("cssclass","instagram_text"))
 
77#set ($temp = $element.put("tag","div"))
 
78#set ($temp = $arrayListContenidos.add($element))
 
79
 
80#set ($element = {})
 
81#set ($temp = $element.put("name","Youtube_Text"))
 
82#set ($temp = $element.put("type","youtube"))
 
83#set ($temp = $element.put("cssclass","youtube_video"))
 
84#set ($temp = $element.put("tag","div"))
 
85#set($temp = $arrayListContenidos.add($element))
 
86
 
87#set ($element = {})
 
88#set ($temp = $element.put("name","Multimedia_Text"))
 
89#set ($temp = $element.put("type","multimedia"))
 
90#set ($temp = $element.put("cssclass","video"))
 
91#set ($temp = $element.put("tag","div"))
 
92#set($temp = $arrayListContenidos.add($element))
 
93
 
94#set ($element = {})
 
95#set ($temp = $element.put("name","Flourish_Text"))
 
96#set ($temp = $element.put("type","text"))
 
97#set ($temp = $element.put("cssclass","flourish_text"))
 
98#set ($temp = $element.put("tag","div"))
 
99#set ($temp = $arrayListContenidos.add($element))
 
100
 
101#set ($element = {})
 
102#set ($temp = $element.put("name","Quote"))
 
103#set ($temp = $element.put("type","text"))
 
104#set ($temp = $element.put("cssclass","quote"))
 
105#set ($temp = $element.put("tag","div"))
 
106#set($temp = $arrayListContenidos.add($element))
 
107
 
108#set ($element = {})
 
109#set ($temp = $element.put("name","Quote_byline"))
 
110#set ($temp = $element.put("type","text"))
 
111#set ($temp = $element.put("cssclass","Quote_byline"))
 
112#set ($temp = $element.put("tag","div"))
 
113#set ($temp = $arrayListContenidos.add($element))
 
114
 
115#set ($element = {})
 
116#set ($temp = $element.put("name","linkTitle_Text"))
 
117#set ($temp = $element.put("type","text"))
 
118#set ($temp = $element.put("cssclass","link_tpi"))
 
119#set ($temp = $element.put("tag","div"))
 
120#set($temp = $arrayListContenidos.add($element))
 
121
 
122#set ($element = {})
 
123#set ($temp = $element.put("name","title_list"))
 
124#set ($temp = $element.put("type","microformat"))
 
125#set ($temp = $element.put("cssclass","microformat"))
 
126#set ($temp = $element.put("tag","div"))
 
127#set($temp = $arrayListContenidos.add($element))
 
128
 
129#set ($element = {})
 
130#set ($temp = $element.put("name","image_list"))
 
131#set ($temp = $element.put("type","microformat"))
 
132#set ($temp = $element.put("cssclass","microformat"))
 
133#set ($temp = $element.put("tag","div"))
 
134#set($temp = $arrayListContenidos.add($element))
 
135
 
136#set ($element = {})
 
137#set ($temp = $element.put("name","text_list"))
 
138#set ($temp = $element.put("type","microformat"))
 
139#set ($temp = $element.put("cssclass","microformat"))
 
140#set ($temp = $element.put("tag","div"))
 
141#set($temp = $arrayListContenidos.add($element))
 
142
 
143#set ($element = {})
 
144#set ($temp = $element.put("name","Parrafo_Lista"))
 
145#set ($temp = $element.put("type","text"))
 
146#set ($temp = $element.put("cssclass","Parrafo_Lista"))
 
147#set ($temp = $element.put("tag","div"))
 
148#set ($temp = $arrayListContenidos.add($element))
 
149
 
150#set ($element = {})
 
151#set ($temp = $element.put("name","Titulo_News"))
 
152#set ($temp = $element.put("type","text"))
 
153#set ($temp = $element.put("cssclass","titulo_news"))
 
154#set ($temp = $element.put("tag","div"))
 
155#set ($temp = $arrayListContenidos.add($element))
 
156
 
157#set ($element = {})
 
158#set ($temp = $element.put("name","Resumen_News"))
 
159#set ($temp = $element.put("type","text"))
 
160#set ($temp = $element.put("cssclass","resumen_news"))
 
161#set ($temp = $element.put("tag","div"))
 
162#set ($temp = $arrayListContenidos.add($element))
 
163
 
164#set ($element = {})
 
165#set ($temp = $element.put("name","Boton"))
 
166#set ($temp = $element.put("type","text"))
 
167#set ($temp = $element.put("cssclass","Boton"))
 
168#set ($temp = $element.put("tag","div"))
 
169#set ($temp = $arrayListContenidos.add($element))
 
170
 
171#set ($element = {})
 
172#set ($temp = $element.put("name","Lead"))
 
173#set ($temp = $element.put("type","text"))
 
174#set ($temp = $element.put("cssclass","lead destacado"))
 
175#set ($temp = $element.put("tag","div"))
 
176#set ($temp = $arrayListContenidos.add($element))
 
177
 
178#set ($element = {})
 
179#set ($temp = $element.put("name","Ficha_Titulo"))
 
180#set ($temp = $element.put("type","text"))
 
181#set ($temp = $element.put("cssclass","Ficha_Titulo"))
 
182#set ($temp = $element.put("tag","div"))
 
183#set ($temp = $arrayListContenidos.add($element))
 
184
 
185#set ($element = {})
 
186#set ($temp = $element.put("name","Ficha_Foto"))
 
187#set ($temp = $element.put("type","image"))
 
188#set ($temp = $element.put("cssclass","Ficha_Foto"))
 
189#set ($temp = $element.put("tag","div"))
 
190#set ($temp = $arrayListContenidos.add($element))
 
191
 
192#set ($element = {})
 
193#set ($temp = $element.put("name","Ficha_Texto"))
 
194#set ($temp = $element.put("type","text"))
 
195#set ($temp = $element.put("cssclass","Ficha_Texto"))
 
196#set ($temp = $element.put("tag","div"))
 
197#set ($temp = $arrayListContenidos.add($element))
 
198
 
199#set ($element = {})
 
200#set ($temp = $element.put("name","Ficha_Social"))
 
201#set ($temp = $element.put("type","text"))
 
202#set ($temp = $element.put("cssclass","Ficha_Social"))
 
203#set ($temp = $element.put("tag","div"))
 
204#set ($temp = $arrayListContenidos.add($element))
 
205
 
206#set ($element = {})
 
207#set ($temp = $element.put("name","Entrevista_Pregunta"))
 
208#set ($temp = $element.put("type","text"))
 
209#set ($temp = $element.put("cssclass","Entrevista_Pregunta"))
 
210#set ($temp = $element.put("tag","div"))
 
211#set ($temp = $arrayListContenidos.add($element))
 
212
 
213#set ($element = {})
 
214#set ($temp = $element.put("name","Entrevista_Respuesta"))
 
215#set ($temp = $element.put("type","text"))
 
216#set ($temp = $element.put("cssclass","Entrevista_Respuesta"))
 
217#set ($temp = $element.put("tag","div"))
 
218#set ($temp = $arrayListContenidos.add($element))
 
219
 
220
 
221#set($sectionID = "#printAssignedSectionID_v1")
 
222#set ($AuthorNoFoto = $!iterVelocityTools.getVariable($sectionID , "authorNoFoto"))
 
223
 
224#set($section = "#printAssignedSection_v1")
 
225
 
226#set ($FacebookText_ = $articleToolbox.getTag(null,"Facebook_Text") )
 
227#if($FacebookText_ && $FacebookText_.data != "")
 
228<div id="fb-root"></div>
 
229<script async defer src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2"></script>
 
230#end
 
231
 
232##----json----
 
233#set($pub_imagen1 = $articleToolbox.getImageURL("Image","0","crop_1200x801"))
 
234#set($videoyoutube = $articleToolbox.getTag(null,"HTML_Text").data)
 
235
 
236#set($dateF = "#printDateCreate('yyyy-MM-dd' 'false' '')")
 
237#set($dateF = $dateF.trim())
 
238#set($dateM = "#printDateFrom_v1('HH:mm:ss' 'false' 'false')")
 
239#set($dateM = $dateM.trim())
 
240#set($dateF = $dateF + "T" + $dateM +"-0600")
 
241
 
242
 
243#set($dateF1 = "#printDateModif('yyyy-MM-dd' 'false' '')")
 
244#set($dateF1 = $dateF1.trim())
 
245#set($dateH = "#printDateModif('HH:mm:ss' 'false' '')")
 
246#set($dateH = $dateH.trim())
 
247#set($dateFb = $dateF1 + "T" + $dateH +"-0600")
 
248
 
249##METAS TWITTER
 
250
 
251#set($TituloEsc = $!articleToolbox.getTag(null,"Headline").data)
 
252#set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
 
253
 
254#set($metaTW = {})
 
255#set($temp = $metaTW.put("property","twitter:card"))
 
256#set($temp = $metaTW.put("content", "summary_large_image"))
 
257$iterVelocityTools.addMetaTag( $metaTW )
 
258
 
259#set($metaTW = {})
 
260#set($temp = $metaTW.put("property","twitter:site"))
 
261#set($temp = $metaTW.put("content", "vanguardiamx"))
 
262$iterVelocityTools.addMetaTag( $metaTW )
 
263
 
264#set($metaTW = {})
 
265#set($temp = $metaTW.put("property","twitter:title"))
 
266#set($temp = $metaTW.put("content", "$TituloEsc"))
 
267$iterVelocityTools.addMetaTag( $metaTW )
 
268
 
269#set($metaTW = {})
 
270#set($temp = $metaTW.put("property","twitter:description"))
 
271#set($temp = $metaTW.put("content", "$TextoEsc"))
 
272$iterVelocityTools.addMetaTag( $metaTW )
 
273
 
274
 
275#set($metaTW = {})
 
276#set($temp = $metaTW.put("property","twitter:image"))
 
277#set($temp = $metaTW.put("content", "$pub_imagen1"))
 
278$iterVelocityTools.addMetaTag( $metaTW )
 
279
 
280
 
281#set($metaTW = {})
 
282#set($temp = $metaTW.put("property","twitter:url"))
 
283#set($temp = $metaTW.put("content", "https://twitter.com/vanguardiamx"))
 
284$iterVelocityTools.addMetaTag( $metaTW )
 
285
 
286#set($metaTW = {})
 
287#set($temp = $metaTW.put("property","twitter:domain"))
 
288#set($temp = $metaTW.put("content", "https://vanguardia.com.mx"))
 
289$iterVelocityTools.addMetaTag( $metaTW )
 
290
 
291#set($ac-url = $articleContext.selectNodes('articlectx/url'))
 
292#set($xml-url = $ac-url.get(0).text)
 
293#set($url_actual = $!xml-url )
 
294
 
295#if($pub_imagen1)
 
296    <link rel="preload" href="$pub_imagen1" as="image">
 
297    <!-- Lazysizes para lazy loading -->
 
298    <script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.0/lazysizes.min.js" async></script>
 
299#end
 
300
 
301
 
302<div class="template-infinity idart_$reserved-article-id.data detail col-100-top-one-col col-xs-12 v2" id-next="$!art_next.reserved-article-id.data" id-section="$sectionID">
 
303
 
304
 
305<div class="container">
 
306
 
307        <!-- parte de datos estructurados inicio  -->
 
308 
 
309	    <time hidden itemprop="datePublished" datetime="$dateF"></time>
 
310	    <time hidden itemprop="dateModified" datetime="$dateFb"></time>
 
311	    <time hidden itemprop="dateCreated" datetime="$dateF"></time>
 
312        <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
 
313        <meta itemprop="inLanguage" content="es-MX" />
 
314	    <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization https://schema.org/NewsMediaOrganization">
 
315            <meta itemprop="url" content="https://vanguardia.com.mx/" />
 
316            <meta itemprop="name" content="Vanguardia" />
 
317            <!-- Proporcionar enlaces a las redes sociales o sitio web con "sameAs" -->
 
318            <a hidden href="https://www.facebook.com/VanguardiaMx/" itemprop="sameAs">Página de Facebook</a>
 
319            <a hidden href="https://twitter.com/vanguardiamx" itemprop="sameAs">Perfil de Twitter</a>
 
320            <a hidden href="https://www.linkedin.com/company/vanguardiamx/" itemprop="sameAs">Página de LinkedIn</a>
 
321            <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
322                <meta itemprop="url" content="https://vanguardia.com.mx/base-portlet/webrsrc/ctxvar/9d387887-99eb-4c1e-bb4a-7cbec97451dd.png" />
 
323                <meta itemprop="width" content="380" />
 
324                <meta itemprop="height" content="35" />
 
325            </div>
 
326	    </div>
 
327
 
328        <!-- parte de datos estructurados inicio fin -->
 
329
 
330		<script>
 
331			var group_id = $request.theme-display.scope-group-id;
 
332			var id_art_infinity = $reserved-article-id.data;
 
333			#if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
 
334				var teaser_first = true;
 
335				var n_noticia = 1;
 
336				idart_view = $reserved-article-id.data;
 
337			#else
 
338				var teaser_first = false;
 
339				var n_noticia = n_noticia + 1;
 
340			#end
 
341		</script>
 
342		## MAPA DE PUBLICIDAD EN PARRAFOS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
343		#set ($addInParagraph ={})
 
344
 
345		#php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
346			#set ($temp = $addInParagraph.put("3","nota_v_top_movil"))
 
347                        #set ($temp = $addInParagraph.put("8","v_desk_nota_mid_1"))
 
348                        #set ($temp = $addInParagraph.put("13","v_desk_nota_mid_2"))
 
349                        #set ($temp = $addInParagraph.put("18","v_desk_nota_mid_3"))
 
350                        #set ($temp = $addInParagraph.put("23","v_desk_nota_mid_4"))
 
351                        #set ($temp = $addInParagraph.put("28","v_desk_nota_mid_5"))
 
352		#php_else
 
353                        #set ($temp = $addInParagraph.put("6","v_desk_nota_mid_1"))
 
354                        #set ($temp = $addInParagraph.put("11","v_desk_nota_mid_2"))
 
355                        #set ($temp = $addInParagraph.put("16","v_desk_nota_mid_3"))
 
356                        #set ($temp = $addInParagraph.put("21","v_desk_nota_mid_4"))
 
357                        #set ($temp = $addInParagraph.put("26","v_desk_nota_mid_5"))
 
358                #php_end
 
359
 
360		<div class="metadatos">#*
 
361		*##set($hmTemas = {})#*
 
362		*##getAcAssignedCatExtended_v1($hmTemas "Topics")#*
 
363		*##set($hmGeografico = {})#*
 
364		*##getAcAssignedCatExtended_v1($hmGeografico "Location")#*
 
365		*##set($hmPersonajes = {})#*
 
366		*##getAcAssignedCatExtended_v1($hmPersonajes "People")#*
 
367		*##set($hmAutores = {})#*
 
368		*##getAcAssignedCatExtended_v1($hmAutores "Author")#*
 
369		*##if($hmTemas && $hmTemas.size() > 0)	#*
 
370			*##foreach ($elem in $hmTemas)#*
 
371				*#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="topics" data-voc-id="102924553"/>#*
 
372			*##end#*
 
373		*##end#*
 
374		*##if($hmGeografico && $hmGeografico.size() > 0)#*
 
375			*##foreach ($elem in $hmGeografico)#*
 
376				*#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="location" data-voc-id="102922353"/>#*
 
377			*##end#*
 
378		*##end#*
 
379		*##if($hmAutores && $hmAutores.size() > 0)#*	
 
380			*##foreach ($elem in $hmAutores)#*
 
381				*#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="author" data-voc-id="102924559"/>#*
 
382			*##end#*
 
383		*##end#*
 
384		*#</div>
 
385		<div class="canonical hidden"></div>
 
386		
 
387
 
388    ##PAYWALL HIT MAS
 
389	<script>
 
390		$(document).ready(function() {
 
391			var title = "$!escapeTool.html($!title)";
 
392			sendHitUser(title);
 
393		});
 
394	</script>
 
395
 
396    ##PAYWALL PRODUCT
 
397        #set($product = "")
 
398        #set($article_is_restricted = $articleToolbox.article_is_restricted())
 
399        #if ($article_is_restricted)
 
400            #foreach($products in $articleToolbox.getProductList())
 
401            #set($product = $products.get("name"))
 
402            #end
 
403            <div id="type-note" data-id="$product"></div>
 
404        #end  
 
405        ##USUARIO ANONIMO
 
406        #*
 
407                #if ($environment != 'PREVIEW')
 
408            #php_if("strlen(getenv('ITER_USER'))===0")
 
409                #if($product == "registrados")
 
410                    
 
411                    #set($cons = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_CONSUMED')")
 
412                    #set($total = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_TOTAL')")
 
413                    <script>
 
414                    var cons = ${cons};
 
415                    var total = ${total};
 
416                    var disp = total-cons;
 
417                    $(".paywall-title span").html(disp);
 
418                    </script>
 
419                #end
 
420            
 
421            #php_end
 
422                #end
 
423        *#
 
424        ##FIN USUARIO ANONIMO
 
425		##HEADLINE
 
426
 
427
 
428		##publicidad video 
 
429
 
430		##publicidad video
 
431
 
432
 
433
 
434		<div id='div-gpt-ad-7320176-1' class="op12" style="min-width: 300px; min-height: 50px;">
 
435		  <script>
 
436		    googletag.cmd.push(function() { googletag.display('div-gpt-ad-7320176-1'); });
 
437		  </script>
 
438		</div>
 
439
 
440
 
441	    <article class="mrf-article-body">
 
442            <h1 class="headline artit font-1 medium bold" itemprop="headline" canonicalUrl="$articleToolbox.getArticleViewer('canonical')" idart="$reserved-article-id.data">#getTitle_v1</h1>
 
443            ## SECC / FECHA
 
444            <div class="info"><span class="secc"> #printTopcontainer_v1("section" "")</span> / <span class="date">#printDateAgo($dateMask "Hace" "minuto" "hora")</span> </div>
 
445		
 
446            <div id="content_note" style="visibility: hidden" class="row middle">
 
447                <!-- Columna de articulo padre -->
 
448                <div class="col-60-40-top-one-col col-xs-12 col-md-8 col-lg-8 portlet-column nopadding" id="col-60-40-top-one-col">
 
449
 
450			#set ($hasImages = $articleToolbox.getNumImageTags("Image", "true"))
 
451                        #if($section == "Opinión" || $section == "Politicón")
 
452				#if ($hasImages > 0)
 
453					<div class="image_main">
 
454					    #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
 
455					</div>
 
456				#elseif($hmAutores && $hmAutores.size() > 0)
 
457					#foreach ($elem in $hmAutores)
 
458					    #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
 
459					    #set($imgColumn = $!articuloInstrumental.getImageTag("ImagenColumnista","0","crop_1152x648_detalle","","","","","true","",""))
 
460					    #if($imgColumn && $imgColumn != "")
 
461						#set($urlImage = $articuloInstrumental.getImageURL("ImagenColumnista", "0", "crop_1152x648_detalle"))
 
462						#set($metaImgAuthor = {})
 
463						###set($temp = $metaImgAuthor.put("property","og:image"))
 
464						###set($temp = $metaImgAuthor.put("content",$urlImage))
 
465						###$iterVelocityTools.addMetaTag( $metaImgAuthor )
 
466						<div class="image_main">
 
467						    $!imgColumn
 
468						</div>
 
469					    #end
 
470					#end
 
471				#end
 
472                        #else
 
473                            ##IMAGEN
 
474                            <div class="image_main">
 
475                                #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
 
476                            </div>
 
477                        #end
 
478
 
479                        <div class="container-fluid">
 
480                            <div class="row middle">
 
481
 
482                                <div class="col-60-40-top-two-col col-xs-12 col-md-3 col-lg-3 portlet-column nopadding" id="col-60-40-top-two-col">	
 
483
 
484                                    ##AUTOR
 
485                                    <div class="author" itemscope="" itemprop="author" itemtype="http://schema.org/Person">
 
486                                        #if($hmAutores && $hmAutores.size() > 0)
 
487                                            #foreach ($elem in $hmAutores)
 
488                                                #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
 
489                                                #set($imgAuthor = $!articuloInstrumental.getImageTag("Image","0","crop_250x250","","","","","$elem.name","",""))
 
490                                                <div class="img_author" itemprop="image">
 
491                                                    #if($imgAuthor && $imgAuthor != "")
 
492                                                        $!imgAuthor
 
493                                                    #else
 
494                                                        <img class="img-fluid" src="$AuthorNoFoto"/>
 
495                                                    #end
 
496                                                </div>
 
497                                                <div class="text_author">por <span class="name_author" itemprop="name"><a itemprop="url" href="/autor/-/meta/$elem.friendlyname">$elem.name</a></span></div>
 
498                                            #end
 
499                                        #end
 
500                                    </div>
 
501
 
502                                    <div class="compartirr">	
 
503                                        
 
504                                        <div class="rrss d-desktop">
 
505                                            <h2 class="sectiondestacadas " style="margin-bottom: 15px;margin-top: 40px;">COMPARTIR</h2>		
 
506                                            <div class="network-social"> 
 
507                                                <ul class="social-options"> 
 
508                                                    <li> 
 
509                                                        <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook"> 
 
510                                                            <div class="fab facebook"></div>
 
511                                                            <b>Facebook</b> 
 
512                                                        </a> 
 
513                                                    </li> 
 
514                                                    <li> 
 
515                                                        <a class="twitter" href="https://twitter.com/intent/tweet?text=$!escapeTool.html($!title)&amp;url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Twitter"> 
 
516                                                            <div class="fab twitter"></div>
 
517                                                            <b>Twitter</b> 
 
518                                                        </a> 
 
519                                                    </li>  
 
520                                                    <li> 
 
521                                                        <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp"> 
 
522                                                            <div class="fab whatsapp"></div>
 
523                                                            <b>Whatsapp</b> 
 
524                                                        </a> 
 
525                                                    </li> 
 
526                                                    <li> 
 
527                                                        <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin"> 
 
528                                                            <div class="fab linkedin"></div>
 
529                                                            <b>Linkedin</b> 
 
530                                                        </a> 
 
531                                                    </li>
 
532                                                </ul> 
 
533                                            </div>							                            
 
534                                        </div>
 
535
 
536                                        ## TAGS
 
537                                        <div class="temas d-desktop" temas="$hmTemas.size()">
 
538                                            <h2 class="sectiondestacadas" style="margin-bottom: 15px;" >TEMAS</h2>	
 
539                                            #if($hmTemas && $hmTemas.size() > 0)
 
540                                                #foreach ($elem in $hmTemas)
 
541                                                    <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
542                                                #end
 
543                                            #end
 
544                                            #if($hmGeografico && $hmGeografico.size() > 0)
 
545                                                #foreach ($elem in $hmGeografico)
 
546                                                    <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
547                                                #end
 
548                                            #end
 
549                                        </div>
 
550                                        
 
551                                    </div>
 
552                                </div>
 
553
 
554
 
555                                #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
556                                    <div class="rrss end d-movil" style="
 
557                                    position: sticky;
 
558                                    top: 38px;
 
559                                    background: white;
 
560                                    z-index: 3;">
 
561                                        <div class="cab-rrss">COMPARTIR</div>
 
562                                        <div class="network-social"> 
 
563                                            <ul class="social-options"> 
 
564                                                <li> 
 
565                                                    <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook"> 
 
566                                                        <div class="fab facebook"></div>
 
567                                                    </a> 
 
568                                                </li> 
 
569                                                <li> 
 
570                                                    <a class="twitter" href="https://twitter.com/intent/tweet?text=$!escapeTool.html($!title)&amp;url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Twitter"> 
 
571                                                        <div class="fab twitter"></div>
 
572                                                    </a> 
 
573                                                </li>  
 
574                                                <li> 
 
575                                                    <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp"> 
 
576                                                        <div class="fab whatsapp"></div>									
 
577                                                    </a> 
 
578                                                </li>  
 
579                                                                                    <li> 
 
580                                                    <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin"> 
 
581                                                                        <div class="fab linkedin"></div>								
 
582                                                    </a> 
 
583                                                </li>  
 
584                                            </ul> 
 
585                                        </div>							                            
 
586                                    </div>
 
587                                #php_end
 
588
 
589                                <div class="col-60-40-top-one-col col-xs-12 col-md-9 col-lg-9 portlet-column nopadding" id="col-60-40-top-one-col">
 
590
 
591                                    ##SUBHEADLINE/TOPHEADLINE
 
592                                    #set ($tempSubheadline = "#getTeaserSubheadline(true)")
 
593                                    #if($tempSubheadline && $tempSubheadline != "")
 
594                                        <h2 class="subheadline" itemprop="description">#getTeaserSubheadline_v1(false)</h2>
 
595                                    #end
 
596
 
597##PUBLI BOX PREMIUM
 
598
 
599
 
600##PUBLI BOX PREMIUM
 
601#php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
602                                     <div class="publi">$!iterVelocityTools.getAdContainer("box_premium_mobile")</div>
 
603#php_end
 
604
 
605                                    ##aqui estaba el paywall inicio
 
606                                    ##PAYWALL
 
607                                    #php_if("strlen(getenv('ITER_USER'))!==0")
 
608                                        <!--Usuario logueado-->
 
609                                        #set($islogged = "true")
 
610                                    #php_else
 
611                                        <!--Usuario no logueado-->
 
612                                        #set($islogged = "false")
 
613                                    #php_end
 
614
 
615                                    #set($productList = $articleToolbox.getProductList())
 
616                                    #set($producto = '')
 
617                                    #if ($productList && $productList.size() > 0)
 
618                                        #set($producto = $productList.get(0).namebase64)
 
619                                    #end  
 
620                                    <!-- product:$producto -->
 
621                                    <!-- reserved-article-id.data:$reserved-article-id.data -->
 
622                                    #set($useraccess = "false")	
 
623                                    #set($article_is_restricted = $articleToolbox.article_is_restricted())
 
624                                    
 
625                                        <!-- TEXTO LIBRE -->
 
626                                        ##TEXTO
 
627                                        <div class="text resizable lazy-load" itemprop="articleBody">
 
628                                            #printHTMLContentArticle_v1_latam($arrayListContenidos, "crop_1152x648", "100%", "100%", "375", $addInParagraph)
 
629                                            
 
630                                            <!-- funcion para leer la nota inicio -->
 
631                                            <button hidden id="leer">Leer Texto</button>
 
632                                            <!--  -->
 
633
 
634                                            <!-- nuevas tags con estilo de especial + autores inicio -->
 
635
 
636                                                <!-- TAGS MOVIL INICIO -->
 
637                                                ## TAGS
 
638                                                <div class="temas d-movil" temas="$hmTemas.size()">
 
639                                                <div class="cab-temas">TEMAS</div>
 
640                                                #if($hmTemas && $hmTemas.size() > 0)
 
641                                                    #foreach ($elem in $hmTemas)
 
642                                                    <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
643                                                    #end
 
644                                                #end
 
645                                                #if($hmGeografico && $hmGeografico.size() > 0)
 
646                                                    #foreach ($elem in $hmGeografico)
 
647                                                    <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
648                                                    #end
 
649                                                #end
 
650                                                </div>
 
651                                                <!-- TAGS MOVIL FIN -->
 
652
 
653                                            <!-- nuevas tags con estilo de especial + autores fin  -->
 
654
 
655                                        </div>
 
656                                        <!-- TEXTO LIBRE -->
 
657
 
658                                        ##GENERICO
 
659                                        #if($Generic && $Generic.getSiblings().size()>0)
 
660                                            <ul class="generic">
 
661                                                #foreach ($el in $Generic.getSiblings())
 
662                                                    <li><span class="icon"></span><a href="$!el.Document.data" >$!el.data ($el.Extension.data)</a></li>
 
663                                                #end
 
664                                            </ul>
 
665                                        #end
 
666                                    
 
667
 
668                                        ## FIN PAYWALL
 
669                                        ##aqui estaba el paywall fin
 
670
 
671                                        ## MOVER TEXTO AQUI
 
672
 
673                                        ##RELACIONADAS EXTERNAS 
 
674                                        #set ($urlLink = $articleToolbox.getTag(null,"linkURL") )
 
675                                        #set ($titleLink = $articleToolbox.getTag(null,"linkTitle"))
 
676                                        #if(($urlLink && $urlLink.data != "")  && ($titleLink && $titleLink.data != ""))
 
677                                            <a class="ext_link" href="$!urlLink.data" target="_blank" rel="nofollow">
 
678                                                <strong>$!titleLink.data</strong>
 
679                                            </a>
 
680                                        #end
 
681                                        ##RELACIONADAS INTERNAS 
 
682                                        #if($linkIntTitle && $linkIntTitle.getSiblings().size()>0)
 
683                                            <div class="link_tpi">
 
684                                                <div class="head_int"><span class="icon"></span> TE PUEDE INTERESAR: </div>
 
685                                                #foreach ($el in $linkIntTitle.getSiblings())
 
686                                                    <div class="item_int"><a href="$!el.linkIntURL.data" >$!el.data</a></div>
 
687                                                #end
 
688                                            </div>
 
689                                        #end
 
690
 
691
 
692                                        ##openweb					
 
693
 
694
 
695                    
 
696                                        ##cierra openweb
 
697                                            
 
698                                        #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
699                                            ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
700                                            ##<div class="publi">$!iterVelocityTools.getAdContainer("nota_v_bot")</div> ++++++++++++++++
 
701                                        #php_end
 
702
 
703                                </div>
 
704
 
705                            </div>
 
706                        </div>
 
707                </div>
 
708
 
709                <div class="col-60-40-top-two-col col-xs-12 col-md-4 col-lg-4 portlet-column nopadding" id="col-60-40-top-two-col">	
 
710
 
711
 
712                    ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
713                    #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
714                                    
 
715                    #php_else
 
716                        <!-- <div islogged="$islogged" useraccess="$useraccess"></div>
 
717                        <div class="publi" style="width: 300px; margin: 1rem auto; margin-top: 0px;";>$!iterVelocityTools.getAdContainer("nota_v_sb1")</div> -->
 
718
 
719                        <div id='div-gpt-ad-8622108-5' style="width: 300px;margin: 1rem auto;margin-top: 0px;">
 
720                            <script>
 
721                              googletag.cmd.push(function() { googletag.display('div-gpt-ad-8622108-5'); });
 
722                            </script>
 
723                        </div>
 
724                    #php_end	
 
725
 
726                    <!-- la enceusta se ve aqui inicio -->
 
727
 
728                    <div id="" class="portlet-boundary portlet-static-end htmlcontainer-portlet block_newsletter">
 
729
 
730                      <div class="move-from-a">
 
731                        <h2 hidden class="sectiondestacadas">Encuesta Vanguardia</h2>
 
732                        <div hidden id="encuesta-container" style="margin-bottom: 40px;margin-top: 40px;"></div>
 
733                      </div>                    
 
734
 
735                    </div>	
 
736                    
 
737                    <!-- la enceusta se ve aqui fin -->
 
738                                    
 
739                    ##RANKING
 
740                    <div class="ranking_infinity lateral_secc c004_003"></div>
 
741                    ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
742                    #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")				
 
743                                    
 
744                    #php_else				
 
745                        <!-- <div class="publi cb" style="width: 300px; margin: 1rem auto";>$!iterVelocityTools.getAdContainer("nota_v_sb2")</div> -->
 
746                        <div id='div-gpt-ad-8622108-6' class="cb" style="width: 300px; margin: 1rem auto">
 
747                            <script>
 
748                              googletag.cmd.push(function() { googletag.display('div-gpt-ad-8622108-6'); });
 
749                            </script>
 
750                        </div>
 
751                    #php_end						
 
752                </div>
 
753
 
754            </div>
 
755        </article>
 
756	</div>
 
757
 
758</div>
 
759<div class="cl"></div>
 
760
 
761<!-- <script type="text/javascript" src="https://s7.addthis.com/downloads/ajax_help.min.js" async="async"></script>
 
762<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-60d3045e05ce9ec5" async="async"></script>-->
 
763
 
764<!-- script para iframes pro Datafactory -->
 
765<script type="text/javascript" src="https://sportsdemo.co/html/v3/htmlCenter/assets/libs/iframeResizer/iframeResizer.min.js" defer></script>
 
766<script type="text/javascript" defer>
 
767    document.addEventListener("DOMContentLoaded", function() {
 
768    iFrameResize({"scrolling": false, "checkOrigin": false}, "iframe");
 
769    });
 
770</script>
 
771<!-- script para iframes pro Datafactory -->
 
772
 
773<!-- Script para encuestas -->
 
774<script defer>
 
775  document.addEventListener("DOMContentLoaded", function() {
 
776      // Obtener el día de la semana (0: domingo, 1: lunes, 2: martes, ..., 6: sábado)
 
777      var dayOfWeek = new Date().getDay();
 
778
 
779      // Mapear los días de la semana a los IDs de las encuestas
 
780      var encuestaIds = {
 
781          1: "71ca2dd0-e66a-4193-a0f4-08cd1b0ea1cd", // Lunes
 
782          2: "eee46c11-9560-46b8-8bda-320f623b72ce", // Martes
 
783          3: "01881361-4fbf-4cd4-89e5-659eb86530dc", // Miércoles
 
784          4: "dbb58b9e-3ed9-442f-a6a0-5cdd795bd685", // Jueves 
 
785          5: "82c2038b-24e0-44f6-b835-3976ebad1803"  // Viernes
 
786      };
 
787
 
788      // Contenedor donde se cargará la encuesta
 
789      var encuestaContainer = document.getElementById("encuesta-container");
 
790
 
791      // Cargar la encuesta correspondiente al día de la semana
 
792      if (encuestaIds[dayOfWeek]) {
 
793          var encuestaId = encuestaIds[dayOfWeek];
 
794          encuestaContainer.setAttribute("data-placement-id", encuestaId);
 
795          encuestaContainer.setAttribute("data-container", "exco-placement");
 
796
 
797          // Cargar el script para la encuesta
 
798          var script = document.createElement("script");
 
799          script.textContent = '(window.excoPlacements=window.excoPlacements||[]).push("' + encuestaId + '");';
 
800          encuestaContainer.appendChild(script);
 
801      } else {
 
802          // Si es sábado (6) o domingo (0), no se mostrará ninguna encuesta
 
803          encuestaContainer.style.display = "none";
 
804      }
 
805  });
 
806</script>
 
807
 
808<!-- Newsletter notas -->
 
809<script>
 
810  document.addEventListener("DOMContentLoaded", function() {
 
811      // Definir la cantidad de newsletters
 
812      const totalNewsletters = 4;
 
813  
 
814      // Obtener el estado actual del newsletter desde localStorage
 
815      let newsletterIndex = localStorage.getItem('newsletterIndex');
 
816      if (newsletterIndex === null) {
 
817          newsletterIndex = 0; // Valor predeterminado
 
818      } else {
 
819          newsletterIndex = parseInt(newsletterIndex);
 
820      }
 
821  
 
822      // Mostrar el newsletter correspondiente
 
823      const newsletterHTML = [
 
824          `<div>
 
825              <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
 
826              <style type="text/css">
 
827                  .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
828              </style>
 
829              <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
 
830                  <div class="row imagenescool" style="background-color: #ffffff;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
 
831                      <div class="col vanguardiamovilnewsletter" style="display: block;padding: 15px;">
 
832                          <div class="ImagenVanguardiaNewsVanguardia" style="height: 30px;width: 60%;margin-top: 0px;margin-right: auto;margin-left: auto;"></div>
 
833                          <div style="width: 80%;height: 1px;margin: 0px auto;border-bottom: 4px solid #ff7e1f;padding: 7px;">&nbsp;</div>
 
834                      </div>
 
835                      <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;display: none;">
 
836                          <div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div>
 
837                      </div>
 
838                  </div>
 
839                  <form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&amp;id=33e9fe5f1c" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaVanguardia" target="_self" novalidate>
 
840                      <div id="mc_embed_signup_scroll">
 
841                          <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: &quot;PT Serif&quot;,Georgia,serif!important;margin-left: 10px;">¡Comienza tus mañanas bien informado! Obtén nuestra selección diaria de noticias locales y nacionales para mantenerte actualizado desde el amanecer.</p>
 
842                          <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
 
843                          <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_33e9fe5f1c" tabindex="-1" value=""></div>
 
844                          <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnVanguardia">
 
845                      </div>
 
846                  </form>
 
847              </div>
 
848          </div>`,
 
849          `<div>           
 
850              <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
 
851              <style type="text/css">
 
852                  .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
853              </style>
 
854              <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
 
855                  <div class="row imagenescool" style="background-color: #de001f;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
 
856                      <div class="col" style="justify-content: start;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsSemanario" style="height: 40px;width: 100%;margin-top: 0px;"></div></div>
 
857                      <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div></div>
 
858                  </div>
 
859                  <form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&amp;id=11c878846e" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaSemanario" target="_self" novalidate>
 
860                      <div id="mc_embed_signup_scroll">
 
861                      <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: &quot;PT Serif&quot;,Georgia,serif!important;margin-left: 10px;">¡No te pierdas nuestras investigaciones exclusivas! Conoce los motivos del reportaje, directamente de sus autores, con nuestra newsletter semanal.</p>
 
862                      <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
 
863                      <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
 
864                      <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_11c878846e" tabindex="-1" value=""></div>
 
865                      <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnSemanario">
 
866                      </div>
 
867                  </form>
 
868              </div>
 
869          </div>`,
 
870          `<div>          
 
871              <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
 
872              <style type="text/css">
 
873                  .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
874              </style>
 
875              <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
 
876                  <div class="row imagenescool" style="background-color: #000000;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
 
877                      <div class="col" style="justify-content: start;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsNYT" style="height: 25px;width: 100%;margin-top: 0px;filter: invert(1) brightness(2);"></div></div>
 
878                      <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div></div>
 
879                  </div>
 
880                  <form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&amp;id=77ee4ec641&amp;f_id=0061c3e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaTNYT" target="_self" novalidate>
 
881                      <div id="mc_embed_signup_scroll">
 
882                      <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: &quot;PT Serif&quot;,Georgia,serif!important;margin-left: 10px;"> ¡informate con lo mejor del periodismo internacional cada sábado! Suscríbete a nuestra Newsletter y recibe las noticias más destacadas del New York Times, traducidas especialmente para ti.</p>
 
883                      <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
 
884                      <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
 
885                      <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_77ee4ec641" tabindex="-1" value=""></div>
 
886                      <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnTNYT">
 
887                      </div>
 
888                  </form>
 
889              </div>
 
890          </div>`,
 
891          `<div>
 
892              <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
 
893              <style type="text/css">
 
894                  .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
895              </style>
 
896              <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
 
897                  <div class="row imagenescool" style="background-color: #657838;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
 
898                      <div class="col" style="justify-content: start;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL4" style="height: 36px;width: 100%;margin-top: 0px;"></div></div>
 
899                      <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div></div>
 
900                  </div>
 
901                  <form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&id=51de90b277&f_id=006dc3e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaCoahuilanatural" target="_self" novalidate>
 
902                      <div id="mc_embed_signup_scroll">
 
903                      <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: &quot;PT Serif&quot;,Georgia,serif!important;margin-left: 10px;"> ¡Descubre el fascinante newsletter de Vanguardia y enamórate de la naturaleza del sureste de Coahuila! Únete para vivir aventuras, experiencias únicas y aprender todo sobre el senderismo.</p>
 
904                      <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
 
905                      <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
 
906                      <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_51de90b277" tabindex="-1" value=""></div>
 
907                      <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnCoahuilanatural">
 
908                      </div>
 
909                  </form>
 
910              </div>
 
911          </div>`
 
912
 
913          // Agregar otros 3 bloques de HTML para los otros newsletters
 
914      ];
 
915  
 
916      // Obtener el elemento <p> con la clase "p_6"
 
917      const elementoP = document.querySelector('p.p_4');
 
918      if (elementoP) {
 
919          // Insertar el bloque de código HTML después del elemento <p>
 
920          elementoP.insertAdjacentHTML('afterend', newsletterHTML[newsletterIndex]);
 
921      }
 
922  
 
923      // Actualizar el índice del newsletter para la próxima visita
 
924      newsletterIndex = (newsletterIndex + 1) % totalNewsletters;
 
925      localStorage.setItem('newsletterIndex', newsletterIndex);
 
926  });
 
927</script>
 
928<!-- Newsletter notas -->
 
929
 
930<!-- apagar o encender scroll infinito -->
 
931<div class="content-infinity-off">
 
932
 
933</div>
 
934<!-- apagar o encender scroll infinito -->
 
935
 
936<!-- speed page -->
 
937<script defer>
 
938    document.addEventListener("DOMContentLoaded", function() {
 
939        const lazyLoadElements = document.querySelectorAll('.lazy-load');
 
940        
 
941        const observer = new IntersectionObserver(entries => {
 
942            entries.forEach(entry => {
 
943                if (entry.isIntersecting) {
 
944                    const lazyElement = entry.target;
 
945
 
946                    // Verificar si el elemento ya ha sido marcado como cargado
 
947                    if (!lazyElement.classList.contains('in-view')) {
 
948                        // Realizar acciones específicas del elemento aquí
 
949                        // Por ejemplo, puedes agregar una clase, cargar contenido, etc.
 
950                        lazyElement.classList.add('in-view');
 
951
 
952                        // Dejar de observar el elemento después de que ha entrado en la vista
 
953                        observer.unobserve(lazyElement);
 
954                    }
 
955                }
 
956            });
 
957        });
 
958
 
959        lazyLoadElements.forEach(element => {
 
960            observer.observe(element);
 
961        });
 
962    });
 
963</script>
 
964<!-- speed page -->
 
965
 
966<script defer>
 
967// Función para aplicar el estilo fijo al menú al salir de pantalla
 
968function fixMenu() {
 
969    var menu = document.querySelector('.menu-principal-header.desktop');
 
970    var scrollY = window.scrollY || window.pageYOffset;
 
971    if (scrollY > 0) {
 
972    menu.classList.add('fixed');
 
973    } else {
 
974    menu.classList.remove('fixed');
 
975    }
 
976}
 
977
 
978// Escuchador de eventos de desplazamiento
 
979window.addEventListener('scroll', fixMenu);
 
980
 
981// Llamar a la función al cargar la página
 
982fixMenu();
 
983</script>
 
984
 
985<!-- Estilo para Lista sin Plublicidad -->
 
986<script>
 
987    document.addEventListener('DOMContentLoaded', function() {
 
988        
 
989      // Obtener todos los div con la clase block_Parrafo_Lista
 
990      var blocks = document.querySelectorAll('.block_Parrafo_Lista');
 
991    
 
992        // Iterar a través de los bloques
 
993        blocks.forEach(function(block) {
 
994            // Obtener todos los elementos <p> dentro del bloque actual
 
995            var paragraphs = block.querySelectorAll('p');
 
996        
 
997            // Iterar a través de los elementos <p>
 
998            paragraphs.forEach(function(paragraph) {
 
999                // Verificar si el <p> está vacío
 
1000                if (paragraph.innerHTML.trim() === '') {
 
1001                    // Agregar altura y display block
 
1002                    paragraph.style.height = '20px';
 
1003                    paragraph.style.display = 'block';
 
1004                }
 
1005            
 
1006                // Verificar si el <p> contiene un <b> vacío
 
1007                var boldElement = paragraph.querySelector('b');
 
1008                if (boldElement && boldElement.innerHTML.trim() === '') {
 
1009                    // Agregar altura y display block al <b> dentro del <p>
 
1010                    boldElement.style.height = '20px';
 
1011                    boldElement.style.display = 'block';
 
1012                }
 
1013            });
 
1014        });
 
1015
 
1016    });
 
1017</script>
 
1018<style>
 
1019    div.block_Parrafo_Lista p{
 
1020    margin: 0px !important;
 
1021    }
 
1022</style>
 
1023<!-- Estilo para Lista sin Plublicidad -->
 
1024
 
1025<script defer>
 
1026    document.addEventListener('DOMContentLoaded', function() {
 
1027    // Retrasa la ejecución del código durante 1 segundo (1000 milisegundos)
 
1028    setTimeout(function() {
 
1029    // Obtén una referencia a los elementos div con las clases específicas
 
1030    var resizableDiv = document.querySelector('.text.resizable');
 
1031    var otherDiv = document.querySelector('#col-60-40-top-two-col');
 
1032
 
1033    // Obtén la altura del div redimensionable
 
1034    //var resizableDivHeight = resizableDiv.offsetHeight;
 
1035    var altura = resizableDiv.getBoundingClientRect();
 
1036    // Asigna la altura del div redimensionable al otro div
 
1037    otherDiv.style.height = altura + 'px';
 
1038    }, 1000); // 1000 ms = 1 segundo
 
1039    });
 
1040</script>
 
1041
 
1042
 
1043
 
1044<!-- sdk de encuestas ex.co 
 
1045<script defer src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script> -->
 
1046
 
1047<p hidden>$pub_imagen1</p>
 
1048<p hidden>$urlImage</p>
 
1049
 
1050#set($imageUrl3 = "")
 
1051#if($pub_imagen1.startsWith("https"))
 
1052    #set($imageUrl3 = $pub_imagen1)
 
1053#elseif($urlImage.startsWith("https"))
 
1054    #set($imageUrl3 = $urlImage)
 
1055#else
 
1056    #set($imageUrl3 = "https://vanguardia.com.mx/base-portlet/webrsrc/theme/13d16cf89ee0b324585019c9998ec6dd.svg")
 
1057#end
 
1058
 
1059<script type="application/ld+json">
 
1060    {
 
1061      "@context": "http://schema.org",
 
1062      "@type": "ImageObject",
 
1063      "url": "$imageUrl3"
 
1064    }
 
1065</script>
 
1066
 
1067<div hidden itemprop="image" itemscope itemtype="https://schema.org/ImageObject"> 
 
1068<meta hidden itemprop="url" content="$imageUrl3"> 
 
1069</div>
 
1070
 
1071<script type="text/javascript" async="async">
 
1072if(isMobileEnvironment ==  false){
 
1073	if($(".ranking_infinity").size() > 0){
 
1074		$(".ranking_infinity").html($(".infinity_ranking .iter-tabview-content").html());
 
1075	}
 
1076}
 
1077</script>
 
1078##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1079##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1080#*
 
1081#if($iterVelocityTools.getVelocityVariable("teaseritemposition") != 1)
 
1082		#set($TituloEsc = $htmlUtil.escape($!Headline.data))
 
1083		#set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
 
1084		#set ($tempSubheadline = "#getTeaserSubheadline(false)")
 
1085		#if($tempSubheadline && $tempSubheadline != "")
 
1086			#set($Texto = $tempSubheadline )
 
1087		#else
 
1088			#set($Texto = "#dameText(200)" )
 
1089		#end	
 
1090		#set($Texto = $Texto.replaceAll("<.*?>","") )
 
1091		#set($Texto = $Texto.trim() )
 
1092		#set($TextoEsc = $htmlUtil.escape($Texto))	
 
1093		#set($logo = "$iterVelocityTools.getVariable('0','logo_datos')" )
 
1094		#set($logo = $logo.trim() )
 
1095		#set($logo = $htmlUtil.escape($logo))
 
1096		#set($logo = $logo.replaceAll("/","\/") )
 
1097		#set($section = "")
 
1098		#set($section_url = "")
 
1099		#set($ac-sectionDateFrom =  $articleContext.selectNodes('articlectx/sections//section[@from]'))
 
1100		#if($ac-sectionDateFrom && $ac-sectionDateFrom.size() > 0)
 
1101			#foreach ($atrib in $ac-sectionDateFrom.get(0).attributes()  )
 
1102				#if($atrib.name == "name")
 
1103					#set($section = $!atrib.data)
 
1104				#end
 
1105				#if($atrib.name == "url")
 
1106					#set($section_url = $!atrib.data)
 
1107				#end
 
1108				
 
1109			#end
 
1110		#end
 
1111		## ***************AUTOR ********************
 
1112		#set($autorfinal = "")
 
1113		#set($urlautorfinal = "")
 
1114		#if($hmAutores.size() > 0)
 
1115			#set($hmAutor = $hmAutores.get(0))
 
1116			#set($autorfinal = $hmAutor.name)
 
1117			#set($autorfinalEsc = $htmlUtil.escape($autorfinal))	
 
1118			#set($urlautorfinal = "#metadataUrl_v1('autor')${hmAutor.friendlyname}")
 
1119		#end
 
1120		#if($autorfinal == "")
 
1121			#set($autorfinal = "Vanguardia")
 
1122		#end
 
1123
 
1124
 
1125
 
1126		<!-- ITEMS EN PAGINA  fullaccess: $fullaccess -->
 
1127		<meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
 
1128		<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
 
1129			<meta itemprop="url" content="https://vanguardia.com.mx/" />
 
1130			<meta itemprop="name" content="Vanguardia" />
 
1131			<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
1132				<meta itemprop="url" content="$iterVelocityTools.getVariable('0','logo_datos')" />
 
1133				<meta itemprop="width" content="600" />
 
1134				<meta itemprop="height" content="60" />
 
1135			</div>
 
1136		</div>
 
1137
 
1138#end
 
1139*#
 
1140##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1141##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
Selección de los editores