PageSourceSearch

https://passportamerica.com/519.45974a753d5d0cf6.js

js passportamerica.com collected 2026-10-02 04:58:35 UTC 14,900 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpaweb_afe=self.webpackChunkpaweb_afe||[]).push([[519],{6519:(H,x,s)=>{s.r(x),s.d(x,{UsersModule:()=>Q});var g=s(9808),c=s(3075),a=s(4490),v=s(2210),h=s(3200),u=s(2340),b=s(8929),e=s(5e3),d=s(4159),C=s(2802);function S(t,r){1&t&&(e.\u0275\u0275elementStart(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6),e.\u0275\u0275element(4,"router-outlet"),e.\u0275\u0275elementEnd()()()())}const p=function(){return{exact:!0}};function L(t,r){if(1&t){const n=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",7)(1,"div",4)(2,"div",5)(3,"div",8)(4,"div",9)(5,"ul")(6,"li",10)(7,"a",11),e.\u0275\u0275text(8,"User Profile"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"li",10)(10,"a",12),e.\u0275\u0275text(11,"Edit Profile"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"li",10)(13,"a",13),e.\u0275\u0275text(14,"My Park Favorites"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"li",10)(16,"a",14),e.\u0275\u0275text(17,"My Park Notes"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(18,"li",10)(19,"a",15),e.\u0275\u0275text(20,"My Visited Parks"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(21,"li",16)(22,"a",17),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(n),e.\u0275\u0275nextContext().logoff()}),e.\u0275\u0275text(23,"Logoff"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(24,"div",18)(25,"div",5)(26,"div",19)(27,"span",20)(28,"strong"),e.\u0275\u0275text(29),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(30,"p",21),e.\u0275\u0275text(31,"\xa0"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(32,"div",5)(33,"div",6),e.\u0275\u0275element(34,"router-outlet"),e.\u0275\u0275elementEnd()()()()()()}if(2&t){const n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275property("routerLinkActiveOptions",e.\u0275\u0275pureFunction0(6,p)),e.\u0275\u0275advance(3),e.\u0275\u0275property("routerLinkActiveOptions",e.\u0275\u0275pureFunction0(7,p)),e.\u0275\u0275advance(3),e.\u0275\u0275property("routerLinkActiveOptions",e.\u0275\u0275pureFunction0(8,p)),e.\u0275\u0275advance(3),e.\u0275\u0275property("routerLinkActiveOptions",e.\u0275\u0275pureFunction0(9,p)),e.\u0275\u0275advance(3),e.\u0275\u0275property("routerLinkActiveOptions",e.\u0275\u0275pureFunction0(10,p)),e.\u0275\u0275advance(11),e.\u0275\u0275textInterpolate(n.user.first_name+" "+n.user.last_name)}}const E=function(){return{label:"Home",url:"/"}},P=function(){return{label:"My Account",url:""}},F=function(t,r){return[t,r]};let D=(()=>{class t{constructor(n,o){this.userService=n,this.router=o,this.mbr_flds=v.m,this.std_flds=h.k,this.isLoggedIn=!1,this.links=[{label:"Dashboard",url:"./dashboard",disabled:!1},{label:"Edit Profile",url:"./profile",disabled:!1}],this.onDestroy$=new b.xQ}logoff(){}ngOnInit(){this.isLoggedIn=!1}ngOnDestroy(){u.N.log_msgs&&console.info("layout-component-user->ngOnDestroy, about to perform onDestroy$"),this.onDestroy$.next(!0),this.onDestroy$.complete()}}return t.\u0275fac=function(n){return new(n||t)(e.\u0275\u0275directiveInject(d.KD),e.\u0275\u0275directiveInject(a.F0))},t.\u0275cmp=e.\u0275\u0275defineComponent({type:t,selectors:[["app-layout"]],decls:3,vars:8,consts:[[3,"breadcrumbs"],["class","block",4,"ngIf"],["class","block","id","st-top",4,"ngIf"],[1,"block"],[1,"container"],[1,"row"],[1,"col-12"],["id","st-top",1,"block"],[1,"col-12","col-md-3","d-flex"],[1,"account-nav","flex-grow-1"],["routerLinkActive","account-nav__item--active",1,"account-nav__item",3,"routerLinkActiveOptions"],["routerLink","/users/dashboard"],["routerLink","/users/profile"],["routerLink","/users/favorite"],["routerLink","/users/note"],["routerLink","/users/visit"],[1,"account-nav__item",2,"color","#00a9da","cursor","pointer"],[3,"click"],[1,"col-12","col-md-9","pl-0"],[1,"col-12",2,"font-size","24px","font-weight","900"],[1,"float-md-left","ml-5","ml-md-0"],[2,"width","100%","border-bottom","2px dashed #cdcdcd"]],template:function(n,o){1&n&&(e.\u0275\u0275element(0,"app-page-header",0),e.\u0275\u0275template(1,S,5,0,"div",1),e.\u0275\u0275template(2,L,35,11,"div",2)),2&n&&(e.\u0275\u0275property("breadcrumbs",e.\u0275\u0275pureFunction2(5,F,e.\u0275\u0275pureFunction0(3,E),e.\u0275\u0275pureFunction0(4,P))),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!o.isLoggedIn),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",o.isLoggedIn))},directives:[C.q,g.NgIf,a.lC,a.Od,a.yS],styles:[""]}),t})();var y=s(655),_=s(7625),I=s(8692),f=s(2313);const M=["captchaElem"];function k(t,r){if(1&t&&(e.\u0275\u0275elementStart(0,"div",22),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&t){const n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",n.errorMessage," ")}}function O(t,r){1&t&&(e.\u0275\u0275elementStart(0,"div",25),e.\u0275\u0275text(1,"Email Address is required"),e.\u0275\u0275elementEnd())}function T(t,r){1&t&&(e.\u0275\u0275elementStart(0,"div",25),e.\u0275\u0275text(1,"Email Address is not a valid email"),e.\u0275\u0275elementEnd())}function j(t,r){if(1&t&&(e.\u0275\u0275elementStart(0,"div",23),e.\u0275\u0275template(1,O,2,0,"div",24),e.\u0275\u0275template(2,T,2,0,"div",24),e.\u0275\u0275elementEnd()),2&t){e.\u0275\u0275nextContext();const n=e.\u0275\u0275reference(15);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.errors.required),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.errors.pattern)}}function w(t,r){1&t&&(e.\u0275\u0275elementStart(0,"p",26),e.\u0275\u0275text(1,"Processing User Login..."),e.\u0275\u0275elementEnd())}function A(t,r){1&t&&(e.\u0275\u0275elementStart(0,"p",26),e.\u0275\u0275text(1,"Getting User Information..."),e.\u0275\u0275elementEnd())}function N(t,r){if(1&t){const n=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",27),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(n),e.\u0275\u0275nextContext().onSubmit()}),e.\u0275\u0275text(1,"Non-Member Login "),e.\u0275\u0275elementEnd()}if(2&t){e.\u0275\u0275nextContext();const n=e.\u0275\u0275reference(10);
1e.\u0275\u0275property("disabled",n.form.invalid)}}let U=(()=>{class t{constructor(n,o,i,m,l,R,G,J,B){this.membersService=n,this.userService=o,this.activatedRoute=i,this.reCaptchaV3Service=m,this.userSignInService=l,this.router=R,this.title=G,this.meta=J,this.root=B,this.mbr_flds=v.m,this.std_flds=h.k,this.errorMessage="",this.user={},this.emailPattern="^[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,4}$",this.isLoggedIn=!1,this.form_btn_enable=!0,this.show_getting=!1,this.show_processing=!1,this.siteKey=u.N.reCaptchaSiteKey,this.action="LOGIN",this.onDestroy$=new b.xQ,this.title.setTitle(i.snapshot.data.seo_title),this.meta.updateTag({name:"description",content:i.snapshot.data.seo_desc})}ngOnInit(){}onSubmit(){return(0,y.mG)(this,void 0,void 0,function*(){this.execute()})}execute(){setTimeout(()=>{this.form_btn_enable=!1,this.show_processing=!0,this.show_getting=!1},1e3),this.reCaptchaV3Service.execute(this.siteKey,this.action,n=>{this.show_processing=!1,this.show_getting=!0,this.membersService.verifyReCaptcha(JSON.stringify({event:{token:n,siteKey:this.siteKey,expectedAction:"LOGIN",userIpAddress:""}})).pipe((0,_.R)(this.onDestroy$)).subscribe(i=>{let l=i.score;console.info("page-unsubscribe-user->execute, reasons: ",i.reasons),console.info("page-unsubscribe-user->execute, score: ",l),l>.5&&this.getUserFromFirestore()},i=>{console.info("page-unsubscribe-user->execute, ERROR: ",i)})},{useGlobalDomain:!1})}getUserFromFirestore(){return(0,y.mG)(this,void 0,void 0,function*(){})}ngOnDestroy(){u.N.log_msgs&&console.info("page-unsubscribe-user->ngOnDestroy, about to perform onDestroy"),this.onDestroy$.next(!0),this.onDestroy$.complete()}}return t.\u0275fac=function(n){return new(n||t)(e.\u0275\u0275directiveInject(d.Ze),e.\u0275\u0275directiveInject(d.KD),e.\u0275\u0275directiveInject(a.gz),e.\u0275\u0275directiveInject(I.YC),e.\u0275\u0275directiveInject(d.fh),e.\u0275\u0275directiveInject(a.F0),e.\u0275\u0275directiveInject(f.Title),e.\u0275\u0275directiveInject(f.Meta),e.\u0275\u0275directiveInject(d.iK))},t.\u0275cmp=e.\u0275\u0275defineComponent({type:t,selectors:[["app-login"]],viewQuery:function(n,o){if(1&n&&e.\u0275\u0275viewQuery(M,5),2&n){let i;e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(o.captchaElem=i.first)}},decls:35,vars:7,consts:[[1,"block"],[1,"container"],[1,"row"],[1,"col-12","col-lg-5","mx-lg-auto","d-flex"],[1,"card","flex-grow-1","mb-md-0"],[1,"card-body"],[1,"text-center","font-weight-light","mb-3"],["class","alert alert-danger",4,"ngIf"],["id","myForm","name","myForm","novalidate","",1,"mt-4",3,"ngSubmit"],["f","ngForm"],[1,"form-group"],["for","email"],["id","email","name","email","required","","type","email",1,"form-control",3,"ngModel","ngModelChange"],["email","ngModel"],["class","form-control-feedback",4,"ngIf"],[1,"form-text","text-muted"],["class","text-success",4,"ngIf"],["class","btn btn-success",3,"disabled","click",4,"ngIf"],[1,"alert","alert-success","text-center","pl-1","pr-1","mt-4"],[1,"text","pa-anchor",3,"routerLink"],[1,"alert","alert-secondary","text-center","pl-1","pr-1","mb-0"],["routerLink","/login",1,"text","pa-anchor-other-blue"],[1,"alert","alert-danger"],[1,"form-control-feedback"],["class","form-error-text",4,"ngIf"],[1,"form-error-text"],[1,"text-success"],[1,"btn","btn-success",3,"disabled","click"]],template:function(n,o){if(1&n){const i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"h1",6),e.\u0275\u0275text(7,"Non-Member Login"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(8,k,2,1,"div",7),e.\u0275\u0275elementStart(9,"form",8,9),e.\u0275\u0275listener("ngSubmit",function(){return e.\u0275\u0275restoreView(i),e.\u0275\u0275reference(10).form.valid}),e.\u0275\u0275elementStart(11,"div",10)(12,"label",11),e.\u0275\u0275text(13,"Email Address"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"input",12,13),e.\u0275\u0275listener("ngModelChange",function(l){return o.user.email=l}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(16,j,3,2,"div",14),e.\u0275\u0275elementStart(17,"small",15),e.\u0275\u0275text(18,"We will never sell your email address!"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(19,"div",10),e.\u0275\u0275elementStart(20,"div",10),e.\u0275\u0275template(21,w,2,0,"p",16),e.\u0275\u0275template(22,A,2,0,"p",16),e.\u0275\u0275template(23,N,2,1,"button",17),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(24,"div",18),e.\u0275\u0275text(25," Not a Passport America Member yet? "),e.\u0275\u0275element(26,"br"),e.\u0275\u0275elementStart(27,"a",19),e.\u0275\u0275text(28," Join Now and SAVE 50% on"),e.\u0275\u0275element(29,"br"),e.\u0275\u0275text(30,"Campgrounds across North America "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"div",20),e.\u0275\u0275text(32," If you are a Passport America Member, "),e.\u0275\u0275elementStart(33,"a",21),e.\u0275\u0275text(34,"Login Here"),e.\u0275\u0275elementEnd()()()()()()()()}if(2&n){const i=e.\u0275\u0275reference(15);e.\u0275\u0275advance(8),e.\u0275\u0275property("ngIf",""!==o.errorMessage),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngModel",o.user.email),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",i.errors&&(i.dirty||i.touched)),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",o.show_processing),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",o.show_getting),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",o.form_btn_enable),e.\u0275\u0275advance(4),e.\u0275\u0275property("routerLink",o.root.join())}},directives:[g.NgIf,c._Y,c.JL,c.F,c.Fj,c.Q7,c.JJ,c.On,a.yS],styles:[""]}),t})();function V(t,r){if(1&t&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",1)(2,"div",2)(3,"div",3)(4,"div")(5,"h3",4),e.\u0275\u0275text(6,"User Profile"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"div",5)(8,"div",1)(9,"div",6)(10,"div"),e.\u0275\u0275text(11),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementContainerEnd()),2&t){const n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275classMapInterpolate1("card-header ",n.mbr_flds.card_header_colors,""),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate2(" ",n.user.first_name," ",n.user.last_name," ")}}const $=[{path:"",component:D,children:[{path:"",pathMatch:"full",redirectTo:"dashboard"},{path:"dashboard",component:(()=>{class t{constructor(n,o,i,m,l){this.userService=n,this.activatedRoute=o,this.router=i,this.title=m,this.meta=l,this.userFavorites=[],this.userVisits=[],this.mbr_flds=v.m,this.std_flds=h.k,this.whereFrom="",this.onDestroy$=new b.xQ,this.title.setTitle(o.snapshot.data.seo_title),this.meta.updateTag({name:"description",content:o.snapshot.data.seo_desc})}ngOnInit(){return(0,y.mG)(this,void 0,void 0,function*(){yield this.userService.user$().pipe((0,_.R)(this.onDestroy$)).subscribe(n=>{console.log("page-dashboard-user->ngOnInit, before IF user",n),Object.keys(n).length>0&&(console.log("page-dashboard-user->ngOnInit, after IF user",n),this.user=n,this.userFavorites=this.userService.getUserValue().favorites,this.userVisits=this.userService.getUserValue().visits,u.N.log_msgs&&(console.info("page-dashboard-user->ngOnInit, user$",this.user),console.info("page-dashboard-user->ngOnInit, userFavorites",this.userFavorites),console.info("page-dashboard-user->ngOnInit, userVisits",this.userVisits)))})})}ngOnDestroy(){u.N.log_msgs&&console.info("page-dashboard-user->ngOnDestroy, about to perform onDestroy"),this.onDestroy$.next(!0),this.onDestroy$.complete()}}return t.\u0275fac=function(n){return new(n||t)(e.\u0275\u0275directiveInject(d.KD),e.\u0275\u0275directiveInject(a.gz),e.\u0275\u0275directiveInject(a.F0),e.\u0275\u0275directiveInject(f.Title),e.\u0275\u0275directiveInject(f.Meta))},t.\u0275cmp=e.\u0275\u0275defineComponent({type:t,selectors:[["app-page-d
1ashboard"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"row"],[1,"col-12"],[1,"card"],[1,"mb-0"],[1,"card-body"],[1,"col-12","col-md-6"]],template:function(n,o){1&n&&e.\u0275\u0275template(0,V,12,5,"ng-container",0),2&n&&e.\u0275\u0275property("ngIf",o.user)},directives:[g.NgIf],styles:[""]}),t})(),canActivate:[d.A0],data:{seo_title:"User Dashboard | Passport America",seo_desc:""}},{path:"login",component:U,data:{seo_title:"User Login | Passport America",seo_desc:""}}]}];let K=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.\u0275\u0275defineNgModule({type:t}),t.\u0275inj=e.\u0275\u0275defineInjector({imports:[[a.Bz.forChild($)],a.Bz]}),t})();var z=s(8811);let Q=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.\u0275\u0275defineNgModule({type:t}),t.\u0275inj=e.\u0275\u0275defineInjector({imports:[[g.CommonModule,c.u5,z.m,I.e7,K]]}),t})()}}]);

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.