1"use strict";(self.webpackChunkfund_base=self.webpackChunkfund_base||[]).push([[979],{42750:(k,S,r)=>{r.r(S),r.d(S,{OnboardingModule:()=>vt});var d=r(20745),g=r(9116),O=r(44783),t=r(94650),l=r(24006),C=r(89653);let y=(()=>{class o{constructor(e,n){this.formBuilder=e,this.store=n,this.language$=this.store.select(O.VT)}ngOnInit(){}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(l.QS),t.Y36(C.yh))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-onboarding-base"]],decls:5,vars:0,consts:[[1,"onboarding-base"],[1,"onboarding-base__overlay"],[1,"onboarding-base__content"],[1,"onboarding-card"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"div",1),t.TgZ(2,"div",2)(3,"div",3),t._UZ(4,"router-outlet"),t.qZA()()())},dependencies:[g.lC]}),o})();var A=r(27812),b=r(397),h=r(38309),f=r(95698),m=r(82722),v=r(4162),p=r(36895),_=r(97392),F=r(55829),U=r(58869),T=r(85707);function L(o,s){if(1&o&&(t.TgZ(0,"span",4),t._uU(1),t.qZA(),t.TgZ(2,"mat-icon",16),t._uU(3,"keyboard_arrow_down"),t.qZA()),2&o){const e=t.oxw().placeholder;t.xp6(1),t.Oqu(e)}}function q(o,s){if(1&o){const e=t.EpF();t.TgZ(0,"div",18)(1,"span",4),t._uU(2),t.qZA(),t.TgZ(3,"mat-icon",19),t.NdJ("click",function(){const a=t.CHM(e).$implicit,c=t.oxw().toggle;return t.KtG(c(a))}),t._uU(4,"close"),t.qZA()()}if(2&o){const e=s.$implicit,n=t.oxw(2).valueFunction;t.xp6(2),t.Oqu(n(e))}}const M=function(){return[]};function J(o,s){if(1&o&&t.YNc(0,q,5,1,"div",17),2&o){const e=t.oxw().formControl;let n;t.Q6J("ngForOf",null!==(n=null==e?null:e.value)&&void 0!==n?n:t.DdM(1,M))}}function P(o,s){if(1&o&&t._UZ(0,"input",22),2&o){const e=t.oxw(),i=e.isChildFunction;t.Q6J("checked",e.checked&&i)}}const Y=function(o){return{focus:o}},B=function(o,s){return{"padding-inline-start":o,"font-size":s}};function E(o,s){if(1&o){const e=t.EpF();t.TgZ(0,"a",20),t.NdJ("click",function(i){const c=t.CHM(e).option,u=t.oxw(2);return t.KtG(u.disabledParent(c,i))}),t.YNc(1,P,1,1,"input",21),t.TgZ(2,"span",4),t._uU(3),t.qZA()()}if(2&o){const n=s.isChildFunction,i=s.option,a=s.valueFunction;t.Q6J("ngClass",t.VKq(4,Y,s.focused))("ngStyle",t.WLB(6,B,n?"35px":"none",n?"14px":"")),t.xp6(1),t.Q6J("ngIf",n),t.xp6(2),t.Oqu(a(i))}}function $(o,s){if(1&o&&(t.TgZ(0,"app-multi-select",12),t.YNc(1,L,4,1,"ng-template",null,13,t.W1O),t.YNc(3,J,1,2,"ng-template",null,14,t.W1O),t.YNc(5,E,4,9,"ng-template",null,15,t.W1O),t.qZA()),2&o){const n=s.formControl,i=s.isChildFunction,a=s.options,c=s.placeholder,u=s.valueFunction,Z=s.valueKeyFunction;t.Q6J("disableFunction",s.disableFunction)("formControl",n)("isChildFunction",i)("options",a)("panelClass","areas-of-interests-select-panel")("placeholder",c)("valueFunction",u)("valueKeyFunction",Z)}}const R=function(o,s,e,n,i,a,c){return{formControl:o,placeholder:s,options:e,isChildFunction:n,valueFunction:i,valueKeyFunction:a,disableFunction:c}};let N=(()=>{class o extends v.V{constructor(e,n,i){super(),this.formBuilder=e,this.store=n,this.router=i,this.interests=[],this.language$=this.store.select(O.VT),this.organizationSettings$=this.store.select(A.W$),this.interests$=this.store.select(b.EF),this.sortedInterests=[],this.initSystemTypesFromStore(),this.initAreaOfInterestsForm(),this.fillAreaOfInterestsFormFromStore(),this.sortInterests(),this.interestsToForm()}ngOnInit(){}interestsToForm(){}setInterestsControl(e){this.interestsFormControl.setValue(e,{emitEvent:!1})}initSystemTypesFromStore(){this.interests$.pipe((0,f.q)(1)).subscribe(e=>this.interests=e)}isChild(e){return 0!==e?.parent}initAreaOfInterestsForm(){this.interestsFormControl=this.formBuilder.control([],[l.kI.required]),this.areaOfInterestsForm=this.formBuilder?.group({interests:this.interestsFormControl})}sortInterests(){const e=[];this.interests$.pipe((0,m.R)(this.destroy$)).subscribe(n=>{n.forEach(i=>{0===i.parent&&e.push(i.text)}),e.sort()}),this.interests$.pipe((0,m.R)(this.destroy$)).subscribe(n=>{e.forEach(i=>{const a=n.filter(u=>u.text?.toString()===i.toString());this.sortedInterests.push(a[0]),n.filter(u=>u.parent?.toString()===a[0].id.toString())?.forEach(u=>{this.sortedInterests.push(u)})})})}fillAreaOfInterestsFormFromStore(){this.organizationSettings$.pipe((0,f.q)(1)).subscribe(e=>{this.interestsFormControl.setValue(this.createInterestsArrayFromIds(e?.interests))})}createInterestsArrayFromIds(e){const n=[];return e&&Array.isArray(e)&&e.forEach(i=>
1{const a=this.interests.find(c=>c.id.toString()===i?.id?.toString());a&&n.push(a)}),n}submit(){this.areaOfInterestsForm?.valid&&this.organizationSettings$?.pipe((0,f.q)(1)).subscribe(e=>{this.store.dispatch((0,h.Mz)({organizationSettings:{locations:e?.locations,range:e?.range,interests:this.getAreaOfInterestsValueToString()},onSuccess:n=>{this.router.navigate(["onboarding/main/areas-of-activities"])}}))})}back(){this.router.navigate(["onboarding/main/welcome"])}skip(){this.router.navigate(["admin"],{queryParams:{skiped:!0}})}disabled(){return this.interestsFormControl.value<=4}disabledParent(e,n){if(0===e.parent)return n.stopImmediatePropagation()}interestToString(e){return e?.text}interestToKey(e){return e?.id}disableInterest(e){return!this.interestsFormControl?.value?.some(n=>n?.id===e.id)&&4===this.interestsFormControl?.value?.length}getAreaOfInterestsValueToString(){return this.interestsFormControl?.value??[]}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(l.qu),t.Y36(C.yh),t.Y36(g.F0))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-areas-of-interests"]],features:[t.qOj],decls:24,vars:28,consts:[[1,"areas-of-interests"],[1,"step-title"],[1,"back-button",3,"click"],["alt","icon","src","../../../assets/images/arrow-head.webp"],[1,"text"],[1,"areas-of-interests__content"],[1,"title"],[1,"instructions"],[1,"interests-select",3,"formGroup"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"next-button",3,"click"],["multiSelect",""],[1,"areas-of-interests-select",3,"disableFunction","formControl","isChildFunction","options","panelClass","placeholder","valueFunction","valueKeyFunction"],["selectButton",""],["selectedOptions",""],["selectOption",""],[1,"icon"],["class","selected-chip",4,"ngFor","ngForOf"],[1,"selected-chip"],[1,"close",3,"click"],[1,"select-option",3,"ngClass","ngStyle","click"],["class","checkbox","type","checkbox",3,"checked",4,"ngIf"],["type","checkbox",1,"checkbox",3,"checked"]],template:function(e,n){if(1&e&&(t.TgZ(0,"div",0)(1,"span",1),t._uU(2),t.ALo(3,"transloco"),t.qZA(),t.TgZ(4,"div",2),t.NdJ("click",function(){return n.back()}),t._UZ(5,"img",3),t.TgZ(6,"span",4),t._uU(7),t.ALo(8,"transloco"),t.qZA()(),t.TgZ(9,"div",5)(10,"span",6),t._uU(11),t.ALo(12,"transloco"),t.qZA(),t.TgZ(13,"span",7),t._uU(14),t.ALo(15,"transloco"),t.qZA(),t.TgZ(16,"form",8),t.GkF(17,9),t.ALo(18,"transloco"),t.qZA(),t.TgZ(19,"a",10),t.NdJ("click",function(){return n.submit()}),t._uU(20),t.ALo(21,"transloco"),t.qZA()()(),t.YNc(22,$,7,8,"ng-template",null,11,t.W1O)),2&e){const i=t.MAs(23);t.xp6(2),t.hij("",t.lcZ(3,8,"Step")," 1/3"),t.xp6(5),t.Oqu(t.lcZ(8,10,"Back")),t.xp6(4),t.Oqu(t.lcZ(12,12,"Areas Of Interest")),t.xp6(3),t.Oqu(t.lcZ(15,14,"Choose up to 4 areas of interests")),t.xp6(2),t.Q6J("formGroup",n.areaOfInterestsForm),t.xp6(1),t.Q6J("ngTemplateOutletContext",t.Hh0(20,R,n.interestsFormControl,t.lcZ(18,16,"Please select"),n.sortedInterests,n.isChild,n.interestToString,n.interestToKey,n.disableInterest.bind(n)))("ngTemplateOutlet",i),t.xp6(3),t.Oqu(t.lcZ(21,18,"Next"))}},dependencies:[p.mk,p.sg,p.O5,p.tP,p.PC,l._Y,l.JJ,l.JL,l.oH,l.sg,_.Hw,F.oO,F.Zl,U.O,T.Ot]}),o})();var I=r(51078),x=r(98464),W=r(24873),D=r(69387),K=r(86178);let V=(()=>{class o{constructor(e,n,i){this.formBuilder=e,this.store=n,this.router=i,this.fundsAmounts=I.Q3,this.fundingSumsSliderSteps=I.Q3?.map(a=>({...a,legend:a.text})),this.language$=this.store.select(O.VT),this.organizationSettings$=this.store.select(A.W$),this.interests$=this.store.select(b.EF),this.initFundingSumsForm(),this.fillFundingSumsFormFromStore()}ngOnInit(){}initFundingSumsForm(){this.fundingSumsRangeFormControl=this.formBuilder.control(null,[l.kI.required]),this.fundingSumsForm=this.formBuilder?.group({fundingSums:this.fundingSumsRangeFormControl})}fillFundingSumsFormFromStore(){this.organizationSettings$.subscribe(e=>{this.fundingSumsRangeFormControl.setValue((0,x.o9)(e?.range?e?.range:""))})}submit(){this.fundingSumsForm?.valid&&this.organizationSettings$?.pipe((0,f.q)(1)).subscribe(e=>{const{minValue:n,maxValue:i}=this.fundingSumsRangeFormControl?.value;this.store.dispatch((0,h.Mz)({organizationSettings:{...e,range:(0,x.Iw)(n,i)},onSuccess:a=>{this.language$.pipe((0,f.q)(1)).subscribe(c=>{const u={name:c===D.S.English?"My First Automatic Search":"\u05d4\u05d7\u05d9\u05e4\u05d5\u05e9 \u05d4\u05d0\u05d5\u05d8\u05d5\u05de\u05d8\u05d9 \u05d4\u05e8\u
105d0\u05e9\u05d5\u05df \u05e9\u05dc\u05d9",types_ids:[],location:void 0,funds_grant:(0,x.Iw)(n,i),description:void 0,areas_of_interests:e?.interests};u.jsonQuery=JSON.stringify({SmartAgentName:u.name,SmartAgentInterest:u.areas_of_interests,SmartAgentLocation:u.location,SmartAgentActivities:u.areas_of_activities,SmartAgentTypes:u.types_ids,fundsGrant:u.funds_grant}),this.store.dispatch((0,W.Ni)({SmartAgent:u,onSuccess:()=>{this.router.navigate(["onboarding/main/success"])}}))})}}))})}back(){this.router.navigate(["onboarding/main/areas-of-activities"])}skip(){this.router.navigate(["admin"],{queryParams:{skiped:!0}})}fundingSumsRangeToValue(e,n){if(0===e&&5e3===n)return"<$4,999";if(1e6===e&&1e6===n)return"$1M+";{const i=this.fundingSumsSliderSteps?.find(c=>c.value===e),a=this.fundingSumsSliderSteps?.find(c=>c.value===n);return`${i?.legend}-${a?.legend}`}}getFundingSumsValueToString(){return null!=this.fundingSumsRangeFormControl?.value?.minValue&&null!=this.fundingSumsRangeFormControl?.value?.maxValue?this.fundingSumsRangeToValue(this.fundingSumsRangeFormControl?.value?.minValue,this.fundingSumsRangeFormControl?.value?.maxValue):""}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(l.qu),t.Y36(C.yh),t.Y36(g.F0))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-funding-sums"]],decls:26,vars:22,consts:[[1,"funding-sums"],[1,"step-title"],[1,"back-button",3,"click"],["alt","icon","src","../../../assets/images/arrow-head.webp"],[1,"text"],[1,"funding-sums__content"],[1,"title"],[1,"instructions"],[1,"funding-sums-slider-wrapper",3,"formGroup"],[1,"funding-sums-value"],[1,"funding-sums-slider",3,"formControl","steps"],[1,"next-button",3,"click"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0)(1,"span",1),t._uU(2),t.ALo(3,"transloco"),t.qZA(),t.TgZ(4,"div",2),t.NdJ("click",function(){return n.back()}),t._UZ(5,"img",3),t.TgZ(6,"span",4),t._uU(7),t.ALo(8,"transloco"),t.qZA()(),t.TgZ(9,"div",5)(10,"span",6),t._uU(11),t.ALo(12,"transloco"),t.qZA(),t.TgZ(13,"span",7),t._uU(14),t.ALo(15,"transloco"),t._UZ(16,"br"),t._uU(17),t.ALo(18,"transloco"),t.qZA(),t.TgZ(19,"form",8)(20,"span",9),t._uU(21),t.qZA(),t._UZ(22,"app-slider",10),t.qZA(),t.TgZ(23,"a",11),t.NdJ("click",function(){return n.submit()}),t._uU(24),t.ALo(25,"transloco"),t.qZA()()()),2&e&&(t.xp6(2),t.hij("",t.lcZ(3,10,"Step")," 3/3"),t.xp6(5),t.Oqu(t.lcZ(8,12,"Back")),t.xp6(4),t.Oqu(t.lcZ(12,14,"Applicable Funding Sums")),t.xp6(3),t.hij(" ",t.lcZ(15,16,"You can give a general range.")," "),t.xp6(3),t.hij(" ",t.lcZ(18,18,"you can change them in any time in your account settings.")," "),t.xp6(2),t.Q6J("formGroup",n.fundingSumsForm),t.xp6(2),t.Oqu(n.getFundingSumsValueToString()),t.xp6(1),t.Q6J("formControl",n.fundingSumsRangeFormControl)("steps",n.fundingSumsSliderSteps),t.xp6(2),t.Oqu(t.lcZ(25,20,"Next")))},dependencies:[l._Y,l.JJ,l.JL,l.oH,l.sg,K.S,T.Ot]}),o})();var z=r(68675),Q=r(78372),w=r(71884),G=r(11365),j=r(63900),H=r(71152),X=r(99690),tt=r(11102);function et(o,s){if(1&o&&(t._UZ(0,"input",16),t.TgZ(1,"mat-icon",17),t._uU(2,"location_on_outline"),t.qZA()),2&o){const e=t.oxw(),i=e.placeholder;t.Q6J("formControl",e.inputFormControl)("placeholder",i)}}function nt(o,s){if(1&o){const e=t.EpF();t.TgZ(0,"div",19)(1,"span",4),t._uU(2),t.qZA(),t.TgZ(3,"mat-icon",20),t.NdJ("click",function(){const a=t.CHM(e).$implicit,c=t.oxw().toggle;return t.KtG(c(a))}),t._uU(4,"close"),t.qZA()()}if(2&o){const e=s.$implicit,n=t.oxw(2).valueFunction;t.xp6(2),t.Oqu(n(e))}}const ot=function(){return[]};function st(o,s){if(1&o&&t.YNc(0,nt,5,1,"div",18),2&o){const e=t.oxw().formControl;let n;t.Q6J("ngForOf",null!==(n=null==e?null:e.value)&&void 0!==n?n:t.DdM(1,ot))}}const it=function(o){return{focus:o}};function rt(o,s){if(1&o&&(t.TgZ(0,"a",21),t._UZ(1,"input",22),t.TgZ(2,"span",4),t._uU(3),t.qZA()()),2&o){const e=s.checked,i=s.option,a=s.valueFunction;t.Q6J("ngClass",t.VKq(3,it,s.focused)),t.xp6(1),t.Q6J("checked",e),t.xp6(2),t.Oqu(a(i))}}function at(o,s){if(1&o&&(t.TgZ(0,"app-multi-select-autocomplete",12),t.YNc(1,et,3,2,"ng-template",null,13,t.W1O),t.YNc(3,st,1,2,"ng-template",null,14,t.W1O),t.YNc(5,rt,4,5,"ng-template",null,15,t.W1O),t.qZA()),2&o){const n=s.formControl,i=s.inputFormControl,a=s.options,c=s.placeholder,u=s.valueFunction,Z=s.valueKeyFunction;t.Q6J("disableFunction",s.disableFunction)("formControl",n)("inputFormControl",i)("options",a)("panelClass","profile-settings-select-panel")("placeholder",c)("valueFunction",u)("valueKeyFunction",Z)}}const lt=function(o,s,e,n,i,a,c){return{inputFormControl:o,formControl:s,placeholder:e,options:n,valueFunction:i,valueKeyFunction:a,disableFunction:c}};let ct=(()=>{class o{constructor(e,n,i,a){this.formBuilder=e,this.store=n,this.router=i,this.locationService=a,this.activitiesAutocompleteInputFormControl=new l.NI(""),this.language$=this.store.select(O.VT),this.organizationSettings$=this.store.select(A.W$),this.initAreaOfActivitiesForm(),this.initAreasOfActivitiesAutocompleteFormControl(),this.fillAreaOfActivitiesFormFromStore()}ngOnInit(){}initAreaOfActivitiesForm(){this.activitiesFormControl=this.formBuilder.control([],[l.kI.required]),this.areaOfActivitiesForm=this.formBuilder?.group({activities:this.activitiesFormControl})}initAreasOfActivitiesAutocompleteFormControl(){this.areaOfActivitiesOptions$=this.activitiesAutocompleteInputFormControl.valueChanges.pipe((0,z.O)(""),(0,Q.b)(150),(0,w.x)(),(0,G.M)(this.language$),(0,j.w)(([e,n])=>this.locationService.searchPlaces(e||"",n)))}fillAreaOfActivitiesFormFromStore(){this.organizationSettings$.pipe((0,f.q)(1)).subscribe(e=>{this.activitiesFormControl.setValue(e?.locations)})}submit(){this.areaOfActivitiesForm?.valid&&this.organizationSettings$?.pipe((0,f.q)(1)).subscribe(e=>{this.store.dispatch((0,h.Mz)({organizationSettings:{...e,locations:this.getAreaOfActivitiesValueToString()},onSuccess:n=>{this.router.navigate(["onboarding/main/funding-sums"])}}))})}back(){this.router.navigate(["onboarding/main/areas-of-interests"])}skip(){this.router.navigate(["admin"],{queryParams:{skiped:!0}})}googlePlaceToString(e){return e?.description}googlePlaceToKey(e){return e?.place_id}getAreaOfActivitiesValueToString(){return(this.activitiesFormControl?.value??[])?.map(e=>({description:e?.description,place_id:e?.place_id}))}disableGooglePlace(e){return!this.activitiesFormControl?.value?.some(n=>n?.place_id===e.place_id)&&this.activitiesFormControl?.value?.length===H.B}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(l.qu),t.Y36(C.yh),t.Y36(g.F0),t.Y36(X.a))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-areas-of-activities"]],decls:25,vars:30,consts:[[1,"areas-of-activities"],[1,"step-title"],[1,"back-button",3,"click"],["alt","icon","src","../../../assets/images/arrow-head.webp"],[1,"text"],[1,"areas-of-activities__
1content"],[1,"title"],[1,"instructions"],[1,"activities-select",3,"formGroup"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"next-button",3,"click"],["multiSelectAutocomplete",""],[1,"profile-settings-select",3,"disableFunction","formControl","inputFormControl","options","panelClass","placeholder","valueFunction","valueKeyFunction"],["selectButton",""],["selectedOptions",""],["selectOption",""],[1,"select-input",3,"formControl","placeholder"],[1,"icon"],["class","selected-chip",4,"ngFor","ngForOf"],[1,"selected-chip"],[1,"close",3,"click"],[1,"select-option",3,"ngClass"],["type","checkbox",1,"checkbox",3,"checked"]],template:function(e,n){if(1&e&&(t.TgZ(0,"div",0)(1,"span",1),t._uU(2),t.ALo(3,"transloco"),t.qZA(),t.TgZ(4,"div",2),t.NdJ("click",function(){return n.back()}),t._UZ(5,"img",3),t.TgZ(6,"span",4),t._uU(7),t.ALo(8,"transloco"),t.qZA()(),t.TgZ(9,"div",5)(10,"span",6),t._uU(11),t.ALo(12,"transloco"),t.qZA(),t.TgZ(13,"span",7),t._uU(14),t.ALo(15,"transloco"),t.qZA(),t.TgZ(16,"form",8),t.GkF(17,9),t.ALo(18,"transloco"),t.ALo(19,"async"),t.qZA(),t.TgZ(20,"a",10),t.NdJ("click",function(){return n.submit()}),t._uU(21),t.ALo(22,"transloco"),t.qZA()()(),t.YNc(23,at,7,8,"ng-template",null,11,t.W1O)),2&e){const i=t.MAs(24);t.xp6(2),t.hij("",t.lcZ(3,8,"Step")," 2/3"),t.xp6(5),t.Oqu(t.lcZ(8,10,"Back")),t.xp6(4),t.Oqu(t.lcZ(12,12,"Geographical Focus")),t.xp6(3),t.Oqu(t.lcZ(15,14,"You can change them in any time in your account settings")),t.xp6(2),t.Q6J("formGroup",n.areaOfActivitiesForm),t.xp6(1),t.Q6J("ngTemplateOutletContext",t.Hh0(22,lt,n.activitiesAutocompleteInputFormControl,n.activitiesFormControl,t.lcZ(18,16,"Please type"),t.lcZ(19,18,n.areaOfActivitiesOptions$),n.googlePlaceToString,n.googlePlaceToKey,n.disableGooglePlace.bind(n)))("ngTemplateOutlet",i),t.xp6(4),t.Oqu(t.lcZ(22,20,"Next"))}},dependencies:[p.mk,p.sg,p.tP,l._Y,l.Fj,l.JJ,l.JL,l.oH,l.sg,_.Hw,F.oO,tt.Z,p.Ov,T.Ot]}),o})();var ut=r(76142);let pt=(()=>{class o extends ut.V{constructor(e){super(),this.router=e}ngOnInit(){}skip(){this.router.navigate(["admin"],{queryParams:{skiped:!0}})}letsStart(){this.router.navigate(["onboarding/main/areas-of-interests"])}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(g.F0))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-onboarding-welcome"]],features:[t.qOj],decls:15,vars:12,consts:[[1,"onboarding-welcome"],[1,"onboarding-welcome__content"],[1,"title"],[1,"instructions"],["alt","","src","assets/images/onboarding-success-image.jpg",1,"image"],[1,"note"],[1,"lets-start-button",3,"click"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"span",2),t._uU(3),t.ALo(4,"transloco"),t.qZA(),t.TgZ(5,"span",3),t._uU(6),t.ALo(7,"transloco"),t.qZA(),t._UZ(8,"img",4),t.TgZ(9,"span",5),t._uU(10),t.ALo(11,"transloco"),t.qZA(),t.TgZ(12,"a",6),t.NdJ("click",function(){return n.letsStart()}),t._uU(13),t.ALo(14,"transloco"),t.qZA()()()),2&e&&(t.xp6(3),t.Oqu(t.lcZ(4,4,"Welcome to Atlas!")),t.xp6(3),t.hij("",t.lcZ(7,6,"Let\u2019s start by customising your account settings -it is important for you to do it so we can set you up and running with a custom smart agent and matching score features")," "),t.xp6(4),t.Oqu(t.lcZ(11,8,"you can change them in any time in your account settings.")),t.xp6(3),t.Oqu(t.lcZ(14,10,"Let\u2019s Start")))},dependencies:[T.Ot],encapsulation:2}),o})();var mt=r(88662);function dt(o,s){if(1&o){const e=t.EpF();t.TgZ(0,"div",2)(1,"span",3),t.NdJ("click",function(){t.CHM(e);const i=t.oxw();return t.KtG(i.close())}),t._uU(2),t.ALo(3,"transloco"),t.qZA(),t.TgZ(4,"mat-icon",4),t._uU(5,"close"),t.qZA(),t.TgZ(6,"div",5)(7,"span",6),t._uU(8),t.ALo(9,"transloco"),t.qZA(),t.TgZ(10,"span",7),t._uU(11),t.ALo(12,"transloco"),t.qZA(),t._UZ(13,"img",8),t.TgZ(14,"a",9),t.NdJ("click",function(){t.CHM(e);const i=t.oxw();return t.KtG(i.letsDiveIn())}),t._uU(15),t.ALo(16,"transloco"),t.qZA()()()}2&o&&(t.xp6(2),t.Oqu(t.lcZ(3,4,"Success")),t.xp6(6),t.Oqu(t.lcZ(9,6,"You made it!")),t.xp6(3),t.Oqu(t.lcZ(12,8,"You have setup your account and ready to go!")),t.xp6(4),t.Oqu(t.lcZ(16,10,"Let's dive in")))}function gt(o,s){1&o&&(t.TgZ(0,"div",2),t._UZ(1,"app-loader"),t.qZA())}const ft=[{path:"",redirectTo:"main",pathMatch:"full"},{path:"main",component:y,children:[{path:"",redirectTo:"welcome",pathMatch:"full"},{path:"welcome",component:pt},{path:"areas-of-interests",component:N},{path:"areas-of-activities",component:ct},{path:"funding-sums",component:V},{path:"success",component:(()=>{class o{constructor(e){this.router=e,this.isLoading=!1}ngOnInit(){}close(){this.router.navigate(["admin"])}letsDiveIn(){this.isLoading=!0,this.router.navigate(["admin/overview/overview-panel"]),this.isLoading=!1}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(g.F0))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-onboarding-success"]],decls:3,vars:2,consts:[["class","onboarding-success",4,"ngIf","ngIfElse"],["loading",""],[1,"onboarding-success"],[1,"success-title",3,"click"],[1,"close-button"],[1,"onboarding-success__content"],[1,"title"],[1,"instructions"],["alt","","src","assets/images/onboarding-success-image.jpg",1,"image"],[1,"lets-dive-in-button",3,"click"]],template:function(e,n){if(1&e&&(t.YNc(0,dt,17,12,"div",0),t.YNc(1,gt,2,0,"ng-template",null,1,t.W1O)),2&e){const i=t.MAs(2);t.Q6J("ngIf",!n.isLoading)("ngIfElse",i)}},dependencies:[p.O5,_.Hw,mt.a,T.Ot]}),o})()}]}];let ht=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)}
1,o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[g.Bz.forChild(ft),g.Bz]}),o})(),vt=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[d.o,ht]}),o})()},48354:(k,S,r)=>{r.d(S,{k:()=>b});var d=r(94650),g=r(82722),O=r(77579),t=r(84080),l=r(44783),C=r(98184),y=r(49659),A=r(89653);let b=(()=>{class h{constructor(m,v,p,_,F){this.elementRef=m,this.overlay=v,this.vcr=p,this.popoverService=_,this.store=F,this.closeOnClickOutside=!1,this.disableOpenOnClick=!1,this.panelClass="custom-popover-search-bar",this.position=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"}],this.onOpen=new d.vpe,this.onClose=new d.vpe,this.destroy$=new O.x,this.lang$=this.store.select(l.VT),this.listenToDocWrapperWidthChange()}get isOpen(){return!!this.overlayRef?.hasAttached()}ngOnInit(){this.createOverlay(),this.popoverService.getState().subscribe(m=>{m&&this.close()}),setTimeout(()=>{this.close()},100)}ngOnDestroy(){this.close(),this.destroy$.next(!0),this.destroy$.unsubscribe()}onClick(){this.disableOpenOnClick||this.open()}open(){if(!this.overlayRef.hasAttached()){const m=new t.UE(this.popoverTrigger,this.vcr,this.popoverContext);this.overlayRef.attach(m),this.onOpen.emit(null)}}close(){this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.onClose.emit(null))}listenToDocWrapperWidthChange(){new ResizeObserver(v=>{for(const p of v){const _=Math.abs(p.target?.getBoundingClientRect().left-p.target?.getBoundingClientRect().right);this.overlayRef?.updateSize({width:_})}}).observe(this.elementRef.nativeElement)}createOverlay(){const m=this.overlay.scrollStrategies.block(),v=this.overlay.position().flexibleConnectedTo(this.elementRef).withPositions(this.position);this.overlayRef=this.overlay.create({positionStrategy:v,scrollStrategy:m,hasBackdrop:!0,backdropClass:"",panelClass:this.panelClass}),this.overlayRef.backdropClick().pipe((0,g.R)(this.destroy$)).subscribe(()=>{this.closeOnClickOutside&&this.close()})}}return h.\u0275fac=function(m){return new(m||h)(d.Y36(d.SBq),d.Y36(C.aV),d.Y36(d.s_b),d.Y36(y.X),d.Y36(A.yh))},h.\u0275dir=d.lG2({type:h,selectors:[["","popoverTrigger",""]],hostBindings:function(m,v){1&m&&d.NdJ("click",function(){return v.onClick()})},inputs:{popoverTrigger:"popoverTrigger",popoverContext:"popoverContext",closeOnClickOutside:"closeOnClickOutside",disableOpenOnClick:"disableOpenOnClick",panelClass:"panelClass",position:"position"},outputs:{onOpen:"onOpen",onClose:"onClose"},exportAs:["popover"]}),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.