PageSourceSearch

https://minasidor.k2a.se/248.ad0a834fc06dfc43.js

js k2a.se collected 2026-10-02 06:20:24 UTC 38,675 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktaiga=self.webpackChunktaiga||[]).push([[248],{6248(B,k,a){a.d(k,{RegistrationModule:()=>Kt});var R=a(2200),p=a(8132),r=a(9417),C=a(9437),N=a(980),h=a(7052),Q=a(2043),t=a(3664),l=a(2615);let I=(()=>{class n{constructor(i){this.injector=i,this.mediaQueryService=this.injector.get(Q.M)}static{this.\u0275fac=function(o){return new(o||n)(t.rXU(l.zZn))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-registration-base"]],standalone:!1,decls:1,vars:0,template:function(o,e){1&o&&t.EFF(0,"NO UI HERE!")},encapsulation:2})}}return n})();var g=a(3527),d=a(8793),_=a(8834),X=a(450),P=a(7201),v=a(8018);const J=n=>({ids:n});function Y(n,c){if(1&n&&(t.j41(0,"mat-slide-toggle",11),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 W(n,c){if(1&n&&(t.j41(0,"div")(1,"h2",9),t.EFF(2),t.k0s(),t.nrm(3,"p",10),t.nVh(4,Y,3,4,"mat-slide-toggle",11),t.k0s()),2&n){const i=c.$implicit;t.R7$(2),t.JRh(i.displayName),t.R7$(),t.Y8G("innerText",i.shortText),t.R7$(),t.vxM(i.needAcceptance?4:-1)}}function H(n,c){if(1&n&&(t.j41(0,"div",6)(1,"a",12),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n){const i=t.XpG(2);t.R7$(),t.Y8G("routerLink",t.mNQ(i.consentsLink))("queryParams",t.eq3(6,J,i.consentIds)),t.R7$(),t.JRh(t.bMT(3,4,"READMORE"))}}function z(n,c){if(1&n){const i=t.RV6();t.j41(0,"form",4),t.Z7z(1,W,5,3,"div",null,t.fX1),t.nVh(3,H,4,8,"div",6),t.j41(4,"div",7)(5,"button",8),t.bIt("click",function(){l.eBV(i);const e=t.XpG();return l.Njj(e.continueClick())}),t.EFF(6),t.nI1(7,"translate"),t.k0s()()()}if(2&n){const i=t.XpG();t.Y8G("formGroup",i.consentFormGroup),t.R7$(),t.Dyx(null==i.marketConsents?null:i.marketConsents.items),t.R7$(2),t.vxM(i.showReadMore?3:-1),t.R7$(2),t.Y8G("disabled",!i.consentFormGroup.valid||i.disableNextbutton),t.R7$(),t.SpI(" ",t.bMT(7,4,"NEXT")," ")}}function K(n,c){1&n&&(t.j41(0,"p",5),t.EFF(1,"Du har inte valt n\xe5gon k\xf6"),t.k0s())}let Z=(()=>{class n extends I{constructor(i,o,e,s,u){super(i),this.formBuilder=o,this.registrationService=e,this.router=s,this.route=u,this.consentsLink=`${h.i.READCONSENTS}`,this.queues=[]}ngOnInit(){const i=this.route.snapshot.queryParams.queues;if(i)for(const o of i.split(","))this.queues.push({id:o,command:{type:"join"}});this.route.data.subscribe(o=>{if(this.marketConsents=o?.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 r.hs(null,r.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(o=>o.needAcceptance);if(i.length>0){const o={consents:[]};for(const e of i)o.consents.push({id:e.id,versionId:e.versionId,command:{type:"accept"}});this.disableNextbutton=!0,this.registrationService.postActor(o).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,N.j)(()=>{this.disableNextbutton=!1})).subscribe(()=>{const o=this.route.snapshot.queryParams.returnUrl,e=this.queues.map(s=>s.id);this.router.navigate(["/registration/completed"],{state:{queues:this.queues},queryParams:{returnUrl:o,queues:e.toString()}})})}static{this.\u0275fac=function(o){return new(o||n)(t.rXU(l.zZn),t.rXU(r.ze),t.rXU(g.f),t.rXU(d.Ix),t.rXU(d.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-consent"]],standalone:!1,features:[t.Vt3],decls:9,vars:11,consts:[[1,"container"],[1,"centered"],[1,"sign-in"],["data-mom-test","MyPages_Registration_Consent_Title",1,"header-text","mat-h1"],[3,"formGroup"],[1,"mat-typography"],[1,"link-container"],[1,"action-button-container"],["data-mom-test","MyPages_Registration_Consent_Save","matButton","filled","color","primary",1,"action-button",2,"margin-top","20px",3,"click","disabled"],[1,"mat-h2"],[1,"consent-text","mat-typography",3,"innerText"],["required","","data-mom-test","MyPages_Registration_Consent_Slider",1,"slide",3,"formControlName"],[1,"link","mat-typography",3,"routerLink","queryParams"]],template:function(o,e){1&o&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.nrm(6,"taiga-page-cards"),t.nVh(7,z,8,6,"form",4),t.nVh(8,K,2,0,"p",5),t.k0s()()()),2&o&&(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$(3),t.vxM(e.queues?7:-1),t.R7$(),t.vxM(e.queues?-1:8))},dependencies:[p.Wk,_.$z,X.sG,r.qT,r.BC,r.cb,r.YS,r.j4,r.JD,P.K,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 j=a(9297),q=a(3902),V=a(6112);function tt(n,c){if(1&n&&(t.j41(0,"mat-list-item",5),t.EFF(1),t.k0s()),2&n){const i=c.$implicit;t.R7$(),t.JRh(null==i?null:i.displayName)}}function et(n,c){if(1&n){const i=t.RV6();t.j41(0,"div",6)(1,"button",7),t.bIt("click",function(){l.eBV(i);const e=t.XpG();return l.Njj(e.finish())}),t.EFF(2),t.nI1(3,"translate"),t.k0s()()}2&n&&(t.R7$(2),t.SpI(" ",t.bMT(3,1,"OK")," "))}let nt=(()=>{class n extends I{constructor(i,o,e,s,u){super(i),this.router=o,this.route=e,this.registrationService=s,this.menuService=u,this.queues=[]}
1ngOnInit(){this.returnUrl=this.route.snapshot.queryParams.returnUrl,this.route.snapshot.queryParams.queues?this.registrationService.getMarketApplicantStatus().subscribe(i=>{for(const o of this.route.snapshot.queryParams.queues?.split(",")){const e=i?.queues?.find(s=>s.id===o);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(o){return new(o||n)(t.rXU(l.zZn),t.rXU(d.Ix),t.rXU(d.nX),t.rXU(g.f),t.rXU(j.$))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-registration-completed"]],standalone:!1,features:[t.Vt3],decls:14,vars:13,consts:[[1,"container"],[1,"centered"],[1,"sign-in"],["data-mom-test","MyPages_Registration_ConfirmationMessage",1,"header-text","mat-h1"],[3,"markdown"],["role","list","role","listitem"],[1,"action-button-container"],["data-mom-test","MyPages_Registration_Confirmation_DoneButton","mat-raised-button","","color","primary",1,"action-button",2,"margin-top","20px",3,"click"]],template:function(o,e){1&o&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.nrm(6,"taiga-page-cards"),t.j41(7,"form"),t.nrm(8,"taiga-markdown",4),t.nI1(9,"translate"),t.j41(10,"mat-list"),t.Z7z(11,tt,2,1,"mat-list-item",5,t.fX1),t.k0s(),t.nVh(13,et,4,3,"div",6),t.k0s()()()()),2&o&&(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,"QUEUEREGISTRATIONSUCCESS")," "),t.R7$(4),t.Y8G("markdown",t.bMT(9,11,"QUEUESREGISTEREDINFO")),t.R7$(3),t.Dyx(e.queues),t.R7$(2),t.vxM(e.returnUrl?13:-1))},dependencies:[q.jt,q.YE,_.$z,r.qT,r.cb,r.cV,V.N,P.K,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),M=a(1585),w=a(7586),it=a(1413),ot=a(274),rt=a(6977),at=a(8141),L=a(8875),st=a(100),y=a(9588),D=a(2765),lt=a(1163);const x=()=>({maxlength:"128"}),T=n=>({invalidChars:n}),ct=()=>({minlength:"8"}),ut=()=>({maxlength:"8"}),mt=()=>({minlength:"10"});function dt(n,c){1&n&&(t.j41(0,"h1",5),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"VERIFYYOURINFO")," "))}function ft(n,c){1&n&&(t.j41(0,"h1",5),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"REGISTER")," "))}function pt(n,c){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,c){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,x))," "))}function gt(n,c){if(1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){let i;const o=t.XpG();
1t.R7$(),t.SpI(" ",t.i5U(2,1,"INVALIDCHARACTERS",t.eq3(4,T,null==(i=o.f.firstName.getError("allowedCharacters"))?null:i.invalidChars))," ")}}function bt(n,c){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,c){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,x))," "))}function vt(n,c){if(1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){let i;const o=t.XpG();t.R7$(),t.SpI(" ",t.i5U(2,1,"INVALIDCHARACTERS",t.eq3(4,T,null==(i=o.f.lastName.getError("allowedCharacters"))?null:i.invalidChars))," ")}}function Rt(n,c){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 Mt(n,c){if(1&n&&(t.j41(0,"mat-error",12),t.EFF(1),t.k0s()),2&n){const i=t.XpG();t.R7$(),t.SpI(" ",i.invalidOfficalNumberLabel," ")}}function Nt(n,c){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 It(n,c){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,ut))," "))}function _t(n,c){if(1&n){const i=t.RV6();t.j41(0,"div",13)(1,"mat-checkbox",18),t.bIt("change",function(e){l.eBV(i);const s=t.XpG();return l.Njj(s.allowRegistrationWithoutOfficialNumber(e))}),t.j41(2,"div",19),t.EFF(3),t.nI1(4,"translate"),t.k0s()()()}2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"MISSINGOFFICIALNUMBER")))}function Pt(n,c){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 Ot(n,c){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,c){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,x))," "))}function xt(n,c){if(1&n&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){let i;const o=t.XpG();t.R7$(),t.SpI(" ",t.i5U(2,1,"INVALIDCHARACTERS",t.eq3(4,T,null==(i=o.f.emailAddress.getError("allowedCharacters"))?null:i.invalidChars))," ")}}function Et(n,c){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 kt(n,c){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,x))," "))}function Tt(n,c){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 St(n,c){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,c){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,mt))," "))}function $t(n,c){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 Ut(n,c){if(1&n&&(t.j41(0,"div")(1,"mat-form-field",20)(2,"mat-label"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.nrm(5,"input",21,0)(7,"taiga-password-input-type-toggle",22),t.nI1(8,"translate"),t.nVh(9,St,3,3,"mat-error"),t.nVh(10,Ft,3,5,"mat-error"),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",23,1)(17,"taiga-password-input-type-toggle",22),t.nI1(18,"translate"),t.nVh(19,$t,3,3,"mat-error"),t.k0s()()),2&n){const i=t.sdS(6),o=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.vxM(e.f.password.invalid&&e.f.password.errors.required?9:-1),t.R7$(),t.vxM(e.f.password.invalid&&e.f.password.errors.minlength?10:-1),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",o)("inputLabel",t.bMT(18,17,"CONFIRMPASSWORD")),t.R7$(2),t.vxM(e.f.confirmPassword.invalid?19:-1)}}const At=w;let jt=(()=>{class n extends I{get f(){return this.actorFormGroup.controls}constructor(i,o,e,s,u,m,U,A){super(i),this.formBuilder=o,this.route=e,this.registrationService=s,this.router=u,this.translate=m,this.signinService=U,this.menuService=A,this.componentDestroyed=new it.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 o=i?.identity?.name??null,e=i?.identity?.lastName??null,s=i.identity?.officialNumber??null,u=i?.communication?.methods?.find(b=>"email"===b.type)?.value??null;this.emailCommunicationId=i?.communication?.methods?.find(b=>"email"===b.type)?.id??null;const m=i?.communication?.methods?.find(b=>"mobile"===b.type)?.value??null;this.mobileCommunicationId=i?.communication?.methods?.find(b=>"mobile"===b.type)?.id??null;const U=i.identity?.allowRegistrationWithoutOfficialNumber??null,A=i.identity?.dateOfBirth??null,f=i.auth?.password??null;this.actorFormGroup=this.formBuilder.group({firstName:[{value:o.value??null,disabled:!o.editable},o.required?[r.k0.required,r.k0.maxLength(128),(0,M.f)()]:[(0,M.f)()]],lastName:[{value:e.value??null,disabled:!e.editable},e.required?[r.k0.required,r.k0.maxLength(128),(0,M.f)()]:[(0,M.f)()]],officialNumber:[{value:s.value??null,disabled:!s.editable},[r.k0.required,O.e.officialNumber("officialNumber")]],allowRegistrationWithoutOfficialNumber:[{value:null,disabled:!U||!A.editable}],emailAddress:[u??null,[r.k0.email,r.k0.required,r.k0.maxLength(128),(0,M.f)()]],mobilePhoneNumber:[m??null],previousPassword:[{value:null,disabled:!f.editable||!f.required}],password:[{value:null,disabled:!f.editable||!f.required},f.required?[r.k0.required,r.k0.maxLength(128)]:null],confirmPassword:[{value:null,disabled:!f.editable||!f.required},f.required?[r.k0.required,O.e.equalTo("password")]:null]})}continueClick(i){if(i&&i.valid){const o={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?At(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)&&o.communication.methods.push({id:this.mobileCommunicationId??null,type:"mobile",value:i.controls.mobilePhoneNumber.value}),this.disableNextButton=!0,this.registrationService.postActor(o).pipe((0,ot.H)(e=>{let s=0;return this.signinService.authState.pipe((0,rt.Q)(this.componentDestroyed),(0,at.M)(u=>{if(!u&&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,N.j)(()=>{this.disableNextButton=!1})).subscribe()}}allowRegistrationWithoutOfficialNumber(i){i.checked?(this.actorFormGroup.controls.officialNumber.clearValidators(),this.actorFormGroup.controls.officialNumber.setValidators([r.k0.required,r.k0.minLength(8),r.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([r.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(o){return new(o||n)(t.rXU(l.zZn),t.rXU(r.ze),t.rXU(d.nX),t.rXU(g.f),t.rXU(d.Ix),t.rXU(v.c$),t.rXU(L.W),t.rXU(j.$))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-registration"]],standalone:!1,features:[t.Vt3],decls:53,vars:46,consts:[["passwordInput",""],["confirmPasswordInput",""],[1,"container"],[1,"centered"],[1,"sign-in"],[1,"header-text","mat-h1"],[3,"formGroup"],[1,"form-field"],["matInput","","data-mom-test","MyPages_Registration_FirstName","formControlName","firstName","autocomplete","given-name",3,"required"],[4,"ngIf"],["matInput","","data-mom-test","MyPages_Registration_LastName","formControlName","lastName","autocomplete","family-name",3,"required"],["matInput","","data-mom-test","MyPages_Registration_PersonalNumber","formControlName","officialNumber","required","","autocomplete","off",3,"placeholder"],["data-mom-test","MyPages_Registration_PersonalNumber_Invalid"],[1,"checkbox-container"],["matInput","","data-mom-test","MyPages_Registration_Email","formControlName","emailAddress","type","email","required","","autocomplete","email"],["matInput","","data-mom-test","MyPages_Registration_MobileNumber","formControlName","mobilePhoneNumber","type","tel","pattern","[0-9 +\\-]+","autocomplete","tel"],[1,"action-button-container"],["data-mom-test","MyPages_Registration_CreateAccount","mat-raised-button","","color","primary",1,"action-button",2,"margin-top","6px",3,"click","disabled"],["color","primary","data-mom-test","MyPages_Registration_NoSwedishPersonalNumber","formControlName","allowRegistrationWithoutOfficialNumber",1,"allowRegistrationWithoutOfficialNumber",3,"change"],[1,"checkbox-label"],[1,"form-field","password"],["matInput","","data-mom-test","MyPages_Registration_Password","formControlName","password","type","password","minlength","10","maxlength","128","autocomplete","new-password",3,"required"],["matSuffix","",3,"input","input
1Label"],["matInput","","data-mom-test","MyPages_Registration_ConfirmPassword","formControlName","confirmPassword","type","password","autocomplete","new-password",3,"required"]],template:function(o,e){1&o&&(t.j41(0,"div",2)(1,"div",3)(2,"div",4),t.nVh(3,dt,3,3,"h1",5),t.nVh(4,ft,3,3,"h1",5),t.nrm(5,"taiga-page-cards"),t.j41(6,"form",6)(7,"mat-form-field",7)(8,"mat-label"),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.nrm(11,"input",8),t.nVh(12,pt,3,3,"mat-error"),t.nVh(13,ht,3,5,"mat-error"),t.DNE(14,gt,3,6,"mat-error",9),t.k0s(),t.j41(15,"mat-form-field",7)(16,"mat-label"),t.EFF(17),t.nI1(18,"translate"),t.k0s(),t.nrm(19,"input",10),t.nVh(20,bt,3,3,"mat-error"),t.nVh(21,Ct,3,5,"mat-error"),t.DNE(22,vt,3,6,"mat-error",9),t.k0s(),t.j41(23,"mat-form-field",7)(24,"mat-label"),t.EFF(25),t.k0s(),t.nrm(26,"input",11),t.nVh(27,Rt,3,3,"mat-error"),t.nVh(28,Mt,2,1,"mat-error",12),t.nVh(29,Nt,3,5,"mat-error"),t.nVh(30,It,3,5,"mat-error"),t.k0s(),t.nVh(31,_t,5,3,"div",13),t.j41(32,"mat-form-field",7)(33,"mat-label"),t.EFF(34),t.nI1(35,"translate"),t.k0s(),t.nrm(36,"input",14),t.nVh(37,Pt,4,3,"mat-error"),t.nVh(38,Ot,3,3,"mat-error"),t.nVh(39,yt,3,5,"mat-error"),t.DNE(40,xt,3,6,"mat-error",9),t.k0s(),t.j41(41,"mat-form-field",7)(42,"mat-label"),t.EFF(43),t.nI1(44,"translate"),t.k0s(),t.nrm(45,"input",15),t.nVh(46,Et,3,3,"mat-error"),t.nVh(47,kt,3,5,"mat-error"),t.nVh(48,Tt,3,3,"mat-error"),t.k0s(),t.nVh(49,Ut,20,19,"div"),t.j41(50,"div",16)(51,"button",17),t.bIt("click",function(){return e.continueClick(e.actorFormGroup)}),t.EFF(52),t.k0s()()()()()()),2&o&&(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.vxM(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?3:-1),t.R7$(),t.vxM(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?-1:4),t.R7$(2),t.Y8G("formGroup",e.actorFormGroup),t.R7$(3),t.JRh(t.bMT(10,38,"FIRSTNAME")),t.R7$(2),t.Y8G("required",null==e.f.firstName.errors?null:e.f.firstName.errors.required),t.R7$(),t.vxM(e.f.firstName.invalid&&e.f.firstName.errors.required?12:-1),t.R7$(),t.vxM(e.f.firstName.invalid&&e.f.firstName.errors.maxlength?13:-1),t.R7$(),t.Y8G("ngIf",e.f.firstName.hasError("allowedCharacters")),t.R7$(3),t.JRh(t.bMT(18,40,"LASTNAME")),t.R7$(2),t.Y8G("required",null==e.f.lastName.errors?null:e.f.lastName.errors.required),t.R7$(),t.vxM(e.f.lastName.invalid&&e.f.lastName.errors.required?20:-1),t.R7$(),t.vxM(e.f.lastName.invalid&&e.f.lastName.errors.maxlength?21:-1),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.vxM(e.f.officialNumber.invalid&&e.f.officialNumber.errors.required?27:-1),t.R7$(),t.vxM(!e.f.officialNumber.invalid||e.f.officialNumber.errors.minlength||e.f.officialNumber.errors.maxlength||e.f.officialNumber.errors.required?-1:28),t.R7$(),t.vxM(e.f.officialNumber.invalid&&e.f.officialNumber.errors.minlength&&!e.f.officialNumber.errors.required?29:-1),t.R7$(),t.vxM(e.f.officialNumber.invalid&&e.f.officialNumber.errors.maxlength&&!e.f.officialNumber.errors.required?30:-1),t.R7$(),t.vxM(e.f.allowRegistrationWithoutOfficialNumber.enabled?31:-1),t.R7$(3),t.JRh(t.bMT(35,42,"EMAILADDRESS")),t.R7$(3),t.vxM(e.f.emailAddress.invalid&&e.f.emailAddress.errors.email?37:-1),t.R7$(),t.vxM(e.f.emailAddress.invalid&&e.f.emailAddress.errors.required?38:-1),t.R7$(),t.vxM(e.f.emailAddress.invalid&&e.f.emailAddress.errors.maxlength?39:-1),t.R7$(),t.Y8G("ngIf",e.f.emailAddress.hasError("allowedCharacters")),t.R7$(3),t.JRh(t.bMT(44,44,"MOBILEPHONENUMBER")),t.R7$(3),t.vxM(e.f.mobilePhoneNumber.invalid&&e.f.mobilePhoneNumber.errors.required?46:-1),t.R7$(),t.vxM(e.f.mobilePhoneNumber.invalid&&e.f.mobilePhoneNumber.errors.maxlength?47:-1),t.R7$(),t.vxM(e.f.mobilePhoneNumber.invalid&&e.f.mobilePhoneNumber.errors.required?-1:48),t.R7$(),t.vxM(e.f.password.enabled?49:-1),t.R7$(2),t.Y8G("disabled",e.disableNextButton),t.R7$(),t.SpI(" ",e.nextButtonText," "))},dependencies:[R.bT,_.$z,st.fg,y.rl,y.nJ,y.TL,y.yw,D.So,r.qT,r.me,r.BC,r.cb,r.YS,r.xh,r.tU,r.R_,r.j4,r.JD,lt.l,P.K,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 G=a(7468),S=a(7673),F=a(6380),E=a(7342);let qt=(()=>{class n{constructor(i,o,e,s,u){this.registrationService=i,this.errorService=o,this.userMessageService=e,this.router=s,this.signinService=u}resolve(){let i={};const o=this.registrationService.getActor();return i=this.signinService.isAuth?{actor:o,marketApplicant:this.registrationService.getMarketApplicant()}:{actor:o},(0,G.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,S.of)(null)}))}static{this.\u0275fac=function(o){return new(o||n)(l.KVO(g.f),l.KVO(F.I),l.KVO(E.z),l.KVO(d.Ix),l.KVO(L.W))}}static{this.\u0275prov=l.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Vt=(()=>{class n{constructor(i,o,e,s){this.registrationService=i,this.errorService=o,this.userMessageService=e,this.router=s}resolve(){return this.registrationService.getMarketApplicant().pipe((0,C.W)(i=>{const o=this.errorService.parseError(i);return this.userMessageService.errorWithHeader(o.message,"",o.displayErrorReportNumber?o.errorReportNumber:""),this.router.navigateByUrl("/"),(0,S.of)(null)}))}static{this.\u0275fac=function(o){return new(o||n)(l.KVO(g.f),l.KVO(F.I),l.KVO(E.z),l.KVO(d.Ix))}}static{this.\u0275prov=l.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function wt(n,c){if(1&n&&(t.j41(0,"div",9),t.nrm(1,"taiga-markdown",11),t.k0s()),2&n){const i=c.$implicit;t.R7$(),t.Y8G("markdown",i.message)}}function Lt(n,c){if(1&n&&(t.j41(0,"div",5)(1,"mat-checkbox",8),t.EFF(2),t.k0s(),t.Z7z(3,wt,2,1,"div",9,t.fX1),t.j41(5,"div",10),t.nrm(6,"taiga-markdown",11),t.k0s()()),2&n){const i=c.$implicit,o=t.XpG();t.R7$(),t.Y8G("formControlName",i.id),t.R7$(),t.JRh(o.getFormControl
1Label(i.id)),t.R7$(),t.Dyx(o.getRulesNotPassed(i.id)),t.R7$(3),t.Y8G("markdown",i.description)}}function Dt(n,c){if(1&n){const i=t.RV6();t.j41(0,"button",12),t.bIt("click",function(){l.eBV(i);const e=t.XpG();return l.Njj(e.continueClick())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"NEXT")," "))}const Gt=w;let Bt=(()=>{class n extends I{get f(){return this.queuesFormGroup.controls}constructor(i,o,e,s,u,m){super(i),this.formBuilder=o,this.route=e,this.snackBarService=s,this.translate=u,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(o=>!o.isMember).length>0);for(const o of this.queues){let e,s=[];o.isMember||(s=o.commands?.find(m=>"join"===m.command)?.checklist.filter(m=>!1===m.passed&&"consent"!==m.type),e=0===s?.length,e||this.queuesUnableToJoin.push({queueId:o.id,rulesNotPassed:s})),this.queuesFormGroup.addControl(o.id,new r.hs({value:o.isMember||o.id===this.preCheckedQueue&&e,disabled:o.isMember||!e})),this.formControlLabels.push({id:o.id,displayName:o.displayName,joined:o.joined,canJoin:e,isMember:o.isMember})}}})}getFormControlLabel(i){const o=this.formControlLabels.find(u=>u.id===i),e=o.joined?` (${Gt(o.joined).utc(!0).format("YYYY-MM-DD")})`:"",s=o.canJoin||o.isMember?"":` (${this.translate.instant("CANNOTJOIN")})`;return o.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,o=this.checkedQueues.map(e=>e.id);this.router.navigate(["/registration/consent"],{state:{queues:this.checkedQueues},queryParams:{returnUrl:i,queues:o?.toString()}})}else this.snackBarService.info(this.translate.instant("ENTERATLEASTONEQUEUE"))}static{this.\u0275fac=function(o){return new(o||n)(t.rXU(l.zZn),t.rXU(r.ze),t.rXU(d.nX),t.rXU(E.z),t.rXU(v.c$),t.rXU(d.Ix))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["taiga-queue-registration"]],standalone:!1,features:[t.Vt3],decls:12,vars:13,consts:[[1,"container"],[1,"centered"],[1,"sign-in"],["data-mom-test","MyPages_QueueRegistration_Title",1,"header-text","mat-h1"],[3,"formGroup"],[1,"checkbox-container"],[1,"action-button-container"],["data-mom-test","MyPages_QueueRegistration_Next","matButton","filled","color","primary",1,"action-button",2,"margin-top","6px"],["color","primary","data-mom-test","MyPages_QueueRegistration_QueueCheckbox",3,"formControlName"],[1,"rules-not-passed","mat-typography"],[1,"queue-description"],[3,"markdown"],["data-mom-test","MyPages_QueueRegistration_Next","matButton","filled","color","primary",1,"action-button",2,"margin-top","6px",3,"click"]],template:function(o,e){1&o&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.nrm(6,"taiga-page-cards"),t.j41(7,"form",4),t.Z7z(8,Lt,7,3,"div",5,t.fX1),t.j41(10,"div",6),t.nVh(11,Dt,3,3,"button",7),t.k0s()()()()()),2&o&&(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,11,"QUEUEREGISTRATION")," "),t.R7$(3),t.Y8G("formGroup",e.queuesFormGroup),t.R7$(),t.Dyx(e.queues),t.R7$(3),t.vxM(e.allQueuesJoined?-1:11))},dependencies:[_.$z,D.So,r.qT,r.BC,r.cb,r.j4,r.JD,V.N,P.K,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 $=a(1336),Qt=a(1985),Xt=a(666);const Wt=[{path:"",component:jt,canActivate:[(()=>{class n{constructor(i,o){this.registrationService=i,this.clientConfigurationService=o}canActivate(i){return new Qt.c(o=>{(0,G.p)([this.registrationService.getMarketApplicantStatus(),this.clientConfigurationService.getClientConfigurationFeatures()]).subscribe(e=>{o.next(e[0]?.canRegister&&e[1]?.applicantRegister?.enabled)})})}static{this.\u0275fac=function(o){return new(o||n)(l.KVO(g.f),l.KVO(Xt.t))}}static{this.\u0275prov=l.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})()],resolve:{registrationData:qt},title:"REGISTRATION"},{path:"queue",component:Bt,canActivate:[$.q],resolve:{marketApplicant:Vt},title:"QUEUEREGISTRATION"},{path:"consent",component:Z,canActivate:[$.q],resolve:{marketConsents:(()=>{class n{constructor(i,o,e,s){this.registrationService=i,this.errorService=o,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,S.of)(null)}))}static{this.\u0275fac=function(o){return new(o||n)(l.KVO(g.f),l.KVO(F.I),l.KVO(E.z),l.KVO(d.Ix))}}static{this.\u0275prov=l.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})()},title:"CONSENTS"},{path:"completed",component:nt,canActivate:[$.q],title:"QUEUEREGISTRATIONSUCCESS"}];let Ht=(()=>{class n{static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=l.G2t({imports:[p.iI.forChild(Wt),p.iI]})}}return n})();var zt=a(9963);let Kt=(()=>{class n{static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=l.G2t({imports:[R.MD,Ht,zt.G]})}}return n})()},1336(B,k,a){a.d(k,{q:()=>N});var R=a(7052),p=a(2615),r=a(8875),C=a(8793);let N=(()=>{class h{constructor(t,l){this.signInService=t,this.router=l,this.homeLink=`${R.i.HOME}`,this.signInLink=`${R.t.SIGN_IN}`}canActivate(t,l){return this.signInService.routerStateUrl=l.url||this.homeLink,!!(this.signInService&&this.signInService.isAuth||this.signInService.isRefreshTokenValid)||(this.router.navigate([this.signInLink],{queryParams:{returnUrl:l.url||this.homeLink}}),!1)}static{this.\u0275fac=function(l){return new(l||h)(p.KVO(r.W),p.KVO(C.Ix))}}static{this.\u0275prov=p.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()}}]);

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.