1"use strict";(self.webpackChunktyi_user_webapp=self.webpackChunktyi_user_webapp||[]).push([[2634,9835],{1995:(e,s,a)=>{a.d(s,{A:()=>i});a(65043);var n=a(70579);const i=e=>{let{logo:s,smallText:a,largeText:i}=e;const t="/"===location.pathname;return(0,n.jsxs)("div",{className:t?"heading-container head-home":"heading-container",children:[(0,n.jsxs)("div",{className:"heading-content",children:[(0,n.jsx)("div",{className:"heading-logo",children:s}),(0,n.jsxs)("div",{className:"heading-text",children:[(0,n.jsx)("h2",{children:a}),(0,n.jsx)("h1",{children:i})]})]}),(0,n.jsx)("div",{className:"custom-border global-top-margin"})]})}},6439:()=>{},12855:(e,s,a)=>{a.r(s),a.d(s,{default:()=>b});var n=a(65043),i=a(79456),t=a(73216),l=a(98402),r=a(98762),o=a(97283),d=a(28482),c=a(75516),m=a(1995),u=a(52529),h=a(3512),v=a(70579);const g=e=>{let{questions:s=[]}=e;const a=(0,t.zy)();return(0,v.jsx)("div",{className:"faqs-container",children:"/faqs"===a.pathname?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(d.A,{isLeftContent:!1,Logo:!1,Navigation:!0,PageType:"faq",bannerImg:"".concat(u.Ay).concat(u.Tp.faqs),Heading:"FAQs",isOnlyBanner:!1,innerNav:!1,overlay:"#348179D4",children:(0,v.jsx)(h.A,{abc:{title:"FAQ",color:"white",menuColor:"white",menuItems:[]}})}),(0,v.jsx)("div",{className:"faq-ques",children:(0,v.jsx)(c.A,{data:[{id:1,ques:"Question",ans:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard\n dummy text ever since the 1500s with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."},{id:2,ques:"Question",ans:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard\n dummy text ever since the 1500s with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."},{id:3,ques:"Question",ans:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard\n dummy text ever since the 1500s with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."},{id:4,ques:"Question",ans:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard\n dummy text ever since the 1500s with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."},{id:5,ques:"Question",ans:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard\n dummy text ever since the 1500s with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."}]})})]}):(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(m.A,{smallText:"FAQ"}),(0,v.jsx)("div",{className:"faq-ques",children:(0,v.jsx)(c.A,{data:s})})]})})};var x=a(49196),j=a(68811);const y=e=>{let{gallery:s,altName:a}=e;return(0,v.jsxs)("div",{className:"volunteer-contents",children:[(0,v.jsx)(m.A,{smallText:"Gallery"}),(0,v.jsx)("div",{className:"gallery-content",children:(0,v.jsx)("div",{className:"common-gallery",children:(0,v.jsxs)("div",{className:"common-gallery-grid",children:[(0,v.jsx)("div",{className:"common-grid-1",children:(0,v.jsx)("img",{src:null===s||void 0===s?void 0:s[0],alt:a,className:"img-main"})}),(0,v.jsxs)("div",{className:"common-grid-2",children:[(0,v.jsx)("div",{className:"sub-grid-1",children:(0,v.jsx)("img",{src:null===s||void 0===s?void 0:s[1],alt:a})}),(0,v.jsx)("div",{className:"sub-grid-2",children:(0,v.jsx)("img",{src:null===s||void 0===s?void 0:s[2],alt:a})})]}),(0,v.jsx)("div",{className:"common-grid-1",children:(0,v.jsx)("img",{src:null===s||void 0===s?void 0:s[3],className:"img-main",alt:a})}),(0,v.jsxs)("div",{className:"common-grid-2",children:[(0,v.jsx)("div",{className:"sub-grid-1",children:(0,v.jsx)("img",{src:null===s||void 0===s?void 0:s[4],alt:a})}),(0,v.jsx)("div",{className:"sub-grid-2",children:(0,v.jsx)("img",{src:null===s||void 0===s?void 0:s[5],alt:a})})]})]})})})]})};var p=a(28501),f=a(62544),N=(a(6439),a(57959));const b=()=>
1{const e=(0,i.wA)(),[s,a]=(0,n.useState)(null),[d,c]=(0,n.useState)(null),[m,u]=(0,n.useState)(""),[b,w]=(0,n.useState)(""),[_,k]=(0,n.useState)(0),{id:A}=(0,t.g)(),[I,L]=(0,n.useState)({}),[S,C]=(0,n.useState)(!1),[q,E]=(0,n.useState)(!1),[P,R]=(0,n.useState)(!1),F=async(e,s,n)=>{if(e.size/1024/1024>2)"RESUME"===n?k(1):"IMAGE"===n&&k(2);else{const i=await(0,r.Q)(e,s);"RESUME"===n?(c(i),k(0)):"IMAGE"===n&&(a(i),k(0)),E(!1),R(!1)}},[M,U]=(0,n.useState)({firstName:"",email:""}),[V,D]=(0,n.useState)(0),{volunteerPrograms:T}=(0,i.d4)(e=>e.volunteer);(0,n.useEffect)(()=>{e((0,p.qP)())},[]),(0,n.useEffect)(()=>{L(T.find(e=>A===e._id))},[T]),console.log(s,"imgAsset");return(0,v.jsxs)("div",{className:"single-job",children:[(0,v.jsx)(h.A,{abc:{title:"Volunteer Job",color:"orange",menuColor:"orange",menuItems:[]}}),(0,v.jsxs)("div",{className:"job-details",children:[(0,v.jsxs)("div",{className:"job-description",children:[(0,v.jsx)("div",{className:"job-img",children:(0,v.jsx)("img",{src:null===I||void 0===I?void 0:I.thumbnail,alt:null===I||void 0===I?void 0:I.name})}),(0,v.jsxs)("div",{className:"job-info",children:[(0,v.jsxs)("h1",{children:[null===I||void 0===I?void 0:I.title,(0,v.jsx)("div",{className:"bottom-line"})]}),(0,v.jsx)("p",{children:null===I||void 0===I?void 0:I.description})]})]}),(0,v.jsxs)("div",{className:"job-application",children:[(0,v.jsx)("div",{className:"job-requirements"}),(0,v.jsx)("div",{className:"job-form",children:(0,v.jsxs)("form",{onSubmit:a=>{(async a=>{if(a.preventDefault(),""===M.firstName)D(1);else if((0,l.D)(M.email))if(null===s)D(3);else if(null===d)D(4);else{let a={name:M.firstName,email:M.email,image:s,pdf:d,profileId:I._id};await e((0,p.n8)(a)),(0,N.C)({name:M.firstName,email:M.email,imageURL:s,resumeURL:d,volunteerCategory:T.title}),C(!0)}else D(2)})(a)},children:[(0,v.jsxs)("fieldset",{children:[(0,v.jsx)(x.A,{type:"text",placeholder:"Name",form:M,setField:U,keyName:"firstName",errorCheck:D})," ",1===V&&(0,v.jsx)("small",{style:{color:"red",marginLeft:"2rem"},children:"Please Enter Name"})]}),(0,v.jsxs)("fieldset",{children:[(0,v.jsx)(x.A,{type:"text",placeholder:"Email",form:M,setField:U,keyName:"email",errorCheck:D}),2===V&&(0,v.jsx)("small",{style:{color:"red",marginLeft:"2rem"},children:"Please Enter Email Id"})]}),(0,v.jsxs)("div",{className:"volunteer_uploads",children:[q?(0,v.jsx)(f.A,{}):(0,v.jsxs)("fieldset",{children:[(0,v.jsxs)("label",{htmlFor:"image",children:[s?m.substring(0,15):"Upload Image ",(0,v.jsx)("input",{type:"file",id:"image",onChange:e=>{!(e.target.files[0].size/1024/1024>2)&&E(!0),F(e.target.files[0],"image","IMAGE"),u(e.target.files[0].name)},placeholder:"Upload Image",accept:"image/*"}),"\u2002",o.Se]}),2===_&&(0,v.jsx)("small",{style:{color:"red",marginLeft:"2rem"},children:"Please Enter Image Under 2MB"}),3===V&&(0,v.jsx)("small",{style:{color:"red",marginLeft:"2rem"},children:"Please update image under 2MB"})]}),P?(0,v.jsx)(f.A,{}):(0,v.jsxs)("fieldset",{children:[(0,v.jsxs)("label",{htmlFor:"resume",children:[d?b.substring(0,15):"Upload Resume",(0,v.jsx)("input",{type:"file",id:"resume",accept:".pdf",onChange:e=>{!(e.target.files[0].size/1024/1024>2)&&R(!0),F(e.target.files[0],"resume","RESUME"),w(e.target.files[0].name)},placeholder:"Upload Resume"}),"\u2002",o.Se]}),1===_&&(0,v.jsx)("small",{style:{color:"red",marginLeft:"2rem"},children:"Please Enter Resume under 2MB"}),4===V&&(0,v.jsx)("small",{style:{color:"red",marginLeft:"2rem"},children:"Please update resume under 2MB"}),0===_&&(0,v.jsx)("small",{children:"Please ensure the file is under 2 MB"})]})]}),(0,v.jsx)("fieldset",{children:(0,v.jsx)("input",{id:"volunteer_apply",type:"submit"})}),5===V&&(0,v.jsx)("small",{style:{color:"green",marginLeft:"2rem"},children:"Form submitted succesfully"})]})})]})]}),(0,v.jsx)(y,{altName:null===I||void 0===I?void 0:I.name,gallery:null===I||void 0===I?void 0:I.gallery}),(0,v.jsx)(g,{questions:null===I||void 0===I?void 0:I.faq}),S&&(0,v.jsx)(j.A,{type:"SUCCESS",message:"Application submitted successfully!",closePopup:C})]})}},28482:(e,s,a)=>{a.d(s,{A:()=>m});var n=a(65043),i=a(98054),t=a(97283),l=a(73216),r=a(35475),o=a(70579);const d=e=>{let{innerNav:s}=e;
1const[a,d]=(0,n.useState)(!1);const c=(0,l.zy)().pathname;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"common-nav-container",children:[(0,o.jsxs)("div",{className:"mega-nav",children:[(0,o.jsx)("div",{className:"hamburger",onClick:()=>d(!a),children:t.Fx}),(0,o.jsx)("div",{className:"main-logo",children:(0,o.jsx)(r.N_,{to:"/",children:t.N5})}),s&&(0,o.jsx)("div",{className:"career-navigation-sm",children:(0,o.jsxs)("ul",{children:[(0,o.jsx)(r.N_,{to:"/volunteer",children:(0,o.jsx)("li",{className:"".concat("/volunteer"===c&&"nav-active"),children:"Volunteer with us"})}),(0,o.jsx)(r.N_,{to:"/volunteer/values",children:(0,o.jsx)("li",{className:"".concat("/volunteer/values"===c&&"nav-active"),style:{borderRight:"0"},children:"Values"})})]})}),(0,o.jsx)(r.N_,{to:"/sign-in",children:(0,o.jsx)("div",{className:"user-container",children:t.fW})})]}),s&&(0,o.jsx)("div",{className:"career-navigation-lg ",children:(0,o.jsxs)("ul",{children:[(0,o.jsx)(r.N_,{to:"/volunteer",children:(0,o.jsx)("li",{className:"".concat("/volunteer"===c&&"nav-active"),children:"Volunteer with us"})}),(0,o.jsx)(r.N_,{to:"/volunteer/values",children:(0,o.jsx)("li",{className:"".concat("/volunteer/values"===c&&"nav-active"),style:{borderRight:"0"},children:"Values"})})]})})]}),a&&(0,o.jsx)("div",{style:{position:"absolute",top:"0",left:"0",width:"100vw",height:"100vh",zIndex:"200"},children:(0,o.jsx)(i.default,{setNav:d})})]})},c=a.p+"static/media/museum1_.cb23c1872668113a3910.jpg",m=e=>{let{Navigation:s,PageType:a,Heading:n,isOnlyBanner:i,innerNav:t,children:l,description:r,bannerImg:m=c,overlay:u="#000000"}=e;return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{className:"common-container ".concat(a,"-container ").concat(!i&&"common-container-responsive"),style:{backgroundImage:"url(".concat(m,")")},children:(0,o.jsxs)("div",{className:"overlay",style:{width:"100%",height:"100%",background:"".concat(u)},children:[s&&(0,o.jsx)("div",{className:"navigation-container",children:l||(0,o.jsx)(d,{innerNav:t})}),(0,o.jsx)("div",{className:"banner-container ".concat(!i&&"banner-container-responsive"),children:(0,o.jsxs)("div",{className:"why-text banner-text",children:[(0,o.jsxs)("div",{className:"banner-heading",children:[n,(0,o.jsx)("div",{className:"bottom-line"})]}),r?"".concat(r):"Celebrate the Joy of Giving and bring smiles and happiness to the lives of others. The Yoga Institute\u2019s gifting initiative enables you to support the ones you love with the gift of wisdom, a new career, or the invaluable gift of health and wellness. To uplift and cheer your loved ones, choose from a variety of courses, camps, books, and other options. Gift now!","donation"===a&&(0,o.jsxs)("b",{children:[(0,o.jsx)("br",{}),"Join us"]})]})})]})})})}},57959:(e,s,a)=>{var n;a.d(s,{C:()=>l,N:()=>t});const i=null===(n=window)||void 0===n?void 0:n.clevertap,t=e=>{i.event.push("View_Volunteer_Details",{Volunteer_Programs:e.join(", "),Total_Programs:e.length}),console.log("View_Volunteer_Details event tracked",window.clevertap)},l=e=>{let{name:s,email:a,imageURL:n,resumeURL:t,volunteerCategory:l}=e;i.event.push("Submit_Volunteer_Details",{Name:s,Email_ID:a,Image_URL:n,Resume_URL:t,Volunteer_Category:l})}},68811:(e,s,a)=>{a.d(s,{A:()=>t});a(65043);var n=a(73216),i=a(70579);const t=e=>{let{message:s,type:a,nav:t,closePopup:l,button:r,buttonAction:o}=e;const d=(0,n.Zp)();return(0,i.jsx)("div",{className:"messsage-modal ".concat(a),children:(0,i.jsxs)("div",{className:"modal-body",children:[(0,i.jsx)("div",{className:"close-popup",onClick:()=>{t?d("".concat(t)):l(!1)},children:"\u2715"}),(0,i.jsx)("h1",{children:a}),(0,i.jsx)("h2",{className:"message",children:s}),(0,i.jsx)("div",{className:"btn_action",onClick:o,children:r})]})})}},75516:(e,s,a)=>{a.d(s,{A:()=>l});var n=a(65043),i=a(35475),t=a(70579);const l=e=>{let{data:s,sliderVal:a,setSliderVal:l,selectedFilters:r}=e;
1const[o,d]=(0,n.useState)(a),[c,m]=(0,n.useState)();(0,n.useEffect)(()=>{if(r){const e=Object.values(r).some(e=>!0===e);m(e)}},[r]);const u=e=>{if(r){if(!c)return!0;const a=e.ans;if(a)var s=a.filter(e=>{if(console.log(e),e.isRegular)return Object.keys(r).every(s=>!!["days7","days21","month1","month2","month3","year1","year2","month7","month4","days1","days2"].includes(s)||(!r[s]||r[s]===e[s]));let s=["days7","days21","month1","month2","month3","year1","year2","month7","month4","days1","days2"].some(s=>r[s]&&e[s]);["days7","days21","month1","month2","month3","year1","year2","month7","month4","days1","days2"].every(e=>!r[e])&&(s=!0);let a=Object.keys(r).every(s=>!!["days7","days21","month1","month2","month3","year1","year2","month7","month4","days1","days2"].includes(s)||(!r[s]||r[s]===e[s]));return s&&a});return console.log(s),s.length>0}return!1};return(0,t.jsx)("div",{className:"accordian_contanier",children:s.map((e,s)=>(0,t.jsx)(n.Fragment,{children:u(e)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{style:"object"===typeof e.ans?{width:"100%"}:{},className:"accordian_div",children:[(0,t.jsxs)("p",{className:"accordian_ques",onClick:o!=e.id?()=>{l(e.id),d(e.id)}:()=>{l(null),d(null)},children:[e.ques||e.questions,(0,t.jsx)("span",{className:o===(e.id||e._id)||a===(e.id||e._id)?"acc_arrow open":"acc_arrow",children:"\u25b6"})]}),"object"!==typeof e.ans?(0,t.jsxs)("p",{className:"accordian_ans",style:o===(e.id||e._id)||a===(e.id||e._id)?{height:"auto"}:{},children:[" ",e.ans||e.answer]}):(0,t.jsx)("ul",{className:"accordian_ans",style:o===e.id||a===e.id?{height:"auto"}:{},children:e.ans.map((e,s)=>(e=>{if(r){const{online:s,onCampus:a,days7:n,days21:i,month1:t,month2:l,month3:o,weekends:d,weekDays:m,year1:u,year2:h,month7:v,month4:g,days1:x,days2:j}=r;if(!c)return!0;const y=[];return s&&y.push(e.online),a&&y.push(e.onCampus),(n||i||t||l||o||u||h||v||g||x||j)&&(n&&e.days7||i&&e.days21||t&&e.month1||l&&e.month2||o&&e.month3||u&&e.year1||h&&e.year2||v&&e.month7||g&&e.month4||x&&e.days1||j&&e.days2||null!==e&&void 0!==e&&e.isRegular?y.push(!0):y.push(!1)),d&&y.push(e.weekends),m&&y.push(e.weekDays),y.length>0&&y.every(Boolean)}return!1})(e)&&(0,t.jsx)("div",{className:"accordian_ul",children:(0,t.jsx)(i.N_,{to:e.url,children:e.text})},s))})]}),"object"!==typeof e.ans&&(0,t.jsx)("hr",{})]})},s))})}},98402:(e,s,a)=>{function n(e){return!!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(e)}a.d(s,{D:()=>n})}}]); 2//# sourceMappingURL=9835.79c90b57.chunk.js.map
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.