1"use strict";(self.webpackChunkrademploy_web=self.webpackChunkrademploy_web||[]).push([[5224],{35224:(v,a,r)=>{r.r(a),r.d(a,{OptInContinueModule:()=>y});var u=r(60177),s=r(50580),n=r(17705),l=r(1152);function h(t,c){if(1&t&&(n.j41(0,"p",6),n.EFF(1),n.k0s()),2&t){const e=n.XpG(2);n.R7$(1),n.JRh(e.error)}}function g(t,c){1&t&&(n.j41(0,"p",7),n.EFF(1,"Taking you to the next step."),n.k0s())}function d(t,c){if(1&t&&(n.j41(0,"div",2)(1,"p",3),n.EFF(2),n.k0s(),n.DNE(3,h,2,1,"p",4),n.DNE(4,g,2,0,"p",5),n.k0s()),2&t){const e=n.XpG();n.R7$(2),n.JRh(e.message),n.R7$(1),n.Y8G("ngIf",e.error),n.R7$(1),n.Y8G("ngIf",!e.error)}}function f(t,c){if(1&t){const e=n.RV6();n.j41(0,"div",2)(1,"p",3),n.EFF(2,"Thank you for your submission"),n.k0s(),n.j41(3,"p",7),n.EFF(4," Your preferences have been saved. Sign in to continue to your radEmploy account. "),n.k0s(),n.j41(5,"button",8),n.bIt("click",function(){n.eBV(e);const o=n.XpG();return n.Njj(o.goToSignIn())}),n.EFF(6," Proceed to Sign In "),n.k0s()()}}const _=[{path:"",component:(()=>{class t{constructor(e,i,o){this.route=e,this.router=i,this.cs=o,this.message="Continuing\u2026",this.error="",this.showThankYou=!1,this.signinEmail=""}ngOnInit(){this.cs.nexthideHeader({page:"signup",value:!1});const e={...this.route.snapshot.queryParams||{}},i=String(e.email||e.email_address||"").trim();if(!i)return this.error="Missing email from the form redirect.",void(this.message="We could not continue.");this.cs.post("employee/1099-continue",e).subscribe({next:o=>{const p=o?.data||o,C=p?.destination,m=p?.query||{};if("signin"===C)return this.signinEmail=m.email||i,this.showThankYou=!0,void(this.message="Thank you for your submission");this.router.navigate(["/employees/signup"],{queryParams:m,replaceUrl:!0})},error:()=>{this.router.navigate(["/employees/signup"],{queryParams:{source:"1099",...e},replaceUrl:!0})}})}goToSignIn(){this.router.navigate(["/employees/signin"],{queryParams:this.signinEmail?{email:this.signinEmail}:{},replaceUrl:!0})}static{this.\u0275fac=function(i){return new(i||t)(n.rXU(s.nX),n.rXU(s.Ix),n.rXU(l.h))}}static{this.\u0275cmp=n.VBU({type:t,selectors:[["app-opt-in-continue"]],decls:3,vars:2,consts:[[1,"opt-in-continue"],["class","opt-in-continue__card",4,"ngIf"],[1,"opt-in-continue__card"],[1,"opt-in-continue__title"],["class","opt-in-continue__error",4,"ngIf"],["class","opt-in-continue__hint",4,"ngIf"],[1,"opt-in-continue__error"],[1,"opt-in-continue__hint"],["type","button",1,"opt-in-continue__cta",3,"click"]],template:function(i,o){1&i&&(n.j41(0,"div",0),n.DNE(1,d,5,3,"div",1),n.DNE(2,f,7,0,"div",1),n.k0s()),2&i&&(n.R7$(1),n.Y8G("ngIf",!o.showThankYou),n.R7$(1),n.Y8G("ngIf",o.showThankYou))},dependencies:[u.bT],styles:[".opt-in-continue[_ngcontent-%COMP%]{min-height:60vh;display:flex;align-items:center;justify-content:center;padding:2rem 1rem}.opt-in-continue__card[_ngcontent-%COMP%]{text-align:center;max-width:28rem}.opt-in-continue__title[_ngcontent-%COMP%]{margin:0;font-size:1.25rem;font-weight:600;color:#101828}.opt-in-continue__hint[_ngcontent-%COMP%]{margin:.75rem 0 0;color:#667085;line-height:1.5}.opt-in-continue__error[_ngcontent-%COMP%]{margin:.75rem 0 0;color:#b42318}.opt-in-continue__cta[_ngcontent-%COMP%]{margin-top:1.5rem;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 1.5rem;border:0;border-radius:8px;background:#1b75b9;color:#fff;font-size:.95rem;font-weight:600;cursor:pointer}.opt-in-continue__cta[_ngcontent-%COMP%]:hover{background:#16649e}"]})}}return t})()}];let y=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=n.$C({type:t})}static{this.\u0275inj=n.G2t({imports:[u.MD,s.iI.forChild(_)]})}}return t})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.