PageSourceSearch

https://www.amtrak.com/etc/designs/tickets/angular/src_app_compone…vel-screening_module_ts.c688fa1b8ffa25b8.js

js amtrak.com collected 2026-10-01 08:38:28 UTC 36,409 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktickets_front_end=self.webpackChunktickets_front_end||[]).push([["src_app_components_common_pre-travel-screening_pre-travel-screening_module_ts"],{5146(Le,D,m){m.d(D,{PreTravelScreeningModule:()=>Ce});var M=m(49769),R=m(26630),k=m(71590),d=m(25869),x=m(45312),g=m(89417),O=m(67376),C=m.n(O),_=m(97586),o=m.n(_),I=m(21413),F=m(56977),j=m(79504),w=m(28490),P=m(75002),A=m(33539),V=m(85920),$=m(23562),Y=m(64952),G=m(38730),B=m(36723),e=m(35547),y=m(85802),U=m(9310),L=m(25136),X=m(33725),N=m(31902),J=m(67607),S=m(1640),z=m(25581),H=m(82496),W=m(59551),Q=m(44981),Z=m(25348),K=m(3366),q=m(50779),ee=m(80952),E=m(18545);const te=["basicModal"];function ne(a,v){if(1&a&&(e.j41(0,"span",4),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.JRh(t.passangerCount)}}function ie(a,v){if(1&a&&e.nrm(0,"img",5),2&a){const t=e.XpG();e.Y8G("src",e.VkB("",t.env.damAssetPath,"/icons/traveler-adult-blue_nopadding.svg"),e.B4B)}}function re(a,v){if(1&a&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&a){const t=e.XpG().$implicit;e.R7$(),e.JRh(null==t||null==t.name?null:t.name.lastName)}}function ae(a,v){if(1&a&&(e.j41(0,"div")(1,"div"),e.EFF(2),e.nVh(3,re,2,1,"span"),e.k0s()()),2&a){const t=v.$implicit,n=v.$index,i=e.XpG(3);e.R7$(),e.BMQ("amt-auto-test-id","pre-screening-"+n),e.R7$(),e.SpI(" ",null==t||null==t.name?null:t.name.firstName," "),e.R7$(),e.vxM(i.isGroupRide?-1:3)}}function se(a,v){if(1&a&&(e.j41(0,"div",41),e.Z7z(1,ae,4,3,"div",null,e.fX1),e.k0s()),2&a){const t=v.$index,n=e.XpG().$index,i=e.XpG();e.R7$(),e.Dyx(i.getPassengersList(t,n))}}function oe(a,v){if(1&a&&(e.j41(0,"div",7)(1,"div",31)(2,"div",32)(3,"div",33)(4,"div",34)(5,"div",35),e.EFF(6),e.k0s(),e.j41(7,"div",36)(8,"span",37),e.EFF(9),e.k0s()()()(),e.j41(10,"div",33)(11,"div",34)(12,"div",35),e.EFF(13),e.k0s(),e.j41(14,"div",36)(15,"span",38),e.EFF(16),e.nI1(17,"date"),e.k0s()()()()()(),e.j41(18,"div",39)(19,"div",32)(20,"div",34)(21,"div",35),e.EFF(22),e.k0s(),e.j41(23,"div",40),e.Z7z(24,se,3,0,"div",41,e.fX1),e.k0s()()()()()),2&a){const t=v.$implicit,n=e.XpG();e.R7$(6),e.JRh(null==n.aemLabels?null:n.aemLabels.tripDetailLabel1),e.R7$(3),e.Lme(" ",null==t||null==t.travelService?null:t.travelService.trainNo," ",null==t||null==t.travelService?null:t.travelService.trainName," "),e.R7$(4),e.JRh(null==n.aemLabels?null:n.aemLabels.tripDetailLabel2),e.R7$(3),e.SpI(" ",e.i5U(17,6,null==t||null==t.fromStation?null:t.fromStation.scheduleTime,"EEE, MMMM d, yyyy")," "),e.R7$(6),e.SpI(" ",n.isGroupRide?null==n.aemLabels?null:n.aemLabels.tripDetailLabel4:null==n.aemLabels?null:n.aemLabels.tripDetailLabel3," "),e.R7$(2),e.Dyx(n.getColumnCount())}}function le(a,v){if(1&a&&(e.j41(0,"li",10),e.nrm(1,"span",13),e.nI1(2,"safe"),e.k0s()),2&a){const t=v.$implicit,n=e.XpG();e.R7$(),e.Y8G("innerHTML",e.i5U(2,1,t.term,n.constants.SafeTypes.HTML),e.npT)}}function ce(a,v){if(1&a&&(e.j41(0,"li",10),e.EFF(1),e.k0s()),2&a){const t=v.$implicit;e.R7$(),e.SpI(" ",t," ")}}let me=(()=>{class a{constructor(t,n,i,h,u,p,f){this.pf=t,this.sessionIDService=n,this.apiService=i,this.headerConfig=h,this.errorHandlerService=u,this.elementRef=p,this.ecomStorage=f,this.ackEvent=new y.bkB,this.constants=d.D5,this.passangerCount=0,this.env=x.c,this.isAck=!1,this.unsubscribe=new I.B,this.isFetching=!1,this.checked=!1}ngOnInit(){this.isGroupRide=this.tripInfo[0].isGroupRide,this.passangerCount=this.tripInfo[0].passengers.length}ngAfterViewInit(){for(let t=0;t<this.aemLabels.ackTnC.length;t++){const n=this.elementRef.nativeElement.querySelector("#tnc-"+t);if(n){const i=this.aemLabels.ackTnC.findIndex(h=>h.term.includes(n.toString()));n.addEventListener("click",this.openModal.bind(this,this.aemLabels.ackTnC[i].modal),!1)}}}createAckAcceptForm(){const t=this.pf.group({ackAcceptCheck:""});return t.controls.ackAcceptCheck.setValidators(g.k0.required),t.controls.ackAcceptCheck.updateValueAndValidity(),t}onAckClick(){const t=this.tripInfo[0].passengers.find(f=>f.isPrimary);let n="";const i=t.emailAddress&&t.emailAddress.length>0?t.emailAddress[0]:"";if(t.phoneNumber&&t.phoneNumber.length>0){const f=t.phoneNumber.findIndex(T=>T.areaCityCode&&T.phoneNumber);n=-1!==f?t.phoneNumber[f].areaCityCode+t.phoneNumber[f].phoneNumber:n}const h={TrainNumber:parseInt(this.tripInfo[0].travelService.trainNo,10),PnrNumber:this.tripInfo[0].pnrNumber,PnrCreateDate:this.tripInfo[0].pnrCreateDate,TrainIndexDate:this.tripInfo[0].fromStation.scheduleTime,AttTimestamp:o()().tz("America/Ne
1w_York").format("YYYY-MM-DDTHH:mm:ss"),AttAgent:this.checked?"true":"false",Fname:t.name.firstName,Lname:t.name.lastName,Phone:n,Email:i,"X-trace-id":this.sessionIDService.get(),Source:this.aemData.source,CovidData:[]},u=this.aemData.covidAckUrl,p=this.headerConfig.headersList();this.apiService.post(u,h,p).subscribe(f=>{sessionStorage.removeItem("retrievalMethod"),f&&f.Status&&"200"===f.Status?this.ackEvent.emit(!0):(this.errorHandlerService.setErrorMessage(this.aemLabels.attError),new CustomEvent("error",{detail:{message:this.aemLabels.attError,messageType:d.D5.MessageType.ERROR}}))},f=>{new CustomEvent("error",{detail:{message:this.aemLabels.attError,messageType:d.D5.MessageType.ERROR}}),this.errorHandlerService.setErrorMessage(this.aemLabels.attError)})}openModal(t,n){this.modalData=t,this.showModalOnClick.show()}getColumnCount(){const t=Math.ceil(this.tripInfo[0].passengers.length/4);return Array(t).fill(0).map((n,i)=>i)}getPassengersList(t,n){const i=[];return this.tripInfo[n].passengers.forEach((h,u)=>{Math.floor(u/4)===t&&i.push(h)}),i}onChange(t){this.checked=t}ngOnDestroy(){for(let t=0;t<this.aemLabels.ackTnC.length;t++){const n=this.elementRef.nativeElement.querySelector("#tnc-"+t);if(n){const i=this.aemLabels.ackTnC.findIndex(h=>h.term.includes(n.toString()));n.removeEventListener("click",this.openModal.bind(this,this.aemLabels.ackTnC[i].modal),!1)}}}static{this.\u0275fac=function(n){return new(n||a)(e.rXU(g.ze),e.rXU(W.l),e.rXU(K.G),e.rXU(Z.H),e.rXU(Q.c),e.rXU(e.aKT),e.rXU(P.x))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["ack-pre-travel-screening"]],viewQuery:function(n,i){if(1&n&&e.GBs(te,7),2&n){let h;e.mGM(h=e.lsd())&&(i.showModalOnClick=h.first)}},inputs:{aemLabels:"aemLabels",tripInfo:"tripInfo",aemData:"aemData"},outputs:{ackEvent:"ackEvent"},standalone:!1,decls:49,vars:14,consts:[["basicModal","bs-modal"],[1,"border","rounded-bottom"],[1,"share-travel-plans","w-100","pb-1","pt-4","pl-4","pr-4"],[1,"share-travel-plans-tabs","h3-responsive","p-3"],[1,"float-right","traveler-num"],["alt","Traveler",1,"float-right","travelers-icon",3,"src"],[1,"container","mt-0","pb-2","pt-0","pl-4","pr-4"],[1,"row","mt-0","pb-2","pt-0","pl-4","pr-4"],[1,"share-travel-plans-tabs","h4-responsive","p-3"],[1,"pb-4"],[1,"ack-tnc"],[1,"info-text-container","d-flex","flex-wrap","justify-content-between","mt-4","p-4"],[1,"agr-subtitle","font-weight-normal","font-weight-normal","h4-responsive","m-0"],[3,"innerHTML"],[1,"mt-5","global-booking-path-buttons","mx-auto"],[1,"acknowledge"],["amBtn","","btnstyle","primary","amt-auto-test-id","pre-screening-acknowledge-button",3,"click"],[1,"mt-5"],[1,"checkbox-row","row","float-left","mt-1","ml-3"],[1,"amtrak-personnal-title","h4-responsive","pt-3","pb-3",2,"font-weight","400"],["id","amtrak-personnal-checkbox",1,"mr-2","w-100","font-regular","am-check--dark","tw-flex","tw-items-center"],["id","amtrak-personnal-checkbox","name","amtrak-personnal-checkbox","aria-label","amtrak personnal checkbox","aria-labelledby","amtrak personnal checkbox","amt-auto-test-id","amtrak-personnal-checkbox",3,"changed","checked"],["bsModal","","tabindex","-1","role","dialog","aria-labelledby","myBasicModalLabel","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal
1-dialog-centered"],[1,"modal-content"],[1,"modal-header"],["type","button","aria-label","Close",1,"close","pull-right",3,"click"],["aria-hidden","true"],["id","myModalTitle",1,"modal-title","w-100"],[1,"modal-body"],["id","myModalSubTitle",1,"modal-subtitle","w-100","mb-3"],[1,"col-12","col-lg-2"],[1,"row"],[1,"col-6","col-lg-12"],[1,"depart-time-container"],[1,"depart-label"],[1,"depart-value"],["amt-auto-test-id","pre-screening-train-info"],["amt-auto-test-id","pre-screening-date"],[1,"col-12","col-lg-10","passenger-list"],[1,"row","depart-value"],[1,"col-6","col-lg-2","pr-0"]],template:function(n,i){if(1&n){const h=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"h2",3),e.EFF(3),e.nVh(4,ne,2,1,"span",4),e.nVh(5,ie,1,2,"img",5),e.k0s(),e.nrm(6,"hr"),e.k0s(),e.j41(7,"div",6),e.Z7z(8,oe,26,9,"div",7,e.fX1),e.k0s(),e.j41(10,"div",2)(11,"h2",8),e.EFF(12),e.k0s(),e.nrm(13,"hr"),e.k0s(),e.j41(14,"ul",9),e.Z7z(15,le,3,4,"li",10,e.fX1),e.k0s()(),e.j41(17,"div",11)(18,"div")(19,"div",12),e.nrm(20,"span",13),e.nI1(21,"safe"),e.k0s()()(),e.j41(22,"div",14)(23,"div",15)(24,"button",16),e.bIt("click",function(){return i.onAckClick()}),e.EFF(25),e.k0s()()(),e.nrm(26,"hr",17),e.j41(27,"div",18)(28,"h4",19),e.EFF(29),e.k0s(),e.j41(30,"label",20)(31,"am-checkbox-new",21),e.bIt("changed",function(p){return i.onChange(p)}),e.k0s(),e.EFF(32),e.k0s()(),e.j41(33,"div",22,0)(35,"div",23)(36,"div",24)(37,"div",25)(38,"button",26),e.bIt("click",function(){y.eBV(h);const p=e.sdS(34);return y.Njj(p.hide())}),e.j41(39,"span",27),e.EFF(40,"\xd7"),e.k0s()(),e.j41(41,"h3",28),e.EFF(42),e.k0s()(),e.j41(43,"div",29)(44,"h5",30),e.EFF(45),e.k0s(),e.j41(46,"ul"),e.Z7z(47,ce,2,1,"li",10,e.fX1),e.k0s()()()()()}2&n&&(e.R7$(3),e.SpI(" ",null==i.aemLabels?null:i.aemLabels.tripDetailTitles," "),e.R7$(),e.vxM(i.isGroupRide?-1:4),e.R7$(),e.vxM(i.isGroupRide?-1:5),e.R7$(3),e.Dyx(i.tripInfo),e.R7$(4),e.SpI(" ",null==i.aemLabels?null:i.aemLabels.ackTitle," "),e.R7$(3),e.Dyx(null==i.aemLabels?null:i.aemLabels.ackTnC),e.R7$(5),e.Y8G("innerHTML",e.i5U(21,11,null==i.aemLabels?null:i.aemLabels.infoAckText,i.constants.SafeTypes.HTML),e.npT),e.R7$(5),e.SpI(" ",null==i.aemLabels?null:i.aemLabels.ackButtonText," "),e.R7$(4),e.SpI(" ",null==i.aemLabels?null:i.aemLabels.personalTitle," "),e.R7$(2),e.Y8G("checked",i.checked),e.R7$(),e.SpI(" ",null==i.aemLabels?null:i.aemLabels.checkboxLabel," "),e.R7$(10),e.JRh(null==i.modalData?null:i.modalData.modalTitle),e.R7$(3),e.SpI(" ",null==i.modalData?null:i.modalData.modalSubTitle," "),e.R7$(2),e.Dyx(null==i.modalData?null:i.modalData.symptoms))},dependencies:[q.hZ,L.a7,ee.Xl,M.vh,E.m],styles:['@lg-desktop-and-above{display: grid !important;}.share-travel-plans[_ngcontent-%COMP%]   .share-travel-plans-tabs[_ngcontent-%COMP%]{font-size:2rem;font-weight:400}@media(min-width:576px){.share-travel-plans[_ngcontent-%COMP%]   .share-travel-plans-tabs[_ngcontent-%COMP%]{height:40px!important}}.agr-subtitle[_ngcontent-%COMP%]{color:#002436!important;font-family:OpenSans,Helvetica,Arial,"sans-serif"!important;font-size:13px;line-height:17px;word-break:break-word}.info-text-container[_ngcontent-%COMP%]{background-color:#e1f5fd}.heading-1[_ngcontent-%COMP%]{font-weight:400}.desc[_ngcontent-%COMP%]{font-size:1.2rem;line-height:1.6rem}.find-trip-title[_ngcontent-%COMP%]{font-size:1.6rem;line-height:2.2rem}.find-trip-desc[_ngcontent-%COMP%]{font-size:1.2rem;line-height:1.6rem}@media(min-width:992px){.res-number-input[_ngcontent-%COMP%]{padding-left:0}}@media(max-width:768px){.res-number-input[_ngcontent-%COMP%], .category-select-dropdown[_ngcontent-%COMP%], .category-select-input[_ngcontent-%COMP%]{padding-left:0}.passenger-list[_ngcontent-%COMP%]{margin-bottom:.5rem;margin-left:1.2rem}}@media(min-width:768px){.find-trip-container[_ngcontent-%COMP%]{padding:0 1rem}.find-trip-footer-container[_ngcontent-%COMP%]{padding-left:2.7rem;padding-right:2.7rem}.find-trip-title[_ngcontent-%COMP%]{font-size:2rem;line-height:2.7rem}.find-trip-desc[_ngcontent-%COMP%]{font-size:1.4rem;line-height:1.8rem}}[_nghost-%COMP%]     mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{margin-top:1px}.ack-tnc[_ngcontent-%COMP%]{color:#000!important;font-family:OpenSans,Helvetica,Arial,"sans-serif"!important;font-size:13px;line-height:17px;word-break:break-word}.global-booking-path-buttons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.global-booking-path-buttons[_ngcontent-%COMP%]   .acknowledge[_ngcontent-%COMP%]{padding:5px 0 5px 10px}.global-booking-path-buttons[_ngcontent-%COMP%]   .acknowledge[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:14.5rem;padding:.9rem}@media(min-width:360px){.global-booking-path-buttons.wide[_ngcontent-%COMP%]   .acknowledge[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:16.5rem;padding:.9rem .5rem}}@media(max-width:768px){.find-trip-btn[_ngcontent-%COMP%]{float:right!important}}.depart-time-container[_ngcontent-%COMP%]{width:100%;float:left;margin-top:10px}.depart-time-container[_ngcontent-%COMP%]   .depart-label[_ngcontent-%COMP%]{height:22px;line-height:22px;font-size:1.8rem;font-weight:400}.depart-time-container[_ngcontent-%COMP%]   .depart-value[_ngcontent-%COMP%]{line-height:22px;font-size:1.4rem;font-weight:400}  a{text-decoration:none;color:#167fa6;background-color:transparent}  a:hover{text-decoration:underline}  .modal-dialog{max-width:320px;margin:auto}[_nghost-%COMP%]  .mat-checkbox-layout{white-space:normal!important}[_nghost-%COMP%]  .mat-checkbox-inner-container{margin-top:4px}
1.modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{min-height:5rem;background:#fff;border-bottom:none}.modal[_ngcontent-%COMP%]   .modal-content[_ngcontent-%COMP%]{background-color:#fff;border-radius:3px;box-shadow:0 4px 8px #0c00331a}.modal[_ngcontent-%COMP%]   .modal-content[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{font-size:2.5rem;color:#000}.travelers-icon[_ngcontent-%COMP%]{width:20px;height:20px}.traveler-num[_ngcontent-%COMP%]{font-size:15px}.amtrak-personnal-title[_ngcontent-%COMP%], .amtrak-personnal-checkbox-label[_ngcontent-%COMP%]{color:#737575}.checkbox-row[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]:focus{background-color:#737575}']})}}return a})();function pe(a,v){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.SpI(" ",t.onFound?null==t.aemLabels?null:t.aemLabels.pageAckSubTitle:null==t.aemLabels?null:t.aemLabels.pageSubTitle," ")}}function de(a,v){if(1&a&&(e.j41(0,"p",5),e.nrm(1,"img",8),e.EFF(2),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.Y8G("src",e.VkB("",t.env.damAssetPath,"/icons/radio_selected.svg"),e.B4B)("alt",null==t.aemLabels?null:t.aemLabels.confirmationText),e.R7$(),e.SpI(" ",null==t.aemLabels?null:t.aemLabels.ackSuccessMessage," ")}}function he(a,v){if(1&a&&(e.j41(0,"div",6)(1,"div",9),e.nrm(2,"div",10),e.nI1(3,"safe"),e.k0s()()),2&a){const t=e.XpG();e.R7$(2),e.Y8G("innerHTML",e.i5U(3,1,null==t.aemLabels?null:t.aemLabels.confirmationNypMessage,t.constants.SafeTypes.HTML),e.npT)}}function ue(a,v){if(1&a&&(e.j41(0,"div",6)(1,"div",9),e.nrm(2,"div",10),e.nI1(3,"safe"),e.k0s()()),2&a){const t=e.XpG();e.R7$(2),e.Y8G("innerHTML",e.i5U(3,1,null==t.aemLabels?null:t.aemLabels.confirmationMessage,t.constants.SafeTypes.HTML),e.npT)}}function fe(a,v){if(1&a&&(e.j41(0,"am-option",20),e.EFF(1),e.k0s()),2&a){const t=v.$implicit;e.Y8G("value",t.value),e.R7$(),e.JRh(t.label)}}function ge(a,v){if(1&a&&(e.j41(0,"div",21)(1,"am-form-field-new",14),e.nrm(2,"input",28),e.j41(3,"label",16),e.EFF(4),e.k0s(),e.j41(5,"am-error-new"),e.EFF(6),e.k0s()()()),2&a){const t=e.XpG(2);e.R7$(2),e.Y8G("appInputRestriction",e.mNQ(t.getCategoryValueRestriction())),e.BMQ("aria-label",t.selectedCategoryLabel)("maxlength",t.selectedFieldMaxLength),e.R7$(2),e.JRh(t.selectedCategoryLabel),e.R7$(2),e.SpI(" ",t.getCategoryValueErrorMessage()," ")}}function ve(a,v){1&a&&(e.j41(0,"div",25),e.nrm(1,"am-spinner"),e.k0s())}function Te(a,v){if(1&a){const t=e.RV6();e.j41(0,"form",7),e.nrm(1,"comp-message",11),e.j41(2,"div",12)(3,"div",13)(4,"am-form-field-new",14),e.nrm(5,"input",15),e.j41(6,"label",16),e.EFF(7),e.k0s(),e.j41(8,"am-error-new"),e.EFF(9),e.k0s()()(),e.j41(10,"div",17)(11,"am-select",18)(12,"label",19),e.EFF(13),e.k0s(),e.j41(14,"am-select-trigger"),e.nrm(15,"am-select-value"),e.k0s(),e.j41(16,"am-select-content"),e.Z7z(17,fe,2,2,"am-option",20,e.Vm6),e.k0s()()(),e.nVh(19,ge,7,6,"div",21),e.j41(20,"div",22)(21,"div",23)(22,"button",24),e.bIt("click",function(){y.eBV(t);const i=e.XpG();return y.Njj(i.onFindTrip())}),e.EFF(23),e.k0s(),e.nVh(24,ve,2,0,"div",25),e.k0s()(),e.j41(25,"div",26)(26,"div",27),e.nrm(27,"span",10),e.nI1(28,"safe"),e.k0s()()()()}if(2&a){const t=e.XpG();e.Y8G("formGroup",t.findTripForm),e.R7$(),e.Y8G("hideClose",!0)("message",t.message)("messageType",t.messageType),e.R7$(4),e.BMQ("aria-label",null==t.aemInputs?null:t.aemInputs.resNumber.label)("maxlength",null==t.aemInputs?null:t.aemInputs.resNumber.maxLength),e.R7$(2),e.JRh(null==t.aemInputs?null:t.aemInputs.resNumber.label),e.R7$(2),e.SpI(" ",null==t.aemLabels?null:t.aemLabels.errorReservationNumber," "),e.R7$(2),e.Y8G("required",!0),e.R7$(2),e.SpI(" ",null==t.aemLabels?null:t.aemLabels.selectOptionLabel," "),e.R7$(4),e.Dyx(t.categories),e.R7$(2),e.vxM(t.selectedCategory>0?19:-1),e.R7$(3),e.Y8G("disabled",t.findTripForm.invalid||t.isFetching),e.BMQ("aria-label",null==t.aemLabels?null:t.aemLabels.searchBtn)("aria-disabled",t.findTripForm.invalid),e.R7$(),e.SpI(" ",null==t.aemLabels?null:t.aemLabels.searchBtn," "),e.R7$(),e.vxM(t.isFetching?24:-1),e.R7$(3),e.Y8G("innerHTML",e.i5U(28,17,null==t.aemLabels?null:t.aemLabels.infoText,t.constants.SafeTypes.HTML),e.npT)}}function be(a,v){if(1&a){const t=e.RV6();e.j41(0,"div",29)(1,"ack-pre-travel-screening",30),e.bIt("ackEvent",function(i){y.eBV(t);const h=e.XpG(2);return y.Njj(h.onAckEvent(i))}),e.k0s()()}if(2&a){const t=e.XpG(2);e.R7$(),e.Y8G("aemLabels",t.aemLabels)("aemData",t.aemData)("tripInfo",t.tripInfo)}}function Se(a,v){1&a&&e.nrm(0,"div",29)}function ye(a,v){if(1&a&&e.nVh(0,be,2,3,"div",29)(1,Se,1,0,"div",29),2&a){const t=e.XpG();e.vxM(t.onAckSuccess?1:0)}}let ke=(()=>{class a{constructor(t,n,i,h,u,p,f,T){this.pf=t,this.store=n,this.ecomStorage=i,this.retrieveService=h,this.railPassService=u,this.dataService=p,this.analyticsService=f,this.encryptionService=T,this.constants=d.D5,this.env=x.c,this.isFetching=!1,this.selectedCategory=0,this.message="",this.messageType="",this.isNyp=!1,this.unsubscribe=new I.B}ngOnInit(){this.initContent(),this.categories=this.getCategories(),this.findTripForm=this.createFindTripForm(),this.findTripForm.valueChanges.pipe((0,F.Q)(this.unsubscribe)).subscribe(t=>{this.selectedCategory!==t.category&&this.updateCategory(t.category)}),this.store.select(B.uZ).pipe((0,F.Q)(this.unsubscribe)).subscribe(t=>
1{if(this.isFetching&&[d.jE.state.fetchedTrip,d.jE.state.fetchedTripError].includes(t.status.selectedState)){this.isFetching=!1;const n=JSON.parse(this.ecomStorage.getSessionStorage(d.D5.StorageName.IBSESSION));this.ecomStorage.deleteSessionStorage("multiridecheckinSelectedDate"),this.processTrip(t,n)}}),this.setValueFromQuery()}ngOnDestroy(){this.unsubscribe.next(!0),this.unsubscribe.unsubscribe()}initContent(){this.content&&(this.aemLabels=(0,k.Q0)(this.content),this.aemInputs=(0,k.B4)(this.content),this.aemData=(0,k.CU)(this.content))}setAnalytisDataLayer(){if(!this.selectedCategory||!this.findTripForm.value.resNumber||""===this.findTripForm.value.resNumber)return;let t=this.categories.find(n=>n.value===this.selectedCategory);t=t||{label:"",value:-1},this.analyticsService.digitalData&&this.analyticsService.digitalData.Multiride&&(this.analyticsService.digitalData.Booking.RetriveMethod=t,this.analyticsService.digitalData.Booking.RetrivePnr=this.findTripForm.value.resNumber)}getCategories(){return[{value:d.YV.Email,label:this.aemLabels.email||""},{value:d.YV.Name,label:this.aemLabels.lastName||""}]}createFindTripForm(){return this.pf.group({resNumber:["",{validators:[g.k0.required,g.k0.pattern(d.D5.Regx.ResNumber),g.k0.minLength(this.aemInputs.resNumber.minLength),g.k0.maxLength(this.aemInputs.resNumber.maxLength)]}],category:["",{validators:[g.k0.required]}],categoryValue:["",{validators:[g.k0.required,g.k0.minLength(1)]}]})}updateCategory(t){const n=this.findTripForm.get("categoryValue");switch(this.selectedCategory=t,n.patchValue(""),n.reset(),t){case d.YV.PhoneNumber:n.setValidators([g.k0.pattern(d.D5.Regx.PhoneNumber),g.k0.minLength(this.aemInputs.phoneNumber.minLength),g.k0.required]),this.selectedFieldMaxLength=this.aemInputs.phoneNumber.maxLength,this.selectedCategoryLabel=this.aemInputs.phoneNumber.label;break;case d.YV.Name:n.setValidators([g.k0.minLength(this.aemInputs.lastName.minLength),g.k0.pattern(d.D5.Regx.LastName),g.k0.required]),this.selectedFieldMaxLength=this.aemInputs.lastName.maxLength,this.selectedCategoryLabel=this.aemInputs.lastName.label;break;default:n.setValidators([g.k0.pattern(d.D5.Regx.EmailAddress),g.k0.minLength(this.aemInputs.email.minLength),g.k0.required]),this.selectedFieldMaxLength=this.aemInputs.email.maxLength,this.selectedCategoryLabel=this.aemInputs.email.label}}setValueFromQuery(){try{const t=window.location.search;if(t){const n=new URLSearchParams(t);if(n&&n.has("pnr"))this.findTripForm.get("resNumber").patchValue(n.get("pnr"));else if(n&&n.has("epnr")){const u=this.findTripForm.get("resNumber");let p=this.encryptionService.decryptDataBase64(n.get("epnr").toString());p=null===p?"":p,u.patchValue(p)}const i=this.findTripForm.get("category"),h=this.findTripForm.get("categoryValue");if(n&&n.has("elastName")){i.patchValue(3);let u=this.encryptionService.decryptDataBase64(n.get("elastName"));u=null===u?"":u,h.patchValue(u)}else n&&n.has("lastName")?(i.patchValue(3),h.patchValue(n.get("lastName"))):n&&n.has("phoneNumber")?(i.patchValue(2),h.patchValue(n.get("phoneNumber"))):(i.patchValue(1),h.patchValue(n.get("email")));if(n&&n.has("isConfirmation")){const u=JSON.parse(this.ecomStorage.getSessionStorage(d.D5.StorageName.IBSESSION)),p=u.itinerary.trip.passengers.find(f=>f.isPrimary);this.findTripForm.get("resNumber").patchValue(u.itinerary.trip.orderNumber),i.patchValue(3),this.findTripForm.get("categoryValue").patchValue(p.passengerInfo.name.lastName),this.onFindTrip()}}}catch{}}getCategoryValueRestriction(){return this.selectedCategory===d.YV.PhoneNumber?"integer":""}getCategoryValueErrorMessage(){const t=this.findTripForm.get("categoryValue");let n="";if(t.invalid&&this.selectedCategory>0)switch(this.selectedCategory){case d.YV.Name:n=this.getErrorByType(t,this.aemInputs.lastName);break;case d.YV.PhoneNumber:n=this.getErrorByType(t,this.aemInputs.phoneNumber);break;default:n=this.getErrorByType(t,this.aemInputs.email)}return n}getErrorByType(t,n){let i="";return t.hasError("required")?i=n.errorMsgRequired:t.hasError("minlength")?i=n.errorMsgMinLen:t.hasError("pattern")&&(i=n.errorMsg),i}onFindTrip(){if(!this.isFetching&&this.findTripForm.valid){this.isFetching=!0;const t=this.findTripForm.value,n={body:Y.k.from(t.resNumber,t.categoryValue),isGlobalError:!1,url:this.aemData&&this.aemData.retriveReservationUrl?this.aemData.retriveReservationUrl:d.D5.apiEndPtURL.RetrieveReservationURL};this.ecomStorage.clearAnalytics(),this.store.dispatch(new G.iH(n)),this.setAnalytisDataLayer(),this.message="",this.messageType=""}}processTrip(t,n){if(t.data&&t.success){this.tripDetails=t.data;const i=C().intersectionWith(this.aemLabels.covidPnrTypes,t.data.reservationInfo.reservationType,C().isEqual),h=this.isTrainNumberErrorExist();if(i.length>0||h)return void this.setError("restrictedError");0===i.length?this.checkLastTripTravelled(n):this.setError("customError")}else t.error&&1===t.error.length&&!1===t.success&&this.setError("customError")}isTrainNumberErrorExist(){let n,t=!1;
1if(this.tripDetails.journeys.journeyLegs&&this.tripDetails.journeys.journeyLegs.length>0){n=this.filterOutTravelLegsWithNoStations(this.tripDetails.journeys.journeyLegs),n=this.filterOutJourneyLegsWithNoTravelLegs(this.tripDetails.journeys.journeyLegs);for(let i=0;i<n&&(n[i].travelLegs.forEach(h=>{t=!h.travelService.trainNo||""===h.travelService.trainNo||"NA"===h.travelService.trainNo}),!t);i++);}return t}checkLastTripTravelled(t){let n;(0===Object.keys(t.itinerary.trip).length||!this.tripDetails.journeys.journeyLegs)&&(this.onFound=!1,this.setError("customError"));const i=this.retrieveService.getTripSummary(t.itinerary.trip),h=this.railPassService.isRailPass(t.itinerary.trip);i.isOneWay&&(n=d.D5.FindTrip.TripType.ONE_WAY),i.isRoundTrip&&(n=d.D5.FindTrip.TripType.ROUND_TRIP),i.isMultiRide&&(n=d.D5.FindTrip.TripType.MULTIRIDE),i.isMultiCity&&(n=d.D5.FindTrip.TripType.MULTI_CITY),h&&(n=d.D5.FindTrip.TripType.RAIL_PASS);const u=o()().tz("America/Los_Angeles").subtract(1,"h").format("YYYY-MM-DDTHH:mm:ss");switch(n){case d.D5.FindTrip.TripType.ONE_WAY:case d.D5.FindTrip.TripType.ROUND_TRIP:let p=[];for(let c=0;c<this.tripDetails.journeys.journeyLegs.length;c++){const r=C().filter(this.tripDetails.journeys.journeyLegs[c].travelLegs,function(s){if(s&&!s.fromStation)return;const l=o()(s.fromStation.scheduleTime).diff(o()(u),"minutes"),b=o()(u).isBetween(s.fromStation.scheduleTime,s.toStation.scheduleTime);return 0<l&&l<1680||b?s:void 0});p=[...p,...r]}p.length>0?(this.tripInfo=this.prepareData(n,this.tripDetails,i.isGroupRide),this.onFound=this.tripInfo.length>0,this.onFound&&this.checkNypStation(this.tripInfo),this.onError=0===this.tripInfo.length&&this.setError("outOfTimeBoundError")):(this.onFound=!1,this.setError("outOfTimeBoundError"));break;case d.D5.FindTrip.TripType.MULTIRIDE:case d.D5.FindTrip.TripType.RAIL_PASS:case d.D5.FindTrip.TripType.MULTI_CITY:let f=!1;const T=n===d.D5.FindTrip.TripType.MULTIRIDE||n===d.D5.FindTrip.TripType.RAIL_PASS?this.tripDetails.checkinSegs:this.tripDetails.journeys;T&&T.journeyLegs.forEach(c=>{c.travelLegs.forEach(r=>{if(!r.fromStation)return;const s=o()(r.fromStation.scheduleTime).diff(o()(u),"minutes"),l=o()(u).isBetween(r.fromStation.scheduleTime,r.toStation.scheduleTime);(0<s&&s<1680||l)&&(f=!0)})}),f?(this.tripInfo=this.prepareData(n,this.tripDetails,i.isGroupRide),this.onFound=this.tripInfo.length>0,this.onFound&&this.checkNypStation(this.tripInfo),this.onError=0===this.tripInfo.length&&this.setError("outOfTimeBoundError")):(this.onFound=!1,this.setError("outOfTimeBoundError"))}}prepareData(t,n,i){const h=[];let f,u=[],p=[];const T=o()().tz("America/Los_Angeles").subtract(1,"h").format("YYYY-MM-DDTHH:mm:ss");if(t===d.D5.FindTrip.TripType.ONE_WAY||t===d.D5.FindTrip.TripType.ROUND_TRIP){let c=n.journeys.journeyLegs;c=this.filterOutTravelLegsWithNoStations(c),c=this.filterOutJourneyLegsWithNoTravelLegs(c),c.sort((r,s)=>{if(r.fromStation&&s.fromStation)return o()(r.fromStation.scheduleTime).unix()-o()(s.fromStation.scheduleTime).unix()});for(let r=0;r<c.length;r++){c[r].travelLegs.sort((l,b)=>{if(l.fromStation&&b.fromStation)return o()(l.fromStation.scheduleTime).unix()-o()(b.fromStation.scheduleTime).unix()});let s=c[r].travelLegs.findIndex(l=>l.fromStation&&o()(l.fromStation.scheduleTime).diff(o()(T),"minutes")>0&&o()(l.fromStation.scheduleTime).diff(o()(T),"minutes")<1680||o()(T).isBetween(l.fromStation.scheduleTime,l.toStation.scheduleTime));p=-1!==s?c[r].travelLegs.splice(s):[],f&&0===p.length&&(s=c[r].travelLegs.findIndex(l=>l.fromStation&&o()(o()(l.fromStation.scheduleTime).format("YYYY-MM-DD")).isSame(f)&&o()(o()(l.fromStation.scheduleTime).format("hh:mm:ss")).isAfter(o()(T).format("hh:mm:ss"))),p=-1!==s?c[r].travelLegs.splice(s):[]),f=p.length>0?JSON.parse(JSON.stringify(o()(p[0].fromStation.scheduleTime).format("YYYY-MM-DD"))):null,u=u.concat(p)}u.forEach(r=>{r.passengers=[],n.passengers.forEach(s=>{s&&s.tickets&&s.tickets.length>0?-1!==s.tickets.findIndex(b=>{if(b.fromStation&&b.toStation&&r.fromStation&&r.toStation)return JSON.stringify(b.fromStation.stationCode)===JSON.stringify(r.fromStation.stationCode)&&JSON.stringify(b.toStation.stationCode)===JSON.stringify(r.toStation.stationCode)})&&s.passengerInfo&&(s.passengerInfo.isPrimary=!!s.isPrimary,r.passengers.push(s.passengerInfo)):s&&s.passengerInfo&&(s.passengerInfo.isPrimary=!!s.isPrimary,r.passengers.push(s.passengerInfo))}),r.tripType=t,r.isGroupRide=i,r.pnrNumber=n.reservationInfo.pnrNumber,r.pnrCreateDate=n.reservationInfo.pnrCreationDtTime,h.push(r)})}else if(t===d.D5.FindTrip.TripType.MULTIRIDE||t===d.D5.FindTrip.TripType.RAIL_PASS){const c=n.checkinSegs.journeyLegs;c.sort((r,s)=>{if(r.fromStation&&s.fromStation)return o()(r.fromStation.scheduleTime).unix()-o()(s.fromStation.scheduleTime).unix()});for(let r=0;r<c.length&&0!==c[r].travelLegs.length;r++){c[r].travelLegs.sort((l,b)=>{if(l.fromStation&&b.fromStation)return o()(l.fromStation.scheduleTime).unix()-o()(b.fromStation.scheduleTime).unix()});let s=c[r].travelLegs.findIndex(l=>l.fromStation&&o()(l.fromStation.scheduleTime).diff(o()(T),"minutes")>0&&o()(l.fromStation.scheduleTime).diff(o()(T),"minutes")<1680||o()(T).isBetween(l.fromStation.scheduleTime,l.toStation.scheduleTime));p=-1!==s?c[r].travelLegs.splice(s):[],f&&0===p.length&&(s=c[r].travelLegs.findIndex(l=>l.fromStation&&o()(o()(l.fromStation.scheduleTime).format("YYYY-MM-DD")).isSame(f)&&o()(o()(l.fromStation.scheduleTime).format("hh:mm:ss")).isAfter(o()(T).format("hh:mm:ss"))),p=-1!==s?c[r].travelLegs.splice(s):[]),f=p.length>0?JSON.parse(JSON.stringify(o()(p[0].fromStation.scheduleTime).format("YYYY-MM-DD"))):null,u=u.concat(p)}u.forEach(r=>
1{r.passengers=[],n.passengers.forEach(s=>{s.passengerInfo.isPrimary=s.isPrimary,r.passengers.push(s.passengerInfo)}),r.tripType=t,r.isGroupRide=i,r.pnrNumber=n.reservationInfo.pnrNumber,r.pnrCreateDate=n.reservationInfo.pnrCreationDtTime,h.push(r)})}else if(t===d.D5.FindTrip.TripType.MULTI_CITY){let c=n.journeys.journeyLegs;c.sort((r,s)=>{if(r.fromStation&&s.fromStation)return o()(r.fromStation.scheduleTime).unix()-o()(s.fromStation.scheduleTime).unix()}),c=this.filterOutTravelLegsWithNoStations(c),c=this.filterOutJourneyLegsWithNoTravelLegs(c);for(let r=0;r<c.length;r++){c[r].travelLegs=c[r].travelLegs.filter(l=>l.fromStation&&l.toStation),c[r].travelLegs=c[r].travelLegs.filter(l=>l.fromStation&&l.toStation),c[r].travelLegs=JSON.parse(JSON.stringify(c[r].travelLegs.sort((l,b)=>{if(l.fromStation&&b.fromStation)return o()(l.fromStation.scheduleTime).unix()-o()(b.fromStation.scheduleTime).unix()})));let s=c[r].travelLegs.findIndex(l=>l.fromStation&&o()(l.fromStation.scheduleTime).diff(o()(T),"minutes")>0&&o()(l.fromStation.scheduleTime).diff(o()(T),"minutes")<1680||o()(T).isBetween(l.fromStation.scheduleTime,l.toStation.scheduleTime));p=-1!==s?[c[r].travelLegs[s]]:[],f&&0===p.length&&(s=c[r].travelLegs.findIndex(l=>l.fromStation&&o()(o()(l.fromStation.scheduleTime).format("YYYY-MM-DD")).isSame(f)),p=-1!==s?c[r].travelLegs.splice(s):[]),f=p.length>0?JSON.parse(JSON.stringify(o()(p[0].fromStation.scheduleTime).format("YYYY-MM-DD"))):null,u=u.concat(p)}u.forEach(r=>{r.passengers=[],n.passengers.forEach(s=>{s&&s.tickets&&s.tickets.length>0?-1!==s.tickets.findIndex(b=>{if(b.fromStation&&b.toStation&&r.fromStation&&r.toStation)return JSON.stringify(b.fromStation.stationCode)===JSON.stringify(r.fromStation.stationCode)&&JSON.stringify(b.toStation.stationCode)===JSON.stringify(r.toStation.stationCode)})&&s.passengerInfo&&(s.passengerInfo.isPrimary=!!s.isPrimary,r.passengers.push(s.passengerInfo)):s&&s.passengerInfo&&(s.passengerInfo.isPrimary=!!s.isPrimary,r.passengers.push(s.passengerInfo))}),r.tripType=t,r.isGroupRide=i,r.pnrNumber=n.reservationInfo.pnrNumber,r.pnrCreateDate=n.reservationInfo.pnrCreationDtTime,h.push(r)})}return h}setError(t){switch(t){case"customError":this.message=this.aemLabels.customError;break;case"restrictedError":this.message=this.aemLabels.restrictedError;break;case"outOfTimeBoundError":this.message=this.aemLabels.outOfTimeBoundError;break;case"attError":this.message=this.aemLabels.attError}this.onError=!0,this.onFound=!1,this.messageType=t;const n=new CustomEvent("error",{detail:{message:this.aemLabels.customError,messageType:d.D5.MessageType.ERROR}});window.dispatchEvent(n)}onAckEvent(t){t&&(this.onAckSuccess=t,this.onError=!1,this.onFound=!0)}filterOutTravelLegsWithNoStations(t){return t&&t.travelLegs&&t.travelLegs.length>0?t.forEach(n=>n.travelLegs=t.travelLegs.filter(i=>i.fromStation&&i.toStation)):t}filterOutJourneyLegsWithNoTravelLegs(t){return t.filter(n=>n.travelLegs&&n.travelLegs.length>0)}checkNypStation(t){this.isNyp=!(!t[0].fromStation||!t[0].fromStation.stationCode||"NYP"!==t[0].fromStation.stationCode)}static{this.\u0275fac=function(n){return new(n||a)(e.rXU(g.ze),e.rXU(U.il),e.rXU(P.x),e.rXU($.U$),e.rXU(V.r),e.rXU(w.u),e.rXU(j.c),e.rXU(A.L))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["pre-travel-screening"]],inputs:{content:"content"},standalone:!1,decls:12,vars:6,consts:[[1,"page-wrapper"],[1,"share-travel-plans","w-100","p-4"],[1,"share-travel-plans-tabs","h4-responsive","p-3"],[1,"rich","p-4"],[1,"richText","text-wrapper"],[1,"ackSuccess","h4-responsive","p-3"],[1,"rich","page-wrapper","pt-0"],[3,"formGroup"],["role","presentation",1,"float-left","ackSuccess-icon","mr-2",3,"src","alt"],[1,"richText","text-wrapper","nested-light-bg"],[3,"innerHTML"],[3,"hideClose","message","messageType"],[1,"m-4","row"],[1,"col-12","col-lg-3","pt-1","res-number-input"],[1,"w-100"],["amInputNew","","id","res-number","amt-auto-test-id","screening-res-number-textfield","formControlName","resNumber","focusDirective","","required",""],["amLabelNew",""],[1,"col-12","col-lg-3","category-select-dropdown"],["formControlName","category","amt-auto-test-id","screening-category-dropdown",3,"required"],["amSelectPlaceholder",""],[3,"value"],[1,"col-12","col-lg-3","pt-1","category-select-input"],[1,"col-12","col-lg-3","pr-4"],[1,"find-trip-div"],["type","submit","amBtn","","btnstyle","secondary","amt-auto-test-id","screening-search-button",1,"find-trip-btn",3,"click","disabled"],[1,"search-div","spinner","d-flex","px-lg-4","px-0","mt-lg-1"],[1,"info-text-container","d-flex","flex-wrap","justify-content-between","mt-4","p-3","w-100"],[1,"info-text-inner","font-weight-normal","font-weight-normal","h4-responsive","m-0"],["amInputNew","","formControlName","categoryValue","amt-auto-test-id","screening-categoryValue-input","required","",3,"appInputRestriction"],[1,"m-4"],[3,"ackEvent","aemLabels","aemData","tripInfo"]],template:function(n,i){1&n&&(e.j41(0,"div",0)(1,"div",1)(2,"h1",2),e.EFF(3),e.k0s()(),e.j41(4,"div",3)(5,"div",4),e.nV
1h(6,pe,2,1,"p"),e.nVh(7,de,3,4,"p",5),e.k0s()(),e.nVh(8,he,4,4,"div",6),e.nVh(9,ue,4,4,"div",6),e.nVh(10,Te,29,20,"form",7)(11,ye,2,1),e.k0s()),2&n&&(e.R7$(3),e.SpI(" ",null==i.aemLabels?null:i.aemLabels.pageTitle," "),e.R7$(3),e.vxM(i.onAckSuccess?-1:6),e.R7$(),e.vxM(i.onAckSuccess?7:-1),e.R7$(),e.vxM(i.onAckSuccess&&i.isNyp?8:-1),e.R7$(),e.vxM(i.onAckSuccess&&!i.isNyp?9:-1),e.R7$(),e.vxM(i.onFound?11:10))},dependencies:[L.a7,L.tI,X.ke,N.Ir,N.WB,J.oF,S.ue,S.J2,S.jr,S.Ln,S.am,S.V0,S.rz,S.Y1,S.NO,z.m,g.qT,g.me,g.BC,g.cb,g.YS,g.j4,g.JD,H.k,me,E.m],styles:['@lg-desktop-and-above{display: grid !important;}.share-travel-plans[_ngcontent-%COMP%]   .share-travel-plans-tabs[_ngcontent-%COMP%]{background-color:#00537e!important;font-size:2rem;font-weight:200;color:#fff}@media(min-width:576px){.share-travel-plans[_ngcontent-%COMP%]   .w3-bar[_ngcontent-%COMP%]   .share-travel-plans-tabs[_ngcontent-%COMP%]{color:#fff;height:40px!important}}.info-text-container[_ngcontent-%COMP%]{background-color:#e1f5fd}.info-text-inner[_ngcontent-%COMP%]{font-family:OpenSans,Helvetica,Arial,"sans-serif"!important;font-size:13px;line-height:17px;word-break:break-word}@media(min-width:992px){.res-number-input[_ngcontent-%COMP%]{padding-left:0}.find-trip-desc[_ngcontent-%COMP%]{padding-top:.5rem;padding-bottom:.5rem}}@media(max-width:768px){.res-number-input[_ngcontent-%COMP%], .category-select-dropdown[_ngcontent-%COMP%], .category-select-input[_ngcontent-%COMP%]{padding-left:0}.find-trip-div[_ngcontent-%COMP%]{float:right!important}}@media(min-width:768px){.info-text-inner[_ngcontent-%COMP%]{padding-top:1.5rem;padding-bottom:1.5rem}}[_nghost-%COMP%]     mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{margin-top:1px}  a{text-decoration:none;color:#167fa6;background-color:transparent}  a:hover{text-decoration:underline}.ackSuccess[_ngcontent-%COMP%]{font-size:20px}.ackSuccess-icon[_ngcontent-%COMP%]{width:30px}']})}}return a})(),Ce=(()=>{class a{constructor(){this.customElementComponent=ke}ngDoBootstrap(){}static{this.\u0275fac=function(n){return new(n||a)}}static{this.\u0275mod=e.$C({type:a})}static{this.\u0275inj=y.G2t({imports:[M.MD,R.G]})}}return a})()}}]);

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.