Se ha producido un error al procesar la plantilla.
Encountered " ? \'\' : \'<input style=" at 21736/F/NOTA_ESTADNAR_COPIA_A[line 1147, column 60]
Was expecting one of:
    "}" ...
    <DOT> ...
    
1##----Estandar2.0----
 
2$iterVelocityTools.setRenderArticleMode(1)
 
3
 
4<script type="text/javascript" src="https://s7.addthis.com/downloads/ajax_help.min.js" async="async"></script>
 
5<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-60d3045e05ce9ec5" async="async"></script>
 
6
 
7#set($sort = "createdate")
 
8#set($criteria= "desc")
 
9#set($art_next = $articleToolbox.getSiblingArticle($sort, $criteria, "next"))
 
10#set($sectionID = "#printAssignedSectionID_v1")
 
11#set($templateId = $iterVelocityTools.getVelocityVariable("template_id")) 
 
12## CONTENIDOS
 
13#set($dateMask = "d MMMM yyyy")
 
14#set($canonicalUrl = $articleToolbox.getArticleViewer('canonical'))
 
15#set($title = $!articleToolbox.getTag(null,'Headline').data)
 
16#set($hostName = "#siteUrl()")
 
17##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
18#set ($arrayListContenidos = [])
 
19
 
20#set ($element = {})
 
21#set ($temp = $element.put("name","Text"))
 
22#set ($temp = $element.put("type","paragraph"))
 
23#set ($temp = $element.put("cssclass","texto"))
 
24#set ($temp = $element.put("tag","div"))
 
25#set ($temp = $arrayListContenidos.add($element))
 
26
 
27#set ($element = {})
 
28#set ($temp = $element.put("name","Lead"))
 
29#set ($temp = $element.put("type","text"))
 
30#set ($temp = $element.put("cssclass","lead destacado"))
 
31#set ($temp = $element.put("tag","div"))
 
32#set ($temp = $arrayListContenidos.add($element))
 
33
 
34#set ($element = {})
 
35#set ($temp = $element.put("name","Image_Text"))
 
36#set ($temp = $element.put("type","image"))
 
37#set ($temp = $element.put("cssclass","img lateral"))
 
38#set ($temp = $element.put("tag","div"))
 
39#set( $temp = $arrayListContenidos.add($element))
 
40
 
41#set ($element = {})
 
42#set ($temp = $element.put("name","Youtube_Text"))
 
43#set ($temp = $element.put("type","youtube"))
 
44#set ($temp = $element.put("cssclass","youtube_video ratio ratio-16x9"))
 
45#set ($temp = $element.put("tag","div"))
 
46#set ($temp = $arrayListContenidos.add($element))
 
47
 
48#set ($element = {})
 
49#set ($temp = $element.put("name","Multimedia_Text"))
 
50#set ($temp = $element.put("type","multimedia"))
 
51#set ($temp = $element.put("cssclass","jwplayer_video"))
 
52#set ($temp = $element.put("tag","div"))
 
53#set ($temp = $arrayListContenidos.add($element))
 
54
 
55#set ($element = {})
 
56#set ($temp = $element.put("name","Image_Text_GIF"))
 
57#set ($temp = $element.put("type","image"))
 
58#set ($temp = $element.put("cssclass","imagen"))
 
59#set ($temp = $element.put("tag","div"))
 
60#set ($temp = $arrayListContenidos.add($element))
 
61
 
62#set ($element = {})
 
63#set ($temp = $element.put("name","Facebook_Text"))
 
64#set ($temp = $element.put("type","facebook"))
 
65#set ($temp = $element.put("cssclass","facebook_text"))
 
66#set ($temp = $element.put("tag","div"))
 
67#set ($temp = $arrayListContenidos.add($element))
 
68
 
69#set ($element = {})
 
70#set ($temp = $element.put("name","Instagram_Text"))
 
71#set ($temp = $element.put("type","instagram"))
 
72#set ($temp = $element.put("cssclass","instagram_text"))
 
73#set ($temp = $element.put("tag","div"))
 
74#set ($temp = $arrayListContenidos.add($element))
 
75
 
76#set ($element = {})
 
77#set ($temp = $element.put("name","Twitter_Text"))
 
78#set ($temp = $element.put("type","twitter"))
 
79#set ($temp = $element.put("cssclass","twitter_text"))
 
80#set ($temp = $element.put("tag","div"))
 
81#set ($temp = $arrayListContenidos.add($element))
 
82
 
83#set ($element = {})
 
84#set ($temp = $element.put("name","HTML_Text"))
 
85#set ($temp = $element.put("type","html"))
 
86#set ($temp = $element.put("cssclass","html_text"))
 
87#set ($temp = $element.put("tag","div"))
 
88#set ($temp = $arrayListContenidos.add($element))
 
89
 
90#set ($element = {})
 
91#set ($temp = $element.put("name","Quote"))
 
92#set ($temp = $element.put("type","text"))
 
93#set ($temp = $element.put("cssclass","quote"))
 
94#set ($temp = $element.put("tag","div"))
 
95#set ($temp = $arrayListContenidos.add($element))
 
96
 
97#set ($element = {})
 
98#set ($temp = $element.put("name","title_list"))
 
99#set ($temp = $element.put("type","microformat"))
 
100#set ($temp = $element.put("cssclass","microformat"))
 
101#set ($temp = $element.put("tag","div"))
 
102#set ($temp = $arrayListContenidos.add($element))
 
103
 
104#set ($element = {})
 
105#set ($temp = $element.put("name","image_list"))
 
106#set ($temp = $element.put("type","microformat"))
 
107#set ($temp = $element.put("cssclass","microformat"))
 
108#set ($temp = $element.put("tag","div"))
 
109#set($temp = $arrayListContenidos.add($element))
 
110
 
111#set ($element = {})
 
112#set ($temp = $element.put("name","text_list"))
 
113#set ($temp = $element.put("type","microformat"))
 
114#set ($temp = $element.put("cssclass","microformat"))
 
115#set ($temp = $element.put("tag","div"))
 
116#set($temp = $arrayListContenidos.add($element))
 
117
 
118#set ($element = {})
 
119#set ($temp = $element.put("name","Lead_Text"))
 
120#set ($temp = $element.put("type","text"))
 
121#set ($temp = $element.put("cssclass","intertitulo"))
 
122#set ($temp = $element.put("tag","div"))
 
123#set ($temp = $arrayListContenidos.add($element))
 
124
 
125#set ($element = {})
 
126#set ($temp = $element.put("name","linkTitle_Text"))
 
127#set ($temp = $element.put("type","text"))
 
128#set ($temp = $element.put("cssclass","link_tpi"))
 
129#set ($temp = $element.put("tag","div"))
 
130#set ($temp = $arrayListContenidos.add($element))
 
131
 
132#set ($element = {})
 
133#set ($temp = $element.put("name","Parrafo_Lista"))
 
134#set ($temp = $element.put("type","text"))
 
135#set ($temp = $element.put("cssclass","Parrafo_Lista"))
 
136#set ($temp = $element.put("tag","div"))
 
137#set ($temp = $arrayListContenidos.add($element))
 
138
 
139#set ($element = {})
 
140#set ($temp = $element.put("name","Flourish_Text"))
 
141#set ($temp = $element.put("type","text"))
 
142#set ($temp = $element.put("cssclass","flourish_text"))
 
143#set ($temp = $element.put("tag","div"))
 
144#set ($temp = $arrayListContenidos.add($element))
 
145
 
146#set ($element = {})
 
147#set ($temp = $element.put("name","Titulo_News"))
 
148#set ($temp = $element.put("type","text"))
 
149#set ($temp = $element.put("cssclass","titulo_news"))
 
