g: ${d}, graphql: ${s}`) const m={q:"jobPosting",jobPosting:d,keyword:u,start:p,count:c} return s.executeQuery(l.default,{count:c,jobPosting:d,keyword:u,start:p},{cacheKey:(0,r.default)("voyagerHiringDashJobHiringPartners",m)}).catch((t=>{if((0,n.default)(t)||t&&t instanceof a.GraphQLQueryError){var i,r,l;(0,o.errorLogger)(e,"Error on API call to fetch job hiring partners",t,["hiring-opportunities/invite-connections#fetch-hiring-partners"],{callTreeId:null===(i=t.errors)||void 0===i||null===(r=i[0])||void 0===r||null===(l=r.meta)||void 0===l?void 0:l.callTreeId,shouldRethrow:!1})}throw t}))}})) define("hiring-opportunities/utils/fetch-job-posting",["exports","hiring-opportunities/utils/constants","global-utils/utils/urn-converter","graphql-queries/queries/hiring/fetch-job-postings-by-ids.graphql"],(function(e,t,i,n){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.fetchJobPosting=function(e,n){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{} const r=(0,i.toUrn)("jobs/dash-jobPosting",n) return e.queryURL(`voyagerJobsDashJobPostings/${r}`,{cacheKey:`dash-job-postings-${r}`,params:{recipe:t.JOB_SHARE_RECIPES.OPEN_TO_HIRING_DASH_RECIPE},...o})} e.fetchJobPostingGraphQL=function(e,t){const o=(0,i.toUrn)("jobs/dash-jobPosting",t) return e.executeQuery(n.default,{jobPostingUrns:[o]}).then((e=>{var t return null==e||null===(t=e.data)||void 0===t?void 0:t.jobsDashJobPostingsByIds[0]}))}})) define("hiring-opportunities/utils/fetch-job-postings",["exports","hiring-opportunities/utils/constants","global-utils/utils/urn-converter","graphql-queries/queries/hiring/fetch-job-postings-by-ids.graphql"],(function(e,t,i,n){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.fetchJobPostings=function(e,n){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{} const r=n.map((e=>encodeURIComponent((0,i.convertUrnType)("jobs/dash-jobPosting",e)))) return e.queryURL(`voyagerJobsDashJobPostings?ids=List(${r.join(",")})`,{params:{recipe:t.JOB_SHARE_RECIPES.OPEN_TO_HIRING_DASH_RECIPE},...o})} e.fetchJobPostingsGraphQL=function(e,t){const o=t.map((e=>(0,i.convertUrnType)("jobs/dash-jobPosting",e))) return e.executeQuery(n.default,{jobPostingUrns:o}).then((e=>{var t return{results:null==e||null===(t=e.data)||void 0===t?void 0:t.jobsDashJobPostingsByIds}}))}})) define("hiring-opportunities/utils/fetch-jobs-not-on-profile",["exports","job-posting-shared/utils/constants","hiring-opportunities/utils/constants","graphql-queries/queries/hiring/fetch-jobs-not-on-profile.graphql"],(function(e,t,i,n){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=function(e){let{start:n=0,count:o=40}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{} const r={q:"jobPoster",jobState:"LISTED",start:n,count:o,recipe:i.JOB_SHARE_RECIPES.OPEN_TO_HIRING_DASH_RECIPE} return e.queryURL(t.API_REQUEST_URL.VOYAGER_JOBS_DASH_JOB_POSTINGS,{params:r,reload:!0})} e.fetchJobsNotOnProfileGraphQL=function(e){let{start:t=0,count:i=40}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{} return e.executeQuery(n.default,{count:i,jobState:"LISTED",start:t}).then((e=>{var t return null==e||null===(t=e.data)||void 0===t?void 0:t.jobsDashJobPostingsByJobPoster}))}})) define("hiring-opportunities/utils/fetch-shared-jobs",["exports","job-posting-shared/utils/constants","hiring-opportunities/utils/constants","graphql-queries/queries/job-posting-shared/open-to-hiring-edit-job-posting.graphql","graphql-queries/queries/job-posting-shared/open-to-hiring-view-job-posting-finder.graphql","global-utils/utils/logger","@linkedin/ember-restli-graphql","@ember/destroyable"],(function(e,t,i,n,o,r,a,l){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=function(e,n){let{start:o=0,count:r=i.FETCH_SHARED_JOBS_INITIAL_COUNT,recipe:a=i.JOB_SHARE_RECIPES.VIEW_DASH_RECIPE}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{} const l={q:i.SHOWCASED_PROFILE_QUERY,start:o,count:r,recipe:a,profileUrn:n} return e.queryURL(t.API_REQUEST_URL.VOYAGER_HIRING_DASH_OTH_JOB_SHOWCASES,{params:l,reload:!0})} e.fetchSharedJobsForViewGraphQL=function(e,n,s){let{start:u=0,count:p=i.FETCH_SHARED_JOBS_INITIAL_COUNT}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{} const c={start:u,count:p,profileUrn:n} return e.executeQuery(o.default,c,{reload:!0}).then((e=>{var t return null===(t=e.data)||void 0===t?void 0:t.hiringDashOpenToHiringJobShowcasesByProfile})).catch((e=>{if((0,l.isDestroying)(this))return{} if(e&&e instanceof a.GraphQLQueryError){var i,n,o;(0,r.errorLogger)(s,"hiring-opportunities/utils/fetch-shared-jobs#fetchSharedJobsForViewGraphQL",JSON.stringify(e),[t.JET_TAGS.FETCH_SHARED_JOBS],{callTreeId:null===(i=e.errors)||void 0===i||null===(n=i[0])||void 0===n||null===(o=n.meta)||void 0===o?void 0:o.callTreeId,shouldRethrow:!1}) return{}}throw e}))} e.fetchSharedJobsGraphQL=function(e,o,s){let{start:u=0,count:p=i.FETCH_SHARED_JOBS_INITIAL_COUNT}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{} const c={start:u,count:p,profileUrn:s} return e.executeQuery(n.default,c,{reload:!0}).then((e=>e.data.hiringDashOpenToHiringJobShowcasesByProfile)).catch((e=>{if((0,l.isDestroying)(this))return{} if(e&&e instanceof a.GraphQLQueryError){var i,n,s;(0,r.errorLogger)(o,"hiring-opportunities/utils/fetch-shared-jobs#fetchSharedJobsGraphQL",e,[t.JET_TAGS.FETCH_SHARED_JOBS_OPEN_TO_HIRING_EDIT_JOB_GRAPHQL],{callTreeId:null===(i=e.errors)||void 0===i||null===(n=i[0])||void 0===n||null===(s=n.meta)||void 0===s?void 0:s.callTreeId,shouldRethrow:!1}) return{}}throw e}))}})) define("hiring-opportunities/utils/get-detour-manager",["exports","organization-detour/url-preview-detour-manager","global-utils/utils/urn-converter","@ember/object","job-posting-modal/utils/url-utils","text-view-model/utils/generator","graphql-queries/queries/sharing/contentcreation-dash-update-url-preview-by-url.graphql"],(function(e,t,i,n,o,r,a){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.getDashInitialDetourManager=function(e){let{authenticatedUser:l,i18n:s,jobEntityUrns:u,shareText:p,graphql:c}=e const d=(0,i.convertUrnType)("fsd_profile",l.memberUrn),m=(0,n.get)(l,"miniProfile.publicIdentifier"),g=(0,o.getOpenToHiringUrl)(m,d),h=u?u.join(","):null,f=c.executeQuery(a.default,{url:g},{cacheKey:h}),b=new t.default({urlPreviewDataPromise:f,i18nService:s}) b.getShareText=()=>(0,r.default)(p,!0) return b}})) define("hiring-opportunities/utils/get-job-posting-data-from-job-manager",["exports","@ember/debug","@ember/object","global-utils/utils/urn-converter","job-posting-modal/utils/constants"],(function(e,t,i,n,o){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.getJobPostingDataFromJobManager=function(e){const{"jobsList.0.entityUrn":t,"jobsList.0.jobId":r,"jobsList.0.jobState":a}=(0,i.getProperties)(e,["jobsList.0.entityUrn","jobsList.0.jobId","jobsList.0.jobState"]),l=t||(0,n.toUrn)("jobs/dash-jobPosting",r),s=a||o.JOB_STATES.LISTED return{jobPostingUrn:l,jobState:s}}})) define("hiring-opportunities/utils/invite-hiring-partners",["exports","hiring-opportunities/utils/constants","rsvp","global-utils/utils/is-network-error","global-utils/utils/logger","global-utils/utils/url"],(function(e,t,i,n,o,r){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=function(e){let{jet:a,store:l,jobPosting:s,hiringPartnerProfiles:u}=e if(!(l&&a&&s&&u))return(0,i.reject)(`Missing required param for inviteHiringPartners.\n store: ${l}, jobPosting: ${s}, hiringPartnerProfiles: ${u}, jet: ${a}`) const p={jobPosting:s,hiringPartnerProfiles:u},c=(0,r.addQueryParams)(t.HIRING_PARTNERS_API_URL,{action:"invite"}) return l.adapterFor("-ember-m3").ajax(c,t.API_REQUEST_METHOD.POST,{data:p}).catch((e=>{if((0,n.default)(e)){var t,i,r;(0,o.errorLogger)(a,"Error on API call to invite hiring partners",e,["hiring-opportunities/invite-connections#invite-hiring-partners"],{callTreeId:null===(t=e.errors)||void 0===t||null===(i=t[0])||void 0===i||null===(r=i.meta)||void 0===r?void 0:r.callTreeId,shouldRethrow:!1})}throw e}))}})) define("hiring-opportunities/utils/job-management-on-profile",["exports","@ember/utils","rsvp","hiring-opportunities/utils/constants","hiring-opportunities/utils/pem-tracking"],(function(e,t,i,n,o){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.removeAllJobsFromProfilePromise=function(e){let{store:r,pemTracking:a}=e if((0,t.isEmpty)(r))return(0,i.reject)(`Missing required param for removeAllJobsFromProfilePromise. store: ${r}`) const l="/voyager/api/voyagerHiringDashOpenToHiringJobShowcases?action=removeAllJobs",s=o.DEGRADATION_DASH_METADATA.REMOVE_ALL_JOBS_FROM_PROFILE,u=r.adapterFor("-ember-m3").ajax(l,n.API_REQUEST_METHOD.POST) return a.trackFeatureDegradations(l,[],[s],u)} e.removeJobFromProfilePromise=function(e){let{store:r,jobId:a,pemTracking:l,jobPostingUrn:s}=e if((0,t.isEmpty)(r)||(0,t.isEmpty)(a)||!s)return(0,i.reject)(`Missing required param for removeJobFromProfilePromise. store: ${r}, jobId: ${a}, jobEntityUrn: ${s}`) const u=r.adapterFor("-ember-m3").ajax(n.REMOVE_JOB_FROM_PROFILE_URL,n.API_REQUEST_METHOD.POST,{data:{jobPostingUrn:s}}),p=n.REMOVE_JOB_FROM_PROFILE_URL,c=o.DEGRADATION_DASH_METADATA.REMOVE_JOB_FROM_PROFILE return l.trackFeatureDegradations(p,[],[c],u)}})) define("hiring-opportunities/utils/job-posting-eligibilities-fetcher",["exports","hiring-opportunities/utils/constants","hiring-opportunities/utils/pem-tracking","graphql-queries/queries/job-posting-shared/web-open-to-hiring-eligibilties-in-profile-by-criteria.graphql","@ember/object"],(function(e,t,i,n,o){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.fetchJobPostingEligibilities=function(e,r,a){const l={reload:!0,adapterOptions:{degradations:[i.DEGRADATION_DASH_METADATA.OPEN_TO_HIRING_FETCH_JOB_POSTING_ELIGIBILITIES],degradedEntityIDsToRemove:[]}} a||(l.params={q:"criteria",recipe:t.WEB_HIRING_OPEN_TO_HIRING_JOB_ELIGIBILITY_RECIPE_NAME}) if(a)return r.executeQuery(n.default,{},l).then((e=>{var t,i return null===(t=e.data.hiringDashJobPostingFlowEligibilitiesByCriteria)||void 0===t||null===(i=t.elements)||void 0===i?void 0:i[0]})) return e.queryURL("voyagerHiringDashJobPostingFlowEligibilities",l).then((e=>(0,o.get)(e,"elements.0")))}})) define("hiring-opportunities/utils/next-best-action-manager",["exports","@babel/runtime/helpers/esm/defineProperty"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=e.OPEN_TO_HIRING_JOB_ACTIONS=e.OPEN_TO_HIRING_FLOW=e.NEXT_BEST_ACTION_TO_ROUTE_MAP=e.NEXT_BEST_ACTION_ROUTES=e.FLOW_TO_ACTIONS_MAP=void 0 const i=e.OPEN_TO_HIRING_JOB_ACTIONS=Object.freeze({CREATE_JOB:"CREATE_JOB",ADD_EXISTING_JOB:"ADD_EXISTING_JOB",SHARE_POST:"SHARE_POST",INVITE_TO_SHARE:"INVITE_TO_SHARE",PROMOTE:"PROMOTE"}),n=e.NEXT_BEST_ACTION_ROUTES=Object.freeze({SHARE:"hiring-opportunities.share",INVITE:"hiring-opportunities.invite",PROMOTE:"hiring-opportunities.promote",MANAGE:"hiring-opportunities.manage"}),o=e.NEXT_BEST_ACTION_TO_ROUTE_MAP=Object.freeze({[i.SHARE_POST]:n.SHARE,[i.INVITE_TO_SHARE]:n.INVITE,[i.PROMOTE]:n.PROMOTE}),r=e.OPEN_TO_HIRING_FLOW=Object.freeze({CREATE_JOB_FLOW_WITH_INVITE:"CREATE_JOB_FLOW_WITH_INVITE",ADD_JOB_FLOW_WITH_INVITE:"ADD_JOB_FLOW_WITH_INVITE",CREATE_JOB_FLOW:"CREATE_JOB_FLOW",ADD_JOB_FLOW:"ADD_JOB_FLOW",CREATE_JOB_MANAGE_FLOW:"CREATE_JOB_MANAGE_FLOW"}),a=e.FLOW_TO_ACTIONS_MAP={[r.CREATE_JOB_FLOW_WITH_INVITE]:[i.CREATE_JOB,i.INVITE_TO_SHARE,i.PROMOTE],[r.ADD_JOB_FLOW_WITH_INVITE]:[i.ADD_EXISTING_JOB,i.INVITE_TO_SHARE,i.SHARE_POST],[r.CREATE_JOB_FLOW]:[i.CREATE_JOB,i.SHARE_POST,i.PROMOTE],[r.ADD_JOB_FLOW]:[i.ADD_EXISTING_JOB,i.SHARE_POST],[r.CREATE_JOB_MANAGE_FLOW]:[i.CREATE_JOB,i.PROMOTE]} e.default=class{constructor(e){let i,{eligibleForInvite:n,isCreateJobFlow:o,isAddExistingJobFlow:l,fromManageFlow:s,destinationRoute:u}=e;(0,t.default)(this,"destinationRoute",void 0);(0,t.default)(this,"_nextBestActions",[]);(0,t.default)(this,"_succeededActions",[]);(0,t.default)(this,"_currentActionCursor",0);(0,t.default)(this,"_skipped",!1) o?i=r.CREATE_JOB_MANAGE_FLOW:s||l&&(i=n?r.ADD_JOB_FLOW_WITH_INVITE:r.ADD_JOB_FLOW) i&&(this._nextBestActions=a[i]) this.destinationRoute=u}completeCurrentAction(){this._skipped=!1 this._succeededActions.push(this._nextBestActions[this._currentActionCursor]) this._currentActionCursor++ return this.route}skipCurrentAction(){this._skipped=!0 this._currentActionCursor++ return this.route}get hasNext(){return this._nextBestActions.length>this._currentActionCursor+1}get prevActionSkipped(){return this._skipped}get route(){const e=this._nextBestActions[this._currentActionCursor] return e?o[e]:""}get lastSucceededAction(){return this._succeededActions[this._succeededActions.length-1]}get showStepper(){return this._nextBestActions.length>2}get totalSteps(){return this._nextBestActions.length-1}get currentStep(){return this._currentActionCursor}}})) define("hiring-opportunities/utils/pem-tracking",["exports","@linkedin/ember-pem/utils/degradation-tracking-metadata"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.DEGRADATION_METADATA=e.DEGRADATION_DASH_METADATA=void 0 const i=Object.freeze({VOYAGER_ONLINE_JOB_POSTING:"Voyager - Online Job Posting"}),n=[] e.DEGRADATION_METADATA=Object.freeze({REMOVE_JOB_FROM_PROFILE:new t.default("remove-job-from-profile","remove-job-from-profile-failure",{productName:i.VOYAGER_ONLINE_JOB_POSTING,nonDegradedResponseCodes:n}),REMOVE_ALL_JOBS_FROM_PROFILE:new t.default("remove-all-jobs-from-profile","remove-all-jobs-from-profile-failure",{productName:i.VOYAGER_ONLINE_JOB_POSTING,nonDegradedResponseCodes:n}),OPEN_TO_HIRING_VERIFY_MEMBER_FOR_ORGANIZATION:new t.default("open-to-hiring-verify-member-for-organization","open-to-hiring-verify-member-for-organization-failure",{productName:i.VOYAGER_ONLINE_JOB_POSTING,nonDegradedResponseCodes:n}),OPEN_TO_HIRING_FETCH_JOB_POSTING_ELIGIBILITIES:new t.default("open-to-hiring-fetch-job-posting-eligibilities","open-to-hiring-fetch-job-posting-eligibilities-failure",{productName:i.VOYAGER_ONLINE_JOB_POSTING,nonDegradedResponseCodes:n})}),e.DEGRADATION_DASH_METADATA=Object.freeze({OPEN_TO_HIRING_FETCH_JOB_POSTING_ELIGIBILITIES:new t.default("open-to-hiring-fetch-dash-job-posting-eligibilities","open-to-hiring-fetch-dash-job-posting-eligibilities-failure",{productName:i.VOYAGER_ONLINE_JOB_POSTING,nonDegradedResponseCodes:n}),REMOVE_ALL_JOBS_FROM_PROFILE:new t.default("remove-all-dash-jobs-from-profile","remove-all-dash-jobs-from-profile-failure",{productName:i.VOYAGER_ONLINE_JOB_POSTING,nonDegradedResponseCodes:n}),REMOVE_JOB_FROM_PROFILE:new t.default("remove-dash-job-from-profile","remove-dash-job-from-profile-failure",{productName:i.VOYAGER_ONLINE_JOB_POSTING,nonDegradedResponseCodes:n})})})) define("identity-module/components/profile-card",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/helper","@ember/component","ember-cli-pemberly-i18n/helpers/t","@glimmer/component","@glimmer/tracking","@ember/modifier","ember-async-data","tracked-toolbox","@ember/service","@ember/object","@ember/destroyable","@ember/object/internals","ember-cli-pemberly-tracking/modifiers/track-interaction","global-helpers/helpers/name","global-helpers/helpers/first-last-name","global-utils/utils/trusted-html-safe","ember-vector-images/components/lazy-image","ember-vector-images/components/custom-image","hue-web-icons/components/icon","ember-vector-images/utils/vector-url","ember-engines/components/link-to-external","ember-cli-pemberly-tracking/modifiers/rum-render-event","graphql-queries/queries/profile/identityDashProfiles/profile-with-position-education.graphql","image-edit/components/image-selector/image-selector-modal-v2","scaffold-skeleton/components/skeleton","image-view-model/components/image-view-model","global-helpers/helpers/get-class-hash"],(function(e,t,i,n,o,r,a,l,s,u,p,c,d,m,g,h,f,b,_,y,v,T,E,O,P,S,w,k,I,A,j,D,M){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var C,N,R,x,L,z,U,J,F,G const B=Object.freeze({"feed.index.index":"feed-skill-edit.add-edit","notifications.index.index":"notifications-add-edit.add-edit","mynetwork.index.index":"network-profile-edit.add-edit","mynetwork.discover-hub.index":"discover-profile-edit.add-edit","mynetwork.nurture.grow.index":"nurture-profile-edit.add-edit","mynetwork.nurture.catch-up.index.index":"catchup-profile-edit.add-edit","jobs.index.index":"jobs-home-skill-edit.add-edit"}) e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"I3xDNkOE",block:'[[[1,"\\n"],[1," "],[11,0],[16,0,[29,["artdeco-card\\n ",[52,[48,[30,4]],"",[28,[32,0],["pb4"],null]],"\\n mb2 overflow-hidden profile-card"]]],[17,1],[4,[32,1],null,[["rumComponentId","elementId"],[[30,2],[30,0,["elementId"]]]]],[12],[1,"\\n\\n"],[41,[51,[30,0,["profileInfo","isResolved"]]],[[[1," "],[10,0],[14,0,"profile-card-skeleton-container"],[12],[1,"\\n "],[8,[32,2],null,null,[["default"],[[[[1,"\\n "],[8,[30,3,["Container"]],null,[["@gap"],["none"]],[["default"],[[[[1,"\\n "],[8,[30,3,["Media"]],[[24,0,"profile-card-background-image-skeleton"]],null,null],[1,"\\n "],[8,[30,3,["Entity"]],[[24,0,"profile-card-profile-picture-container"]],[["@size","@type","@hasBorder"],["large","circle",true]],null],[1,"\\n "],[8,[30,3,["Text"]],[[24,0,"profile-text-skeleton"]],[["@align","@size"],["center","large"]],null],[1,"\\n "],[8,[30,3,["Text"]],[[24,0,"profile-text-skeleton"]],[["@align","@size"],["center","medium"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["profileInfo","isResolved"]],[[[1," "],[8,[32,3],[[24,0,"link-without-hover-visited display-flex flex-column mb2 profile-card-profile-link"],[16,"aria-label",[52,[30,0,["backgroundUrl"]],[28,[32,4],["i18n_member_background_photo_a11y_label","identity-module/components/profile-card"],[["member","isPremiumMember"],[[52,[30,0,["additionalNameUpdatesEnabled"]],[28,[32,5],[[30,0,["member"]]],null],[28,[32,6],[[30,0,["member"]]],null]],[30,0,["showPremiumBanner"]]]]],[28,[32,4],["i18n_member_default_background_a11y_label","identity-module/components/profile-card"],[["isPremiumMember"],[[30,0,["showPremiumBanner"]]]]]]],[4,[32,7],["identity_self_profile"],null]],[["@route","@model"],["profile.common.profile",[30,0,["miniProfile","publicIdentifier"]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["showPremiumBanner"]],[[[1," "],[10,0],[14,0,"pb1 premium-accent-bar"],[14,"role","presentation"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[15,0,[29,["profile-card-background-image\\n ",[52,[51,[30,0,["backgroundUrl"]]],"profile-card-background-image--default"]]]],[15,5,[30,0,["memberBackgroundStyle"]]],[12],[1,"\\n"],[41,[30,0,["showPremiumBanner"]],[[[1," "],[10,0],[14,0,"profile-card-background-image--premium-overlay"],[12],[1,"\\n "],[10,1],[14,0,"mr2"],[12],[1,"\\n "],[8,[32,8],[[24,0,"hue-web-color-scheme--dark"]],[["@a11yText","@type","@size","@name"],[[28,[32,4],["i18n_premium","identity-module/components/profile-card"],null],"logo","xxxsmall","premium-wordmark"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[30,0,["memberProfilePicture"]],[[[1," "],[8,[32,3],[[24,0,"profile-card-profile-picture-container link-without-hover-visited"],[4,[32,7],["identity_self_profile"],null]],[["@route","@model"],["profile.common.profile",[30,0,["miniProfile","publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[8,[32,9],null,[["@image","@alt","@width","@highQuality","@class"],[[30,0,["memberProfilePicture"]],[52,[30,0,["memberProfilePictureFrame"]],[28,[32,4],["i18n_member_photo_with_frame_a11y","identity-module/components/profile-card"],[["member","frame"],[[52,[30,0,["additionalNameUpdatesEnabled"]],[28,[32,5],[[30,0,["member"]]],null],[28,[32,6],[[30,0,["member"]]],null]],[30,0,["memberProfilePictureFrame"]]]]],[28,[32,4],["i18n_member_photo_a11y","identity-module/components/profile-card"],[["member"],[[52,[30,0,["additionalNameUpdatesEnabled"]],[28,[32,5],[[30,0,["member"]]],null],[28,[32,6],[[30,0,["member"]]],null]]]]]],72,true,"profile-card-profile-picture"]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[11,"button"],[24,0,"profile-card-profile-picture-container"],[16,"aria-label",[28,[32,4],["i18n_add_photo","identity-module/components/profile-card"],null]],[24,4,"button"],[4,[32,7],["identity_add_photo"],null],[4,[32,10],["click",[30,0,["openAddPhotoFlow"]]],null],[12],[1,"\\n "],[8,[32,9],[[24,"aria-hidden","true"]],[["@image","@width","@ghostType","@highQuality","@class"],[[52,[30,0,["memberProfilePictureFrame"]],[30,0,["memberProfilePictureWithFrame"]]],72,"person",true,"profile-card-profile-picture profile-card-profile-picture--ghost"]],null],[1,"\\n "],[10,0],[14,0,"profile-card-empty-state-overlay profile-card-empty-state-overlay--circle"],[12],[13],[1,"\\n "],[10,0],[14,0,"profile-card-profile-picture-add--icon artdeco-button--primary"],[12],[1,"\\n "],[8,[32,8],[[24,0,"v-align-top"]],[["@name","@type","@size"],["add","system","small"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]],[1,"\\n "],[10,0],[14,0,"profile-card-member-details"],[12],[1,"\\n "],[8,[32,3],[[24,0,"link-without-hover-visited display-flex flex-column mb2"],[4,[32,7],["identity_self_profile"],null]],[["@route","@model"],["profile.common.profile",[30,0,["miniProfile","publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"display-flex mt1"],[12],[1,"\\n "],[10,"h3"],[14,0,"profile-card-name text-heading-large"],[12],[1,"\\n "],[1,[28,[32,4],["i18n_member_full_name","identity-module/components/profile-card"],[["memberName"],[[52,[30,0,["additionalNameUpdatesEnabled"]],[28,[32,5],[[30,0,["member"]]],null],[28,[32,6],[[30,0,["member"]]],null]]]]]],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["displayBadgeIVM"]],[[[1," "],[10,0],[14,0,"profile-card-display-badge-ivm-container"],[12],[1,"\\n "],[8,[32,11],[[24,0,"text-heading-large"]],[["@images"],[[30,0,["displayBadgeIVM"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["displayBadgeIcon"]],[[[1," "],[10,0],[14,0,"profile-card-display-badge-container"],[12],[1,"\\n "],[8,[32,8],[[16,0,[29,["text-heading-large ",[30,0,["displayBadgeIcon","class"]]]]]],[["@name","@type","@size"],[[30,0,["displayBadgeIcon","name"]],[30,0,["displayBadgeIcon","type"]],[30,0,["displayBadgeIcon","size"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]],[1," "],[13],[1,"\\n"],[41,[30,0,["hasHeadline"]],[[[1," "],[10,2],[14,0,"profile-card-headline text-body-xsmall mt1"],[12],[1,"\\n "],[1,[30,0,["headline"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["hasLocation"]],[[[1," "],[10,2],[14,0,"text-body-xsmall t-black--light mt1"],[12],[1,"\\n "],[1,[30,0,["location"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n"],[41,[30,0,["hasPosition"]],[[[1," "],[8,[32,3],[[24,0,"link-without-hover-visited"],[4,[32,7],["identity_self_profile"],null]],[["@route","@model"],["profile.common.profile",[30,0,["miniProfile","publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[10,2],[14,0,"profile-card-position-details text-body-xsmall t-bold display-flex align-items-center"],[12],[1,"\\n "],[8,[32,12],[[24,0,"profile-card-company-logo"]],[["@image","@ghostType","@alt","@desiredWidth"],[[30,0,["positionImage"]],"company","",100]],null],[1,"\\n "],[10,1],[12],[1,[30,0,["position","companyName"]]],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,0,["hasEducation"]],[[[1," "],[8,[32,3],[[24,0,"link-without-hover-visited"],[4,[32,7],["identity_self_profile"],null]],[["@route","@model"],["profile.common.profile",[30,0,["miniProfile","publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[10,2],[14,0,"profile-card-position-details text-body-xsmall t-bold display-flex align-items-center"],[12],[1,"\\n "],[8,[32,12],[[24,0,"profile-card-company-logo"]],[["@image","@ghostType","@alt","@desiredWidth"],[[30,0,["educationImage"]],"company","",100]],null],[1,"\\n "],[10,1],[12],[1,[30,0,["education","schoolName"]]],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,0,["profileInfo","isResolved"]],[[[1," "],[11,"button"],[24,0,"profile-card-add-experience-button text-body-xsmall"],[16,"aria-label",[28,[32,4],["i18n_add_experience","identity-module/components/profile-card"],null]],[24,4,"button"],[4,[32,10],["click",[30,0,["openExperienceForm"]]],null],[4,[32,7],["identity_add_experience"],null],[12],[1,"\\n "],[10,0],[14,0,"profile-card-empty-state-overlay profile-card-empty-state-overlay--button display-flex align-items-center"],[12],[1,"\\n "],[8,[32,8],[[16,0,[29,["v-align-top mh2 ",[52,[48,[30,4]],"mb0"]]]]],[["@name","@type","@size"],["add","system","small"]],null],[1,"\\n "],[10,1],[12],[1,[28,[32,4],["add_experience_cta","identity-module/components/profile-card"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[41,[48,[30,4]],[[[1," "],[10,"hr"],[14,0,"profile-card-divider mt3"],[12],[13],[1,"\\n"]],[]],null],[1," "],[18,4,null],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["shouldDisplayPhotoViewEditModal"]],[[[1," "],[8,[32,13],null,[["@dashMember","@privacySettings","@onComplete","@onCloseModal"],[[30,0,["profileInfo","value"]],[30,0,["privacySettings"]],[30,0,["onPhotoModalClose"]],[30,0,["onPhotoModalClose"]]]],null],[1,"\\n"]],[]],null],[1," "]],["&attrs","@rumComponentId","Bones","&default"],false,["if","has-block","unless","yield"]]',moduleName:"identity-module/components/profile-card.gjs",scope:()=>[M.default,k.default,j.default,w.default,s.default,v.default,y.default,_.default,P.default,E.default,c.on,D.default,O.default,A.default],isStrictMode:!0}),(C=(0,g.inject)("authentication@authenticated-user"),N=(0,g.inject)("@linkedin/ember-restli-graphql@graphql"),R=(0,g.inject)("router"),x=(0,g.inject)("lix"),L=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"authenticatedUser",z,this);(0,t.default)(this,"graphql",U,this);(0,t.default)(this,"router",J,this);(0,t.default)(this,"lix",F,this);(0,i.default)(this,"elementId",(0,b.guidFor)(this));(0,t.default)(this,"shouldDisplayPhotoViewEditModal",G,this)}get memberId(){return this.authenticatedUser.memberId}get miniProfile(){var e return null===(e=this.authenticatedUser)||void 0===e?void 0:e.miniProfile}get member(){if(this.profileInfo.isResolved)return this.profileInfo.value}get showPremiumBanner(){var e return(null===(e=this.member)||void 0===e?void 0:e.premium)&&!this.displayBadge}get isStudent(){var e return null===(e=this.member)||void 0===e?void 0:e.student}get backgroundUrl(){var e,t,i,n,o,r const a=null===(e=this.member)||void 0===e||null===(t=e.backgroundPicture)||void 0===t||null===(i=t.displayImageReferenceResolutionResult)||void 0===i?void 0:i.vectorImage return a&&a.artifacts?(0,S.default)(a,200,60):(null===(n=this.member)||void 0===n||null===(o=n.backgroundPicture)||void 0===o||null===(r=o.displayImageReferenceResolutionResult)||void 0===r?void 0:r.url)||""}get memberBackgroundStyle(){return this.backgroundUrl?(0,T.default)(`background-image:url(${this.backgroundUrl})`):""}get memberProfilePicture(){var e,t,i,n,o return this.memberProfilePictureFrame&&null!==(e=this.member)&&void 0!==e&&null!==(t=e.profilePicture)&&void 0!==t&&t.originalImageReferenceResolutionResult?this.memberProfilePictureWithFrame:null===(i=this.member)||void 0===i||null===(n=i.profilePicture)||void 0===n||null===(o=n.displayImageReferenceResolutionResult)||void 0===o?void 0:o.vectorImage}get memberProfilePictureWithFrame(){var e,t,i return null===(e=this.member)||void 0===e||null===(t=e.profilePicture)||void 0===t||null===(i=t.displayImageWithFrameReference)||void 0===i?void 0:i.vectorImage}get memberProfilePictureFrame(){var e,t return null===(e=this.member)||void 0===e||null===(t=e.profilePicture)||void 0===t?void 0:t.frameType}get headline(){var e,t if(null!==(e=this.member)&&void 0!==e&&e.headline&&"--"!==(null===(t=this.member)||void 0===t?void 0:t.headline)){var i return null===(i=this.member)||void 0===i?void 0:i.headline}return""}get hasHeadline(){return this.headline.length>0}get location(){return this.member?(0,h.get)(this.member,"geoLocation.geo.defaultLocalizedNameWithoutCountryName")||(0,h.get)(this.member,"geoLocation.geo.country.defaultLocalizedName")||(0,h.get)(this.member,"geoLocation.geo.defaultLocalizedName"):""}get hasLocation(){return!!this.location}get position(){var e if(this.profileInfo.value&&null!==(e=(0,h.get)(this.profileInfo.value,"profileTopPosition.elements"))&&void 0!==e&&e.length&&!(0,h.get)(this.profileInfo.value,"profileTopPosition.elements.0.dateRange.end"))return(0,h.get)(this.profileInfo.value,"profileTopPosition.elements")[0]}get hasPosition(){return!!this.position}get positionImage(){var e,t,i return null===(e=this.position)||void 0===e||null===(t=e.company)||void 0===t||null===(i=t.logoResolutionResult)||void 0===i?void 0:i.vectorImage}get education(){var e if(this.profileInfo.value&&null!==(e=(0,h.get)(this.profileInfo.value,"profileTopEducation.elements"))&&void 0!==e&&e.length&&(0,h.get)(this.profileInfo.value,"student"))return(0,h.get)(this.profileInfo.value,"profileTopEducation.elements")[0]}get educationImage(){var e,t,i,n,o,r return(null===(e=this.education)||void 0===e||null===(t=e.school)||void 0===t||null===(i=t.logoResolutionResult)||void 0===i?void 0:i.vectorImage)||(null===(n=this.education)||void 0===n||null===(o=n.company)||void 0===o||null===(r=o.logoResolutionResult)||void 0===r?void 0:r.vectorImage)}get hasEducation(){return!!this.education}get isDisplayBadgeLixEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-identity-module-display-badge")}get additionalNameUpdatesEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.profile-top-card-additional-name-updates")}get displayBadge(){if(this.isDisplayBadgeLixEnabled&&this.profileInfo.value){var e return null===(e=this.profileInfo.value.displayBadges)||void 0===e?void 0:e[0]}}get displayBadgeIVM(){var e return null===(e=this.displayBadge)||void 0===e?void 0:e.icon}get displayBadgeIcon(){var e,t,i return"EXECUTIVE_TOP_VOICE"===(null===(e=this.displayBadge)||void 0===e?void 0:e.badgeType)?{name:"linkedin-bug-influencer-color",type:"system",size:"small",class:"profile-card-display-badge--text-bottom"}:"VERIFIED_PROFILE"===(null===(t=this.displayBadge)||void 0===t?void 0:t.badgeType)?{name:"verified",type:"system",size:"small",class:"profile-card-display-badge--text-bottom"}:"PREMIUM_PROFILE"===(null===(i=this.displayBadge)||void 0===i?void 0:i.badgeType)?{name:"linkedin-bug-premium-v2",type:"logo",size:"xxsmall",class:"profile-card-display-badge--middle"}:void 0}get profileInfo(){const e=this.graphql.executeQuery(I.default,{memberIdentity:this.memberId},{reload:!0}).then((e=>{if(!(0,f.isDestroying)(this))return(0,h.get)(e,"data.identityDashProfilesByMemberIdentity.elements")[0]})) return new d.TrackedAsyncData(e)}get privacySettings(){var e return null===(e=this.member)||void 0===e?void 0:e.privacySettings}openAddPhotoFlow(){this.shouldDisplayPhotoViewEditModal=!0}openExperienceForm(){const e={formSuggestion:"EDUCATION"} B[this.router.currentRouteName]&&this.router.transitionTo(B[this.router.currentRouteName],"position","new",{queryParams:e})}onPhotoModalClose(){this.shouldDisplayPhotoViewEditModal=!1 return!1}},z=(0,n.default)(L.prototype,"authenticatedUser",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,n.default)(L.prototype,"graphql",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,n.default)(L.prototype,"router",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,n.default)(L.prototype,"lix",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,n.default)(L.prototype,"shouldDisplayPhotoViewEditModal",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(L.prototype,"isDisplayBadgeLixEnabled",[m.cached],Object.getOwnPropertyDescriptor(L.prototype,"isDisplayBadgeLixEnabled"),L.prototype),(0,n.default)(L.prototype,"additionalNameUpdatesEnabled",[m.cached],Object.getOwnPropertyDescriptor(L.prototype,"additionalNameUpdatesEnabled"),L.prototype),(0,n.default)(L.prototype,"profileInfo",[m.cached],Object.getOwnPropertyDescriptor(L.prototype,"profileInfo"),L.prototype),(0,n.default)(L.prototype,"openAddPhotoFlow",[h.action],Object.getOwnPropertyDescriptor(L.prototype,"openAddPhotoFlow"),L.prototype),(0,n.default)(L.prototype,"openExperienceForm",[h.action],Object.getOwnPropertyDescriptor(L.prototype,"openExperienceForm"),L.prototype),(0,n.default)(L.prototype,"onPhotoModalClose",[h.action],Object.getOwnPropertyDescriptor(L.prototype,"onPhotoModalClose"),L.prototype),L))})) define("invite-alert/components/invite-alert",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","tracked-toolbox","@glimmer/component","@ember/object","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t","@ember/helper","ember-engines/components/link-to-external","ember-cli-pemberly-tracking/modifiers/track-interaction","global-helpers/helpers/name","message-button/components/entry-point","artdeco-button/components/artdeco-button","@ember/modifier"],(function(e,t,i,n,o,r,a,l,s,u,p,c,d,m,g,h,f,b,_){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var y,v,T e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"yLyNssrB",block:'[[[1,"\\n"],[41,[30,0,["showAlert"]],[[[1," "],[10,0],[14,0,"mn-invite-alert"],[12],[1,"\\n "],[10,0],[14,0,"mn-invite-alert__wrapper"],[12],[1,"\\n "],[10,2],[14,0,"mn-invite-alert__message"],[12],[1,"\\n"],[41,[30,1],[[[1," "],[8,[32,0],[[24,"aria-hidden","true"],[24,0,"mn-invite-alert__hue-icon mn-invite-alert__hue-icon--notify inline-flex"]],[["@name","@type","@size"],["signal-notice","system","medium"]],null],[1,"\\n"]],[]],[[[41,[30,2],[[[1," "],[8,[32,0],[[24,"aria-hidden","true"],[24,0,"mn-invite-alert__hue-icon mn-invite-alert__hue-icon--error inline-flex"]],[["@name","@type","@size"],["signal-error","system","medium"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,0],[[24,"aria-hidden","true"],[24,0,"mn-invite-alert__hue-icon mn-invite-alert__hue-icon--success inline-flex"]],[["@name","@type","@size"],["signal-success","system","medium"]],null],[1,"\\n "]],[]]]],[]]],[1,"\\n"],[41,[30,3],[[[1," "],[10,0],[14,0,"mn-invite-alert__content display-flex align-items-center"],[12],[1,"\\n"],[41,[30,2],[[[1," "],[1,[28,[32,1],["i18n_accept_invitation_failed_msg_helpcenter","invite-alert/components/invite-alert"],[["linkInfo"],[[28,[32,2],null,[["target","href","rel","class"],["_blank","/help/linkedin/answer/83858","noopener noreferrer","mn-invite-alert__link mn-invite-alert__link--weight-bold pl1"]]]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,3],[[4,[32,4],["profile"],null]],[["@route","@model","@class"],["profile.common.profile",[30,0,["miniProfile","publicIdentifier"]],"mn-invite-alert__link mn-invite-alert__link--weight-normal"]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],["i18n_invite_alert_invitation_accepted","invite-alert/components/invite-alert"],[["member"],[[28,[32,5],[[30,0,["miniProfile"]]],null]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[32,6],null,[["@recipientUrns","@controlUrn","@referringModuleKey"],[[30,0,["miniProfile","entityUrn"]],"message","invitations:invite_alert"]],[["default"],[[[[1,"\\n "],[8,[32,7],[[4,[32,8],["click",[30,4]],null]],[["@size","@text","@type"],[1,[28,[32,1],["i18n_invite_alert_send_message","invite-alert/components/invite-alert"],null],"tertiary"]],null],[1,"\\n "]],[4]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],[[[41,[30,5],[[[1," "],[10,0],[14,0,"mn-invite-alert__content display-flex align-items-center"],[12],[1,"\\n"],[41,[30,2],[[[41,[30,0,["miniProfile"]],[[[1," "],[1,[28,[32,1],["i18n_invite_alert_invitation_sent_error","invite-alert/components/invite-alert"],[["member"],[[28,[32,5],[[30,0,["miniProfile"]]],null]]]]],[1,"\\n "],[8,[32,3],[[4,[32,4],["profile"],null]],[["@route","@model","@class"],["profile.common.profile",[30,0,["miniProfile","publicIdentifier"]],"mn-invite-alert__link mn-invite-alert__link--weight-bold pl1"]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],["i18n_invite_alert_view_profile","invite-alert/components/invite-alert"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,1],["i18n_invite_alert_invitation_sent_error_no_profile","invite-alert/components/invite-alert"],null]],[1,"\\n"]],[]]]],[]],[[[1," "],[1,[28,[32,1],["i18n_invite_alert_invitation_sent","invite-alert/components/invite-alert"],[["member"],[[28,[32,5],[[30,0,["miniProfile"]]],null]]]]],[1,"\\n"],[41,[30,0,["miniProfile","publicIdentifier"]],[[[1," "],[8,[32,3],[[4,[32,4],["profile"],null]],[["@route","@model","@class"],["profile.common.profile",[30,0,["miniProfile","publicIdentifier"]],"mn-invite-alert__link mn-invite-alert__link--weight-bold pl1"]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],["i18n_invite_alert_view_profile","invite-alert/components/invite-alert"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,1],["i18n_invite_alert_invitation_sent","invite-alert/components/invite-alert"],[["member"],[[28,[32,5],[[30,0,["miniProfile"]]],null]]]]],[1,"\\n"]],[]]]],[]]],[1," "],[13],[1,"\\n"]],[]],[[[41,[30,1],[[[1," "],[1,[28,[32,1],["i18n_invite_alert_invitation_ignored","invite-alert/components/invite-alert"],null]],[1,"\\n "]],[]],null]],[]]]],[]]],[1,"\\n"],[41,[30,0,["canDismiss"]],[[[1," "],[11,"button"],[24,0,"mn-invite-alert__dismiss"],[24,4,"button"],[4,[32,8],["click",[30,0,["close"]]],null],[12],[1,"\\n "],[8,[32,0],null,[["@type","@size","@name"],["system","small","close"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["@ignoreInvite","@inviteActionFailed","@acceptInvite","openMessaging","@sendInvite"],false,["if"]]',moduleName:"invite-alert/components/invite-alert.gjs",scope:()=>[p.default,c.default,d.hash,m.default,g.default,h.default,f.default,b.default,_.on],isStrictMode:!0}),(y=(0,l.trackedReset)({memo:e=>e.args.inviteActionFailed||!!e.args.miniProfile||!!e.args.sudoProfile,update:e=>e.args.inviteActionFailed||!!e.args.miniProfile||!!e.args.sudoProfile}),v=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"showAlert",T,this)}get miniProfile(){return this.args.miniProfile||this.args.sudoProfile}get canDismiss(){return this.args.canDismiss??!0}close(){this.showAlert=!1}},T=(0,n.default)(v.prototype,"showAlert",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),(0,n.default)(v.prototype,"close",[u.action],Object.getOwnPropertyDescriptor(v.prototype,"close"),v.prototype),v))})) define("invite-alert/template-registry",[],(function(){})) define("job-actions/components/close-job-confirmation",["exports","@ember/template-factory","@babel/runtime/helpers/esm/defineProperty","@ember/component","@ember/debug","@glimmer/component","artdeco-modal/components/artdeco-confirmation-dialog","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/helpers/tracked-action","job-trust/utils/constants","global-utils/utils/url"],(function(e,t,i,n,o,r,a,l,s,u,p){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 class c extends r.default{constructor(){super(...arguments);(0,i.default)(this,"repostJobHelpCenterUrl",(0,p.generateLiExternalUrl)(u.REPOST_JOB_HELP_CENTER_URL))}}e.default=c;(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"RxTshMuj",block:'[[[1,"\\n"],[1," "],[8,[32,0],null,[["@isOpen","@testId","@title","@content","@primaryActionText","@secondaryActionText","@onPrimary","@onSecondary","@onEscape"],[[30,1],"close-job-modal",[28,[32,1],["i18n_title","job-actions/components/close-job-confirmation"],null],[52,[30,2],[30,2],[28,[32,1],["i18n_body","job-actions/components/close-job-confirmation"],null]],[28,[32,1],["i18n_close_job_btn","job-actions/components/close-job-confirmation"],null],[28,[32,1],["i18n_cancel_btn","job-actions/components/close-job-confirmation"],null],[28,[32,2],["job_owner_confirm_close",[30,3]],null],[28,[32,2],["job_owner_cancel_close",[30,4]],null],[28,[32,2],["job_owner_cancel_close",[30,4]],null]]],null],[1,"\\n"],[1," "]],["@isOpen","@bodyText","@closeJob","@onDismiss"],false,["if"]]',moduleName:"job-actions/components/close-job-confirmation.gjs",scope:()=>[a.default,l.default,s.default],isStrictMode:!0}),c)})) define("job-actions/components/close-job-with-chat",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/helper","@ember/component","@ember/object","@linkedin/jsecure","@ember/debug","job-actions/utils/constants","@ember/service","@glimmer/component","artdeco-modal/components/artdeco-modal","ember-cli-pemberly-tracking/modifiers/track-render","ember-cli-pemberly-i18n/helpers/t","@ember/modifier","ember-cli-pemberly-tracking/modifiers/track-interaction","hue-web-icons/components/icon","artdeco-button/components/artdeco-button"],(function(e,t,i,n,o,r,a,l,s,u,p,c,d,m,g,h,f,b,_,y,v){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var T,E,O e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"5GyfgSh7",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[4,[32,1],null,[["pageKey","routeName","currentRoute"],[[30,0,["pageKey"]],[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]]],[["@size","@isOpen","@dismissModal","@testId"],["medium",[30,1],[30,2],"job-actions-close-confirmation-with-chat"]],[["default"],[[[[1,"\\n "],[8,[30,3,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n "],[10,"h2"],[14,1,"job-actions-close-confirmation-with-chat-header"],[12],[1,[28,[32,3],["i18n_header","job-actions/components/close-job-with-chat"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,3,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"ui-container job-actions-close-job-with-chat__content"],[12],[1,"\\n "],[10,0],[14,0,"t-20 t-bold"],[12],[1,[30,0,["variantContent","title"]]],[13],[1,"\\n "],[10,0],[14,0,"display-flex"],[12],[1,"\\n "],[10,0],[14,0,"align-self"],[12],[1,"\\n "],[10,"img"],[14,0,"job-actions-close-job-with-chat__image"],[15,"src",[30,0,["facePileImgSrc"]]],[14,"alt",""],[12],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"t-14 ml3 align-self-center"],[12],[1,[30,0,["variantContent","body"]]],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[12],[1,"\\n "],[11,3],[24,6,"#"],[24,0,"link-without-hover-visited artdeco-button artdeco-button--secondary"],[4,[32,4],["click",[30,0,["openChatWindow"]]],null],[4,[32,5],["close_job_with_chat_live_chat_button"],null],[12],[1,"\\n "],[8,[32,6],[[24,0,"artdeco-button__icon"]],[["@name","@type","@size"],["send-privately","system","small"]],null],[1,"\\n "],[1,[28,[32,3],["i18n_live_chat_btn","job-actions/components/close-job-with-chat"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"t-14 mt2"],[12],[1,[30,0,["variantContent","subText"]]],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,3,["artdeco-modal-footer"]],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"justify-flex-end pv1"],[12],[1,"\\n "],[8,[32,7],[[4,[32,4],["click",[30,4]],null],[4,[32,5],["close_job_with_chat_close_button"],null]],[["@type","@text"],["primary",[28,[32,3],["i18n_close_job_btn","job-actions/components/close-job-with-chat"],null]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n "]],["@isOpen","@onDismiss","modal","@onCloseJob"],false,["-get-dynamic-var"]]',moduleName:"job-actions/components/close-job-with-chat.gjs",scope:()=>[g.default,h.default,a.get,f.default,b.on,_.default,y.default,v.default],isStrictMode:!0}),(T=(0,d.inject)("i18n"),E=class e extends m.default{constructor(){super(...arguments);(0,t.default)(this,"i18n",O,this);(0,i.default)(this,"facePileImgSrc",c.CLOSE_JOB_FACEPILE_IMAGE)}get pageKey(){return c.CLOSE_CONFIRMATION_VARIANTS_PAGEKEY_MAPPING[this.args.variantType]}get variantInfoMap(){return{[c.CLOSE_CONFIRMATION_VARIANTS.FREE_POSTERS]:{title:this._getTextFromTemplate("i18n_title_variant1"),body:this._getTextFromTemplate("i18n_body_variant1"),subText:this.args.isEnrolledToOTH?this._getTextFromTemplate("i18n_subtext_with_oth"):this._getTextFromTemplate("i18n_subtext")},[c.CLOSE_CONFIRMATION_VARIANTS.FREE_TRIAL_POSTERS]:{title:this._getTextFromTemplate("i18n_title_variant1"),body:this._getTextFromTemplate("i18n_body_variant2"),subText:this.args.isEnrolledToOTH?this._getTextFromTemplate("i18n_subtext_with_oth"):this._getTextFromTemplate("i18n_subtext")},[c.CLOSE_CONFIRMATION_VARIANTS.PAID_POSTERS]:{title:this._getTextFromTemplate("i18n_title_variant2"),body:this._getTextFromTemplate("i18n_body_variant1"),subText:this.args.isEnrolledToOTH?this._getTextFromTemplate("i18n_subtext_with_oth"):this._getTextFromTemplate("i18n_subtext")}}}get variantContent(){return this.variantInfoMap[this.args.variantType]}_getTextFromTemplate(t){return this.i18n.lookupTranslation(e,t)()}openChatWindow(){var e,t null===(e=(t=this.args).onDismiss)||void 0===e||e.call(t) window.open(u.default.sanitizeUrl(c.LIVE_CHAT_URL),"chat_window",`height=${c.LIVE_CHAT_WIN_HEIGHT},width=${c.LIVE_CHAT_WIN_WIDTH}`)}},O=(0,n.default)(E.prototype,"i18n",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(E.prototype,"openChatWindow",[s.action],Object.getOwnPropertyDescriptor(E.prototype,"openChatWindow"),E.prototype),E))})) define("job-actions/components/delete-draft-confirmation",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","artdeco-modal/components/artdeco-confirmation-dialog","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/helpers/tracked-action"],(function(e,t,i,n,o,r,a){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const l=(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"z+sRMX/8",block:'[[[1,"\\n"],[1,"\\n"],[1," "],[8,[32,0],null,[["@isOpen","@title","@content","@primaryActionText","@secondaryActionText","@onPrimary","@onSecondary","@onEscape","@returnFocusTo"],[[30,1],[28,[32,1],["i18n_title","job-actions/components/delete-draft-confirmation"],null],[28,[32,1],["i18n_body","job-actions/components/delete-draft-confirmation"],null],[28,[32,1],["i18n_delete_draft_btn","job-actions/components/delete-draft-confirmation"],null],[28,[32,1],["i18n_cancel_btn","job-actions/components/delete-draft-confirmation"],null],[28,[32,2],["job_owner_confirm_delete_draft",[30,2]],null],[28,[32,2],["job_owner_cancel_delete_draft",[30,3]],null],[28,[32,2],["job_owner_cancel_delete_draft",[30,3]],null],[30,4]]],null],[1,"\\n"]],["@isOpen","@deleteDraft","@dismissModal","@returnFocusTo"],false,[]]',moduleName:"job-actions/components/delete-draft-confirmation.gjs",scope:()=>[o.default,r.default,a.default],isStrictMode:!0}),(0,i.default)("delete-draft-confirmation","DeleteDraftConfirmation")) e.default=l})) define("job-actions/components/share-job-preview",["exports","@ember/template-factory","@ember/component","job-posting-shared/utils/job-posting-model-utils","@ember/debug","@glimmer/component","image-view-model/components/image-view-model","ember-vector-images/components/lazy-image","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,i,n,o,r,a,l,s){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 class u extends r.default{get hasMultipleJobs(){return this.args.jobsList.length>1}get remainingJobsCount(){return this.args.jobsList.length-1}get jobTitle(){return this.args.jobsList[0].title||(0,n.getJobPostingTitle)(this.args.jobsList[0].jobTitle)}get companyName(){return this.args.jobsList[0].companyName||(0,n.getJobPostingCompany)(this.args.jobsList[0].companyDetails)}get locationName(){return this.args.jobsList[0].locationName||this.args.jobsList[0].formattedLocation||(0,n.getJobPostingLocation)(this.args.jobsList[0].location)}get isRemote(){return this.args.jobsList[0].workRemoteAllowed}get companyLogo(){var e return this.args.jobsList[0].companyLogoImage||(0,n.getJobPostingCompanyLogo)((null===(e=this.args.jobsList[0].companyDetails)||void 0===e?void 0:e.company)||this.args.jobsList[0].companyDetails)}get workplaceType(){var e,t return(null===(e=this.args.jobsList[0].jobWorkplaceTypes)||void 0===e?void 0:e[0])||(null===(t=this.args.jobsList[0].workplaceTypes)||void 0===t?void 0:t[0])||{}}get workplaceTypeName(){const{localizedName:e}=this.workplaceType return e||this.args.jobsList[0].workplaceTypeLocalizedName}constructor(){super(...arguments) const{jobsList:e}=this.args}}e.default=u;(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"2k25xddM",block:'[[[1,"\\n"],[1," "],[10,0],[14,0,"display-flex p1"],[12],[1,"\\n"],[41,[30,0,["companyLogo","attributes","length"]],[[[1," "],[8,[32,0],[[24,0,"mr3"]],[["@entitySize","@images"],[4,[30,0,["companyLogo"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,1],[[24,0,"EntityPhoto-square-4 mr3"]],[["@image","@ghostType","@desiredWidth"],[[30,0,["companyLogo"]],"company","54"]],null],[1,"\\n"]],[]]],[1," "],[10,0],[12],[1,"\\n "],[10,0],[14,0,"t-14 t-bold t-black"],[12],[1,"\\n"],[41,[30,0,["hasMultipleJobs"]],[[[1," "],[1,[28,[32,2],["i18n_job_titles","job-actions/components/share-job-preview"],[["firstJobTitle","remainingCount"],[[30,0,["jobTitle"]],[30,0,["remainingJobsCount"]]]]]],[1,"\\n"]],[]],[[[1," "],[1,[30,0,["jobTitle"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[10,0],[14,0,"t-12 t-black"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_company_title","job-actions/components/share-job-preview"],[["companyName","hasMultipleJobs"],[[30,0,["companyName"]],[30,0,["hasMultipleJobs"]]]]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"t-12 t-black"],[12],[1,"\\n "],[1,[30,0,["locationName"]]],[1,"\\n"],[41,[30,0,["workplaceTypeName"]],[[[1," "],[10,1],[14,0,"job-actions-share-job-preview"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_workplace_type","job-actions/components/share-job-preview"],[["workplaceType"],[[30,0,["workplaceTypeName"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["isRemote"]],[[[1," "],[10,1],[14,0,"job-actions-share-job-preview__remote"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_remote","job-actions/components/share-job-preview"],null]],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"job-actions/components/share-job-preview.gjs",scope:()=>[a.default,l.default,s.default],isStrictMode:!0}),u)})) define("job-actions/services/live-chat",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","fetch","job-actions/utils/constants","global-utils/utils/is-browser","@glimmer/tracking","ember-lifeline"],(function(e,t,i,n,o,r,a,l,s,u,p,c){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=e.LIVE_CHAT_POLL_TOKEN=void 0 var d,m,g,h,f const b=e.LIVE_CHAT_POLL_TOKEN="LIVE_CHAT_POLL_TOKEN" e.default=(d=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"availableAgentSessions",m,this);(0,t.default)(this,"pollingStarted",g,this);(0,t.default)(this,"_pollCount",h,this);(0,t.default)(this,"_pollingTimer",f,this)}get isAvailable(){return this.availableAgentSessions>0}startPolling(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.runTask if(u.default&&!this.pollingStarted){this._runLater=e this.pollingStarted=!0 this._pollCount=0;(0,c.pollTask)(this,"_pollChatAPI",b)}}stopPolling(){(0,c.cancelPoll)(this,b) if(this._pollingTimer){(0,c.cancelTask)(this._pollingTimer) this.pollingStarted=!1}}_pollChatAPI(e){if(this.isDestroyed)return this._pollCount++ const t=this._pollCounte.json())).then((e=>{(0,r.isDestroying)(this)||this.isDestroyed||(this.availableAgentSessions=e.availableAgentSessions)})).finally((()=>{(0,r.isDestroying)(this)||(this._pollingTimer=this._runLater(this,e,t))}))}},m=(0,n.default)(d.prototype,"availableAgentSessions",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),g=(0,n.default)(d.prototype,"pollingStarted",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h=(0,n.default)(d.prototype,"_pollCount",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),f=(0,n.default)(d.prototype,"_pollingTimer",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d)})) define("job-actions/template-registry",[],(function(){})) define("job-actions/utils/close-job-posting",["exports","job-actions/utils/constants","@ember/object","global-utils/utils/urn-converter"],(function(e,t,i,n){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.closeJobPosting=function(e){let{store:o,dateService:r,job:a,recipe:l,jobId:s}=e const u=o.peekRecord(l,a.entityUrn)||a,{jobState:p}=u,c=(0,n.toUrn)("jobs/dash-jobPosting",s) u.rollbackAttributes();(0,i.setProperties)(u,{jobState:t.JOB_STATES.CLOSED,closedAt:r.now()}) const d={partial:!0,url:`/voyager/api/voyagerJobsDashJobPostings/${encodeURIComponent(c)}`,useRecipe:!0} return u.save({adapterOptions:d}).catch((e=>{(0,i.setProperties)(u,{jobState:p,closedAt:void 0}) throw e}))}})) define("job-actions/utils/constants",["exports","global-utils/utils/get-asset-url-for-environment","global-utils/utils/url"],(function(e,t,i){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.SUPPORTED_PROFILE_COUNTRY=e.SHORT_POLL_COUNT=e.POLL_SHORT_INTERVAL=e.POLL_LONG_INTERVAL=e.LIVE_CHAT_WIN_WIDTH=e.LIVE_CHAT_WIN_HEIGHT=e.LIVE_CHAT_URL=e.LIVE_CHAT_AVAILABILITY_ENDPOINT=e.JOB_STATES=e.CLOSE_JOB_FACEPILE_IMAGE=e.CLOSE_CONFIRMATION_VARIANTS_PAGEKEY_MAPPING=e.CLOSE_CONFIRMATION_VARIANTS=void 0 e.JOB_STATES=Object.freeze({LISTED:"LISTED",CLOSED:"CLOSED"}),e.CLOSE_CONFIRMATION_VARIANTS=Object.freeze({FREE_POSTERS:"FREE_POSTERS",FREE_TRIAL_POSTERS:"FREE_TRIAL_POSTERS",PAID_POSTERS:"PAID_POSTERS"}),e.SUPPORTED_PROFILE_COUNTRY=["us","sg","ca","in","au","nz","fi","ae","ie","za","gb"],e.CLOSE_CONFIRMATION_VARIANTS_PAGEKEY_MAPPING=Object.freeze({FREE_POSTERS:"flagship3_hiring_job_actions_close_with_chat_free_posters",FREE_TRIAL_POSTERS:"flagship3_hiring_job_actions_close_with_chat_free_trial_posters",PAID_POSTERS:"flagship3_hiring_job_actions_close_with_chat_paid_posters"}),e.CLOSE_JOB_FACEPILE_IMAGE=