PageSourceSearch

https://digital.myalcon.com/chunk-EUYXPJ7G.js

js myalcon.com collected 2026-10-09 21:33:16 UTC 40,431 bytes, 73 lines download raw bytes

1import{a as ye}from"./chunk-6VYVBW2E.js";import{a as ue}from"./chunk-T2465V35.js";import"./chunk-3H27444A.js";import{a as pt}from"./chunk-6D4BJLKK.js";import"./chunk-ZZVKYVXA.js";import"./chunk-BYXBJQAS.js";import{b as _e,c as $,d as Y,e as J}from"./chunk-V6PL4OPD.js";import{a as ve,c as R,d as Ce}from"./chunk-IWPP4KEE.js";import"./chunk-BYXBJQAS.js";import{a as st}from"./chunk-CNVGN5AE.js";import{b as Se}from"./chunk-CLU7JROW.js";import{a as ct}from"./chunk-X23GOJ6U.js";import{b as at}from"./chunk-RRGHHOXG.js";import"./chunk-F4JKT6XM.js";import"./chunk-F5NXTDDM.js";import"./chunk-KSR7QYWN.js";import{a as I}from"./chunk-CLMMUJK5.js";import"./chunk-THZUMGZO.js";import"./chunk-K4R2IQH7.js";import{b as lt}from"./chunk-FDDO2BYD.js";import"./chunk-QO6BMBZU.js";import"./chunk-IBCUMZDP.js";import{b as Pe,c as ot}from"./chunk-RERBHRNZ.js";import{a as V}from"./chunk-4RY5GGGO.js";import{a as rt}from"./chunk-2TH6VPMM.js";import"./chunk-MEEXVQ47.js";import"./chunk-O4L5QC24.js";import{a as mt}from"./chunk-WOLX4JDG.js";import"./chunk-HWUNX7VE.js";import"./chunk-OTH52NOW.js";import{a as he}from"./chunk-AWIRD6MU.js";import{Aa as fe,Ba as it,T as de,U as ge,ca as D}from"./chunk-2V5JL75X.js";import{A as Ye,Fd as tt,Hc as me,Ic as E,Od as B,Pd as nt,c as Ve,ea as Je,ha as Qe,jc as Xe,k as $e,nc as Ze,pb as P,qa as le,s as w,wd as et,yd as pe}from"./chunk-ZWEJHNXH.js";import{Ac as h,Bc as j,Cc as H,Dd as p,Eb as F,Ec as Ue,Ed as d,Fa as Le,Fc as ze,Ga as Be,Gb as A,Hc as Ge,Ic as We,Ja as K,K as Te,Ka as De,Kc as q,Lb as o,Lc as ae,Pc as Q,Qc as re,Rc as S,Ta as G,Ua as W,W as x,Xa as Re,Yb as a,Yd as se,bc as u,cc as Ne,d as ke,ed as l,fd as y,gd as v,hd as qe,oc as Ke,qc as g,qd as ce,sc as f,ua as L,uc as Fe,vc as je,w as ie,wa as Ee,wc as He,x as oe,xc as m,yc as c,zc as s}from"./chunk-NEZQPKWQ.js";import"./chunk-L5PSOIHE.js";import"./chunk-LBEPXYJV.js";import"./chunk-L264QQFJ.js";import"./chunk-CCWYVJFP.js";import"./chunk-HC6MZPB3.js";import"./chunk-WND7HVWL.js";import"./chunk-NBSIX53V.js";import"./chunk-METTGI2H.js";import"./chunk-WMUQVPCH.js";import"./chunk-6DDAKIW5.js";import"./chunk-NGTLKTWT.js";import"./chunk-JXIEZMHN.js";import"./chunk-F24FCKZA.js";import"./chunk-TJRYMC7C.js";import"./chunk-IOG4N46Q.js";import"./chunk-MCRJI3T3.js";import"./chunk-MM5QLNJM.js";import"./chunk-WTBOK45U.js";import"./chunk-V56YQ2L7.js";import"./chunk-ZCZH5UEI.js";import"./chunk-O3IQXRHT.js";import"./chunk-YJEKESST.js";import"./chunk-A6RW7JHB.js";import{a as b,b as T,k as z}from"./chunk-EMLWB7XO.js";var Oe=class n{constructor(t,e,i,r,C,O){this._oktaAuth=t;this.location=e;this.oktaConfig=i;this.configService=r;this.authFacade=C;this.auth0Service=O}canActivate(){return this.isRedirectedFromADI()?(this.adiSSOSignIn(),!1):!0}adiSSOSignIn(){return z(this,null,function*(){if(this.authFacade.isAuth0Market()){yield this.auth0Service.loginWithRedirect();return}this._oktaAuth=new ve({issuer:V.okta_issuer_url??"",clientId:V.okta_clientId,redirectUri:this.oktaConfig.getMarket()+"/login/callback",postLogoutRedirectUri:this.oktaConfig.getMarket()+"/login",scopes:["openid","profile","email","offline_access"],tokenManager:{storage:"cookie"},cookies:{secure:!0}});let t={oktaAuth:this._oktaAuth};this.configService.setConfig(t),yield this.configService.getConfig()?.oktaAuth.signInWithRedirect().then(()=>{})})}isRedirectedFromADI(){let t=this.location.path().split("?")[1];return!!t&&t.split("&").includes("origin=home")}static{this.\u0275fac=function(e){return new(e||n)(K(R),K(Ve),K(I),K(Ce),K(J),K(_e))}}static{this.\u0275prov=Le({token:n,factory:n.\u0275fac,providedIn:"root"})}};function bt(n,t){if(n&1&&(c(0,"p",3),l(1),s()),n&2){let e=S(2);o(),v(" ",e.componentHeading," ")}}function xt(n,t){if(n&1&&(c(0,"div",5)(1,"div",2)(2,"div",2),h(3,"cx-media",6),s(),c(4,"div",2)(5,"p",7),l(6),s()(),c(7,"div",8)(8,"p",9),l(9),s()()()()),n&2){let e=t.$implicit,i=S(2);m("ngClass",i.isTopCarousel?"topCaraousel":"bottomCaraousel"),o(),m("ngClass",i.isTopCarousel?"cardDimensionsTopCarousel d-flex flex-column align-items-center":"cardDimensionsBottomCarousel d-flex flex-column align-items-center"),o(),m("ngClass",i.isTopCarousel?"imageSectionTopCarousel":"imageSectionBottomCarousel"),o(),m("ngClass",i.isTopCarousel?"pl-1 pr-1":"imageWidth pl-1 pr-1")("container",e.media),o(),m("ngClass",i.isTopCarousel?"headingForTopCarou
1sel":"headingForBottomCarousel"),o(2),y(e.headline),o(3),y(e.content)}}function At(n,t){if(n&1&&(c(0,"div",0)(1,"div",1)(2,"p",2),l(3),s(),g(4,bt,2,1,"p",3),s(),c(5,"div",4),je(6,xt,10,8,"div",5,Fe),s()()),n&2){let e=S();o(2),m("ngClass",e.isTopCarousel?"headingFormat__width":"headingFormat"),o(),v(" ",e.componentSubHeading," "),o(),f(e.componentSubHeading!==""?4:-1),o(2),He(t)}}var X=class n{constructor(t,e){this.cmsService=t;this.componentData=e;this.componentHeading="";this.componentSubHeading="";this.isTopCarousel=!1;this.components$=this.componentData.data$.pipe(Te(t=>!!t),L(t=>oe(t.carouselComponents.split(" ").map(e=>this.cmsService.getComponentData(e).pipe(ie(i=>{let r=b({},i.media);if(r.url=i.media.widenImageUrl,this.componentHeading=i.carouselComponentsContainer.heading,this.componentSubHeading=i.carouselComponentsContainer.subheading,i?.carouselComponentsContainer?.imageSize?.length){let O=i?.carouselComponentsContainer?.imageSize;O==="small"&&(this.isTopCarousel=!0),O==="large"&&(this.isTopCarousel=!1)}return T(b({},i),{media:r})}))))))}static{this.\u0275fac=function(e){return new(e||n)(a(et),a(D))}}static{this.\u0275cmp=u({type:n,selectors:[["app-alcon-benefits-section"]],decls:2,vars:3,consts:[[1,"Alcon-Benefits","d-flex","flex-column","align-items-center"],[1,"Alcon-Benefits__headingSection"],[3,"ngClass"],[1,"subHeadingFormat"],[1,"Alcon-Benefits__cardSection"],[1,"cardDesign",3,"ngClass"],[3,"ngClass","container"],[1,"cardHeadingFormat"],[1,"description","text-center"],[1,"cardSubHeadingFormat"]],template:function(e,i){if(e&1&&(g(0,At,8,3,"div",0),p(1,"async")),e&2){let r;f((r=d(1,1,i.components$))?0:-1,r)}},dependencies:[$e,fe,w],styles:[`.Alcon-Benefits[_ngcontent-%COMP%]{background-color:#f2f5fe;max-height:max-content;align-items:center;justify-content:center}@media(max-width:767.98px){.Alcon-Benefits[_ngcontent-%COMP%]{height:auto;width:auto;max-height:auto;padding:0rem .3125rem}}.Alcon-Benefits__cardSection[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:stretch;flex-direction:row;flex-wrap:wrap;gap:1.5rem;padding-top:2rem;padding-bottom:2.5rem}@media(max-width:991.98px){.Alcon-Benefits__cardSection[_ngcontent-%COMP%]{gap:1.5rem;width:auto;padding-left:.75rem;padding-right:.75rem}}@media(max-width:767.98px){.Alcon-Benefits__cardSection[_ngcontent-%COMP%]{flex-direction:column;gap:1.5rem;padding-bottom:0rem}}.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .cardDimensionsTopCarousel[_ngcontent-%COMP%]{height:23rem;width:23rem}@media(max-width:991.98px){.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .cardDimensionsTopCarousel[_ngcontent-%COMP%]{width:auto;height:auto}}@media(max-width:767.98px){.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .cardDimensionsTopCarousel[_ngcontent-%COMP%]{width:auto;height:auto}}.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .cardDesign[_ngcontent-%COMP%]{background:#fff;border:1px solid #ffffff;border-radius:.75rem;box-shadow:0 .3125rem 1.25rem #00359526;padding-top:.3125rem}@media(max-width:991.98px){.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .cardDesign[_ngcontent-%COMP%]{width:29%}}@media(max-width:767.98px){.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .cardDesign[_ngcontent-%COMP%]{width:auto;max-height:34.375rem}}@media(max-width:991.98px){.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .topCaraousel[_ngcontent-%COMP%]{min-height:31.25rem;height:auto}}@media(max-width:991.98px){.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .bottomCaraousel[_ngcontent-%COMP%]{min-height:31.25rem;height:auto}}.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .cardDimensionsBottomCarousel[_ngcontent-%COMP%]{height:29.8125rem;width:23rem}@media(max-width:991.98px){.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .cardDimensionsBottomCarousel[_ngcontent-%COMP%]{width:auto;height:auto}}@media(max-width:767.98px){.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .cardDimensionsBottomCarousel[_ngcontent-%COMP%]{width:auto;height:auto}}@media(max-width:991.98px){.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .cardDimensionsBottomCarousel[_ng
1content-%COMP%]   .imageWidth[_ngcontent-%COMP%]{width:95%}}@media(max-width:767.98px){.Alcon-Benefits__cardSection[_ngcontent-%COMP%]   .cardDimensionsBottomCarousel[_ngcontent-%COMP%]   .imageWidth[_ngcontent-%COMP%]{width:65%}}.Alcon-Benefits__headingSection[_ngcontent-%COMP%]{text-align:center;line-height:110%;color:#003595;font-family:Open Sans,Open Sans Fallback;font-size:1.75rem;font-style:normal;font-weight:400}@media(max-width:767.98px){.Alcon-Benefits__headingSection[_ngcontent-%COMP%]{width:auto}}.imageSectionTopCarousel[_ngcontent-%COMP%]{display:flex;height:10.625rem;flex-direction:column;justify-content:flex-end;align-items:center;align-self:stretch}@media(max-width:991.98px){.imageSectionTopCarousel[_ngcontent-%COMP%]{padding-top:3.125rem}}.imageSectionBottomCarousel[_ngcontent-%COMP%]{display:flex;height:17.25rem;flex-direction:column;justify-content:flex-end;align-items:center;align-self:stretch}@media(max-width:991.98px){.imageSectionBottomCarousel[_ngcontent-%COMP%]{height:auto}}.headingForTopCarousel[_ngcontent-%COMP%]{text-align:center;line-height:120%;color:#003595;font-family:Open Sans,Open Sans Fallback;font-size:1.5rem;font-style:normal;font-weight:400}@media(max-width:991.98px){.headingForTopCarousel[_ngcontent-%COMP%]{width:80%}}.headingForBottomCarousel[_ngcontent-%COMP%]{text-align:center;line-height:120%;color:#003595;font-family:Open Sans,Open Sans Fallback;font-size:1.5rem;font-style:normal;font-weight:400}@media(max-width:991.98px){.headingForBottomCarousel[_ngcontent-%COMP%]{width:100%;padding:0 .9375rem}}.description[_ngcontent-%COMP%]{text-align:center;line-height:140%;color:#4f4f4f;font-family:Open Sans,Open Sans Fallback;font-size:.875rem;font-style:normal;font-weight:400}.headingFormat[_ngcontent-%COMP%]{padding-top:4.5rem}.headingFormat__width[_ngcontent-%COMP%]{padding-top:4.5rem;width:31rem;overflow-wrap:anywhere}@media(max-width:991.98px){.headingFormat__width[_ngcontent-%COMP%]{padding-top:4rem}}@media(max-width:767.98px){.headingFormat__width[_ngcontent-%COMP%]{width:auto;padding-left:1.25rem;padding-right:1.25rem;padding-top:3.125rem}}@media(max-width:991.98px){.headingFormat[_ngcontent-%COMP%]{padding-top:4rem}}@media(max-width:767.98px){.headingFormat[_ngcontent-%COMP%]{width:auto;padding-left:1.875rem;padding-right:1.875rem;padding-top:3.125rem}}.subHeadingFormat[_ngcontent-%COMP%]{text-align:center;line-height:115%;color:#4f4f4f;font-family:Open Sans,Open Sans Fallback;font-size:1.375rem;font-style:normal;font-weight:300}@media(max-width:767.98px){.subHeadingFormat[_ngcontent-%COMP%]{width:auto;padding-left:1.875rem;padding-right:1.875rem}}.cardHeadingFormat[_ngcontent-%COMP%]{margin-top:3rem}.cardSubHeadingFormat[_ngcontent-%COMP%]{padding-left:2rem;padding-right:2rem}@media(max-width:991.98px){.cardSubHeadingFormat[_ngcontent-%COMP%]{height:7.5rem}}@media(max-width:767.98px){.cardSubHeadingFormat[_ngcontent-%COMP%]{height:4.125rem}}
2
3
4
5
6
7
8
9`]})}};function It(n,t){if(n&1&&(c(0,"div",6)(1,"a",8),h(2,"cx-icon",9),c(3,"span",10),l(4),p(5,"cxTranslate"),s()(),c(6,"span")(7,"a",11),l(8),s()()()),n&2){let e=S();o(),m("href","tel:"+e.customerServiceNumber,A),o(3),v(" ",d(5,4,"login.callCs")," "),o(3),m("href","tel:"+e.customerServiceNumber,A),o(),y(e.customerServiceNumber)}}function wt(n,t){if(n&1&&(c(0,"div",7)(1,"a",8),h(2,"cx-icon",12),c(3,"span",10),l(4),p(5,"cxTranslate"),s()(),c(6,"span")(7,"a",13),l(8),s()()()),n&2){let e=S();o(),m("href","mailto:"+e.customerServiceEmail,A),o(3),v(" ",d(5,4,"login.emailCs")," "),o(3),m("href","mailto:"+e.customerServiceEmail,A),o(),y(e.customerServiceEmail)}}function Pt(n,t){if(n&1&&(c(0,"div",7)(1,"a",14),h(2,"cx-icon",15),s(),c(3,"span")(4,"a",16),l(5),p(6,"cxTranslate"),s()()()),n&2){let e=S(2);o(),m("href",e.csrLink,A),o(3),m("href",e.csrLink,A),o(),y(d(6,3,"dashboardService.customerServiceGuide"))}}function Mt(n,t){if(n&1&&(c(0,"div",3)(1,"div",4),l(2),p(3,"cxTranslate"),s(),c(4,"div",5),g(5,It,9,6,"div",6),g(6,wt,9,6,"div",7),s(),g(7,Pt,7,5,"div",7),s()),n&2){let e=t,i=S();o(2),v(" ",d(3,4,"login.customerCareHeader")," "),o(3),f(e.customerServiceNumber?5:-1),o(),f(e.customerServiceEmail?6:-1),o(),f(i.csrLink?7:-1)}}var ee=class n{constructor(t,e){this.customerService=t;this.baseSiteService=e;this.customerCareDetails$=this.customerService.getCustomerCareNumberAndEmail();this.csrLink="";this.selectedLanguage=localStorage.getItem("SELECTED_LANGUAGE");this.baseSite$=this.baseSiteService.getActive().pipe(L(t=>this.baseSiteService.get(t)));this.baseSite$.subscribe(i=>{i?.csrLinks&&i?.csrLinks?.entry&&(this.csrLink=i?.csrLinks?.entry.find(r=>r.key===this.selectedLanguage).value)})}static{this.\u0275fac=function(e){return new(e||n)(a(st),a(P))}}static{this.\u0275cmp=u({type:n,selectors:[["app-alcon-help-contact"]],decls:9,vars:9,consts:[[1,"help-contact-container"],[1,"needhelp-header"],[1,"contact-us-subheader"],[1,"contact-details"],[1,"customerCareHeader"],[1,"customerServiceDetails","OneLinkNoTx"],[1,"customerServicePhone"],[1,"customerServiceEmail"],[1,"align-self-center",3,"href"],["type","Phone",1,"customerServiceCard__icon"],[1,"visually-hidden"],[1,"OneLinkNoTx",3,"href"],["type","Email",1,"customerServiceCard__icon"],[3,"href"],["target","_blank",1,"align-self-center",3,"href"],["type","pdfDoc",1,"customerServiceCard__icon"],["target","_blank",3,"href"]],template:function(e,i){if(e&1&&(c(0,"div",0)(1,"p",1),l(2),p(3,"cxTranslate"),s(),c(4,"p",2),l(5),p(6,"cxTranslate"),s(),g(7,Mt,8,6,"div",3),p(8,"async"),s()),e&2){let r;o(2),v("",d(3,3,"login.needHelp"),"?"),o(3),v("",d(6,5,"login.contactUs"),":"),o(2),f((r=d(8,7,i.customerCareDetails$))?7:-1,r)}},dependencies:[de,w,B],styles:[`.help-contact-container[_ngcontent-%COMP%]   .needhelp-header[_ngcontent-%COMP%]{line-height:1.8rem;margin-bottom:1rem;color:var(--cx-color-primary);font-family:Open Sans,Open Sans Fallback;font-size:1.5rem;font-style:normal;font-weight:400}.help-contact-container[_ngcontent-%COMP%]   .contact-us-subheader[_ngcontent-%COMP%]{line-height:1.225rem;margin:0 0 .5rem;color:var(--cx-color-primary);font-family:Open Sans,Open Sans Fallback;font-size:1rem;font-style:normal;font-weight:600}.customerServiceDetails[_ngcontent-%COMP%]{display:flex;flex-direction:column}@media(max-width:767.98px){.customerServiceDetails[_ngcontent-%COMP%]{align-items:center}}.customerServicePhone[_ngcontent-%COMP%]{color:#232223;font-family:Open Sans,Open Sans Fallback;font-size:.875rem;font-style:normal;font-weight:600;gap:.375rem;display:flex;height:28px}.customerServicePhone[_ngcontent-%COMP%]   cx-icon[_ngcontent-%COMP%]{display:flex;height:16px;width:16px}.customerServicePhone[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#003595;min-height:unset;min-width:unset}.customerServicePhone[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#003595}.customerServiceEmail[_ngcontent-%COMP%]{color:#232223;font-family:Open Sans,Open Sans Fallback;font-size:.875rem;font-style:normal;font-weight:600;gap:.375rem;display:flex;word-break:break-word}.customerServiceEmail[_ngcontent-%COMP%]   cx-icon[_ngcontent-%COMP%]{display:flex;height:1rem;width:1rem;align-self:flex-start;margin-top:.4375rem}.customerServiceEmail[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#003595;min-height:unset;min-width:unset}.customerServiceEmail[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#003595}@media(min-width:768px)and (max-width:991.98px){.customerServiceEmail[_ngcontent-%COMP%]{line-break:anywhere}}.customerCareHeader[_ngcontent-%COMP%]{margin-bottom:.5rem}a[_ngcontent-%COMP%]{min-width:auto;min-height:auto}
10
11
12
13
14
15
16
17`],changeDetection:0})}};function Dt(n,t){if(n&1){let e=q();c(0,"alcon-confirmation-dialog",3),p(1,"cxTranslate"),p(2,"cxTranslate"),p(3,"cxTranslate"),Q("submitConfirmation",function(){G(e);let r=S();return W(r.onClickClose())}),s()}n&2&&m("heading",ce(d(1,6,"login.accessApproval.heading")))("subHeading",ce(d(2,8,"login.accessApproval.subHeading")))("yesButtonText",ce(d(3,10,"login.accessApproval.bunttonText")))}var U=class n{constructor(t,e,i,r,C,O,_,k,ht,ut,vt,Ct,_t,Wt){this.router=t;this._oktaAuth=e;this.baseSiteService=i;this.translation=r;this.globalMessageService=C;this.browserStorageService=O;this.oktaConfigService=_;this.alconSignUpService=k;this.store=ht;this.alconLoginService=ut;this.alconIonicAuthService=vt;this.platform=Ct;this.authFacade=_t;this.auth0Service=Wt;this.showPopUp=!1;this.isLoading=!1;this.isNative=!1}ngOnInit(){this.isNative=this.platform.is("hybrid"),this.browserStorageService.clearItemByKey("BANNER_VISIBILITY");let t=2400*1e3,e=this.browserStorageService.getItemByKey("isOktaLoginError"),i=this.browserStorageService.getItemByKey("isOktaPendingApproval"),r=this.browserStorageService.getItemByKey("isOktaLoginRejected"),C=this.browserStorageService.getItemByKey("isOktaLoginDisabled"),O=this.browserStorageService.getItemByKey("oktaDateTokenError");this.alconLoginService.hideASMUINotLoggedin(),e==="true"?(console.log(E.MSG_TYPE_ERROR,"setUpError"),this.translation.translate("errorMessages.setUpError").pipe(x(1)).subscribe(_=>{this.globalMessageService.add(_,E.MSG_TYPE_ERROR),console.log(_)}),this.browserStorageService.clearItemByKey("isOktaLoginError")):i==="true"?(console.log("isOktaPendingApproval","isOktaPendingApproval"),this.showPopUp=!0,this.browserStorageService.clearItemByKey("isOktaPendingApproval")):r==="true"?(console.log(E.MSG_TYPE_ERROR,"errorMessages.rejected"),this.translation.translate("errorMessages.rejected").pipe(x(1)).subscribe(_=>{this.globalMessageService.add(_,E.MSG_TYPE_ERROR,t),console.log(_)}),this.browserStorageService.clearItemByKey("isOktaLoginRejected")):C==="true"?this.alconLoginService.handleErrorMessage("errorMessages.disabled","isOktaLoginDisabled",t):O==="true"&&this.alconLoginService.handleErrorMessage("errorMessages.invalidDateTimeOktaError","oktaDateTokenError",t),this.browserStorageService.clearItemByKey("shipToId"),this.browserStorageService.clearItemByKey("shipToSwitch"),this.browserStorageService.clearItemByKey("soldToId"),this.browserStorageService.clearItemByKey("soldToSwitch"),this.browserStorageService.clearItemByKey("payerSwitch"),this.browserStorageService.clearItemByKey("PAYER_ID"),this.browserStorageService.clearItemByKey("BILLING_ADDRESS_ID"),this.browserStorageService.clearItemByKey("corelationId"),this.browserStorageService.clearItemByKey("X_CORELATION_ID"),this.browserStorageService.clearItemByKey("ORDERING_POPUP_ACCEPTED"),this.browserStorageService.clearItemByKey("billingAddressSwitch"),this.browserStorageService.clearItemByKey("INVOICE_MEDIA_REQUEST_ID"),this.browserStorageService.clearItemByKey("CREDIT_NOTE_MEDIA_REQUEST_ID"),this.browserStorageService.clearItemByKey("OPEN_INVOICE_MEDIA_REQUEST_ID"),this.browserStorageService.clearItemByKey("PAYMENTS_MEDIA_REQUEST_ID"),this.browserStorageService.clearItemByKey("ORDERS_MEDIA_REQUEST_ID"),this.browserStorageService.clearItemByKey("ccfBillOnlyPageLoaded"),this.browserStorageService.clearItemByKey("ccfUrlData"),this.browserStorageService.clearItemByKey("ccfCsvPageLoaded"),ot.forEach(_=>{this.browserStorageService.clearItemByKey(Pe[_])}),this.browserStorageService.clearItemByKey("IS_BILL_ONLY_ORDER"),this.browserStorageService.clearItemByKey("IS_DIGITAL_CERTIFICATE_ORDER"),this.browserStorageService.clearItemByKey("accessToken"),this.store.dispatch(new Se.ClearCartState),this.baseSiteService.get().pipe(x(1)).subscribe(_=>{this.isOktaLoginEnabled=_.oktaLoginEnabled}),this.browserStorageService.clearItemByKey("cnSalresrepSession")}navigateToLogin(){return z(this,null,function*(){this.isLoading=!0;let t={show_reg:this.alconSignUpService.getRegistrationStatus()===!0?"true":"false",locale:this.oktaConfigService.getLocale()},e=typeof localStorage<"u"&&Number(localStorage.getItem("alcon_force_login_prompt")||"0")>Date.now();if(this.isNative)if(this.isOktaLoginEnabled){let i=t;this.alconIonicAuthService.setAdditionParams(i),this.alconIonicAuthService.login()}else this.router.navigateByUrl("/login/register");else if(this.isOktaLoginEnabled)if(this.authFacade.isAuth0Market()){let i="";t.locale==="zh_CN"?i="zh-CN":t.locale==="en_CN"&&(i="en"),yield this.auth0Service.loginWithRedirect(T(b({},e?{prompt:"login"}:{}),{ui_locales:i}))}else{let i=T(b({},e?{prompt:"login"}:{}),{extraParams:t});yield this._oktaAuth.signInWithRedirect(i)}else this.router.navigateByUrl("/login/register")})}onClickClose(){this.showPopUp=!1}static{this.\u0275fac=function(e){return new(e||n)(a(Je),a(R),a(P),a(pe),a(me),a(he),a(I),a(ye),a(le),a(ue),a(Y),a($),a(J),a(_e))}}static{this.\u0275cmp=u({type:n,selectors:[["app-alcon-login"]],decls:6,vars:5,consts:[[1,"loginButton",3,"click","disabled"],[1,"login-access-approval"],[3,"heading","subHeading","yesButtonText"],[3,"submitConfirmation","heading","subHeading","yesButtonText"]],template:function(e,i){e&1&&(c(0,"button",0),Q("click",function(){return i.navigateToLogin()}),Ue(1),l(2),p(3,"cxTranslate"),ze(),s(),c(4,"div",1),g(5,Dt,4,12,"alcon-confirmation-dialog",2),s()),e&2&&(m("disabled",i.isLoading),o(2),y(d(3,3,"login.buttonText")),o(3),f(i.showPopUp?5:-1))},dependencies:[at,B],styles:[`.loginButton[_ngcontent-%COMP%]{background:#003595;border-radius:6.25rem;border:0;color:var(--cx-color-inverse);color:#fff;font-family:Open Sans,Open Sans Fallback;font-size:1rem;font-style:normal;font-weight:600;line-height:1.4rem;letter-spacing:.15px;min-height:2.375rem;height:100%;padding:.4375rem 2.625rem;max-width:21.25rem!important;min-width:20.9375rem;width:100%;display:flex;align-items:center;justify-content:center}@media(min-width:768px){.loginButton[_ngcontent-%COMP%]{width:100%;max-width:31.25rem!important;min-width:0}}.loginButton[_ngcontent-%COMP%]:disabled{pointer-events:none;cursor:not-allowed;background:#6686bf}
18
19
20
21
22
23
24
25`],changeDetection:0})}};function Rt(n,t){if(n&1){let e=q();j(0,"button",1),re("click",function(){G(e);let r=S();return W(r.navigateToSaleRepLogin())}),Ge(1),l(2),p(3,"cxTranslate"),We(),H()}if(n&2){let e=S();ae("disabled",e.isLoading),o(2),y(d(3,2,"login.loginSalesRep"))}}var xe=class n{constructor(t,e,i,r,C,O,_,k,ht,ut,vt,Ct,_t){this._oktaAuth=t;this.baseSiteService=e;this.translation=i;this.globalMessageService=r;this.browserStorageService=C;this.oktaConfigService=O;this.store=_;this.cd=k;this.oktaConfig=ht;this.configService=ut;this.alconIonicAuthService=vt;this.platform=Ct;this.alconLoginService=_t;this.isOktaSalesRepLoginEnabled=!1;this.isLoading=!1;this.isNative=!1}ngOnInit(){this.isNative=this.platform.is("hybrid"),this.browserStorageService.clearItemByKey("BANNER_VISIBILITY");let t=2400*1e3,e=this.browserStorageService.getItemByKey("isOktaLoginError"),i=this.browserStorageService.getItemByKey("isOktaPendingApproval"),r=this.browserStorageService.getItemByKey("isOktaLoginRejected"),C=this.browserStorageService.getItemByKey("isOktaLoginDisabled"),O=this.browserStorageService.getItemByKey("oktaDateTokenError");e==="true"?(this.translation.translate("errorMessages.setUpError").pipe(x(1)).subscribe(k=>{this.globalMessageService.add(k,E.MSG_TYPE_ERROR)}),this.browserStorageService.clearItemByKey("isOktaLoginError")):i==="true"?this.browserStorageService.clearItemByKey("isOktaPendingApproval"):r==="true"?(this.translation.translate("errorMessages.rejected").pipe(x(1)).subscribe(k=>{this.globalMessageService.add(k,E.MSG_TYPE_ERROR,t)}),this.browserStorageService.clearItemByKey("isOktaLoginRejected")):C==="true"?(this.translation.translate("errorMessages.salesRepDisabled").pipe(x(1)).subscribe(k=>{this.globalMessageService.add(k,E.MSG_TYPE_ERROR,t)}),this.browserStorageService.clearItemByKey("isOktaLoginDisabled")):O==="true"&&this.alconLoginService.handleErrorMessage("errorMessages.invalidDateTimeOktaError","oktaDateTokenError",t),this.browserStorageService.clearItemByKey("shipToId"),this.browserStorageService.clearItemByKey("shipToSwitch"),this.browserStorageService.clearItemByKey("soldToId"),this.browserStorageService.clearItemByKey("soldToSwitch"),this.browserStorageService.clearItemByKey("payerSwitch"),this.browserStorageService.clearItemByKey("PAYER_ID"),this.browserStorageService.clearItemByKey("BILLING_ADDRESS_ID"),this.browserStorageService.clearItemByKey("corelationId"),this.browserStorageService.clearItemByKey("X_CORELATION_ID"),this.browserStorageService.clearItemByKey("ORDERING_POPUP_ACCEPTED"),this.browserStorageService.clearItemByKey("billingAddressSwitch"),this.store.di
25spatch(new Se.ClearCartState),this.baseSiteService.get().pipe(x(1)).subscribe(k=>{this.isOktaSalesRepLoginEnabled=k.salesRepLoginEnabled??!1,this.cd.detectChanges()}),this._oktaAuth=new ve({issuer:V.okta_issuer_url??"",clientId:V.okta_clientId_sales_rep,redirectUri:this.oktaConfig.getMarket()+"/login/callback",postLogoutRedirectUri:this.oktaConfig.getMarket()+"/login",scopes:["openid","profile","email","offline_access"],tokenManager:{storage:"localStorage"},cookies:{secure:!0}});let _={oktaAuth:this._oktaAuth};this.configService.setConfig(_)}navigateToSaleRepLogin(){return z(this,null,function*(){this.isLoading=!0;let t=typeof localStorage<"u"&&Number(localStorage.getItem("alcon_force_login_prompt")||"0")>Date.now();if(this.isNative){if(this.isOktaSalesRepLoginEnabled){let e={show_reg:"false",locale:this.oktaConfigService.getLocale()};this.alconIonicAuthService.setAdditionParams(e),this.alconIonicAuthService.salesRepLogin()}}else if(this.isOktaSalesRepLoginEnabled){let e=T(b({},t?{prompt:"login"}:{}),{extraParams:{show_reg:"false",locale:this.oktaConfigService.getLocale()}});sessionStorage.setItem("cn_salesrep_okta_login","true"),this.browserStorageService.setStore("cnSalresrepSession","true"),yield this._oktaAuth.signInWithRedirect(e)}})}static{this.\u0275fac=function(e){return new(e||n)(a(R),a(P),a(pe),a(me),a(he),a(I),a(le),a(se),a(I),a(Ce),a(Y),a($),a(ue))}}static{this.\u0275cmp=u({type:n,selectors:[["app-alcon-login-sales-rep"]],decls:1,vars:1,consts:[[1,"btn-outlined",3,"disabled"],[1,"btn-outlined",3,"click","disabled"]],template:function(e,i){e&1&&g(0,Rt,4,4,"button",0),e&2&&f(i.isOktaSalesRepLoginEnabled?0:-1)},dependencies:[B],styles:[`.btn-outlined[_ngcontent-%COMP%]{background:#fff;border-radius:6.25rem;border:1px solid #003595;color:#003595;font-family:Open Sans,Open Sans Fallback;font-size:1rem;font-style:normal;font-weight:600;line-height:1.4rem;letter-spacing:.15px;min-height:2.375rem;height:100%;padding:.4375rem 2.625rem;max-width:21.25rem!important;min-width:20.9375rem;width:100%;display:flex;justify-content:center}@media(max-width:767.98px){.btn-outlined[_ngcontent-%COMP%]{margin-top:1rem}}@media(min-width:768px){.btn-outlined[_ngcontent-%COMP%]{min-width:0;max-width:31.25rem!important;width:100%!important}}
26
27
28
29
30
31
32
33`]})}};function Nt(n,t){if(n&1&&(c(0,"div",5),l(1),s()),n&2){let e=S(2);o(),v(" ",e.subtitle," ")}}function Kt(n,t){if(n&1&&g(0,Nt,2,1,"div",5),n&2){let e=S();f(t!==e.baseSiteConst.ALCONCN?0:-1)}}function Ft(n,t){n&1&&h(0,"app-alcon-login-sales-rep")}var te=class n{constructor(t,e,i){this.componentData=t;this.baseSiteService=e;this.document=i;this.title="";this.subtitle="";this.dynamicUrl="";this.salesRepLoginEnabled=!1;this.baseSiteConst=lt;this.componentData.data$.subscribe(r=>{this.title=r.headline,this.subtitle=r.content,this.dynamicUrl=r.media.url,this.preloadHeroImage(r.media.url)})}preloadHeroImage(t){if(!t||this.document.querySelector(`link[rel="preload"][href="${t}"]`))return;let e=this.document.createElement("link");e.rel="preload",e.as="image",e.href=t,e.setAttribute("fetchpriority","high"),e.crossOrigin="anonymous",this.document.head.appendChild(e)}ngOnInit(){this.baseSiteService.get().pipe(x(1)).subscribe(t=>{this.salesRepLoginEnabled=t.salesRepLoginEnabled??!1})}static{this.\u0275fac=function(e){return new(e||n)(a(D),a(P),a(Re))}}static{this.\u0275cmp=u({type:n,selectors:[["app-alcon-login-banner"]],decls:10,vars:6,consts:[[1,"bg-image"],["fetchpriority","high","loading","eager","crossorigin","anonymous","alt","","aria-hidden","true",1,"bg-image__bg"],[1,"banner-content"],[1,"overlay-text"],[1,"button-block"],[1,"overlay-text-subtitle"]],template:function(e,i){if(e&1&&(c(0,"div",0),h(1,"img",1),c(2,"div",2)(3,"div",3),l(4),s(),g(5,Kt,1,1),p(6,"async"),c(7,"div",4),h(8,"app-alcon-login"),g(9,Ft,1,0,"app-alcon-login-sales-rep"),s()()()),e&2){let r;o(),Ke("src",i.dynamicUrl||null,A),o(3),v(" ",i.title," "),o(),f((r=d(6,4,i.baseSiteService.getActive()))?5:-1,r),o(4),f(i.salesRepLoginEnabled?9:-1)}},dependencies:[U,xe,w],styles:[`.bg-image[_ngcontent-%COMP%]{position:relative;display:flex;flex-flow:wrap;background:#fff;align-items:baseline;min-height:39rem;overflow:hidden;margin-top:-3.75rem;padding-top:3.75rem}@media(max-width:991.98px){.bg-image[_ngcontent-%COMP%]{min-height:30rem}}@media(max-width:767.98px){.bg-image[_ngcontent-%COMP%]{min-height:28.5rem}}.bg-image__bg[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0}@media(max-width:991.98px){.bg-image__bg[_ngcontent-%COMP%]{object-position:84% center}}@media(max-width:767.98px){.bg-image__bg[_ngcontent-%COMP%]{object-position:76% center}}.overlay-text[_ngcontent-%COMP%]{position:relative;top:6.375rem;left:10.4375rem;text-align:left;width:40rem;line-height:58.2px;color:#003595;font-family:Open Sans,Open Sans Fallback;font-size:3.5rem;font-style:normal;font-weight:400}@media(max-width:991.98px){.overlay-text[_ngcontent-%COMP%]{color:#003595;font-family:Open Sans,Open Sans Fallback;font-size:2.5rem;font-style:normal;font-weight:400;line-height:42px;top:7.625rem;left:4.625rem;margin-bottom:.5rem;max-width:44.4375rem}}@media(max-width:767.98px){.overlay-text[_ngcontent-%COMP%]{color:#003595;font-family:Open Sans,Open Sans Fallback;font-size:2rem;font-style:normal;font-weight:600;line-height:33.6px;top:1.875rem;left:2.625rem;width:19rem;margin-bottom:1rem}}.overlay-text-subtitle[_ngcontent-%COMP%]{position:relative;top:7.5rem;left:10.4375rem;text-align:left;width:36.25rem;line-height:30.8px;color:#393939;font-family:Open Sans,Open Sans Fallback;font-size:1.75rem;font-style:normal;font-weight:400}@media(max-width:991.98px){.overlay-text-subtitle[_ngcontent-%COMP%]{color:#393939;font-family:Open Sans,Open Sans Fallback;font-size:1.75rem;font-style:normal;font-weight:400;line-height:42px;top:8.125rem;left:4.625rem}}@media(max-width:767.98px){.overlay-text-subtitle[_ngcontent-%COMP%]{color:#393939;font-family:Open Sans,Open Sans Fallback;font-size:1.5rem;font-style:normal;font-weight:400;line-height:30px;top:1.875rem;left:2.625rem;width:17.1875rem}}.banner-content[_ngcontent-%COMP%]{position:relative;z-index:1;display:block;gap:1rem}.button-block[_ngcontent-%COMP%]{display:block;min-width:19.125rem;max-width:31.25rem;width:100%;position:relative;text-align:left;margin-top:20%;margin-left:.875rem;margin-bottom:2rem}@media(min-width:768px){.button-block[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;margin-top:25%;margin-left:4.625rem;margin-bottom:2.625rem;max-width:max-content;width:max-content;min-width:0}}@media(min-width:992px){.button-block[_ngcontent-%COMP%]{flex-direction:row;gap:.75rem;margin-top:23%;margin-left:10.4375rem;max-width:max-content;width:max-content}}
34
35
36
37
38
39
40
41`]})}};function jt(n,t){if(n&1&&(c(0,"div",1)(1,"div",2),h(2,"div",3)(3,"div",4),s(),c(4,"div",5),h(5,"cx-media",6),s()()),n&2){let e=S();o(2),m("innerHTML",e.headline,F),o(),m("innerHTML",e.content,F),o(2),m("container",e.media)}}function Ht(n,t){if(n&1&&(c(0,"div",7)(1,"div",5),h(2,"cx-media",6),s(),c(3,"div",2),h(4,"div",3)(5,"div",4),s()(),c(6,"div",8)(7,"div",2),h(8,"div",3)(9,"div",4),s(),c(10,"div",5),h(11,"cx-media",6),s()()),n&2){let e=S();o(2),m("container",e.media),o(2),m("innerHTML",e.headline,F),o(),m("innerHTML",e.content,F),o(3),m("innerHTML",e.headline,F),o(),m("innerHTML",e.content,F),o(2),m("container",e.media)}}function Ut(n,t){if(n&1&&(c(0,"div",0),g(1,jt,6,3,"div",1),g(2,Ht,12,6),s()),n&2){let e=t;o(),f(e.imagePosition==="right"?1:-1),o(),f(e.imagePosition==="left"?2:-1)}}var ne=class n{constructor(t){this.componentData=t;this.component$=this.componentData.data$.pipe(ie(t=>{let e=b({},t.media);return T(b({},t),{media:e})}))}static{this.\u0275fac=function(e){return new(e||n)(a(D))}}static{this.\u0275cmp=u({type:n,selectors:[["app-alcon-seamless-section"]],decls:2,vars:3,consts:[[1,"alconLandingPage"],[1,"alconLandingPage__container"],[1,"contentSection"],[1,"heading",3,"innerHTML"],[1,"description",3,"innerHTML"],[1,"imageSection"],[3,"container"],[1,"alconLandingPage__container","d-none","d-md-flex"],[1,"alconLandingPage__container","d-flex","d-md-none"]],template:function(e,i){if(e&1&&(g(0,Ut,3,2,"div",0),p(1,"async")),e&2){let r;f((r=d(1,1,i.component$))?0:-1,r)}},dependencies:[fe,w],styles:[`.alconLandingPage[_ngcontent-%COMP%]{padding:0 5rem}@media(max-width:991.98px){.alconLandingPage[_ngcontent-%COMP%]{padding:2.5rem}}@media(max-width:767.98px){.alconLandingPage[_ngcontent-%COMP%]{padding:0}}.alconLandingPage__container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:32px}@media(max-width:767.98px){.alconLandingPage__container[_ngcontent-%COMP%]{flex-direction:column;gap:1.25rem}}@media(max-width:767.98px){.alconLandingPage__container[_ngcontent-%COMP%]   .contentSection[_ngcontent-%COMP%]{width:unset;padding:2.5rem 1rem 0}}.alconLandingPage__container[_ngcontent-%COMP%]   .contentSection[_ngcontent-%COMP%]{width:50%;display:flex;flex-direction:column;gap:32px}.alconLandingPage__container[_ngcontent-%COMP%]   .contentSection[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]{line-height:110%;color:#003595;font-family:Open Sans,Open Sans Fallback;font-size:1.75rem;font-style:normal;font-weight:400}.alconLandingPage__container[_ngcontent-%COMP%]   .contentSection[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{line-height:140%;color:#4f4e4f;font-family:Open Sans,Open Sans Fallback;font-size:.875rem;font-style:normal;font-weight:400}@media(max-width:991.98px){.alconLandingPage__container[_ngcontent-%COMP%]   .contentSection[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-size:16px}}.alconLandingPage__container[_ngcontent-%COMP%]   .imageSection[_ngcontent-%COMP%]{width:50%}@media(max-width:767.98px){.alconLandingPage__container[_ngcontent-%COMP%]   .imageSection[_ngcontent-%COMP%]{width:unset}}
42
43
44
45
46
47
48
49`],changeDetection:0})}};function zt(n,t){if(n&1&&(j(0,"div",0)(1,"span",1),l(2),H(),j(3,"a",2),l(4),H()()),n&2){let e=t;o(2),v("",e.name,"?"),o(),ae("href",e.url,A),o(),y(e.linkName)}}var Ae=class n{constructor(t){this.componentData=t;this.cmsData$=this.componentData.data$}static{this.\u0275fac=function(e){return new(e||n)(a(D))}}static{this.\u0275cmp=u({type:n,selectors:[["app-alcon-signup-request"]],decls:2,vars:3,consts:[[1,"signup-request"],[1,"signup-request-text"],["target","_blank",1,"signup-request-link",3,"href"]],template:function(e,i){if(e&1&&(g(0,zt,5,3,"div",0),p(1,"async")),e&2){let r;f((r=d(1,1,i.cmsData$))?0:-1,r)}},dependencies:[w],styles:[`a[_ngcontent-%COMP%]{min-height:auto;min-width:auto}.signup-request[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:center;gap:.5rem;margin-top:1rem}@media(min-width:768px){.signup-request[_ngcontent-%COMP%]{justify-content:flex-start}}.signup-request-text[_ngcontent-%COMP%]{color:#4f4f4f;font-family:Open Sans,Open Sans Fallback;font-size:1rem;font-style:normal;font-weight:400}.signup-request-link[_ngcontent-%COMP%]{color:#003595;font-family:Open Sans,Open Sans Fallback;font-size:1.125rem;font-style:normal;font-weight:600;text-underline-offset:.25rem}@media(min-width:992px){.signup-request-text[_ngcontent-%COMP%]{font-size:.875rem}.signup-request-link[_ngcontent-%COMP%]{font-size:1rem}}
50
51
52
53
54
55
56
57`],changeDetection:0})}};function Gt(n,t){if(n&1){let e=q();j(0,"button",1),re("click",function(){G(e);let r=S();return W(r.navigateSignup())}),l(1),p(2,"cxTranslate"),H()}
57n&2&&(o(),v(" ",d(2,1,"login.requestAccess")," "))}var Ie=class n{constructor(t,e,i,r,C,O){this.oktaAuth=t;this.alconSignUpService=e;this.oktaConfigService=i;this.alconIonicAuthService=r;this.platform=C;this.authFacade=O;this.isRegistrationEnabled=!1;this.isNative=!1}ngOnInit(){if(this.authFacade.isAuth0Market()){this.isRegistrationEnabled=!1;return}this.isRegistrationEnabled=this.alconSignUpService.getRegistrationStatus()}navigateSignup(){this.isNative=this.platform.is("hybrid");let t={responseType:["token"],scopes:["openid","profile","email"],extraParams:{reg_page:"true",show_reg:"true",locale:this.oktaConfigService.getLocale()}};this.isNative?(this.alconIonicAuthService.setSignUpParams(t),this.alconIonicAuthService.register()):this.oktaAuth.token.getWithRedirect(t)}static{this.\u0275fac=function(e){return new(e||n)(a(R),a(ye),a(I),a(Y),a($),a(J))}}static{this.\u0275cmp=u({type:n,selectors:[["app-alcon-signup-text"]],decls:1,vars:1,consts:[[1,"loginButton"],[1,"loginButton",3,"click"]],template:function(e,i){e&1&&g(0,Gt,3,3,"button",0),e&2&&f(i.isRegistrationEnabled?0:-1)},dependencies:[B],styles:[`.signUpContainer[_ngcontent-%COMP%]{max-width:max-content;padding:0 .625rem 0 0}.signUpContainer[_ngcontent-%COMP%]   .no-account-text[_ngcontent-%COMP%]{color:#232223;font-family:Open Sans,Open Sans Fallback;font-size:.75rem;font-style:normal;font-weight:400;line-height:140%;margin:9% 0 0}.loginButton[_ngcontent-%COMP%]{background:#003595;border-radius:6.25rem;border:0;color:var(--cx-color-inverse);color:#fff;font-family:Open Sans,Open Sans Fallback;font-size:1rem;font-style:normal;font-weight:600;line-height:1.4rem;letter-spacing:.15px;padding:.5rem;width:100%;max-width:31.25rem;display:flex;justify-content:center}@media(max-width:767.98px){.loginButton[_ngcontent-%COMP%]{display:inline}}
58
59
60
61
62
63
64
65`],changeDetection:0})}};var we=class n{constructor(t,e,i){this.baseSiteService=t;this.cd=e;this.languageService=i;this.destroy$=new ke;this.oktaService=De(I)}ngOnInit(){this.getBaseSiteDateData()}getBaseSiteDateData(){this.baseSiteService.getActive().pipe(Ee(this.destroy$),L(t=>this.baseSiteService.get(t).pipe(L(e=>oe([this.languageService.getActive(),this.languageService.getAll()]).pipe(L(([i,r])=>{this.countryName=this.getCountryName(e);let C=r.find(O=>O.isocode===i);return C&&(this.languageSelected=C.name),this.cd.detectChanges(),[]})))))).subscribe()}getCountryName(t){let e=this.oktaService.getLocale();if(t?.nonTraditionalSiteConfig){let r=t.nonTraditionalSiteConfig.find(C=>C.languageIsoCode===e);if(r)return r.countryName??""}return t.name??""}navigateToDirectory(){window.location.href="/directory"}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static{this.\u0275fac=function(e){return new(e||n)(a(P),a(se),a(Ze))}}static{this.\u0275cmp=u({type:n,selectors:[["app-alcon-directory-link"]],decls:5,vars:2,consts:[[1,"directory-link"],[1,"directory-link--icon"],["type","globe"],[1,"directory-link--text",3,"click"]],template:function(e,i){e&1&&(c(0,"div",0)(1,"span",1),h(2,"cx-icon",2),s(),c(3,"span",3),Q("click",function(){return i.navigateToDirectory()}),l(4),s()()),e&2&&(o(4),qe("",i.countryName," (",i.languageSelected,")"))},dependencies:[ge,de,Qe,tt],styles:[`.directory-link[_ngcontent-%COMP%]{display:flex;gap:.25rem;margin-right:1.75rem;align-items:center}.directory-link--text[_ngcontent-%COMP%]{text-decoration:underline;text-underline-offset:.1875rem;color:#fff;font-family:Open Sans,Open Sans Fallback;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.225rem;cursor:pointer}
66
67
68
69
70
71
72
73`]})}};var St=class n{static{this.\u0275fac=function(e){return new(e||n)}}static{this.\u0275mod=Ne({type:n})}static{this.\u0275inj=Be({imports:[Ye,nt,ge,pt,ct,rt,it,mt,Xe.withConfig({cmsComponents:{AlconLoginBannerComponent:{component:te,guards:[Oe]},WelcomeLoginParagraphBannerComponent:{component:U},RequestAccessFlexComponent:{component:Ie},NeedHelpLandingFlexComponent:{component:ee},AlconBannerComponent:{component:ne},AlconCarouselListComponent:{component:X},DirectoryPageLinkFlexComponent:{component:we},AlconCMSLinkComponent:{component:Ae}}}),U,ee,te,ne,X]})}};export{St as AlconLoginModule};

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.