PageSourceSearch

https://app.doggingaction.co.uk/s/557.89d5d67638e8cab8.js

js doggingaction.co.uk collected 2026-10-10 01:41:22 UTC 17,269 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkonboarding_app=self.webpackChunkonboarding_app||[]).push([[557],{5263:(O,S,n)=>{n.d(S,{W:()=>c});var e=n(4650),a=n(6895);function t(d,b){if(1&d){const u=e.EpF();e.TgZ(0,"a",2),e.NdJ("click",function(){e.CHM(u);const T=e.oxw();return e.KtG(T.onCLick())}),e._uU(1,"<"),e.qZA()}if(2&d){const u=e.oxw();e.Gre("btn icon-button ",u.appearance,"")}}function v(d,b){if(1&d){const u=e.EpF();e.TgZ(0,"a",3),e.NdJ("click",function(){e.CHM(u);const T=e.oxw();return e.KtG(T.onCLick())}),e.qZA()}}class c{constructor(){this.appearance="btn-primary",this.hidden=!1,this.click=new e.vpe}onCLick(){this.click?.emit()}}c.\u0275fac=function(b){return new(b||c)},c.\u0275cmp=e.Xpm({type:c,selectors:[["app-back-button"]],inputs:{appearance:"appearance",hidden:"hidden"},outputs:{click:"click"},decls:2,vars:2,consts:[[3,"class","click",4,"ngIf"],["class","btn icon-button",3,"click",4,"ngIf"],[3,"click"],[1,"btn","icon-button",3,"click"]],template:function(b,u){1&b&&(e.YNc(0,t,2,3,"a",0),e.YNc(1,v,1,0,"a",1)),2&b&&(e.Q6J("ngIf",!u.hidden),e.xp6(1),e.Q6J("ngIf",u.hidden))},dependencies:[a.O5],styles:[".icon-button[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:10px;margin:0;padding:0;line-height:20px}"]})},7744:(O,S,n)=>{n.d(S,{I:()=>t});var e=n(4650);class t{constructor(){}}t.\u0275fac=function(c){return new(c||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-step-tip"]],hostAttrs:[2,"display","block"],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"mt-2","mb-2"]],template:function(c,d){1&c&&(e.F$t(),e.TgZ(0,"p",0),e.Hsn(1),e.qZA())}})},5817:(O,S,n)=>{n.d(S,{G:()=>C});var e=n(4650),a=n(255),t=n(2709),v=n(8018),c=n(1103),d=n(2930),b=n(4896),u=n(6895),y=n(4175),T=n(4984),k=n(4463);class x{constructor(o,i,h){this.router=o,this.stepsService=i,this.store=h,this.nextStepClicked=new e.vpe,this.currentStep$=this.store.select(t.J9),this.steps$=this.store.select(t.QO),this.currentStepSubscription=this.stepsService.currentStep.subscribe(f=>{this.step=f}),this.nextStepSubscription=this.stepsService.nextStep.subscribe(f=>{this.next=f})}ngOnDestroy(){this.currentStepSubscription?.unsubscribe(),this.nextStepSubscription?.unsubscribe()}goToNextStep(){this.nextStepClicked.emit()}}x.\u0275fac=function(o){return new(o||x)(e.Y36(v.F0),e.Y36(c.K),e.Y36(d.yh))},x.\u0275cmp=e.Xpm({type:x,selectors:[["app-next-button"]],inputs:{submitting:"submitting",disabled:"disabled",buttonText:"buttonText"},outputs:{nextStepClicked:"nextStepClicked"},decls:4,vars:8,consts:[["id","next-button",1,"btn","btn-primary","button_main","mt-2","mb-2","btn-lg","col-6","fw-bold","pe-auto",3,"disabled","click"],[3,"inline","loading"]],template:function(o,i){1&o&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.goToNextStep()}),e._uU(1),e.ALo(2,"translate"),e._UZ(3,"app-spinner",1),e.qZA()),2&o&&(e.ekj("disabled",i.disabled),e.Q6J("disabled",i.submitting),e.xp6(1),e.hij(" ",e.lcZ(2,6,(i.next?i.buttonText||(null==i.step?null:i.step.buttonText):"Enter")||"")," "),e.xp6(2),e.Q6J("inline",!0)("loading",i.submitting))},dependencies:[T.O,k.X$],styles:[".step[_ngcontent-%COMP%]{max-width:500px;min-height:500px}.header-container[_ngcontent-%COMP%]{padding-left:40px}.header-container[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{width:30px;height:30px;padding:0;margin-top:5px}"]});var w=n(5263);function P(m,o){if(1&m&&(e._UZ(0,"h6",23),e.ALo(1,"translate")),2&m){const i=e.oxw();e.Q6J("innerHtml",e.lcZ(1,1,i.subHeader),e.oJD)}}class C{constructor(o,i,h,f){this.router=o,this.stepsService=i,this.store=h,this.memberService=f,this.completed=0,this.previousStepClicked=new e.vpe,this.nextStepClicked=new e.vpe,this.currentStep$=this.store.select(t.J9),this.steps$=this.store.select(t.QO),this.member$=this.store.select(t.FC),this.memberSubscription=this.member$.subscribe(_=>{this.countryId=_.location?.countryId})}isUSA(){return this.countryId===a.x}processLabel(o){return(o??"").split("[example date]").join(this.isUSA()?"01/25/1990":"25/01/1990").split("[Day][Month][Year]").join(this.isUSA()?"[Month][Day][Year]":"[Day][Month][Year]")}ngOnInit(){window.setTimeout(()=>{const o=document.getElementsByTagName("input")?.[0];o&&!o.attributes.getNamedItem("nofocus")&&(o?.focus(),o?.setSelectionRange(0,9999))},100),this.currentStepSubscription=this.stepsService.currentStep.subscribe(o=>{if(o&&this.step?.name!==o.name){const i=this.stepsService.steps.findIndex(f=>f===o);this.completed=2+100*i/(this.stepsService.steps.length-1),this.memberService.save().subscribe(f=>{})}this.step=o}),this.nextStepSubscription=this.stepsService.nextStep.subscribe(o=>{this.next=o}),this.previousStepSubscription=this.stepsService.previousStep.subscribe(o=>{this.prev=o})}ngOnDestroy(){this.currentStepSubscription?.unsubscribe(),this.nextStepSubscription?.unsubscribe(),this.previousStepSubscription?.unsubscribe(),this.memberSubscription?.unsubscribe()}
1goToPreviousStep(){this.previousStepClicked.emit(),this.ignoreNavigation||this.stepsService.navigatePrev()}goToNextStep(){this.nextStepClicked.emit()}}C.\u0275fac=function(o){return new(o||C)(e.Y36(v.F0),e.Y36(c.K),e.Y36(d.yh),e.Y36(b.nh))},C.\u0275cmp=e.Xpm({type:C,selectors:[["app-wizard-step"]],hostAttrs:[2,"display","contents"],inputs:{submitting:"submitting",ignoreNavigation:"ignoreNavigation",disabled:"disabled",buttonText:"buttonText",header:"header",subHeader:"subHeader"},outputs:{previousStepClicked:"previousStepClicked",nextStepClicked:"nextStepClicked"},ngContentSelectors:["*"],decls:27,vars:24,consts:[[1,"su-main"],[1,"container-md","app-container","su-main-subheader"],[1,"row","flex-grow-1","su-progress-container-row"],[1,"d-flex","align-items-stretch","su-progress-container","mt-2"],["appearance","",1,"align-self-center","su-back-button",3,"hidden","click"],[1,"progress-bar-wrapper","d-flex","w-100","mt-2","mb-2","pe-4","position-relative","su-progress"],[1,"progress-bar-start"],[1,"align-self-center",3,"value","animate","max"],[1,"progress-bar-end"],[1,"row","flex-grow-1","su-step-header-row"],[1,"col-12","position-relative","header-container","mt-2","su-step-header"],[1,"ps-4","pe-4","text-start","mt-4",3,"innerHtml"],["class","ps-4 pe-4 text-start",3,"innerHtml",4,"ngIf"],[1,"flex-grow-1","h-100","container-md","app-container","overflow-auto","hub-scrollbar","su-step-body"],[1,"row"],[1,"col","d-flex","justify-content-center","text-start"],[1,"step","d-flex","flex-column","flex-1","su-step-container"],[1,"d-flex","flex-column","flex-grow-1","overflow-auto"],[1,"d-flex","flex-column","justify-content-center","flex-1","ps-4","pe-4","mb-2","mt-1"],[1,"btn-container","mt-4","text-center","su-desktop-button"],[3,"submitting","disabled","buttonText","nextStepClicked"],[1,"footer","mt-auto","py-3","bg-light","su-footer"],[1,"container","text-center","su-footer-button"],[1,"ps-4","pe-4","text-start",3,"innerHtml"]],template:function(o,i){1&o&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"app-back-button",4),e.NdJ("click",function(){return i.goToPreviousStep()}),e.qZA(),e.TgZ(5,"div",5),e._UZ(6,"div",6)(7,"progressbar",7)(8,"div",8),e.qZA()()(),e.TgZ(9,"div",9)(10,"div",10)(11,"header"),e._UZ(12,"h1",11),e.ALo(13,"translate"),e.YNc(14,P,2,3,"h6",12),e.qZA()()()(),e.TgZ(15,"div",13)(16,"div",14)(17,"div",15)(18,"section",16)(19,"div",17)(20,"div",18),e.Hsn(21),e.qZA(),e.TgZ(22,"div",19)(23,"app-next-button",20),e.NdJ("nextStepClicked",function(){return i.goToNextStep()}),e.qZA()()()()()()()(),e.TgZ(24,"footer",21)(25,"div",22)(26,"app-next-button",20),e.NdJ("nextStepClicked",function(){return i.goToNextStep()}),e.qZA()()()),2&o&&(e.xp6(4),e.Q6J("hidden",!i.prev),e.xp6(2),e.ekj("fill",i.completed>0),e.xp6(1),e.Q6J("value",i.completed)("animate",!0)("max",100),e.xp6(1),e.ekj("fill",i.completed>=99),e.xp6(4),e.Q6J("innerHtml",e.lcZ(13,22,i.processLabel(i.header||(null==i.step?null:i.step.header))),e.oJD),e.xp6(2),e.Q6J("ngIf",i.subHeader),e.xp6(4),e.ekj("submitted",null==i.step?null:i.step.submitted)("valid",null==i.step?null:i.step.valid)("not-valid",0==(null==i.step?null:i.step.valid)),e.xp6(5),e.Q6J("submitting",i.submitting)("disabled",i.disabled)("buttonText",i.buttonText),e.xp6(3),e.Q6J("submitting",i.submitting)("disabled",i.disabled)("buttonText",i.buttonText))},dependencies:[u.O5,y.O1,x,w.W,k.X$],styles:[".progress-bar-start[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:10px;border:solid 5px #e9ecef;margin-right:-2px}.progress-bar-end[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:10px;border:solid 5px #e9ecef;margin-left:-2px}.fill[_ngcontent-%COMP%]{background-color:var(--main-link-color);border-color:var(--main-link-color)}.hub-scrollbar[_ngcontent-%COMP%]{scrollbar-color:var(--main-link-color) var(--main-link-color-66)}.su-footer-button[_ngcontent-%COMP%]{display:none}.su-desktop-button[_ngcontent-%COMP%]{display:block}.footer[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 768px){.footer[_ngcontent-%COMP%]{display:block;z-index:999}.su-footer-button[_ngcontent-%COMP%]{display:block!important}.su-desktop-button[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-height: 560px){.footer[_ngcontent-%COMP%]{display:block}.su-footer-button[_ngcontent-%COMP%]{display:block!important}.su-desktop-button[_ngcontent-%COMP%]{display:none!important}}"]})},4557:(O,S,n)=>{n.r(S),n.d(S,{EmailAddressModule:()=>A});var e=n(6895),a=n(4006),t=n(4650),v=n(9841),c=n(2709),d=n(9126),b=n(251),u=n(8018),y=n(2930),T=n(1103),k=n(2861),x=n(4896),w=n(5817),P=n(620),E=n(7744),C=n(4358),m=n(4463);function o(l,s){1&l&&(t.TgZ(0,"div",9),t._UZ(1,"div",10),t.TgZ(2,"p",11)(3,"span"),t._uU(4),t.ALo(5,"translate"),t.qZA()()()),2&l&&(t.xp6(4),t.Oqu(t.lcZ(5,1,"Or")))}function i(l,s){if(1&l&&(t.TgZ(0,"alert",12),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"a",13),t._uU(4),t.ALo(5,"translate"),t.qZA(),t._uU(6,". "),t.qZA()),2&l){const r=t.oxw();
1t.xp6(1),t.hij("",t.lcZ(2,3,"Looks_like_youve_already_registered_with_this_email!_Please_log_in")," "),t.xp6(2),t.Q6J("href",r.affiliateService.contentUrl("login"),t.LSH),t.xp6(1),t.Oqu(t.lcZ(5,5,"Please log in"))}}function h(l,s){1&l&&(t.TgZ(0,"alert",12),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&l&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"Please_ensure_you_enter_your_full_email_address")," "))}function f(l,s){if(1&l){const r=t.EpF();t.TgZ(0,"div",14)(1,"p",15)(2,"span"),t._uU(3),t.ALo(4,"translate"),t.qZA()(),t.TgZ(5,"a",16),t.NdJ("click",function(){t.CHM(r);const g=t.oxw();return t.KtG(g.oAuthRedirect())}),t._UZ(6,"google-icon",17),t._uU(7),t.ALo(8,"translate"),t.qZA()()}2&l&&(t.xp6(3),t.Oqu(t.lcZ(4,3,"Or")),t.xp6(3),t.Q6J("size",25),t.xp6(1),t.hij(" ",t.lcZ(8,5,"Continue with Google")," "))}const _="emailAddress";class Z{constructor(s,r,p,g,I,N,U,F,M){this.router=s,this.store=r,this.stepsService=p,this.memberService=I,this.affiliateService=N,this.mobileWrapperService=U,this.ngZone=F,this.jwt=M,this.next=new t.vpe,this.member$=this.store.select(c.FC),this.currentStep$=this.store.select(c.J9),this.submitting=!1,this.affiliate=null,this.domainAffiliate=null,this.autoSubmitted=!1,this.emailValidator=(0,b.i)(I),this.regForm=g.group({email:["",[a.kI.required,a.kI.email]]})}ngOnInit(){this.stepsService.setCurrentStep(_),this.domainAffiliateSubscription=this.affiliateService.domainAffiliate.subscribe(s=>{this.domainAffiliate=s,this.domainAffiliate?.googleClientId&&this.initGoogleAuth()}),this.affiliateSubscription=this.affiliateService.affiliate.subscribe(s=>{this.affiliate=s}),this.memberSubscription=(0,v.a)([this.member$,this.stepsService.currentStep]).subscribe(([s,r])=>{this.member||(this.email=s.email,this.authToken=s.authToken,this.member=s,this.regForm.controls.email.setValue(this.email)),s&&r&&(!this.autoSubmitted&&this.email&&typeof r.submitted>"u"&&(this.autoSubmitted=!0,this.submitForm()),this.step=r)})}ngOnDestroy(){this.memberSubscription?.unsubscribe(),this.affiliateSubscription?.unsubscribe(),this.domainAffiliateSubscription?.unsubscribe()}valid(){return this.regForm.valid}submitForm(){this.stepsService.submitted(_,this.valid()),this.email=this.regForm.controls.email.value,this.member?.oauthProviderUserId&&this.email===this.member?.email?this.goToNextStep():this.regForm.controls.email.valid&&(this.submitting=!0,this.emailValidator(this.regForm.controls.email).subscribe(s=>{this.submitting=!1,this.regForm.controls.email.setErrors(s),this.goToNextStep()}))}goToNextStep(){this.email=this.regForm.controls.email.value,this.valid()&&(this.member?.oauthProviderUserId?this.email!=this.member?.email&&(this.stepsService.submitted("email",!1),this.stepsService.submitted("password",!1),this.stepsService.setVisibility("password",!0),this.stepsService.setVisibility("email",!0),this.store.dispatch(d._0.setEmail({email:this.email,oauthProvider:void 0,oauthProviderUserId:void 0}))):this.store.dispatch(d._0.setEmail({email:this.email,oauthProvider:this.member?.oauthProvider,oauthProviderUserId:this.member?.oauthProviderUserId})),this.stepsService.navigateNext(),this.next.emit())}oAuthRedirect(){this.affiliate?.parentAffiliate&&(document.location.href=`https://${this.affiliate?.parentAffiliate.occamSiteUrl.replace("auth.","hub.")}/s/register/${this.affiliate?.guid}/t/${this.authToken}
1/oauth`)}onOAuthSignIn(s){null!=s&&s.email&&s.providerUserId&&(this.regForm.controls.email.setValue(s.email),this.emailValidator(this.regForm.controls.email).subscribe(r=>{this.submitting=!1,this.regForm.controls.email.setErrors(r),this.valid()&&(this.stepsService.submitted(_,!0),this.stepsService.submitted("email",!0),this.stepsService.submitted("password",!0),this.stepsService.setVisibility("password",!1),this.stepsService.setVisibility("email",!1),this.store.dispatch(d._0.setEmail({email:s.email,oauthProvider:s.provider,oauthProviderUserId:s.providerUserId})),this.stepsService.navigateNext(),this.next.emit())}))}initGoogleAuth(){const s=window;s.onSignIn=p=>{this.ngZone.run(()=>{if(p&&p.credential){const g=this.jwt.decodeJwtResponse(p.credential),I={...g,provider:"GOOGLE",providerUserId:g.sub};this.onOAuthSignIn(I)}})};const r=window.setInterval(()=>{const p=s.google;p&&(window.clearInterval(r),p.accounts.id.initialize({client_id:this.domainAffiliate?.googleClientId,callback:s.onSignIn}),p.accounts.id.renderButton(document.getElementById("googleLogin"),{theme:"outline",size:"large",type:"standard",text:"sign_in_with",shape:"rectangular"}))},100)}}Z.\u0275fac=function(s){return new(s||Z)(t.Y36(u.F0),t.Y36(y.yh),t.Y36(T.K),t.Y36(a.qu),t.Y36(k.n),t.Y36(x.Cw),t.Y36(x.mN),t.Y36(t.R0b),t.Y36(x.Tj))},Z.\u0275cmp=t.Xpm({type:Z,selectors:[["app-email-address"]],hostAttrs:[2,"display","contents"],outputs:{next:"next"},decls:15,vars:15,consts:[[3,"submitting","disabled","subHeader","nextStepClicked"],["class","row justify-content-center mt-2 mb-2",4,"ngIf"],["novalidate","",3,"formGroup","ngSubmit"],[1,"row","justify-content-center"],[1,"form-group","col-12"],[2,"display","none"],["type","email","id","email","autofocus","",1,"form-control","form-control-lg","col-12",3,"placeholder","formControl"],["class","d-block mt-2 mb-2","type","danger",4,"ngIf"],["class","social-wrapper justify-content-center mt-4 d-flex flex-column",4,"ngIf"],[1,"row","justify-content-center","mt-2","mb-2"],["id","googleLogin",1,"mt-2","mb-2","d-flex","justify-content-center"],[1,"text-center","crossed-line","mt-4","mb-4"],["type","danger",1,"d-block","mt-2","mb-2"],[3,"href"],[1,"social-wrapper","justify-content-center","mt-4","d-flex","flex-column"],[1,"text-center","crossed-line","m-0"],["href","javascript:void(0)",1,"btn","btn-sm","btn-outline-secondary","mt-4","mb-4","text-start","d-flex","align-self-center","align-items-center",3,"click"],[1,"me-2",3,"size"]],template:function(s,r){if(1&s&&(t.TgZ(0,"app-wizard-step",0),t.NdJ("nextStepClicked",function(){return r.submitForm()}),t.YNc(1,o,6,3,"div",1),t.TgZ(2,"form",2),t.NdJ("ngSubmit",function(){return r.submitForm()}),t.TgZ(3,"div",3)(4,"div",4)(5,"label",5),t._uU(6,"Username"),t.qZA(),t._UZ(7,"input",6),t.ALo(8,"translate"),t.qZA()(),t.YNc(9,i,7,7,"alert",7),t.YNc(10,h,3,3,"alert",7),t.YNc(11,f,9,7,"div",8),t.TgZ(12,"app-step-tip"),t._uU(13),t.ALo(14,"translate"),t.qZA()()()),2&s){let p,g;t.Q6J("submitting",r.submitting)("disabled",!r.valid())("subHeader","We'll send you a quick verification code to confirm your email once you hit Next."),t.xp6(1),t.Q6J("ngIf",null==r.domainAffiliate?null:r.domainAffiliate.googleClientId),t.xp6(1),t.Q6J("formGroup",r.regForm),t.xp6(5),t.s9C("placeholder",t.lcZ(8,11,"Sign up with email address\u2026")),t.Q6J("formControl",r.regForm.controls.email),t.xp6(2),t.Q6J("ngIf",null==(p=r.regForm.controls.email)||null==p.errors?null:p.errors.userExists),t.xp6(1),t.Q6J("ngIf",null==(g=r.regForm.controls.email)||null==g.errors?null:g.errors.badEmail),t.xp6(1),t.Q6J("ngIf",(null==r.affiliate?null:r.affiliate.parentAffiliate)&&!(null!=r.domainAffiliate&&r.domainAffiliate.googleClientId)&&!r.mobileWrapperService.isMobileWrapper()),t.xp6(2),t.Oqu(t.lcZ(14,13,"This information will not be shared with anyone or displayed on your profile."))}},dependencies:[e.O5,w.G,P._,E.I,a._Y,a.Fj,a.JJ,a.JL,a.oH,a.sg,C.wx,m.X$]});var J=n(5688);class A{}A.\u0275fac=function(s){return new(s||A)},A.\u0275mod=t.oAB({type:A}),A.\u0275inj=t.cJS({imports:[e.ez,J.m,u.Bz.forChild([{path:"",component:Z}]),a.UX,C.nM,m.aw]})}}]);

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.