150#set ($temp = $element.put("tag","div"))
 
151#set ($temp = $arrayListContenidos.add($element))
 
152
 
153#set ($element = {})
 
154#set ($temp = $element.put("name","Resumen_News"))
 
155#set ($temp = $element.put("type","text"))
 
156#set ($temp = $element.put("cssclass","resumen_news"))
 
157#set ($temp = $element.put("tag","div"))
 
158#set ($temp = $arrayListContenidos.add($element))
 
159
 
160
 
161#set($sectionID = "#printAssignedSectionID_v1")
 
162#set ($AuthorNoFoto = $!iterVelocityTools.getVariable($sectionID , "authorNoFoto"))
 
163
 
164#set($section = "#printAssignedSection_v1")
 
165
 
166#set ($FacebookText_ = $articleToolbox.getTag(null,"Facebook_Text") )
 
167#if($FacebookText_ && $FacebookText_.data != "")
 
168<div id="fb-root"></div>
 
169<script async defer src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2"></script>
 
170#end
 
171
 
172##----json----
 
173#set($pub_imagen = $articleToolbox.getImageURL("Image","0","crop_1200x801"))
 
174#set($videoyoutube = $articleToolbox.getTag(null,"HTML_Text").data)
 
175
 
176#set($dateF = "#printDateCreate('yyyy-MM-dd' 'false' '')")
 
177#set($dateF = $dateF.trim())
 
178#set($dateM = "#printDateFrom_v1('HH:mm:ss' 'false' 'false')")
 
179#set($dateM = $dateM.trim())
 
180#set($dateF = $dateF + "T" + $dateM +"-0600")
 
181
 
182
 
183#set($dateF1 = "#printDateModif('yyyy-MM-dd' 'false' '')")
 
184#set($dateF1 = $dateF1.trim())
 
185#set($dateH = "#printDateModif('HH:mm:ss' 'false' '')")
 
186#set($dateH = $dateH.trim())
 
187#set($dateFb = $dateF1 + "T" + $dateH +"-0600")
 
188
 
189##METAS TWITTER
 
190
 
191#set($metaTW = {})
 
192#set($temp = $metaTW.put("property","twitter:card"))
 
193#set($temp = $metaTW.put("content", "summary_large_image"))
 
194$iterVelocityTools.addMetaTag( $metaTW )
 
195
 
196#set($metaTW = {})
 
197#set($temp = $metaTW.put("property","twitter:site"))
 
198#set($temp = $metaTW.put("content", "vanguardiamx"))
 
199$iterVelocityTools.addMetaTag( $metaTW )
 
200
 
201#set($metaTW = {})
 
202#set($temp = $metaTW.put("property","twitter:title"))
 
203#set($temp = $metaTW.put("content", "$!TituloEsc"))
 
204$iterVelocityTools.addMetaTag( $metaTW )
 
205
 
206#set($metaTW = {})
 
207#set($temp = $metaTW.put("property","twitter:description"))
 
208#set($temp = $metaTW.put("content", "$TextoEsc"))
 
209$iterVelocityTools.addMetaTag( $metaTW )
 
210
 
211#if($pub_imagen != "")
 
212	#set($metaTW = {})
 
213	#set($temp = $metaTW.put("property","twitter:image"))
 
214	#set($temp = $metaTW.put("content", "$pub_imagen"))
 
215	$iterVelocityTools.addMetaTag( $metaTW )
 
216#end
 
217
 
218#set($metaTW = {})
 
219#set($temp = $metaTW.put("property","twitter:url"))
 
220#set($temp = $metaTW.put("content", "https://twitter.com/vanguardiamx"))
 
221$iterVelocityTools.addMetaTag( $metaTW )
 
222
 
223#set($metaTW = {})
 
224#set($temp = $metaTW.put("property","twitter:domain"))
 
225#set($temp = $metaTW.put("content", "https://vanguardia.com.mx"))
 
226$iterVelocityTools.addMetaTag( $metaTW )
 
227
 
228#set($ac-url = $articleContext.selectNodes('articlectx/url'))
 
229#set($xml-url = $ac-url.get(0).text)
 
230#set($url_actual = $!xml-url )
 
231##----json----
 
232<script type="application/ld+json">
 
233    {
 
234    "@context": "http://schema.org",
 
235    "@type": "ImageObject",
 
236    "url": "$pub_imagen"}
 
237</script>
 
238
 
239
 
240<style>
 
241figure.contentMedia.art-img > div:first-child{
 
242padding-top:65% !important;
 
243}
 
244div#backtotop{
 
245display: none !important;
 
246}
 
247</style>
 
248
 
249<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">
 
250
 
251
 
252<script async src="https://www.googletagmanager.com/gtag/js?id=G-LLWL5N9CSM"></script>
 
253<script>
 
254    window.dataLayer = window.dataLayer || [];
 
255    function gtag(){dataLayer.push(arguments);}
 
256    gtag('js', new Date());
 
257    gtag('config', 'G-LLWL5N9CSM');
 
258</script>
 
259
 
260<div class="container">
 
261
 
262        <!-- parte de datos estructurados inicio  -->
 
263
 
264	    <div hidden itemprop="image" itemscope itemtype="https://schema.org/ImageObject"> 
 
265	        <meta hidden itemprop="url" content="$pub_imagen"> 
 
266	    </div> 
 
267	    <time hidden itemprop="datePublished" datetime="$dateF"></time>
 
268	    <time hidden itemprop="dateModified" datetime="$dateFb"></time>
 
269	    <time hidden itemprop="dateCreated" datetime="$dateF"></time>
 
270        <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
 
271        <meta itemprop="inLanguage" content="es-MX" />
 
272	    <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization https://schema.org/NewsMediaOrganization">
 
273            <meta itemprop="url" content="https://vanguardia.com.mx/" />
 
274            <meta itemprop="name" content="Vanguardia" />
 
275            <!-- Proporcionar enlaces a las redes sociales o sitio web con "sameAs" -->
 
276            <a hidden href="https://www.facebook.com/VanguardiaMx/" itemprop="sameAs">Página de Facebook</a>
 
277            <a hidden href="https://twitter.com/vanguardiamx" itemprop="sameAs">Perfil de Twitter</a>
 
278            <a hidden href="https://www.linkedin.com/company/vanguardiamx/" itemprop="sameAs">Página de LinkedIn</a>
 
279            <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
280                <meta itemprop="url" content="https://vanguardia.com.mx/base-portlet/webrsrc/ctxvar/9d387887-99eb-4c1e-bb4a-7cbec97451dd.png" />
 
281                <meta itemprop="width" content="380" />
 
282                <meta itemprop="height" content="35" />
 
283            </div>
 
284	    </div>
 
285
 
286        <!-- parte de datos estructurados inicio fin -->
 
287
 
288		<script>
 
289			var group_id = $request.theme-display.scope-group-id;
 
290			var id_art_infinity = $reserved-article-id.data;
 
291			#if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
 
292				var teaser_first = true;
 
293				var n_noticia = 1;
 
294				idart_view = $reserved-article-id.data;
 
295			#else
 
296				var teaser_first = false;
 
297				var n_noticia = n_noticia + 1;
 
298			#end
 
299		</script>
 
300		## MAPA DE PUBLICIDAD EN PARRAFOS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
301		#set ($addInParagraph ={})
 
302
 
303		#php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
304			#set ($temp = $addInParagraph.put("3","nota_v_top_movil"))
 
305                        #set ($temp = $addInParagraph.put("8","v_desk_nota_mid_1"))
 
306                        #set ($temp = $addInParagraph.put("13","v_desk_nota_mid_2"))
 
