PageSourceSearch

https://minasidor.k2a.se/248.78ba54a039ab5a12.js

js k2a.se collected 2026-09-24 20:00:02 UTC 39,254 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktaiga=self.webpackChunktaiga||[]).push([[248],{1336:(w,_,a)=>{a.d(_,{q:()=>M});var u=a(7052),p=a(1360),o=a(8875),C=a(2155);let M=(()=>{class h{constructor(t,d){this.signInService=t,this.router=d,this.homeLink=`${u.i.HOME}`,this.signInLink=`${u.t.SIGN_IN}`}canActivate(t,d){return this.signInService.routerStateUrl=d.url||this.homeLink,!!(this.signInService&&this.signInService.isAuth||this.signInService.isRefreshTokenValid)||(this.router.navigate([this.signInLink],{queryParams:{returnUrl:d.url||this.homeLink}}),!1)}static{this.\u0275fac=function(d){return new(d||h)(p.KVO(o.W),p.KVO(C.Ix))}}static{this.\u0275prov=p.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},6248:(w,_,a)=>{a.r(_),a.d(_,{RegistrationModule:()=>Kt});var u=a(2881),p=a(5207),o=a(9417),C=a(9437),M=a(980),h=a(7052),V=a(2043),t=a(1360);let d=(()=>{class n{constructor(i){this.injector=i,this.mediaQueryService=this.injector.get(V.M)}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(t.zZn))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-registration-base"]],standalone:!1,decls:1,vars:0,template:function(r,e){1&r&&t.EFF(0,"NO UI HERE!")},encapsulation:2})}}return n})();var b=a(3527),f=a(2155),N=a(8834),B=a(450),v=a(8018);const Y=n=>({ids:n});function Q(n,l){if(1&n&&(t.j41(0,"mat-slide-toggle",13),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const i=t.XpG().$implicit;t.Y8G("formControlName",i.id),t.R7$(),t.JRh(t.bMT(2,2,"IAGREE"))}}function X(n,l){if(1&n&&(t.j41(0,"div")(1,"h2",10),t.EFF(2),t.k0s(),t.nrm(3,"p",11),t.DNE(4,Q,3,4,"mat-slide-toggle",12),t.k0s()),2&n){const i=l.$implicit;t.R7$(2),t.JRh(i.displayName),t.R7$(),t.Y8G("innerText",i.shortText),t.R7$(),t.Y8G("ngIf",i.needAcceptance)}}function J(n,l){if(1&n&&(t.j41(0,"div",14)(1,"a",15),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n){const i=t.XpG(2);t.R7$(),t.FS9("routerLink",i.consentsLink),t.Y8G("queryParams",t.eq3(5,Y,i.consentIds)),t.R7$(),t.JRh(t.bMT(3,3,"READMORE"))}}function W(n,l){if(1&n){const i=t.RV6();t.qex(0),t.j41(1,"form",5),t.DNE(2,X,5,3,"div",6)(3,J,4,7,"div",7),t.j41(4,"div",8)(5,"button",9),t.bIt("click",function(){t.eBV(i);const e=t.XpG();return t.Njj(e.continueClick())}),t.EFF(6),t.nI1(7,"translate"),t.k0s()()(),t.bVm()}if(2&n){const i=t.XpG();t.R7$(),t.Y8G("formGroup",i.consentFormGroup),t.R7$(),t.Y8G("ngForOf",null==i.marketConsents?null:i.marketConsents.items),t.R7$(),t.Y8G("ngIf",i.showReadMore),t.R7$(2),t.Y8G("disabled",!i.consentFormGroup.valid||i.disableNextbutton),t.R7$(),t.JRh(t.bMT(7,5,"NEXT"))}}function K(n,l){1&n&&(t.qex(0),t.j41(1,"p",16),t.EFF(2," Du har inte valt n\xe5gon k\xf6 "),t.k0s(),t.bVm())}let H=(()=>{class n extends d{constructor(i,r,e,s,c){super(i),this.formBuilder=r,this.registrationService=e,this.router=s,this.route=c,this.consentsLink=`${h.i.READCONSENTS}`,this.queues=[]}ngOnInit(){const i=this.route.snapshot.queryParams.queues;if(i)for(const r of i.split(","))this.queues.push({id:r,command:{type:"join"}});this.route.data.subscribe(r=>{if(this.marketConsents=r?.marketConsents,this.consentFormGroup=this.formBuilder.group({}),this.consentIds=this.marketConsents.items.map(e=>e.id).toString(),this.marketConsents?.items.length>0)for(const e of this.marketConsents?.items)e.needAcceptance&&this.consentFormGroup.addControl(e.id,new o.hs(null,o.k0.requiredTrue));else this.continueClick();this.showReadMore=this.marketConsents?.items?.filter(e=>e.text).length>0})}continueClick(){if(this.consentFormGroup.valid){const i=this.marketConsents?.items?.filter(r=>r.needAcceptance);if(i.length>0){const r={consents:[]};for(const e of i)r.consents.push({id:e.id,versionId:e.versionId,command:{type:"accept"}});this.disableNextbutton=!0,this.registrationService.postActor(r).pipe((0,C.W)(e=>{throw this.disableNextbutton=!1,e})).subscribe(()=>{this.postQueues()})}else this.disableNextbutton=!0,this.postQueues()}}postQueues(){this.registrationService.postQueues({register:!0,queues:this.queues}).pipe((0,M.j)(()=>{this.disableNextbutton=!1})).subscribe(()=>{const r=this.route.snapshot.queryParams.returnUrl,e=this.queues.map(s=>s.id);this.router.navigate(["/registration/completed"],{state:{queues:this.queues},queryParams:{returnUrl:r,queues:e.toString()}})})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(t.zZn),t.rXU(o.ze),t.rXU(b.f),t.rXU(f.Ix),t.rXU(f.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-consent"]],standalone:!1,features:[t.Vt3],decls:8,vars:11,consts:[[1,"container"],[1,"centered"],[1,"sign-in"],["data-mom-test","MinaSidor_Registrering_Samtycke_Rubrik",1,"header-text","mat-h1"],[4,"ngIf"],[3,"formGroup"],[4,"ngFor","ngForOf"],["class","link-container",4,"ngIf"],[1,"action-button-container"],["data-mom-test","MinaSidor_Registrering_Samtycke_Spara","mat-raised-button","","color","primary",1,"action-button",2,"margin-top","20px",3,"click","disabled"],[1,"mat-h2"],[1,"consent-text","mat-typography",3,"innerText"],["class","slide","required","","data-mom-test","MinaSidor_Registrering_Samtycke_Slider",3,"formControlName",4,"ngIf"],["required","","data-mom-test","MinaSidor_Registrering_Samtycke_Slider",1,"slide",3,"formControlName"],[1,"link-container"],[1,"link","mat-typography",3,"routerLink","queryParams"],[1,"mat-typography"]],template:function(r,e){1&r&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.DNE(6,W,8,7,"ng-container",4)(7,K,3,0,"ng-container",4),t.k0s()()()),2&r&&(t.AVh("is-mobile",e.mediaQueryService.isMobile())("is-desktop",!e.mediaQueryService.isMobile()),t.R7$(2),t.AVh("mat-elevation-z2",!e.mediaQueryService.isMobile()),t.R7$(2),t.SpI(" ",t.bMT(5,9,"CONSENTS")," "),t.R7$(2),t.Y8G("ngIf",e.queues),t.R7$(),t.Y8G("ngIf",!e.queues))},dependencies:[u.Sq,u.bT,p.Wk,N.$z,B.sG,o.qT,o.BC,o.cb,o.YS,o.j4,o.JD,v.D9],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;padding-bottom:env(safe-area-inset-bottom)}.centered[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:30px}.is-mobile[_ngcontent-%COMP%]   .centered[_ngcontent-%COMP%]{height:100%;margin-top:0}.container.is-desktop[_ngcontent-%COMP%]{margin-bottom:40px}.is-mobile[_nghost-%COMP%], .is-mobile   [_nghost-%COMP%]{background-color:#fff}.sign-in[_ngcontent-%COMP%]{display:flex;flex-direction:column}.is-desktop[_ngcontent-%COMP%]   .sign-in[_ngcontent-%COMP%]{border-radius:10px;padding:60px 80px;width:600px}.is-mobile[_ngcontent-%COMP%]   .sign-in[_ngcontent-%COMP%]{padding:40px;height:100%}.header-text[_ngcontent-%COMP%]{text-align:center;padding:20px;margin:0}.text[_ngcontent-%COMP%]{text-align:center;padding-top:10px;margin:0}.action-button[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}.is-mobile[_ngcontent-%COMP%]   .action-button[_ngcontent-%COMP%]{width:100%}.is-desktop[_ngcontent-%COMP%]   .action-button-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.spacer[_ngcontent-%COMP%]{flex:1 1 auto}.form-field[_ngcontent-%COMP%]{width:100%}.fill-space[_ngcontent-%COMP%]{display:flex;flex:1;align-items:flex-end}.full-width[_ngcontent-%COMP%]{width:100%}.checkbox-container[_ngcontent-%COMP%]{margin-bottom:20px}.consent-text[_ngcontent-%COMP%]{overflow:auto}.is-mobile[_ngcontent-%COMP%]   .centered[_ngcontent-%COMP%]{align-items:initial}.slide[_ngcontent-%COMP%]{margin-bottom:20px}.link-container[_ngcontent-%COMP%]{margin-top:10px}"]})}}return n})();var U=a(9297),A=a(3902),G=a(6112);function z(n,l){if(1&n&&(t.j41(0,"mat-list-item",7),t.EFF(1),t.k0s()),2&n){const i=l.$implicit;t.R7$(),t.JRh(null==i?null:i.displayName)}}function Z(n,l){if(1&n){const i=t.RV6();t.j41(0,"div",8)(1,"button",9),t.bIt("click",function(){t.eBV(i);const e=t.XpG();return t.Njj(e.finish())}),t.EFF(2),t.nI1(3,"translate"),t.k0s()()}2&n&&(t.R7$(2),t.JRh(t.bMT(3,1,"OK")))}let tt=(()=>{class n extends d{constructor(i,r,e,s,c){super(i),this.router=r,this.route=e,this.registrationService=s,this.menuService=c,this.queues=[]}
1ngOnInit(){this.returnUrl=this.route.snapshot.queryParams.returnUrl,this.route.snapshot.queryParams.queues?this.registrationService.getMarketApplicantStatus().subscribe(i=>{for(const r of this.route.snapshot.queryParams.queues?.split(",")){const e=i?.queues?.find(s=>s.id===r);e&&this.queues.push(e)}this.menuService.refreshMenu(),0===this.queues.length&&this.router.navigateByUrl("mypages/home")}):this.router.navigateByUrl("mypages/home")}finish(){this.router.navigateByUrl(this.returnUrl)}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(t.zZn),t.rXU(f.Ix),t.rXU(f.nX),t.rXU(b.f),t.rXU(U.$))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-registration-completed"]],standalone:!1,features:[t.Vt3],decls:12,vars:14,consts:[[1,"container"],[1,"centered"],[1,"sign-in"],["data-mom-test","MinaSidor_Registrering_Bekr\xe4ftelsemeddelande",1,"header-text","mat-h1"],[3,"markdown"],["role","list","role","listitem",4,"ngFor","ngForOf"],["class","action-button-container",4,"ngIf"],["role","list","role","listitem"],[1,"action-button-container"],["data-mom-test","MinaSidor_Registrering_Bekr\xe4ftelse_KlarKnapp","mat-raised-button","","color","primary",1,"action-button",2,"margin-top","20px",3,"click"]],template:function(r,e){1&r&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"form"),t.nrm(7,"taiga-markdown",4),t.nI1(8,"translate"),t.j41(9,"mat-list"),t.DNE(10,z,2,1,"mat-list-item",5),t.k0s(),t.DNE(11,Z,4,3,"div",6),t.k0s()()()()),2&r&&(t.AVh("is-mobile",e.mediaQueryService.isMobile())("is-desktop",!e.mediaQueryService.isMobile()),t.R7$(2),t.AVh("mat-elevation-z2",!e.mediaQueryService.isMobile()),t.R7$(2),t.SpI(" ",t.bMT(5,10,"QUEUEREGISTRATIONSUCCESS")," "),t.R7$(3),t.Y8G("markdown",t.bMT(8,12,"QUEUESREGISTEREDINFO")),t.R7$(3),t.Y8G("ngForOf",e.queues),t.R7$(),t.Y8G("ngIf",e.returnUrl))},dependencies:[u.Sq,u.bT,A.jt,A.YE,N.$z,o.qT,o.cb,o.cV,G.N,v.D9],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;padding-bottom:env(safe-area-inset-bottom)}.centered[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:30px}.is-mobile[_ngcontent-%COMP%]   .centered[_ngcontent-%COMP%]{height:100%;margin-top:0}.container.is-desktop[_ngcontent-%COMP%]{margin-bottom:40px}.is-mobile[_nghost-%COMP%], .is-mobile   [_nghost-%COMP%]{background-color:#fff}.sign-in[_ngcontent-%COMP%]{display:flex;flex-direction:column}.is-desktop[_ngcontent-%COMP%]   .sign-in[_ngcontent-%COMP%]{border-radius:10px;padding:60px 80px;width:600px}.is-mobile[_ngcontent-%COMP%]   .sign-in[_ngcontent-%COMP%]{padding:40px;height:100%}.header-text[_ngcontent-%COMP%]{text-align:center;padding:20px;margin:0}.text[_ngcontent-%COMP%]{text-align:center;padding-top:10px;margin:0}.action-button[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}.is-mobile[_ngcontent-%COMP%]   .action-button[_ngcontent-%COMP%]{width:100%}.is-desktop[_ngcontent-%COMP%]   .action-button-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.spacer[_ngcontent-%COMP%]{flex:1 1 auto}.form-field[_ngcontent-%COMP%]{width:100%}.fill-space[_ngcontent-%COMP%]{display:flex;flex:1;align-items:flex-end}.full-width[_ngcontent-%COMP%]{width:100%}.checkbox-container[_ngcontent-%COMP%]{margin-bottom:20px}"]})}}return n})();var O=a(9783),I=a(1585),q=a(7586),et=a(1413),nt=a(274),it=a(6977),rt=a(8141),j=a(8875),ot=a(100),E=a(2928),D=a(2765),at=a(1163);const P=()=>({maxlength:"128"}),S=n=>({invalidChars:n}),st=()=>({minlength:"8"}),lt=()=>({maxlength:"8"}),ct=()=>({minlength:"10"});function mt(n,l){1&n&&(t.j41(0,"h1",18),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"VERIFYYOURINFO")," "))}function ut(n,l){1&n&&(t.j41(0,"h1",18),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"REGISTER")," "))}function dt(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"INPUTREQUIRED")," "))}function ft(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.i5U(2,1,"MAXLENGTH",t.lJ4(4,P))," "))}function gt(n,l){if(1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){let i;const r=t.XpG();
1t.R7$(),t.SpI(" ",t.i5U(2,1,"INVALIDCHARACTERS",t.eq3(4,S,null==(i=r.f.firstName.getError("allowedCharacters"))?null:i.invalidChars))," ")}}function pt(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"INPUTREQUIRED")," "))}function ht(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.i5U(2,1,"MAXLENGTH",t.lJ4(4,P))," "))}function bt(n,l){if(1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){let i;const r=t.XpG();t.R7$(),t.SpI(" ",t.i5U(2,1,"INVALIDCHARACTERS",t.eq3(4,S,null==(i=r.f.lastName.getError("allowedCharacters"))?null:i.invalidChars))," ")}}function Rt(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"INPUTREQUIRED")," "))}function Ct(n,l){if(1&n&&(t.j41(0,"mat-error",19),t.EFF(1),t.k0s()),2&n){const i=t.XpG();t.R7$(),t.SpI(" ",i.invalidOfficalNumberLabel," ")}}function vt(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.i5U(2,1,"MINLENGTH",t.lJ4(4,st))," "))}function It(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.i5U(2,1,"MAXLENGTH",t.lJ4(4,lt))," "))}function _t(n,l){if(1&n){const i=t.RV6();t.j41(0,"div",20)(1,"mat-checkbox",21),t.bIt("change",function(e){t.eBV(i);const s=t.XpG();return t.Njj(s.allowRegistrationWithoutOfficialNumber(e))}),t.j41(2,"div",22),t.EFF(3),t.nI1(4,"translate"),t.k0s()()()}2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"MISSINGOFFICIALNUMBER")))}function Mt(n,l){1&n&&(t.j41(0,"mat-error")(1,"span"),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.JRh(t.bMT(3,1,"INVALIDEMAIL")))}function Nt(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"INPUTREQUIRED")," "))}function Ot(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.i5U(2,1,"MAXLENGTH",t.lJ4(4,P))," "))}function Et(n,l){if(1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){let i;const r=t.XpG();t.R7$(),t.SpI(" ",t.i5U(2,1,"INVALIDCHARACTERS",t.eq3(4,S,null==(i=r.f.emailAddress.getError("allowedCharacters"))?null:i.invalidChars))," ")}}function Pt(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"INPUTREQUIRED")," "))}function yt(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.i5U(2,1,"MAXLENGTH",t.lJ4(4,P))," "))}function St(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"INVALIDPHONENUMBER")," "))}function kt(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"INPUTREQUIRED")," "))}function Ft(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.i5U(2,1,"MINLENGTH",t.lJ4(4,ct))," "))}function Tt(n,l){1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"INPUTEQUALTO")," "))}function xt(n,l){if(1&n&&(t.j41(0,"div")(1,"mat-form-field",23)(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.nrm(5,"input",24,0)(7,"taiga-password-input-type-toggle",25),t.nI1(8,"translate"),t.DNE(9,kt,3,3,"mat-error",9)(10,Ft,3,5,"mat-error",9),t.k0s(),t.j41(11,"mat-form-field",7)(12,"mat-label"),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.nrm(15,"input",26,1)(17,"taiga-password-input-type-toggle",25),t.nI1(18,"translate"),t.DNE(19,Tt,3,3,"mat-error",9),t.k0s()()),2&n){const i=t.sdS(6),r=t.sdS(16),e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,11,"PASSWORD")),t.R7$(2),t.Y8G("required",null==e.f.password.errors?null:e.f.password.errors.required),t.R7$(2),t.Y8G("input",i)("inputLabel",t.bMT(8,13,"PASSWORD")),t.R7$(2),t.Y8G("ngIf",e.f.password.invalid&&e.f.password.errors.required),t.R7$(),t.Y8G("ngIf",e.f.password.invalid&&e.f.password.errors.minlength),t.R7$(3),t.JRh(t.bMT(14,15,"CONFIRMPASSWORD")),t.R7$(2),t.Y8G("required",null==e.f.confirmPassword.errors?null:e.f.confirmPassword.errors.required),t.R7$(2),t.Y8G("input",r)("inputLabel",t.bMT(18,17,"CONFIRMPASSWORD")),t.R7$(2),t.Y8G("ngIf",e.f.confirmPassword.invalid)}}const $t=q;let Ut=(()=>{class n extends d{get f(){return this.actorFormGroup.controls}constructor(i,r,e,s,c,m,x,$){super(i),this.formBuilder=r,this.route=e,this.registrationService=s,this.router=c,this.translate=m,this.signinService=x,this.menuService=$,this.componentDestroyed=new et.B,this.officialNumberPlaceholder=this.translate.instant("OFFICIALNUMBERPLACEHOLDER")}ngOnInit(){this.officialNumberLabel=this.translate.instant("OFFICIALNUMBER"),this.invalidOfficalNumberLabel=this.translate.instant("INVALIDOFFICIALNUMBER"),this.route.data.subscribe(i=>{this.actor=i.registrationData.actor,i?.registrationData?.marketApplicant?.role?this.router.navigate(["/registration/queue"],{queryParams:{returnUrl:this.route.
1snapshot.queryParams.returnUrl}}):this.nextButtonText=this.translate.instant(this.actor?.id?"NEXT":"CREATEACCOUNT"),this.setControlValues(this.actor)})}ngOnDestroy(){this.componentDestroyed.next(!0),this.componentDestroyed.complete()}setControlValues(i){const r=i?.identity?.name??null,e=i?.identity?.lastName??null,s=i.identity?.officialNumber??null,c=i?.communication?.methods?.find(R=>"email"===R.type)?.value??null;this.emailCommunicationId=i?.communication?.methods?.find(R=>"email"===R.type)?.id??null;const m=i?.communication?.methods?.find(R=>"mobile"===R.type)?.value??null;this.mobileCommunicationId=i?.communication?.methods?.find(R=>"mobile"===R.type)?.id??null;const x=i.identity?.allowRegistrationWithoutOfficialNumber??null,$=i.identity?.dateOfBirth??null,g=i.auth?.password??null;this.actorFormGroup=this.formBuilder.group({firstName:[{value:r.value??null,disabled:!r.editable},r.required?[o.k0.required,o.k0.maxLength(128),(0,I.f)()]:[(0,I.f)()]],lastName:[{value:e.value??null,disabled:!e.editable},e.required?[o.k0.required,o.k0.maxLength(128),(0,I.f)()]:[(0,I.f)()]],officialNumber:[{value:s.value??null,disabled:!s.editable},[o.k0.required,O.e.officialNumber("officialNumber")]],allowRegistrationWithoutOfficialNumber:[{value:null,disabled:!x||!$.editable}],emailAddress:[c??null,[o.k0.email,o.k0.required,o.k0.maxLength(128),(0,I.f)()]],mobilePhoneNumber:[m??null],previousPassword:[{value:null,disabled:!g.editable||!g.required}],password:[{value:null,disabled:!g.editable||!g.required},g.required?[o.k0.required,o.k0.maxLength(128)]:null],confirmPassword:[{value:null,disabled:!g.editable||!g.required},g.required?[o.k0.required,O.e.equalTo("password")]:null]})}continueClick(i){if(i&&i.valid){const r={identity:{type:i.controls.officialNumber.value?"person":null,name:this.actor.identity.name.editable?i.controls.firstName.value:null,lastName:this.actor.identity.lastName.editable?i.controls.lastName.value:null,officialNumber:!i.controls.allowRegistrationWithoutOfficialNumber.value&&this.actor.identity.officialNumber.editable?i.controls.officialNumber.value:null,officialNumberIssuer:!i.controls.allowRegistrationWithoutOfficialNumber.value&&this.actor.identity.officialNumberIssuer.editable&&i.controls.officialNumber.value?"se":null,dateOfBirth:i.controls.allowRegistrationWithoutOfficialNumber.value&&this.actor.identity.officialNumber.editable?$t(i.controls.officialNumber.value).utc(!0).toDate():null},communication:{methods:[{id:this.emailCommunicationId??null,type:"email",value:i.controls.emailAddress.value}]},auth:{password:i.controls.password.value}};(i.controls.mobilePhoneNumber.value||this.mobileCommunicationId)&&r.communication.methods.push({id:this.mobileCommunicationId??null,type:"mobile",value:i.controls.mobilePhoneNumber.value}),this.disableNextButton=!0,this.registrationService.postActor(r).pipe((0,nt.H)(e=>{let s=0;return this.signinService.authState.pipe((0,it.Q)(this.componentDestroyed),(0,rt.M)(c=>{if(!c&&s<3)this.signIn(e?.identifier),s+=1;else{const m=this.route.snapshot.queryParams.returnUrl||sessionStorage.getItem("RETURN_URL");this.router.navigate(["/registration/queue"],{queryParams:{returnUrl:m}}),this.menuService.refreshMenu()}}))}),(0,M.j)(()=>{this.disableNextButton=!1})).subscribe()}}allowRegistrationWithoutOfficialNumber(i){i.checked?(this.actorFormGroup.controls.officialNumber.clearValidators(),this.actorFormGroup.controls.officialNumber.setValidators([o.k0.required,o.k0.minLength(8),o.k0.maxLength(8),O.e.dateOfBirth("officialNumber")]),this.officialNumberLabel=this.translate.instant("DATEOFBIRTH"),this.invalidOfficalNumberLabel=this.translate.instant("INVALIDBIRTHDATE"),this.officialNumberPlaceholder=this.translate.instant("DATEOFBIRTHPLACEHOLDER")):(this.actorFormGroup.controls.officialNumber.clearValidators(),this.actorFormGroup.controls.officialNumber.setValidators([o.k0.required,O.e.officialNumber("officialNumber")]),this.officialNumberLabel=this.translate.instant("OFFICIALNUMBER"),this.invalidOfficalNumberLabel=this.translate.instant("INVALIDOFFICIALNUMBER"),this.officialNumberPlaceholder=this.translate.instant("OFFICIALNUMBERPLACEHOLDER")),this.actorFormGroup.controls.officialNumber.updateValueAndValidity()}signIn(i){this.signinService.startSignInProcess({method:"password",identifier:i,key:this.actorFormGroup.controls.password.value}).subscribe(e=>{e.completed?this.signinService.signIn(e.completed):e.redirect&&(window.location.href=e.redirect)})}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(t.zZn),t.rXU(o.ze),t.rXU(f.nX),t.rXU(b.f),t.rXU(f.Ix),t.rXU(v.c$),t.rXU(j.W),t.rXU(U.$))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-registration"]],standalone:!1,features:[t.Vt3],decls:52,vars:46,consts:[["passwordInput",""],["confirmPasswordInput",""],[1,"container"],[1,"centered"],[1,"sign-in"],["class","header-text mat-h1",4,"ngIf"],[3,"formGroup"],[1,"form-field"],["matInput","","data-mom-test","MinaSidor_Registrering_F\xf6rnamn","formControlName","firstName","autocomplete","given-name",3,"required"],[4,"ngIf"],["matInput","","data-mom-test","MinaSidor_Registrering_Efternamn","formControlName","lastName","autocomplete","family-name",3,"required"],["matInput","","data-mom-test","MinaSidor_Registrering_Personnummer","formControlName","officialNumber","required","","autocomplete","off",3,"placeholder"],["data-mom-test","MinaSidor_Registrering_Personnummer_Ogiltigt",4,"ngIf"],["class","checkbox-container",4,"ngIf"],["matInput","","data-mom-test","MinaSidor_Registrering_Epostadress","formControlName","emailAddress","type","email","required","","autocomplete","email"],["matInput","","data-mom-test","MinaSidor_Registrering_Mobilnummer","formControlName","mobilePhoneNumber","type","tel","pattern","[0-9 +\\-]+","autocomplete","tel"],[1,"action-button-container"],["data-mom-test","MinaSidor_Registrering_SkapaKonto","mat-raised-button","","color","primary",1,"action-button",2,"margin-top","6px",3,"click","disabled"],[1,"header-text","mat-h1"],["data-mom-test","MinaSidor_Registrering_Personnummer_Ogiltigt"],[1,"checkbox-container"],["color","primary","data-mom-test","MinaSidor_Registrering_EjSvensktPersonnummer","formControlName","allowRegistrationWithoutOfficialNumber",1,"allowRegistrationWithoutOfficialNumber",3,"change"],[1,"checkbox-label"],[1,"form-field","password"],["matInput","","data-mom-test","MinaSidor_Registrering_L\xf6senord","formControlName","password","type","password","minlength","10","maxlength","128","autocomplete","new-password",3,"required"],["matSuffix","",3,"input","input
1Label"],["matInput","","data-mom-test","MinaSidor_Registrering_Bekr\xe4ftaL\xf6senord","formControlName","confirmPassword","type","password","autocomplete","new-password",3,"required"]],template:function(r,e){1&r&&(t.j41(0,"div",2)(1,"div",3)(2,"div",4),t.DNE(3,mt,3,3,"h1",5)(4,ut,3,3,"h1",5),t.j41(5,"form",6)(6,"mat-form-field",7)(7,"mat-label"),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.nrm(10,"input",8),t.DNE(11,dt,3,3,"mat-error",9)(12,ft,3,5,"mat-error",9)(13,gt,3,6,"mat-error",9),t.k0s(),t.j41(14,"mat-form-field",7)(15,"mat-label"),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.nrm(18,"input",10),t.DNE(19,pt,3,3,"mat-error",9)(20,ht,3,5,"mat-error",9)(21,bt,3,6,"mat-error",9),t.k0s(),t.j41(22,"mat-form-field",7)(23,"mat-label"),t.EFF(24),t.k0s(),t.nrm(25,"input",11),t.DNE(26,Rt,3,3,"mat-error",9)(27,Ct,2,1,"mat-error",12)(28,vt,3,5,"mat-error",9)(29,It,3,5,"mat-error",9),t.k0s(),t.DNE(30,_t,5,3,"div",13),t.j41(31,"mat-form-field",7)(32,"mat-label"),t.EFF(33),t.nI1(34,"translate"),t.k0s(),t.nrm(35,"input",14),t.DNE(36,Mt,4,3,"mat-error",9)(37,Nt,3,3,"mat-error",9)(38,Ot,3,5,"mat-error",9)(39,Et,3,6,"mat-error",9),t.k0s(),t.j41(40,"mat-form-field",7)(41,"mat-label"),t.EFF(42),t.nI1(43,"translate"),t.k0s(),t.nrm(44,"input",15),t.DNE(45,Pt,3,3,"mat-error",9)(46,yt,3,5,"mat-error",9)(47,St,3,3,"mat-error",9),t.k0s(),t.DNE(48,xt,20,19,"div",9),t.j41(49,"div",16)(50,"button",17),t.bIt("click",function(){return e.continueClick(e.actorFormGroup)}),t.EFF(51),t.k0s()()()()()()),2&r&&(t.AVh("is-mobile",e.mediaQueryService.isMobile())("is-desktop",!e.mediaQueryService.isMobile()),t.R7$(2),t.AVh("mat-elevation-z2",!e.mediaQueryService.isMobile()),t.R7$(),t.Y8G("ngIf",(null==e.actor||null==e.actor.identity||null==e.actor.identity.officialNumber?null:e.actor.identity.officialNumber.value)||(null==e.actor||null==e.actor.identity||null==e.actor.identity.dateOfBirth?null:e.actor.identity.dateOfBirth.value)),t.R7$(),t.Y8G("ngIf",!(null!=e.actor&&null!=e.actor.identity&&null!=e.actor.identity.officialNumber&&e.actor.identity.officialNumber.value||null!=e.actor&&null!=e.actor.identity&&null!=e.actor.identity.dateOfBirth&&e.actor.identity.dateOfBirth.value)),t.R7$(),t.Y8G("formGroup",e.actorFormGroup),t.R7$(3),t.JRh(t.bMT(9,38,"FIRSTNAME")),t.R7$(2),t.Y8G("required",null==e.f.firstName.errors?null:e.f.firstName.errors.required),t.R7$(),t.Y8G("ngIf",e.f.firstName.invalid&&e.f.firstName.errors.required),t.R7$(),t.Y8G("ngIf",e.f.firstName.invalid&&e.f.firstName.errors.maxlength),t.R7$(),t.Y8G("ngIf",e.f.firstName.hasError("allowedCharacters")),t.R7$(3),t.JRh(t.bMT(17,40,"LASTNAME")),t.R7$(2),t.Y8G("required",null==e.f.lastName.errors?null:e.f.lastName.errors.required),t.R7$(),t.Y8G("ngIf",e.f.lastName.invalid&&e.f.lastName.errors.required),t.R7$(),t.Y8G("ngIf",e.f.lastName.invalid&&e.f.lastName.errors.maxlength),t.R7$(),t.Y8G("ngIf",e.f.lastName.hasError("allowedCharacters")),t.R7$(3),t.JRh(e.officialNumberLabel),t.R7$(),t.Y8G("placeholder",e.officialNumberPlaceholder),t.R7$(),t.Y8G("ngIf",e.f.officialNumber.invalid&&e.f.officialNumber.errors.required),t.R7$(),t.Y8G("ngIf",e.f.officialNumber.invalid&&!e.f.officialNumber.errors.minlength&&!e.f.officialNumber.errors.maxlength&&!e.f.officialNumber.errors.required),t.R7$(),t.Y8G("ngIf",e.f.officialNumber.invalid&&e.f.officialNumber.errors.minlength&&!e.f.officialNumber.errors.required),t.R7$(),t.Y8G("ngIf",e.f.officialNumber.invalid&&e.f.officialNumber.errors.maxlength&&!e.f.officialNumber.errors.required),t.R7$(),t.Y8G("ngIf",e.f.allowRegistrationWithoutOfficialNumber.enabled),t.R7$(3),t.JRh(t.bMT(34,42,"EMAILADDRESS")),t.R7$(3),t.Y8G("ngIf",e.f.emailAddress.invalid&&e.f.emailAddress.errors.email),t.R7$(),t.Y8G("ngIf",e.f.emailAddress.invalid&&e.f.emailAddress.errors.required),t.R7$(),t.Y8G("ngIf",e.f.emailAddress.invalid&&e.f.emailAddress.errors.maxlength),t.R7$(),t.Y8G("ngIf",e.f.emailAddress.hasError("allowedCharacters")),t.R7$(3),t.JRh(t.bMT(43,44,"MOBILEPHONENUMBER")),t.R7$(3),t.Y8G("ngIf",e.f.mobilePhoneNumber.invalid&&e.f.mobilePhoneNumber.errors.required),t.R7$(),t.Y8G("ngIf",e.f.mobilePhoneNumber.invalid&&e.f.mobilePhoneNumber.errors.maxlength),t.R7$(),t.Y8G("ngIf",!(e.f.mobilePhoneNumber.invalid&&e.f.mobilePhoneNumber.errors.required)),t.R7$(),t.Y8G("ngIf",e.f.password.enabled),t.R7$(2),t.Y8G("disabled",e.disableNextButton),t.R7$(),t.JRh(e.nextButtonText))},dependencies:[u.bT,N.$z,ot.fg,E.j,E.M,E.b,E.g,D.So,o.qT,o.me,o.BC,o.cb,o.YS,o.xh,o.tU,o.R_,o.j4,o.JD,at.l,v.D9],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;padding-bottom:env(safe-area-inset-bottom)}.centered[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:30px}.is-mobile[_ngcontent-%COMP%]   .centered[_ngcontent-%COMP%]{height:100%;margin-top:0}.container.is-desktop[_ngcontent-%COMP%]{margin-bottom:40px}.is-mobile[_nghost-%COMP%], .is-mobile   [_nghost-%COMP%]{background-color:#fff}.sign-in[_ngcontent-%COMP%]{display:flex;flex-direction:column}.is-desktop[_ngcontent-%COMP%]   .sign-in[_ngcontent-%COMP%]{border-radius:10px;padding:60px 80px;width:600px}.is-mobile[_ngcontent-%COMP%]   .sign-in[_ngcontent-%COMP%]{padding:40px;height:100%}.header-text[_ngcontent-%COMP%]{text-align:center;padding:20px;margin:0}.text[_ngcontent-%COMP%]{text-align:center;padding-top:10px;margin:0}.action-button[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}.is-mobile[_ngcontent-%COMP%]   .action-button[_ngcontent-%COMP%]{width:100%}.is-desktop[_ngcontent-%COMP%]   .action-button-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.spacer[_ngcontent-%COMP%]{flex:1 1 auto}.form-field[_ngcontent-%COMP%]{width:100%}.fill-space[_ngcontent-%COMP%]{display:flex;flex:1;align-items:flex-end}.full-width[_ngcontent-%COMP%]{width:100%}.checkbox-container[_ngcontent-%COMP%]{margin-bottom:20px}.checkbox-label[_ngcontent-%COMP%]{white-space:initial;font-size:.875rem}.form-field[_ngcontent-%COMP%]{margin-top:25px}"]})}}return n})();var L=a(7468),k=a(7673),F=a(6380),y=a(7342);let At=(()=>{class n{constructor(i,r,e,s,c){this.registrationService=i,this.errorService=r,this.userMessageService=e,this.router=s,this.signinService=c}resolve(){let i={};const r=this.registrationService.getActor();return i=this.signinService.isAuth?{actor:r,marketApplicant:this.registrationService.getMarketApplicant()}:{actor:r},(0,L.p)(i).pipe((0,C.W)(e=>{const s=this.errorService.parseError(e);return this.userMessageService.errorWithHeader(s.message,"",s.displayErrorReportNumber?s.errorReportNumber:""),this.router.navigateByUrl("/"),(0,k.of)(null)}))}static{this.\u0275fac=function(r){return new(r||n)(t.KVO(b.f),t.
1KVO(F.I),t.KVO(y.z),t.KVO(f.Ix),t.KVO(j.W))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Gt=(()=>{class n{constructor(i,r,e,s){this.registrationService=i,this.errorService=r,this.userMessageService=e,this.router=s}resolve(){return this.registrationService.getMarketApplicant().pipe((0,C.W)(i=>{const r=this.errorService.parseError(i);return this.userMessageService.errorWithHeader(r.message,"",r.displayErrorReportNumber?r.errorReportNumber:""),this.router.navigateByUrl("/"),(0,k.of)(null)}))}static{this.\u0275fac=function(r){return new(r||n)(t.KVO(b.f),t.KVO(F.I),t.KVO(y.z),t.KVO(f.Ix))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function qt(n,l){if(1&n&&(t.j41(0,"div",13),t.nrm(1,"taiga-markdown",12),t.k0s()),2&n){const i=l.$implicit;t.R7$(),t.Y8G("markdown",i.message)}}function jt(n,l){if(1&n&&(t.j41(0,"div",8)(1,"mat-checkbox",9),t.EFF(2),t.k0s(),t.DNE(3,qt,2,1,"div",10),t.j41(4,"div",11),t.nrm(5,"taiga-markdown",12),t.k0s()()),2&n){const i=l.$implicit,r=t.XpG
1();t.R7$(),t.Y8G("formControlName",i.id),t.R7$(),t.JRh(r.getFormControlLabel(i.id)),t.R7$(),t.Y8G("ngForOf",r.getRulesNotPassed(i.id)),t.R7$(2),t.Y8G("markdown",i.description)}}function Dt(n,l){if(1&n){const i=t.RV6();t.j41(0,"button",14),t.bIt("click",function(){t.eBV(i);const e=t.XpG();return t.Njj(e.continueClick())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"NEXT")))}const Lt=q;let wt=(()=>{class n extends d{get f(){return this.queuesFormGroup.controls}constructor(i,r,e,s,c,m){super(i),this.formBuilder=r,this.route=e,this.snackBarService=s,this.translate=c,this.router=m,this.formControlLabels=[],this.queuesUnableToJoin=[]}ngOnDestroy(){sessionStorage.removeItem("RETURN_URL")}ngOnInit(){if(this.preCheckedQueue=this.route.snapshot.queryParams.queuetype,!this.preCheckedQueue){const i=new URLSearchParams(this.route.snapshot.queryParams.returnUrl);this.preCheckedQueue=i.get("queuetype")}this.route.data.subscribe(i=>{if(this.queues=i?.marketApplicant?.queues,this.queuesFormGroup=this.formBuilder.group({}),this.queues){this.allQueuesJoined=!(this.queues.filter(r=>!r.isMember).length>0);for(const r of this.queues){let e,s=[];r.isMember||(s=r.commands?.find(m=>"join"===m.command)?.checklist.filter(m=>!1===m.passed&&"consent"!==m.type),e=0===s?.length,e||this.queuesUnableToJoin.push({queueId:r.id,rulesNotPassed:s})),this.queuesFormGroup.addControl(r.id,new o.hs({value:r.isMember||r.id===this.preCheckedQueue&&e,disabled:r.isMember||!e})),this.formControlLabels.push({id:r.id,displayName:r.displayName,joined:r.joined,canJoin:e,isMember:r.isMember})}}})}getFormControlLabel(i){const r=this.formControlLabels.find(c=>c.id===i),e=r.joined?` (${Lt(r.joined).utc(!0).format("YYYY-MM-DD")})`:"",s=r.canJoin||r.isMember?"":` (${this.translate.instant("CANNOTJOIN")})`;return r.displayName+e+s}getRulesNotPassed(i){return this.queuesUnableToJoin.find(e=>e.queueId===i)?.rulesNotPassed}continueClick(){if(this.checkedQueues=[],Object.keys(this.queuesFormGroup.controls).forEach(i=>{this.queuesFormGroup.controls[i].value&&!this.queuesFormGroup.controls[i].disabled&&this.checkedQueues.push({id:i,command:{type:"join"},displayName:this.getFormControlLabel(i)})}),this.checkedQueues&&this.checkedQueues.length>0){const i=this.route.snapshot.queryParams.returnUrl,r=this.checkedQueues.map(e=>e.id);this.router.navigate(["/registration/consent"],{state:{queues:this.checkedQueues},queryParams:{returnUrl:i,queues:r?.toString()}})}else this.snackBarService.info(this.translate.instant("ENTERATLEASTONEQUEUE"))}static{this.\u0275fac=function(r){return new(r||n)(t.rXU(t.zZn),t.rXU(o.ze),t.rXU(f.nX),t.rXU(y.z),t.rXU(v.c$),t.rXU(f.Ix))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-queue-registration"]],standalone:!1,features:[t.Vt3],decls:10,vars:14,consts:[[1,"container"],[1,"centered"],[1,"sign-in"],["data-mom-test","MinaSidor_K\xf6registrering_Rubrik",1,"header-text","mat-h1"],[3,"formGroup"],["class","checkbox-container",4,"ngFor","ngForOf"],[1,"action-button-container"],["class","action-button","style","margin-top: 6px;","data-mom-test","MinaSidor_K\xf6registrering_N\xe4sta","mat-raised-button","","color","primary",3,"click",4,"ngIf"],[1,"checkbox-container"],["color","primary","data-mom-test","MinaSidor_K\xf6registrering_K\xf6ruta",3,"formControlName"],["class","rules-not-passed mat-typography",4,"ngFor","ngForOf"],[1,"queue-description"],[3,"markdown"],[1,"rules-not-passed","mat-typography"],["data-mom-test","MinaSidor_K\xf6registrering_N\xe4sta","mat-raised-button","","color","primary",1,"action-button",2,"margin-top","6px",3,"click"]],template:function(r,e){1&r&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"form",4),t.DNE(7,jt,6,4,"div",5),t.j41(8,"div",6),t.DNE(9,Dt,3,3,"button",7),t.k0s()()()()()),2&r&&(t.AVh("is-mobile",e.mediaQueryService.isMobile())("is-desktop",!e.mediaQueryService.isMobile()),t.R7$(),t.AVh("is-mobile",e.mediaQueryService.isMobile()),t.R7$(),t.AVh("mat-elevation-z2",!e.mediaQueryService.isMobile()),t.R7$(2),t.SpI(" ",t.bMT(5,12,"QUEUEREGISTRATION")," "),t.R7$(2),t.Y8G("formGroup",e.queuesFormGroup),t.R7$(),t.Y8G("ngForOf",e.queues),t.R7$(2),t.Y8G("ngIf",!e.allQueuesJoined))},dependencies:[u.Sq,u.bT,N.$z,D.So,o.qT,o.BC,o.cb,o.j4,o.JD,G.N,v.D9],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;padding-bottom:env(safe-area-inset-bottom)}.centered[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:30px}.is-mobile[_ngcontent-%COMP%]   .centered[_ngcontent-%COMP%]{height:100%;margin-top:0}.container.is-desktop[_ngcontent-%COMP%]{margin-bottom:40px}.is-mobile[_nghost-%COMP%], .is-mobile   [_nghost-%COMP%]{background-color:#fff}.sign-in[_ngcontent-%COMP%]{display:flex;flex-direction:column}.is-desktop[_ngcontent-%COMP%]   .sign-in[_ngcontent-%COMP%]{border-radius:10px;padding:60px 80px;width:600px}.is-mobile[_ngcontent-%COMP%]   .sign-in[_ngcontent-%COMP%]{padding:40px;height:100%}.header-text[_ngcontent-%COMP%]{text-align:center;padding:20px;margin:0}.text[_ngcontent-%COMP%]{text-align:center;padding-top:10px;margin:0}.action-button[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}.is-mobile[_ngcontent-%COMP%]   .action-button[_ngcontent-%COMP%]{width:100%}.is-desktop[_ngcontent-%COMP%]   .action-button-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.spacer[_ngcontent-%COMP%]{flex:1 1 auto}.form-field[_ngcontent-%COMP%]{width:100%}.fill-space[_ngcontent-%COMP%]{display:flex;flex:1;align-items:flex-end}.full-width[_ngcontent-%COMP%]{width:100%}.checkbox-container[_ngcontent-%COMP%]{margin-bottom:20px}.is-mobile[_ngcontent-%COMP%]   .centered[_ngcontent-%COMP%]{align-items:initial}.rules-not-passed[_ngcontent-%COMP%]{font-style:italic}.rules-not-passed[_ngcontent-%COMP%], .queue-description[_ngcontent-%COMP%]{margin-top:10px}"]})}}return n})();var T=a(1336),Vt=a(1985),Bt=a(666);const Xt=[{path:"",component:Ut,canActivate:[(()=>{class n{constructor(i,r){this.registrationService=i,this.clientConfigurationService=r}canActivate(i){return new Vt.c(r=>{(0,L.p)([this.registrationService.getMarketApplicantStatus(),this.clientConfigurationService.getClientConfigurationFeatures()]).subscribe(e=>{r.next(e[0]?.canRegister&&e[1]?.applicantRegister?.enabled)})})}static{this.\u0275fac=function(r){return new(r||n)(t.KVO(b.f),t.
1KVO(Bt.t))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})()],resolve:{registrationData:At},title:"REGISTRATION"},{path:"queue",component:wt,canActivate:[T.q],resolve:{marketApplicant:Gt},title:"QUEUEREGISTRATION"},{path:"consent",component:H,canActivate:[T.q],resolve:{marketConsents:(()=>{class n{constructor(i,r,e,s){this.registrationService=i,this.errorService=r,this.userMessageService=e,this.router=s}resolve(i){return this.registrationService.getMarketObjectsConsents(null,i.queryParams.queues).pipe((0,C.W)(e=>{const s=this.errorService.parseError(e);return this.userMessageService.errorWithHeader(s.message,"",s.displayErrorReportNumber?s.errorReportNumber:""),this.router.navigateByUrl("/"),(0,k.of)(null)}))}static{this.\u0275fac=function(r){return new(r||n)(t.KVO(b.f),t.KVO(F.I),t.KVO(y.z),t.KVO(f.Ix))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})()},title:"CONSENTS"},{path:"completed",component:tt,canActivate:[T.q],title:"QUEUEREGISTRATIONSUCCESS"}];let Jt=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[p.iI.forChild(Xt),p.iI]})}}return n})();var Wt=a(5974);let Kt=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[u.MD,Jt,Wt.G]})}}return n})()}}]);

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.