1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3805],{5730:function(e,t,a){"use strict";var i=a(9008),n=a(1163),l=(a(7294),a(5893)),r=function(e){var t=e.title,a=e.keywords,r=e.description,s=e.imgContent,o=(0,n.useRouter)(),p="https://www.awa-models.com"+((null===o||void 0===o?void 0:o.asPath)||"/").split("?")[0].split("#")[0];return(0,l.jsxs)(i.default,{children:[(0,l.jsx)("title",{children:t}),(0,l.jsx)("meta",{name:"AUTHOR",content:"mediaslide.com"}),(0,l.jsx)("meta",{name:"copyright",content:"mediaslide.com"}),(0,l.jsx)("meta",{name:"description",content:r}),(0,l.jsx)("meta",{name:"keywords",content:a}),(0,l.jsx)("meta",{property:"og:title",content:t}),(0,l.jsx)("meta",{property:"og:type",content:"article"}),(0,l.jsx)("meta",{property:"og:image",content:s}),(0,l.jsx)("meta",{property:"og:url",content:p}),(0,l.jsx)("meta",{property:"og:description",content:r}),(0,l.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,l.jsx)("meta",{name:"twitter:title",content:t}),(0,l.jsx)("meta",{name:"twitter:description",content:r}),(0,l.jsx)("meta",{name:"twitter:image",content:s}),(0,l.jsx)("link",{rel:"canonical",href:p})]})};r.defaultProps={title:"",keywords:"",description:"",imgContent:"https://www.awa-models.com/logo.png"},t.Z=r},9714:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return k},default:function(){return O}});var i=a(29),n=a(9499),l=a(7794),r=a.n(l),s=a(5924),o=a(7294),p=a(4853),c=a(2208),u=a(6653),d=a(2175),x=a(6310),m=a(7734),f=a(5730),h=a(1163),g=a(5893);var v=function(e){var t=e.setSuccess,a=e.bgColor,i=e.popupHeading,n=e.popupTextOne,l=e.popupTextTwo,r=(0,h.useRouter)();return(0,g.jsxs)("div",{className:"w-full h-screen flex flex-col justify-center items-center fixed top-0 left-0 z-[101] ",style:{backgroundColor:"".concat(a)},children:[(0,g.jsx)("img",{src:"/layout/searchClose.svg",alt:"awa models",height:"20px",width:"20px",className:"cursor-pointer h-8 w-8 absolute top-5 right-5",onClick:function(){return t(!1)}}),(0,g.jsx)("img",{src:"/layout/white_logo.svg",onClick:function(){r.push("/"),t(!1)},className:"h-[30px] md:h-[40px] lg:h-[80px] w-[186px]"}),(0,g.jsxs)("div",{className:"flex flex-col justify-center items-center max-w-[988px] mt-[100px] 2xl:mt-[215px] ",children:[(0,g.jsx)("p",{className:"text-[30px] lg:text-[50px] 2xl:text-[64px] font-inter leading-[40px] xl:leading-[77px] text-[#f2f2f2]",children:i}),(0,g.jsx)("p",{className:"text[16px] lg:text-[24px] 2xl:text-[36px] text-center text-[#f2f2f2] leading-[20px] md:leading-[30px] lg:leading-[44px] font-inter",children:n}),(0,g.jsx)("p",{className:"text[16px] lg:text-[24px] 2xl:text-[36px] text-center text-[#f2f2f2] leading-[20px] md:leading-[30px] lg:leading-[44px] font-inter",children:l})]})]})},y=a(5434);var j=function(e){var t=e.keyVal,a=e.list,i=e.onClick,n=e.onClose,l=e.active,r=e.setValues,s=e.formValues;return(0,g.jsxs)("div",{className:"relative w-full h-full flex flex-col font-inter",children:[(0,g.jsx)("div",{className:"w-full border-[1px] pl-2 pt-[8px] ".concat(s[t]?"pb-[8px]":"pb-[10px]"," border-[#828282] rounded-[4px] "),children:(0,g.jsxs)("div",{className:"flex justify-between cursor-pointer ",onClick:l?n:i,children:[(0,g.jsx)("p",{className:"",children:s[t]?s[t]:""}),(0,g.jsx)("div",{className:"pr-1",children:l?(0,g.jsx)(y.DJ5,{}):(0,g.jsx)(y.x3N,{})})]})}),(0,g.jsxs)("div",{className:" absolute top-[36px] z-[99] w-full h-full overflow-y-auto border-[1px] border-[#828282] bg-white ".concat(l?"".concat("gender"===t?"h-[5rem] max-h-[75px]":"h-[8rem]"," opacity-100"):"h-0 opacity-0"," transition-all duration-500 pb-2 pt-1"),children:[null===a||void 0===a?void 0:a.map((function(e,a){return(0,g.jsxs)("p",{className:"px-1 text-[1rem] cursor-pointer hover:dark:text-black transition-all duration-100 py-[1px] font-inter ",onClick:function(){var a;(a=e).val?r(a.val,t):r("",t)},children:[" ",e.name]},a)}))," "]})]})},w=a(9583);function N(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function b(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
1t%2?N(Object(a),!0).forEach((function(t){(0,n.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):N(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var k=!0,O=function(e){var t,a=e.submissionImages,l=(0,o.useState)(s.R4),h=l[0],y=l[1],N=(0,o.useState)(!1),k=N[0],O=N[1],C=(0,o.useState)({}),P=C[0],_=C[1],S=(0,o.useState)(!1),T=S[0],q=S[1],Z=(0,o.useState)(!1),A=Z[0],V=Z[1],E=(0,o.useState)(!1),R=E[0],F=E[1],B=(0,o.useState)(-1),D=B[0],H=B[1],I=(0,o.useState)({gender:"",waist:""}),L=I[0],U=I[1],W=((0,o.useRef)(null),x.Ry({firstName:x.Z_().max(20,"First Name must be 20 characters or less").required("First Name is Required"),lastName:x.Z_().max(20,"Last Name must be 20 characters or less").required("Last Name is Required"),email:x.Z_().email("Invalid email address").required("Email is Required"),phone:x.Z_().required("Height is required"),height:x.Z_().required("Height is required"),instagram:x.Z_().required("Instagram is required"),dateOfBirth:x.Z_().required("Date Of Birth is required"),hips:x.Z_().required("Hips is required")})),Y=function(e,t){U((function(a){return b(b({},a),{},(0,n.Z)({},t,e))})),H(0)},J=(0,d.TA)({initialValues:{firstName:"",lastName:"",email:"",phone:"",instagram:"",country:"",dateOfBirth:"",height:"",hips:""},validationSchema:W,onSubmit:function(){var e=(0,i.Z)(r().mark((function e(){var t,a,i;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!G()||!k){e.next=16;break}return q(!0),t=new FormData,h.map((function(e){return t.append("image",e.file)})),e.prev=5,e.next=8,m.Z.post("/api/upload/",t);case 8:a=e.sent,i=a.data,M(i,J.values),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(5),console.log(e.t0);case 16:case"end":return e.stop()}}),e,null,[[5,13]])})));return function(){return e.apply(this,arguments)}}()}),M=function(){var e=(0,i.Z)(r().mark((function e(t,a){var i;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,i=b(b(b({},a),L),{},{images:t}),e.next=4,m.Z.post("/api/sendEmail/",i);case 4:q(!1),V(!0),z(),e.next=14;break;case 9:e.prev=9,e.t0=e.catch(0),q(!1),V(!1),F(!0);case 14:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t,a){return e.apply(this,arguments)}}(),z=function(){J.resetForm(),y(s.R4),U({gender:"",waist:""})},G=function(){var e={},t=!0;return h.forEach((function(a){a.file&&a.filePreview||(e[a.title]=!0,t=!1)})),_(b({},e)),t},X=function(e){return function(){J.setFieldTouched(e,!0,!0)}},K=[{id:1,name:"First Name",type:"input",value:J.values.firstName,fieldName:"firstName"},{id:2,name:"Last Name",type:"input",value:J.values.lastName,fieldName:"lastName"},{id:3,name:"Select Gender",type:"select",value:J.values.gender,arrVal:s.tF,fieldName:"gender",enumVal:1},{id:4,name:"Height",type:"input",value:J.values.height,fieldName:"height"},{id:5,name:"Waist",type:"select",value:J.values.waist,arrVal:s.WV,fieldName:"waist",enumVal:2},{id:6,name:"Hips",type:"input",value:J.values.hips,fieldName:"hips"},{id:7,name:"Date of Birth",type:"date",value:J.values.dateOfBirth,fieldName:"dateOfBirth"},{id:8,name:"Country",type:"input",value:J.values.country,fieldName:"country"},{id:9,name:"Phone",type:"input",value:J.values.phone,fieldName:"phone"},{id:10,name:"Email",type:"input",value:J.values.email,fieldName:"email"},{id:11,name:"Instagram",type:"input",value:J.values.instagram,fieldName:"instagram"}];return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(f.Z,{title:"Apply | Join AWA Models",description:"You think you have what it takes to become a model and you would like to be part of the AWA Models family? Apply today. We look forward to seeing you."}),A?(0,g.jsx)(v,{setSuccess:V,popupHeading:"Success!",popupTextOne:"Your application has been successfully submitted.",popupTextTwo:"We`ll get back to you soon!",bgColor:"#47694C"}):R?(0,g.jsx)(v,{setSuccess:F,popupHeading:"Oooops!",popupTextOne:"Something went wrong.",popupTextTwo:"Please try again later.",bgColor:"#bf7200"}):(0,g.jsxs)("div",{className:"w-full px-5 md:px-0 md:max-w-[90%] mx-auto mt-[105px] text-[#333] md:mt-[132px] mb-[140px] lg:mb-[250px]",children:[(0,g.jsx)("h1",{className:"text-[24px] text-[#333] lg:text-[48px] font-inter leading-[28.8px] lg:leading-[57.6px] font-medium uppercase ",children:"Become a model"}),(0,g.jsx)("p",{className:"text-[14px] lg:text-[20px] font-inter font-light leading-[22px] lg:leading-[36px] max-w-[753px] tracking-[0.48px] text-[#333] mt-[20px] md:mt-[30px]",children:"You think you have what it takes to become a model and
1you would like to be part of the Awa Models family?"}),(0,g.jsx)("div",{className:"mt-[45px] lg:mt-[109px]",children:(0,g.jsxs)("form",{className:" flex flex-col md:flex-row justify-center gap-x-[60px] xl:gap-x-[104px]",onSubmit:J.handleSubmit,children:[(0,g.jsxs)("div",{className:"w-full md:w-1/2",children:[(0,g.jsx)("p",{className:"text-[12px] hidden md:block lg:text-[20px] font-inter font-light leading-[14px] lg:leading-[24px] tracking-[0.4px]",children:"Take pictures like these and upload them"}),(0,g.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 md:mt-[30px] gap-x-4 gap-y-[40px] xl:gap-y-[60px]",children:h.map((function(e,t){var i,n,l,r;return(0,g.jsx)(o.Fragment,{children:(0,g.jsxs)("div",{className:"w-full",children:[(0,g.jsx)("p",{className:"text-[16px] font-inter tracking-[0.32px] text-[#333] font-normal",children:null===e||void 0===e?void 0:e.title}),(0,g.jsxs)("div",{className:"mt-[10px] group ",children:[(0,g.jsxs)("label",{className:"h-full w-full cursor-pointer ",htmlFor:e.id,children:[null!==e&&void 0!==e&&e.filePreview&&null!==e&&void 0!==e&&e.file?(0,g.jsx)("img",{className:"w-full h-full object-cover aspect-[3/4]",src:null===e||void 0===e?void 0:e.filePreview,height:"400px",width:"500px",alt:null===e||void 0===e?void 0:e.title}):(0,g.jsxs)("div",{className:"relative group w-full h-full",children:[(0,g.jsx)("img",{src:null!==(i=a[0])&&void 0!==i&&null!==(n=i.pictures[t])&&void 0!==n&&n.url?null===(l=a[0])||void 0===l||null===(r=l.pictures[t])||void 0===r?void 0:r.url:e.src,className:"h-full w-full object-cover aspect-[3/4]",alt:null===e||void 0===e?void 0:e.title}),(0,g.jsx)("div",{className:"absolute top-0 left-0 opacity-0 hover:opacity-50 bg-black w-full h-full transition-all duration-500 ",children:(0,g.jsx)(c.E.div,{initial:{translateY:"-10%"},whileHover:{translateY:0},transition:{duration:.5},className:"text-[#f2f2f2] tracking-[0.28px] leading-[16.8px] flex justify-center items-center h-full w-full font inter text-center px-5 text-[16px] font-normal uppercase ",children:e.imageText})})]}),(0,g.jsxs)("div",{className:"flex mt-[10px] group-hover:bg-[#333] group-hover:text-white transition-all duration-500 justify-between items-center border-[1px] py-[10px] px-[20px] border-[#4f4f4f]",children:[(0,g.jsx)("p",{className:"text-[14px] leading-[17px] font-inter font-light",children:null!==e&&void 0!==e&&e.filePreview&&null!==e&&void 0!==e&&e.file?"Uploaded":" Upload Image"}),!(null!==e&&void 0!==e&&e.filePreview)&&!(null!==e&&void 0!==e&&e.file)&&(0,g.jsx)(u.ueT,{})]})]}),(0,g.jsx)("input",{onChange:function(t){return function(e,t){var a;e.preventDefault(),(null===(a=Object.keys(P))||void 0===a?void 0:a.length)>0&&G();var i=e.target.files[0];if(i){var n=URL.createObjectURL(i);y(h.map((function(e){return e.id!==t?e:b(b({},e),{},{filePreview:n,file:i})})))}}(t,e.id)},type:"file",accept:"image/png, image/jpeg, image/jpg",id:e.id,className:"hidden"},t)]})]})},e.id)}))})]}),(0,g.jsxs)("div",{className:"w-full md:w-1/2 mt-[70px] md:mt-0",children:[(0,g.jsx)("p",{className:"text-[20px] px-5 md:px-0 font-inter font-light leading-[24px] tracking-[0.4px] text-[#333]",children:"Enter your data"}),(0,g.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-x-[30px] xl:gap-x-[60px] gap-y-[20px] mt-[32px] md:mt-[40px] px-5 md:px-0",children:null===K||void 0===K?void 0:K.map((function(e,t){return(0,g.jsxs)("div",{className:"flex flex-col gap-y-[10px]",children:[(0,g.jsx)("lable",{className:"text-[16px] font-light md:font-normal font-inter leading-[26px] text-[#333]",children:e.name}),"input"===(null===e||void 0===e?void 0:e.type)?(0,g.jsx)("input",{type:"text",name:e.fieldName,value:e.value,onChange:J.handleChange,onBlur:X(e.fieldName),required:!0,className:"border-[1px] pl-2 py-2 border-[#828282] bg-transparent"}):"date"===(null===e||void 0===e?void 0:e.type)?(0,g.jsxs)("div",{className:"relative border-[#828282] rounded-[4px] border-[1px] w-full pl-2 py-2",children:[(0,g.jsx)("input",{type:"date",name:e.fieldName,value:e.value,onChange:J.handleChange,placeholder:"mm/dd/yyyy",onBlur:X(e.fieldName),required:!0,className:" outline-none w-[290px] md:w-full "}),(0,g.jsx)(w.IiJ,{className:"absolute pointer-events-none top-[50%] right-[10px] -translate-y-1/2 text-black"})]}):(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(j,{keyVal:e.fieldName,list:e.arrVal,active:D===e.enumVal,onClick:function(t){t.stopPropagation(),H(e.enumVal)},onClose:function(){return H(-1)},setValues:Y,formValues:L})})]},t)}))}
1),(0,g.jsx)("div",{className:"mt-[40px] px-5 xl:mt-[60px] md:max-w-[450px] text-[#333]",children:(0,g.jsxs)("p",{className:"font-inter text-[14px] md:text-[16px] font-extralight leading-[32px] tracking-[0.3px] mt-10",children:["Please understand that we only contact you ",(0,g.jsx)("br",{}),"if we are interested in representing you."]})}),(0,g.jsx)("div",{className:"flex justify-center md:justify-start w-full mt-[60px] xl:mt-[60px]",children:(0,g.jsx)(p.Z,{sitekey:"6LfNdT0pAAAAAKN9q5t3NT4DJyYhry72jAukTOVN",onChange:function(){O(!0)},onExpired:function(){return O(!1)}})}),(null===(t=Object.keys(P))||void 0===t?void 0:t.length)>1&&(0,g.jsx)("p",{className:"text-red-500 text-center",children:"Please Upload all the images"}),(0,g.jsx)("button",{className:"text-[14px] w-full px-[30px] py-[20px] bg-[#333] font-inter font-normal uppercase text-white leading-[17px] mt-[30px]",disabled:T,type:"submit",children:T?"loading":"Submit Application"}),(0,g.jsx)("p",{className:"font-inter text-center md:text-start text-[12px] font-normal text-[#333] tracking-[0.3px] mt-[20px] md:mt-[10px]",children:"By submitting application you agree to our Privacy Policy."})]})]})})]})]})}},5782:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/apply",function(){return a(9714)}])}},function(e){e.O(0,[1228,3777,5445,6105,9774,2888,179],(function(){return t=5782,e(e.s=t);var t}));var t=e.O();_N_E=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.