307                        #set ($temp = $addInParagraph.put("18","v_desk_nota_mid_3"))
 
308                        #set ($temp = $addInParagraph.put("23","v_desk_nota_mid_4"))
 
309                        #set ($temp = $addInParagraph.put("28","v_desk_nota_mid_5"))
 
310			#set ($temp = $addInParagraph.put("33","v_desk_nota_mid_6"))
 
311			#set ($temp = $addInParagraph.put("38","v_desk_nota_mid_7"))
 
312                        #set ($temp = $addInParagraph.put("43","v_desk_nota_mid_8"))
 
313		        #set ($temp = $addInParagraph.put("48","v_desk_nota_mid_9"))
 
314                        #set ($temp = $addInParagraph.put("53","v_desk_nota_mid_10"))
 
315			<script>console.log('definicion movil');</script>
 
316		#php_else
 
317                        #set ($temp = $addInParagraph.put("3","v_desk_nota_mid_1"))
 
318                        #set ($temp = $addInParagraph.put("8","v_desk_nota_mid_2"))
 
319                        #set ($temp = $addInParagraph.put("13","v_desk_nota_mid_3"))
 
320                        #set ($temp = $addInParagraph.put("18","v_desk_nota_mid_4"))
 
321                        #set ($temp = $addInParagraph.put("23","v_desk_nota_mid_5"))
 
322                        #set ($temp = $addInParagraph.put("28","v_desk_nota_mid_6"))
 
323                        #set ($temp = $addInParagraph.put("33","v_desk_nota_mid_7"))
 
324                        #set ($temp = $addInParagraph.put("38","v_desk_nota_mid_8"))
 
325                        #set ($temp = $addInParagraph.put("43","v_desk_nota_mid_9"))
 
326                        #set ($temp = $addInParagraph.put("48","v_desk_nota_mid_10"))
 
327        #php_end
 
328
 
329		<div class="metadatos">#*
 
330		*##set($hmTemas = {})#*
 
331		*##getAcAssignedCatExtended_v1($hmTemas "Topics")#*
 
332		*##set($hmGeografico = {})#*
 
333		*##getAcAssignedCatExtended_v1($hmGeografico "Location")#*
 
334		*##set($hmPersonajes = {})#*
 
335		*##getAcAssignedCatExtended_v1($hmPersonajes "People")#*
 
336		*##set($hmAutores = {})#*
 
337		*##getAcAssignedCatExtended_v1($hmAutores "Author")#*
 
338		*##if($hmTemas && $hmTemas.size() > 0)	#*
 
339			*##foreach ($elem in $hmTemas)#*
 
340				*#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="topics" data-voc-id="102924553"/>#*
 
341			*##end#*
 
342		*##end#*
 
343		*##if($hmGeografico && $hmGeografico.size() > 0)#*
 
344			*##foreach ($elem in $hmGeografico)#*
 
345				*#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="location" data-voc-id="102922353"/>#*
 
346			*##end#*
 
347		*##end#*
 
348		*##if($hmAutores && $hmAutores.size() > 0)#*	
 
349			*##foreach ($elem in $hmAutores)#*
 
350				*#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="author" data-voc-id="102924559"/>#*
 
351			*##end#*
 
352		*##end#*
 
353		*#</div>
 
354		<div class="canonical hidden"></div>
 
355		
 
356
 
357    ##PAYWALL HIT MAS
 
358	<script>
 
359		$(document).ready(function() {
 
360			var title = "$!escapeTool.html($!title)";
 
361			sendHitUser(title);
 
362		});
 
363	</script>
 
364
 
365    ##PAYWALL PRODUCT
 
366        #set($product = "")
 
367        #set($article_is_restricted = $articleToolbox.article_is_restricted())
 
368        #if ($article_is_restricted)
 
369            #foreach($products in $articleToolbox.getProductList())
 
370            #set($product = $products.get("name"))
 
371            #end
 
372            <div id="type-note" data-id="$product"></div>
 
373        #end  
 
374        ##USUARIO ANONIMO
 
375        #*
 
376                #if ($environment != 'PREVIEW')
 
377            #php_if("strlen(getenv('ITER_USER'))===0")
 
378                #if($product == "registrados")
 
379                    
 
380                    #set($cons = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_CONSUMED')")
 
381                    #set($total = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_TOTAL')")
 
382                    <script>
 
383                    var cons = ${cons};
 
384                    var total = ${total};
 
385                    var disp = total-cons;
 
386                    $(".paywall-title span").html(disp);
 
387                    </script>
 
388                #end
 
389            
 
390            #php_end
 
391                #end
 
392        *#
 
393        ##FIN USUARIO ANONIMO
 
394	<!-- script para iframes pro Datafactory -->
 
395		<script type="text/javascript" src="https://sportsdemo.co/html/v3/htmlCenter/assets/libs/iframeResizer/iframeResizer.min.js"></script>
 
396		  <script type="text/javascript">
 
397		    document.addEventListener("DOMContentLoaded", function() {
 
398		      iFrameResize({"scrolling": false, "checkOrigin": false}, "iframe");
 
399		    });
 
400		  </script>
 
401			
 
402	<!-- script para iframes pro Datafactory -->
 
403		##HEADLINE
 
404        <script type="text/javascript" class="teads" async="true" src="//a.teads.tv/page/172705/tag"></script>
 
405
 
406		##publicidad video 
 
407
 
408		##publicidad video
 
409
 
410
 
411        
 
412        <style>
 
413            @media (max-width: 768px) {
 
414                #publicidadTopNota {
 
415                    display: none; /* Ocultar el elemento en dispositivos móviles */
 
416                }
 
417            }
 
418        </style>
 
419
 
420	    <article class="mrf-article-body">
 
421            <h1 class="headline artit font-1 medium bold" itemprop="headline" canonicalUrl="$articleToolbox.getArticleViewer('canonical')" idart="$reserved-article-id.data">#getTitle_v1</h1>
 
422            ## SECC / FECHA
 
423            <div class="info"><span class="secc"> #printTopcontainer_v1("section" "")</span> / <span class="date">#printDateAgo($dateMask "Hace" "minuto" "hora")</span> </div>
 
424		
 
425            <div id="content_note" style="visibility: hidden" class="row middle">
 
426                <!-- Columna de articulo padre -->
 
427                <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">
 
428
 
429			#set ($hasImages = $articleToolbox.getNumImageTags("Image", "true"))
 
430                        #if($section == "Opinión" || $section == "Politicón")
 
431				#if ($hasImages > 0)
 
432					<div class="image_main">
 
433					    #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
 
434					</div>
 
435				#elseif($hmAutores && $hmAutores.size() > 0)
 
436					#foreach ($elem in $hmAutores)
 
437					    #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
 
438					    #set($imgColumn = $!articuloInstrumental.getImageTag("ImagenColumnista","0","crop_1152x648_detalle","","","","","true","",""))
 
439					    #if($imgColumn && $imgColumn != "")
 
440						#set($urlImage = $articuloInstrumental.getImageURL("ImagenColumnista", "0", "crop_1152x648_detalle"))
 
441						#set($metaImgAuthor = {})
 
442						###set($temp = $metaImgAuthor.put("property","og:image"))
 
443						###set($temp = $metaImgAuthor.put("content",$urlImage))
 
444						###$iterVelocityTools.addMetaTag( $metaImgAuthor )
 
445						<div class="image_main">
 
446						    $!imgColumn
 
447						</div>
 
448					    #end
 
449					#end
 
450				#end
 
451                        #else
 
452                            ##IMAGEN
 
453                            <div class="image_main">
 
454                                #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
 
455                            </div>
 
456                        #end
 
457
 
458                        <div class="container-fluid">
 
