1import{a as ge,b as De}from"./chunk-DBDVJRNH.js";import{b as kt,d as Pt,e as Ot,f as Et,h as Tt,i as At,n as Rt,o as It,p as Lt,r as jt,v as Dt,x as Ft}from"./chunk-NEZ7UURB.js";import{a as Pe,d as zt}from"./chunk-T65FRIL3.js";import{a as ue,b as Fe}from"./chunk-GFQV7TAQ.js";import"./chunk-AXFF2CCA.js";import{a as Nt,b as Vo}from"./chunk-MLYB7R7I.js";import{a as je,b as ht,c as W,d as fe,e as V,f as he,g as Ut,p as Ho,s as Vt,t as Bo}from"./chunk-HAMIHFFR.js";import{d as St,e as Uo}from"./chunk-5UXJOW4L.js";import{c as ke,e as Mt}from"./chunk-KFGU4UUU.js";import{a as mt,b as zo,c as gt,d as de,f as me,g as ut,h as _t,i as ft,j as Me,m as Se,n as Le,o as xt,p as Q,r as Ct,s as N,u as bt,v as vt,w as wt,x as yt,y as Z,z as U}from"./chunk-ZO6IQXSH.js";import{k as O,p as k,r as E}from"./chunk-5XHJENN4.js";import{$a as a,$b as ct,Ac as dt,C as ae,Ca as Je,D as ie,F as q,Fb as A,Gb as h,Hb as x,Ib as at,Ja as j,Ka as Qe,Kb as G,Lb as Y,Mb as u,Nb as l,Ob as c,Pb as C,Qb as K,Qc as g,Rb as J,S as X,Tb as R,Ub as lt,V as Ce,Vb as M,Wb as re,X as le,Xb as d,Y as ce,Z as Ke,Za as f,a as Be,aa as y,ac as st,b as $e,bc as pt,d as b,da as be,db as Ze,e as No,ea as L,eb as et,f as xe,fa as p,fb as tt,fc as pe,ga as Re,gc as D,ib as ot,ic as m,jb as nt,jc as F,ka as v,kc as I,la as w,lb as it,mc as ve,nc as we,o as B,oa as We,oc as ye,p as Ge,pa as se,q as H,qa as qe,qb as S,r as Ye,u as Ae,ua as T,ub as rt,uc as Ie,va as Xe,za as $}from"./chunk-M6BYH6T6.js";function Ht(t){let i=t.split("?")[0].split("#")[0];return i.startsWith("/linea-empresas")?"EMPRESAS":i.startsWith("/login/login-proovedores")?"PROVEEDORES":i.startsWith("/login/login-prestadores")?"PRESTADORES":"PERSONAS"}var Oe,Ne=b(()=>{"use strict";g();U();$();g();Oe=(()=>{class t{router=p(N);selectedSiteTypeSignal=T(this.getInitialState());selectedSiteType=this.selectedSiteTypeSignal.asReadonly();constructor(){this.syncSiteTypeFromRoute(this.router.url),this.router.events.pipe(ie(e=>e instanceof Q)).subscribe(e=>{this.syncSiteTypeFromRoute(e.urlAfterRedirects)}),globalThis.window!==void 0&&globalThis.window.addEventListener("pageshow",e=>{e.persisted&&this.syncSiteTypeFromRoute(globalThis.location.pathname+globalThis.location.search)})}setSiteType(e){if(this.selectedSiteTypeSignal.set(e),globalThis.sessionStorage!==void 0)try{globalThis.sessionStorage.setItem("siteType",e)}catch(o){console.warn("No se pudo guardar el estado en sessionStorage.",o)}}getLoginRoute(){switch(this.selectedSiteTypeSignal()){case"PERSONAS":return"/login/asociados";case"EMPRESAS":return"/login/empresas";case"PROVEEDORES":return"/login/login-proovedores";case"ASOCIADOS":return"/login/asociados";case"PRESTADORES":return"/login/login-prestadores";default:return"/login/asociados"}}syncSiteTypeFromRoute(e){let o=Ht(e);this.setSiteType(o==="PROVEEDORES"?"PERSONAS":o)}getInitialState(){let e=globalThis.location?.pathname;return e?Ht(e):"PERSONAS"}static \u0275fac=function(o){return new(o||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var Bt,$t=b(()=>{"use strict";g();E();Ne();U();g();Bt=(()=>{class t{siteTypeService=p(Oe);router=p(N);selectedSiteType=this.siteTypeService.selectedSiteType;isMenuOpen=T(!1);toggleMenu(){this.isMenuOpen.set(!this.isMenuOpen())}closeMenu(){this.isMenuOpen.set(!1)}selectSiteType(e){if(this.siteTypeService.setSiteType(e),this.closeMenu(),e==="PERSONAS"){this.router.navigateByUrl("/");return}if(e==="EMPRESAS"){this.router.navigateByUrl("/linea-empresas");return}if(e==="PROVEEDORES"){this.router.navigateByUrl("/login/login-proovedores");return}if(e==="PRESTADORES"){this.router.navigateByUrl("/login/login-prestadores");return}this.router.navigateByUrl(this.siteTypeService.getLoginRoute())}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=S({type:t,selectors:[["app-site-selector"]],decls:28,vars:13,consts:[[1,"site-selector"],[1,"mx-auto","max-w-page","px-4","lg:px-8"],[1,"site-selector__content"],[1,"ml-auto"],[1,"site-selector__wrapper"],[1,"site-selector__label"],[1,"site-selector__dropdown","w-48","ml-4"],["type","button","aria-haspopup","true","aria-controls","site-selector-menu",1,"site-selector__button","w-full","flex","items-center","justify-between",3,"click"],["aria-hidden","true"],["id","site-selector-menu",1,"site-selector__menu","w-48",3,"hidden"],["type","button",3,"click"]],template:function(o,n){o&1&&(K(0,"div",0)(1,"div",1)(2,"div",2)(3,"nav",3)(4,"div",4)(5,"span",5),m(6,"Ver el sitio para:"),J(),K(7,"div",6)(8,"button",7),re("click",function(){return n.toggleMenu()}),m(9),K(10,"span",8),m(11,"\u25BC"),J()(),K(12,"ul",9)(13,"li")(14,"button",10),re("click",function(){return n.selectSiteType("PERSONAS")}),m(15," Personas "),J()(),K(16,"li")(17,"button",10),re("click",function(){return n.selectSiteType("ASOCIADOS")}),m(18," Asociados "),J()(),K(19,"li")(20,"button",10),re("click",function(){return n.selectSiteType("EMPRESAS")}),m(21," Empresas "),J()(),K(22,"li")(23,"button",10),re("click",function(){return n.selectSiteType("PRESTADORES")}),m(24," Prestadores "),J()(),K(25,"li")(26,"button",10),re("click",function(){return n.selectSiteType("PROVEEDORES")}),m(27," Proveedores "),J()()()()()()()()()),o&2&&(a(8),A("aria-expanded",n.isMenuOpen()),a(),I(" ",n.selectedSiteType()," "),a(3),lt("hidden",!n.isMenuOpen()),a(2),D("active",n.selectedSiteType()==="PERSONAS"),a(3),D("active",n.selectedSiteType()==="ASOCIADOS"),a(3),D("active",n.selectedSiteType()==="EMPRESAS"),a(3),D("active",n.selectedSiteType()==="PRESTADORES"),a(3),D("active",n.selectedSiteType()==="PROVEEDORES"))},dependencies:[O],styles:[".site-selector[_ngcontent-%COMP%]{position:sticky;top:0;z-index:60;width:100%;--tw-bg-opacity: 1;background-color:rgb(38 61 131 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.site-selector__content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding-top:1rem;padding-bottom:1rem}.site-selector__wrapper[_ngcontent-%COMP%]{margin-right:2rem;display:flex;align-items:center;gap:.5rem}.site-selector__label[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.site-selector__dropdown[_ngcontent-%COMP%]{position:relative}.site-selector__button[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem;padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.site-selector__button[_ngcontent-%COMP%]:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#263d83}.site-selector__button[_ngcontent-%COMP%]{border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.site-selector__button[_ngcontent-%COMP%]:hover{background-color:#ffffff1a}.site-selector__menu[_ngcontent-%COMP%]{position:absolute;top:100%;left:0;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(244 247 254 / var(--tw-bg-opacity, 1));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);min-width:9rem;padding-top:.5rem;padding-bottom:.5rem}.site-selector__menu[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse));--tw-divide-opacity: 1;border-color:rgb(185 187 198 / var(--tw-divide-opacity, 1))}.site-selector__menu[_ngcontent-%COMP%]{padding-left:.25rem;padding-right:.25rem}.site-selector__menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-bottom-width:0px}.site-selector__menu[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;padding:.5rem 1rem;text-align:left;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(67 94 177 / var(--tw-text-opacity, 1))}.site-selector__menu[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(244 247 254 / var(--tw-bg-opacity, 1))}.site-selector__menu[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#263d83}.site-selector__menu[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.site-selector__menu[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{font-weight:700;--tw-text-opacity: 1;color:rgb(67 94 177 / var(--tw-text-opacity, 1))}.site-selector__menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child button[_ngcontent-%COMP%]{border-bottom-width:0px}@media(max-width:1023px){.site-selector[_ngcontent-%COMP%] .ml-auto[_ngcontent-%COMP%]{margin-left:0;width:100%}.site-selector__wrapper[_ngcontent-%COMP%]{width:100%;justify-content:space-between}}"],changeDetection:0})}return t})()});var Gt,Yt=b(()=>{"use strict";g();E();Me();ce();$();he();g();Gt=(()=>{class t{http=p(me);platformId=p(j);cmsUrl=`${V.bffUrl}/cms/entries/slug/navbar?contentType=navbar`;cmsCompanyLineUrl=`${V.bffUrl}/cms/entries/slug/navbar-company-line?contentType=navbar`;CACHE_KEYS={PERSONAS:"navbar_personas_cms_cache",EMPRESAS:"navbar_empresas_cms_cache"};navbarPersonas$=this.buildStream(this.cmsUrl,this.CACHE_KEYS.PERSONAS,"get_navbar_personas");navbarEmpresas$=this.buildStream(this.cmsCompanyLineUrl,this.CACHE_KEYS.EMPRESAS,"get_navbar_empresas");getNavbarContent(){return this.navbarPersonas$}getCompanyLineNavbarContent(){return this.navbarEmpresas$}buildStream(e,o,n){let r=k(this.platformId)?localStorage.getItem(o):null,s=B;if(r)try{s=H(JSON.parse(r))}catch(z){console.error(`Error al parsear el cach\xE9 local de la clave [${o}]:`,z),k(this.platformId)&&localStorage.removeItem(o)}let _=this.http.get(e,{headers:new de().set("X-Recaptcha-Action",n)}).pipe(le(z=>{k(this.platformId)&&localStorage.setItem(o,JSON.stringify(z))}),q(z=>(console.warn(`El servidor del CMS fall\xF3 para [${o}]. Manteniendo resguardo:`,z),B)));return ae(s,_).pipe(X(1))}static \u0275fac=function(o){return new(o||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function Go(t,i){if(t&1&&(l(0,"a",15),m(1),c()),t&2){let e=d().$implicit;u("href",e.externalUrl,f)("cmsLinkAttrs",e),a(),I(" ",e.text," ")}}function Yo(t,i){if(t&1&&(l(0,"a",16),m(1),c()),t&2){let e=d().$implicit,o=d(2);u("cmsRouterLink",e.route)("target",o.resolveCmsLinkTarget(e))("cmsLinkAttrs",e)("routerLinkActiveOptions",Ie(5,Kt)),a(),I(" ",e.text," ")}}function Ko(t,i){if(t&1&&(l(0,"li"),h(1,Go,2,3,"a",15)(2,Yo,2,6,"a",16),c()),t&2){let e=i.$implicit;a(),x(e.externalUrl?1:2)}}function Wo(t,i){if(t&1&&C(0,"img",18),t&2){let e=d(2);u("src",e.button.iconUrl,f)("alt",e.button.iconAlt)}}function qo(t,i){if(t&1&&(l(0,"a",17),h(1,Wo,1,2,"img",18),m(2),c()),t&2){let e=d();pe("color",e.button.textColor),u("href",e.button.externalUrl,f)("cmsLinkAttrs",e.button),a(),x(e.button.iconUrl?1:-1),a(),I(" ",e.button.text," ")}}function Xo(t,i){if(t&1&&C(0,"img",18),t&2){let e=d(2);u("src",e.button.iconUrl,f)("alt",e.button.iconAlt)}}function Jo(t,i){if(t&1&&(l(0,"a",19),h(1,Xo,1,2,"img",18),m(2),c()),t&2){let e=d(),o=d();pe("color",e.button.textColor),u("cmsRouterLink",o.getAccountRoute(e.button.route))("target",o.resolveCmsLinkTarget(e.button))("cmsLinkAttrs",e.button),a(),x(e.button.iconUrl?1:-1),a(),I(" ",e.button.text," ")}}function Qo(t,i){if(t&1&&(l(0,"div",6)(1,"a",7)(2,"div",8),C(3,"img",9),c()()(),l(4,"nav",10)(5,"ul",11),G(6,Ko,3,1,"li",null,Wt),c(),l(8,"app-button",12),h(9,qo,3,6,"a",13)(10,Jo,3,7,"a",14),c()()),t&2){let e=i;a(),u("cmsRouterLink","/"),A("aria-label",e.logo.alt),a(2),u("src",e.logo.desktopImageUrl+"?h=450&fm=webp",f)("alt",e.logo.alt),a(3),Y(e.navItems),a(2),pe("background-color",e.button.backgroundColor),u("ariaLabel",e.button.name),a(),x(e.button.externalUrl?9:10)}}function Zo(t,i){if(t&1){let e=R();l(0,"a",28),M("click",function(){v(e);let n=d(4);return w(n.closeMobileMenu())}),m(1),c()}if(t&2){let e=d().$implicit;u("href",e.externalUrl,f)("cmsLinkAttrs",e),a(),I(" ",e.text," ")}}function en(t,i){if(t&1){let e=R();l(0,"a",29),M("click",function(){v(e);let n=d(4);return w(n.closeMobileMenu())}),m(1),c()}if(t&2){let e=d().$implicit,o=d(3);u("cmsRouterLink",e.route)("target",o.resolveCmsLinkTarget(e))("cmsLinkAttrs",e)("routerLinkActiveOptions",Ie(5,Kt)),a(),I(" ",e.text," ")}}function tn(t,i){if(t&1&&(l(0,"li"),h(1,Zo,2,3,"a",26)(2,en,2,6,"a",27),c()),t&2){let e=i.$implicit;a(),x(e.externalUrl?1:2)}}function on(t,i){if(t&1&&C(0,"img",18),t&2){let e=d(3);u("src",e.button.iconUrl,f)("alt",e.button.iconAlt)}}function nn(t,i){if(t&1){let e=R();l(0,"a",30),M("click",function(){v(e);let n=d(3);return w(n.closeMobileMenu())}),h(1,on,1,2,"img",18),l(2,"span",31),m(3),c()()}if(t&2){let e=d(2);pe("background-color",e.button.backgroundColor)("color",e.button.textColor),u("href",e.button.externalUrl,f)("cmsLinkAttrs",e.button),a(),x(e.button.iconUrl?1:-1),a(2),F(e.button.text)}}function rn(t,i){if(t&1&&C(0,"img",18),t&2){let e=d(3);u("src",e.button.iconUrl,f)("alt",e.button.iconAlt)}}function an(t,i){if(t&1){let e=R();l(0,"a",32),M("click",function(){v(e);let n=d(3);return w(n.closeMobileMenu())}),h(1,rn,1,2,"img",18),l(2,"span",31),m(3),c()()}if(t&2){let e=d(2),o=d();pe("background-color",e.button.backgroundColor)("color",e.button.textColor),u("cmsRouterLink",o.getAccountRoute(e.button.route))("target",o.resolveCmsLinkTarget(e.button))("cmsLinkAttrs",e.button),a(),x(e.button.iconUrl?1:-1),a(2),F(e.button.text)}}function ln(t,i){if(t&1&&(l(0,"nav",20)(1,"ul",21),G(2,tn,3,1,"li",null,Wt),l(4,"li",22)(5,"app-button",23),h(6,nn,4,8,"a",24)(7,an,4,9,"a",25),c()()()()),t&2){let e=d();
1a(2),Y(e.navItems),a(4),x(e.button.externalUrl?6:7)}}function cn(t,i){if(t&1&&h(0,ln,8,1,"nav",20),t&2){let e=d();x(e.isMobileMenuOpen()?0:-1)}}var Kt,Wt,qt,Xt=b(()=>{"use strict";g();E();U();Uo();Yt();Ne();De();Fe();Mt();fe();$();g();U();Kt=()=>({exact:!1}),Wt=(t,i)=>i.text;qt=(()=>{class t{isMobileMenuOpen=T(!1);headerService=p(Gt);siteTypeService=p(Oe);navContent=W(ht(this.siteTypeService.selectedSiteType).pipe(Ce(e=>e==="EMPRESAS"?this.headerService.getCompanyLineNavbarContent():this.headerService.getNavbarContent())),{initialValue:null});toggleMobileMenu(){this.isMobileMenuOpen.update(e=>!e)}closeMobileMenu(){this.isMobileMenuOpen.set(!1)}getAccountRoute(e){return this.siteTypeService.getLoginRoute()}resolveCmsLinkTarget(e){return ke(e)}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=S({type:t,selectors:[["app-header"]],decls:11,vars:6,consts:[["role","banner",1,"app-header","relative","z-50","w-full"],[1,"mx-auto","max-w-page","px-4","lg:px-8"],[1,"app-header__content"],["type","button",1,"app-header__menu-toggle",3,"click"],[1,"app-header__menu-icon"],["aria-hidden","true",1,"app-header__mobile-spacer"],[1,"app-header__logo-wrapper"],[1,"app-header__logo",3,"cmsRouterLink"],[1,"app-header__logo-icon"],[1,"app-header__logo-image","h-auto","w-[147px]",3,"src","alt"],["aria-label","Navegaci\xF3n principal",1,"app-header__nav"],[1,"app-header__nav-list"],["variant","accent","size","medium",1,"app-header__account-button",3,"ariaLabel"],[1,"app-header__account-link",3,"href","cmsLinkAttrs","color"],[1,"app-header__account-link",3,"cmsRouterLink","target","cmsLinkAttrs","color"],[1,"app-header__nav-link",3,"href","cmsLinkAttrs"],["routerLinkActive","app-header__nav-link--active",1,"app-header__nav-link",3,"cmsRouterLink","target","cmsLinkAttrs","routerLinkActiveOptions"],[1,"app-header__account-link",3,"href","cmsLinkAttrs"],["aria-hidden","true",1,"w-5","h-5","mr-2","object-contain",3,"src","alt"],[1,"app-header__account-link",3,"cmsRouterLink","target","cmsLinkAttrs"],["aria-label","Navegaci\xF3n m\xF3vil",1,"app-header__mobile-nav"],[1,"app-header__mobile-nav-list"],[1,"px-2.5"],["variant","accent","size","medium",1,"w-full","block"],[1,"app-header__account-link","app-header__account-button",3,"href","cmsLinkAttrs","background-color","color"],[1,"app-header__account-link","app-header__account-button",3,"cmsRouterLink","target","cmsLinkAttrs","background-color","color"],[3,"href","cmsLinkAttrs"],["routerLinkActive","app-header__mobile-nav-link--active",3,"cmsRouterLink","target","cmsLinkAttrs","routerLinkActiveOptions"],[3,"click","href","cmsLinkAttrs"],["routerLinkActive","app-header__mobile-nav-link--active",3,"click","cmsRouterLink","target","cmsLinkAttrs","routerLinkActiveOptions"],[1,"app-header__account-link","app-header__account-button",3,"click","href","cmsLinkAttrs"],[1,"mt-[2px]"],[1,"app-header__account-link","app-header__account-button",3,"click","cmsRouterLink","target","cmsLinkAttrs"]],template:function(o,n){if(o&1&&(l(0,"header",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return n.toggleMobileMenu()}),l(4,"span",4),C(5,"span")(6,"span")(7,"span"),c()(),h(8,Qo,11,8),C(9,"div",5),c(),h(10,cn,1,1),c()()),o&2){let r,s;a(3),A("aria-expanded",n.isMobileMenuOpen())("aria-label",n.isMobileMenuOpen()?"Cerrar men\xFA":"Abrir men\xFA"),a(),D("open",n.isMobileMenuOpen()),a(4),x((r=n.navContent())?8:-1,r),a(2),x((s=n.navContent())?10:-1,s)}},dependencies:[O,Z,bt,St,ge,ue],styles:[".app-header[_ngcontent-%COMP%]{position:absolute;top:60px;left:0;z-index:50;width:100%;background-color:transparent}.app-header__container[_ngcontent-%COMP%]{width:100%;background-color:transparent}.app-header__content[_ngcontent-%COMP%]{z-index:99;margin-left:auto;margin-right:auto;margin-top:1.5rem;display:flex;max-width:1152px;align-items:center;justify-content:space-between;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 20px 11px;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media(min-width:1024px){.app-header__content[_ngcontent-%COMP%]{border-radius:1rem;padding:14px 24px 15px}}.app-header__content[_ngcontent-%COMP%]{z-index:99;position:relative}.app-header__logo-wrapper[_ngcontent-%COMP%]{display:flex;flex:1 1 0%;justify-content:center}@media(min-width:1024px){.app-header__logo-wrapper[_ngcontent-%COMP%]{display:contents;flex:none}}.app-header__mobile-spacer[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;flex-shrink:0}@media(min-width:1024px){.app-header__mobile-spacer[_ngcontent-%COMP%]{display:none}}.app-header__logo[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;text-decoration-line:none;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.app-header__logo[_ngcontent-%COMP%]:hover{opacity:.8}.app-header__logo-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.app-header__logo-symbol[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.app-header__logo-text[_ngcontent-%COMP%]{display:flex;flex-direction:column}.app-header__logo-name[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(38 61 131 / var(--tw-text-opacity, 1))}.app-header__logo-group[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(122 125 138 / var(--tw-text-opacity, 1))}.app-header__nav[_ngcontent-%COMP%]{display:none;align-items:center;gap:1.5rem}@media(min-width:1024px){.app-header__nav[_ngcontent-%COMP%]{display:flex}}.app-header__site-selector[_ngcontent-%COMP%]{margin-right:2rem;display:flex;align-items:center;gap:.5rem}.app-header__site-label[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.app-header__dropdown[_ngcontent-%COMP%]{position:relative}.app-header__dropdown-button[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem;padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.app-header__dropdown-button[_ngcontent-%COMP%]:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#263d83}.app-header__dropdown-button[_ngcontent-%COMP%]{border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.app-header__nav-list[_ngcontent-%COMP%]{margin:0;display:flex;list-style-type:none;align-items:center;gap:1rem;padding:0}.app-header__menu-toggle[_ngcontent-%COMP%]{display:flex;height:2.5rem;width:2.5rem;align-items:center;justify-content:center}@media(min-width:1024px){.app-header__menu-toggle[_ngcontent-%COMP%]{display:none}}.app-header__menu-toggle[_ngcontent-%COMP%]{cursor:pointer;border-style:none;background-color:transparent}.app-header__menu-toggle[_ngcontent-%COMP%]:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#263d83}.app-header__mobile-nav[_ngcontent-%COMP%]{position:relative;border-radius:.5rem;border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(185 187 198 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}@media(min-width:1024px){.app-header__mobile-nav[_ngcontent-%COMP%]{display:none}}.app-header__mobile-nav[_ngcontent-%COMP%]{z-index:10;margin-top:-10px;width:fit-content;padding-bottom:1rem;padding-top:1.5rem}.app-header__mobile-nav-list[_ngcontent-%COMP%]{margin:-5px 0 0;display:flex;list-style-type:none;flex-direction:column;gap:.5rem;padding:0}"],changeDetection:0})}return t})()});var Jt,Qt=b(()=>{"use strict";g();E();Me();ce();$();he();g();Jt=(()=>{class t{http=p(me);platformId=p(j);cmsUrl=`${V.bffUrl}/cms/entries/slug/footer?contentType=footer`;CACHE_KEY="footer_cms_cache";content$=this.buildStream();getFooterContent(){return this.content$}buildStream(){let e=k(this.platformId)?localStorage.getItem(this.CACHE_KEY):null,o=B;if(e)try{o=H(JSON.parse(e))}catch(r){console.error("Error al parsear el cach\xE9 local del Footer:",r),k(this.platformId)&&localStorage.removeItem(this.CACHE_KEY)}let n=this.http.get(this.cmsUrl,{headers:new de().set("X-Recaptcha-Action","get_footer")}).pipe(le(r=>{k(this.platformId)&&localStorage.setItem(this.CACHE_KEY,JSON.stringify(r))}),q(r=>(console.warn("El servidor del CMS est\xE1 lento o ca\xEDdo para el Footer. Manteniendo cach\xE9 de resguardo:",r),B)));return ae(o,n).pipe(X(1))}static \u0275fac=function(o){return new(o||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var sn,Zt,eo=b(()=>{"use strict";g();g();sn=["dialogRef"],Zt=(()=>{class t{dialogRef;closeRequested=new et;ngAfterViewInit(){this.dialogRef?.nativeElement?.showModal()}closeDialog(){this.dialogRef?.nativeElement?.close(),this.closeRequested.emit()}onBackdropClick(e){e.target===e.currentTarget&&this.closeDialog()}onKeyDown(e){e.key==="Escape"&&this.closeDialog()}onClose(){this.closeDialog()}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=S({type:t,selectors:[["ng-component"]],viewQuery:function(o,n){if(o&1&&ct(sn,5),o&2){let r;st(r=pt())&&(n.dialogRef=r.first)}},outputs:{closeRequested:"closeRequested"},decls:0,vars:0,template:function(o,n){},encapsulation:2,changeDetection:0})}return t})()});var to,oo=b(()=>{"use strict";E();Ft();eo();g();Ft();to=(()=>{class t extends Zt{tipoDoc="DNI";dniTitular="";numeroAsociado="";onSubmit(){this.closeDialog()}static \u0275fac=(()=>{let e;return function(n){return(e||(e=Je(t)))(n||t)}})();static \u0275cmp=S({type:t,selectors:[["app-solicitud-baja-modal"]],features:[rt],decls:32,vars:3,consts:[["dialogRef",""],["aria-labelledby","solicitud-baja-title","tabindex","-1",1,"solicitud-baja-modal__dialog",3,"click","keydown","cancel"],["tabindex","-1",1,"solicitud-baja-modal__card",3,"click","keydown"],["type","button","aria-label","Cerrar",1,"solicitud-baja-modal__close",3,"click"],["aria-hidden","true"],["id","solicitud-baja-title",1,"solicitud-baja-modal__title"],["novalidate","",1,"solicitud-baja-modal__form",3,"ngSubmit"],[1,"solicitud-baja-modal__row"],[1,"solicitud-baja-modal__field"],["for","tipo-doc",1,"solicitud-baja-modal__label"],["id","tipo-doc","name","tipoDoc",1,"solicitud-baja-modal__input","solicitud-baja-modal__select",3,"ngModelChange","ngModel"],["value","DNI"],["value","LC"],["value","LE"],["value","CI"],["for","dni-titular",1,"solicitud-baja-modal__label"],["id","dni-titular","type","text","name","dniTitular","placeholder","Ingres\xE1 el n\xFAmero de DNI","inputmode","numeric","maxlength","10",1,"solicitud-baja-modal__input",3,"ngModelChange","ngModel"],["for","numero-asociado",1,"solicitud-baja-modal__label"],["id","numero-asociado","type","text","name","numeroAsociado","placeholder","000000 / 0",1,"solicitud-baja-modal__input",3,"ngModelChange","ngModel"],["type","submit","aria-label","Iniciar baja",1,"solicitud-baja-modal__submit"]],template:function(o,n){if(o&1){let r=R();l(0,"dialog",1,0),M("click",function(_){return v(r),w(n.onBackdropClick(_))})("keydown",function(_){return v(r),w(n.onKeyDown(_))})("cancel",function(){return v(r),w(n.onClose())}),l(2,"div",2),M("click",function(_){return v(r),w(_.stopPropagation())})("keydown",function(_){return v(r),w(n.onKeyDown(_))}),l(3,"button",3),M("click",function(){return v(r),w(n.onClose())}),l(4,"span",4),m(5,"\xD7"),c()(),l(6,"h2",5),m(7," Vas a iniciar la solicitud de baja "),c(),l(8,"form",6),M("ngSubmit",function(){return v(r),w(n.onSubmit())}),l(9,"div",7)(10,"div",8)(11,"label",9),m(12," Tipo de Doc. "),c(),l(13,"select",10),ye("ngModelChange",function(_){return v(r),we(n.tipoDoc,_)||(n.tipoDoc=_),w(_)}),l(14,"option",11),m(15,"DNI"),c(),l(16,"option",12),m(17,"LC"),c(),l(18,"option",13),m(19,"LE"),c(),l(20,"option",14),m(2
11,"CI"),c()()(),l(22,"div",8)(23,"label",15),m(24," DNI del Titular "),c(),l(25,"input",16),ye("ngModelChange",function(_){return v(r),we(n.dniTitular,_)||(n.dniTitular=_),w(_)}),c()()(),l(26,"div",8)(27,"label",17),m(28," N\xFAmero de asociado "),c(),l(29,"input",18),ye("ngModelChange",function(_){return v(r),we(n.numeroAsociado,_)||(n.numeroAsociado=_),w(_)}),c()(),l(30,"button",19),m(31," Iniciar baja "),c()()()()}o&2&&(a(13),ve("ngModel",n.tipoDoc),a(12),ve("ngModel",n.dniTitular),a(4),ve("ngModel",n.numeroAsociado))},dependencies:[O,Dt,At,It,Lt,kt,Rt,Pt,Ot,jt,Tt,Et],styles:[`.solicitud-baja-modal__dialog[_ngcontent-%COMP%]{margin:0;height:100dvh;width:100vw;max-width:none;border-width:0px;padding:1rem;display:flex;align-items:center;justify-content:center;background-color:transparent}.solicitud-baja-modal__dialog[_ngcontent-%COMP%]::backdrop{background:#00000080}.solicitud-baja-modal__card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:28rem;border-radius:.75rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);padding:2.5rem 1.5rem 1.5rem}.solicitud-baja-modal__close[_ngcontent-%COMP%]{position:absolute;top:1rem;right:1rem;display:flex;height:2rem;width:2rem;align-items:center;justify-content:center;font-size:1.5rem;line-height:2rem;line-height:1;--tw-text-opacity: 1;color:rgb(79 81 92 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.solicitud-baja-modal__close[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(40 44 67 / var(--tw-text-opacity, 1))}.solicitud-baja-modal__close[_ngcontent-%COMP%]:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#263d83}.solicitud-baja-modal__title[_ngcontent-%COMP%]{margin-bottom:1.5rem;text-align:center;font-size:1.25rem;line-height:1.75rem;font-weight:700;line-height:26px;--tw-text-opacity: 1;color:rgb(38 61 131 / var(--tw-text-opacity, 1))}.solicitud-baja-modal__form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.solicitud-baja-modal__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.solicitud-baja-modal__field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.375rem}.solicitud-baja-modal__label[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem;font-weight:500;line-height:18px;--tw-text-opacity: 1;color:rgb(115 128 171 / var(--tw-text-opacity, 1))}.solicitud-baja-modal__input[_ngcontent-%COMP%]{width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(218 220 229 / var(--tw-border-opacity, 1));padding:.625rem .75rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(40 44 67 / var(--tw-text-opacity, 1))}.solicitud-baja-modal__input[_ngcontent-%COMP%]::placeholder{--tw-text-opacity: 1;color:rgb(122 125 138 / var(--tw-text-opacity, 1))}.solicitud-baja-modal__input[_ngcontent-%COMP%]:focus{border-color:transparent;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-sha
1dow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(38 61 131 / var(--tw-ring-opacity, 1))}.solicitud-baja-modal__select[_ngcontent-%COMP%]{cursor:pointer;appearance:none;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(115 128 171 / var(--tw-text-opacity, 1));background-size:10px 8px;background-position:right .75rem center;background-repeat:no-repeat;padding-right:2.25rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath fill='%237A7D8A' d='M5 8L0 0h10L5 8z'/%3E%3C/svg%3E")}.solicitud-baja-modal__submit[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;margin-top:.5rem;width:fit-content;border-radius:.5rem;padding:.75rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 88 98 / var(--tw-bg-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.solicitud-baja-modal__submit[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(219 63 76 / var(--tw-bg-opacity, 1))}.solicitud-baja-modal__submit[_ngcontent-%COMP%]:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#ff5862}`],changeDetection:0})}return t})()});function mn(t,i){if(t&1){let e=R();l(0,"app-solicitud-baja-modal",1),M("closeRequested",function(){v(e);let n=d();return w(n.closeSolicitudBajaModal())}),c()}}function gn(t,i){if(t&1&&(l(0,"a",30),m(1),c()),t&2){let e=d(2).$implicit,o=d(3);u("href",o.resolveFooterExternalUrl(e.data.externalUrl),f)("cmsLinkAttrs",e.data),a(),F(e.data.text)}}function un(t,i){if(t&1){let e=R();l(0,"a",32),M("click",function(n){v(e);let r=d(2).$implicit,s=d(3);return w(s.onFooterLinkClick(n,r.data.route))}),m(1),c()}if(t&2){let e=d(2).$implicit,o=d(3);u("cmsRouterLink",o.resolveFooterRoute(e.data.route))("target",o.resolveCmsLinkTarget(e.data))("cmsLinkAttrs",e.data),a(),F(e.data.text)}}function _n(t,i){if(t&1&&h(0,gn,2,3,"a",30)(1,un,2,4,"a",31),t&2){let e=d().$implicit;x(e.data.externalUrl?0:1)}}function fn(t,i){if(t&1&&(l(0,"a",29),m(1),c()),t&2){let e=d().$implicit;u("href",e.data.assetUrl,f),a(),F(e.data.text)}}function hn(t,i){if(t&1&&(l(0,"li"),h(1,_n,2,1)(2,fn,2,2,"a",29),c()),t&2){let e=i.$implicit;a(),x(e.type==="textLink"?1:e.type==="fileDownload"?2:-1)}}function xn(t,i){if(t&1){let e=R();l(0,"nav",25)(1,"button",26),M("click",function(){let n=v(e).$index,r=d(2);return w(r.toggleSection(n))}),l(2,"span",11),m(3),c(),C(4,"span",27),c(),l(5,"ul",28),G(6,hn,3,1,"li",null,dn),c()()}if(t&2){let e=i.$implicit,o=i.$index,n=d(2);D("app-footer__section--open",n.expandedSection()===o),A("aria-label",e.title),a(),A("aria-expanded",n.expandedSection()===o)("aria-controls","footer-panel-"+o),a(2),F(e.title),a(2),u("id","footer-panel-"+o),a(),Y(e.items)}}function Cn(t,i){if(t&1&&(l(0,"a",13),C(1,"img",33),c()),t&2){let e=i.$implicit,o=d(2);u("href",e.data.href,f)("cmsLinkAttrs",o.resolveIconLinkAttrs(e.data)),A("aria-label",e.data.image.alt),a(),u("src",e.data.image.desktopImageUrl+"?h=32&fm=webp",f)("alt",e.data.image.alt)}}function bn(t,i){if(t&1&&(l(0,"a",16),C(1,"img",34),c()),t&2){let e=i.$implicit,o=d(2);u("href",e.data.href,f)("cmsLinkAttrs",o.resolveIconLinkAttrs(e.data)),A("aria-label",e.data.image.alt),a(),u("src",e.data.image.desktopImageUrl+"?h=32&fm=webp",f)("alt",e.data.image.alt)}}function vn(t,i){if(t&1&&m(0),t&2){let e=d().$implicit;I(" ",e.text," ")}}function wn(t,i){if(t&1&&(l(0,"a",35),m(1),c()),t&2){let e=d().$implicit;u("href",e.uri,f),a(),F(e.text)}}function yn(t,i){if(t&1&&h(0,vn,1,1)(1,wn,2,2,"a",35),t&2){let e=i.$implicit;x(e.kind==="text"?0:1)}}function Mn(t,i){if(t&1&&(l(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"div",6),C(5,"img",7),c(),l(6,"div",8),G(7,xn,8,7,"nav",9,pn),l(9,"div",10)(10,"h3",11),m(11,"Descarg\xE1 nuestra APP"),c(),l(12,"div",12),G(13,Cn,2,5,"a",13,no),c(),l(15,"p",14),m(16,"Encontranos en"),c(),l(17,"div",15),G(18,bn,2,5,"a",16,no),c(),l(20,"a",17),C(21,"img",18),c()()()()()()(),l(22,"div",19)(23,"div",20)(24,"div",4)(25,"div",21)(26,"p",22),G(27,yn,2,1,null,null,at),c(),l(29,"div",23),C(30,"img",24),c()()()()()),t&2){let e=i,o=d();a(5),u("src",e.logo.desktopImageUrl+"?h=40&fm=webp",f)("alt",e.logo.alt),a(2),Y(e.footerColumns),a(6),Y(e.appDownloadLinks),a(5),Y(e.socialNetworksLinks),a(2),u("href",o.aaipHref,f),a(),u("src",o.aaipImageSrc,f),a(6),Y(e.legals.text),a(3),u("src",e.legals.logo.desktopImageUrl+"?h=40&fm=webp",f)("alt",e.legals.logo.alt)}}var pn,no,dn,Sn,io,ro=b(()=>{"use strict";g();E();U();Qt();oo();De();Fe();Mt();fe();g();pn=(t,i)=>i.title,no=(t,i)=>i.data.href,dn=(t,i)=>i.data.name;Sn="/solicitud-de-baja",io=(()=>{class t{footerApiService=p(Jt);router=p(N);footerContent=W(this.footerApiService.getFooterContent(),{initialValue:null});aaipImageSrc="app-resources/images/footer/aaip-qr.webp";aaipHref="https://www.argentina.gob.ar/aaip/datospersonales/reclama/30590354798--RL-2018-64224600-APN-DNPDP#AAIP";expandedSection=T(null);isSolicitudBajaModalOpen=T(!1);toggleSection(e){let o=this.expandedSection();this.expandedSection.set(o===e?null:e)}onFooterLinkClick(e,o){o===Sn&&(e.preventDefault(),this.isSolicitudBajaModalOpen.set(!0))}resolveFooterRoute(e){return e==="/mi-cuenta"&&this.router.url.includes("/linea-empresas")?"/login/empresas":e}resolveFooterExternalUrl(e){return e!=="/login/asociados"?e:this.router.url.includes("/linea-empresas")?"/login/empresas":e}closeSolicitudBajaModal(){this.isSolicitudBajaModalOpen.set(!1)}resolveCmsLinkTarget(e){return ke(e)}resolveIconLinkAttrs(e){return{href:e.href,openInNewTab:e.image.openInNewTab}}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=S({type:t,selectors:[["app-footer"]],decls:3,vars:2,consts:[["role","contentinfo",1,"app-footer","w-full"],[3,"closeRequested"],[1,"app-footer__top"],[1,"mx-auto","max-w-page","px-0","lg:px-16"],[1,"mx-auto","max-w-content"],[1,"app-footer__c
1ontent"],[1,"app-footer__brand"],["width","200","height","40",1,"app-footer__logo",3,"src","alt"],[1,"app-footer__links"],[1,"app-footer__section",3,"app-footer__section--open"],[1,"app-footer__section","app-footer__section--no-accordion"],[1,"app-footer__section-title"],[1,"app-footer__app-links"],[1,"app-footer__app-link",3,"href","cmsLinkAttrs"],[1,"app-footer__social-label","mt-6"],[1,"app-footer__social"],[1,"app-footer__social-link",3,"href","cmsLinkAttrs"],["target","_blank","rel","noopener noreferrer","aria-label","AAIP - Registro Bases de Datos",1,"app-footer__aaip",3,"href"],["alt","AAIP - Registro Bases de Datos","width","87","height","112",1,"app-footer__aaip-image",3,"src"],[1,"app-footer__bottom"],[1,"mx-auto","max-w-page","px-4","lg:px-16"],[1,"app-footer__bottom-content","flex","items-center","justify-between","gap-4"],[1,"app-footer__legal-text","text-sm"],[1,"app-footer__bottom-logo-link","flex-shrink-0"],["width","120","height","40",1,"app-footer__bottom-logo","h-10","w-auto",3,"src","alt"],[1,"app-footer__section"],["type","button",1,"app-footer__section-trigger",3,"click"],["aria-hidden","true",1,"app-footer__section-chevron"],[1,"app-footer__section-list",3,"id"],["target","_blank","rel","noopener noreferrer",3,"href"],[3,"href","cmsLinkAttrs"],[3,"cmsRouterLink","target","cmsLinkAttrs"],[3,"click","cmsRouterLink","target","cmsLinkAttrs"],["width","107","height","32",1,"app-footer__app-badge",3,"src","alt"],["width","24","height","24",1,"app-footer__social-icon",3,"src","alt"],["target","_blank","rel","noopener noreferrer",1,"app-footer__legal-link","underline",3,"href"]],template:function(o,n){if(o&1&&(l(0,"footer",0),h(1,mn,1,0,"app-solicitud-baja-modal"),h(2,Mn,31,6),c()),o&2){let r;a(),x(n.isSolicitudBajaModalOpen()?1:-1),a(),x((r=n.footerContent())?2:-1,r)}},dependencies:[O,Z,to,ge,ue],styles:["[_nghost-%COMP%]{display:block;min-height:380px}.app-footer[_ngcontent-%COMP%]{margin-top:auto}.app-footer__top[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(38 61 131 / var(--tw-bg-opacity, 1));padding:2.5rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media(min-width:1024px){.app-footer__top[_ngcontent-%COMP%]{padding-top:4rem;padding-bottom:4rem;padding-left:0;padding-right:0}}.app-footer__content[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:2rem}@media(min-width:1024px){.app-footer__content[_ngcontent-%COMP%]{grid-template-columns:repeat(5,minmax(0,1fr));gap:3rem}}@media(min-width:768px)and (max-width:1023px){.app-footer__content[_ngcontent-%COMP%]{grid-template-columns:auto 1fr;gap:2rem 4rem}}@media(min-width:1024px)and (max-width:1279px){.app-footer__content[_ngcontent-%COMP%]{grid-template-columns:auto 1fr;column-gap:2.5rem}}.app-footer__brand[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-around}@media(min-width:1024px){.app-footer__brand[_ngcontent-%COMP%]{grid-column:span 1 / span 1;display:block}}@media(min-width:768px)and (max-width:1023px){.app-footer__brand[_ngcontent-%COMP%]{display:flex}}@media(min-width:1024px)and (max-width:1279px){.app-footer__brand[_ngcontent-%COMP%]{grid-column:auto}}.app-footer__logo[_ngcontent-%COMP%]{height:auto;max-width:200px}@media(min-width:1024px){.app-footer__logo[_ngcontent-%COMP%]{max-width:250px}}.app-footer__links[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,minmax(0,1fr))}@media(min-width:1024px){.app-footer__links[_ngcontent-%COMP%]{grid-column:span 4 / span 4;gap:2rem}}@media(min-width:768px)and (max-width:1023px){.app-footer__links[_ngcontent-%COMP%]{grid-column:auto;grid-template-columns:1fr auto;align-items:start;row-gap:0;column-gap:3rem}}@media(min-width:1024px){.app-footer__links[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr minmax(290px,1fr) 1fr;gap:2rem}}@media(min-width:1024px)and (max-width:1279px){.app-footer__links[_ngcontent-%COMP%]{grid-column:auto;grid-template-columns:1fr 1fr 1.5fr 1fr;gap:1rem}}.app-footer__section[_ngcontent-%COMP%], .app-footer__section[_ngcontent-%COMP%]:first-child{padding-top:0}@media(min-width:768px)and (max-width:1023px){.app-footer__section--no-accordion[_ngcontent-%COMP%]{grid-column:2;grid-row:1/span 3;align-self:start;padding-top:.75rem}}.app-footer__section--no-accordion[_ngcontent-%COMP%] .app-footer__social[_ngcontent-%COMP%]{justify-content:center}@media(min-width:1024px){.app-footer__section--no-accordion[_ngcontent-%COMP%] .app-footer__social[_ngcontent-%COMP%]{justify-content:flex-start}}.app-footer__app-links[_ngcontent-%COMP%]{margin-bottom:1.5rem;display:flex;flex-direction:row;justify-content:center;gap:.75rem}@media(min-width:1024px){.app-footer__app-links[_ngcontent-%COMP%]{justify-content:flex-start}}@media(min-width:768px)and (max-width:1023px){.app-footer__app-links[_ngcontent-%COMP%]{margin-bottom:0;justify-content:center}}.app-footer__app-link[_ngcontent-%COMP%]{display:inline-block;max-width:112px;flex-shrink:0}.app-footer__app-badge[_ngcontent-%COMP%]{height:2rem;width:auto;object-fit:contain}.app-footer__social-label[_ngcontent-%COMP%]{margin-bottom:0;font-size:1rem;font-weight:700;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(244 247 254 / var(--tw-text-opacity, 1))}@media(min-width:768px)and (max-width:1023px){.app-footer__social-label[_ngcontent-%COMP%]{margin-top:1.5rem}}.app-footer__social[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:center;gap:.25rem}@media(min-width:1024px){.app-footer__social[_ngcontent-%COMP%]{justify-content:flex-start}}@media(min-width:768px)and (max-width:1023px){.app-footer__social[_ngcontent-%COMP%]{justify-content:center}}.app-footer__social-link[_ngcontent-%COMP%]{display:flex;height:2.5rem;width:2.5rem;align-items:center;justify-content:center;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.app-footer__social-link[_ngcontent-%COMP%]:hover{opacity:.8}.app-footer__social-link[_ngcontent-%COMP%]:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#fff}.app-footer__social-icon[_ngcontent-%COMP%]{height:1.5rem;width:1.5rem;object-fit:contain}.app-footer__aaip[_ngcontent-%COMP%]{margin-top:1.5rem;display:flex;align-items:center;text-decoration-line:none;justify-content:center}@media(min-width:1024px){.app-footer__aaip[_ngcontent-%COMP%]{justify-content:flex-start}}.app-footer__aaip-image[_ngcontent-%COMP%]{width:87px;height:auto;opacity:.9;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.app-footer__aaip-image[_ngcontent-%COMP%]:hover{opacity:1}.app-footer__bottom[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(172 182 210 / var(--tw-bg-opacity, 1));padding-top:1.5rem;padding-bottom:1.5rem;padding-bottom:50px}@media(min-width:1024px){.app-footer__bottom[_ngcontent-%COMP%]{padding-top:43px;padding-bottom:43px}}.app-footer__bottom-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:1rem;text-align:center}@media(min-width:1024px){.app-footer__bottom-content[_ngcontent-%COMP%]{flex-direction:row;align-items:center;justify-content:space-between;text-align:left}}.app-footer__legal-text[_ngcontent-%COMP%]{max-width:48rem;text-align:left;font-size:.75rem;line-height:1rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(36 52 101 / var(--tw-text-opacity, 1))}@media(min-width:1024px){.app-footer__legal-text[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}}.app-footer__legal-text[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(38 61 131 / var(--tw-text-opacity, 1));text-decoration-line:underline;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.app-footer__legal-text[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(38 61 131 / var(--tw-text-opacity, 1))}.app-footer__legal-text[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#263d83}.app-footer__legal-link[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(38 61 131 / var(--tw-text-opacity, 1));text-decoration-line:underline;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.app-footer__legal-link[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(38 61 131 / var(--tw-text-opacity, 1))}.app-footer__legal-link[_ngcontent-%COMP%]:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#263d83}.app-footer__bottom-logo-link[_ngcontent-%COMP%]{flex-shrink:0}.app-footer__bottom-logo[_ngcontent-%COMP%]{height:2rem;width:auto}@media(min-width:1024px){.app-footer__bottom-logo[_ngcontent-%COMP%]{height:2.5rem}}"],changeDetection:0})}return t})()});var ao,lo=b(()=>{"use strict";g();E();Me();ce();$();he();g();ao=(()=>{class t{http=p(me);platformId=p(j);cmsUrl=`${V.bffUrl}/cms/entries/slug/help-float?contentType=cardWithLinkAndIcon`;CACHE_KEY="floating_help_cms_cache";content$=this.buildStream();getFloatingHelpContent(){return this.content$}buildStream(){let e=k(this.platformId)?localStorage.getItem(this.CACHE_KEY):null,o=B;if(e)try{o=H(JSON.parse(e))}catch(r){console.error("Error al parsear el cach\xE9 local de Ayuda Flotante:",r),k(this.platformId)&&localStorage.removeItem(this.CACHE_KEY)}let n=this.http.get(this.cmsUrl,{headers:new de().set("X-Recaptcha-Action","get_floating_help")}).pipe(le(r=>{k(this.platformId)&&localStorage.setItem(this.CACHE_KEY,JSON.stringify(r))}),q(r=>(console.warn("El servidor del CMS est\xE1 lento o ca\xEDdo para el elemento de Soporte. Manteniendo resguardo:",r),B)));return ae(o,n).pipe(X(1))}static \u0275fac=function(o){return new(o||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function kn(t,i){if(t&1){let e=R();l(0,"div",1)(1,"div",2)(2,"div",3)(3,"h3",4),m(4),c(),l(5,"p",5),m(6),c(),l(7,"a",6),m(8),c()()(),l(9,"button",7),M("click",function(){v(e);let n=d();return w(n.toggleExpanded())}),C(10,"img",8),c()()}if(t&2){let e=i,o=d();D("floating-help--expanded",o.isExpanded()),a(4),F(e.title),a(2),F(e.subt
1itle),a(),u("cmsRouterLink",e.link.route)("href",e.link.externalUrl,f)("cmsLinkAttrs",e.link),A("aria-label",e.link.text),a(),I(" ",e.link.text," "),a(),A("aria-label",o.isExpanded()?"Cerrar ayuda":"Abrir ayuda")("aria-expanded",o.isExpanded()),a(),u("src",e.icon.desktopImageUrl+"?w=40&fm=webp",f)("alt",e.icon.alt)}}var co,so=b(()=>{"use strict";g();E();U();De();Fe();fe();lo();g();co=(()=>{class t{floatingHelpApiService=p(ao);floatingHelpContent=W(this.floatingHelpApiService.getFloatingHelpContent());isExpanded=T(!1);toggleExpanded(){this.isExpanded.update(e=>!e)}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=S({type:t,selectors:[["app-floating-help"]],decls:1,vars:1,consts:[[1,"floating-help",3,"floating-help--expanded"],[1,"floating-help"],[1,"floating-help__card"],[1,"floating-help__content"],[1,"floating-help__title"],[1,"floating-help__subtitle"],[1,"floating-help__link",3,"cmsRouterLink","href","cmsLinkAttrs"],["type","button",1,"floating-help__button",3,"click"],[1,"floating-help__icon",3,"src","alt"]],template:function(o,n){if(o&1&&h(0,kn,11,13,"div",0),o&2){let r;x((r=n.floatingHelpContent())?0:-1,r)}},dependencies:[O,Z,ge,ue],styles:[".floating-help[_ngcontent-%COMP%]{position:fixed;bottom:.25rem;right:11px;z-index:50}@media(min-width:1024px){.floating-help[_ngcontent-%COMP%]{bottom:50px;right:54px}}.floating-help[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:0px}.floating-help__button[_ngcontent-%COMP%]{height:87px;width:67px;border-radius:1rem;--tw-bg-opacity: 1;background-color:rgb(255 88 98 / var(--tw-bg-opacity, 1))}@media(min-width:1024px){.floating-help__button[_ngcontent-%COMP%]{height:95px;width:79px}}.floating-help__button[_ngcontent-%COMP%]{display:flex;flex-shrink:0;align-items:center;justify-content:center;position:relative;z-index:2;order:2;cursor:pointer;border-width:0px;--tw-shadow: 0px 8px 14px 0px #21262E33;
1--tw-shadow-colored: 0px 8px 14px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.floating-help__button[_ngcontent-%COMP%]:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.floating-help__button[_ngcontent-%COMP%]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.floating-help__button[_ngcontent-%COMP%]:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#ff5862}.floating-help--expanded[_ngcontent-%COMP%] .floating-help__button[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 122 130 / var(--tw-bg-opacity, 1))}.floating-help__icon[_ngcontent-%COMP%]{height:2.25rem;width:2.25rem;--tw-brightness: brightness(0);--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media(min-width:1024px){.floating-help__icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem}}.floating-help__card[_ngcontent-%COMP%]{overflow:hidden;border-top-left-radius:1rem;border-bottom-left-radius:1rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);pointer-events:none;order:1;margin-right:0;width:0px;opacity:0;position:relative;z-index:1;transform-origin:right}.floating-help--expanded[_ngcontent-%COMP%] .floating-help__card[_ngcontent-%COMP%]{pointer-events:auto;margin-right:-10px;width:285px;opacity:1}@media(min-width:1024px){.floating-help--expanded[_ngcontent-%COMP%] .floating-help__card[_ngcontent-%COMP%]{width:320px}}.floating-help__content[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;padding:.75rem 1.25rem}.floating-help__title[_ngcontent-%COMP%]{margin-bottom:0;font-size:.75rem;line-height:1rem;font-weight:700;line-height:21px;--tw-text-opacity: 1;color:rgb(38 61 131 / var(--tw-text-opacity, 1))}@media(min-width:1024px){.floating-help__title[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}}.floating-help__subtitle[_ngcontent-%COMP%]{margin-bottom:.25rem;font-size:12px;font-weight:400;line-height:14px;--tw-text-opacity: 1;color:rgb(79 81 92 / var(--tw-text-opacity, 1))}@media(min-width:1024px){.floating-help__subtitle[_ngcontent-%COMP%]{margin-bottom:.5rem;line-height:18px}}.floating-help__link[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 88 98 / var(--tw-text-opacity, 1));text-decoration-line:none}@media(min-width:1024px){.floating-help__link[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}}.floating-help__link[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.floating-help__link[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(219 63 76 / var(--tw-text-opacity, 1))}.floating-help__link[_ngcontent-%COMP%]:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#ff5862}"],changeDetection:0})}return t})()});function On(t){let i=t.split("?")[0]??t,e=i.split("#")[0]??i;return!e||e===""?"/":e.startsWith("/")?e:`/${e}`}function ze(t){let i=On(t);if(i==="/"||i==="/home")return"home";let e=i.split("/").filter(Boolean),o=e[0];return!o||!Pn.has(o)||o==="planes"&&e.length>=3?null:"page"}var Pn,po=b(()=>{"use strict";Pn=new Set(["planes","quiero-asociarme","contacto","linea-empresas","sustentabilidad","centros-de-atencion"])});function En(t,i){t&1&&C(0,"app-header")}function Tn(t,i){t&1&&C(0,"app-hero-skeleton",2),t&2&&u("variant",i)}function An(t,i){t&1&&C(0,"app-footer")(1,"app-floating-help")}var mo,go=b(()=>{"use strict";g();E();U();$();fe();$t();Xt();ro();so();Vo();po();g();U();mo=(()=>{class t{router=p(N);hasActivatedPage=T(!1);isLoginPage=W(this.router.events.pipe(ie(e=>e instanceof Q),Ae(e=>e.urlAfterRedirects.includes("/login"))),{initialValue:this.router.url.includes("/login")});heroSkeletonVariant=W(this.router.events.pipe(ie(e=>e instanceof xt||e instanceof Q),Ae(e=>{let o=e instanceof Q?e.urlAfterRedirects:e.url;return ze(o)})),{initialValue:ze(this.router.url)});onPageActivate(){this.hasActivatedPage.set(!0)}onPageDeactivate(){this.hasActivatedPage.set(!1)}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=S({type:t,selectors:[["app-layout"]],decls:7,vars:3,consts:[[1,"app-layout"],["id","main-content","role","main",1,"app-layout__main"],[3,"variant"],[3,"activate","deactivate"]],template:function(o,n){if(o&1&&(l(0,"div",0),C(1,"app-site-selector"),h(2,En,1,0,"app-header"),l(3,"main",1),h(4,Tn,1,1,"app-hero-skeleton",2),l(5,"router-outlet",3),M("activate",function(){return n.onPageActivate()})("deactivate",function(){return n.onPageDeactivate()}),c()(),h(6,An,2,0),c()),o&2){let r;a(2),x(n.isLoginPage()?-1:2),a(2),x((r=!n.hasActivatedPage()&&n.heroSkeletonVariant())?4:-1,r),a(2),x(n.isLoginPage()?-1:6)}},dependencies:[O,Z,Ct,Bt,qt,io,co,Nt],styles:[".app-layout[_ngcontent-%COMP%]{display:flex;min-height:100vh;flex-direction:column}.app-layout__main[_ngcontent-%COMP%]{flex:1 1 0%;min-height:608px;flex-shrink:0;overflow-x:hidden}.app-layout__main[_ngcontent-%COMP%]:has(.login-page){padding:0;min-height:0;flex-shrink:1}"],changeDetection:0})}return t})()});function Ee(t,i){if(!i.startsWith(Rn)||i.includes(".."))throw new Error("Only local app-resources assets can be registered as icons");return t.bypassSecurityTrustResourceUrl(i)}var Rn,Ue=b(()=>{"use strict";Rn="app-resources/"});var ee,uo,_o=b(()=>{"use strict";ce();Ue();g();zt();Le();ee="app-resources/icons",uo=(()=>{class t{matIconRegistry;sanitizer;mockIcons={"user-icon":`${ee}/custom/user-icon.svg`,"happy-emoji-sparkle":`${ee}/custom/happy-emoji-sparkle.svg`,"trash-icon":`${ee}/custom/trash-icon.svg`,"list-plus":`${ee}/custom/list-plus.svg`,location:`${ee}/custom/location-icon.svg`,clock:`${ee}/custom/clock-icon.svg`,mail:`${ee}/custom/mail-icon.svg`};constructor(e,o){this.matIconRegistry=e,this.sanitizer=o,this.registerMaterialIcons()}registerMaterialIcons(){let e=["user-icon","happy-emoji-sparkle","trash-icon","list-plus","location","clock","mail"];for(let o of e){let n=this.mockIcons[o];n&&this.matIconRegistry.addSvgIcon(o,Ee(this.sanitizer,n))}}getIcon(e){let o=this.mockIcons[e]??`${ee}/custom/mock/${e}`;return H(o)}static \u0275fac=function(o){return new(o||t)(L(Pe),L(Se))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var fo,ho=b(()=>{"use strict";g();zt();Le();Ue();g();fo=(()=>{class t{matIconRegistry=p(Pe);domSanitizer=p(Se);registerIcons(){let e=[{name:"trash",path:"app-resources/icons/custom/trash-icon.svg"},{name:"happy-emoji-sparkle",path:"app-resources/icons/custom/mock/happy-emoji-sparkle.svg"},{name:"persona",path:"app-resources/icons/custom/mock/persona-icon.svg"},{name:"pareja",path:"app-resources/icons/custom/mock/pareja-icon.svg"},{name:"hijos",path:"app-resources/icons/custom/mock/hijos-icon.svg"},{name:"familia",path:"app-resources/icons/custom/mock/familia-icon.svg"},{name:"whatsapp",path:"app-resources/icons/custom/whatsapp-icon.svg"},{name:"user",path:"app-resources/icons/custom/user-icon.svg"},{name:"google-logo",path:"app-resources/icons/custom/social/google-logo-color.svg"},{name:"sancor-salud-up",path:"app-resources/icons/custom/sancor-salud-up-icon.svg"},{name:"fb-logo",path:"app-resources/icons/custom/social/fb-logo-color.svg"},{name:"autogestion",path:"app-resources/icons/custom/mock/autogestion-icon.svg"},{name:"centro-atencion",path:"app-resources/icons/custom/mock/centro-atencion-icon.svg"},{name:"logo-sancor-full",path:"app-resources/icons/custom/mock/logo-sancor-full.svg"},{name:"gps",path:"app-resources/icons/custom/gps.svg"},{name:"lupa",path:"app-resources/icons/custom/lupa-icon.svg"},{name:"check-mask",path:"app-resources/icons/custom/check-mask.svg"},{name:"check",path:"app-resources/icons/custom/check.svg"},{name:"location",path:"app-resources/icons/custom/location-icon.svg"},{name:"clock",path:"app-resources/icons/custom/clock-icon.svg"},{name:"mail",path:"app-resources/icons/custom/mail-icon.svg"}];for(let o of e)this.matIconRegistry.addSvgIcon(o.name,Ee(this.domSanitizer,o.path))}static \u0275fac=function(o){return new(o||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var In,xo,Co=b(()=>{"use strict";ce();Ho();g();In={slug:"site-seo",seo:Ut},xo=(()=>{class t{getSiteSeo(){return H(In).pipe(X(1))}static \u0275fac=function(o){return new(o||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var Ln,jn,bo,vo=b(()=>{"use strict";g();g();Ln=new be("google-tag-manager-config"),jn=(()=>{let i=class i{constructor(o){this._googleTagManagerConfig={id:null,gtm_auth:"",gtm_preview:""},o&&this.set(o)}set(o){this._googleTagManagerConfig=o}get(){return this._googleTagManagerConfig}};i.\u0275fac=function(n){return new(n||i)(L(Ln,8))},i.\u0275prov=y({token:i,factory:i.\u0275fac,providedIn:"root"});let t=i;return t})(),bo=(()=>{let i=class i{constructor(o,n,r="noisy",s,_,z,_e){this.googleTagManagerConfiguration=o,this.googleTagManagerId=n,this.googleTagManagerMode=r,this.googleTagManagerAuth=s,this.googleTagManagerPreview=_,this.googleTagManagerResourcePath=z,this.googleTagManagerCSPNonce=_e,this.isLoaded=!1,this.browserGlobals={windowRef(){return window}
1,documentRef(){return document}},this.config=this.googleTagManagerConfiguration?.get(),this.config==null&&(this.config={id:null}),this.config=$e(Be({},this.config),{id:n||this.config.id,gtm_auth:s||this.config.gtm_auth,gtm_preview:_||this.config.gtm_preview,gtm_resource_path:z||this.config.gtm_resource_path}),this.config.id!=null}checkForId(){if(this.googleTagManagerMode!=="silent"&&!this.config.id)throw new Error("Google tag manager ID not provided.");return!!this.config.id}getDataLayer(){this.checkForId();let o=this.browserGlobals.windowRef();return o.dataLayer=o.dataLayer||[],o.dataLayer}pushOnDataLayer(o){this.checkForId(),this.getDataLayer().push(o)}addGtmToDom(){return new Promise((o,n)=>{if(this.isLoaded)return o(this.isLoaded);if(!this.checkForId())return o(!1);let r=this.browserGlobals.documentRef();this.pushOnDataLayer({"gtm.start":new Date().getTime(),event:"gtm.js"});let s=r.createElement("script");s.id="GTMscript",s.async=!0,s.src=this.applyGtmQueryParams(this.config.gtm_resource_path?this.config.gtm_resource_path:"https://www.googletagmanager.com/gtm.js"),s.addEventListener("load",()=>o(this.isLoaded=!0)),s.addEventListener("error",()=>n(!1)),this.googleTagManagerCSPNonce&&s.setAttribute("nonce",this.googleTagManagerCSPNonce),r.head.insertBefore(s,r.head.firstChild)})}pushTag(o){return new Promise((n,r)=>{if(!this.checkForId())return n();if(!this.isLoaded)this.addGtmToDom().then(()=>(this.pushOnDataLayer(o),n())).catch(()=>r());else return this.pushOnDataLayer(o),n()})}applyGtmQueryParams(o){return o.indexOf("?")===-1&&(o+="?"),o+Object.keys(this.config).filter(n=>this.config[n]).map(n=>`${n}=${this.config[n]}`).join("&")}};i.\u0275fac=function(n){return new(n||i)(L(jn,8),L("googleTagManagerId",8),L("googleTagManagerMode",8),L("googleTagManagerAuth",8),L("googleTagManagerPreview",8),L("googleTagManagerResourcePath",8),L("googleTagManagerCSPNonce",8))},i.\u0275prov=y({token:i,factory:i.\u0275fac,providedIn:"root"});let t=i;return t})()});var Dn,wo,yo,Mo=b(()=>{"use strict";g();E();fe();$();U();go();_o();ho();Co();Bo();vo();g();Dn="page-",wo="bodyClass",yo=(()=>{class t{title="SanCor Salud";iconService=p(uo);iconRegistryService=p(fo);router=p(N);renderer=p(nt);doc=p(se);destroyRef=p(qe);siteSeoApi=p(xo);seoService=p(Vt);gtmService=p(bo);platformId=p(j);bodyClassesAdded=new Set;constructor(){this.iconRegistryService.registerIcons(),this.siteSeoApi.getSiteSeo().pipe(je(this.destroyRef)).subscribe(e=>this.seoService.applySiteSeo(e.seo)),this.router.events.pipe(ie(e=>e instanceof Q),je(this.destroyRef)).subscribe(e=>{this.applyBodyClasses(e),k(this.platformId)&&this.gtmService.pushTag({event:"page",pageName:e.url})})}applyBodyClasses(e){let s=e.urlAfterRedirects.split("?")[0].split("#")[0].replaceAll(/(^\/)|(\/$)/g,"").split("/").filter(Boolean).map(ne=>Dn+this.sanitizeSegment(ne)),_=this.collectBodyClassesFromRouteData(),z=[...new Set([...s,..._])],_e=this.doc.body;if(_e){for(let ne of this.bodyClassesAdded)this.renderer.removeClass(_e,ne);this.bodyClassesAdded.clear();for(let ne of z)ne&&(this.renderer.addClass(_e,ne),this.bodyClassesAdded.add(ne))}}sanitizeSegment(e){return e.replaceAll(/[^a-zA-Z0-9_-]/g,"-")}collectBodyClassesFromRouteData(){let e=[],o=n=>{let r=n.routeConfig?.data;if(r?.[wo]!=null){let s=r[wo];e.push(...Array.isArray(s)?s:[s])}for(let s of n.children)o(s)};return o(this.router.routerState.root),e}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=S({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(o,n){o&1&&C(0,"app-layout")},dependencies:[O,mo],styles:["[_nghost-%COMP%]{display:block;min-height:100vh}"],changeDetection:0})}return t})()});function So(t="animations"){return Ze("NgAsyncAnimations"),Re([{provide:ot,useFactory:(i,e,o)=>new Nn(i,e,o,t),deps:[se,mt,tt]},{provide:Qe,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Fn,Nn,Ve,zn,ko=b(()=>{"use strict";E();g();g();zo();Fn="@",Nn=(()=>{class t{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;
1scheduler=null;injector=p(We);loadingSchedulerFn=p(zn,{optional:!0});_engine;constructor(e,o,n,r,s){this.doc=e,this.delegate=o,this.zone=n,this.animationType=r,this.moduleImpl=s}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-6676OHFM.js").then(n=>n),o;return this.loadingSchedulerFn?o=this.loadingSchedulerFn(e):o=e(),o.catch(n=>{throw new Ke(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:r})=>{this._engine=n(this.animationType,this.doc);let s=new r(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(e,o){let n=this.delegate.createRenderer(e,o);if(n.\u0275type===0)return n;typeof n.throwOnSyntheticProps=="boolean"&&(n.throwOnSyntheticProps=!1);let r=new Ve(n);return o?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let _=s.createRenderer(e,o);r.use(_),this.scheduler??=this.injector.get(Xe,null,{optional:!0}),this.scheduler?.notify(10)}).catch(s=>{r.use(n)}),r}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(e){this._engine?.flush(),this.delegate.componentReplaced?.(e)}static \u0275fac=function(o){it()};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),Ve=class{delegate;replay=[];\u0275type=1;constructor(i){this.delegate=i}use(i){if(this.delegate=i,this.replay!==null){for(let e of this.replay)e(i);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(i,e){return this.delegate.createElement(i,e)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}get destroyNode(){return this.delegate.destroyNode}appendChild(i,e){this.delegate.appendChild(i,e)}insertBefore(i,e,o,n){this.delegate.insertBefore(i,e,o,n)}removeChild(i,e,o,n){this.delegate.removeChild(i,e,o,n)}selectRootElement(i,e){return this.delegate.selectRootElement(i,e)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,e,o,n){this.delegate.setAttribute(i,e,o,n)}removeAttribute(i,e,o){this.delegate.removeAttribute(i,e,o)}addClass(i,e){this.delegate.addClass(i,e)}removeClass(i,e){this.delegate.removeClass(i,e)}setStyle(i,e,o,n){this.delegate.setStyle(i,e,o,n)}removeStyle(i,e,o){this.delegate.removeStyle(i,e,o)}setProperty(i,e,o){this.shouldReplay(e)&&this.replay.push(n=>n.setProperty(i,e,o)),this.delegate.setProperty(i,e,o)}setValue(i,e){this.delegate.setValue(i,e)}listen(i,e,o,n){return this.shouldReplay(e)&&this.replay.push(r=>r.listen(i,e,o,n)),this.delegate.listen(i,e,o,n)}shouldReplay(i){return this.replay!==null&&i.startsWith(Fn)}},zn=new be("")});var Po,Oo=b(()=>{"use strict";g();E();ce();$();he();g();Po=(()=>{class t{document=p(se);siteKey=V.recaptcha.siteKey;scriptLoadedPromise;execute(e){return Ge(this.getToken(e)).pipe(q(o=>(console.error(`Fallo cr\xEDtico de reCAPTCHA en la acci\xF3n [${e}]:`,o),Ye(()=>o))))}getToken(e){return xe(this,null,function*(){return yield this.ensureScriptLoaded(),new Promise((o,n)=>{let r=globalThis.grecaptcha;if(!r){n(new Error("La variable global grecaptcha no est\xE1 disponible. El script de Google no se carg\xF3 correctamente."));return}r.ready(()=>{r.execute(this.siteKey,{action:e}).then(s=>o(s)).catch(s=>n(s))})})})}ensureScriptLoaded(){return this.scriptLoadedPromise??=this.loadScript(),this.scriptLoadedPromise}loadScript(){return new Promise((e,o)=>{if(globalThis.grecaptcha){e();return}let n=this.document.getElementById("recaptcha-v3-script");
1if(n){n.addEventListener("load",()=>e(),{once:!0}),n.addEventListener("error",()=>o(new Error("No se pudo cargar el script oficial de Google reCAPTCHA.")),{once:!0});return}let r=this.document.createElement("script");r.id="recaptcha-v3-script",r.src=`https://www.google.com/recaptcha/api.js?render=${this.siteKey}`,r.async=!0,r.defer=!0,r.onload=()=>e(),r.onerror=()=>o(new Error("No se pudo descargar el script oficial de Google reCAPTCHA.")),this.document.head.appendChild(r)})}static \u0275fac=function(o){return new(o||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var Eo,To=b(()=>{"use strict";g();E();$();Oo();Eo=(t,i)=>{let e=p(j),o=p(Po),n=t.headers.get("X-Recaptcha-Action");return n&&k(e)?o.execute(n).pipe(Ce(r=>{let s=t.clone({headers:t.headers.delete("X-Recaptcha-Action").set("captcha-response",r)});return i(s)})):i(n?t.clone({headers:t.headers.delete("X-Recaptcha-Action")}):t)}});var te,He,Ao,Te,Ro,oe,Un,Io,Lo=b(()=>{"use strict";g();E();U();g();te=(()=>{class t{constructor(){}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=S({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(o,n){},encapsulation:2})}return t})(),He="__external_redirect_attempted",Ao=()=>import("./chunk-FYMHSX2T.js").then(t=>t.PlanesPage),Te=()=>import("./chunk-6RZUGOE7.js").then(t=>t.CotizadorPage),Ro=t=>{let i=t.indexOf("?"),e=i===-1?t:t.slice(0,i),o=i===-1?"":t.slice(i),n=e;for(;n.length>1&&n.endsWith("/");)n=n.slice(0,-1);return n=n||"/",`${n}${o}`},oe=t=>()=>{let i=p(N),e=p(j);if(!k(e))return!0;let n=`${globalThis.location.pathname}${globalThis.location.search}`,r=t,s=Ro(n),_=Ro(r);if(s===_){if(globalThis.sessionStorage?.getItem(He)===r)return globalThis.sessionStorage?.removeItem(He),i.parseUrl("/");globalThis.sessionStorage?.setItem(He,r)}return globalThis.location.assign(r),!1},Un=(t,i)=>oe(i.url)(),Io=[{path:"",loadComponent:()=>import("./chunk-XHN4YYJR.js").then(t=>t.HomePage)},{path:"planes",loadComponent:Ao},{path:"planes/:lineId",loadComponent:Ao},{path:"planes/:lineId/:planId",loadComponent:()=>import("./chunk-H6E2J7TX.js").then(t=>t.PlanDetailPage)},{path:"comparacion",loadComponent:()=>import("./chunk-AVFUMQS7.js").then(t=>t.ComparacionPage)},{path:"quiero-asociarme",children:[{path:"",loadComponent:Te},{path:"grupo-familiar",children:[{path:"",loadComponent:Te},{path:"ingresos",loadComponent:Te,children:[{path:"tu-plan-ideal",loadComponent:Te}]}]}]},{path:"contacto",loadComponent:()=>import("./chunk-BNGFZQY6.js").then(t=>t.ContactoPage)},{path:"linea-empresas",loadComponent:()=>import("./chunk-SXFKQDV6.js").then(t=>t.LineaEmpresaPage)},{path:"sustentabilidad",loadComponent:()=>import("./chunk-IIJ572O4.js").then(t=>t.SustentabilidadPage)},{path:"centros-de-atencion",loadComponent:()=>import("./chunk-OUS56I5C.js").then(t=>t.CentrosDeAtencionPage)},{path:"login",loadComponent:()=>import("./chunk-LTRM5PCI.js").then(t=>t.LoginPage),children:[{path:"login-personas",component:te,canActivate:[oe("/login/asociados")]},{path:"login-empresas",component:te,canActivate:[oe("/login/empresas")]}
1,{path:"asociados",component:te,canActivate:[oe("/login/asociados")]},{path:"empresas",component:te,canActivate:[oe("/login/empresas")]},{path:"login-proovedores",component:te,canActivate:[oe("https://portalproveedores.sancorsalud.com.ar/login")]},{path:"login-prestadores",component:te,canActivate:[oe("https://autogestionprestadores.sancorsalud.com.ar/")]},{path:"",redirectTo:"login-personas",pathMatch:"full"}]},{path:"mi-cuenta",component:te,canActivate:[oe("/login/asociados")]},{path:"**",component:te,canActivate:[Un]}]});var jo,Do=b(()=>{"use strict";g();U();Me();ko();To();Lo();jo={providers:[dt({eventCoalescing:!0}),vt(Io,wt({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}),yt({onSameUrlNavigation:"reload"})),ut(ft(),_t([Eo])),So(),{provide:"googleTagManagerId",useValue:"GTM-5RGRZVZ"}]}});var Vn=No(Fo=>{Le();Mo();Do();he();V.production&&(globalThis.console.log=()=>{},globalThis.console.warn=()=>{},globalThis.console.info=()=>{},globalThis.console.debug=()=>{},globalThis.console.error=()=>{});xe(null,null,function*(){yield gt(yo,jo)})});export default Vn();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.