1import{a as U,b as ie}from"./chunk-ENE7WOCN.js";import{a as W,c as pe}from"./chunk-Z2UDCTDX.js";import{a as J,b as re}from"./chunk-3NYOS62S.js";import{a as Q,b as ce}from"./chunk-N25EHV7Y.js";import{a as h,d as te,j as G,p as ne,s as K,t as ae}from"./chunk-HAMIHFFR.js";import{d as $,e as oe}from"./chunk-D5VZRFUH.js";import"./chunk-KFGU4UUU.js";import{s as H,t as V,y as j,z as q}from"./chunk-ZO6IQXSH.js";import{g as B,k as F,r as ee}from"./chunk-5XHJENN4.js";import{$a as o,Fb as v,Gb as u,Hb as f,Jb as R,Kb as w,Lb as k,Mb as b,Nb as i,Ob as n,Pb as x,Qc as O,Tb as A,Vb as y,Xb as d,Y as Z,Ya as P,aa as I,d as S,fa as g,ic as p,jc as M,ka as z,kc as _,la as L,q as E,qa as D,qb as N,ua as C}from"./chunk-M6BYH6T6.js";var me,X,Y=S(()=>{"use strict";Z();ne();O();me={slug:"comparacion",seo:G},X=(()=>{class e{getPageContent(){return E(me)}static \u0275fac=function(a){return new(a||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()});function de(e,r){e&1&&x(0,"p",17),e&2&&b("innerHTML",r,P)}function _e(e,r){if(e&1&&x(0,"li",19),e&2){let t=r.$implicit;b("innerHTML",t,P)}}function se(e,r){if(e&1){let t=A();i(0,"article",11)(1,"header",14)(2,"span",15),p(3),n(),i(4,"h2",16),p(5),n()(),u(6,de,1,1,"p",17),i(7,"ul",18),w(8,_e,1,1,"li",19,R),n(),i(10,"footer",20)(11,"app-button",21),y("click",function(){z(t);let c=d(2);return L(c.onConsultarPlanClick())}),n()()()}if(e&2){let t,a,c,m,l=r.$implicit,s=d(2);o(3),M(l.lineName),o(2),M(l.name),o(),f((t=l.featureIntro)?6:-1,t),o(2),k(l.features),o(3),b("text",((a=s.comparator())==null||a.buttonToPlan==null?null:a.buttonToPlan.text)??"Consultar por este plan")("href",l.contractUrl)("openInNewTab",l.openInNewTab??!1)("customBgColor",(c=s.comparator())==null||c.buttonToPlan==null?null:c.buttonToPlan.backgroundColor)("customTextColor",(m=s.comparator())==null||m.buttonToPlan==null?null:m.buttonToPlan.textColor),v("aria-label","Consultar por "+l.name)}
1}function ue(e,r){if(e&1&&(p(0),i(1,"a",22),p(2),n(),p(3)),e&2){let t=r,a=d();_(" ",t.before," "),o(),b("routerLink",a.url),o(),_(" ",t.link," "),o(),_(" ",t.after," ")}}function fe(e,r){if(e&1&&(i(0,"p",13),u(1,ue,4,4),n()),e&2){let t,a=d(2);o(),f((t=a.parseBrackets(r.text))?1:-1,t)}}function be(e,r){e&1&&(i(0,"p",13),p(1," \xBFTe sirvi\xF3 esta informaci\xF3n? Record\xE1 que pod\xE9s "),i(2,"a",23),p(3," Cotizar otro plan "),n()())}function xe(e,r){if(e&1&&(i(0,"div",10),w(1,se,12,9,"article",11,ge),n(),i(3,"footer",12),u(4,fe,2,1,"p",13)(5,be,4,0,"p",13),n()),e&2){let t,a=d();o(),k(a.plans()),o(3),f((t=(t=a.comparator())==null?null:t.quoteAnotherPlanLink)?4:5,t)}}function Ce(e,r){e&1&&(i(0,"div",8)(1,"p",24),p(2," No hay planes seleccionados para comparar "),n(),x(3,"app-button",25),n())}function he(e,r){if(e&1&&(i(0,"section",9)(1,"div",26),x(2,"app-planes-bottom-cards",27),n()()),e&2){let t=d();o(2),b("sectionData",t.bottomCards())}}var ge,Fe,Pe=S(()=>{O();ee();q();te();re();oe();ie();ce();ae();Y();pe();O();q();ge=(e,r)=>r.id;Fe=(()=>{class e{comparisonService=g(J);router=g(H);location=g(B);destroyRef=g(D);planesApi=g(Q);seoService=g(K);comparacionApi=g(X);plans=C([]);bottomCards=C([]);comparator=C(null);parseBrackets=W;ngOnInit(){this.comparacionApi.getPageContent().pipe(h(this.destroyRef)).subscribe(t=>this.seoService.applyPageSeo(t.seo)),this.comparisonService.selectedPlans$.pipe(h(this.destroyRef)).subscribe(t=>{if(t.length<2){this.router.navigate(["/planes"]);return}this.plans.set(t),globalThis.window!==void 0&&globalThis.window.scrollTo({top:0,behavior:"auto"})}),this.planesApi.getPlansPageContent().pipe(h(this.destroyRef)).subscribe(t=>{this.comparator.set(t.plansResultsComparator),this.bottomCards.set(t.plansResultsComparator.cards)})}goBack(){this.location.back()}onConsultarPlanClick(){this.comparisonService.clear()}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=N({type:e,selectors:[["app-comparacion"]],decls:15,vars:6,consts:[[1,"comparacion-page"],[1,"comparacion-page__container"],["aria-label","Navegaci\xF3n",1,"comparacion-page__breadcrumb"],["type","button",1,"comparacion-page__back-link",3,"click"],[1,"arrow"],[1,"comparacion-page__header"],[1,"comparacion-page__title"],[1,"comparacion-page__subtitle"],[1,"comparacion-page__empty"],[1,"comparacion-page__cards-section"],[1,"comparacion-page__cards"],[1,"comparacion-page__card"],[1,"comparacion-page__footer"],[1,"comparacion-page__footer-text","m-0","text-sm","font-bold","text-gray-500","flex","flex-col","lg:flex-row","lg:justify-center"],[1,"comparacion-page__card-header"],[1,"comparacion-page__card-line"],[1,"comparacion-page__card-title"],[1,"comparacion-page__card-intro","text-[14px]","font-semibold","leading-[22px]","text-[#243465]","m-0","px-5","pt-4",3,"innerHTML"],["aria-label","Caracter\xEDsticas del plan",1,"comparacion-page__features"],[1,"comparacion-page__feature",3,"innerHTML"],[1,"comparacion-page__card-footer"],["variant","accent","size","medium",1,"comparacion-page__card-cta",3,"click","text","href","openInNewTab","customBgColor","customTextColor"],[1,"comparacion-page__footer-link",3,"routerLink"],["routerLink","/quiero-asociarme",1,"comparacion-page__footer-link"],[1,"comparacion-page__empty-text"],["variant","primary","size","large","text","Ver Planes","routerLink","/planes"],[1,"comparacion-page__cards-section-inner"],[3,"sectionData"]],template:function(a,c){if(a&1&&(i(0,"div",0)(1,"div",1)(2,"nav",2)(3,"button",3),y("click",function(){return c.goBack()}),i(4,"span",4),p(5," < "),n(),p(6),n()(),i(7,"header",5)(8,"h1",6),p(9),n(),i(10,"p",7),p(11),n()(),u(12,xe,6,1)(13,Ce,4,0,"div",8),n(),u(14,he,3,1,"section",9),n()),a&2){let m,l,s,T;o(3),v("aria-label",((m=c.comparator())==null||m.backToPlansLink==null?null:m.backToPlansLink.text)??"Volver"),o(3),_(" ",((l=c.comparator())==null||l.backToPlansLink==null?null:l.backToPlansLink.text)??"Volver"," "),o(3),_(" ",((s=c.comparator())==null?null:s.title)??"Compar\xE1 los planes que ofrecemos en SanCor Salud"," "),o(2),_(" ",((T=c.comparator())==null?null:T.subtitle)??"En SanCor Salud tenemos un Plan que se ajusta a cada necesidad."," "),o(),f(c.plans().length>0?12:13),o(2),f(c.plans().length>0?14:-1)}},dependencies:[F,j,V,$,U],styles:['.comparacion-page[_ngcontent-%COMP%]{min-height:100vh;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-bottom:2rem;padding-left:1rem;padding-right:1rem;padding-top:140px}@media(min-width:768px){.comparacion-page[_ngcontent-%COMP%]{padding-bottom:3rem;padding-left:1.5rem;padding-right:1.5rem}}.comparacion-page__container[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:1200px}.comparacion-page__breadcrumb[_ngcontent-%COMP%]{margin-bottom:1.5rem}.comparacion-page__back-link[_ngcontent-%COMP%]{cursor:pointer;border-width:0px;background-color:transparent;padding:0;font-size:.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity: 1;color:rgb(36 52 101 / var(--tw-text-opacity, 1));text-decoration-line:none;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.comparacion-page__back-link[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.comparacion-page__back-link[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.comparacion-page__back-link[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{margin-top:-2px;font-size:1.5rem;line-height:2rem;font-weight:500}.comparacion-page__header[_ngcontent-%COMP%]{margin-bottom:2rem}@media(min-width:768px){.comparacion-page__header[_ngcontent-%COMP%]{margin-bottom:2.5rem}}.comparacion-page__title[_ngcontent-%COMP%]{margin:0;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:700;line-height:30px;--tw-text-opacity: 1;color:rgb(38 61 131 / var(--tw-text-opacity, 1))}@media(min-width:768px){.comparacion-page__title[_ngcontent-%COMP%]{font-size:1.875rem;line-height:2.25rem}}.comparacion-page__subtitle[_ngcontent-%COMP%]{margin:0;font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(38 61 131 / var(--tw-text-opacity, 1))}.comparacion-page__cards[_ngcontent-%COMP%]{margin-bottom:2.5rem;display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}.comparacion-page__cards[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}@media(min-width:768px){.comparacion-page__cards[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;overflow:visible;scroll-snap-type:none}}@media(min-width:1024px){.comparacion-page__cards[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.75rem}}.comparacion-page__card[_ngcontent-%COMP%]{display:flex;flex-shrink:0;flex-direction:column;overflow:hidden;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px;width:88%;max-width:362px;scroll-snap-align:start;box-shadow:8px 8px 24px -8px #9ea0adb2}@media(min-width:768px){.comparacion-page__card[_ngcontent-%COMP%]{width:auto}}.comparacion-page__card-header[_ngcontent-%COMP%]{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 237 235 / var(--tw-bg-opacity, 1));padding:.75rem}.comparacion-page__card-line[_ngcontent-%COMP%]{margin-bottom:.25rem;display:block;font-size:.75rem;line-height:1rem;font-weight:600;--tw-text-opacity: 1;color:rgb(40 44 67 / var(--tw-text-opacity, 1))}.comparacion-page__card-title[_ngcontent-%COMP%]{margin:0;font-size:1.25rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 88 98 / var(--tw-text-opacity, 1))}.comparacion-page__features[_ngcontent-%COMP%]{margin:0;display:flex;flex:1 1 0%;list-style-type:none;flex-direction:column}.comparacion-page__features[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.comparacion-page__features[_ngcontent-%COMP%]{padding:1.25rem 1.25rem 1rem}.comparacion-page__feature[_ngcontent-%COMP%]{position:relative;display:flex;align-items:flex-start;padding-left:23px;font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:22px;--tw-text-opacity: 1;color:rgb(79 81 92 / var(--tw-text-opacity, 1))}.comparacion-page__feature[_ngcontent-%COMP%]:before{content:"";position:absolute;
1left:0;top:.25rem;display:block;height:16px;width:16px;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(255 88 98 / var(--tw-bg-opacity, 1))}.comparacion-page__feature[_ngcontent-%COMP%]:after{content:"";position:absolute;left:3px;top:7px;display:block;height:10px;width:10px;background-color:#fff;-webkit-mask:url(/app-resources/icons/custom/check-mask.svg) no-repeat center/contain;mask:url(/app-resources/icons/custom/check-mask.svg) no-repeat center/contain}.comparacion-page__card-footer[_ngcontent-%COMP%]{margin-top:auto;padding-top:1rem}.comparacion-page__card-cta[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.comparacion-page__footer[_ngcontent-%COMP%]{padding-top:.5rem;text-align:center}.comparacion-page__footer-link[_ngcontent-%COMP%]{margin-left:1rem;margin-top:30px;font-weight:700;text-decoration-line:none;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}@media(min-width:1024px){.comparacion-page__footer-link[_ngcontent-%COMP%]{margin-top:0}}.comparacion-page__footer-link[_ngcontent-%COMP%]{color:var(--accent-color, #ff5c63)}.comparacion-page__footer-link[_ngcontent-%COMP%]:hover{color:var(--accent-dark, #b3263a)}.comparacion-page__empty[_ngcontent-%COMP%]{border-radius:.75rem;--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1));padding:3rem 1rem;text-align:center}.comparacion-page__empty-text[_ngcontent-%COMP%]{margin:0;margin-bottom:1.5rem;font-size:1.0625rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.comparacion-page__cards-section[_ngcontent-%COMP%]{width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-left:0;padding-right:0;padding-top:3rem;padding-bottom:3rem}@media(min-width:768px){.comparacion-page__cards-section[_ngcontent-%COMP%]{padding:4rem 1.5rem}}.comparacion-page__cards-section-inner[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:1200px;padding-left:0;padding-right:0}.comparacion-page__cards-section-inner[_ngcontent-%COMP%] .planes-bottom-cards__container{padding:0}'],changeDetection:0})}return e})()});Pe();export{Fe as ComparacionPage};
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.