459                            <div class="row middle">
 
460
 
461                                <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">	
 
462
 
463                                    ##AUTOR
 
464                                    <div class="author" itemscope="" itemprop="author" itemtype="http://schema.org/Person">
 
465                                        #if($hmAutores && $hmAutores.size() > 0)
 
466                                            #foreach ($elem in $hmAutores)
 
467                                                #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
 
468                                                #set($imgAuthor = $!articuloInstrumental.getImageTag("Image","0","crop_250x250","","","","","$elem.name","",""))
 
469                                                <div class="img_author" itemprop="image">
 
470                                                    #if($imgAuthor && $imgAuthor != "")
 
471                                                        $!imgAuthor
 
472                                                    #else
 
473                                                        <img class="img-fluid" src="$AuthorNoFoto"/>
 
474                                                    #end
 
475                                                </div>
 
476                                                <div class="text_author">por <span class="name_author" itemprop="name"><a itemprop="url" href="/autor/-/meta/$elem.friendlyname">$elem.name</a></span></div>
 
477                                            #end
 
478                                        #end
 
479                                    </div>
 
480
 
481					<!-- Estilo para Lista sin Plublicidad -->
 
482					<script>
 
483					    document.addEventListener('DOMContentLoaded', function() {
 
484					      // Obtener todos los div con la clase block_Parrafo_Lista
 
485					      var blocks = document.querySelectorAll('.block_Parrafo_Lista');
 
486					    
 
487					      // Iterar a través de los bloques
 
488					      blocks.forEach(function(block) {
 
489						// Obtener todos los elementos <p> dentro del bloque actual
 
490						var paragraphs = block.querySelectorAll('p');
 
491					    
 
492						// Iterar a través de los elementos <p>
 
493						paragraphs.forEach(function(paragraph) {
 
494						  // Verificar si el <p> está vacío
 
495						  if (paragraph.innerHTML.trim() === '') {
 
496						    // Agregar altura y display block
 
497						    paragraph.style.height = '20px';
 
498						    paragraph.style.display = 'block';
 
499						  }
 
500					    
 
501						  // Verificar si el <p> contiene un <b> vacío
 
502						  var boldElement = paragraph.querySelector('b');
 
503						  if (boldElement && boldElement.innerHTML.trim() === '') {
 
504						    // Agregar altura y display block al <b> dentro del <p>
 
505						    boldElement.style.height = '20px';
 
506						    boldElement.style.display = 'block';
 
507						  }
 
508						});
 
509					      });
 
510					    });
 
511					    </script>
 
512					<style>
 
513					    div.block_Parrafo_Lista p{
 
514						margin: 0px !important;
 
515					    }
 
516					</style>
 
517					<!-- Estilo para Lista sin Plublicidad -->
 
518
 
519
 
520                                    <!-- Google Contribucion inicio -->
 
521                                    #if($section == "NOsection" || $section == "NOsection")
 
522                                        <script async type="application/javascript"
 
523                                                        src="https://news.google.com/swg/js/v1/swg-basic.js"></script>
 
524                                                    
 
525
 
526                                        <script>
 
527                                            (self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => {
 
528                                            basicSubscriptions.init({
 
529                                            type: "NewsArticle",
 
530                                            isPartOfType: ["Product"],
 
531                                            isPartOfProductId: "CAowteHSAQ:openaccess",
 
532                                            clientOptions: { theme: "light", lang: "es" },
 
533                                            });
 
534                                            });
 
535                                        </script>
 
536                                        <style>
 
537                                            @media (min-width: 1024px) {
 
538                                                .swg-button-v2-dark, .swg-button-v2-light {
 
539                                                -ms-flex-align: center;
 
540                                                align-items: center;
 
541                                                border: 0.5px solid #beb5b557 !important;
 
542                                                border-radius: 4px;
 
543                                                box-sizing: border-box;
 
544                                                cursor: pointer;
 
545                                                display: -ms-inline-flexbox;
 
546                                                display: inline-flex;
 
547                                                font-family: Google Sans,Roboto-Regular,sans-serif,arial;
 
548                                                font-size: 10px;
 
549                                                font-weight: 500;
 
550                                                height: 44px;
 
551                                                letter-spacing: .001em;
 
552                                                min-height: 44px;
 
553                                                min-width: 150px !important;
 
554                                                outline: 0;
 
555                                                width: 175px !important;
 
556                                            }
 
557                                            .swg-button-v2-icon-dark, .swg-button-v2-icon-light {
 
558                                                background-size: contain;
 
559                                                height: 18px;
 
560                                                margin-left: 15px !important;
 
561                                                margin-right: 8px;
 
562                                                width: 18px;
 
563                                            }
 
564                                            }
 
565                                            @media (max-width: 1023px) {
 
566                                            .centermovileG{
 
567                                                justify-content: center;
 
568                                                display: flex;
 
569                                                margin-bottom: 20px;
 
570                                            }
 
571                                            }
 
572                                        </style>
 
573                                        <div class="centermovileG">
 
574                                            <button style="margin-top: 11px;" swg-standard-button="contribution">Contribuciones</button>
 
575                                        </div>
 
576                                    #end
 
577                                    <!-- Googel Contribucion Fin -->
 
578
 
579                                    <style>
 
580                                        .compartirr{
 
581                                        position: sticky;
 
582                                        top:50px;
 
583                                        }
 
584                                    </style>
 
585                                    <div class="compartirr">	
 
586                                        
 
587                                        <div class="rrss d-desktop">
 
588                                            <h2 class="sectiondestacadas " style="margin-bottom: 15px;margin-top: 40px;">COMPARTIR</h2>		
 
589                                            <div class="network-social"> 
 
590                                                <ul class="social-options"> 
 
591                                                    <li> 
 
592                                                        <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook"> 
 
593                                                            <div class="fab facebook"></div>
 
594                                                            <b>Facebook</b> 
 
595                                                        </a> 
 
596                                                    </li> 
 
597                                                    <li> 
 
598                                                        <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"> 
 
599                                                            <div class="fab twitter"></div>
 
600                                                            <b>Twitter</b> 
 
601                                                        </a> 
 
602                                                    </li>  
 
603                                                    <li> 
 
604                                                        <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp"> 
 
605                                                            <div class="fab whatsapp"></div>
 
606                                                            <b>Whatsapp</b> 
 
607                                                        </a> 
 
608                                                    </li> 
 
609                                                    <li> 
 
610                                                        <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin"> 
 
611                                                            <div class="fab linkedin"></div>
 
612                                                            <b>Linkedin</b> 
 
613                                                        </a> 
 
614                                                    </li>
 
615                                                </ul> 
 
616                                            </div>							                            
 
617                                        </div>
 
618
 
619                                        ## TAGS
 
620                                        <div class="temas d-desktop" temas="$hmTemas.size()">
 
621                                            <h2 class="sectiondestacadas" style="margin-bottom: 15px;" >TEMAS</h2>	
 
622                                            #if($hmTemas && $hmTemas.size() > 0)
 
623                                                #foreach ($elem in $hmTemas)
 
624                                                    <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
625                                                #end
 
626                                            #end
 
627                                            #if($hmGeografico && $hmGeografico.size() > 0)
 
628                                                #foreach ($elem in $hmGeografico)
 
629                                                    <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
630                                                #end
 
631                                            #end
 
632                                        </div>
 
633                                        
 
634                                    </div>
 
635                                </div>
 
636                                <style>
 
