Informe de Sistemas de Pago
Informe de Sistemas de Pago
.
An error occurred while processing the template.
The following has evaluated to null or missing: ==> journalAssetData.classPK [in template "33501#33537#3656565" at line 61, column 80] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign articleResourcePK = journalAr... [in template "33501#33537#3656565" at line 61, column 5] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleResourceLocalService")/>
2<#assign journalArticleLocalServiceUtils = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")/>
3
4<#function extractJsonValue(jsonStr, key)>
5 <#list jsonStr?split(',"') as pair>
6 <#if pair?contains('"' + key + '":')>
7 <#return pair?split(':')[1]?trim?replace("\"", "")?replace("}", "")>
8 </#if>
9 </#list>
10 <#return "">
11</#function>
12
13
14<#list entries as entry>
15 <#assign docXml = saxReaderUtil.read(entry.getAssetRenderer().getArticle().getContentByLocale(locale.toString())) />
16 <#assign assetRenderer = entry.getAssetRenderer() />
17 <#assign journalArticle = assetRenderer.getArticle() />
18 <#assign idArticle = journalArticle.getArticleId() />
19 <#assign viewURL = renderResponse.createRenderURL() />
20 <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse,entry, false) />
21 <#assign contadorurl = 0>
22 <#assign viewURLs="" />
23
24
25 <#list viewURL?split("/-/asset") as x>
26 <#if contadorurl == 0>
27 <#assign viewURLs = x />
28 </#if>
29 <#assign contadorurl = contadorurl +1>
30 </#list>
31
32
33
34
35 <#assign titulo ="" />
36 <#if docXml.getRootElement ().selectSingleNode("dynamic-element[@name='titulo']/dynamic-content")?? >
37 <#assign titulo = docXml.getRootElement ().selectSingleNode("dynamic-element[@name='titulo']/dynamic-content") />
38 </#if>
39 <#assign resumen ="" />
40 <#if docXml.getRootElement ().selectSingleNode("dynamic-element[@name='resumenContenidoWeb']/dynamic-content")?? >
41 <#assign resumen = docXml.getRootElement ().selectSingleNode("dynamic-element[@name='resumenContenidoWeb']/dynamic-content") />
42 </#if>
43
44
45 <#assign tituloComunicadoRpm ="" />
46 <#if docXml.getRootElement ().selectSingleNode("dynamic-element[@name='tituloComunicadoRPM']/dynamic-content")?? >
47 <#assign tituloComunicadoRpm = docXml.getRootElement ().selectSingleNode("dynamic-element[@name='tituloComunicadoRPM']/dynamic-content") />
48 </#if>
49
50
51
52
53 <#assign comunicados ="" />
54 <#if docXml.getRootElement ().selectSingleNode("dynamic-element[@name='comunicadosRPM']/dynamic-content")?? >
55 <#assign comunicados = docXml.getRootElement ().selectSingleNode("dynamic-element[@name='comunicadosRPM']/dynamic-content") />
56 </#if>
57
58 <#assign urlResumen = "" />
59 <#if resumen.data?has_content >
60 <#assign journalAssetData = resumen.data?eval />
61 <#assign articleResourcePK = journalArticleLocalService.getArticleResource(journalAssetData.classPK?number) />
62 <#assign articleAd = journalArticleLocalServiceUtils.getLatestArticle(getterUtil.getLong(journalAssetData.classPK, 0)) />
63 <#assign urlResumen = articleAd.getUrlTitle() />
64 </#if>
65
66
67
68 <#assign urlComunicados = "" />
69 <#assign urlComunicadosTitle = "" />
70 <#if comunicados.getData()?has_content >
71 <#assign replacementJournalAssetData = comunicados.getData()?replace("\\u2013", "")?trim?string />
72 <#assign journalAssetData = replacementJournalAssetData?eval />
73
74
75 <#if journalAssetData.classPK??>
76 <#if serviceLocator.findService("com.liferay.journal.service.JournalArticleResourceLocalService")??>
77 <#if journalArticleLocalService?? && journalArticleLocalService?has_content >
78 <#if journalArticleLocalService.getArticleResource(journalAssetData.classPK?number)?? >
79
80 <#assign articleResourcePK = journalArticleLocalService.getArticleResource(journalAssetData.classPK?number) />
81 <#assign articleAd = journalArticleLocalServiceUtils.getLatestArticle(getterUtil.getLong(journalAssetData.classPK, 0)) />
82 <#assign urlComunicados = articleAd.getUrlTitle() />
83 <#assign urlComunicadosTitle = articleAd.getTitle() />
84 </#if>
85 </#if>
86 </#if>
87 </#if>
88</#if>
89
90 <#assign descripcion ="" />
91 <#if docXml.getRootElement ().selectSingleNode("dynamic-element[@name='descripcion']/dynamic-content")?? >
92 <#assign descripcion = docXml.getRootElement ().selectSingleNode("dynamic-element[@name='descripcion']/dynamic-content") />
93 </#if>
94
95
96 <#assign imagen ="" />
97 <#if docXml.getRootElement ().selectSingleNode("dynamic-element[@name='imagen']/dynamic-content")?? >
98 <#assign imagen = docXml.getRootElement ().selectSingleNode("dynamic-element[@name='imagen']/dynamic-content") />
99 </#if>
100
101
102 <#assign encuesta ="" />
103 <#if docXml.getRootElement ().selectSingleNode("dynamic-element[@name='encuesta']/dynamic-content")?? >
104 <#assign encuesta = docXml.getRootElement ().selectSingleNode("dynamic-element[@name='encuesta']/dynamic-content") />
105 </#if>
106
107
108 <!-- CAJAS DE ENLACES -->
109<div class="row py-4 px-5">
110 <div class="container-corp">
111
112 <#assign cajasDeEnlacesFieldSets = docXml.getRootElement().selectNodes("dynamic-element[@name='cajasDeEnlacesFieldSet']") />
113 <#list cajasDeEnlacesFieldSets as cajasDeEnlacesFieldSet>
114
115 <#assign cajaEnlace = cajasDeEnlacesFieldSet.selectSingleNode("dynamic-element[@name='cajasDeEnlacesFieldSetFieldSet']") />
116
117
118 <#assign tituloCaja = cajaEnlace.selectSingleNode("dynamic-element[@name='tituloCaja']/dynamic-content") />
119
120 <div class="col-md-12 clearfix journal-content-article" data-analytics-asset-id="152425" data-analytics-asset-title="EstadÃsticas-Cajas con enlaces internos-Cuentas Nacionales" data-analytics-asset-type="web-content" style="display: inline-block; float: left;">
121
122 <div class="container">
123 <div class="row">
124 <div class="col-12">
125
126 <#if tituloCaja.data?has_content >
127 <h3 class="fourth-title c-blue-1 f-opensans-bold mb-6">
128 ${tituloCaja.data}
129 </h3>
130 </#if>
131
132 </div>
133 <div class="col-12 bg-grey-5 pt-7 pb-3 rounded-common mb-10" >
134 <div class="row">
135 <div class="col-12 col-md-10 offset-md-1">
136 <article>
137
138 <ul class="listcorp listCorpAbajo row listcorp-anclas" style="list-style: none;">
139
140 <#assign enlaceFieldSets = cajaEnlace.selectNodes("dynamic-element[@name='enlaceFieldSet']") />
141
142 <#list enlaceFieldSets as enlace>
143
144 <#assign enlaces = enlace.selectSingleNode("dynamic-element[@name='enlaceFieldSetFieldSet']") />
145
146 <#assign friendly_page_link4 = "" />
147 <#assign tituloEnlace = "" />
148 <#assign enlaceAPagina = "" />
149 <#assign linkPageId = "" />
150 <#assign linkPrivate = "" />
151 <#assign linkGroupId = "" />
152 <#assign enlaceAPaginaHasContent = "" />
153
154 <#assign tituloEnlace = enlaces.selectSingleNode("dynamic-element[@name='tituloEnlace']/dynamic-content") />
155 <#assign enlaceAPagina = enlaces.selectSingleNode("dynamic-element[@name='enlaceAPagina']/dynamic-content") />
156 <#assign urlInternaEscrita = enlaces.selectSingleNode("dynamic-element[@name='urlInternaEscrita']/dynamic-content") />
157 <#assign enlaceAUrlExterna = enlaces.selectSingleNode("dynamic-element[@name='enlaceAUrlExterna']/dynamic-content") />
158 <#assign ancla = enlaces.selectSingleNode("dynamic-element[@name='ancla']/dynamic-content") />
159
160 <#assign enlaceGroupId = extractJsonValue(enlaceAPagina.data, 'groupId')>
161 <#assign enlacePrivateLayout = extractJsonValue(enlaceAPagina.data, 'privateLayout')>
162 <#assign enlaceLayoutId = extractJsonValue(enlaceAPagina.data, 'layoutId')>
163
164
165 <#if enlaceLayoutId?has_content>
166 <#assign enlaceAPaginaHasContent = "true" />
167 <#-- get layout -->
168 <#assign layoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") />
169 <#assign layout = layoutService.getLayout(enlaceGroupId, enlacePrivateLayout, enlaceLayoutId) />
170
171 <#-- get Friendly URL -->
172 <#assign portalUtil = serviceLocator.findService("com.liferay.portal.kernel.util.PortalUtil") />
173 <#assign friendly_page_link4 = portalUtil.getLayoutFriendlyURL(layout, themeDisplay)?? />
174 </#if>
175
176 <#if tituloEnlace.getData()?has_content >
177 <#if friendly_page_link4?has_content>
178 <li class="col-12 col-md-6"><a href="${friendly_page_link4?c}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM ${tituloEnlace.data}', 'clic')">${tituloEnlace.data}</a></li>
179 <#elseif tituloEnlace.data?has_content && enlaceAPaginaHasContent?has_content>
180 <li class="col-12 col-md-6"><a href="${enlaceAPagina.data}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM ${tituloEnlace.data}', 'clic')">${tituloEnlace.data}</a>(${ancla.data})</li>
181 <#elseif tituloEnlace.data?has_content && ancla.data?has_content>
182 <li class="col-12 col-md-6"><a href="${ancla.data}" class="ancla" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM ${tituloEnlace.data}', 'clic')">${tituloEnlace.data}</a></li>
183 <#elseif tituloEnlace.data?has_content >
184 <li class="col-12 col-md-6"><a href="" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM ${tituloEnlace.data}', 'clic')">${tituloEnlace.data}</a></li>
185 </#if>
186 </#if>
187 </#list>
188 </ul>
189 </article>
190 </div> <!-- fin col 12-->
191 </div>
192 </div>
193
194
195
196
197
198
199
200
201
202 </div>
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271 </div>
272
273
274 </div>
275
276 </#list>
277 </div>
278</div><!-- FIN CAJAS ENLACES -->
279
280
281
282
283
284
285<div class="container">
286 <div class="container-corp">
287 <div class="row-wrap">
288
289
290 <div class="row">
291 <#if titulo.data?has_content >
292 <h2 class="second-title f-opensans-regular c-blue-2 mb-0" style="padding-bottom: 24px;">${titulo.data}</h2>
293 </#if>
294 </div>
295
296
297 <div class="row">
298 <#if imagen.data?has_content && imagen.data != "">
299 <#assign imagenPrin = imagen.data?eval />
300 <#if imagenPrin.fileEntryId?has_content >
301 <#assign entryId = imagenPrin.fileEntryId />
302 </#if>
303 <#assign imagenFinal = "/documents/"+imagenPrin.groupId+"/"+entryId+"/"+imagenPrin.name+"/"+imagenPrin.uuid />
304 <div class="col-md-4 py-4">
305 <img src="${imagenFinal}" alt="Informe de PolÃtica monetaria">
306 </div>
307 </#if>
308 <#if descripcion.data?has_content >
309 <div class="col-md-8">
310 <p class="text-justify">
311 ${descripcion.data}
312 </p>
313 </div>
314 </#if>
315 </div>
316
317
318
319
320
321 <div class="row my-4 align-items-center">
322 <div class="col-md-4 py-4">
323 <#assign ipoms = docXml.getRootElement().selectNodes("//dynamic-element[@name='ipomFieldSetFieldSet']") />
324
325
326 <#list ipoms as ipo>
327 <#assign tituloArchivoIpom = ipo.selectSingleNode("dynamic-element[@name='tituloArchivoIpom']/dynamic-content") />
328 <#assign archivoIPOM = ipo.selectSingleNode("dynamic-element[@name='archivoIPOM']/dynamic-content") />
329
330 <#if archivoIPOM.data?has_content >
331 <#assign archivoIpom = archivoIPOM.data?eval />
332 <#if archivoIpom.fileEntryId?has_content >
333 <#assign entryId = archivoIpom.fileEntryId />
334 </#if>
335 <#assign archivoIpomFinal = "/documents/"+archivoIpom.groupId+"/"+entryId+"/"+archivoIpom.title+"/"+archivoIpom.uuid />
336 <a href="${archivoIpomFinal}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/DesDoc ${tituloArchivoIpom.data}', 'clic')" class="linkdoc" data-senna-off="true" target="_blank"
337 title="${tituloArchivoIpom.data}">
338 <div class="linkdoc-colimg linkdoc-pdf"></div>
339 <div class="linkdoc-coltext">
340 <p class="linkdoc-text">${tituloArchivoIpom.data}</p>
341 </div>
342 </a>
343 </#if>
344 </#list>
345 </div>
346 <div class="col-md-4">
347 <ul class="listcorp listcorp-featured listCorpDerecha">
348 <li class="">
349 <#if urlResumen?has_content && urlResumen != "" >
350
351 <#if locale == "es_ES" >
352 <a href="/resumen-ipom/-/detalle/${urlResumen}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/LEnl Ver resumen', 'clic')" class="mt-5">
353 Ver resumen
354 <#else>
355
356
357 <a href="/en/resumen-ipom/-/detalle/${urlResumen}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/LEnl Ver resumen', 'clic')" class="mt-5">
358 See summary
359 </#if>
360
361
362 </a>
363 </#if>
364 </li>
365 </ul>
366 </div>
367 <div class="col-md-4">
368 <ul class="listcorp listcorp-featured listCorpDerecha">
369 <li class="">
370 <#if urlComunicados?has_content && urlComunicados != "" >
371 <#if locale == "es_ES" >
372
373 <a href="/contenido/-/detalle/${urlComunicados}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/LEnl ${urlComunicadosTitle}', 'clic')" class="mt-5">
374 <#else>
375
376 <a href="/en/content/-/detalle/${urlComunicados}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/LEnl ${urlComunicadosTitle}', 'clic')" class="mt-5">
377 </#if>
378
379 <#if tituloComunicadoRpm.data?has_content >
380 ${tituloComunicadoRpm.data}
381 </#if>
382 </a>
383 </#if>
384 </li>
385 </ul>
386 </div>
387 </div>
388
389 </div>
390 </div>
391</div>
392 <!-- CERRAMOS DIV CONTAINER -->
393
394
395
396
397
398
399<!-- Container de Qué nos dice este IPoM -->
400<div class="container">
401 <div class="container-corp">
402 <div class="row-wrap">
403 <#assign informacionPrincipal = docXml.getRootElement().selectNodes("//dynamic-element[@name='informacionPrincipalFieldSetFieldSet']") />
404 <#list informacionPrincipal as infoPrincipal>
405 <#assign anclaBajoImagenes = "" />
406 <#assign tituloInfo = infoPrincipal.selectSingleNode("dynamic-element[@name='tituloInfo']/dynamic-content") />
407 <#assign urlVideo = infoPrincipal.selectSingleNode("dynamic-element[@name='urlVideo']/dynamic-content") />
408 <#assign anclaBajoImagenes = infoPrincipal.selectSingleNode("dynamic-element[@name='anclaBajoImagenes']/dynamic-content") />
409 <#assign anclaTituloSeccion = infoPrincipal.selectSingleNode("dynamic-element[@name='idParaAncla']/dynamic-content") />
410 <#if anclaTituloSeccion.data?has_content && anclaTituloSeccion.data != "">
411 <div class="row" id="${anclaTituloSeccion.data}" >
412 <#else>
413 <div class="row" >
414 </#if>
415 <#if tituloInfo.data?has_content >
416 <h4 class="my-4 c-blue-2">${tituloInfo.data}</h4>
417 </#if>
418 </div>
419
420 <div class="row borde-abajo pb-5">
421 <#assign imagenesAnclas = infoPrincipal.selectNodes("//dynamic-element[@name='imagenesAnclasFieldSetFieldSet']") />
422 <#list imagenesAnclas as imagenesPrin>
423 <#assign imagenAncla = imagenesPrin.selectSingleNode("dynamic-element[@name='imagenAncla']/dynamic-content") />
424 <#assign textoSuperior = imagenesPrin.selectSingleNode("dynamic-element[@name='textoSuperior']/dynamic-content") />
425 <#assign tituloTextoInferior = imagenesPrin.selectSingleNode("dynamic-element[@name='tituloTextoInferior']/dynamic-content") />
426 <#assign textoInferior = imagenesPrin.selectSingleNode("dynamic-element[@name='textoInferior']/dynamic-content") />
427 <#assign anclaImagenes = imagenesPrin.selectSingleNode("dynamic-element[@name='anclaImagenes']/dynamic-content") />
428 <div class="col-md-3">
429 <#if imagenAncla.data?has_content && imagenAncla.data != "">
430 <#assign imagenPrin2 = imagenAncla.data?eval />
431 <#if imagenPrin2.fileEntryId?has_content >
432 <#assign entryId = imagenPrin2.fileEntryId />
433 </#if>
434 <#assign imagenFinal2 = "/documents/"+imagenPrin2.groupId+"/"+entryId+"/"+imagenPrin2.name+"/"+imagenPrin2.uuid />
435 <a href="${anclaImagenes.data}" class="ancla">
436 <img class="img-3" src="${imagenFinal2}" alt="${textoSuperior.data}">
437 </a>
438 <p class="text-center">${textoSuperior.data}</p>
439 </#if>
440 </div>
441 </#list>
442 </div>
443
444
445 <div class="row my-5 borde-abajo">
446 <#assign imagenesLaterales = infoPrincipal.selectNodes("//dynamic-element[@name='imagenesLateralesFieldSetFieldSet']") />
447 <#list imagenesLaterales as imgLaterales>
448
449
450 <#assign imagenLateral = imgLaterales.selectSingleNode("dynamic-element[@name='imagenLateral']/dynamic-content") />
451 <#assign tituloLateral = imgLaterales.selectSingleNode("dynamic-element[@name='tituloLateral']/dynamic-content") />
452 <#assign anclaImagenesLaterales = imgLaterales.selectSingleNode("dynamic-element[@name='anclaImagenesLaterales']/dynamic-content") />
453
454
455 <div class="col-md-3 mb-5 pb-7" id="${anclaImagenesLaterales.data}"">
456 <#if imagenLateral.data?has_content && imagenLateral.data != "">
457 <#assign imagenPrin3 = imagenLateral.data?eval />
458 <#if imagenPrin3.fileEntryId?has_content >
459 <#assign entryId = imagenPrin3.fileEntryId />
460 </#if>
461 <#assign imagenFinal3 = "/documents/"+imagenPrin3.groupId+"/"+entryId+"/"+imagenPrin3.name+"/"+imagenPrin3.uuid />
462 <img class="img-3" src="${imagenFinal3}" alt="${tituloLateral.data}">
463 </#if>
464 </div>
465
466
467
468 <#assign listaLateral = imgLaterales.selectNodes("dynamic-element[@name='listaLateralFieldSet']") />
469
470
471
472
473 <div class="col-md-9 pb-7">
474 <#if tituloLateral.data?has_content && tituloLateral.data != "">
475 <h4 class="c-blue-2 text-justify">${tituloLateral.data}</h4>
476 </#if>
477 <ul>
478 <#list listaLateral as listLateral>
479 <#assign listFields = listLateral.selectNodes("dynamic-element[@name='listaLateralFieldSetFieldSet']")>
480 <#list listFields as list>
481
482 <#assign bajadaLateral = list.selectSingleNode("dynamic-element[@name='bajadaLateral']/dynamic-content") />
483
484 <#if bajadaLateral.data?has_content && bajadaLateral.data != "">
485 <li>${bajadaLateral.data}</li>
486 </#if>
487 </#list>
488 </#list>
489 </ul>
490 </div>
491 </#list>
492 </div>
493
494
495
496
497 <div class="row pb-7" id="${anclaBajoImagenes.data}" >
498 <#if urlVideo.data?has_content >
499 <div class="col-md-5">
500 <iframe width="100%" height="300" src="${urlVideo.data}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
501 </div>
502 <#assign archivosDescargables = infoPrincipal.selectNodes("//dynamic-element[@name='archivosDescargablesFieldSetFieldSet']") />
503 <div class="col-md-7 row">
504
505
506
507 <#list archivosDescargables as arcDescargables>
508
509
510 <#assign tituloArchivo = arcDescargables.selectSingleNode("dynamic-element[@name='tituloArchivo']/dynamic-content") />
511 <#assign archivo = arcDescargables.selectSingleNode("dynamic-element[@name='archivo']/dynamic-content") />
512
513
514 <div class="col-md-6 plan mb-5 ">
515 <#if archivo.data?has_content && archivo.data != "" >
516 <#assign archivoFinal = archivo.data?eval />
517 <#if archivoFinal.fileEntryId?has_content >
518 <#assign entryId = archivoFinal.fileEntryId />
519 </#if>
520 <#assign archivoFinalFinal = "/documents/"+archivoFinal.groupId+"/"+entryId+"/"+archivoFinal.title+"/"+archivoFinal.uuid />
521
522
523 <a href="${archivoFinalFinal}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/DesDoc ${tituloArchivo.data}', 'clic')" class="linkdoc" data-senna-off="true" target="_blank"
524 title="Plan Estratégico 2018-2022">
525 <div class="linkdoc-colimg linkdoc-pdf"></div>
526 <div class="linkdoc-coltext">
527 <p class="linkdoc-text">${tituloArchivo.data}</p>
528 </div>
529 </a>
530 </#if>
531 </div>
532 </#list>
533 </div>
534
535
536 <#else>
537
538
539 <!-- SI no trae Video -->
540 <#assign archivosDescargables = infoPrincipal.selectNodes("//dynamic-element[@name='archivosDescargablesFieldSetFieldSet']") />
541 <#list archivosDescargables as arcDescargables>
542
543
544 <#assign tituloArchivo = arcDescargables.selectSingleNode("dynamic-element[@name='tituloArchivo']/dynamic-content") />
545 <#assign archivo = arcDescargables.selectSingleNode("dynamic-element[@name='archivo']/dynamic-content") />
546
547
548 <div class="col-md-6 plan mb-5">
549 <#if archivo.data?has_content && archivo.data != "" >
550 <#assign archivoFinal = archivo.data?eval />
551 <#if archivoFinal.fileEntryId?has_content >
552 <#assign entryId = archivoFinal.fileEntryId />
553 </#if>
554 <#assign archivoFinalFinal = "/documents/"+archivoFinal.groupId+"/"+entryId+"/"+archivoFinal.title+"/"+archivoFinal.uuid />
555
556
557 <a href="${archivoFinalFinal}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/DesDoc ${tituloArchivo.data}', 'clic')" class="linkdoc" data-senna-off="true" target="_blank"
558 title="Plan Estratégico 2018-2022">
559 <div class="linkdoc-colimg linkdoc-pdf"></div>
560 <div class="linkdoc-coltext">
561 <p class="linkdoc-text">${tituloArchivo.data}</p>
562 </div>
563 </a>
564 </#if>
565 </div>
566 </#list>
567
568 </#if>
569
570
571 </div>
572 </#list>
573
574
575 </div>
576 </div>
577</div> <!-- FIN SECCION IMAGENES -->
578
579
580<!-- INICIO GRIS VIDEOS -->
581<#assign videos = docXml.getRootElement().selectNodes("//dynamic-element[@name='videosFieldSetFieldSet']") />
582
583
584<#list videos as secVideo>
585 <#assign tituloSeccionVideos = secVideo.selectSingleNode("dynamic-element[@name='tituloSeccionVideos']/dynamic-content") />
586 <#assign anclaVideo = secVideo.selectSingleNode("dynamic-element[@name='anclaVideo']/dynamic-content") />
587
588
589 <#if anclaVideo.data?has_content>
590 <div class="row py-4 bg-grey-5" id="${anclaVideo.data}">
591 <div class="container-corp">
592 <div class="col-md-12">
593 <#if tituloSeccionVideos.data?has_content && tituloSeccionVideos.data != "">
594 <h5 class="c-blue-2 text-justify">${tituloSeccionVideos.data}</h5>
595 </#if>
596 </div>
597 </div>
598 </div>
599 </#if>
600
601 <div class="row bg-grey-5 justify-content-center">
602 <div class="container-corp">
603 <div class="row">
604 <#assign video = secVideo.selectNodes("//dynamic-element[@name='videoFieldSetFieldSet']") />
605
606
607 <#list video as videoPrincipal>
608
609
610 <#assign tituloVideo = videoPrincipal.selectSingleNode("dynamic-element[@name='tituloVideo']/dynamic-content") />
611 <#assign urlVideo2 = videoPrincipal.selectSingleNode("dynamic-element[@name='urlVideo2']/dynamic-content") />
612
613 <#if tituloVideo.data?has_content>
614 <div class="col-md-5">
615
616 <div class="col-md-12">
617 <iframe width="100%" height="300" src="${urlVideo2.data}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
618 <h6>${tituloVideo.data}</h6>
619 </div>
620 </div>
621
622 </#if>
623
624
625 </#list>
626 </div>
627 </div>
628
629
630
631 </div> <!-- fin row bg-grey-5 justify-content-center -->
632</#list>
633
634<#assign presentaciones = docXml.getRootElement().selectNodes("//dynamic-element[@name='presentacionesFieldSetFieldSet']") />
635
636 <#list presentaciones as presentacioness>
637
638
639 <#assign titulopresentaciones = presentacioness.selectSingleNode("dynamic-element[@name='titulopresentaciones']/dynamic-content") />
640 <#assign anclaPresentacion = presentacioness.selectSingleNode("dynamic-element[@name='anclaPresentacion']/dynamic-content") />
641
642
643 <div class="row py-4 bg-grey-5" <#if anclaPresentacion.data?has_content && anclaPresentacion.data != ""> id="${anclaPresentacion.data}" </#if>>
644 <div class="container-corp">
645 <#if titulopresentaciones.data?has_content && titulopresentaciones.data != "">
646 <div class="col-md-12">
647 <h5 class="c-blue-2 text-justify" >${titulopresentaciones.data}</h5>
648 </div>
649 </#if>
650 <div class="col-md-12">
651 <ul class="listcorp">
652 <#assign presentacion = presentacioness.selectNodes("//dynamic-element[@name='presentacionFieldSetFieldSet']") />
653
654
655 <#list presentacion as presentacionn>
656 <#assign friendly_page_link = "" />
657 <#assign textoPresentacion = "" />
658 <#assign enlacePaginaPresentacion = "" />
659 <#assign linkPageId = "" />
660 <#assign linkPrivate = "" />
661 <#assign linkGroupId = "" />
662 <#assign enlaceAPaginaHasContentPresentacion = "" />
663
664
665 <#assign textoPresentacion = presentacionn.selectSingleNode("dynamic-element[@name='textoPresentacion']/dynamic-content") />
666 <#assign enlacePaginaPresentacion = presentacionn.selectSingleNode("dynamic-element[@name='enlacePaginaPresentacion']/dynamic-content") />
667 <#assign enlaceInternoEscritoPresentacion = presentacionn.selectSingleNode("dynamic-element[@name='enlaceInternoEscritoPresentacion']/dynamic-content") />
668 <#assign enlaceExternoPresentacion = presentacionn.selectSingleNode("dynamic-element[@name='enlaceExternoPresentacion']/dynamic-content") />
669
670
671 <#assign enlaceGroupIdPresentacion = extractJsonValue(enlacePaginaPresentacion.data, 'groupId')>
672 <#assign enlacePrivateLayoutPresentacion = extractJsonValue(enlacePaginaPresentacion.data, 'privateLayout')>
673 <#assign enlaceLayoutIdPresentacion = extractJsonValue(enlacePaginaPresentacion.data, 'layoutId')>
674
675 <#if enlaceLayoutIdPresentacion?has_content>
676 <#assign enlaceAPaginaHasContentPresentacion = "true" />
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699 <#-- get layout -->
700 <#assign layoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") />
701 <#assign layout = layoutService.getLayout(enlaceGroupIdPresentacion, enlacePrivateLayoutPresentacion, enlaceLayoutIdPresentacion) />
702
703
704
705 <#-- get Friendly URL -->
706 <#assign portalUtil = serviceLocator.findService("com.liferay.portal.kernel.util.PortalUtil") />
707 <#assign friendly_page_link = portalUtil.getLayoutFriendlyURL(layout, themeDisplay)?? />
708 </#if>
709
710 <#if textoPresentacion.getData()?has_content >
711 <#if friendly_page_link?has_content>
712 <li><a href="${friendly_page_link?c}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/LEnl ${textoPresentacion.data}', 'clic')">${textoPresentacion.data}</a></li>
713 <#elseif enlaceInternoEscritoPresentacion.data != "">
714 <li><a href="${enlaceInternoEscritoPresentacion.data}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/LEnl ${textoPresentacion.data}', 'clic')">${textoPresentacion.data}</a></li>
715 <#elseif enlaceExternoPresentacion.data?has_content>
716 <li><a href="${enlaceExternoPresentacion.data}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/LEnl ${textoPresentacion.data}', 'clic')">${textoPresentacion.data}</a></li>
717 </#if>
718 </#if>
719 </#list>
720 </ul>
721 </div>
722 </div>
723
724 </div>
725 </#list>
726
727 <#assign notaDePrensa = docXml.getRootElement().selectNodes("//dynamic-element[@name='notaDePrensaFieldSetFieldSet']") />
728
729 <#list notaDePrensa as nDePrensa>
730
731
732 <#assign tituloNotaPrensa = "" />
733 <#assign anclaNotasPrensa = "" />
734
735
736 <#assign tituloNotaPrensa = nDePrensa.selectSingleNode("dynamic-element[@name='tituloNotaPrensa']/dynamic-content") />
737 <#assign anclaNotasPrensa = nDePrensa.selectSingleNode("dynamic-element[@name='anclaNotasPrensa']/dynamic-content") />
738
739
740 <div class="row py-4 bg-grey-5" <#if anclaNotasPrensa.data?has_content && anclaNotasPrensa.data != ""> id="${anclaNotasPrensa.data}" </#if>>
741 <div class="container-corp">
742 <#if tituloNotaPrensa.data?has_content && tituloNotaPrensa.data != "">
743 <div class="col-md-12">
744 <h5 class="c-blue-2 text-justify" >${tituloNotaPrensa.data}</h5>
745 </div>
746 </#if>
747 <div class="col-md-12">
748 <ul class="listcorp">
749 <#assign notaPrensa = nDePrensa.selectNodes("//dynamic-element[@name='notaPrensaFieldSetFieldSet']") />
750
751 <#list notaPrensa as nPrensaInt>
752 <#assign friendly_page_link1 = "" />
753 <#assign textoNotaPrensa = "" />
754 <#assign enlacePaginaNotaPrensa = "" />
755 <#assign linkPageId = "" />
756 <#assign linkPrivate = "" />
757 <#assign linkGroupId = "" />
758
759
760 <#assign textoNotaPrensa = nPrensaInt.selectSingleNode("dynamic-element[@name='textoNotaPrensa']/dynamic-content") />
761 <#assign enlacePaginaNotaPrensa = nPrensaInt.selectSingleNode("dynamic-element[@name='enlacePaginaNotaPrensa']/dynamic-content") />
762 <#assign enlaceInternoEscritoNotaPrensa = nPrensaInt.selectSingleNode("dynamic-element[@name='enlaceInternoEscritoNotaPrensa']/dynamic-content") />
763 <#assign enlaceExternoNotaPrensa = nPrensaInt.selectSingleNode("dynamic-element[@name='enlaceExternoNotaPrensa']/dynamic-content") />
764
765
766 <#assign count = 0 />
767
768 <#list enlacePaginaNotaPrensa.data?split("@") as item>
769 <#if item != "">
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784 <#assign count = count +1>
785 </#if>
786 </#list>
787
788 <#if linkPageId?has_content>
789 <#-- get layout -->
790 <#assign layoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") />
791 <#assign layout = layoutService.getLayout(linkGroupId, linkPrivate, linkPageId) />
792
793 <#-- get Friendly URL -->
794 <#assign portalUtil = serviceLocator.findService("com.liferay.portal.kernel.util.PortalUtil") />
795 <#assign friendly_page_link1 = portalUtil.getLayoutFriendlyURL(layout, themeDisplay)?? />
796 </#if>
797
798
799 <#if textoNotaPrensa.getData()?has_content >
800 <#if friendly_page_link1?has_content>
801 <li><a href="${friendly_page_link1?c}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/LEnl ${textoNotaPrensa.data}', 'clic')">${textoNotaPrensa.data}</a></li>
802 <#elseif enlaceInternoEscritoNotaPrensa.data != "">
803 <li><a href="${enlaceInternoEscritoNotaPrensa.data}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/LEnl ${textoNotaPrensa.data}', 'clic')" >${textoNotaPrensa.data}</a></li>
804 <#elseif enlaceExternoNotaPrensa.data?has_content>
805 <li><a href="${enlaceExternoNotaPrensa.data}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/LEnl ${textoNotaPrensa.data}', 'clic')">${textoNotaPrensa.data}</a></li>
806 </#if>
807 </#if>
808 </#list>
809 </ul>
810 </div>
811 </div>
812
813 </div>
814 </#list>
815
816
817 <div class="container">
818
819
820 <div class="container-corp">
821 <div class="row-wrap">
822 <div class="container-corp" style="margin-top: 35px;">
823 <div class="box-acordeon box-acordeon-basic" id="stage1">
824 <div class="item">
825 <#assign acordeon = docXml.getRootElement().selectNodes("//dynamic-element[@name='acordeonFieldSetFieldSet']") />
826
827 <#list acordeon as acordeonFinal>
828
829
830 <#assign tituloAcordeon = acordeonFinal.selectSingleNode("dynamic-element[@name='tituloAcordeon']/dynamic-content") />
831 <#assign contenidoHTML = acordeonFinal.selectSingleNode("dynamic-element[@name='contenidoHTML']/dynamic-content") />
832 <#assign anclaAcordeon = acordeonFinal.selectSingleNode("dynamic-element[@name='anclaAcordeon']/dynamic-content") />
833
834
835 <!--Collapse header -->
836 <#if tituloAcordeon.data?has_content>
837 <#assign i = (i!0) + 1>
838 <div aria-controls="collapse${i}" aria-expanded="false" class="box-acordeon-header c-white d-flex justify-content-between align-items-center" data-target="#collapse${i}" data-toggle="collapse" id="${anclaAcordeon.data}">
839 <div class="justify-content-between d-flex align-items-center">
840 <div class="box-acordeon-title p-2">
841 <h5 class="mb-0 fifth-title c-white">${tituloAcordeon.data}</h5>
842 <p class="mb-0 text-base c-white"></p>
843 </div>
844 </div>
845 <div class="ml-auto p-2"><i class="box-acordeon-icon la la-plus-circle"></i></div>
846 </div>
847 </#if>
848 <!--Collapse body-->
849 <div aria-labelledby="${anclaAcordeon.data}" class="box-acordeon-content c-blue-1 collapse " id="collapse${i}">
850 <div class="container">
851
852 <#if contenidoHTML.data?has_content>
853 <div class="col-md-12">${contenidoHTML.data} </div>
854 </#if>
855
856
857
858
859
860
861 <div class="row">
862
863
864 <#assign descargables = acordeonFinal.selectNodes("dynamic-element[@name='descargablesFieldSet']") />
865
866 <#list descargables as descargablesItems>
867 <#assign descargablesFields = descargablesItems.selectNodes("dynamic-element[@name='descargablesFieldSetFieldSet']")>
868 <#list descargablesFields as descargablesFinal>
869
870
871
872 <#assign tituloArchivoDescargable = descargablesFinal.selectSingleNode("dynamic-element[@name='tituloArchivoDescargable']/dynamic-content") />
873 <#assign archivoDescargable = descargablesFinal.selectSingleNode("dynamic-element[@name='archivoDescargable']/dynamic-content") />
874
875
876 <#if archivoDescargable.data?has_content && archivoDescargable.data != "">
877 <#assign archivoAcordeon = archivoDescargable.data?eval />
878 <#if archivoAcordeon.fileEntryId?has_content >
879 <#assign entryId = archivoAcordeon.fileEntryId />
880 </#if>
881 <#assign archivoAcordeonFinal = "/documents/"+archivoAcordeon.groupId+"/"+entryId+"/"+archivoAcordeon.title+"/"+archivoAcordeon.uuid />
882 <#if archivoAcordeonFinal?contains(".pdf")>
883 <#assign extensionArchivo = "linkdoc-pdf" />
884 <#else>
885 <#assign extensionArchivo = "linkdoc-xls" />
886 </#if>
887 <div class="col-md-4">
888 <a target="_blank" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/DesDoc ${tituloArchivoDescargable.data}', 'clic')" class="linkdoc mb-5" href="${archivoAcordeonFinal}">
889 <div class="linkdoc-colimg ${extensionArchivo}"> </div>
890 <div class="linkdoc-coltext">
891 <p class="linkdoc-text">${tituloArchivoDescargable.data}</p>
892 </div>
893 </a>
894 </div>
895
896 </#if>
897 </#list>
898
899 </#list>
900 </div>
901
902
903
904 <div class="row">
905 <ul class="listcorp">
906
907
908
909
910
911 <#assign enlaceAcordeon = acordeonFinal.selectNodes("dynamic-element[@name='enlacesAcordeonFieldSetFieldSet']") />
912
913
914 <#list enlaceAcordeon as presentacionn>
915 <#assign friendly_page_linkaa = "" />
916 <#assign tituloEnlaceAcordeon = "" />
917 <#assign enlacePaginaAcordeon = "" />
918 <#assign linkPageIdaa = "" />
919 <#assign linkPrivateaa = "" />
920 <#assign linkGroupIdaa = "" />
921
922
923 <#assign tituloEnlaceAcordeon = presentacionn.selectSingleNode("dynamic-element[@name='tituloEnlaceAcordeon']/dynamic-content") />
924 <#assign enlacePaginaAcordeon = presentacionn.selectSingleNode("dynamic-element[@name='enlacePaginaAcordeon']/dynamic-content") />
925 <#assign enlaceInternoEscritoAcordeon = presentacionn.selectSingleNode("dynamic-element[@name='enlaceInternoEscritoAcordeon']/dynamic-content") />
926 <#assign enlaceExternoAcordeon = presentacionn.selectSingleNode("dynamic-element[@name='enlaceExternoAcordeon']/dynamic-content") />
927
928 <#assign count = 0 />
929
930 <#list enlacePaginaAcordeon.data?split("@") as item>
931 <#if item != "">
932 <#if count == 0>
933 <#assign linkPageIdaa = item?number>
934 </#if>
935 <#if count == 1>
936 <#if item == "private">
937 <#assign linkPrivateaa = true>
938 <#else>
939 <#assign linkPrivateaa = false>
940 </#if>
941 </#if>
942 <#if count = 2>
943 <#assign linkGroupIdaa = item?number>
944 </#if>
945 <#assign count = count +1>
946 </#if>
947 </#list>
948
949 <#if linkPageIdaa?has_content>
950 <#-- get layout -->
951 <#assign layoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") />
952 <#assign layout = layoutService.getLayout(linkGroupId, linkPrivate, linkPageId) />
953
954 <#-- get Friendly URL -->
955 <#assign portalUtil = serviceLocator.findService("com.liferay.portal.kernel.util.PortalUtil") />
956 <#assign friendly_page_link = portalUtil.getLayoutFriendlyURL(layout, themeDisplay)?? />
957 </#if>
958
959
960 <#if tituloEnlaceAcordeon.data?has_content >
961 <#if friendly_page_linkaa?has_content>
962 <li><a href="${friendly_page_linkaa?c}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/LEnl ${tituloEnlaceAcordeon.data}', 'clic')">${tituloEnlaceAcordeon.data}</a></li>
963 <#elseif enlaceInternoEscritoPresentacion.data != "">
964 <li><a href="${enlaceInternoEscritoAcordeon.data}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/LEnl ${tituloEnlaceAcordeon.data}', 'clic')">${tituloEnlaceAcordeon.data}</a></li>
965 <#elseif enlaceExternoPresentacion.data?has_content>
966 <li><a href="${enlaceExternoAcordeon.data}" onclick="javascript:marcaje_google_analytics(this, 'BCab/Ãreas/PolÃtica Monetaria/IPoM/LEnl ${tituloEnlaceAcordeon.data}', 'clic')">${tituloEnlaceAcordeon.data}</a></li>
967 </#if>
968 </#if>
969 </#list>
970 </ul>
971 </div>
972
973 </div>
974 <ul class="listcorp listcorp-featured pt-7 row">
975 </ul>
976 </div>
977 </#list>
978 </div>
979 </div>
980 </div>
981 </div>
982
983 </div>
984 <!-- REDES SOCIALES -->
985
986
987<div class="mb-8"> </div>
988
989
990<div class="container-corp">
991 <div class="d-flex justify-content-end box-share ">
992 <div class="d-flex align-items-center"><span class="c-grey-3 f-opensans-regular mr-1"> <#if locale == "es_ES" >
993 Comparte:
994 <#else>
995 Share:
996 </#if></span>
997
998
999
1000
1001
1002
1003 <div class="button-share mr-1"><a href="http://twitter.com/intent/tweet?text=${titulo.data}&url=${viewURLs}&hashtags=BancoCentral" onclick="window.open(this.href, 'twitterwindow','left=20,top=20,width=600,height=300,toolbar=0,resizable=1'); return false;"><svg fill="none" height="25" viewbox="0 0 25 25" width="25" xmlns="http://www.w3.org/2000/svg"> <rect fill="#7B7E86" height="25" rx="2" width="25"></rect> <path d="M10.5614 20.4756C9.78298 20.4756 8.98181 20.4116 8.17583 20.2834C6.75626 20.0573 5.31925 19.3037 4.91262 19.078L3.84613 18.4862L5.00079 18.1008C6.26298 17.6796 7.03078 17.4182 7.98123 17.009C7.02954 16.5412 6.29607 15.6998 5.943 14.612L5.67439 13.7844L5.89466 13.8185C5.68578 13.6048 5.52085 13.388 5.393 13.1907C4.9383 12.4898 4.69757 11.6333 4.74879 10.8993L4.79933 10.1768L5.22546 10.3444C5.0457 9.99983 4.91578 9.63186 4.83943 9.24619C4.65335 8.30563 4.80908 7.30639 5.27806 6.4326L5.64925 5.74098L6.1457 6.34618C7.71577 8.26047 9.70443 9.39602 12.0647 9.72845C11.9683 9.05398 12.0405 8.40306 12.2796 7.8196C12.558 7.14025 13.0532 6.56418 13.7113 6.15355C14.4421 5.69763 15.3284 5.47671 16.2069 5.53149C17.139 5.58961 17.9852 5.94406 18.6573 6.55721C18.9855 6.47065 19.2273 6.37824 19.5542 6.25335C19.7508 6.17823 19.9739 6.09292 20.2529 5.99536L21.2812 5.63575L20.6107 7.57958C20.6549 7.57582 20.7005 7.57261 20.7481 7.57052L21.8462 7.52007L21.1972 8.42034C21.16 8.47191 21.1505 8.48655 21.1373 8.50676C21.085 8.58677 21.0199 8.68629 20.129 9.89362C19.906 10.1959 19.7946 10.5897 19.8154 11.0026C19.8943 12.5715 19.7047 13.9909 19.2514 15.2214C18.8226 16.3855 18.1582 17.3844 17.2769 18.1901C16.1862 19.187 14.7955 19.8696 13.1431 20.2186C12.3326 20.3897 11.4622 20.4756 10.5614 20.4756Z" fill="white"></path> </svg> </a></div>
1004 <div class="button-share mr-1">
1005 <a href="https://www.facebook.com/sharer/sharer.php?u=${viewURLs}&display=popup&ref=plugin&src=like&kid_directed_site=0&app_id=2580469875387422" >
1006 <svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
1007 <path d="M23 0H2C0.9 0 0 0.9 0 2V23C0 24.1 0.9 25 2 25H11V16.2H8.1V11.8H11V8.8C11 6.4 13 4.4 15.4 4.4H19.8V8.8H15.4V11.8H19.8L19.1 16.2H15.4V25H23C24.1 25 25 24.1 25 23V2C25 0.9 24.1 0 23 0Z" fill="#7B7E86"/>
1008 </svg>
1009 </a>
1010 </div>
1011 <div class="button-share mr-1">
1012 <a href="https://www.linkedin.com/shareArticle?mini=true&url=${viewURLs}&title=${titulo.data}&source=Banco Central de Chile" onclick="window.open(this.href, 'mywin',
1013 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><svg fill="none" height="25" viewbox="0 0 25 25" width="25" xmlns="http://www.w3.org/2000/svg"> <path d="M22.9 0H2.1C0.9 0 0 0.9 0 2.1V22.9C0 24.1 0.9 25 2.1 25H22.9C24.1 25 25 24.1 25 22.9V2.1C25 0.9 24.1 0 22.9 0ZM8.8 19.8H5.9V9.6H8.8V19.8ZM8.8 8.1H5.9V5.2H8.8V8.1ZM19.1 19.8H16.2V14C16.2 13.2 15.5 12.5 14.7 12.5C13.9 12.5 13.2 13.2 13.2 14V19.9H10.3V9.6H13.2V10.2C14 10 14.5 9.6 15.4 9.6C17.4 9.6 19.1 11.4 19.1 13.5V19.8Z" fill="#7B7E86"></path> </svg> </a>
1014 </div>
1015
1016
1017 <div class="button-share mr-1"><a class="rrss-link" href="https://api.whatsapp.com/send?text=${titulo.data}: ${viewURLs}" target="_blank" title="Compartir en Whatsapp"><svg fill="none" height="25" viewbox="0 0 25 25" width="25" xmlns="http://www.w3.org/2000/svg"> <rect fill="#7B7E86" height="25" rx="2" width="25"></rect> <path d="M12.5 4C7.83133 4 4 7.83133 4 12.5C4 13.7594 4.27753 14.9915 4.80907 16.1161C5.03687 16.5981 5.1188 17.1441 4.97024 17.6561C4.54946 19.1063 5.89371 20.4505 7.3439 20.0298C7.85591 19.8812 8.40189 19.9631 8.88389 20.1909C10.0085 20.7225 11.2406 21 12.5 21C17.1687 21 21 17.1687 21 12.5C21 7.83133 17.1687 4 12.5 4ZM17.8143 16.0915L17.4189 16.487C16.8593 17.0465 15.5726 17.0021 14.7458 16.8425C11.9965 16.3115 8.79124 13.2047 8.17309 10.5142C7.867 9.18137 8.036 8.02264 8.47801 7.58049L8.87347 7.18504C9.09175 6.96688 9.44635 6.96714 9.66438 7.18504L11.2465 8.76724C11.352 8.87282 11.4099 9.01276 11.4099 9.16257C11.4099 9.31237 11.352 9.45245 11.2465 9.55763L10.8511 9.95348C10.4153 10.3903 10.4153 11.0999 10.8511 11.5357L13.4637 14.1139C13.9008 14.5509 14.6081 14.5515 15.0459 14.1139L15.4413 13.7185C15.6455 13.5132 16.0268 13.5126 16.2326 13.7185L17.8143 15.3002C18.0291 15.5141 18.0373 15.8684 17.8143 16.0915Z" fill="white"></path> </svg> </a></div>
1018
1019
1020 <div class="button-share">
1021 <a href="mailto:?subject=Banco Central&body=${titulo.data}: ${viewURLs}" target="_blank" title="${titulo.data}"><svg fill="none" height="25" viewbox="0 0 25 25" width="25" xmlns="http://www.w3.org/2000/svg"> <rect fill="#7B7E86" height="25" rx="2" width="25"></rect> <path d="M4 7.41304V16.8361L9.81729 12.5233L4 7.41304Z" fill="white"></path> <path d="M13.2171 12.834L20.3738 6.5625H4.64368L11.7829 12.834C12.205 13.2041 12.7949 13.2041 13.2171 12.834Z" fill="white"></path> <path d="M15.1842 12.5248L20.9999 16.8411V7.42834L15.1842 12.5248Z" fill="white"></path> <path d="M13.8318 13.7099C13.4398 14.0535 12.9698 14.2254 12.5 14.2254C12.0301 14.2254 11.5603 14.0536 11.1681 13.7099L10.6421 13.2477L4 18.172V18.4375H21V18.1774L14.3586 13.2484L13.8318 13.7099Z" fill="white"></path> </svg> </a>
1022 </div>
1023 </div>
1024 </div>
1025</div>
1026
1027
1028
1029
1030
1031
1032
1033
1034<script>
1035 AUI().use('liferay-session', function(A) {
1036 Liferay.Session = new Liferay.SessionBase(
1037 {
1038 autoExtend: true,
1039 redirectOnExpire: false,
1040
1041
1042
1043 redirectUrl: 'http\x3a\x2f\x2f10\x2e55\x2e1\x2e31\x3a8080http\x3a\x2f\x2f10\x2e55\x2e1\x2e31\x3a8080\x2fhome',
1044 sessionLength: 890,
1045 warningLength: 0
1046 }
1047 );
1048 })
1049
1050
1051
1052
1053
1054</script>
1055
1056
1057<#attempt>
1058<#if encuesta.data?has_content >
1059
1060
1061 <#if getterUtil.getBoolean(encuesta.data) >
1062 <div id="encuesta-modal" style="display:none" class="modal-open">
1063 <div class="modal fade in" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
1064 <div class="modal-dialog" role="document">
1065 <div class="modal-content">
1066 <div class="modal-body">
1067 <@liferay_portlet["runtime"] defaultPreferences="${freeMarkerPortletPreferences}" portletProviderAction=portletProviderAction.VIEW instanceId="portlet_com_liferay_dynamic_data_mapping_form_web_portlet_DDMFormPortlet_INSTANCE_${idArticle}" portletName="com_liferay_dynamic_data_mapping_form_web_portlet_DDMFormPortlet"/>
1068 <div class="mensaje-fin portlet-forms ">
1069 <a id="no-responder" href="javascript:cerrar_encuesta();" >Saltar encuesta</a>
1070 </div>
1071 </div>
1072 </div>
1073 </div>
1074 </div>
1075 </div>
1076 </#if>
1077</#if>
1078<#recover>
1079 <p style="display:none">${.error}</p>
1080</#attempt>
1081
1082
1083<script>
1084 function cerrar_encuesta(){
1085 jQuery("#encuesta-modal").remove();
1086 }
1087
1088
1089 $(document).ready(function() {
1090 console.log('ready')
1091 var url = window.location.href;
1092
1093 if(url.indexOf("/-/detalle")<0 && url.indexOf("/-/details")<0){
1094 $(".visor-buscador").hide();
1095 }
1096
1097
1098
1099 setTimeout(function(){
1100 var url = window.location.href;
1101 if(url.indexOf("?")==-1){
1102 jQuery("#encuesta-modal").css("display","block")
1103 }
1104
1105
1106
1107 var $target = jQuery(".lfr-ddm-form-field-container");
1108 var observer = new MutationObserver(function(mutations) {
1109 mutations.forEach(function(mutation) {
1110 if (mutation.attributeName === "class") {
1111 var attributeValue = jQuery(mutation.target).prop(mutation.attributeName);
1112 if (attributeValue.indexOf("lfr-ddm-form-field-container") >= 0){
1113 $('.lfr-ddm-form-field-container').find('label').each(function(){
1114 if($(this).text().split(' ')[0].length == 1 && $(this).text().length > 1){
1115 var num = $(this).text().split(' ')[0]
1116 var txt = $(this).text().split(num)[1]
1117
1118
1119 $(this).html("<span class='text-numb'>" + num + "</span>" + txt);
1120 }
1121
1122
1123
1124 if($(this).text().split(' ')[0] == 3){
1125 $(this).closest('div').next('.custom-control').attr('style', 'display: none');
1126 }
1127 if ($(window).width() > 768) {
1128
1129
1130 if($(this).text().split(' ')[0].indexOf('3.') >= 0){
1131 $(this).attr('style', 'margin-left: 30px');
1132 }
1133 }
1134 })
1135 }
1136 }
1137 });
1138 });
1139
1140
1141
1142
1143
1144
1145
1146
1147 observer.observe($target[1], {
1148 attributes: true
1149 });
1150
1151
1152
1153
1154 $('.lfr-ddm-form-field-container').find('label').each(function(){
1155 if($(this).text().split(' ')[0].length == 1 && $(this).text().length > 1){
1156 var num = $(this).text().split(' ')[0]
1157 var txt = $(this).text().split(num)[1]
1158 $(this).html("<span class='text-numb'>" + num + "</span>" + txt);
1159 }
1160
1161
1162
1163 if($(this).text().split(' ')[0] == 3){
1164 $(this).closest('div').next('.custom-control').attr('style', 'display: none');
1165 }
1166
1167
1168
1169 if ($(window).width() > 768) {
1170 if($(this).text().split(' ')[0].indexOf('3.') >= 0){
1171 $(this).attr('style', 'margin-left: 30px');
1172 }
1173 }
1174 })
1175
1176
1177
1178
1179
1180 $('.required-warning').prepend('<img src="/documents/33528/0/warning+%281%29.png/ce00599e-0c29-5707-1411-9b740e5dbd59?t=1573240033177" style="width: 35px;">');
1181 },1500)
1182
1183 });
1184</script>
1185
1186
1187<style>
1188
1189
1190@media (min-width: 993px){
1191.sliderboxset {
1192 padding: 30px 20px !important;
1193 min-height: 637px !important;
1194}
1195}
1196
1197
1198
1199
1200@media (max-width: 990px){
1201.sliderboxset {
1202 min-height: 490px !important;
1203}
1204}
1205
1206
1207.carousel-control-prev{
1208 display:none! important;
1209}
1210
1211
1212.carousel-control-next{
1213 display:none! important;
1214}
1215 #encuesta-modal .modal-content {
1216 overflow: hidden;
1217 -ms-overflow-y: auto !important;
1218 max-height: 600px;
1219 max-width: 800px;
1220 margin-left: auto;
1221 margin-right: auto;
1222 }
1223
1224
1225
1226 #encuesta-modal .modal.fade .modal-dialog {
1227 transition: transform .3s ease-out;
1228 transform: translate(0,0);
1229 width: 100%;
1230 }
1231
1232
1233
1234 .modal{
1235 background-color:rgba(0,0,0,0.5)!important;
1236 }
1237
1238
1239
1240 .ddm-form-name {
1241 text-align: center;
1242 color: #182d4f !important;
1243 font-family: "Lato_Bold";
1244 line-height: 1.2;
1245 }
1246
1247
1248
1249 .ddm-form-description {
1250 font-family: "OpenSans";
1251 font-size: 1em;
1252 color: #182d4f !important;
1253 margin-top: 0;
1254 text-align: center;
1255 }
1256
1257
1258
1259 #no-responder {
1260 float: right;
1261 text-decoration: underline;
1262 color: #cc3e43;
1263 margin-top: -8px;
1264 margin-right: 22px;
1265 }
1266
1267
1268
1269 #encuesta-modal .btn-primary {
1270 background-color: #cc3e43;
1271 border: 1px solid #cc3e43;
1272 color: white;
1273 border-radius: 5px;
1274 font-size: 1em;
1275 cursor: pointer;
1276 font-family: "OpenSans";
1277 font-weight: 400;
1278 line-height: 1.188rem;
1279 text-align: center;
1280 padding: .5em 1em;
1281 width: 7.5rem;
1282 }
1283
1284
1285
1286 #encuesta-modal .lfr-ddm-form-page-title {
1287 display: none;
1288 }
1289
1290
1291
1292 #encuesta-modal .required-warning {
1293 text-align: center;
1294 color: tomato;
1295 border: tomato 1px solid;
1296 padding-top: 4px;
1297 padding-bottom: 4px;
1298 margin-left: 150px;
1299 margin-right: 150px;
1300 border-radius: 20px;
1301 padding-left: inherit;
1302 }
1303
1304
1305
1306 #encuesta-modal .lfr-ddm-form-field-container {
1307 font-family: "OpenSans";
1308 font-size: 1em;
1309 color: #4b4b4b;
1310 margin-top: 0;
1311 }
1312
1313
1314
1315 #encuesta-modal .custom-control.custom-radio .custom-control-label {
1316 padding: 7px;
1317 background-color: white;
1318 color: #182d4f;
1319 border-radius: 5px;
1320 min-width: 150px;
1321 display: inline-block;
1322 text-align:center;
1323 font-size:12px;
1324 border: #182d4f 1px solid;
1325 }
1326
1327
1328
1329 #encuesta-modal .custom-control.custom-radio .custom-control-label:before,
1330 #encuesta-modal .custom-control.custom-radio .custom-control-label:after {
1331 display:none;
1332 }
1333
1334
1335 #encuesta-modal .custom-control.custom-radio .custom-control-label .custom-control-label-text {
1336 padding-left:0;
1337 }
1338
1339
1340 #encuesta-modal .custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label {
1341 background-color: #182d4f;
1342 color:white;
1343 }
1344
1345 #encuesta-modal .lexicon-icon {
1346 color: tomato;
1347 font-size: 0.5rem;
1348 }
1349
1350 #encuesta-modal .lfr-icon-item {
1351 color: #182d4f;
1352 text-decoration: underline;
1353 }
1354
1355 #encuesta-modal .lfr-ddm-form-field-container label {
1356 color: #182d4f;
1357 }
1358
1359 #encuesta-modal .text-numb {
1360 border: #182d4f 1px solid;
1361 color: white;
1362 background-color: #182d4f;
1363 padding-left: 7px;
1364 padding-right: 7px;
1365 border-radius: 15px;
1366 }
1367
1368 @media (max-width: 768px) {
1369 #encuesta-modal .required-warning {
1370 width: 100%;
1371 margin-left: 0;
1372 margin-right: 0;
1373 }
1374
1375 #encuesta-modal .modal.fade .modal-dialog {
1376 width:96%;
1377 position: relative;
1378 }
1379
1380 #encuesta-modal .modal-content {
1381 max-height: 90vh;
1382 margin-top: 5vh;
1383 }
1384
1385
1386
1387
1388
1389
1390 #encuesta-modal .container-fluid-1280 {
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414 padding-left:0;
1415 padding-right:0;
1416 }
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442 #encuesta-modal .lfr-ddm-form-page row {
1443 margin-left:0;
1444 margin-right:0;
1445 }
1446
1447
1448
1449 #encuesta-modal .lfr-ddm-form-page row [class*="col-"] {
1450 margin-left:0;
1451 margin-right:0;
1452 }
1453
1454
1455
1456 #encuesta-modal .custom-control.custom-radio .custom-control-label {
1457 display:block;
1458 }
1459
1460
1461
1462 #encuesta-modal .liferay-ddm-form-field-radio .custom-control-inline.custom-control {
1463 display:block;
1464 margin-bottom:10px;
1465 margin-left:0;
1466 }
1467 }
1468</style>
1469
1470
1471
1472</#list>
1473
1474
1475
1476
1477
1478 <!-- <script src="js/jquery.blockUI.min.js"></script>
1479 <script src="js/jquery.fancybox.js"></script>
1480 <script src="js/functions.js"></script>
1481 <script src="js/funcionesSV.js"></script> -->
1482
1483
1484 <style type="text/css">
1485 img.img-3{
1486 max-width: 100%;
1487 }
1488 .linkdoc:after {
1489 content: "\f182";
1490 font: normal normal normal 36px/1 "LineAwesome";
1491 position: absolute;
1492 top: calc(50% - 18px);
1493 right: .938rem;
1494 color: #182d4f;
1495 }
1496 .listcorp.listCorpAbajo li a:before {
1497 font-family: "LineAwesome";
1498 font-size: 1.125rem;
1499 content: "\f121";
1500 position: absolute;
1501 right: calc(100% + 1.25rem);
1502 top: 0;
1503 font-weight: bold;
1504 line-height: 1.3;
1505 -moz-transform: rotate(90deg) !important;
1506 -ms-transform: rotate(90deg) !important;
1507 -o-transform: rotate(90deg) !important;
1508 -webkit-transform: rotate(90deg) !important;
1509 }
1510
1511 .listcorp.listcorp-featured.listCorpDerecha li a:before {
1512 position: absolute;
1513 right: calc(100% + 1.125rem);
1514 top: -6px;
1515 font-size: 1.750rem;
1516 -moz-transform: rotate(0deg) !important;
1517 -ms-transform: rotate(0deg) !important;
1518 -o-transform: rotate(0deg) !important;
1519 -webkit-transform: rotate(0deg) !important;
1520 }
1521
1522
1523 .listcorp.listcorp-featured {
1524 font-family: "OpenSans";
1525 font-size: 1.25rem;
1526 line-height: 1.2;
1527 /* padding-left: 2.6rem; */
1528 }
1529 .fondo-blanco{
1530 background-color: white;
1531 border-radius: 2%;
1532 }
1533
1534 .titulo-box-blanco{
1535 color: #0f1d34;
1536 font-size: 1rem;
1537 overflow: hidden;
1538 position: relative;
1539 font-family: "OpenSans";
1540 }
1541
1542 .borde-abajo {
1543 border-bottom-color: #8c97a8;
1544 border-bottom-width: 2px;
1545 border-bottom-style: solid;
1546 }
1547
1548 .listcorp-dos {
1549 margin: 0;
1550 padding-left: 2.188rem;
1551 list-style-type: none;
1552 /* font-family: "OpenSans"; */
1553 font-size: 1.25rem;
1554 line-height: 1.6;
1555 }
1556
1557 .listcorp-dos li a {
1558 display: block;
1559 color: #cc3e43;
1560 margin-bottom: 3px;
1561 position: relative;
1562 }
1563
1564 .listcorp-dos li a:before {
1565 font-family: "LineAwesome";
1566 font-size: 1.125rem;
1567 content: "\f121";
1568 position: absolute;
1569 right: calc(100% + 1.250rem);
1570 top: 0;
1571 font-weight: bold;
1572 line-height: 1.3;
1573 }
1574
1575 .box-acordeon-header {
1576 padding: 15px 30px;
1577 border-radius: 3px;
1578 cursor: pointer;
1579 background-color: #182d4f;
1580 margin-bottom: 10px;
1581 }
1582
1583 .c-white {
1584 color: white !important;
1585 }
1586 .col-md-4.plan {
1587 top: 200px;
1588 }
1589
1590
1591
1592
1593
1594
1595
1596
1597 </style>
1598 <script>
1599 $(document).ready(function() {
1600
1601
1602 $('.ancla').click(function(e){
1603 // Evitamos que se haga el scroll
1604 e.preventDefault();
1605 //console.log("nos detenemos");
1606 // Capturamos el ancla
1607 var ancla = $(this).attr('href');
1608 //console.log("el ancla es"+ancla);
1609 // Le quitamos el numeral # para solo quedarnos con el nombre de la sección
1610 ancla = ancla.substring(1);
1611 //console.log('ancla nueva '+ ancla);
1612
1613 // Obtenemos la posición de la sección
1614 var position = $('#'+ancla).position();
1615 //console.log('POsicion antes de la resta '+ position.top);
1616 var positionResta = position.top + 180;
1617 //console.log("bajamos");
1618 //console.log('POsicion '+ positionResta);
1619 // Hacemos el efecto scroll y le restamos algunos pixeles, en este caso 180
1620 $('html, body').animate({scrollTop: positionResta}, 500);
1621
1622 });
1623
1624
1625 });
1626
1627
1628</script>