1import{a as Q,b as K}from"./chunk-4ETIII4F.js";import"./chunk-7D5XL23U.js";import{a as _}from"./chunk-KKFKD2YF.js";import"./chunk-GACJENH5.js";import"./chunk-2AKWCNBH.js";import"./chunk-S7WHITMA.js";import"./chunk-WU4VUYZJ.js";import"./chunk-SR75RRWM.js";import"./chunk-HPWRX2NO.js";import"./chunk-BX7UF2LU.js";import"./chunk-PPH3D4V4.js";import"./chunk-4YWKCJ66.js";import"./chunk-EFKHRZC2.js";import{a as G}from"./chunk-BBYYOJ67.js";import{a as j}from"./chunk-FD5LYSJ6.js";import{a as H}from"./chunk-TS2NXFMZ.js";import"./chunk-UCMGLQ4A.js";import"./chunk-TUDQY2UC.js";import"./chunk-XX5OH7NZ.js";import"./chunk-Z4IR2JPX.js";import{B as L,C as q,g as x,j as z,o as F,v as N}from"./chunk-L5KYRCE2.js";import{a as O}from"./chunk-JHAFHRUN.js";import"./chunk-AFUKTT5J.js";import"./chunk-ASBZ7FIU.js";import"./chunk-IKPCAQUT.js";import"./chunk-VHPPFYOQ.js";import"./chunk-P25HZZAX.js";import"./chunk-EZ4VUNRI.js";import"./chunk-J4RCXDYQ.js";import"./chunk-IVXUHL3V.js";import{d as h,e as T}from"./chunk-QE242Y5W.js";import"./chunk-O7ASEO4K.js";import{$b as b,Ba as A,Fc as R,K as P,Sc as t,Tc as i,Vb as g,Wb as p,Xa as E,Xb as m,Yb as v,Zb as y,_b as C,bb as e,cd as M,ec as D,fc as c,ga as w,pb as S,pc as V,qc as I,ub as B,wc as o,xc as u,yc as s}from"./chunk-7QO5KFNJ.js";import{a as k}from"./chunk-RGO6UA7O.js";var W=(()=>{class n{static \u0275fac=function(a){return new(a||n)};static \u0275cmp=S({type:n,selectors:[["app-corporate-terms-view"]],decls:14,vars:12,consts:[[1,"terms-color"],["data-testid","terms1",3,"innerHTML"],["data-testid","terms2"],["data-testid","termsGoodLuck"],["data-testid","termsFootnote",1,"footnote"]],template:function(a,r){a&1&&(y(0,"span",0),b(1,"p",1),t(2,"translate"),y(3,"p",2),o(4),t(5,"translate"),C()(),b(6,"br"),y(7,"em",3),o(8),t(9,"translate"),C(),b(10,"br"),y(11,"em",4),o(12),t(13,"translate"),C()),a&2&&(e(),D("innerHTML",i(2,4,"Registration.corporate.terms.main.0"),E),e(3),u(i(5,6,"Registration.corporate.terms.main.1")),e(4),u(i(9,8,"Registration.corporate.terms.goodLuck")),e(4),u(i(13,10,"Registration.corporate.terms.mainNote")))},dependencies:[T,h],styles:[".footnote[_ngcontent-%COMP%]{font-size:.75rem;line-height:normal;color:#0f1941}"]})}return n})();var se=(()=>{class n extends G{wizardService=w(Q);policyDialog=M(_);user;form=this.builder.group({termAccepted:[!1,[x.requiredTrue]],dataProtectionAccepted:[!1,[x.requiredTrue]]});ngOnInit(){this.wizardService.sendEventToGoogleAnalytics(2),this.user=this.wizardService.corporateUser,this.form.controls.termAccepted.patchValue(this.user.termAccepted),this.dataProtectionAcceptedControl.patchValue(this.user.dataProtectionAccepted)}onDataPrivacyCheckBoxClick(l){l.preventDefault(),this.dataProtectionAcceptedControl.value?this.dataProtectionAcceptedControl.patchValue(!1):(this.policyDialog().openDialog(),this.policyDialog().afterSubmit().pipe(P(1)).subscribe(()=>this.dataProtectionAcceptedControl.patchValue(!0)))}get dataProtectionAcceptedControl(){return this.form.controls.dataProtectionAccepted}goToNextStep(){super.onSubmit(),this.form.valid&&(this.wizardService.updateWizardProgress(k({},this.form.value),K.TERMS),this.wizardService.goToNextStep())}goToPreviousStep(){this.wizardService.goToPreviousStep()}static \u0275fac=(()=>{let l;return function(r){return(l||(l=A(n)))(r||n)}})();static \u0275cmp=S({type:n,selectors:[["app-corporate-terms-step"]],viewQuery:function(a,r){a&1&&V(r.policyDialog,_,5),a&2&&I()},features:[B],decls:31,vars:37,consts:[["id","registrationTerms",1,"registration-form",3,"keydown.enter","ngSubmit","formGroup"],["cardStyle","margin-bottom-m"],[1,"gp-title","medium","separator-center","separator-secondary","margin-bottom-s"],[1,"gp-title","small","separator-left","separator-secondary"],["name","termAccepted","validationTranslatePrefix","registration.termAccepted.",3,"form","hideValidityClassOnValid","required","label","formSubmitted"],["name","dataProtectionAccepted","addKeyboardNavigation","","validationTranslatePrefix","registration.privacyPolicyAccepted.",3,"click","form","hideValidityClassOnValid","required","formSubmitted"],["target","_blank","rel","noopener noreferrer","href","https://www.randstad.de/ueber-randstad/randstad-deutschland/randstad-gruppe-deutschland/joint-controller",1,"text-link",3,"click"],["target","_blank","rel","noopener noreferrer","href","https://www.gulp.de/agb/datenschutz-und-anonymitaet#bewerber-und-kandidaten",1,"text-link",3,"click"],[1,"button-group","justify-content-between"],["id","nextStepButton","data-testid","nextStepButton","type","submit","name","submitStep",1,"button","large","primary",3,"value"],["type","button","name","toPreviousStep",1,"button","large","hollow","primary",3,"click"]],template:function(a,r){a&1&&(p(0,"form",0),c("keydown.enter",function(d){return d.preventDefault()})("ngSubmit",function(){return r.goToNextStep()}),p(1,"app-card",1)(2,"h1",2),o(3),t(4,"translate"),m(),v(5,"app-corporate-terms-view"),m(),p(6,"app-card",1)(7,"h1",3),o(8),t(9,"translate"),m(),v(10,"app-checkbox-input-field",4),t(11,"translate"),p(12,"app-checkbox-input-field",5),c("click",function(d){return r.onDataPrivacyCheckBoxClick(d)}),o(13),t(14,"translate"),p(15,"a",6),c("click",function(d){return d.stopImmediatePropagation()}),o(16),t(17,"translate"),m(),o(18),t(19,"translate"),p(20,"a",7),c("click",function(d){return d.stopImmediatePropagation()}),o(21),t(22,"translate"),m(),o(23,". "),m()(),p(24,"div",8),v(25,"input",9),t(26,"translate"),p(27,"button",10),c("click",function(){return r.goToPreviousStep()}),o(28),t(29,"translate"),m()()(),v(30,"app-privacy-policy-dialog")),a&2&&(g("formGroup",r.form),e(3),u(i(4,19,"Registration.corporate.terms.welcome")),e(5),s(" ",i(9,21,"Registration.corporate.terms.note")," "),e(2),g("label",R(i(11,23,"Registration.termAcceptedLabel")))("form",r.form)("hideValidityClassOnValid",!1)("required",!0)("formSubmitted",r.submitted),e(2),g("form",r.form)("hideValidityClassOnValid",!1)("required",!0)("formSubmitted",r.submitted),e(),s(" ",i(14,25,"Registration.privacyPolicyAcceptedLabel.0")," "),e(3),s(" ",i(17,27,"Registration.privacyPolicyAcceptedLabel.1")),e(2),s("",i(19,29,"Registration.privacyPolicyAcceptedLabel.2")," "),e(3),s(" ",i(22,31,"Registration.privacyPolicyAcceptedLabel.3")),e(4),g("value",i(26,33,"Buttons.next")),e(3),s(" ",i(29,35,"Buttons.back")," "))},dependencies:[j,W,L,F,z,q,N,T,H,O,_,h],encapsulation:2})}return n})();export{se as CorporateTermsStepComponent};
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.