637                                    @media (max-width: 468px){
 
638                                        .template-infinity .rrss.end {
 
639                                            display: flex !important;
 
640                                            gap: 10px !important;
 
641                                            border-bottom: 1px dotted #e0e0e0 !important;
 
642                                            border-top: 1px dotted #e0e0e0 !important;
 
643                                            padding-top: 10px !important;
 
644                                            padding-bottom: 0px !important;
 
645                                            margin-bottom: 0px !important;
 
646                                            padding-left: 0px !important;
 
647                                            position: sticky !important;
 
648                                            top: 5% !important;
 
649                                            background: white !important;
 
650                                            z-index: 9 !important;
 
651                                            justify-content: center !important;
 
652					    margin-bottom: 25px !important;
 
653                                        }                                        
 
654                                        .template-infinity .social-options a.whatsapp, .template-infinity .social-options a.facebook, .template-infinity .social-options a.twitter, .template-infinity .social-options a.linkedin {
 
655                                            border-radius: 0% !important;
 
656                                            height: 40px !important;
 
657                                            width: 40px !important;
 
658                                            padding-left: 25% !important;
 
659                                            padding-top: 2% !important;
 
660                                        } 
 
661                                        .template-infinity .network-social .social-options {
 
662                                            gap: 9px !important;
 
663                                        }
 
664                                    }
 
665
 
666                                </style>
 
667
 
668
 
669                                #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
670                                    <div class="rrss end d-movil" style="
 
671                                    position: sticky;
 
672                                    top: 38px;
 
673                                    background: white;
 
674                                    z-index: 3;">
 
675                                        <div class="cab-rrss">COMPARTIR</div>
 
676                                        <div class="network-social"> 
 
677                                            <ul class="social-options"> 
 
678                                                <li> 
 
679                                                    <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook"> 
 
680                                                        <div class="fab facebook"></div>
 
681                                                    </a> 
 
682                                                </li> 
 
683                                                <li> 
 
684                                                    <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"> 
 
685                                                        <div class="fab twitter"></div>
 
686                                                    </a> 
 
687                                                </li>  
 
688                                                <li> 
 
689                                                    <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp"> 
 
690                                                        <div class="fab whatsapp"></div>									
 
691                                                    </a> 
 
692                                                </li>  
 
693                                                                                    <li> 
 
694                                                    <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin"> 
 
695                                                                        <div class="fab linkedin"></div>								
 
696                                                    </a> 
 
697                                                </li>  
 
698                                            </ul> 
 
699                                        </div>							                            
 
700                                    </div>
 
701                                #php_end
 
702
 
703                                <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">
 
704
 
705                                    ##SUBHEADLINE/TOPHEADLINE
 
706                                    #set ($tempSubheadline = "#getTeaserSubheadline(true)")
 
707                                    #if($tempSubheadline && $tempSubheadline != "")
 
708                                        <h2 class="subheadline" itemprop="description">#getTeaserSubheadline_v1(false)</h2>
 
709                                    #end
 
710
 
711##PUBLI BOX PREMIUM
 
712
 
713
 
714##PUBLI BOX PREMIUM
 
715#php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
716                                     <div class="publi">$!iterVelocityTools.getAdContainer("box_premium_mobile")</div>
 
717#php_end
 
718
 
719                                    ##aqui estaba el paywall inicio
 
720                                    ##PAYWALL
 
721                                    #php_if("strlen(getenv('ITER_USER'))!==0")
 
722                                        <!--Usuario logueado-->
 
723                                        #set($islogged = "true")
 
724                                    #php_else
 
725                                        <!--Usuario no logueado-->
 
726                                        #set($islogged = "false")
 
727                                    #php_end
 
728
 
729                                    #set($productList = $articleToolbox.getProductList())
 
730                                    #set($producto = '')
 
731                                    #if ($productList && $productList.size() > 0)
 
732                                        #set($producto = $productList.get(0).namebase64)
 
733                                    #end  
 
734                                    <!-- product:$producto -->
 
735                                    <!-- reserved-article-id.data:$reserved-article-id.data -->
 
736                                    #set($useraccess = "false")	
 
737                                    #set($article_is_restricted = $articleToolbox.article_is_restricted())
 
738                                    
 
739                                        <!-- TEXTO LIBRE -->
 
740                                        ##TEXTO
 
741                                        <div class="text resizable" itemprop="articleBody">
 
742                                            #printHTMLContentArticle_v1_latam($arrayListContenidos, "crop_1152x648", "100%", "100%", "375", $addInParagraph)
 
743                                            
 
744                                            <!-- funcion para leer la nota inicio -->
 
745
 
746                                            <button hidden id="leer">Leer Texto</button>
 
747                                            <script>
 
748                                            const botonLeer = document.getElementById('leer');
 
749
 
750                                            botonLeer.addEventListener('click', () => {
 
751                                                const elementosParaLeer = document.querySelectorAll('.paragraph.texto p');
 
752
 
753                                                if (elementosParaLeer.length === 0) {
 
754                                                console.log('No se encontraron elementos para leer.');
 
755                                                return;
 
756                                                }
 
757
 
758                                                const mensaje = new SpeechSynthesisUtterance();
 
759                                                mensaje.voice = speechSynthesis.getVoices().find(voice => voice.lang === 'es-ES');
 
760
 
761                                                elementosParaLeer.forEach(elemento => {
 
762                                                mensaje.text = elemento.textContent;
 
763                                                window.speechSynthesis.speak(mensaje);
 
764                                                });
 
765                                            });
 
766                                            </script>
 
767
 
768                                            <!-- funcion leer nota fin -->
 
769
 
770                                            <!-- nuevas tags con estilo de especial + autores inicio -->
 
771
 
772                                                <!-- TAGS MOVIL INICIO -->
 
773                                                ## TAGS
 
774                                                <div class="temas d-movil" temas="$hmTemas.size()">
 
775                                                <div class="cab-temas">TEMAS</div>
 
776                                                #if($hmTemas && $hmTemas.size() > 0)
 
777                                                    #foreach ($elem in $hmTemas)
 
778                                                    <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
779                                                    #end
 
780                                                #end
 
781                                                #if($hmGeografico && $hmGeografico.size() > 0)
 
782                                                    #foreach ($elem in $hmGeografico)
 
783                                                    <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
784                                                    #end
 
785                                                #end
 
786                                                </div>
 
787                                                <!-- TAGS MOVIL FIN -->
 
788
 
789                                            <!-- nuevas tags con estilo de especial + autores fin  -->
 
790
 
791                                            <!-- excoplayer video debajo de la nota inicio 
 
792
 
793                                            <script>
 
794                                            (function (d, s, n) {
 
795                                                var js, fjs = d.getElementsByTagName(s)[0];
 
796                                                js = d.createElement(s);
 
797                                                js.className = n;
 
798                                                js.src = "//player.ex.co/player/0b65faeb-7817-45cc-a6d0-60e3e0b40b3a";
 
799                                                fjs.parentNode.insertBefore(js, fjs);
 
800                                            }(document, 'script', 'exco-player'));
 
801                                            </script>
 
802                                            <style>
 
803                                            @media (max-width: 767px){
 
804                                            .sectiondestacadas {
 
805                                                margin: 0px !important;
 
806                                            }
 
807                                            }
 
808
 
809                                            </style>
 
810                                            <div class="VideoVanguardiapro" style="border-top: 1px solid #e0e0e0;margin-top: 20px;width: auto;margin-bottom: 20px;"></div>
 
811                                            <h2 class="sectiondestacadas VideoVanguardiapro" style="margin-bottom: 20px !important;" >Videos</h2>
 
812                                            <div class="VideoVanguardiapro" id="0b65faeb-7817-45cc-a6d0-60e3e0b40b3a" ></div>
 
813
 
814                                             excoplayer video debajo de la nota fin -->
 
815                                        </div>
 
816                                        <!-- TEXTO LIBRE -->
 
