1"use strict";(globalThis.webpackChunkacademicJobs=globalThis.webpackChunkacademicJobs||[]).push([[4471],{3663(e,t,s){s.d(t,{A:()=>l});var a=s(5527),r=s(4414);const l=()=>{const e="https://www.academicjobs.com",t=[{url:`${e}/university-jobs`,icon:`${e}/dotted-arrow.svg`,navLink:"Job Search".toUpperCase(),forceClass:"",forceButtonClass:"pb-3 border-b hover:border-amber-500"},{url:`${e}/university-rankings`,icon:`${e}/icons/university-rankings-icon.svg`,navLink:"University Rankings".toUpperCase(),forceClass:"",forceButtonClass:"pb-3 border-b hover:border-amber-500"},{url:`${e}/rate-my-professor`,icon:`${e}/icons/rate-my-professor.svg`,navLink:"Rate My Professor".toUpperCase(),forceClass:"",forceButtonClass:"pb-3 border-b hover:border-amber-500"},{url:`${e}/recruitment`,icon:"",navLink:"Post a Job",forceButtonClass:"nav-mobile-btn btn btn-aj"}];return(0,r.jsx)("header",{className:"flex items-center justify-center w-full py-4",children:(0,r.jsxs)("nav",{className:"flex items-center justify-center gap-8",children:[(0,r.jsx)("div",{className:"flex flex-row items-center",children:(0,r.jsx)("a",{href:`${e}`,className:"mr-4",children:(0,r.jsx)("img",{src:`${e}/academic-jobs-logo.svg`,alt:"Academic Jobs Logo",width:270,height:60,style:{width:"270px",height:"60px"}})})}),t.map((e,t)=>(0,r.jsx)(o,{url:e.url,icon:e.icon,navLink:e.navLink,forceLinkClass:e.forceClass||"",forceButtonClass:e.forceButtonClass||"",onClick:()=>{}},t))]})})},o=e=>{let{url:t,icon:s,navLink:l,forceLinkClass:o,forceButtonClass:n,forceImageClass:i,onClick:c}=e;return(0,r.jsx)("a",{href:t,className:`flex flex-row items-center ${o}`,onClick:c,children:(0,r.jsxs)("div",{className:`flex flex-row items-center whitespace-nowrap text-gray-900 ${n}`,style:{gap:"8px"},children:[s&&""!==s&&(0,r.jsx)("span",{className:"text-amber-500",children:s.includes("rate-my-professor")?(0,r.jsx)(a.vUe,{className:"w-6 h-6 text-aj"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("img",{className:`text-amber-500 ${i}`,src:s,alt:l,width:22,height:22,style:{height:"22px"},onError:e=>{console.warn(`Failed to load icon: ${s} for navLink: ${l}`),e.target.style.display="none",e.target.nextSibling.style.display="inline"}}),(0,r.jsx)("span",{style:{display:"none",color:"red"},children:"[Icon Missing]"})]})}),(0,r.jsx)("span",{children:l})]})})}},951(e,t,s){s.d(t,{A:()=>c});var a=s(9950),r=s(4414);let l=null;function o(e){var t,s;null!==(t=window.google)&&void 0!==t&&null!==(s=t.maps)&&void 0!==s&&s.importLibrary||(e=>{let t,s,a,r="The Google Maps JavaScript API",l="google",o="importLibrary",n="__ib__",i=document,c=window;c=c[l]||(c[l]={});const d=c.maps||(c.maps={}),m=new Set,u=new URLSearchParams;d[o]?console.warn(r+" only loads once. Ignoring:",e):d[o]=function(c){for(var x=arguments.length,p=new Array(x>1?x-1:0),h=1;h<x;h++)p[h-1]=arguments[h];return m.add(c)&&(t||(t=new Promise(async(o,c)=>{var x;for(a in s=i.createElement("script"),u.set("libraries",[...m]+""),e)u.set(a.replace(/[A-Z]/g,e=>"_"+e[0].toLowerCase()),e[a]);u.set("callback",l+".maps."+n),s.src=`https://maps.${l}apis.com/maps/api/js?`+u,d[n]=o,s.onerror=()=>t=c(Error(r+" could not load.")),s.nonce=(null===(x=i.querySelector("script[nonce]"))||void 0===x?void 0:x.nonce)||"",i.head.append(s)}))).then(()=>d[o](c,...p))}})({key:e,v:"weekly"})}if(!Element.prototype.__placeAutocompleteShadowPatched){const e=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){return e.call(this,{...t,mode:"open"})},Element.prototype.__placeAutocompleteShadowPatched=!0}function n(e){const t=e.shadowRoot;if(t){if(!t.querySelector("style[data-place-autocomplete]")){const e=document.createElement("style");e.setAttribute("data-place-autocomplete",""),e.textContent="\n :host {\n color-scheme: light !important;\n background-color: #fff !important;\n border-radius: 0.5rem !important;\n }\n .widget-container, .input-container {\n height: 38px !important;\n border-radius: 0.5rem !important;\n }\n input {\n color: #000 !important;\n background-color: #fff !important;\n font-size: 14px !important;\n padding: 0 0 0 12px !important;\n }\n .focus-ring {\n border-radius: 0.5rem !important;\n border-color: #f59e0b !important;\n }\n .autocomplete-icon { display: none !important; }\n",t.appendChild(e)}t.querySelectorAll("*").forEach(n)}}const i=["formattedAddress","addressComponents","location"],c=e=>
1{let{apiKey:t="AIzaSyDGJjCEwv_3_kTpyovGgMizGnyD881NRzQ",onPlaceSelected:s,onInputChange:c,className:d,style:m,placeholder:u,defaultValue:x,fields:p=i}=e;const h=(0,a.useRef)(null),g=(0,a.useRef)(s);g.current=s;const f=(0,a.useRef)(c);return f.current=c,(0,a.useEffect)(()=>{let e,s,a,r=!1,i=[];return function(e){return l||(e?(o(e),l=window.google.maps.importLibrary("places"),l):Promise.reject(new Error("Missing Google Maps API key. Set REACT_APP_GOOGLE_MAPS_API_KEY in .env and restart the dev server.")))}(t).then(t=>{if(r||!h.current)return;const{PlaceAutocompleteElement:l}=t;e=new l,e.style.width="100%",e.style.colorScheme="light",e.style.backgroundColor="#fff",d&&(e.className=d),u&&e.setAttribute("placeholder",u),x&&e.setAttribute("value",x),s=async e=>{var t;let s=e.place;!s&&e.placePrediction&&(s=e.placePrediction.toPlace()),s&&(await s.fetchFields({fields:p}),null===(t=g.current)||void 0===t||t.call(g,s))},e.addEventListener("gmp-select",s),f.current&&(a=e=>{var t,s,a;const r=(null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])||e.target;null===(s=f.current)||void 0===s||s.call(f,null!==(a=null===r||void 0===r?void 0:r.value)&&void 0!==a?a:"")},e.addEventListener("input",a)),h.current.appendChild(e),n(e),i=[100,300,600,1e3].map(t=>setTimeout(()=>n(e),t))}).catch(e=>{console.error("Failed to load Google Places library:",e)}),()=>{var t;r=!0,i.forEach(clearTimeout),e&&s&&e.removeEventListener("gmp-select",s),e&&a&&e.removeEventListener("input",a),null!==(t=e)&&void 0!==t&&t.parentNode&&e.parentNode.removeChild(e)}},[t]),(0,r.jsx)("div",{ref:h,style:{width:"100%",...m}})}},4323(e,t,s){s.d(t,{W:()=>a});const a=["Albania","Andorra","Armenia","Austria","Azerbaijan","Belarus","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Cyprus","Czech Republic","Denmark","Estonia","Finland","France","Georgia","Germany","Greece","Hungary","Iceland","Ireland","Italy","Kazakhstan","Kosovo","Latvia","Liechtenstein","Lithuania","Luxembourg","Malta","Moldova","Monaco","Montenegro","Netherlands","North Macedonia","Norway","Poland","Portugal","Romania","Russia","San Marino","Serbia","Slovakia","Slovenia","Spain","Sweden","Switzerland","Turkey","Ukraine","Vatican City"]},1154(e,t,s){s.d(t,{i6:()=>i,n9:()=>l,v3:()=>r,yG:()=>c});const a=s(410).l.injectEndpoints({endpoints:e=>({sendEmail:e.mutation({query:e=>({url:"/sendemail",method:"POST",body:e,mode:"cors"}),invalidatesTags:[]}),sendBulkEmail:e.mutation({query:e=>({url:"/sendBulkEmail",method:"POST",body:e,mode:"cors"}),invalidatesTags:[]}),talentPoolEmail:e.mutation({query:e=>({url:"/talentPoolEmail",method:"POST",body:e,mode:"cors"}),invalidatesTags:[]}),sendEmail1:e.mutation({query:e=>({url:"/sendemail1",method:"POST",body:e,mode:"cors"}),invalidatesTags:[]}),sendEmail3:e.mutation({query:e=>({url:"/sendemail3",method:"POST",body:e,mode:"cors"}),invalidatesTags:[]}),SendClientAdminRequestEmail:e.mutation({query:e=>({url:"/sendClientAdminRequestEmail",method:"POST",body:e,mode:"cors"}),transformResponse:e=>e,providesTags:["sendClientAdminRequestEmail"]})})}),{useSendEmailMutation:r,useSendBulkEmailMutation:l,useTalentPoolEmailMutation:o,useSendEmail1Mutation:n,useSendEmail3Mutation:i,useSendClientAdminRequestEmailMutation:c}=a},9887(e,t,s){s.d(t,{A:()=>h,w:()=>p});var a=s(2004),r=s(9950),l=s(951),o=s(9449),n=s(6536),i=s.n(n),c=s(4323),d=s(2952),m=s(4414);const u=e=>{let{label:t,children:s,required:a=!1}=e;return(0,m.jsxs)("div",{children:[(0,m.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 mb-1",children:[t," ",a&&(0,m.jsx)("span",{className:"text-red-500",children:"*"})]}),s]})},x=e=>{let{field:t,register:s,errors:r,type:l="text",validation:o={},...n}=e;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("input",{type:l,...s(t,o),...n,className:(0,a.$)("w-full px-3 py-2 border rounded-lg shadow-sm focus:outline-none focus:ring-2 focus:ring-amber-500",{"border-red-500":r[t],"border-gray-300":!r[t]})}),r[t]&&(0,m.jsx)("p",{className:"text-xs text-red-500 mt-1",children:r[t].message})]})},p=e=>{let{isOpen:t,onClose:s,onSuccess:a}=e;const[n,p]=(0,r.useState)(null),[h,{isLoading:g}]=(0,d.Mq)(),{register:f,handleSubmit:b,setValue:y,reset:v,formState:{errors:j}}=(0,o.mN)(),w=()=>{v(),p(null),s()};return t?(0,m.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-60 z-50 flex justify-center items-center p-4 transition-opacity",children:(0,m.jsx)("div",{className:"bg-white rounded-xl shadow-2xl w-full max-w-2xl max-h-[90vh] flex flex-col",children:(0,m.jsxs)("form",{onSubmit:b(async e=>{if(e.location)try{const t=await h(e).unwrap();alert("Employer created successfully!"),a&&a({...e,...t||{}}),w()}catch(s){var t;console.error("Failed to create employer:",s),alert(`Error: ${(null===(t=s.data)||void 0===t?void 0:t.message)||"An unknown error occurred."}`)}else i()("Location required","Please select a location from the dropdown.","warning")}),noValidate:!0,children:[(0,m.jsxs)("div",{className:"sticky top-0 bg-white border-b border-gray-200 px-6 py-4 flex justify-between items-center z-10 rounded-t-xl",children:[(0,m.jsx)("h2",{className:"text-xl font-bold text-gray-800",children:"Create New Employer"}),(0,m.jsx)("button",{type:"button",onClick:w,className:"text-gray-400 hover:text-gray-600",children:(0,m.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,m.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),(0,m.jsxs)("div",{className:"p-6 space-y-6 overflow-y-auto",children:[(0,m.jsx)(u,{label:"Institution N
1ame",required:!0,children:(0,m.jsx)(x,{field:"company_name",register:f,errors:j,validation:{required:"Institution name is required."},placeholder:"e.g., University of Oxford"})}),(0,m.jsxs)(u,{label:"Location",required:!0,children:[(0,m.jsx)(l.A,{className:"w-full px-3 py-2 border border-gray-300 rounded-lg shadow-sm focus:outline-none focus:ring-2 focus:ring-amber-500",apiKey:"AIzaSyDGJjCEwv_3_kTpyovGgMizGnyD881NRzQ",onPlaceSelected:e=>{const t=t=>{var s,a;return(null===(s=e.addressComponents)||void 0===s||null===(a=s.find(e=>e.types.includes(t)))||void 0===a?void 0:a.longText)||""},s=t("country");y("location",e.formattedAddress),y("city",t("locality")),y("state",t("administrative_area_level_1")),y("country",s),y("postalCode",t("postal_code")),y("Region",c.W.includes(s)?"Europe":s)},placeholder:"Search for an address..."}),(0,m.jsx)("input",{type:"hidden",...f("location",{required:"Location is required."})}),j.location&&(0,m.jsx)("p",{className:"text-xs text-red-500 mt-1",children:j.location.message})]}),(0,m.jsx)(u,{label:"Job Page URL",required:!0,children:(0,m.jsx)(x,{field:"employerPageURL",type:"url",register:f,errors:j,validation:{required:"Job page URL is required.",pattern:{value:/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/,message:"Please enter a valid URL."}},placeholder:"https://www.university.edu/careers"})}),(0,m.jsx)(u,{label:"Logo",children:(0,m.jsxs)("div",{className:"flex items-center gap-4",children:[n&&(0,m.jsx)("img",{src:`https://cdn.academicjobs.com/img/university-logo/${n}`,alt:"Logo preview",className:"w-20 h-20 object-contain rounded-md bg-gray-100 p-1 border"}),(0,m.jsxs)("div",{className:"flex-grow",children:[(0,m.jsx)("input",{type:"file",accept:"image/png, image/jpeg, image/gif",onChange:async e=>{var t;const s=null===(t=e.target.files)||void 0===t?void 0:t[0];if(s)try{const e=await fetch("https://api.academicjobs.com/api/generate-upload-url",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fileName:s.name,directory:"university-logo"})}),{data:t,s3_key:a}=await e.json();await fetch(t,{method:"PUT",body:s});const r=a.split("/").pop();y("logo",r,{shouldValidate:!0}),p(r)}catch(a){console.error("Logo upload failed:",a),alert("Logo upload failed.")}},className:"block w-full text-sm text-gray-500 file:mr-4 file:py-2 file:px-4 file:rounded-full file:border-0 file:text-sm file:font-semibold file:bg-amber-50 file:text-amber-700 hover:file:bg-amber-100"}),(0,m.jsx)("p",{className:"text-xs text-gray-500 mt-1",children:"PNG, JPG, or GIF. Max 2MB."})]})]})})]}),(0,m.jsxs)("div",{className:"bg-gray-50 border-t border-gray-200 px-6 py-4 flex justify-end items-center gap-3 rounded-b-xl",children:[(0,m.jsx)("button",{type:"button",onClick:w,className:"px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-lg hover:bg-gray-50",children:"Cancel"}),(0,m.jsx)("button",{type:"submit",disabled:g,className:"px-4 py-2 text-sm font-medium text-white bg-amber-600 border border-transparent rounded-lg hover:bg-amber-700 disabled:bg-gray-400",children:g?"Creating...":"Create Employer"})]})]})})}):null},h=p},9117(e,t,s){s.d(t,{A:()=>i});var a=s(9950),r=s(3501),l=s(2952),o=s(1412),n=s(4414);const i=e=>{let{field:t,register:s,country:i,label:c,customKey:d,value1:m,onChange:u,forceClass:x,onSelect:p}=e;const h=(0,r.wA)(),[g,f]=(0,a.useState)(""),[b,y]=(0,a.useState)(!1),v=(0,a.useRef)(m||""),[j,w]=(0,a.useState)("");(0,a.useEffect)(()=>{const e=setTimeout(()=>w(g),300);return()=>clearTimeout(e)},[g]);const{data:N=[],isFetching:C}=(0,l.O3)({query:j,country:i||""},{});(0,a.useEffect)(()=>{const e=e=>{v.current&&!v.current.contains(e.target)&&y(!1)};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[]);return(0,a.useEffect)(()=>{f(m||"")},[m]),(0,n.jsxs)("div",{className:"w-full relative flex-col gap-1.5 items-start text-black",children:[(0,n.jsx)("input",{...s(t),ref:v,type:"text",value:g,onChange:e=>{y(!0),f(e.target.value),u(e.target.value,0,"","","")},onClick:()=>{y(!0)},className:`w-full input input-md input-bordered focus:outline-none focus:border-orange-500 ${x}
1`,autoComplete:"one-time-code",name:d,placeholder:c}),b&&(0,n.jsxs)("ul",{className:"absolute mt-2 w-full max-h-[500px] overflow-y-auto bg-white border border-gray-300 rounded-md shadow-lg z-10 list-none",children:[!C&&g===j&&g.trim()&&0===N.length&&(0,n.jsx)("li",{className:"py-3 px-4 text-sm text-gray-500",children:"No results found"}),N.map((e,t)=>{let{company_name:s,id:a,Region:r,country:l,logo:i,employerPageURL:c,clientType:d,city:m}=e;return(0,n.jsxs)("li",{className:"flex items-center justify-between w-full py-3 px-4 hover:bg-gray-50 cursor-pointer border-b border-gray-200 last:border-none",onClick:()=>((e,t,s,a,r,l,n)=>{f(e),h((0,o.in)({company_name:e,employer_id:t,logo:r,employerPageURL:l,clientType:n})),u(e,t||0,s,a,r,l,n),p&&p(e,t||0,s,a,r,l,n)})(s,a,r,l,i,c,d),children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"mb-1 font-medium text-black",children:s}),(0,n.jsxs)("p",{className:"text-sm text-gray-500",children:[m?`${m}, `:"",l]})]}),i&&(0,n.jsx)("img",{src:`https://cdn.academicjobs.com/img/university-logo/${i}`,alt:`${s} logo`,className:"w-16 h-16 object-contain ml-4"})]},t)})]})]})}},4471(e,t,s){s.r(t),s.d(t,{default:()=>y});var a=s(6473),r=s(9950),l=s(9449),o=s(9714),n=s(4414);const i=e=>{let{type:t,register:s,label:a,field:r,errors:l,forceClass:o,required:i}=e;return(0,n.jsxs)("div",{className:`flex flex-col gap-1 items-start ${o}`,children:[(0,n.jsxs)("label",{htmlFor:r,className:"text-sm font-medium text-gray-700",children:[a,i&&(0,n.jsx)("span",{className:"ml-0.5 text-red-600",children:"*"})]}),(0,n.jsx)("input",{...s(r),id:r,type:t,className:"w-full input input-md input-bordered focus:outline-none focus:border-orange-500 ",placeholder:a}),l[r]&&(0,n.jsx)("span",{className:"text-xs font-bold text-red-600",children:l[r].message})]})};var c=s(2074),d=s(6536),m=s.n(d),u=s(3663),x=s(1154),p=s(9117),h=s(9887),g=s(4826),f=s(2510);const b=/@(gmail|googlemail|yahoo|ymail|rocketmail|hotmail|outlook|live|msn|aol|icloud|me|mac|protonmail|proton|gmx|mail|zoho|yandex|qq|163|126|foxmail)\.[a-z.]+$/i,y=()=>{const[e,{isLoading:t}]=(0,x.yG)(),{register:s,handleSubmit:d,setValue:f,watch:y,formState:{errors:v}}=(0,l.mN)({defaultValues:{firstName:"",lastName:"",institution:"",email:"",phone:""},resolver:(0,a.t)(o.Ik().shape({firstName:o.Yj().required("First Name is required"),lastName:o.Yj().required("Last Name is required"),institution:o.Yj().required("Institution or Company Name is required"),email:o.Yj().email("Email is invalid").required("Email is required").test("not-personal-email","Please use your institutional or work email address, not a personal email.",e=>!e||!b.test(e)),phone:o.Yj().required("Phone is required")}))}),[w,N]=(0,r.useState)(!1);return(0,n.jsxs)("div",{className:"flex flex-col min-h-screen",children:[(0,n.jsx)(u.A,{}),(0,n.jsx)("div",{className:"flex items-center justify-center flex-1 p-4 bg-gradient-to-br from-blue-50 via-indigo-50 to-purple-50",children:(0,n.jsxs)("div",{className:"w-full max-w-6xl mx-auto",children:[(0,n.jsx)("div",{className:"bg-white shadow-2xl rounded-3xl",children:(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row",children:[(0,n.jsx)("div",{className:"p-8 lg:w-1/2 lg:p-12",children:(0,n.jsxs)("div",{className:"max-w-md mx-auto",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between mb-8",children:[(0,n.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,n.jsx)("div",{className:"flex items-center justify-center w-10 h-10 bg-gradient-to-r from-blue-600 to-indigo-600 rounded-xl",children:(0,n.jsx)("svg",{className:"w-6 h-6 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})})}),(0,n.jsx)("h1",{className:"text-2xl font-bold text-gray-900",children:"Join AcademicJobs.com"})]}),(0,n.jsx)(c.N_,{to:"/",className:"p-2 text-gray-400 transition-colors rounded-lg hover:text-gray-600 hover:bg-gray-100",children:(0,n.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]}),(0,n.jsx)("p",{className:"mb-8 text-gray-600",children:"Sign up today to unlock a world of opportunities and connect with top academic talent."}),(0,n.jsxs)("form",{onSubmit:d(async t=>{try{const s=await e(t).unwrap();if("Email sent successfully"===s.message)console.log("Form details sent successfully"),m()({title:"Confirmation email sent!",content:{element:"p",attributes:{innerHTML:"A confirmation email will be sent to you shortly in order to activate your account.",style:"text-align: center; font-size: 16px;"}},icon:"success",buttons:!1,timer:5e3});else if("Admin request email sent successfully"===s.message)m()({title:"Request Sent!",content:{element:"p",attributes:{innerHTML:"You will be contacted shortly to verify your position at this organisation.",style:"text-align: center; font-size: 16px;"}},icon:"success",buttons:!1,timer:5e3});else{console.log("Failed to send form details");const e=document.createElement("p");e.style.cssText="text-align: center; font-size: 16px;",(s.message||"An error occurred").split(/(https?:\/\/\S+)/).forEac
1h((t,s)=>{if(s%2===0)return e.append(t);const a=document.createElement("a");a.href=t,a.textContent=t,a.target="_blank",a.className="text-blue-600 underline",e.append(a)}),m()({title:`Welcome to Academic Jobs\n${t.firstName}`,content:e})}}catch(a){var s;console.error("An unexpected error occurred",a),m()("Error",(null===(s=a.data)||void 0===s?void 0:s.message)||"An unexpected error occurred","error")}}),className:"space-y-6",children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2",children:[(0,n.jsx)(i,{type:"text",field:"firstName",label:"First Name",required:!0,register:s,errors:v,forceClass:"mb-4"}),(0,n.jsx)(i,{type:"text",field:"lastName",label:"Last Name",required:!0,register:s,errors:v,forceClass:"mb-4"})]}),(0,n.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,n.jsxs)("label",{className:"text-sm font-medium text-gray-700",children:["Institution or Company Name",(0,n.jsx)("span",{className:"ml-0.5 text-red-600",children:"*"})]}),(0,n.jsx)(p.A,{register:s,field:"employer_name",customKey:"company_name",label:"Institution or Company Name",value1:y("institution")||"",onChange:(e,t,s,a,r,l,o)=>{f("company_name1",e),f("employer_id",t||0),f("Region",s),f("country",a),f("logo",r),f("institution",e)},forceClass:"mb-1"}),(0,n.jsx)("button",{type:"button",onClick:()=>N(!0),className:"self-start mb-3 text-sm font-medium text-blue-600 hover:text-blue-700 hover:underline",children:"Can't find your institution? Add it"}),v.institution&&(0,n.jsx)("p",{className:"w-full text-xs font-bold text-red-600",children:v.institution.message})]}),(0,n.jsx)(i,{type:"email",field:"email",label:"Email",required:!0,register:s,errors:v,forceClass:""}),(0,n.jsxs)("p",{className:"mb-4 ml-1 text-[12px] text-gray-600",children:[(0,n.jsx)("strong",{className:"text-red-500",children:"*"})," For immediate access your email address must match the institution's domain."]}),(0,n.jsx)(i,{type:"tel",field:"phone",label:"Phone",required:!0,register:s,errors:v,forceClass:"mb-4"})]}),(0,n.jsx)("button",{type:"submit",disabled:t,className:"w-full bg-gradient-to-r from-blue-600 to-indigo-600 text-white font-semibold py-3 px-4 rounded-xl hover:from-blue-700 hover:to-indigo-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-all transform hover:scale-[1.02] disabled:opacity-50 disabled:cursor-not-allowed",children:t?"Processing...":"Sign Up Now!"}),(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsxs)("p",{className:"text-sm text-gray-600",children:["Already have an account?\xa0",(0,n.jsx)(c.N_,{to:"/login",className:"text-blue-600 hover:underline",children:"Sign in"})]}),(0,n.jsx)(c.N_,{to:"/forgot-password",className:"text-sm text-blue-600 hover:underline",children:"Forgot your password?"})]})]})]})}),(0,n.jsx)("div",{className:"p-8 text-white lg:w-1/2 bg-gradient-to-br from-blue-600 via-indigo-600 to-purple-700 lg:p-12",children:(0,n.jsx)("div",{className:"flex flex-col justify-center h-full",children:(0,n.jsxs)("div",{className:"space-y-8",children:[(0,n.jsx)("div",{children:(0,n.jsxs)("h2",{className:"mb-4 text-3xl font-bold",children:["Welcome to Academic Jobs,"," ",(0,n.jsx)("span",{className:"text-aj",children:"Higher Ed's #1 job site"})]})}),(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsxs)("div",{className:"flex items-start space-x-4",children:[(0,n.jsx)("div",{className:"flex items-center justify-center flex-shrink-0 w-12 h-12 bg-white bg-opacity-20 rounded-xl",children:(0,n.jsx)(g.YYR,{})}),(0,n.jsx)("div",{children:(0,n.jsx)("h3",{className:"flex items-center h-12 text-xl font-semibold",children:"Tap into Highly Qualified Applicants"})})]}),(0,n.jsxs)("div",{className:"flex items-start space-x-4",children:[(0,n.jsx)("div",{className:"flex items-center justify-center flex-shrink-0 w-12 h-12 bg-white bg-opacity-20 rounded-xl",children:(0,n.jsx)(g.HVe,{})}),(0,n.jsx)("div",{children:(0,n.jsx)("h3",{className:"flex items-center h-12 text-xl font-semibold",children:"Effortless Job Loading"})})]}),(0,n.jsxs)("div",{className:"flex items-start space-x-4",children:[(0,n.jsx)("div",{className:"flex items-center justify-center flex-shrink-0 w-12 h-12 bg-white bg-opacity-20 rounded-xl",children:(0,n.jsx)(g.$BV,{})}),(0,n.jsx)("div",{children:(0,n.jsx)("h3",{className:"flex items-center h-12 text-xl font-semibold",children:"Live Job Stats"})})]}),(0,n.jsxs)("div",{className:"flex items-start space-x-4",children:[(0,n.jsx)("div",{className:"flex items-center justify-center flex-shrink-0 w-12 h-12 bg-white bg-opacity-20 rounded-xl",children:(0,n.jsx)(g.TlC,{})}),(0,n.jsx)("div",{children:(0,n.jsx)("h3",{className:"flex items-center h-12 text-xl font-semibold",children:"Profile & Invoice Management"})})]}),(0,n.jsxs)("div",{className:"flex items-start space-x-4",children:[(0,n.jsx)("div",{className:"flex items-center justify-center flex-shrink-0 w-12 h-12 bg-white bg-opacity-20 rounded-xl",children:(0,n.jsx)(g.Wp,{className:"w-6 h-6 text-white"})}),(0,n.jsxs)("div",{className:"bg-white p-2 rounded-xl",children:[(0,n.jsx)("h3",{className:"mb-1 text-xl font-semibold text-pink-600",children:"FREE Job Listing Daily"}),(0,n.jsx)("p",{className:"text-pink-600",children:"Sign up for your chance to win a FREE Job Listing."})]})]})]})]})})})]})}),(0,n.jsx)(j,{})]})}),(0,n.jsx)(h.w,{isOpen:w,onClose:()=>N(!1),onSuccess:e=>{const t=(null===e||void 0===e?void 0:e.company_name)||(null===e||void 0===e?void 0:e.name)||"";f("company_name1",t),f("employer_id",(null===e||void 0===e?void 0:e.id)||(null===e||void 0===e?void 0:e.employer_id)||0),f("Region",(null===e||void 0===e?void 0:e.Region)||""),f("country",(null===e||void 0===e?void 0:e.country)||""),f("logo",(null===e||void 0===e?void 0:e.logo)||""),f("institution",t,{shouldValidate:!0})}})]})},v=e=>{let{children:t,className:s=""}=e;return(0,n.jsx)("div",{className:`bg-white rounded-xl shadow-md p-6 text-center h-full flex flex-col justify-center ${s}`,children:t})},j=()=>(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("section",{className:"mt-12",children:[(0,n.jsx)("h2",{className:"mb-4 text-2xl font-bold text-center text-gray-blue",children:"Our Audience & Reach"}),(0,n.jsxs)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:[(0,n.jsxs)(v,{children:[(0,n.jsx)("h3",{className:"mb-3 text-xl font-semibold text-slate-800",children:"Fastest Growing Job Board on Google"}),(0,n.jsx)("img",{src:"/employer-dashboard/g-logo.png",alt:"Google Logo",className:"w-auto h-16 mx-auto my-4"}),(0,n.jsx)("p",{className:"text-sm text-slate-600",children:"Purpose-built for Google optimization, connecting you with top talent."})]}),(0,n.jsxs)(v,{children:[(0,n.jsx)("h3",{className:"mb-3 text-xl font-semibold text-slate-800",children:"Used by Top 100 Universities"}),(0,n.jsx)("img",{src:"https://www.academicjobs.com/_next/image?url=%2Funiversity-logos%2Fmisc%2Funi-montage.webp&w=384&q=75",alt:"Top Universities",className:"w-auto h-20 mx-auto my-4"}),(0,n.jsx)("p",{className:"text-sm text-slate-600",children:"Trusted by leading institutions worldwide."})]}),(0,n.jsxs)(v,{children:[(0,n.jsx)("h3",{className:"mb-3 text-xl font-semibold text-slate-800",children:"Massive Social Reach"}),(0,n.jsx)("img",{src:"/employer-dashboard/social-icons.png",alt:"Social Media Icons",className:"w-auto h-8 mx-auto my-4"}),(0,n.jsx)("p",{className:"text-4xl font-extrabold text-transparent bg-clip-text bg-gradient-to-r from-amber-500 to-orange-600",children:"1.2 million +"}),(0,n.jsx)("p",{className:"mt-1 text-sm text-slate-600",children:"Monthly Impressions"})]}),(0,n.jsxs)(v,{children:[(0,n.jsx)("p",{className:"text-5xl font-bold text-slate-800",children:(0,n.jsx)(f.Ay,{end:63})}),(0,n.jsx)("h3",{className:"mt-2 font-semibold text-md text-slate-600",children:"Average views for featured jobs"})]}),(0,n.jsxs)(v,{children:[(0,n.jsx)("p",{className:"text-5xl font-bold text-slate-800",children:(0,n.jsx)(f.Ay,{end:14.9,decimals:1})}),(0,n.jsx)("h3",{className:"mt-2 font-semibold text-md text-slate-600",children:'Average "Apply Now" hits for featured jobs'})]}),(0,n.jsxs)(v,{children:[(0,n.jsx)("p",{className:"text-5xl font-bold text-slate-800",children:(0,n.jsx)(f.Ay,{end:541632,separator:","})}),(0,n.jsx)("h3",{className:"mt-2 font-semibold text-md text-slate-600",children:"Monthly job alerts sent to candidates"})]})]})]})})},2004(e,t,s){function a(e){var t,s,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(s=a(e[t]))&&(r&&(r+=" "),r+=s)}else for(s in e)e[s]&&(r&&(r+=" "),r+=s);return r}function r(){for(var e,t,s=0,r="",l=arguments.length;s<l;s++)(e=arguments[s])&&(t=a(e))&&(r&&(r+=" "),r+=t);return r}s.d(t,{$:()=>r})}}]);
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.