PP_HERO_AGENT_HOME_SALUD_MENTAL

Se ha producido un error al procesar la plantilla.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> agentPresenceService  [in template "776318#776366#PP_HERO_AGENT" at line 26, column 36]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if agentPresenceService?? && agentPr...  [in template "776318#776366#PP_HERO_AGENT" at line 26, column 5]
----
1<#-- Obtenemos del expando el campo personalizado de la analítica --> 
2<#assign JournalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleService")> 
3<#assign journalArticle = JournalArticleService.getArticle(groupId, .vars["reserved-article-id"].data)> 
4 
5<#if journalArticle??> 
6    <#assign expandoBridge = journalArticle.getExpandoBridge()> 
7    <#assign customAnalyticsProperties = expandoBridge.getAttribute("Campos Personalizados Analítica")> 
8</#if> 
9 
10<#if serviceLocator.findService("publicportal.soap.services.service.api.AgentPresenceService")??> 
11	<#assign agentPresenceService = serviceLocator.findService("publicportal.soap.services.service.api.AgentPresenceService")> 
12<#else> 
13	<#assign agentPresenceService = ""> 
14</#if> 
15<#if checkDefaultImg?? && checkDefaultImg.getData()?has_content> 
16    <#assign isImage = checkDefaultImg.getData()?boolean> 
17 
18<#else> 
19    <#assign isImage = false> 
20 
21</#if> 
22 
23<#assign agent=""> 
24 
25<#if request.getParameter("medofi")?has_content> 
26    <#if agentPresenceService?? && agentPresenceService.findAgentByEncodedMedofi(request.getParameter("medofi"))??> 
27        <#assign agent = agentPresenceService.findAgentByEncodedMedofi(request.getParameter("medofi"))> 
28    </#if> 
29</#if> 
30 
31<#if !(agent?? && agent?has_content)> 
32    <#if serviceLocator.findService("com.axa.publicportals.odh.service.OdhService")??> 
33        <#assign OdhService = serviceLocator.findService("com.axa.publicportals.odh.service.OdhService")> 
34        <#if OdhService.getPresenciaAgente(request)??> 
35            <#assign agent = OdhService.getPresenciaAgente(request)> 
36        </#if> 
37    </#if> 
38</#if> 
39 
40<#if agent?? && agent?has_content> 
41    <section class="agents is-detail"> 
42        <div class="section-wrapper"> 
43						<#if agentNameTitle?? && agentNameTitle.getData()?has_content && agentNameTitle.getData()!='' > 
44	<#assign agentNameTitle = agentNameTitle.getData() /> 
45	<#else> 
46   <#assign agentNameTitle = "h1"/> 
47</#if> 
48            <#if agent?? && agent?has_content && agent.seoFriend?? && agent.seoFriend?has_content> 
49                <${agentNameTitle}> 
50								   <div class="c-agent-variant__caption"><@liferay.language key="publicportals.agents.agencia"/></div> 
51								   <div class="c-agent-variant__title">${agent.seoFriend}</div> 
52									 <div class="c-agent-variant__title">(${agent.city?lower_case?capitalize})</div> 
53								</${agentNameTitle}> 
54            </#if> 
55  			<script> 
56				document.addEventListener("DOMContentLoaded", function() { 
57					if (window.location.href.includes("oficina/agencia-seguros-")) { 
58						// Cambiar canonical 
59						var link = !!document.querySelector("link[rel='canonical']") ? document.querySelector("link[rel='canonical']") : document.createElement('link'); 
60						link.setAttribute('rel', 'canonical'); 
61						link.setAttribute('href', location.protocol + '//' + location.host + location.pathname); 
62						document.head.appendChild(link); 
63 
64						// Cambiar el título de la página 
65						document.title = "${languageUtil.format(locale, "publicportals.title.mediadores", [agent.seoFriend,agent.city?lower_case?capitalize])}"; 
66 
67						// Cambiar la descripción meta 
68						var metaDescription = document.querySelector('meta[name="description"]'); 
69						if (metaDescription) { 
70							metaDescription.setAttribute("content", "${languageUtil.format(locale, "publicportals.descripcion.mediadores", [agent.seoFriend,agent.city?lower_case?capitalize])}"); 
71						} else { 
72							// Si no existe la meta descripción, crearla 
73							metaDescription = document.createElement('meta'); 
74							metaDescription.name = "description"; 
75							metaDescription.content = "${languageUtil.format(locale, "publicportals.descripcion.mediadores", [agent.seoFriend,agent.city?lower_case?capitalize])}"; 
76							document.head.appendChild(metaDescription); 
77
78
79				}); 
80			</script> 
81            <#if agent?? && agent?has_content && agent.fullAddress?? && agent.fullAddress?has_content> 
82                <h2> 
83                    <a href="https://www.google.com/maps/search/?api=1&query=${agent.fullAddress}, españa" onclick="checkWebviewLink(this, event)" class="c-agent-variant__subtitle" target="_blank"> 
84                        <svg width='10' height='14' viewBox='0 0 10 14' fill='none' xmlns='http://www.w3.org/2000/svg'> 
85                            <path fill-rule='evenodd' clip-rule='evenodd' d='M5 14C5 14 10 7.76142 10 5C10 2.23858 7.76142 0 5 0C2.23858 0 0 2.23858 0 5C0 7.76142 5 14 5 14ZM5 7C6.10457 7 7 6.10457 7 5C7 3.89543 6.10457 3 5 3C3.89543 3 3 3.89543 3 5C3 6.10457 3.89543 7 5 7Z' fill='white' /> 
86                        </svg> 
87                        ${agent.fullAddress} 
88                    </a> 
89                </h2> 
90            </#if> 
91            <div class="c-agent-variant__contact"> 
92                <#if agent?? && agent?has_content && agent.telephoneList?? && agent.telephoneList?has_content> 
93                    <#list agent.telephoneList as telephoneNumber> 
94                        <a class="c-agent-variant__contact__link analytics_interaccion_contacto" href="tel:${telephoneNumber}" target="_blank" data-elemento-interaccion="${agent.fullName} - ${telephoneNumber}" data-custom-properties='${customAnalyticsProperties}'> 
95                            <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
96								<path d='M3.5125 6.9875C4.72017 9.34743 6.64007 11.2673 9 12.475L10.8375 10.6375C11.0852 10.4099 11.4462 10.3555 11.75 10.5C12.7101 10.8156 13.7144 10.9759 14.725 10.975C15.14 11.005 15.47 11.335 15.5 11.75V14.6625C15.5 15.125 15.125 15.5 14.6625 15.5C6.84077 15.5 0.5 9.15923 0.5 1.3375C0.5 0.874962 0.874962 0.5 1.3375 0.5H4.25C4.71254 0.5 5.0875 0.874962 5.0875 1.3375C5.07234 2.3239 5.21152 3.3066 5.5 4.25C5.59484 4.55074 5.51271 4.87927 5.2875 5.1L3.5125 6.9875Z' fill='#00008F' /> 
97							</svg> 
98                            ${telephoneNumber} 
99                        </a> 
100                         
101                        <#if agent.telephoneList?size = 2 && telephoneNumber?index = 0> 
102                            <#if agent?? && agent?has_content && agent.email?? && agent.email?has_content> 
103                                <a class="c-agent-variant__contact__link" href="mailto:${agent.email}" target="_blank"> 
104                                    <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
105                                        <path fill-rule='evenodd' clip-rule='evenodd' d='M2.397 2h11.196c.773 0 1.401.668 1.407 1.497v9.006c-.006.829-.634 1.497-1.407 1.497H2.397c-.77-.006-1.391-.673-1.397-1.497V3.497C1 2.67 1.625 2 2.397 2Zm5.598 6.754 5.597-3.748V3.497L7.995 7.246 2.397 3.497v1.498l5.598 3.76Z'></path> 
106                                    </svg> 
107                                    ${agent.email} 
108                                </a> 
109                            </#if> 
110                        </#if> 
111                    </#list> 
112                </#if> 
113 
114                <#if agent.telephoneList?size != 2> 
115                    <#if agent?? && agent?has_content && agent.email?? && agent.email?has_content> 
116                        <a class="c-agent-variant__contact__link" href="mailto:${agent.email}" target="_blank"> 
117                            <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
118                                <path fill-rule='evenodd' clip-rule='evenodd' d='M2.397 2h11.196c.773 0 1.401.668 1.407 1.497v9.006c-.006.829-.634 1.497-1.407 1.497H2.397c-.77-.006-1.391-.673-1.397-1.497V3.497C1 2.67 1.625 2 2.397 2Zm5.598 6.754 5.597-3.748V3.497L7.995 7.246 2.397 3.497v1.498l5.598 3.76Z'></path> 
119                            </svg> 
120                            ${agent.email} 
121                        </a> 
122                    </#if> 
123                </#if> 
124            </div> 
125 
126            <div class="c-agent-variant__buttons"> 
127                <#if btnText.btnLink.getData()?? && btnText.btnLink.getData()?has_content> 
128                    <#assign linkTarget = "_self" /> 
129                    <#if btnText.btnLink.selectTarget2?? && btnText.btnLink.selectTarget2.getData()?has_content> 
130                        <#assign linkTarget = btnText.btnLink.selectTarget2.getData() /> 
131                    </#if> 
132                    <a target="${linkTarget}" class="button button--outlined button--white analytics_interaccion_boton" href="${btnText.btnLink.getData()}" onclick="checkWebviewLink(this, event)" data-custom-properties='${customAnalyticsProperties}'> 
133                <#else> 
134                    <#if agent.urlOffice?? && agent.urlOffice?has_content> 
135                        <a class="button button--outlined button--white analytics_interaccion_boton" href="${agent.urlOffice}" onclick="checkWebviewLink(this, event)" data-custom-properties='${customAnalyticsProperties}'> 
136                    <#else> 
137                        <a class="button button--outlined button--white d-none analytics_interaccion_boton" href="" data-custom-properties='${customAnalyticsProperties}'> 
138                    </#if> 
139                </#if> 
140                    <span class="button__text"> 
141                        <#if btnText.getData()?? && btnText.getData()?has_content> 
142                            ${btnText.getData()} 
143                        <#else> 
144                            <@liferay.language key="publicportals.agents.informacion"/> 
145                        </#if> 
146                    </span> 
147                </a> 
148            </div> 
149            <div class="c-agent-variant__rrss"> 
150                <#if agent?? && agent?has_content && agent.socialMediaList?? && agent.socialMediaList?has_content> 
151                    <#list agent.socialMediaList as socialMedia> 
152                        <#if socialMedia.socialMediaProvider?lower_case == "facebook"> 
153                            <a class="c-agent-variant__rrss__link" href="${socialMedia.address}" onclick="openWebviewLink(this, event, 'externalLink')"> 
154                                <svg width='7' height='14' viewBox='0 0 7 14' fill='none' xmlns='http://www.w3.org/2000/svg'> 
155									<path d='M1.70494 4.75979H0.117188V6.99979H1.70494V13.7198H4.37079V6.99979H6.33097L6.51719 4.75979H4.37079V3.8514C4.37079 3.31462 4.4688 3.10817 4.95884 3.10817H6.49759V0.279785H4.4688C2.50861 0.279785 1.70494 1.16753 1.70494 2.86043V4.75979Z' fill='#00008F' /> 
156								</svg> 
157                            </a> 
158                        <#elseif socialMedia.socialMediaProvider?lower_case == "twitter"> 
159                            <a class="c-agent-variant__rrss__link" href="${socialMedia.address}" onclick="openWebviewLink(this, event, 'externalLink')"> 
160                                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"> 
161                                                                              <path fill="#00008F" d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z"/> 
162                                                                            </svg> 
163 
164                            </a> 
165                        <#elseif socialMedia.socialMediaProvider?lower_case == "linkedin"> 
166                            <a class="c-agent-variant__rrss__link" href="${socialMedia.address}" onclick="openWebviewLink(this, event, 'externalLink')"> 
167                                <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
168									<path fill-rule='evenodd' clip-rule='evenodd' d='M3.97485 3.28232C3.96341 4.02045 3.35778 4.61065 2.6196 4.60305C1.88142 4.59545 1.28807 3.9929 1.29183 3.2547C1.29558 2.51649 1.89503 1.92001 2.63325 1.91992C2.9927 1.91988 3.33713 2.06408 3.58933 2.32019C3.84154 2.57631 3.98042 2.92292 3.97485 3.28232ZM3.97485 5.71592H1.28125V14.3999H3.98525L3.97485 5.71592ZM5.60765 5.71592H8.28045L8.29085 6.89112C9.42445 4.73832 14.2396 4.63432 14.2396 8.89832V14.3999H11.5461V9.84472C11.5461 7.10952 8.29085 7.31752 8.29085 9.84472V14.3999H5.60765V5.71592Z' fill='#00008F' /> 
169								</svg> 
170                            </a> 
171                        <#elseif socialMedia.socialMediaProvider?lower_case == "youtube"> 
172                            <a class="c-agent-variant__rrss__link" href="${socialMedia.address}" onclick="openWebviewLink(this, event, 'externalLink')"> 
173                                <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
174									<path fill-rule='evenodd' clip-rule='evenodd' d='M3.73868 2.67022C5.7583 2.52334 10.2442 2.52334 12.2638 2.67022C14.4485 2.8276 14.7398 4.25448 14.7204 8.00006C14.701 11.7456 14.4485 13.1725 12.2638 13.3299C10.2442 13.4768 5.74859 13.4768 3.73868 13.3299C1.55399 13.1725 1.2627 11.7456 1.28212 8.00006C1.30154 4.25448 1.55399 2.8276 3.73868 2.67022ZM10.8812 8.00006L6.40125 5.76006V10.2401L10.8812 8.00006Z' fill='#00008F' /> 
175								</svg> 
176                            </a> 
177                        </#if> 
178                    </#list> 
179                    <#assign urlHome = themeDisplay.getPortalURL()> 
180                    <#if urlHome?? && urlHome?has_content> 
181                        <#if agent.urlOffice?? && agent.urlOffice?has_content> 
182                            <a data-a2a-url="${urlHome}${agent.urlOffice}" data-a2a-title="${agent.fullName}" class="c-agent-variant__rrss__link" href="${agent.urlOffice}" onclick="checkWebviewLink(this, event)"> 
183                                <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> 
184                                    <path d="M5.9.952a.952.952 0 0 1 .112 1.899l-.111.006H2.657a.705.705 0 0 0-.512.231.903.903 0 0 0-.233.509l-.007.118v13.522c0 .24.088.466.24.627a.72.72 0 0 0 .4.222l.112.01h14.686c.091 0 .183-.02.269-.058a.75.75 0 0 0 .243-.174.87.87 0 0 0 .176-.28.947.947 0 0 0 .057-.228l.007-.119v-7.44a.952.952 0 0 1 1.899-.111l.006.11v7.441c0 .356-.066.709-.195 1.04-.13.332-.32.636-.563.893-.246.26-.539.469-.863.612-.262.115-.54.185-.823.21l-.213.008H2.657c-.717 0-1.4-.3-1.898-.83a2.813 2.813 0 0 1-.752-1.737L0 17.237V3.715c0-.72.271-1.415.758-1.933A2.615 2.615 0 0 1 2.463.96l.194-.008h3.244ZM13.728 0l5.32 5.837-5.32 5.84V8.513c-4.535 0-5.765 2.246-7.06 3.868 0-5.862 2.338-9.011 7.06-9.011V0Z"> 
185                                    </path> 
186                                </svg> 
187                            </a> 
188                        </#if> 
189                    </#if> 
190                    <script> 
191                        var a2a_config = a2a_config || {}; 
192                        a2a_config.onclick = 1; 
193                        a2a_config.locale = "es"; 
194                    </script> 
195                    <script async src="https://static.addtoany.com/menu/page.js"></script> 
196                </#if> 
197            </div> 
198            <div class="agents__lottie mt-0" data-lottie=""></div> 
199            <#if agentPresenceService??> 
200                <#assign urlImageMedofi = agentPresenceService.getURLResponse(agent.getMedofi(), isImage)> 
201                <#if urlImageMedofi?has_content> 
202                    <div class="c-agent-variant__image"> 
203                        <img src="${urlImageMedofi}" alt="medofi image"></img> 
204                    </div> 
205                </#if> 
206            </#if> 
207        </div> 
208    </section> 
209<#else> 
210    <section class="hero updater"> 
211          <#if picture_desktop?? && picture_desktop.getData()?? && picture_desktop.getData() != ""> 
212            <picture class="hero__image"> 
213              <source media="(max-width: 1009px)" srcset="${picture_desktop.getData()}" /> 
214              <img alt="${picture_desktop.getAttribute("alt")}" src="${picture_desktop.getData()}" /> 
215            </picture> 
216          </#if> 
217        <#if video_desktop?? && video_desktop.getData()?? && video_desktop.getData() != ""> 
218            <video autoplay="" class="hero__video" muted="" loop="" playsinline="" 
219                <#if picture_desktop?? && picture_desktop.getData()?? && picture_desktop.getData() != ""> 
220                  poster="${picture_desktop.getData()}" 
221                </#if> 
222
223              <source src="${video_desktop.getData()}" type="video/mp4" /> <@liferay.language key="publicportals.carousel.video"/> 
224            </video> 
225        </#if> 
226        <#if picture_mobile?? && picture_mobile.getData()?? && picture_mobile.getData() != ""> 
227 
228            <video autoplay="" muted="" class="hero__video is-mobile" loop="" playsinline="" 
229                <#if picture_mobile?? && picture_mobile.getData()?? && picture_mobile.getData() != ""> 
230                poster="${picture_mobile.getData()}" 
231                </#if> 
232
233                <source src="${video_mobile.getData()}" type="video/mp4" /> <@liferay.language key="publicportals.carousel.video"/> 
234            </video> 
235        </#if> 
236        <div class="stroke-overlay"> 
237            <div class="stroke-overlay__layer is-top"></div> 
238            <div class="stroke-overlay__layer is-right"></div> 
239            <div class="stroke-overlay__layer is-bottom"></div> 
240            <div class="stroke-overlay__layer is-left"></div> 
241        </div> 
242        <div class="section-wrapper"> 
243				<#if titleSize?? && titleSize.getData()?has_content && titleSize.getData()!='' > 
244	<#assign titleSize = titleSize.getData() /> 
245	<#else> 
246   <#assign titleSize = "h1"/> 
247</#if> 
248            <#if title?? && title.getData()?? && title.getData() != ""> 
249                <${titleSize} class="hero__title" style=""> 
250                    ${title.getData()} 
251                </${titleSize}> 
252            </#if> 
253						<#if subtitleSize?? && subtitleSize.getData()?has_content && subtitleSize.getData()!='' > 
254	<#assign subtitleSize = subtitleSize.getData() /> 
255	<#else> 
256   <#assign subtitleSize = "h2"/> 
257</#if> 
258            <#if subtitle?? && subtitle.getData()?? && subtitle.getData() != ""> 
259                <${subtitleSize} class="hero__subtitle">${subtitle.getData()}</${subtitleSize}> 
260            </#if> 
261            <#if buttonText?? && buttonText.getData()?? && buttonText.getData()!="" > 
262                <#if buttonText.button_link?? && buttonText.button_link.getData()?? && buttonText.button_link.getData()!="" > 
263 
264                    <#assign linkTarget = "_blank" /> 
265                    <#if buttonText.button_link.selectTarget?? && buttonText.button_link.selectTarget.getData()?has_content> 
266                        <#assign linkTarget = buttonText.button_link.selectTarget.getData() /> 
267                    </#if> 
268 
269                    <a href="${buttonText.button_link.getData()}" 
270                      class="button variant-outlined color-white analytics_interaccion_boton" 
271                      name="button" 
272                      title="Más información" 
273                      target="${linkTarget}" 
274                      tabindex="0" 
275                      onclick="checkWebviewLink(this, event)" 
276                      data-custom-properties='${customAnalyticsProperties}' 
277
278                        <span class="button__text">${buttonText.getData()}</span> 
279                    </a> 
280                <#else> 
281                    <button 
282                      class="button variant-outlined color-white analytics_interaccion_boton" 
283                      name="button" 
284                      title="Más información" 
285                      tabindex="0" 
286                      data-custom-properties='${customAnalyticsProperties}' 
287
288                        <span class="button__text">${buttonText.getData()}</span> 
289                    </button> 
290                </#if> 
291            </#if> 
292        </div> 
293    </section> 
294</#if> 

PP_INSURANCE_LIST_LINKS_HOME

Ilustración salud familia Ilustración familia en bicicleta

Avanza con facilidades

Conoce nuestros seguros

Te informamos sobre nuestros seguros. Si necesitas más información te podemos llamar cuando nos indiques o puedes escribirnos a través de cualquiera de los formularios disponibles en la web.

PP_SCROLL_CAROUSEL_HOME

Cuadro médico

Encuentra el profesional médico que necesitas

Cerca de 44.000 servicios médicos y más de 4.000 servicios de bienestar a tu disposición, para que tengas ofrecerte la mejor atención médica.

Encuentra tu médico

Movilidad

Localiza tu taller de confianza con nosotros

Conoce las grandes ventajas de reparar tu vehículo en nuestros Talleres AXA Calidad.
Estarás en manos de los mejores profesionales.

Encuentra tu taller

PP_PROGRESS_CARD_HOME

videoconsulta online 24h AXA

CONSULTA MÉDICA ONLINE

Siempre a tu lado, estés donde estés

Puedes contactar con un profesional médico las 24h del día o si lo prefieres programa una videoconsulta. Y si tienes una consulta rápida o quieres compartir informes o fotos puedes usar el chat y resolver tus dudas.

MÁS INFORMACIÓN

Médico mirando una radiografía

COMPARTIR ES SALUD

Aprende a cuidarte más

Descubre con AXA Salud cómo prevenir enfermedades y mejorar tu bienestar, porque creemos que compartir es salud. Tu bienestar es nuestra prioridad.

MÁS INFORMACIÓN

PP_AGENTS_V2_PRESENCIA

1750

Agentes AXA a tu disposición para resolver tus necesidades

Nuestros agentes AXA te guían para encontrar soluciones concretas y rápidas.

Contacta con un agente

PP_HERO_AGENT_HOME CORREOS

Se ha producido un error al procesar la plantilla.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> agentPresenceService  [in template "776318#776366#PP_HERO_AGENT" at line 26, column 36]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if agentPresenceService?? && agentPr...  [in template "776318#776366#PP_HERO_AGENT" at line 26, column 5]
----
1<#-- Obtenemos del expando el campo personalizado de la analítica --> 
2<#assign JournalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleService")> 
3<#assign journalArticle = JournalArticleService.getArticle(groupId, .vars["reserved-article-id"].data)> 
4 
5<#if journalArticle??> 
6    <#assign expandoBridge = journalArticle.getExpandoBridge()> 
7    <#assign customAnalyticsProperties = expandoBridge.getAttribute("Campos Personalizados Analítica")> 
8</#if> 
9 
10<#if serviceLocator.findService("publicportal.soap.services.service.api.AgentPresenceService")??> 
11	<#assign agentPresenceService = serviceLocator.findService("publicportal.soap.services.service.api.AgentPresenceService")> 
12<#else> 
13	<#assign agentPresenceService = ""> 
14</#if> 
15<#if checkDefaultImg?? && checkDefaultImg.getData()?has_content> 
16    <#assign isImage = checkDefaultImg.getData()?boolean> 
17 
18<#else> 
19    <#assign isImage = false> 
20 
21</#if> 
22 
23<#assign agent=""> 
24 
25<#if request.getParameter("medofi")?has_content> 
26    <#if agentPresenceService?? && agentPresenceService.findAgentByEncodedMedofi(request.getParameter("medofi"))??> 
27        <#assign agent = agentPresenceService.findAgentByEncodedMedofi(request.getParameter("medofi"))> 
28    </#if> 
29</#if> 
30 
31<#if !(agent?? && agent?has_content)> 
32    <#if serviceLocator.findService("com.axa.publicportals.odh.service.OdhService")??> 
33        <#assign OdhService = serviceLocator.findService("com.axa.publicportals.odh.service.OdhService")> 
34        <#if OdhService.getPresenciaAgente(request)??> 
35            <#assign agent = OdhService.getPresenciaAgente(request)> 
36        </#if> 
37    </#if> 
38</#if> 
39 
40<#if agent?? && agent?has_content> 
41    <section class="agents is-detail"> 
42        <div class="section-wrapper"> 
43						<#if agentNameTitle?? && agentNameTitle.getData()?has_content && agentNameTitle.getData()!='' > 
44	<#assign agentNameTitle = agentNameTitle.getData() /> 
45	<#else> 
46   <#assign agentNameTitle = "h1"/> 
47</#if> 
48            <#if agent?? && agent?has_content && agent.seoFriend?? && agent.seoFriend?has_content> 
49                <${agentNameTitle}> 
50								   <div class="c-agent-variant__caption"><@liferay.language key="publicportals.agents.agencia"/></div> 
51								   <div class="c-agent-variant__title">${agent.seoFriend}</div> 
52									 <div class="c-agent-variant__title">(${agent.city?lower_case?capitalize})</div> 
53								</${agentNameTitle}> 
54            </#if> 
55  			<script> 
56				document.addEventListener("DOMContentLoaded", function() { 
57					if (window.location.href.includes("oficina/agencia-seguros-")) { 
58						// Cambiar canonical 
59						var link = !!document.querySelector("link[rel='canonical']") ? document.querySelector("link[rel='canonical']") : document.createElement('link'); 
60						link.setAttribute('rel', 'canonical'); 
61						link.setAttribute('href', location.protocol + '//' + location.host + location.pathname); 
62						document.head.appendChild(link); 
63 
64						// Cambiar el título de la página 
65						document.title = "${languageUtil.format(locale, "publicportals.title.mediadores", [agent.seoFriend,agent.city?lower_case?capitalize])}"; 
66 
67						// Cambiar la descripción meta 
68						var metaDescription = document.querySelector('meta[name="description"]'); 
69						if (metaDescription) { 
70							metaDescription.setAttribute("content", "${languageUtil.format(locale, "publicportals.descripcion.mediadores", [agent.seoFriend,agent.city?lower_case?capitalize])}"); 
71						} else { 
72							// Si no existe la meta descripción, crearla 
73							metaDescription = document.createElement('meta'); 
74							metaDescription.name = "description"; 
75							metaDescription.content = "${languageUtil.format(locale, "publicportals.descripcion.mediadores", [agent.seoFriend,agent.city?lower_case?capitalize])}"; 
76							document.head.appendChild(metaDescription); 
77
78
79				}); 
80			</script> 
81            <#if agent?? && agent?has_content && agent.fullAddress?? && agent.fullAddress?has_content> 
82                <h2> 
83                    <a href="https://www.google.com/maps/search/?api=1&query=${agent.fullAddress}, españa" onclick="checkWebviewLink(this, event)" class="c-agent-variant__subtitle" target="_blank"> 
84                        <svg width='10' height='14' viewBox='0 0 10 14' fill='none' xmlns='http://www.w3.org/2000/svg'> 
85                            <path fill-rule='evenodd' clip-rule='evenodd' d='M5 14C5 14 10 7.76142 10 5C10 2.23858 7.76142 0 5 0C2.23858 0 0 2.23858 0 5C0 7.76142 5 14 5 14ZM5 7C6.10457 7 7 6.10457 7 5C7 3.89543 6.10457 3 5 3C3.89543 3 3 3.89543 3 5C3 6.10457 3.89543 7 5 7Z' fill='white' /> 
86                        </svg> 
87                        ${agent.fullAddress} 
88                    </a> 
89                </h2> 
90            </#if> 
91            <div class="c-agent-variant__contact"> 
92                <#if agent?? && agent?has_content && agent.telephoneList?? && agent.telephoneList?has_content> 
93                    <#list agent.telephoneList as telephoneNumber> 
94                        <a class="c-agent-variant__contact__link analytics_interaccion_contacto" href="tel:${telephoneNumber}" target="_blank" data-elemento-interaccion="${agent.fullName} - ${telephoneNumber}" data-custom-properties='${customAnalyticsProperties}'> 
95                            <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
96								<path d='M3.5125 6.9875C4.72017 9.34743 6.64007 11.2673 9 12.475L10.8375 10.6375C11.0852 10.4099 11.4462 10.3555 11.75 10.5C12.7101 10.8156 13.7144 10.9759 14.725 10.975C15.14 11.005 15.47 11.335 15.5 11.75V14.6625C15.5 15.125 15.125 15.5 14.6625 15.5C6.84077 15.5 0.5 9.15923 0.5 1.3375C0.5 0.874962 0.874962 0.5 1.3375 0.5H4.25C4.71254 0.5 5.0875 0.874962 5.0875 1.3375C5.07234 2.3239 5.21152 3.3066 5.5 4.25C5.59484 4.55074 5.51271 4.87927 5.2875 5.1L3.5125 6.9875Z' fill='#00008F' /> 
97							</svg> 
98                            ${telephoneNumber} 
99                        </a> 
100                         
101                        <#if agent.telephoneList?size = 2 && telephoneNumber?index = 0> 
102                            <#if agent?? && agent?has_content && agent.email?? && agent.email?has_content> 
103                                <a class="c-agent-variant__contact__link" href="mailto:${agent.email}" target="_blank"> 
104                                    <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
105                                        <path fill-rule='evenodd' clip-rule='evenodd' d='M2.397 2h11.196c.773 0 1.401.668 1.407 1.497v9.006c-.006.829-.634 1.497-1.407 1.497H2.397c-.77-.006-1.391-.673-1.397-1.497V3.497C1 2.67 1.625 2 2.397 2Zm5.598 6.754 5.597-3.748V3.497L7.995 7.246 2.397 3.497v1.498l5.598 3.76Z'></path> 
106                                    </svg> 
107                                    ${agent.email} 
108                                </a> 
109                            </#if> 
110                        </#if> 
111                    </#list> 
112                </#if> 
113 
114                <#if agent.telephoneList?size != 2> 
115                    <#if agent?? && agent?has_content && agent.email?? && agent.email?has_content> 
116                        <a class="c-agent-variant__contact__link" href="mailto:${agent.email}" target="_blank"> 
117                            <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
118                                <path fill-rule='evenodd' clip-rule='evenodd' d='M2.397 2h11.196c.773 0 1.401.668 1.407 1.497v9.006c-.006.829-.634 1.497-1.407 1.497H2.397c-.77-.006-1.391-.673-1.397-1.497V3.497C1 2.67 1.625 2 2.397 2Zm5.598 6.754 5.597-3.748V3.497L7.995 7.246 2.397 3.497v1.498l5.598 3.76Z'></path> 
119                            </svg> 
120                            ${agent.email} 
121                        </a> 
122                    </#if> 
123                </#if> 
124            </div> 
125 
126            <div class="c-agent-variant__buttons"> 
127                <#if btnText.btnLink.getData()?? && btnText.btnLink.getData()?has_content> 
128                    <#assign linkTarget = "_self" /> 
129                    <#if btnText.btnLink.selectTarget2?? && btnText.btnLink.selectTarget2.getData()?has_content> 
130                        <#assign linkTarget = btnText.btnLink.selectTarget2.getData() /> 
131                    </#if> 
132                    <a target="${linkTarget}" class="button button--outlined button--white analytics_interaccion_boton" href="${btnText.btnLink.getData()}" onclick="checkWebviewLink(this, event)" data-custom-properties='${customAnalyticsProperties}'> 
133                <#else> 
134                    <#if agent.urlOffice?? && agent.urlOffice?has_content> 
135                        <a class="button button--outlined button--white analytics_interaccion_boton" href="${agent.urlOffice}" onclick="checkWebviewLink(this, event)" data-custom-properties='${customAnalyticsProperties}'> 
136                    <#else> 
137                        <a class="button button--outlined button--white d-none analytics_interaccion_boton" href="" data-custom-properties='${customAnalyticsProperties}'> 
138                    </#if> 
139                </#if> 
140                    <span class="button__text"> 
141                        <#if btnText.getData()?? && btnText.getData()?has_content> 
142                            ${btnText.getData()} 
143                        <#else> 
144                            <@liferay.language key="publicportals.agents.informacion"/> 
145                        </#if> 
146                    </span> 
147                </a> 
148            </div> 
149            <div class="c-agent-variant__rrss"> 
150                <#if agent?? && agent?has_content && agent.socialMediaList?? && agent.socialMediaList?has_content> 
151                    <#list agent.socialMediaList as socialMedia> 
152                        <#if socialMedia.socialMediaProvider?lower_case == "facebook"> 
153                            <a class="c-agent-variant__rrss__link" href="${socialMedia.address}" onclick="openWebviewLink(this, event, 'externalLink')"> 
154                                <svg width='7' height='14' viewBox='0 0 7 14' fill='none' xmlns='http://www.w3.org/2000/svg'> 
155									<path d='M1.70494 4.75979H0.117188V6.99979H1.70494V13.7198H4.37079V6.99979H6.33097L6.51719 4.75979H4.37079V3.8514C4.37079 3.31462 4.4688 3.10817 4.95884 3.10817H6.49759V0.279785H4.4688C2.50861 0.279785 1.70494 1.16753 1.70494 2.86043V4.75979Z' fill='#00008F' /> 
156								</svg> 
157                            </a> 
158                        <#elseif socialMedia.socialMediaProvider?lower_case == "twitter"> 
159                            <a class="c-agent-variant__rrss__link" href="${socialMedia.address}" onclick="openWebviewLink(this, event, 'externalLink')"> 
160                                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"> 
161                                                                              <path fill="#00008F" d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z"/> 
162                                                                            </svg> 
163 
164                            </a> 
165                        <#elseif socialMedia.socialMediaProvider?lower_case == "linkedin"> 
166                            <a class="c-agent-variant__rrss__link" href="${socialMedia.address}" onclick="openWebviewLink(this, event, 'externalLink')"> 
167                                <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
168									<path fill-rule='evenodd' clip-rule='evenodd' d='M3.97485 3.28232C3.96341 4.02045 3.35778 4.61065 2.6196 4.60305C1.88142 4.59545 1.28807 3.9929 1.29183 3.2547C1.29558 2.51649 1.89503 1.92001 2.63325 1.91992C2.9927 1.91988 3.33713 2.06408 3.58933 2.32019C3.84154 2.57631 3.98042 2.92292 3.97485 3.28232ZM3.97485 5.71592H1.28125V14.3999H3.98525L3.97485 5.71592ZM5.60765 5.71592H8.28045L8.29085 6.89112C9.42445 4.73832 14.2396 4.63432 14.2396 8.89832V14.3999H11.5461V9.84472C11.5461 7.10952 8.29085 7.31752 8.29085 9.84472V14.3999H5.60765V5.71592Z' fill='#00008F' /> 
169								</svg> 
170                            </a> 
171                        <#elseif socialMedia.socialMediaProvider?lower_case == "youtube"> 
172                            <a class="c-agent-variant__rrss__link" href="${socialMedia.address}" onclick="openWebviewLink(this, event, 'externalLink')"> 
173                                <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
174									<path fill-rule='evenodd' clip-rule='evenodd' d='M3.73868 2.67022C5.7583 2.52334 10.2442 2.52334 12.2638 2.67022C14.4485 2.8276 14.7398 4.25448 14.7204 8.00006C14.701 11.7456 14.4485 13.1725 12.2638 13.3299C10.2442 13.4768 5.74859 13.4768 3.73868 13.3299C1.55399 13.1725 1.2627 11.7456 1.28212 8.00006C1.30154 4.25448 1.55399 2.8276 3.73868 2.67022ZM10.8812 8.00006L6.40125 5.76006V10.2401L10.8812 8.00006Z' fill='#00008F' /> 
175								</svg> 
176                            </a> 
177                        </#if> 
178                    </#list> 
179                    <#assign urlHome = themeDisplay.getPortalURL()> 
180                    <#if urlHome?? && urlHome?has_content> 
181                        <#if agent.urlOffice?? && agent.urlOffice?has_content> 
182                            <a data-a2a-url="${urlHome}${agent.urlOffice}" data-a2a-title="${agent.fullName}" class="c-agent-variant__rrss__link" href="${agent.urlOffice}" onclick="checkWebviewLink(this, event)"> 
183                                <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> 
184                                    <path d="M5.9.952a.952.952 0 0 1 .112 1.899l-.111.006H2.657a.705.705 0 0 0-.512.231.903.903 0 0 0-.233.509l-.007.118v13.522c0 .24.088.466.24.627a.72.72 0 0 0 .4.222l.112.01h14.686c.091 0 .183-.02.269-.058a.75.75 0 0 0 .243-.174.87.87 0 0 0 .176-.28.947.947 0 0 0 .057-.228l.007-.119v-7.44a.952.952 0 0 1 1.899-.111l.006.11v7.441c0 .356-.066.709-.195 1.04-.13.332-.32.636-.563.893-.246.26-.539.469-.863.612-.262.115-.54.185-.823.21l-.213.008H2.657c-.717 0-1.4-.3-1.898-.83a2.813 2.813 0 0 1-.752-1.737L0 17.237V3.715c0-.72.271-1.415.758-1.933A2.615 2.615 0 0 1 2.463.96l.194-.008h3.244ZM13.728 0l5.32 5.837-5.32 5.84V8.513c-4.535 0-5.765 2.246-7.06 3.868 0-5.862 2.338-9.011 7.06-9.011V0Z"> 
185                                    </path> 
186                                </svg> 
187                            </a> 
188                        </#if> 
189                    </#if> 
190                    <script> 
191                        var a2a_config = a2a_config || {}; 
192                        a2a_config.onclick = 1; 
193                        a2a_config.locale = "es"; 
194                    </script> 
195                    <script async src="https://static.addtoany.com/menu/page.js"></script> 
196                </#if> 
197            </div> 
198            <div class="agents__lottie mt-0" data-lottie=""></div> 
199            <#if agentPresenceService??> 
200                <#assign urlImageMedofi = agentPresenceService.getURLResponse(agent.getMedofi(), isImage)> 
201                <#if urlImageMedofi?has_content> 
202                    <div class="c-agent-variant__image"> 
203                        <img src="${urlImageMedofi}" alt="medofi image"></img> 
204                    </div> 
205                </#if> 
206            </#if> 
207        </div> 
208    </section> 
209<#else> 
210    <section class="hero updater"> 
211          <#if picture_desktop?? && picture_desktop.getData()?? && picture_desktop.getData() != ""> 
212            <picture class="hero__image"> 
213              <source media="(max-width: 1009px)" srcset="${picture_desktop.getData()}" /> 
214              <img alt="${picture_desktop.getAttribute("alt")}" src="${picture_desktop.getData()}" /> 
215            </picture> 
216          </#if> 
217        <#if video_desktop?? && video_desktop.getData()?? && video_desktop.getData() != ""> 
218            <video autoplay="" class="hero__video" muted="" loop="" playsinline="" 
219                <#if picture_desktop?? && picture_desktop.getData()?? && picture_desktop.getData() != ""> 
220                  poster="${picture_desktop.getData()}" 
221                </#if> 
222
223              <source src="${video_desktop.getData()}" type="video/mp4" /> <@liferay.language key="publicportals.carousel.video"/> 
224            </video> 
225        </#if> 
226        <#if picture_mobile?? && picture_mobile.getData()?? && picture_mobile.getData() != ""> 
227 
228            <video autoplay="" muted="" class="hero__video is-mobile" loop="" playsinline="" 
229                <#if picture_mobile?? && picture_mobile.getData()?? && picture_mobile.getData() != ""> 
230                poster="${picture_mobile.getData()}" 
231                </#if> 
232
233                <source src="${video_mobile.getData()}" type="video/mp4" /> <@liferay.language key="publicportals.carousel.video"/> 
234            </video> 
235        </#if> 
236        <div class="stroke-overlay"> 
237            <div class="stroke-overlay__layer is-top"></div> 
238            <div class="stroke-overlay__layer is-right"></div> 
239            <div class="stroke-overlay__layer is-bottom"></div> 
240            <div class="stroke-overlay__layer is-left"></div> 
241        </div> 
242        <div class="section-wrapper"> 
243				<#if titleSize?? && titleSize.getData()?has_content && titleSize.getData()!='' > 
244	<#assign titleSize = titleSize.getData() /> 
245	<#else> 
246   <#assign titleSize = "h1"/> 
247</#if> 
248            <#if title?? && title.getData()?? && title.getData() != ""> 
249                <${titleSize} class="hero__title" style=""> 
250                    ${title.getData()} 
251                </${titleSize}> 
252            </#if> 
253						<#if subtitleSize?? && subtitleSize.getData()?has_content && subtitleSize.getData()!='' > 
254	<#assign subtitleSize = subtitleSize.getData() /> 
255	<#else> 
256   <#assign subtitleSize = "h2"/> 
257</#if> 
258            <#if subtitle?? && subtitle.getData()?? && subtitle.getData() != ""> 
259                <${subtitleSize} class="hero__subtitle">${subtitle.getData()}</${subtitleSize}> 
260            </#if> 
261            <#if buttonText?? && buttonText.getData()?? && buttonText.getData()!="" > 
262                <#if buttonText.button_link?? && buttonText.button_link.getData()?? && buttonText.button_link.getData()!="" > 
263 
264                    <#assign linkTarget = "_blank" /> 
265                    <#if buttonText.button_link.selectTarget?? && buttonText.button_link.selectTarget.getData()?has_content> 
266                        <#assign linkTarget = buttonText.button_link.selectTarget.getData() /> 
267                    </#if> 
268 
269                    <a href="${buttonText.button_link.getData()}" 
270                      class="button variant-outlined color-white analytics_interaccion_boton" 
271                      name="button" 
272                      title="Más información" 
273                      target="${linkTarget}" 
274                      tabindex="0" 
275                      onclick="checkWebviewLink(this, event)" 
276                      data-custom-properties='${customAnalyticsProperties}' 
277
278                        <span class="button__text">${buttonText.getData()}</span> 
279                    </a> 
280                <#else> 
281                    <button 
282                      class="button variant-outlined color-white analytics_interaccion_boton" 
283                      name="button" 
284                      title="Más información" 
285                      tabindex="0" 
286                      data-custom-properties='${customAnalyticsProperties}' 
287
288                        <span class="button__text">${buttonText.getData()}</span> 
289                    </button> 
290                </#if> 
291            </#if> 
292        </div> 
293    </section> 
294</#if> 
DANA

Clientes damnificados por la DANA de octubre 2024

Con el objetivo de acompañar a los clientes afectados por la DANA, desde AXA tenemos activo un protocolo de actuación para minimizar los trámites y facilitar su recuperación.

Más información

PP_HELP_AGENT_PORTAL

¿Necesitas ayuda?

En AXA siempre estamos disponibles para ti ofreciéndote diferentes canales para contactar con nosotros.

LLÁMANOS