1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1c968a39-990f-4da1-9d81-0b268ff8727c",e._sentryDebugIdIdentifier="sentry-dbid-1c968a39-990f-4da1-9d81-0b268ff8727c")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3858],{52194:function(e,t,r){"use strict";r.d(t,{uA:function(){return a},N1:function(){return p},N8:function(){return u},Hw:function(){return c},v9:function(){return o}});var s=r(70290),l=r.n(s);r(31304),r(94103);let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return e.map(e=>({value:e,sort:Math.random()})).sort((e,t)=>e.sort-t.sort).map(e=>{let{value:t}=e;return t}).slice(0,t)};async function i(e){let t=e.url.toString(),r=new URL(t);r.searchParams.set("x-algolia-agent","web");let s="/api/algolia-proxy/".concat(encodeURIComponent(btoa(JSON.stringify({url:r.toString(),data:e.data})))),l=await fetch(s,{method:"GET"}).then(async e=>{if(!e.ok)throw Error(await e.text());return e}).catch(()=>(console.warn("Proxy request failed, falling back to algolia"),fetch(e.url,{headers:e.headers,method:e.method,body:e.data}))),n=await l.text();return{content:n,status:l.status,isTimedOut:!1}}let a=l()("F88LDL4NBT","41f610f3c1cab746f170df074e7cfbb8",function(){if(!window.localStorage.getItem("skip-proxy"))return{requester:{send:i}}}()),o=a.initIndex("OPENWORK_HEALTH_TRAVEL"),c=a.initIndex("OPENWORK_HEALTH_LOCAL"),d={travel:o,local:c,Local:c,Travel:o},u=async e=>{let t=await d[e].search("",{hitsPerPage:250});return n(t.hits,3)},p=async(e,t)=>{let{facets:r}=await d[t].search("",{facets:[e]});return Object.keys(r[e])}},51486:function(e,t,r){"use strict";var s=r(85893);r(67294);var l=r(58382),n=r(88863),i=r.n(n),a=r(26424);t.Z=e=>{let{title:t,link:r}=e;return(0,s.jsxs)("div",{className:"px-16 800:px-32 py-24 800:py-40 bg-lavender flex flex-col 800:flex-row justify-between items-center",children:[(0,s.jsx)("div",{className:"font-headline font-500 text-32 leading-32 text-purple text-center 800:text-left mb-20 800:mb-0",children:(0,s.jsx)(i(),{blocks:t,serializers:a.Z})}),(0,s.jsx)(l.Z,{className:"button-primary whitespace-nowrap",...r})]})}},88428:function(e,t,r){"use strict";var s=r(85893);r(67294);var l=r(94184),n=r.n(l),i=r(64729),a=r(43860),o=r(21190),c=r(23609);t.Z=e=>{let{title:t,children:r,activeItem:l,setActiveItem:d,items:u,label:p,buttonClassname:x="border-purple bg-offwhite",labelClassname:m="text-purple"}=e,h=(0,a.m)(i.R.Options);return(0,s.jsx)(i.R,{value:l,onChange:d,children:e=>{let{open:t}=e;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"relative mt-1",children:[(0,s.jsxs)(i.R.Button,{className:n()("800:min-w-[20rem] h-full w-full flex justify-between items-center py-12 px-15 border border-solid min-h-40",{"rounded-2":!t,"rounded-t-2":t},x),children:[(0,s.jsx)("span",{className:"text-14 leading-14 mr-7 ".concat(m),children:p||l}),(0,s.jsx)(c.Z,{className:n()("transform transform-center transition-transform duration-200 h-10 w-5",{"-rotate-90":t,"rotate-90":!t},m)})]}),(0,s.jsx)(o.M,{children:t&&(0,s.jsx)(h,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2,type:"tween"},static:!0,className:"z-1 absolute left-0 right-0 border-l border-r border-b border-solid ".concat(x),children:u.map((e,t)=>(0,s.jsx)(i.R.Option,{className:e=>{let{active:t}=e;return"select-none relative py-10 px-15 cursor-pointer hover:bg-oatmeal focus:bg-oatmeal ".concat(t?"bg-oatmeal":"")},value:e.slug,children:t=>{let{selected:r}=t;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("span",{className:"block text-14 leading-14 ".concat(r?"font-600":"font-400"),children:e.title})})}},t))},t)})]})})}})}},92966:function(e,t,r){"use strict";var s=r(85893),l=r(67294);class n extends l.Component{static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.error("Boundary",e),console.error("Boundary",t)}render(){return this.state.hasError?(0,s.jsx)("div",{className:"bg-green mt-header",children:(0,s.jsxs)("section",{className:"flex flex-col items-center gap-50 justify-center py-40 pt-180 min-h-600",children:[(0,s.jsx)("h2",{className:"font-headline text-white text-32 1000:text-56 ",children:"Something went wrong!"}),(0,s.jsx)("button",{className:"button-primary",type:"button",onClick:()=>{this.setState({hasError:!1}),window.location.reload()},children:"Refresh Page"})]})}):this.props.children}constructor(e){super(e),this.state={hasError:!1}}}t.Z=n},76074:function(e,t,r){"use strict";var s=r(85893);r(67294),t.Z=e=>(0,s.jsxs)("svg",{...e,width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M19.1348 5.32153L5.63477 18.8215",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M19.1348 18.8215L5.63477 5.32153",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},71545:function(e,t,r){"use strict";var s=r(85893);r(67294),t.Z=e=>(0,s.jsxs)("svg",{...e,width:"15",height:"19",viewBox:"0 0 15 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M8.12174 17.5L7.30965 18.1421C7.51072 18.3964 7.8193 18.5419 8.14341 18.5351C8.46752 18.5283 8.76974 18.3701 8.95999 18.1076L8.12174 17.5ZM12.5465 11.3954L11.7083 10.7879L12.5465 11.3954ZM8.93383 16.8579L4.13326 10.7868L2.50908 12.071L7.30965 18.1421L8.93383 16.8579ZM3.03529 7.62801V7.36667H0.964706V7.62801H3.03529ZM12.698 7.36667V7.7358H14.7686V7.36667H12.698ZM11.7083 10.7879L7.28349 16.8924L8.95999 18.1076L13.3848 12.003L11.7083 10.7879ZM12.698 7.7358C12.698 8.83204 12.3516 9.90025 11.7083 10.7879L13.3848 12.003C14.2843 10.762 14.7686 9.26851 14.7686 7.7358H12.698ZM7.86667 2.53529C10.535 2.53529 12.698 4.69837 12.698 7.36667H14.7686C14.7686 3.55482 11.6785 0.464706 7.86667 0.464706V2.53529ZM3.03529 7.36667C3.03529 4.69837 5.19837 2.53529 7.86667 2.53529V0.464706C4.05482 0.464706 0.964706 3.55482 0.964706 7.36667H3.03529ZM4.13326 10.7868C3.42215 9.88744 3.03529 8.77449 3.03529 7.62801H0.964706C0.964706 9.24063 1.50885 10.8061 2.50908 12.071L4.13326 10.7868Z",fill:"currentColor"}),(0,s.jsx)("ellipse",{cx:"7.86563",cy:"7.3666",rx:"1.6",ry:"1.6",fill:"currentColor"})]})},83356:function(e,t,r){"use strict";var s=r(85893);r(67294),t.Z=e=>(0,s.jsxs)("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,s.jsx)("circle",{cx:"6.5",cy:"6.95899",r:"5.42858",stroke:"currentColor",strokeWidth:"2.14284"}),(0,s.jsx)("line",{x1:"10.7576",y1:"10.7014",x2:"15.7576",y2:"15.7014",stroke:"currentColor",strokeWidth:"2.14284"})]})},39326:function(e,t,r){"use strict";r.d(t,{Z:function(){return es}});var s=r(85893),l=r(67294),n=r(33349),i=r(54942),a=r(64729),o=r(94184),c=r.n(o),d=r(83356),u=r(76074),p=r(44949),x=r(18607),m=r(71545),h=r(83780),f=r(81558),g=r(72709),b=()=>{let e=(0,i.b)(),[t,r]=(0,l.useState)("POSITION_REQUEST_PENDING"),[n,a]=(0,l.useState)(null);(0,l.useEffect)(()=>{let e=new URLSearchParams(window.location.search),t=e.get("location");t&&w(t)},[]);let o="Your Location",d=()=>{a(null),e.setIndexUiState(e=>({...e,configure:{...e.configure,aroundRadius:"all"}}))},p=t=>{let{lat:r,lng:s,location:l}=t;a(l),e.setIndexUiState(e=>({...e,refinementList:{...e.refinementList,city:[]},configure:{aroundLatLng:"".concat(r,",").concat(s),aroundRadius:80467}}))},{placePredictions:b=[],getPlacePredictions:v,isPlacePredictionsLoading:j}=(0,h.Z)({apiKey:g.Z,options:{types:["(cities)"],componentRestrictions:{country:"usa"}}}),y=e=>/.*, USA/.test(e)?e.replace(", USA",""):e,w=async e=>{if(e){if(e===o)(0,f.Z)().then(e=>
1{r("POSITION_REQUEST_FULFILLED"),p({lat:e.coords.latitude,lng:e.coords.longitude,location:o})}).catch(e=>r("POSITION_REQUEST_FAILED"));else try{if(window.google||await new Promise(e=>setTimeout(e,500)),window.google){let t=new window.google.maps.Geocoder,r=await t.geocode({address:e});p({lat:r.results[0].geometry.location.lat(),lng:r.results[0].geometry.location.lng(),location:y(e)})}}catch(e){console.error(e)}}else d()};return(0,s.jsxs)("div",{className:"relative col-span-2 1000:col-span-1",children:[(0,s.jsx)("div",{className:"absolute right-0 top-0 bottom-0 pointer-events-none pr-20 flex items-center",children:n&&(0,s.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),d()},className:"block pointer-events-auto link--opacity",children:(0,s.jsx)(u.Z,{className:"h-16 "})})}),(0,s.jsx)(x.h,{className:"relative",value:n,onChange:w,children:e=>{let{open:r}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(x.h.Input,{onChange:e=>v({input:e.target.value}),autoComplete:"off",className:c()("flex items-center w-full h-full text-16 leading-button-14 rounded-tr-2 px-44 py-24 bg-white text-left border-transparent border-none focus:ring-0 placeholder:text-purple placeholder:font-500 placeholder:opacity-100",{"rounded-r-2":!r}),placeholder:"Search By Location"}),(0,s.jsx)("div",{className:"pl-20 text-light-purple absolute top-0 left-0 bottom-0 flex items-center",children:(0,s.jsx)(m.Z,{})})]}),!!b.length&&r&&(0,s.jsxs)(x.h.Options,{static:!0,className:"z-1 w-full absolute rounded-b-2 border-t border-solid border-gray-f3 overflow-hidden",children:["POSITION_REQUEST_FAILED"!==t&&(0,s.jsx)(x.h.Option,{value:o,as:l.Fragment,children:e=>{let{active:t,selected:r}=e;return(0,s.jsx)("li",{className:c()("text-16 leading-button-16 text-left py-14 px-20 text-purple font-500",{"bg-beige":t,"bg-white":!t}),children:o})}},o),b.slice(0,5).map(e=>(0,s.jsx)(x.h.Option,{as:l.Fragment,value:e.description,children:t=>{let{active:r,selected:l}=t;return(0,s.jsx)("li",{className:c()("text-16 leading-button-14 text-left py-14 px-20 text-purple font-500",{"bg-beige":r,"bg-white":!r}),children:y(e.description)})}},e.place_id))]})]})}})]})},v=r(74221),j=r(52194),y=()=>{var e,t,r;let[n,a]=(0,l.useState)([]),[o,d]=(0,l.useState)(null),h=(0,i.b)(),f=null===(r=h.indexUiState)||void 0===r?void 0:null===(t=r.refinementList)||void 0===t?void 0:null===(e=t.state)||void 0===e?void 0:e[0],{refine:g}=(0,p.n)({includedAttributes:["state"]});(0,l.useEffect)(()=>{(0,j.N1)("state","Travel").then(a)},[]);let b=e=>{h.setIndexUiState(t=>({...t,refinementList:{...t.refinementList,state:[e]}}))};(0,l.useEffect)(()=>{let e=new URLSearchParams(window.location.search),t=e.get("state");t&&n.includes(t)&&b(t)},[n]);let y=[];if(o){let e=new v.Z(n,{threshold:.3});y=e.search(o).map(e=>{let{item:t}=e;return t})}return(0,s.jsx)("div",{className:"col-span-2 1000:col-span-1 relative rounded-2 ",children:(0,s.jsx)(x.h,{value:f,onChange:b,className:"relative",as:"div",children:e=>{var t;let{open:r}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(x.h.Input,{autoComplete:"do-not-autofill",className:c()("flex items-center w-full h-full text-16 leading-button-14 rounded-tl-2 px-44 py-24 bg-white text-left border-transparent border-none focus:ring-0 placeholder:text-purple placeholder:font-500 placeholder:opacity-100",{"rounded-bl-2":!r}),onChange:e=>d(e.target.value),placeholder:"Search By State",value:f}),(0,s.jsx)("div",{className:"absolute top-0 left-0 bottom-0 flex items-center pl-20 text-light-purple",children:(0,s.jsx)(m.Z,{})}),f&&(0,s.jsx)("div",{className:"absolute top-0 right-0 bottom-0 flex items-center pr-20",children:(0,s.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),d(""),g()},className:"link--opacity",children:(0,s.jsx)(u.Z,{className:"h-16 "})})})]}),!!(null===(t=y)||void 0===t?void 0:t.length)&&(0,s.jsx)(x.h.Options,{className:c()("z-1 w-full absolute rounded-b-2 border-t border-solid border-gray-f3 overflow-hidden",{"pointer-events-none":!r}),children:y.slice(0,5).map(e=>(0,s.jsx)(x.h.Option,{value:e,as:l.Fragment,children:t=>{let{active:r,selected:l}=t;return(0,s.jsx)("li",{className:c()("text-16 leading-button-16 text-left py-14 px-20 text-purple font-500",{"bg-beige":r,"bg-white":!r}),children:e})}},e))})]})}})})},w=e=>{var t,r;let{type:n}=e,o=(0,i.b)(),x=null===(r=o.indexUiState)||void 0===r?void 0:null===(t=r.refinementList)||void 0===t?void 0:t.profession,[m,h]=(0,l.useState)([]);(0,l.useEffect)(()=>{(0,j.N1)("profession",n).then(h)},[]),(0,l.useEffect)(()=>{let e=new URLSearchParams(window.location.search),t=e.get("profession");t&&m.includes(t)&&g(t)},[m]);let{refine:f}=(0,p.n)({includedAttributes:["profession"]}),g=e=>{o.setIndexUiState(t=>({...t,refinementList:{...t.refinementList,profession:[e]}}))},v=(0,s.jsx)("div",{className:"col-span-2 1000:col-span-1 relative rounded-2 ",children:(0,s.jsxs)(a.R,{value:x,onChange:g,className:"relative h-full",as:"div",children:[(0,s.jsxs)(a.R.Button,{className:"h-full flex items-center w-full text-16 leading-button-14 roun
1ded-tr-2 px-44 py-24 bg-white text-left border-transparent border-none focus:ring-0 text-purple font-500 rounded-r-2",children:[(0,s.jsx)("div",{className:"absolute top-0 left-0 bottom-0 flex items-center pl-20 text-light-purple",children:(0,s.jsx)(d.Z,{})}),null!=x?x:"Filter By Profession",x&&(0,s.jsx)("div",{className:"absolute top-0 right-0 bottom-0 flex items-center pr-20",children:(0,s.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),f()},className:"link--opacity",children:(0,s.jsx)(u.Z,{className:"h-16 "})})})]}),(0,s.jsx)(a.R.Options,{className:"z-1 w-full absolute rounded-b-2 border-t border-solid border-gray-f3 overflow-hidden",children:m.map(e=>(0,s.jsx)(a.R.Option,{value:e.toLocaleUpperCase(),as:l.Fragment,children:t=>{let{active:r,selected:l}=t;return(0,s.jsx)("li",{className:c()("text-16 leading-button-16 text-left py-14 px-20 text-purple font-500 uppercase",{"bg-beige":r,"bg-white":!r}),children:e})}},e))})]})});return(0,s.jsx)("div",{className:"bg-white rounded-2 focus-within:border-lavender focus-within:ring focus-within:ring-lavender focus-within:ring-opacity-90",children:(0,s.jsxs)("form",{autoComplete:"off",className:"grid grid-cols-2 gap-x-1 gap-y-2 bg-gray-cb bg-opacity-35 relative rounded-2",children:[v,"Local"===n?(0,s.jsx)(b,{}):(0,s.jsx)(y,{})]})})},N=r(58382),L=r(23609),C=e=>{var t,r;let{title:l,searchBar:n,headerColor:i,trendingJobs:a,type:o}=e,c={local:{title:"Looking For Travel Nursing Jobs?",url:"/jobs/travel"},travel:{title:"Looking For Local Healthcare Jobs?",url:"/jobs/local"}}[o.toLowerCase()];return(0,s.jsx)("div",{className:"bg-".concat(i||"green"),children:(0,s.jsx)("div",{className:" 800:mt-header pt-144 pb-40 overflow-visible",children:(0,s.jsxs)("div",{className:"page-container-md",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center mb-24",children:[l&&(0,s.jsx)("h1",{className:"text-white text-center text-48 leading-48 800:text-64 800:leading-64 font-headline",children:l}),(0,s.jsxs)(N.Z,{url:c.url,className:"text-white text-14 flex items-center link--underline--hover font-600",children:[c.title,(0,s.jsx)(L.Z,{className:"w-5 h-10 ml-10"})]})]}),(0,s.jsx)("div",{className:"w-full mb-40",children:(0,s.jsx)(w,{...n,type:o})}),(null==a?void 0:null===(t=a.jobs)||void 0===t?void 0:t.length)?(0,s.jsxs)("div",{className:"px-24 1000:px-52 1600:px-0 flex 1000:justify-center overflow-x-scroll no-scrollbar mt-auto",children:[(0,s.jsx)("div",{className:"flex-shrink-0 flex items-center pr-15 gap-x-8",children:(0,s.jsx)("p",{className:"text-white",children:null==a?void 0:a.title})}),(0,s.jsx)("div",{className:"flex gap-x-15 flex-shrink-0",children:null===(r=a.jobs)||void 0===r?void 0:r.map(e=>{let{_id:t,title:r,slug:l}=e;return(0,s.jsx)(N.Z,{url:"/jobs/".concat(l),className:"block text-white px-14 py-10 text-14 leading-1 rounded-full bg-white bg-opacity-30 hover:opacity-70 transition-opacity no-focus",children:r},"trending-".concat(l))})})]}):null]})})})},k=r(11163),S=r(21190),O=r(43860),E=r(97644),R=r.n(E);let T=e=>{let{textToCopy:t,initialButtonText:r="Copy",className:n}=e,[i,a]=(0,l.useState)(r),o=async()=>{try{await navigator.clipboard.writeText(t),a("Copied!"),setTimeout(()=>a(r),3e3)}catch(e){console.error("Failed to copy text: ",e),a("Failed to copy"),setTimeout(()=>a(r),3e3)}};return(0,s.jsx)("button",{onClick:o,className:n,children:i})},I=e=>{if(!e)return null;let t=Number(e.slice(1)),r=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:0}).format(t);return r+"/wk"};var Z=e=>{let{title:t,slug:r,city:n,rate:i,type:a,jobDate:o,duration:c,shiftType:d,shiftLength:u,hotJob:p,specialty:x,id:m,week1Gross:h,rawStartDate:f,hideLink:g,profession:b}=e,[v,j]=(0,l.useState)(null);(0,l.useEffect)(()=>{var e,t;j("".concat(null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.origin,"/jobs/").concat(r))},[r]);let y="Travel"===a?I(h):null;return(0,s.jsxs)("div",{className:"rounded-2 bg-white shadow-card relative h-full flex flex-col justify-between transition-transform hover:-translate-y-2 ease-in",children:[(0,s.jsxs)("div",{className:"px-24 800:px-40 py-24",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-24 gap-x-40",children:[(0,s.jsxs)("div",{children:[p&&(0,s.jsx)(R(),{style:{fontSize:"2rem"},symbol:"\uD83D\uDD25"}),x&&(0,s.jsx)("div",{className:"inline-flex items-center gap-x-8 text-light-purple bg-gray-f8 px-8 py-4 rounded-full",children:(0,s.jsx)("p",{className:"uppercase text-12 leading-12 font-600 ",children:x})})]}),(0,s.jsxs)("div",{className:"text-12 leading-12 text-gray-90 uppercase font-600",children:["Job ID: ",m]})]}),(0,s.jsxs)("h3",{className:"text-purple mb-18 text-18 leading-14",children:[t," job in ",n," "]}),(0,s.jsxs)("div",{className:"800:hidden mt-20 flex gap-x-12",children:[(0,s.jsx)(N.Z,{url:v,className:"button-primary-small w-1/2 text-center whitespace-nowrap",children:"Learn More"}),(0,s.jsx)(T,{textToCopy:v,className:"button-secondary-small w-1/2 whitespace-nowrap",initialButtonText:"Share Job"})]})]}),(0,s.jsx)("div",{className:"border-t border-gray-f3 border-solid mt-12",children:(0,s.jsxs)("div",{className:"pt-24 px-24 1000:px-40 pb-32 flex justify-between",children:[(0,s.jsxs)("div",{className:"1000:flex 1000:flex-wrap gap-22 grid grid-cols-2 justify-start w-full",children:[y&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"uppercase text-14 leading-14 font-600 text-purple mb-8",children:"Local"===a?"Hourly Pay Rate":"EST Weekly Pay"}),(0,s.jsx)("p",{className:"text-14 leading-14 text-purple",children:y})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"uppercase text-14 leading-14 font-600 text-purple mb-8",children:"Shift Type"}),(0,s.jsx)("p",{className:"text-14 leading-14 text-purple",children:d})]}),u&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"uppercase text-14 leading-14 font-600 text-purple mb-8",children:"Shift Length"}),(0,s.jsx)("p",{className:"text-14 leading-14 text-purple",children:u})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"uppercase text-14 leading-14 font-600 text-purple mb-8",children:"Start Date"}),(0,s.jsx)("p",{className:"text-14 leading-14 text-purple",children:f})]}),c&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"uppercase text-14 leading-14 font-600 text-purple mb-8",children:"Duration"}),(0,s.jsx)("p",{className:"text-14 leading-14 text-purple",children:c})]})]}),(0,s.jsxs)("div",{className:"800:flex flex-col gap-22 items-center hidden",children:[(0,s.jsx)(N.Z,{url:v,className:"button-primary-small whitespace-nowrap ",children:"Learn More"}),!g&&(0,s.jsx)(T,{textToCopy:v,className:"button-secondary-small w-full whitespace-nowrap",initialButtonText:"Share Job"})]})]})})]})},_=r(73956),M=r(58509),P=r(3);let D=[{title:"State",attribute:"state"},{title:"City",attribute:"city"},{title:"Profession",attribute:"profession"},{title:"Specialty",attribute:"specialty"},{title:"Shift Type",attribute:"shiftType"},{title:"Shift Length",attribute:"shiftLength"},{title:"Type",attribute:"type"},{title:"Start date",attribute:"startDate"}],F=D.filter(e=>"type"!==e.attribute),A=F.map(e=>e.attribute),H=l.memo(e=>{let{filterGroups:t,showClear:r,onClear:l}=e;return(0,s.jsxs)("div",{className:"",children:[(0,s.jsxs)("div",{className:"flex justify-between pb-12",children:[(0,s.jsx)("p",{className:"text-14 leading-14 text-purple",children:"Filter your results"}),r&&(0,s.jsx)("button",{onClick:l,className:"text-14 leading-14 text-light-purple",children:"Clear"})]}),(0,s.jsx)("div",{className:"border-solid border-t border-gray-e3",children:t.map((e,t)=>(0,s.jsx)(G,{group:e},"group-".concat(t)))})]})}),U=l.memo(e=>{let{filterGroups:t}=e;return(0,s.jsx)("div",{className:"bg-offwhite",children:(0,s.jsx)("div",{className:"",children:t.map((e,t)=>(0,s.jsx)(G,{group:e},"mobile-group-".concat(t)))})})}),B=l.memo(()=>{let[e,t]=(0,l.useState)(!1),r=(0,l.useRef)(null),{refine:n}=(0,p.n)({includedAttributes:A}),{indexUiState:a}=(0,i.b)(),o=(0,l.useMemo)(()=>a.refinementList&&Object.keys(null==a?void 0:a.refinementList).length>1,[a.refinementList]);(0,l.useEffect)(()=>
1(r.current&&(e?(0,M.Qp)(r.current):(0,M.tG)(r.current)),()=>{(0,M.tP)()}),[e]);let d=(0,l.useMemo)(()=>(0,s.jsx)("div",{ref:r,transition:{ease:"easeInOut"},className:c()("fixed inset-0 z-12 bg-offwhite px-24 pt-32 transition-all",{"opacity-1 pointer-events-auto":e,"opacity-0 pointer-events-none":!e}),children:(0,s.jsxs)("div",{className:"h-full w-full relative overflow-y-scroll pb-56",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center border-b border-solid border-gray-e3 pb-20",children:[(0,s.jsx)("button",{onClick:n,className:"text-16 leading-14",children:"Clear"}),(0,s.jsx)("h2",{className:" font-600 text-16 leading-14 text-purple text-center",children:"Filter"}),(0,s.jsx)("button",{onClick:()=>t(!1),className:"",children:(0,s.jsx)(u.Z,{className:"h-18 w-18"})})]}),(0,s.jsx)(U,{filterGroups:D}),(0,s.jsx)("div",{className:"fixed bottom-0 left-0 right-0 py-8 px-16 border-t border-solid border-gray-e3 bg-offwhite",children:(0,s.jsx)("button",{className:"button-primary w-full",onClick:()=>t(!1),children:"Done"})})]})}),[e,n]);return(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)("div",{className:"hidden 800:block",children:!!D.length&&(0,s.jsx)(H,{filterGroups:D,onClear:n,showClear:o})}),(0,s.jsx)("div",{className:"800:hidden flex justify-between items-center w-full",children:(0,s.jsxs)("button",{className:"w-full flex py-12 items-center justify-center border border-solid border-purple",onClick:()=>t(!0),children:[(0,s.jsx)("img",{className:"transform transition-transform origin-center block ml-8",src:"/images/icon-filter.svg",alt:"arrow"}),(0,s.jsx)("span",{className:"text-14 leading-14 ml-8",children:"Filter"})]})}),d]})});B.displayName="JobsFilters";let G=l.memo(e=>{let{group:t}=e,{refine:r,items:n}=(0,P.c)({attribute:t.attribute,sortBy:["name"],limit:100}),i=(0,l.useMemo)(()=>"city"===t.attribute?n.sort((e,t)=>e.value.split(",")[1].trim().localeCompare(t.value.split(",")[1].trim())):"shiftLength"===t.attribute?n.sort((e,t)=>{var r,s,l,n;let i=parseInt(null!==(l=null===(r=e.value.match(/\d+/))||void 0===r?void 0:r[0])&&void 0!==l?l:20),a=parseInt(null!==(n=null===(s=t.value.match(/\d+/))||void 0===s?void 0:s[0])&&void 0!==n?n:20);return i-a}):"startDate"===t.attribute?n.sort((e,t)=>new Date(e.value).getTime()-new Date(t.value).getTime()):n,[n,t.attribute]),a=(0,l.useMemo)(()=>i.filter(e=>e.isRefined).length,[i]);return"type"===t.attribute?null:(0,s.jsx)("div",{className:"border-solid border-b border-gray-e3 no-scrollbar overflow-y-scroll overflow-x-hidden",children:(0,s.jsx)(_.Z,{renderTrigger:e=>{let{onClick:r,isOpen:l}=e;return(0,s.jsxs)("button",{className:"flex items-center justify-between w-full py-24",onClick:r,children:[(0,s.jsxs)("span",{className:"font-600 text-14 leading-14 uppercase",children:[t.title,a>0?" (".concat(a,")"):""]}),(0,s.jsx)(L.Z,{className:c()("transform transform-center transition-transform duration-200 h-10",{"-rotate-90":l,"rotate-90":!l})})]})},children:(0,s.jsx)("div",{className:"pb-24",children:i.map(e=>(0,s.jsx)(l.Fragment,{children:e&&(0,s.jsx)(J,{option:e.value,refine:r,isChecked:e.isRefined})},e.value))})})})});G.displayName="FilterGroup";let J=l.memo(e=>{let{option:t,refine:r,isChecked:l}=e;return(0,s.jsxs)("label",{className:"flex items-center cursor-pointer mb-16 button-icon pl-4",children:[(0,s.jsx)("input",{type:"checkbox",value:t,className:" h-14 w-14 rounded-2 border-gray-300 text-purple bg-offwhite border-purple border border-solid focus:border-purple focus:ring focus:ring-offset-0 focus:ring-purple focus:ring-opacity-30 ",checked:l,onChange:()=>r(t)}),(0,s.jsx)("span",{className:"ml-12",children:t})]})});J.displayName="FilterOption";var V=r(85734),W=()=>{let{nbPages:e,isFirstPage:t,pages:r,refine:l,isLastPage:n,currentRefinement:i}=(0,V.h)({padding:2,totalPages:5});return(0,s.jsx)(s.Fragment,{children:e>1&&(0,s.jsx)("div",{className:"pt-40 pb-132 800:pt-80 800:pb-80 flex justify-center",children:(0,s.jsxs)("div",{className:"flex gap-x-24",children:[(0,s.jsx)("button",{disabled:t,onClick:()=>l(i-1),className:c()("text-purple link--opacity",{"opacity-50":t}),children:(0,s.jsx)("img",{className:"flip-x",src:"/images/arrow-right.svg",alt:"Previous"})}),r.map(e=>(0,s.jsx)("button",{onClick:()=>l(e),className:c()("text-purple py-2 px-8",{"border-purple border-solid border rounded-2":i===e,"link--opacity":i!==e}),children:e+1},e)),(0,s.jsx)("button",{disabled:n,onClick:()=>l(i+1),className:c()("text-purple link--opacity",{"opacity-50":n}),children:(0,s.jsx)("img",{className:"",src:"/images/arrow-right.svg",alt:"Next"})})]})})})},z=r(88428),K=r(71629);let q=e=>e.map(e=>({...e,title:e.label,slug:e.value}));var Q=e=>{let{type:t}
1=e,r={local:"OPENWORK_HEALTH_LOCAL",travel:"OPENWORK_HEALTH_TRAVEL"}[t.toLowerCase()],{currentRefinement:l,options:n,refine:i}=(0,K.s)({transformItems:q,items:[{label:"Newest",value:r},{label:"Oldest",value:"".concat(r,"_date_asc")},{label:"Z-A",value:"".concat(r,"_title_desc")},{label:"A-Z",value:"".concat(r,"_title_asc")}]}),a=n.find(e=>{let{value:t}=e;return t===l})||n[0],o=(0,s.jsx)(z.Z,{label:"Sort by: ".concat(a.label),activeItem:a.label,setActiveItem:i,items:n});return(0,s.jsx)("div",{children:o})},Y=r(51486);let X={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}};function $(e){let{title:t,subtitle:r}=e;return(0,s.jsxs)(O.m.div,{...X,transition:{ease:"easeInOut"},children:[(0,s.jsx)("p",{className:"text-purple text-28 leading-28 mb-8 font-headline",children:t}),(0,s.jsx)("p",{className:"text-purple",children:r})]},"no results")}let ee={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}},et=l.memo(e=>{var t;let{noResultsTitle:r,noResultsSubtitle:n,callOutTitle:a,callOutLink:o,fallbackJobs:c,type:d}=e,{asPath:u}=(0,k.useRouter)(),{indexUiState:p,results:x,status:m}=(0,i.b)(),h=0===x.nbHits&&!x.__isArtificial,f=p.query,g="loading"===m&&x.__isArtificial,b=(0,l.useRef)(null),v=(null==x?void 0:null===(t=x.hits)||void 0===t?void 0:t.length)?x.hits:c,j=(0,l.useMemo)(()=>(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(S.M,{exitBeforeEnter:!0,children:(0,s.jsx)(O.m.div,{...ee,transition:{ease:"easeInOut"},className:"flex flex-col gap-y-24",children:g?(0,s.jsx)("p",{children:"Fetching jobs."}):(0,s.jsx)(s.Fragment,{children:null==v?void 0:v.map((e,t)=>(0,l.createElement)(Z,{...e,key:e._id||t}))})},u)})}),[u,g,v]),y=(0,l.useMemo)(()=>(0,s.jsxs)(O.m.div,{...ee,transition:{ease:"easeInOut"},children:[f&&(0,s.jsx)("p",{className:"text-purple text-28 leading-28 mb-8 font-headline",children:'Showing results for "'.concat(f,'"')}),(0,s.jsx)("p",{className:"text-purple text-14 leading-14",children:"".concat(null==x?void 0:x.nbHits," result").concat((null==x?void 0:x.nbHits)>=1?"s":"")})]},"results"),[f,null==x?void 0:x.nbHits]);return(0,s.jsxs)("div",{ref:b,className:"bg-offwhite page-container-md pt-32 800:pt-64 pb-40",children:[(0,s.jsxs)("div",{className:"800:grid 800:grid-cols-16 800:gap-x-16",children:[(0,s.jsxs)("div",{className:"800:col-span-4 grid grid-cols-2 800:grid-cols-1 gap-x-16 800:block",children:[(0,s.jsx)(B,{}),(0,s.jsx)("div",{className:"800:hidden",children:(0,s.jsx)(Q,{type:d})})]}),(0,s.jsx)("div",{className:"hidden 800:block"}),(0,s.jsxs)("div",{className:"col-span-11 pt-20 1000:pt-0",children:[(0,s.jsxs)("div",{className:"grid grid-cols-11 gap-x-16 mb-32 800:mb-64",children:[(0,s.jsx)("div",{className:"col-span-7",children:g?null:h?(0,s.jsx)($,{title:r,subtitle:n}):y}),(0,s.jsx)("div",{className:"col-span-4 hidden 800:block",children:(0,s.jsx)(Q,{type:d})})]}),(0,s.jsx)("div",{className:"mb-24",children:j}),!g&&a&&o&&(0,s.jsx)(Y.Z,{title:a,link:o})]})]}),(0,s.jsx)(W,{})]})});et.displayName="JobsGrid";let er={initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0}};var es=e=>{let{noResultsTitle:t,noResultsSubtitle:r,callOutTitle:a,callOutLink:o,searchBar:c,headerColor:d,type:u}=e,[p,x]=(0,l.useState)(),m=(0,l.useRef)(null),{indexUiState:h}=(0,i.b)(),f=(0,l.useCallback)(()=>{m.current&&m.current.scrollIntoView({behavior:"smooth"})},[]),g=async()=>{let e=await (0,j.N8)(u);x(e)},b=(0,l.useMemo)(()=>JSON.stringify(h),[h]);return(0,l.useEffect)(()=>{f()},[b]),(0,l.useEffect)(()=>{g()},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.T,{hitsPerPage:10}),(0,s.jsx)(S.M,{exitBeforeEnter:!0,children:(0,s.jsxs)(O.m.div,{...er,transition:{ease:"easeInOut"},children:[(0,s.jsx)(C,{type:u,headerColor:d,title:"Local"===u?"Start your local search":"Start your travel search",callOutTitle:a,callOutLink:o,searchBar:c},u),(0,s.jsx)("div",{className:"scroll-m-44",ref:m,children:(0,s.jsx)(et,{type:u,noResultsTitle:t,noResultsSubtitle:r,callOutTitle:a,callOutLink:o,fallbackJobs:p})})]})})]})}},31344:function(e,t,r){"use strict";var s=r(85893);r(67294);var l=r(9008),n=r.n(l),i=r(11163),a=r(97941);r(38546),t.Z=e=>{var t,r;let{canonical:l,path:o,metaTitle:c="Openwork Health",overrideText:d,metaDescription:u,metaKeywords:p,openGraphTitle:x="Openwork Health",openGraphDescription:m,openGraphImage:h,twitterUser:f="@openwork",twitterTitle:g="Openwork Health",twitterDescription:b,twitterImage:v,siteName:j="Openwork Health",siteUrl:y="https://www.openworkhealth.com",disallowRobots:w,name:N,address:L,telephone:C,openingHours:k,url:S,logo:O,image:E,priceRange:R,geo:T,serviceArea:I,...Z}=e,{asPath:_}=(0,i.useRouter)(),M=(0,a.Z)(c,d),P=(0,a.Z)(u,d),D=null!=o?o:_,F={"@context":"https://schema.org","@type":"LocalBusiness",name:N||c,address:L&&{"@type":"PostalAddress",streetAddress:L.streetAddress,addressLocality:L.addressLocality,addressRegion:L.addressRegion,postalCode:L.postalCode,addressCountry:L.addressCountry},telephone:C,openingHours:k,url:S||"".concat(y).concat(D),logo:O,image:E,priceRange:R,geo:T&&{"@type":"GeoCoordinates",latitude:T.latitude,longitude:T.longitude},serviceArea:I?{"@type":"Place",geo:{"@type":"GeoCircle",geoMidpoint:{"@type":"GeoCoordinates",atitude:null===(t=I.geo.geoMidpoint)||void 0===t?void 0:t.latitude,longitude:null===(r=I.geo.geoMidpoint)||void 0===r?void 0:r.longitude},geoRadius:I.geo.geoRadius}}:{"@type":"Place",name:"Texas",address:{"@type":"PostalAddress",addressLocality:null==L?void 0:L.addressLocality,addressRegion:(null==L?void 0:L.addressRegion)||d,postalCode:null==L?void 0:L.postalCode,addressCountry:(null==L?void 0:L.addressCountry)||"US"}}};return(0,s.jsxs)(n(),{children:[(0,s.jsx)("title",{children:c?M:x||""}),(0,s.jsx)("meta",{name:"google-site-verification",content:"VbGsDMROVEoMlMSmYoJMIpw7gRDe8U3iHHgL8C648Dw"}),(0,s.jsx)("meta",{name:"description",content:u?P:m||""}),(0,s.jsx)("meta",{name:"keywords",content:p}),(0,s.jsx)("link",{rel:"canonical",href:"".concat(y).concat(null!=l?l:D)}),(0,s.jsx)("meta",{property:"og:url",content:"".concat(y).concat(D)}),(0,s.jsx)("meta",{property:"og:title",content:x}),(0,s.jsx)("meta",{property:"og:site_name",content:j}),(0,s.jsx)("meta",{property:"og:description",content:m}),h&&(0,s.jsx)("meta",{property:"og:image",content:h.url}),(0,s.jsx)("meta",{name:"twitter:site",content:f}),(0,s.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{name:"twitter:title",content:g}),(0,s.jsx)("meta",{name:"twitter:description",content:b}),(0,s.jsx)("meta",{name:"twitter:url",content:"".concat(y).concat(D)}),v&&(0,s.jsx)("meta",{name:"twitter:image:src",content:v.url}),w&&(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,s.jsx)("script",{type:"application/ld+json",children:JSON.stringify(F)})]})}},67522:function(e,t,r){"use strict";r.d(t,{y:function(){return l}});var s=r(76587);function l(e){return{router:(0,s.Z)(),stateMapping:{stateToRoute(t){let r=t[e],s=r.refinementList||{};return s.sortBy=r.sortBy||void 0,s.page=r.page||void 0,s},routeToState(t){let{sortBy:r,page:s,...l}=t;return{[e]:{sortBy:r,page:s,refinementList:l}}}}}}},72709:function(e,t){"use strict";t.Z="AIzaSyCB44fnX7LKrSpCgt_-mr9IU78EoOGS3OY"},97941:function(e,t,r){"use strict";r.d(t,{K:function(){return s}}),r(94103);let s=(e,t)=>t?e.map(e=>({...e,children:e.children.map(e=>{var r;return{...e,text:null===(r=e.text)||void 0===r?void 0:r.replaceAll("{overrideText}",t)}})})):e;t.Z=(e,t)=>t?null==e?void 0:e.replaceAll("{overrideText}",t):e},81558:function(e,t){"use strict";t.Z=()=>new Promise((e,t)=>
1{navigator.geolocation?navigator.geolocation.getCurrentPosition(e,e=>{switch(e.code){case e.PERMISSION_DENIED:t("User denied the request for Geolocation.");return;case e.POSITION_UNAVAILABLE:t("Location information is unavailable.");return;case e.TIMEOUT:t("The request to get user location timed out.");return;case e.UNKNOWN_ERROR:t("An unknown error occurred.");return}}):t("Geolocation is not supported by this browser.")})},24654:function(){}}]);
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.