817
 
818                                        ##GENERICO
 
819                                        #if($Generic && $Generic.getSiblings().size()>0)
 
820                                            <ul class="generic">
 
821                                                #foreach ($el in $Generic.getSiblings())
 
822                                                    <li><span class="icon"></span><a href="$!el.Document.data" >$!el.data ($el.Extension.data)</a></li>
 
823                                                #end
 
824                                            </ul>
 
825                                        #end
 
826                                    
 
827
 
828                                        ## FIN PAYWALL
 
829                                        ##aqui estaba el paywall fin
 
830
 
831                                        ## MOVER TEXTO AQUI
 
832
 
833                                        ##RELACIONADAS EXTERNAS 
 
834                                        #set ($urlLink = $articleToolbox.getTag(null,"linkURL") )
 
835                                        #set ($titleLink = $articleToolbox.getTag(null,"linkTitle"))
 
836                                        #if(($urlLink && $urlLink.data != "")  && ($titleLink && $titleLink.data != ""))
 
837                                            <a class="ext_link" href="$!urlLink.data" target="_blank" rel="nofollow">
 
838                                                <strong>$!titleLink.data</strong>
 
839                                            </a>
 
840                                        #end
 
841                                        ##RELACIONADAS INTERNAS 
 
842                                        #if($linkIntTitle && $linkIntTitle.getSiblings().size()>0)
 
843                                            <div class="link_tpi">
 
844                                                <div class="head_int"><span class="icon"></span> TE PUEDE INTERESAR: </div>
 
845                                                #foreach ($el in $linkIntTitle.getSiblings())
 
846                                                    <div class="item_int"><a href="$!el.linkIntURL.data" >$!el.data</a></div>
 
847                                                #end
 
848                                            </div>
 
849                                        #end
 
850
 
851
 
852                                        ##openweb					
 
853                                            <div hidden class="fb-comments">
 
854                        
 
855                                                #set($urlfb = $canonicalUrl)
 
856                                                #foreach ($element in $urlfb.split("-"))
 
857                                                    #set($urlid = $element)
 
858                                                #end
 
859                                                #set($urlfb = "FB-" + $urlid)
 
860                                                        
 
861                                            </div>
 
862                        
 
863                        
 
864                                            <div data-spotim-app="reactions" data-spot-id="sp_wVRiLLf2" data-post-id="$urlfb"></div>
 
865                        
 
866                        
 
867                                                <script 
 
868                                                    async 
 
869                                                    src="https://launcher.spot.im/spot/sp_wVRiLLf2"
 
870                                                    data-spotim-module="spotim-launcher"
 
871                                                    data-post-url="https://vanguardia.com.mx/$urlfb"   
 
872                                                    data-post-id="$urlfb">
 
873                                                </script>
 
874                    
 
875                                        ##cierra openweb
 
876                                            
 
877                                        #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
878                                            ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
879                                            ##<div class="publi">$!iterVelocityTools.getAdContainer("nota_v_bot")</div> ++++++++++++++++
 
880                                        #php_end
 
881
 
882                                </div>
 
883
 
884                            </div>
 
885                        </div>
 
886                </div>
 
887
 
888                <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">	
 
889
 
890                    <script>
 
891                        document.addEventListener('DOMContentLoaded', function() {
 
892                        // Retrasa la ejecución del código durante 1 segundo (1000 milisegundos)
 
893                        setTimeout(function() {
 
894                        // Obtén una referencia a los elementos div con las clases específicas
 
895                        var resizableDiv = document.querySelector('.text.resizable');
 
896                        var otherDiv = document.querySelector('#col-60-40-top-two-col');
 
897
 
898                        // Obtén la altura del div redimensionable
 
899                        //var resizableDivHeight = resizableDiv.offsetHeight;
 
900                        var altura = resizableDiv.getBoundingClientRect();
 
901                        // Asigna la altura del div redimensionable al otro div
 
902                        otherDiv.style.height = altura + 'px';
 
903                        }, 1000); // 1000 ms = 1 segundo
 
904                        });
 
905                    </script>
 
906
 
907                    ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
908                    #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
909                                    
 
910                    #php_else
 
911                        <div islogged="$islogged" useraccess="$useraccess"></div>
 
912                        <div class="publi" style="width: 300px; margin: 1rem auto; margin-top: 0px;";>$!iterVelocityTools.getAdContainer("nota_v_sb1")</div>
 
913                        <style>
 
914                            .cab_ads{
 
915                                display: none;
 
916                            }
 
917                        </style>
 
918                    #php_end	
 
919
 
920                    <!-- la enceusta se ve aqui inicio -->
 
921
 
922                    <div id="" class="portlet-boundary portlet-static-end htmlcontainer-portlet block_newsletter">
 
923
 
924                        <div class="move-from-a">
 
925                        
 
926                            <h2 class="sectiondestacadas">Encuesta Vanguardia</h2>
 
927
 
928                              <div id="encuesta1" hidden>
 
929<div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="d44fdbf9-398c-443f-8ef8-abe8d59aad13" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("d44fdbf9-398c-443f-8ef8-abe8d59aad13");</script></div>
 
930<script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
 
931                               </div>
 
932
 
933                            <div id="encuesta2" hidden>
 
934<div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="bd14a761-3785-40ca-a756-ee22dc5cb991" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("bd14a761-3785-40ca-a756-ee22dc5cb991");</script></div>
 
935<script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
 
936                            </div>
 
937
 
938                            <div id="encuesta3" hidden>
 
939<div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="666de03e-32d6-4adc-8540-b0251a712759" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("666de03e-32d6-4adc-8540-b0251a712759");</script></div>
 
940<script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
 
941                            </div>
 
942
 
943                            <div id="encuesta4" hidden>
 
944<div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="ca1e87d0-e455-4ac2-a094-80a8b28e0043" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("ca1e87d0-e455-4ac2-a094-80a8b28e0043");</script></div>
 
945<script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
 
946                            </div>
 
947
 
948                            <div id="encuesta5" hidden>
 
949<div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="40435a41-3801-4762-aa60-9754aa689bb1" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("40435a41-3801-4762-aa60-9754aa689bb1");</script></div>
 
950<script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
 
951                            </div>
 
952
 
953                            <script>
 
954                                document.addEventListener("DOMContentLoaded", function() {
 
955                                    // Obtener el día de la semana (0: domingo, 1: lunes, 2: martes, ..., 6: sábado)
 
956                                    var dayOfWeek = new Date().getDay();
 
957
 
958                                    // Mostrar el div de la encuesta correspondiente al día de la semana
 
959                                    switch (dayOfWeek) {
 
960                                    case 1: // Lunes
 
961                                        document.getElementById("encuesta1").removeAttribute("hidden");
 
962                                        break;
 
963                                    case 2: // Martes
 
964                                        document.getElementById("encuesta2").removeAttribute("hidden");
 
965                                        document.getElementById("encuesta1").setAttribute("hidden", "true");
 
966                                        break;
 
967                                    case 3: // Miércoles
 
968                                        document.getElementById("encuesta3").removeAttribute("hidden");
 
969                                        document.getElementById("encuesta2").setAttribute("hidden", "true");
 
970                                        break;
 
971                                    case 4: // Jueves
 
972                                        document.getElementById("encuesta4").removeAttribute("hidden");
 
973                                        document.getElementById("encuesta3").setAttribute("hidden", "true");
 
974                                        break;
 
975                                    case 5: // Viernes
 
976                                        document.getElementById("encuesta5").removeAttribute("hidden");
 
977                                        document.getElementById("encuesta4").setAttribute("hidden", "true");
 
978                                        break;
 
979                                    default: // Sábado (6) y Domingo (0)
 
980                                        document.getElementById("encuesta5").removeAttribute("hidden");
 
981                                    break;
 
982                                    // Para el resto de los días (sábado y domingo), no se mostrará ninguna encuesta
 
983                                    }
 
984                                });
 
