1import{a1 as F,a2 as q,u as _,a3 as G,a4 as H,a5 as M,a6 as z,a7 as W,a8 as R,r as T,a9 as K,aa as Y,ab as Q,ac as X,ad as D,ae as Z,af as f,ag as ee,k as S,ah as te,ai as I,aj as ae,ak as re,al as ne,am as ie,an as se,n as $,ao as P,o as B,c as E,p as V,$ as le,a0 as oe,O as J,d as ue,R as ce,J as fe}from"./D38POLyw.js";import{j as L,h as he,s as de,c as ve,a as pe,V as be,U as me}from"./tD36md8g.js";import{a as U}from"./SB94ju4J.js";const ge=(...t)=>t.find(a=>a!==void 0);function O(t){let a=t.replace(/[\u0000-\u001F\s]+/g,"");for(;a.toLowerCase().startsWith("view-source:");)a=a.slice(12);const r=a.indexOf(":");return r>0&&ae(a.slice(0,r+1))?null:t}function ye(t){const a=t.componentName||"NuxtLink";function r(e){return typeof e=="string"&&e.startsWith("#")}function h(e,s,v){const n=v??t.trailingSlash;if(!e||n!=="append"&&n!=="remove")return e;if(typeof e=="string")return k(e,n);const o="path"in e&&e.path!==void 0?e.path:s(e).path;return{...e,name:void 0,path:k(o,n)}}function m(e){const s=q(),v=re(),n=S(()=>!!f(e.target)&&f(e.target)!=="_self"),o=S(()=>{const c=f(e.to)||f(e.href)||"";return typeof c=="string"&&I(c,{acceptRelative:!0})}),w=T("RouterLink"),g=w&&typeof w!="string"?w.useLink:void 0,d=S(()=>{if(f(e.external))return!0;const c=f(e.to)||f(e.href)||"";return typeof c=="object"?!1:c===""||o.value}),l=S(()=>{const c=f(e.to)||f(e.href)||"";return d.value?c:h(c,s.resolve,f(e.trailingSlash))}),y=d.value?void 0:g?.({...e,to:l,viewTransition:f(e.viewTransition)}),j=S(()=>{const c=f(e.trailingSlash)??t.trailingSlash;if(!l.value||o.value||r(l.value)){const p=l.value;return typeof p=="string"?O(p):p}if(d.value){const p=typeof l.value=="object"&&"path"in l.value?D(l.value):l.value,C=typeof p=="object"?s.resolve(p).href:p,u=typeof C=="string"?O(C):C;return u===null?null:k(u,c)}return typeof l.value=="object"?s.resolve(l.value)?.href??null:k(te(v.app.baseURL,l.value),c)});return{to:l,hasTarget:n,isAbsoluteUrl:o,isExternal:d,href:j,isActive:y?.isActive??S(()=>l.value===s.currentRoute.value.path),isExactActive:y?.isExactActive??S(()=>l.value===s.currentRoute.value.path),route:y?.route??S(()=>s.resolve(l.value)),async navigate(c){j.value!==null&&await ee(j.value,{replace:f(e.replace),external:d.value||n.value})}}}return F({name:a,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:m,setup(e,{slots:s}){const v=q(),{to:n,href:o,navigate:w,isExternal:g,hasTarget:d,isAbsoluteUrl:l}=m(e),y=Q(!1),j=X(null),c=u=>{j.value=e.custom?u?.$el?.nextElementSibling:u?.$el};function p(u){return!y.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===u:e.prefetchOn?.[u]??t.prefetchOn?.[u])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!Se()}async function C(u=_()){if(y.value||o.value===null)return;y.value=!0;const b=typeof n.value=="string"?n.value:g.value?D(n.value):v.resolve(n.value).fullPath,i=g.value?new URL(b,window.location.href).href:b;await Promise.all([u.hooks.callHook("link:prefetch",i)?.catch(()=>{}),!g.value&&!d.value&&Z(n.value,v).catch(()=>{})])}if(p("visibility")){const u=_();let b,i=null;G(()=>{const A=je();H(()=>{b=M(()=>{j?.value?.tagName&&(i=A.observe(j.value,async()=>{i?.(),i=null,await C(u)}))})})}),z(()=>{b&&W(b),i?.(),i=null})}return()=>{if(!g.value&&!d.value&&!r(n.value)){const i={ref:c,to:n.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};
1return e.custom||(p("interaction")&&(i.onPointerenter=C.bind(null,void 0),i.onFocus=C.bind(null,void 0)),y.value&&(i.class=e.prefetchedClass||t.prefetchedClass),i.rel=e.rel||void 0),R(T("RouterLink"),i,s.default)}const u=e.target||null,b=ge(e.noRel?"":e.rel,t.externalRelAttribute,l.value||d.value?"noopener noreferrer":"")||null;return e.custom?s.default?s.default({href:o.value,navigate:w,prefetch:C,get route(){if(!o.value)return;const i=new URL(o.value,window.location.href);return{path:i.pathname,fullPath:i.pathname,get query(){return K(i.search)},hash:i.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:o.value}},rel:b,target:u,isExternal:g.value||d.value,isActive:!1,isExactActive:!1}):null:R("a",{ref:j,href:o.value||null,rel:b,target:u,onClick:async i=>{if(!(g.value||d.value)){i.preventDefault();try{const A=Y(o.value??"");return await(e.replace?v.replace(A):v.push(A))}finally{if(r(n.value)){const A=n.value.slice(1);let x=A;try{x=decodeURIComponent(A)}catch{}document.getElementById(x)?.focus()}}}}},s.default?.())}}})}const $e=ye(se);function k(t,a){const r=a==="append"?ne:ie;return I(t)&&!t.startsWith("http")?t:r(t,!0)}function je(){const t=_();if(t._observer)return t._observer;let a=null;const r=new Map,h=(e,s)=>(a||=new IntersectionObserver(v=>{for(const n of v){const o=r.get(n.target);(n.isIntersecting||n.intersectionRatio>0)&&o&&o()}}),r.set(e,s),a.observe(e),()=>{r.delete(e),a?.unobserve(e),r.size===0&&(a?.disconnect(),a=null)});return t._observer={observe:h}}const Ce=/2g/;function Se(){const t=navigator.connection;return!!(t&&(t.saveData||Ce.test(t.effectiveType)))}const we={data(){return{job:{}}},props:{jobData:{type:Object,required:!0}},mounted(){this.transformJobData()},watch:{jobData(){this.transformJobData()}},methods:{transformJobData(){this.job=this.jobData,this.jobData.job?this.setGoogleTalentJobData():this.setSolrJobData()},setSolrJobData(){this.job.title=this.job.title_exact,this.job.location=this.job.location_exact,this.job.job_url=P(this.job)},setGoogleTalentJobData(){this.job.job_url=P(this.job),this.job={...this.job,...this.job.job},delete this.job.job,this.addCustomAttributes(),delete this.job.customAttributes,this.job.commuteTime=this.commuteTime(),this.job.location=this.job.city_display,this.job.guid=this.jobData.job.requisitionId},addCustomAttributes(){for(const[t,a]of Object.entries(this.job.customAttributes)){const r=a.stringValues;this.job[t]=Array.isArray(r)?r.join(" "):r}},commuteTime(){if(!this.hasCommuteInfo)return null;const t=parseInt(this.job.commuteInfo.travelDuration.replace("s","")),a=Math.floor(t/60/60),r=Math.floor(t/60)-a*60;return r==0?"< 1 minute":r+" minutes"},fallbackAttribute(t,a,r=""){let h=L(this.job,t,r);return h||(h=L(this.job,a,r)),h}},computed:{slotData(){return{job:this.job,isSolr:this.isSolr,isGoogleTalent:this.isGoogleTalent,fallbackAttribute:this.fallbackAttribute}},isSolr(){return!this.isGoogleTalent},isGoogleTalent(){return Object.prototype.hasOwnProperty.call(this.jobData,"job")},hasCommuteInfo(){return Object.prototype.hasOwnProperty.call(this.job.commuteInfo,"travelDuration")}}};function Ae(t,a,r,h,m,e){return B(),E("section",null,[V(t.$slots,"default",le(oe(e.slotData)))])}const Be=$(we,[["render",Ae]]);function ke(t){return function(a){a=J(a);var r=he(a)?de(a):void 0,h=r?r[0]:a.charAt(0),m=r?ve(r,1).join(""):a.slice(1);return h[t]()+m}}var N=ke("toUpperCase");function _e(t){return N(J(t).toLowerCase())}var Ue=U(function(t,a,r){return a=a.toLowerCase(),t+(r?_e(a):a)}),xe=U(function(t,a,r){return t+(r?"_":"")+a.toLowerCase()}),qe=U(function(t,a,r){return t+(r?" ":"")+N(a)});const Re={props:{guid:{required:!0},guidViewSource:{required:!1,default:10},analytics:{required:!1,default:"apply-click"},domain:{required:!1,default:"rr.jobsyn.org"},mailto:{required:!1,default:null},dimensions:{required:!1,default:()=>({})}},data(){return{applyUrl:""}},created(){this.setApplyUrl()},methods:{getUtmParams(){try{return JSON.parse(sessionStorage.getItem(me))}catch{return{}}},getViewSource(){try{let t=sessionStorage.getItem(be);return t?{vs:t}:{}}catch{return{}}},setApplyUrl(){if(this.mailto){this.applyUrl=this.mailto;return}this.applyUrl=`https://${this.domain}/${this.guid}${this.guidViewSource}`;{const t={...this.getUtmParams(),...this.getViewSource()};this.applyUrl=fe(this.applyUrl,t)}},applyClick(){if(this.$gtag&&pe()!==!1){const t=window.location.origin,a=`/G/${this.analytics}`,r=qe(Ue(this.analytics));this.$gtag.pageview({page_title:r,page_path:a,page_location:t+a,domain:t,...this.dimensions}),this.$gtag.event(xe(this.analytics),{event_label:r,domain:t,...this.dimensions})}this.openApplyUrl()},openApplyUrl(){this.setApplyUrl(),window.open(this.applyUrl,"_blank").focus()}}},Te=["href"];function De(t,a,r,h,m,e){return B(),E("a",{href:m.applyUrl,onClick:a[0]||(a[0]=ce((...s)=>e.applyClick&&e.applyClick(...s),["prevent"])),onMouseenter:a[1]||(a[1]=(...s)=>e.setApplyUrl&&e.setApplyUrl(...s))},[V(t.$slots,"default",{},()=>[a[2]||(a[2]=ue("Apply",-1))])],40,Te)}const Ee=$(Re,[["render",De]]);export{Be as A,$e as _,Ee as a,qe as s};
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.