PageSourceSearch

https://unstop.com/chunk-MVHZ4JVH.js

js unstop.com collected 2026-09-24 17:14:18 UTC 12,555 bytes, 1 lines download raw bytes

1import{a as Z}from"./chunk-BL2TGBOE.js";import{a as $,b as ee}from"./chunk-RO3APBKW.js";import"./chunk-GSU3FJJ7.js";import{a as Q,b as X}from"./chunk-4UXVTPJM.js";import"./chunk-7NJJ2OR6.js";import{b as Y}from"./chunk-COB7JTXP.js";import{a as A,b as W}from"./chunk-B7MEV2DH.js";import"./chunk-HHQ3DLDR.js";import{e as G,f as K}from"./chunk-XWGGXTBH.js";import"./chunk-GWP52JAF.js";import"./chunk-SBK5GHAF.js";import"./chunk-FPPRR53P.js";import"./chunk-3UVVCPIT.js";import"./chunk-HNY54GY7.js";import"./chunk-WAF2UKPS.js";import"./chunk-R3QRL77R.js";import"./chunk-G2NZI5V3.js";import"./chunk-62DYWMYT.js";import"./chunk-NTCDGAR3.js";import"./chunk-UMK6AGIS.js";import"./chunk-PBAOXUCO.js";import"./chunk-7UZYWCAJ.js";import"./chunk-RIQOBMUM.js";import"./chunk-WX25E2HZ.js";import"./chunk-I5K7UUBW.js";import"./chunk-6BAE5M2B.js";import"./chunk-GPTXSPLI.js";import"./chunk-WSF7ZPQZ.js";import{a as R,c as z,e as N}from"./chunk-7KBFIBUW.js";import"./chunk-JYXQ74JV.js";import"./chunk-7A7LFYDL.js";import"./chunk-IQBBAARC.js";import"./chunk-CWWNL6ZE.js";import"./chunk-FSAIB72R.js";import{L as H,i as J,o as q}from"./chunk-X474JN3X.js";import"./chunk-OLSNRRTA.js";import"./chunk-GJNXMHJK.js";import"./chunk-ROYL3S4H.js";import"./chunk-XWMJJGBF.js";import{a as L}from"./chunk-5G7452JJ.js";import"./chunk-O6NNHBDA.js";import"./chunk-VK3ZU6WP.js";import{G as F,p as j,u as B}from"./chunk-BRHCVEVW.js";import{Ed as M,Fd as v,Gd as w,Ib as k,Ic as h,Jc as x,Mc as D,Me as ne,Nc as E,Ob as p,Oc as l,Pc as o,Qa as u,Qc as s,Ra as _,Rc as C,Sd as V,Zc as g,ac as S,db as ie,ed as f,f as O,ge as y,hc as T,hd as a,mc as m,rd as P,sa as b,td as I,wd as d,xa as te,xd as U}from"./chunk-7DV7UWC6.js";import"./chunk-XS7UEPGF.js";import"./chunk-IP4IO47A.js";ie();te();ne();var oe=()=>[],re=(t,r)=>r.label;function ae(t,r){}function le(t,r){t&1&&m(0,ae,0,0,"ng-template")}function se(t,r){if(t&1){let e=g();o(0,"un-modal",3),f("closeModal",function(){u(e);let n=a();return _(n.close())}),o(1,"un-modal-content"),m(2,le,1,0,null,4),s()()}if(t&2){a();let e=P(2);l("size","sm")("position","center"),p(2),l("ngTemplateOutlet",e)}}function pe(t,r){t&1&&(o(0,"div",8),C(1,"img",9),o(2,"span",10),d(3,"Your account has been created!"),s()(),C(4,"div",11))}function ce(t,r){}function de(t,r){t&1&&m(0,ce,0,0,"ng-template")}function ue(t,r){if(t&1&&C(0,"app-multiselect",13),t&2){let e=a(3);l("entries",e.designationListFilter)("value",e.data==null?null:e.data.interested_role)("maxLimit",5)("title","Interested Career Roles")}}function _e(t,r){if(t&1){let e=g();o(0,"app-cities-autocomplete",14),f("selectedCityEmit",function(n){u(e);let c=a(3);return _(c.setpreferedJobCity(n))}),s(),o(1,"un-checkbox",15),w("ngModelChange",function(n){u(e);let c=a(3);return v(c.data.profile_user_data.pan_india,n)||(c.data.profile_user_data.pan_india=n),_(n)}),o(2,"span",16),d(3,"Pan India"),s()(),o(4,"un-checkbox",15),w("ngModelChange",function(n){u(e);let c=a(3);return v(c.data.profile_user_data.work_from_home,n)||(c.data.profile_user_data.work_from_home=n),_(n)}),o(5,"span",16),d(6,"I prefer Work from home (WFH)"),s()()}if(t&2){let e=a(3);l("className","input_fields_bdr")("label","Preferred Work Location")("isRequired",!1)("default_city_id",!(e.data==null||e.data.preferred_job_cities==null)&&e.data.preferred_job_cities.length?e.data==null||e.data.preferred_job_cities[0]==null?null:e.data.preferred_job_cities[0].id:null),p(),l("type","checkbox"),M("ngModel",e.data.profile_user_data.pan_india),l("checked",e.data==null||e.data.profile_user_data==null?null:e.data.profile_user_data.pan_india),p(3),l("type","checkbox"),M("ngModel",e.data.profile_user_data.work_from_home),l("checked",e.data==null||e.data.profile_user_data==null?null:e.data.profile_user_data.work_from_home)}}function me(t,r){if(t&1&&(o(0,"div",5),m(1,ue,1,4,"app-multiselect",12),h(2,_e,7,10),s()),t&2){let e=a(2);p(),l("ngIf",(e.data==null||e.data.purposes==null?null:e.data.purposes.includes("To find a Job"))||(e.data==null||e.data.purposes==null?null:e.data.purposes.includes("Compete & Upskill"))),p(),x(!(e.data==null||e.data.purposes==null)&&e.data.purposes.includes("To find a Job")?2:-1)}}function ge(t,r){if(t&1){let e=g();
1o(0,"button",17),f("click",function(){u(e);let n=a(2);return _(n.close())}),d(1," Skip "),s()}}function fe(t,r){if(t&1){let e=g();h(0,pe,5,0),m(1,de,1,0,null,4),h(2,me,3,2,"div",5),o(3,"button",6),f("click",function(){u(e);let n=a();return _(n.proceedToNextStep())}),d(4," Explore Unstop "),s(),h(5,ge,2,0,"button",7)}if(t&2){let e=a(),i=P(4);x(e.currentStep==1?0:-1),p(),l("ngTemplateOutlet",i),p(),x(e.currentStep==2?2:-1),p(3),x(e.currentStep==2?5:-1)}}function he(t,r){if(t&1){let e=g();o(0,"div",21),f("click",function(){let n=u(e).$implicit,c=a(2);return _(c.updatePurpose(n.label))}),o(1,"div",22),C(2,"img",23),s(),o(3,"span"),d(4),s()()}if(t&2){let e=r.$implicit,i=a(2);I("active",i.data==null||i.data.purposes==null?null:i.data.purposes.includes(e.label)),p(2),l("src",e.img,k)("alt",e.label),p(2),U(e.label)}}function xe(t,r){if(t&1&&(o(0,"div",18)(1,"h2"),d(2," What brings you to Unstop? "),o(3,"span"),d(4,"This helps us create a better experience to you."),s()(),o(5,"div",19),D(6,he,5,5,"div",20,re),s()()),t&2){let e=a();p(6),E(e.options??V(0,oe))}}var qe=(()=>{class t{constructor(e,i,n){this.unSignUpService=e,this.authService=i,this.localstorageService=n,this.openSelectPurposeModal=!0,this.currentStep=1,this.designationListFilter=[],this.recruiterDesignations=["Recruiting Coordinator","Recruitment Manager","Recruitment Specialist","CEO"],this.sectorSearchTerm="",this.sectorListFilter=[],this.desgSearchTerm="",this.sectorOther="",this.desgOther="",this.options=[{label:"To find a Job",img:"https://d8it4huxumps7.cloudfront.net/uploads/images/68f083e0ac9c5_suitcase.png?d=61x61"},{label:"Compete & Upskill",img:"https://d8it4huxumps7.cloudfront.net/uploads/images/68f083fdf03e4_brain.png?d=61x61"},{label:"To Host an Event",img:"https://d8it4huxumps7.cloudfront.net/uploads/images/68f0840d4c4d3_hosting.png?d=61x61"},{label:"To be a Mentor",img:"https://d8it4huxumps7.cloudfront.net/uploads/images/68f0841e6ef28_mentorship.png?d=61x61"}],this.data={purposes:[],preferred_job_cities:[],interested_role:[],profile_user_data:{pan_india:!1,work_from_home:!1}},this._onDestroy=new O}ngOnInit(){this.initSectorAndDesignation()}initSectorAndDesignation(){this.authService.getSectorAndDesignations().pipe(b(this._onDestroy)).subscribe(e=>{e&&(this.sectorDesignations=e,this.setSectorAndDesgInputs(),this.designationListFilter=this.unSignUpService.loginAs=="recruiter"?this.recruiterDesignations:this.sectorDesignations.designation||[])})}setSectorAndDesgInputs(){if(!this.sectorDesignations)return;this.sectorSearchTerm=this.desgSearchTerm="",this.designationListFilter=this.unSignUpService.loginAs=="recruiter"?this.recruiterDesignations:this.sectorDesignations.designation||[],this.sectorListFilter=this.sectorDesignations.sector||[];let e=this.data.current_sector;e&&!this.sectorDesignations.sector.includes(e)&&(this.data.current_sector="_other",this.sectorOther=e);let i=this.data.designation;i&&!this.sectorDesignations.designation.includes(i)&&(this.data.designation="_other",this.desgOther=i)}setpreferedJobCity(e){e?.id?this.data.preferred_job_cities[0]=e:this.data.preferred_job_cities[0]=null,this.data.city_id=e?.id?e?.id:null}updatePurpose(e){if(this.data?.purposes?.includes(e)){let i=this.data?.purposes?.indexOf(e);this.data?.purposes?.splice(i,1)}else this.data?.purposes?.push(e),this.currentStep=2;this.updatePurposeData()}updatePurposeData(e=!1){let i=this.localstorageService.decEncData(this.localstorageService.getItem("currentUser"));i.purposes=this.data.purposes,i.preferred_job_cities=this.data.preferred_job_cities,i.interested_role=this.data.interested_role,i.profile_user_data.pan_india=this.data.profile_user_data.pan_india,i.profile_user_data.work_from_home=this.data.profile_user_data.work_from_home,this.unSignUpService.updateProfile(i).pipe(b(this._onDestroy)).subscribe(n=>{e&&n.data.encData&&(this.localstorageService.setItem("currentUser",n.data.encData),this.close())})}proceedToNextStep(){this.updatePurposeData(!0)}close(){this.unSignUpService.deleteCookie("usp"),this.unSignUpService.nextStep("step4"),this.unSignUpService.showPurposeModal.next(!1),this.openSelectPurposeModal=!1}static{this.\u0275fac=function(i){return new(i||t)(S(G),S(K),S(L))}}static{this.\u0275cmp=T({type:t,selectors:[["app-select-purpose"]],inputs:{openSelectPurposeModal:"openSelectPurposeModal"},decls:5,vars:1,consts:[["step1",""],["purposes",""],["preventBgClick","",3,"size","position","closeModal",4,"ngIf"],["preventBgClick","",3,"closeModal","size","position"],[4,"ngTemplateOutlet"],[1,"d-flex","flex-column","gap24","mt-24"],["unButton","","unButtonCircle","",1,"full-width","mt-24",3,"click"],["unButton","","unButtonCircle","","unButtonFlat","",1,"full-width","mt-8"],[1,"d-flex","align-center","flex-column","gap12","top"],["src","https://d8it4huxumps7.cloudfront.net/uploads/images/68f07af49e513_welcome.png?d=179x179","alt","Welcome to unstop image","width","72","height","72"],[1,"font-14","f-weight-600"],[1,"devider"],["placeholder","Interested Career Roles",3,"entries","value","maxLimit","title",4,"ngIf"],["placeholder","Interested Career Roles",3,"entries","value","maxLimit","title"],[3,"selectedCityEmit","className","label","isRequired","default_city_id"],["size","large",3,"ngModelChange","type","ngModel","checked"],[1,"font-12","f-weight-700","grey-1100-text"],["unButton","","unButtonCircle","","unButtonFlat","",1,"full-width","mt-8",3,"click"],[1,"purposes","align-center"],[1,"d-flex","gap12","card-wrapper"],[1,"card",3,"active"],[1,"card",3,"click"],[1,"img"],["width","30","height","30",3,"src","alt"]],template:function(i,n){i&1&&m(0,se,3,3,"un-modal",2)(1,fe,6,4,"ng-template",null,0,y)(3,xe,8,1,"ng-template",null,1,y),i&2&&l("ngIf",n.openSelectPurposeModal)},dependencies:[H,J,q,N,R,z,F,j,B,W,A,ee,$,Y,Z,X,Q],styles:[".top[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100px;height:100px;object-fit:cover}.top[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{line-height:130%}.devider[_ngcontent-%COMP%]{width:100%;margin:20px 0;border-top:1px dashed var(--grey-200)}.purposes[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:32px}.purposes[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;font-size:28px;font-weight:700;color:var(--grey-1100);margin:0;text-align:center;width:100%;line-height:130%}.purposes[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--grey-800);font-size:14px;line-height:130%;font-weight:400}.purposes[_ngcontent-%COMP%]   .card-wrapper[_ngcontent-%COMP%]{flex-wrap:wrap;align-items:center;justify-content:center}.purposes[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{border-radius:20px;border:1px solid var(--stroke-primary);padding:16px 12px;gap:12px;display:flex;flex-direction:column;align-items:center;cursor:pointer;max-width:115px;height:145px}.purposes[_ngcontent-%COMP%]   .card.active[_ngcontent-%COMP%]{border:1px solid var(--blue-700);box-shadow:inset 0 0 0 .5px var(--blue-700)}.purposes[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:100%;background:var(--blue-100)}.purposes[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]:hover{transition:.3s ease-in-out;background:var(--grey-50)}.purposes[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]:hover   .img[_ngcontent-%COMP%]{background:var(--grey-00)}.purposes[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px;line-height:130%;text-align:center;font-weight:500}.mt-24[_ngcontent-%COMP%]{margin-top:24px}.mt-8[_ngcontent-%COMP%]{margin-top:8px}app-multiselect[_ngcontent-%COMP%]     .input_fields_bdr, app-cities-autocomplete[_ngcontent-%COMP%]     .input_fields_bdr{margin-bottom:0}app-multiselect[_ngcontent-%COMP%]     .input_fields_bdr label, app-cities-autocomplete[_ngcontent-%COMP%]     .input_fields_bdr label{font-weight:600!important;color:var(--grey-1100)!important}app-multiselect[_ngcontent-%COMP%]     .input_fields_bdr .combine, app-cities-autocomplete[_ngcontent-%COMP%]     .input_fields_bdr .combine{margin-bottom:0!important}app-multiselect[_ngcontent-%COMP%]     .input_fields_bdr #cities_input ::placeholder, app-cities-autocomplete[_ngcontent-%COMP%]     .input_fields_bdr #cities_input ::placeholder{font-size:12px}"]})}}return t})();export{qe as SelectPurposeComponent};

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.