985                            </script>
 
986
 
987                        </div>
 
988
 
989                    </div>	
 
990                    
 
991                    <!-- la enceusta se ve aqui fin -->
 
992                                    
 
993                    ##RANKING
 
994                    <div class="ranking_infinity lateral_secc c004_003"></div>
 
995                    ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
996                    #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")				
 
997                                    
 
998                    #php_else				
 
999                                    <div class="publi cb" style="width: 300px; margin: 1rem auto";>$!iterVelocityTools.getAdContainer("nota_v_sb2")</div>
 
1000                    #php_end						
 
1001                </div>
 
1002
 
1003            </div>
 
1004
 
1005            <!-- mover newslatter dentro de la nota inicio -->
 
1006                <style>
 
1007                    #mc_embed_signup.newsletterform {
 
1008                        background: #ffffff !important;
 
1009                        clear: left;
 
1010                        font: 14px Helvetica,Arial,sans-serif;
 
1011                        max-width: 550px;
 
1012                        min-height: 150px;
 
1013                        border-radius: 0px;
 
1014                        box-shadow: rgb(0 0 0 / 30%) 0 10px 10px, rgb(0 0 0 / 22%) 0 0 5px;
 
1015                        margin-inline: auto;
 
1016                        padding-block: 15px;
 
1017                        margin-top: 25px;
 
1018                    }
 
1019                    #mc_embed_signup.newsletterform h2 {
 
1020                        margin: 15px 0;
 
1021                        color: rgb(0, 0, 0);
 
1022                        font-size: 1.5rem!important;
 
1023                        font-family: "PT Serif",Georgia,serif!important;
 
1024                        font-weight: bolder!important;
 
1025                    }
 
1026                    #mc_embed_signup input.button {
 
1027                        top: -11px !important;
 
1028                        height: 40pxpx!important;
 
1029                        color: rgb(255, 255, 255) !important;
 
1030                        font-family: "PT Serif",Georgia,serif!important;
 
1031                        font-weight: bolder!important;
 
1032                        text-indent: 0 !important;
 
1033                        font-size: 1.2rem !important;
 
1034                        background-color: #000000!important;
 
1035                        background-image: none!important;
 
1036                        min-width: 95% !important;
 
1037                        border-radius: 0px !important;
 
1038                    }
 
1039
 
1040                    #mc_embed_signup.newsletterform {
 
1041                        height: 285px ;
 
1042                    }
 
1043                    #mc_embed_signup input.email{
 
1044                        min-height: 40px ;
 
1045                    }
 
1046                    @media screen and (min-width: 300px) and (max-width: 322px) {
 
1047                    #mc_embed_signup.newsletterform {
 
1048                        height: 353px !important;
 
1049                    }
 
1050                    .imagenescool{
 
1051                        padding-left: 0px;
 
1052                    }
 
1053                    }
 
1054                    @media screen and (min-width: 323px) and (max-width: 360px) {
 
1055                    #mc_embed_signup.newsletterform {
 
1056                        height: 333px !important;
 
1057                    }
 
1058                    .imagenescool{
 
1059                        padding-left: 0px;
 
1060                    }
 
1061                    }
 
1062                    @media screen and (min-width: 359px) and (max-width: 390px) {
 
1063                    #mc_embed_signup.newsletterform {
 
1064                        height: 315px !important;
 
1065                    }
 
1066                    .imagenescool{
 
1067                        padding-left: 0px;
 
1068                    }
 
1069                    }
 
1070                    @media screen and (min-width: 391px) and (max-width: 414px) {
 
1071                    #mc_embed_signup.newsletterform {
 
1072                        height: 310px ;
 
1073                    }
 
1074                    .imagenescool{
 
1075                        padding-left: 0px;
 
1076                    }
 
1077                    }
 
1078                    @media (max-width:460px){
 
1079                        .ImagenVanguardiaNewsL1{
 
1080                            height: 8vw !important;
 
1081                            margin-top: -14px !important;
 
1082                        }
 
1083                        .ImagenVanguardiaNewsL4{
 
1084                            margin-top: 7px !important;
 
1085                        }
 
1086                    }
 
1087                    @media (max-width:330px){
 
1088                        .columnaVanguardiaMovilNewsleters{
 
1089                            display: none !important;
 
1090                        }
 
1091                    }
 
1092                </style>
 
1093
 
1094<script>/*<![CDATA[*/
 
1095const mailchimpEmbedCookieDomain = '.vanguardia.com.mx';
 
1096const mailchimpEmbedDeleteCookie = (name, domain) => {
 
1097  document.cookie = `${name}=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;domain=${domain}`;
 
1098};
 
1099const getMailchimpEmbedCookie = (cname) => {
 
1100  let name = cname + '=';
 
1101  let decodedCookie = decodeURIComponent(document.cookie);
 
1102  let ca = decodedCookie.split(';');
 
1103  for (let i = 0; i < ca.length; i++) {
 
1104    let c = ca[i];
 
1105    while (c.charAt(0) === ' ') {
 
1106      c = c.substring(1);
 
1107    }
 
1108    if (c.indexOf(name) === 0) {
 
1109      return c.substring(name.length, c.length);
 
1110    }
 
1111  }
 
1112  return '';
 
1113};
 
1114
 
1115
 
1116document.addEventListener('DOMContentLoaded', function() {
 
1117  // Obtener el elemento <p> con la clase "p_4"
 
1118  const elementoP = document.querySelector('p.p_4');
 
1119
 
1120  if (elementoP) {
 
1121
 
1122    const token = getMailchimpEmbedCookie('_vuser');
 
1123    const _token = token.split('.')[1];
 
1124    const decodeToken = _token ? JSON.parse(atob(_token)) : undefined;
 
1125    console.log('decodeToken', decodeToken);
 
1126    if (decodeToken && !decodeToken.email) {
 
1127      mailchimpEmbedDeleteCookie('_vuser', mailchimpEmbedCookieDomain);
 
1128      return window.location.reload();
 
1129    }
 
1130
 
1131    const email = decodeToken && decodeToken.email ? decodeToken.email : undefined;
 
1132    // Insertar el bloque de código HTML después del elemento <p>
 
1133    const bloqueHTML = `<div>
 
1134
 
1135                                            <link href='//cdn-images.mailchimp.com/embedcode/slim-10_7.css' rel='stylesheet' type='text/css'>
 
1136                                            <style type='text/css'>
 
1137                                                .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
1138                                            </style>
 
1139                                            <div class='newsletterform' id='mc_embed_signup' style='margin-bottom: 30px; padding: 0px !important;border-radius: 5px;'>
 
1140                                                <div class='row imagenescool' style='background-color: #657838;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;'>
 
1141                                                    <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>
 
1142                                                    <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>
 
1143                                                </div>
 
1144                                                <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' target='_self' novalidate>
 
1145                                                    <div id='mc_embed_signup_scroll'>
 
1146                                                    <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. <strong>Regístrate ahora mismo.</strong></p>
 
1147 ${email ? '' : '<input style=\'margin: 0px 0% 10px 9px; !important\' type=\'email\' value=\'\' name=\'EMAIL\' class=\'email\' id=\'mce-EMAIL\' placeholder=\'Correo electrónico\' required>'}
 
1148
 
1149                                                    <div style='position: absolute; left: -5000px;' aria-hidden='true'><input type='text' name='b_372436c882786b2c9a8e7680a_51de90b277' tabindex='-1' value=''></div>
 
1150                                                    <div class='clear'><input type='submit' style='margin-top: 8px;right: 3% !important ;' value='Registrarme ahora' name='subscribe' id='mc-embedded-subscribe' class='button'></div>
 
1151                                                    </div>
 
1152                                                </form>
 
1153                                            </div>
 
1154                                        </div>`;
 
1155
 
1156    elementoP.insertAdjacentHTML('afterend', bloqueHTML);
 
1157  }
 
1158});
 
