PageSourceSearch

https://verlanglijst.online/chunk-CO75NAQZ.js

js verlanglijst.online collected 2026-10-08 02:01:53 UTC 13,215 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="32f7e537-4abd-57d7-b7f9-918e3df88dc5")}catch(e){}}();
3import{a as se}from"./chunk-GJ6T2EPN.js";import{a as w}from"./chunk-VT2A7LU2.js";import{b as X,d as b,f as Y,g as Z,h as $,j as x,l as ee,q as te,r as ie,w as ne,y as oe,z as ae}from"./chunk-MURB6V66.js";import{a as B,b as J}from"./chunk-VYOIXPJ2.js";import{x as re}from"./chunk-BJ4EDYCY.js";import"./chunk-RBFCRY4X.js";import{a as U,c as z,g as O}from"./chunk-JOIPEDRU.js";import"./chunk-HENRGDF7.js";import"./chunk-43G5GPLC.js";import"./chunk-TGGT2YCW.js";import"./chunk-ZR6ZTP44.js";import"./chunk-PPZS47N7.js";import{a as Q}from"./chunk-E64Z6CIS.js";import{a as k,b as I,c as G,e as W,f as K,g as H}from"./chunk-LO7NMMX2.js";import{a as V}from"./chunk-BO7LOMQV.js";import{C as M,D as q,E as A,v as D}from"./chunk-X65MVPBX.js";import{$a as a,Eb as r,Fb as s,Gc as F,Kb as g,Lb as i,Lc as y,Mb as n,Nb as c,Ub as S,Yb as C,_b as u,ca as d,fb as N,gc as j,hc as L,ia as v,ib as E,ja as _,mc as o,nc as P,oa as R,pb as T,ua as m,wc as f}from"./chunk-ZRXMM4T5.js";import"./chunk-VZBGOO6O.js";var ce=["sectionPageTop"],de=()=>["/voorwaarden"],me=()=>["/privacy"],pe=()=>["/auth/inloggen"];function ue(t,l){t&1&&(i(0,"div",3),c(1,"mat-spinner"),n())}function he(t,l){t&1&&(i(0,"div",4)(1,"div",9)(2,"div",10),c(3,"img",11),n(),i(4,"div",12),o(5," Er is een e-mail naar je verstuurd. Gebruik de knop in deze e-mail om je account te bevestigen. "),c(6,"br"),o(7,"Geen e-mail ontvangen? Kijk even in je ongewenste post. "),n()()())}function ge(t,l){t&1&&(i(0,"span",13)(1,"b"),o(2," Nog \xE9\xE9n stap:\xA0\xA0"),n()(),i(3,"span",13)(4,"b"),o(5,"Account aanmaken"),n()(),c(6,"br"),o(7," Hierna wordt je lijstje direct aangemaakt. "))}function ve(t,l){t&1&&(i(0,"span",13)(1,"b"),o(2," Nog \xE9\xE9n stap:\xA0\xA0"),n()(),i(3,"span",13)(4,"b"),o(5,"Account aanmaken"),n()(),c(6,"br"),o(7," Hierna kun je een verlanglijstje koppelen "))}function _e(t,l){t&1&&(i(0,"b"),o(1," Gratis account aanmaken"),n())}function Ce(t,l){if(t&1&&(i(0,"div",27),o(1),n()),t&2){let e=u(4);a(),P(e.errors())}}function fe(t,l){t&1&&(i(0,"div",27),o(1," Er bestaat al een account voor dit "),i(2,"span",13),o(3,"e-mailadres"),n(),o(4,","),c(5,"br"),o(6," maar dit account is inactief."),c(7,"br"),o(8," Wil je je account opnieuw activeren?"),c(9,"br"),o(10," Dit kan nog, zolang we jouw gegevens niet hebben verwijderd."),c(11,"br")(12,"br"),o(13," Stuur ons een "),i(14,"a",28),o(15,"berichtje"),n(),o(16,". "),n())}function be(t,l){if(t&1&&(i(0,"div"),r(1,Ce,2,1,"div",27),r(2,fe,17,0,"div",27),n()),t&2){let e=u(3);a(),s(e.errors()!=="inactive"?1:-1),a(),s(e.errors()==="inactive"?2:-1)}}function xe(t,l){t&1&&(i(0,"span",18),c(1,"img",30),o(2," Naam is verplicht "),n())}function we(t,l){if(t&1&&(i(0,"div",15),c(1,"input",29),r(2,xe,3,0,"span",18),n()),t&2){let e=u(3);a(2),s(e.registerForm.hasError("required","name")&&e.submitted()?2:-1)}}function Se(t,l){t&1&&(i(0,"span",18),c(1,"img",31),o(2," E-mail is verplicht "),n())}function ye(t,l){t&1&&(i(0,"span",18),c(1,"img",32),o(2," Wachtwoord is verplicht "),n())}function ke(t,l){t&1&&(i(0,"div",20)(1,"div",33)(2,"a",34),o(3," Gebruikersvoorwaarden"),n(),o(4," en "),i(5,"a",34),o(6,"Privacybeleid"),n(),c(7,"br"),n()()),t&2&&(a(2),g("routerLink",f(2,de)),a(3),g("routerLink",f(3,me)))}function Re(t,l){t&1&&o(0," Registreren ")}function Ne(t,l){t&1&&o(0," Ga verder ")}function Ee(t,l){if(t&1&&(i(0,"button",24),r(1,Re,1,0),r(2,Ne,1,0),n()),t&2){let e=u(3);g("disabled",!e.canSubmit()),a(),s(e.drawNames()?-1:1),a(),s(e.drawNames()?2:-1)}}function Te(t,l){t&1&&(i(0,"a",35),o(1," Inloggen "),n()),t&2&&g("routerLink",f(1,pe))}function je(t,l){if(t&1&&(i(0,"div"),o(1," Heb je al een account? "),r(2,Te,2,2,"a",35),n()),t&2){let e=u(3);a(2),s(e.drawNames()?-1:2)}}function Le(t,l){if(t&1){let e=S();i(0,"div",26)(1,"p"),o(2," Heb je al een account? "),n(),i(3,"a",36),C("click",function(){v(e);let p=u(3);return _(p.drawNamesToLogin())}),o(4,"Inloggen"),n()()}}function Pe(t,l){if(t&1){let e=S();i(0,"mat-card",7)(1,"mat-card-content")(2,"form",14),C("ngSubmit",function(){v(e);let p=u(2);return _(p.onSubmit())}),r(3,be,3,2,"div"),r(4,we,3,1,"div",15),i(5,"div",16),c(6,"input",17),r(7,Se,3,0,"span",18),n(),i(8,"div",16),c(9,"input",19),r(10,ye,3,0,"span",18),n(),r(11,ke,8,4,"div",20),i(12,"app-friendly-captcha",21),C("responseChanged",function(p){v(e);let le=u(2);return _(le.onCaptchaResponseChanged(p))}),n(),i(13,"div",20)(14,"div",22)(15,"div",23),r(16,Ee,3,3,"button",24),n()()(),i(17,"div",25)(18,"div",22),r(19,je,3,1,"div"),r(20,Le,5,0,"div",26),n()()()()()}if(t&2){let e=u(2);a(2),g("formGroup",e.registerForm),a(),s(e.errors()&&e.errors()!=="false"?3:-1),a(),s(e.name()?-1:4),a(3),s(e.registerForm.hasError("required","email")&&e.submitted()?7:-1),a(3),s(e.registerForm.hasError("required","password")&&e.submitted()?10:-1),a(),s(e.drawNames()?-1:11),a(),g("sitekey",e.captchaSiteKey),a(4),s(e.isRequesting()?-1:16),a(3),s(e.drawNames()?-1:19),a(),s(e.drawNames()?20:-1)}}function Fe(t,l){t&1&&(i(0,"mat-card",8)(1,"mat-card-content")(2,"ul",37)(3,"li"),o(4," Nooit meer dubbele cadeautjes. "),n(),i(5,"li"),o(6," Cadeauzoeker met bijna alles wat je maar kunt bedenken. Wij ondersteunen \xE1lle webshops. "),n()()()())}function De(t,l){if(t&1&&(r(0,he,8,0,"div",4),i(1,"div",5)(2,"div",6),r(3,ge,8,0),r(4,ve,8,0),r(5,_e,2,0,"b"),n()(),r(6,Pe,21,10,"mat-card",7),r(7,Fe,7,0,"mat-card",8)),t&2){let e=u();s(e.notification==="activate"?0:-1),a(3),s(e.drawNames()&&!e.navParticipantConnect()?3:-1),a(),s(e.navParticipantConnect()?4:-1),a(),s(e.drawNames()?-1:5),a(),s(e.n
3otification?-1:6),a(),s(e.notification?-1:7)}}var ot=(()=>{class t{constructor(){this.sectionPageTop=y("sectionPageTop"),this.captcha=y(w),this.appUrl=k.appUrl,this.errors=m(""),this.isRequesting=m(!1),this.submitted=m(!1),this.captchaResponse=m(""),this.canSubmit=F(()=>!!this.captchaSiteKey&&!!this.captchaResponse()&&!this.isRequesting()),this.captchaSiteKey=k.friendlyCaptchaSiteKey,this.registerForm=new $({name:new x("",{nonNullable:!0,validators:b.required}),email:new x("",{nonNullable:!0,validators:b.required}),password:new x("",{nonNullable:!0,validators:b.required})}),this.notification="",this.facebookName="",this.invitation=m(""),this.drawNames=m(!1),this.name=m(""),this.key=m(""),this.email=m(""),this.wishListName=m(""),this.navParticipantConnect=m(!1),this.registerData={name:"",email:"",password:"",rePassword:"",captchaResponse:""},this.titleService=d(D),this.userService=d(H),this.router=d(M),this.memberService=d(K),this.notificationService=d(re),this.gtmService=d(G),this.conversionEvents=d(W),this.facebookAuthService=d(se),this.renderer=d(E),this.seoService=d(Q),this.logger=d(I),this.destroyRef=d(R),N(()=>{localStorage.getItem("auth_token")!=null&&!this.drawNames()&&this.router.navigate(["/mijnlijstjes"])})}ngOnInit(){this.seoService.updateCanonicalLink("/auth/aanmelden"),this.userService.visitWishList(!1),this.titleService.setTitle("Aanmelden bij Verlanglijst.online"),this.router.routerState.root.queryParams.pipe(V(this.destroyRef)).subscribe(e=>{e.drawnames&&this.drawNames.set(e.drawnames),e.name&&(this.name.set(e.name),this.registerForm.patchValue({name:this.name()})),e.key&&this.key.set(e.key),e.email&&(this.email.set(e.email),this.registerForm.patchValue({email:this.email()})),e.wishlistname&&this.wishListName.set(e.wishlistname),e.invitation&&this.invitation.set(e.invitation),e.nav==="participantconnect"&&this.navParticipantConnect.set(!0),e.error&&this.errors.set(e.error)})}signInWithFB(){let e={from:"register",invitation:this.invitation(),navParticipantConnect:this.navParticipantConnect(),key:this.key()||void 0,wishListName:this.wishListName()||void 0};this.facebookAuthService.loginWithFacebookRedirect(e)}drawNamesToLogin(){this.navParticipantConnect()||this.router.navigate(["/auth/inloggen/"],{queryParams:{drawnames:"true",key:this.key(),wishlistname:this.wishListName()}}),this.navParticipantConnect()&&this.router.navigate(["/auth/inloggen/"],{queryParams:{drawnames:"true",key:this.key(),nav:"participantconnect"}})}onSubmit(){if(this.submitted.set(!0),this.errors.set(""),!this.ensureCaptchaCompleted()){this.scrollToPageTop();return}this.registerData={name:this.registerForm.controls.name.value,email:this.registerForm.controls.email.value,password:this.registerForm.controls.password.value,rePassword:this.registerForm.controls.password.value,captchaResponse:this.captchaResponse()},this.registerForm.valid?(this.isRequesting.set(!0),this.scrollToPageTop(),this.userService.register(this.registerData).subscribe({next:()=>{if(this.gtmService.push({event:"account-created"}),this.conversionEvents.markNewlyRegistered(this.registerData.email),this.invitation()){this.wishListAcceptInvitation(),this.memberService.postLastLoginDate().subscribe({next:()=>{},error:()=>{}});return}if(this.navParticipantConnect()){this.router.navigate(["/lootjes/p",this.key()],{queryParams:{nav:"connect"}}),this.memberService.postLastLoginDate().subscribe({next:()=>{},error:()=>{}});return}this.key()?this.createWishListLottery():this.router.navigate(["/mijnlijstjes"],{queryParams:{view:"add"}}),this.memberService.postLastLoginDate().subscribe({next:()=>{},error:()=>{}})},error:e=>{this.isRequesting.set(!1),this.captcha()?.reset(),this.scrollToPageTop(),this.registerForm.controls.password.value!==this.registerForm.value.rePassword&&this.registerForm.patchValue({password:""}),e.status===403?this.errors.set(e.error):this.errors.set("Oeps... Er ging iets mis! Probeer het opnieuw.")}})):(this.registerForm.controls.password.value!==this.registerForm.value.rePassword&&this.registerForm.patchValue({password:""}),this.errors.set("Vul alle verplichte velden in."),this.scrollToPageTop())}onCaptchaResponseChanged(e){this.captchaResponse.set(e),e&&this.errors.set("")}
3ensureCaptchaCompleted(){return this.captchaSiteKey?this.captchaResponse()?!0:(this.errors.set("Bevestig eerst dat je geen robot bent."),this.captcha()?.start(),!1):(this.errors.set("Friendly Captcha is nog niet geconfigureerd."),!1)}wishListAcceptInvitation(){this.memberService.postWishListAcceptInvitation(this.invitation()).subscribe({next:e=>{this.router.navigate(["/mijnlijstjes"],{queryParams:{id:e}})},error:()=>{}})}createWishListLottery(){this.memberService.postWishListLottery("",this.wishListName(),this.key()).subscribe({next:e=>{this.router.navigate(["/mijnlijstjes"],{queryParams:{id:e}})},error:()=>{this.notificationService.commonErrorToast(),this.isRequesting.set(!1)}})}scrollToPageTop(){let e=this.sectionPageTop();e&&this.renderer.selectRootElement(e.nativeElement,!0).scrollIntoView({block:"start"})}static{this.\u0275fac=function(h){return new(h||t)}}static{this.\u0275cmp=T({type:t,selectors:[["app-register"]],viewQuery:function(h,p){h&1&&j(p.sectionPageTop,ce,5)(p.captcha,w,5),h&2&&L(2)},decls:5,vars:2,consts:[["sectionPageTop",""],[1,"mt-2"],[1,"hr-invisible"],[1,"centerdiv","mt-5"],["role","alert",1,"alert","alert-success"],[1,"card-dialog-header"],[1,"ms-1","p-3"],["appearance","outlined",1,"mb-1"],["appearance","outlined",1,"mb-3"],[1,"d-flex","flex-row"],[1,"p-2","align-self-center"],["src","../../../assets/iconsInApp/CheckColor.png","height","20","width","20","alt","Check"],[1,"p-2"],[1,"line"],["novalidate","",3,"ngSubmit","formGroup"],[1,"form-group","mt-3"],[1,"form-group","mt-2"],["id","email","type","email","name","email","formControlName","email","spellcheck","false","placeholder","e-mailadres","maxlength","100",1,"form-control","input-lg"],[1,"error-message"],["id","password","type","password","name","password","formControlName","password","placeholder","wachtwoord","maxlength","50",1,"form-control","input-lg"],[1,"row"],[3,"responseChanged","sitekey"],[1,"col"],[1,"d-grid","gap-1"],["type","submit",1,"btn","btn-secondary","btn-big","mt-2","mb-2",3,"disabled"],[1,"row","mt-2"],[1,"centered-wrapper"],["role","alert",1,"alert","alert-danger"],["routerLink","/contact"],["id","name","type","text","name","name","formControlName","name","spellcheck","false","placeholder","naam","maxlength","35",1,"form-control","input-lg"],["src","../../../assets/iconsInApp/exclamation2.png","height","20","width","15","alt","Naam is verplicht"],["src","../../../assets/iconsInApp/exclamation2.png","height","20","width","15","alt","E-mail is verplicht"],["src","../../../assets/iconsInApp/exclamation2.png","height","20","width","15","alt","Wachtwoord is verplicht"],[1,"col-xs-12","col-sm-12","col-md-12","mt-2","mb-2"],["target","_blank",3,"routerLink"],["routerLinkActive","active",1,"btn","btn-link",3,"routerLink"],["href","javascript:void(0);",3,"click"],[1,"like-list","ms-2"]],template:function(h,p){h&1&&(i(0,"div",1,0),c(2,"hr",2),n(),r(3,ue,2,0,"div",3),r(4,De,8,6)),h&2&&(a(3),s(p.isRequesting()?3:-1),a(),s(p.isRequesting()?-1:4))},dependencies:[J,B,O,U,z,oe,ee,X,Y,Z,ne,ae,ie,te,q,A,w],encapsulation:2,changeDetection:0})}}return t})();export{ot as RegisterComponent};
4
5//# debugId=32f7e537-4abd-57d7-b7f9-918e3df88dc5

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.