1159/*]]>*/</script>
 
1160                
 
1161            <!-- mover newslatter dentro de la nota fin -->
 
1162        </article>
 
1163	</div>
 
1164
 
1165</div>
 
1166<div class="cl"></div>
 
1167
 
1168<!-- apagar o encender scroll infinito -->
 
1169<div class="content-infinity-off">
 
1170<!-- apagar o encender scroll infinito -->
 
1171
 
1172</div>
 
1173
 
1174<script type="text/javascript" async="async">
 
1175if(isMobileEnvironment ==  false){
 
1176	if($(".ranking_infinity").size() > 0){
 
1177		$(".ranking_infinity").html($(".infinity_ranking .iter-tabview-content").html());
 
1178	}
 
1179}
 
1180</script>
 
1181
 
1182<script>
 
1183document.addEventListener("DOMContentLoaded", function() {
 
1184    var subheadline = document.querySelector("h2.subheadline");
 
1185    if (subheadline) {
 
1186        subheadline.insertAdjacentHTML('afterend', '<div id="impactify-screen-static"></div>');
 
1187        }
 
1188});
 
1189</script>
 
1190<script>
 
1191    window.impactifyTag = window.impactifyTag || [];
 
1192    impactifyTag.push({
 
1193    "appId": "642DCECC20D79-UID.vanguardia.com.mx",
 
1194    "format": "screen",
 
1195    "style": "static",
 
1196    "onNoAd": function(){}
 
1197});
 
1198    (function(d, s, id) {
 
1199        var js, ijs = d.getElementsByTagName(s)[0];
 
1200        if (d.getElementById(id)) return;
 
1201        js = d.createElement(s); js.id = id;
 
1202        js.src = 'https://ad.impactify.io/static/ad/tag.js';
 
1203        ijs.parentNode.insertBefore(js, ijs);
 
1204     }(document, 'script', 'impactify-sdk'));
 
1205</script>
 
1206##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1207##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1208#*
 
1209#if($iterVelocityTools.getVelocityVariable("teaseritemposition") != 1)
 
1210		#set($TituloEsc = $htmlUtil.escape($!Headline.data))
 
1211		#set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
 
1212		#set ($tempSubheadline = "#getTeaserSubheadline(false)")
 
1213		#if($tempSubheadline && $tempSubheadline != "")
 
1214			#set($Texto = $tempSubheadline )
 
1215		#else
 
1216			#set($Texto = "#dameText(200)" )
 
1217		#end	
 
1218		#set($Texto = $Texto.replaceAll("<.*?>","") )
 
1219		#set($Texto = $Texto.trim() )
 
1220		#set($TextoEsc = $htmlUtil.escape($Texto))	
 
1221		#set($logo = "$iterVelocityTools.getVariable('0','logo_datos')" )
 
1222		#set($logo = $logo.trim() )
 
1223		#set($logo = $htmlUtil.escape($logo))
 
1224		#set($logo = $logo.replaceAll("/","\/") )
 
1225		#set($section = "")
 
1226		#set($section_url = "")
 
1227		#set($ac-sectionDateFrom =  $articleContext.selectNodes('articlectx/sections//section[@from]'))
 
1228		#if($ac-sectionDateFrom && $ac-sectionDateFrom.size() > 0)
 
1229			#foreach ($atrib in $ac-sectionDateFrom.get(0).attributes()  )
 
1230				#if($atrib.name == "name")
 
1231					#set($section = $!atrib.data)
 
1232				#end
 
1233				#if($atrib.name == "url")
 
1234					#set($section_url = $!atrib.data)
 
1235				#end
 
1236				
 
1237			#end
 
1238		#end
 
1239		## ***************AUTOR ********************
 
1240		#set($autorfinal = "")
 
1241		#set($urlautorfinal = "")
 
1242		#if($hmAutores.size() > 0)
 
1243			#set($hmAutor = $hmAutores.get(0))
 
1244			#set($autorfinal = $hmAutor.name)
 
1245			#set($autorfinalEsc = $htmlUtil.escape($autorfinal))	
 
1246			#set($urlautorfinal = "#metadataUrl_v1('autor')${hmAutor.friendlyname}")
 
1247		#end
 
1248		#if($autorfinal == "")
 
1249			#set($autorfinal = "Vanguardia")
 
1250		#end
 
1251		#set($ac-url = $articleContext.selectNodes('articlectx/url'))
 
1252		#set($xml-url = $ac-url.get(0).text)
 
1253		#set($url_actual = $!xml-url )
 
1254
 
1255
 
1256		<!-- ITEMS EN PAGINA  fullaccess: $fullaccess -->
 
1257		<meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
 
1258		<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
 
1259			<meta itemprop="url" content="https://vanguardia.com.mx/" />
 
1260			<meta itemprop="name" content="Vanguardia" />
 
1261			<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
1262				<meta itemprop="url" content="$iterVelocityTools.getVariable('0','logo_datos')" />
 
1263				<meta itemprop="width" content="600" />
 
1264				<meta itemprop="height" content="60" />
 
1265			</div>
 
1266		</div>
 
1267
 
1268
 
1269##METAS TWITTER
 
1270
 
1271#set($metaTW = {})
 
1272#set($temp = $metaTW.put("property","twitter:card"))
 
1273#set($temp = $metaTW.put("content", "summary_large_image"))
 
1274$iterVelocityTools.addMetaTag( $metaTW )
 
1275
 
1276#set($metaTW = {})
 
1277#set($temp = $metaTW.put("property","twitter:site"))
 
1278#set($temp = $metaTW.put("content", "vanguardiamx"))
 
1279$iterVelocityTools.addMetaTag( $metaTW )
 
1280
 
1281#set($metaTW = {})
 
1282#set($temp = $metaTW.put("property","twitter:title"))
 
1283#set($temp = $metaTW.put("content", "$!TituloEsc"))
 
1284$iterVelocityTools.addMetaTag( $metaTW )
 
1285
 
1286#set($metaTW = {})
 
1287#set($temp = $metaTW.put("property","twitter:description"))
 
1288#set($temp = $metaTW.put("content", "$TextoEsc"))
 
1289$iterVelocityTools.addMetaTag( $metaTW )
 
1290
 
1291#if($pub_imagen != "")
 
1292	#set($metaTW = {})
 
1293	#set($temp = $metaTW.put("property","twitter:image"))
 
1294	#set($temp = $metaTW.put("content", "$pub_imagen"))
 
1295	$iterVelocityTools.addMetaTag( $metaTW )
 
1296#end
 
1297
 
1298#set($metaTW = {})
 
1299#set($temp = $metaTW.put("property","twitter:url"))
 
1300#set($temp = $metaTW.put("content", "https://twitter.com/vanguardiamx"))
 
1301$iterVelocityTools.addMetaTag( $metaTW )
 
1302
 
1303#set($metaTW = {})
 
1304#set($temp = $metaTW.put("property","twitter:domain"))
 
1305#set($temp = $metaTW.put("content", "https://vanguardia.com.mx"))
 
1306$iterVelocityTools.addMetaTag( $metaTW )
 
1307
 
1308
 
1309
 
1310#end
 
1311*#
 
1312##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1313##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
Seleccione los productos:
Lo destacado