_open_photo");(0,i.default)(this,"visibleSlidesOffset",3);(0,i.default)(this,"maxNumberOfCompanyPhotos",48)
this.trackingId=(0,c.generateTrackingId)()
this.carouselNextControlName=`${this.moduleName}_NEXT`
this.carouselPrevControlName=`${this.moduleName}_PREV`
const e=(this.args.companyPhotos??[]).slice(0,48).map(((e,t)=>({...(0,m.getProperties)(e,"key","name","image","imageUrn","localizedCaption","created","uploaderType"),index:t})))
this.paginatedCompanyPhotos=new u.default({slideData:e})}get imageWidth(){return this.args.thumbnailWidth||q.WIDTH}get imageHeight(){return this.imageWidth===K.WIDTH?K.HEIGHT:this.imageWidth===Y.WIDTH?Y.HEIGHT:q.HEIGHT}onDataChange(){if(this.args.showPictureOnClick&&!isNaN(this.args.photoModalIndex)){this.initialSlideIndex=parseInt(this.args.photoModalIndex,10)
this.showLightboxModal=!0}}onPhotoSelected(e){if(this.args.showPictureOnClick){this.initialSlideIndex=e
this.showLightboxModal=!0
this.tracking.fireInteractionEvent(this.photoControlName)}}onRender(){return this.moduleTracking.organization&&this.args.isOrganizationPage?this.moduleTracking.getCustomViewObject(this.moduleName,this.trackingId):[]}onImpression(e){return this.moduleTracking.organization&&this.args.isOrganizationPage?this.moduleTracking.getCustomImpressionObject(this.moduleName,this.trackingId,e):[]}onResizeWindow(){const{width:e}=(0,s.getWindowDimensions)()
e<l.REFLOW_BREAKPOINTS.xl.breakpoint?this.numOfPhotosPerPage=2:this.numOfPhotosPerPage=this.args.pageSize
this.numOfPhotosPerPage&&(this.cardWidth=`${Math.trunc(100/this.numOfPhotosPerPage)}%`)}onCompanyPhotosUpdate(){const e=(this.args.companyPhotos??[]).slice(0,48).map(((e,t)=>({...(0,m.getProperties)(e,"key","name","image","imageUrn","localizedCaption","created","uploaderType"),index:t})))
this.paginatedCompanyPhotos=new u.default({slideData:e})}onNext(e){this.currentSlideIndex=e}onPrevious(e){this.currentSlideIndex=e}},L=(0,n.default)(R.prototype,"moduleTracking",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,n.default)(R.prototype,"tracking",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,n.default)(R.prototype,"showLightboxModal",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,n.default)(R.prototype,"carouselNextControlName",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,n.default)(R.prototype,"carouselPrevControlName",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,n.default)(R.prototype,"initialSlideIndex",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,n.default)(R.prototype,"paginatedCompanyPhotos",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,n.default)(R.prototype,"numOfPhotosPerPage",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.pageSize}}),G=(0,n.default)(R.prototype,"currentSlideIndex",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),W=(0,n.default)(R.prototype,"cardWidth",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(R.prototype,"onDataChange",[m.action],Object.getOwnPropertyDescriptor(R.prototype,"onDataChange"),R.prototype),(0,n.default)(R.prototype,"onPhotoSelected",[m.action],Object.getOwnPropertyDescriptor(R.prototype,"onPhotoSelected"),R.prototype),(0,n.default)(R.prototype,"onRender",[m.action],Object.getOwnPropertyDescriptor(R.prototype,"onRender"),R.prototype),(0,n.default)(R.prototype,"onImpression",[m.action],Object.getOwnPropertyDescriptor(R.prototype,"onImpression"),R.prototype),(0,n.default)(R.prototype,"onResizeWindow",[m.action],Object.getOwnPropertyDescriptor(R.prototype,"onResizeWindow"),R.prototype),(0,n.default)(R.prototype,"onCompanyPhotosUpdate",[m.action],Object.getOwnPropertyDescriptor(R.prototype,"onCompanyPhotosUpdate"),R.prototype),(0,n.default)(R.prototype,"onNext",[m.action],Object.getOwnPropertyDescriptor(R.prototype,"onNext"),R.prototype),(0,n.default)(R.prototype,"onPrevious",[m.action],Object.getOwnPropertyDescriptor(R.prototype,"onPrevious"),R.prototype),R))}))
define("organization-life-shared/components/contact-us-modal",["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","tracked-toolbox","ember-cli-pemberly-tracking/utils/tracking","@glimmer/tracking","@ember/object","@glimmer/component","organization-custom-tracking/components/org-module-tracking","artdeco-modal/components/artdeco-modal","ember-cli-pemberly-i18n/helpers/t","organization-addon/components/profile-card","deprecated-form-elements/components/select","ember-set-helper/helpers/set","@ember/modifier","global-helpers/helpers/pick","artdeco-button/components/artdeco-button","ember-cli-pemberly-tracking/modifiers/track-interaction","artdeco-loader/components/artdeco-loader","ember-cli-pemberly-tracking/modifiers/track-view"],(function(e,t,i,n,o,r,a,l,s,c,u,d,p,m,g,h,b,f,y,_,T,v,O,k,I){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var E,P,S,A
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"F7a5w7Hv",block:'[[[1,"\\n"],[1,"\\n    "],[8,[32,0],[[17,1],[24,"data-view-name","contact-us-life-modal"],[4,[32,1],null,[["view","viewName","genericTrackingLixKey","routeName","currentRoute"],[[30,0],"contact-us-life-modal","voyager.web.employer-brand-tracking3-part-1",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]]],[["@moduleName"],[[30,0,["moduleName"]]]],[["default"],[[[[1,"\\n      "],[8,[32,3],null,[["@isOpen","@headerId","@modalClasses","@size","@dismissModal"],[[30,2],"org-life-contact-us-modal__header","org-life-contact-us-modal","medium",[30,3]]],[["default"],[[[[1,"\\n        "],[8,[30,4,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n          "],[10,"h2"],[14,1,"org-life-contact-us-modal__header"],[12],[1,"\\n            "],[1,[28,[32,4],["i18n_organization_contact_us_modal_headline","organization-life-shared/components/contact-us-modal"],[["companyName"],[[30,5]]]]],[1,"\\n          "],[13],[1,"\\n        "]],[]]]]],[1,"\\n"],[41,[30,6,["ready"]],[[[41,[30,7,["length"]],[[[1,"            "],[8,[30,4,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n              "],[8,[32,5],null,[["@profile","@displayAsLink","@showBadge"],[[30,8],false,false]],null],[1,"\\n              "],[10,"label"],[14,0,"org-life-contact-us-modal__email-label mt4"],[14,"for","org-life-contact-us-modal__email-select"],[12],[1,"\\n                "],[1,[28,[32,4],["i18n_organization_contact_us_modal_email","organization-life-shared/components/contact-us-modal"],null]],[1,"\\n              "],[13],[1,"\\n              "],[8,[32,6],[[24,1,"org-life-contact-us-modal__email-select"],[24,3,"memberEmail"]],[["@content","@optionValueKey","@optionLabelKey","@value","@onSelect"],[[30,0,["formattedMemberEmails"]],"entityUrn","email",[30,0,["selectedEmailUrn"]],[28,[32,7],[[30,0],"selectedEmailUrn"],null]]],null],[1,"\\n              "],[10,"label"],[14,0,"org-life-contact-us-modal__phone-label mt4"],[14,"for","org-life-contact-us-modal__phone-input"],[12],[1,"\\n                "],[1,[28,[32,4],["i18n_organization_contact_us_modal_phone","organization-life-shared/components/contact-us-modal"],null]],[1,"\\n              "],[13],[1,"\\n              "],[11,"input"],[16,2,[30,0,["phone"]]],[24,"maxlength","25"],[24,1,"org-life-contact-us-modal__phone-input"],[24,4,"tel"],[4,[32,8],["change",[28,[32,9],["target.value",[28,[32,7],[[30,0],"phone"],null]],null]],null],[12],[13],[1,"\\n              "],[10,2],[14,0,"t-14 t-black--light mt4 mb1"],[12],[1,"\\n                "],[1,[28,[32,4],["i18n_organization_contact_us_modal_note","organization-life-shared/components/contact-us-modal"],null]],[1,"\\n              "],[13],[1,"\\n            "]],[]]]]],[1,"\\n            "],[8,[30,4,["artdeco-modal-footer"]],null,[["@has-divider"],["true"]],[["default"],[[[[1,"\\n              "],[10,1],[14,0,"fr"],[12],[1,"\\n                "],[8,[32,10],[[4,[32,8],["click",[30,3]],null]],[["@type","@color","@text","@class"],["secondary","muted",[28,[32,4],["i18n_organization_contact_us_modal_cancel","organization-life-shared/components/contact-us-modal"],null],"mr2"]],null],[1,"\\n                "],[8,[32,10],[[24,"data-view-name","contact-us-life-modal-submit"],[4,[32,8],["click",[30,0,["confirmContactCompany"]]],null],[4,[32,11],[[30,0,["submitControlName"]]],null],[4,[32,1],null,[["view","viewName","actionCategory","genericTrackingLixKey","routeName","currentRoute"],[[30,0],"contact-us-life-modal-submit","SUBMIT_MODAL","voyager.web.employer-brand-tracking3-part-1",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]]],[["@text"],[[28,[32,4],["i18n_organization_contact_us_modal_confirm","organization-life-shared/components/contact-us-modal"],null]]],null],[1,"\\n              "],[13],[1,"\\n            "]],[]]]]],[1,"\\n"]],[]],[[[1,"            "],[8,[30,4,["artdeco-modal-content"]],null,[["@class"],["text-align-center ph6 pb6"]],[["default"],[[[[1,"\\n              "],[10,"i"],[14,0,"org-life-contact-us-modal__error-icon sad-browser-230 block full-width"],[12],[13],[1,"\\n              "],[10,"h3"],[14,0,"t-24 mb2"],[12],[1,"\\n                "],[1,[28,[32,4],["i18n_organization_contact_us_modal_error_headline","organization-life-shared/components/contact-us-modal"],null]],[1,"\\n              "],[13],[1,"\\n              "],[10,2],[14,0,"t-14 t-black--light"],[12],[1,"\\n                "],[1,[28,[32,4],["i18n_organization_contact_us_modal_error_paragraph","organization-life-shared/components/contact-us-modal"],null]],[1,"\\n              "],[13],[1,"\\n            "]],[]]]]],[1,"\\n"]],[]]]],[]],[[[1,"          "],[8,[30,4,["artdeco-modal-content"]],null,[["@class"],["ph5 pb5"]],[["default"],[[[[1,"\\n            "],[8,[32,12],null,null,null],[1,"\\n          "]],[]]]]],[1,"\\n"]],[]]],[1,"      "]],[4]]]]],[1,"\\n    "]],[]]]]],[1,"\\n  "]],["&attrs","@isOpen","@close","modal","@companyName","@memberEmailsState","@memberEmails","@profile"],false,["-get-dynamic-var","if"]]',moduleName:"organization-life-shared/components/contact-us-modal.gjs",scope:()=>[m.default,I.default,a.get,g.default,h.default,b.default,f.default,y.default,_.on,T.default,v.default,O.default,k.default],isStrictMode:!0}),(E=(0,s.localCopy)("args.memberEmails.0.entityUrn"),P=class extends p.default{constructor(){super(...arguments);(0,t.default)(this,"selectedEmailUrn",S,this);(0,i.default)(this,"moduleName","COMPANY_STAFFING_CONTACT_FORM");(0,i.default)(this,"submitControlName","contact_company");(0,i.default)(this,"trackingId",(0,c.generateTrackingId)());(0,t.default)(this,"phone",A,this)}get formattedMemberEmails(){return this.args.memberEmails.map((e=>({email:(0,d.get)(e,"handleDetailUnion.emailAddress.emailAddress"),entityUrn:(0,d.get)(e,"entityUrn")})))}get contentTrackingId(){return this.args.trackingId}confirmContactCompany(e){e.preventDefault()
const{selectedEmailUrn:t,phone:i}=this
this.args.contactCompany(t,i)}},S=(0,n.default)(P.prototype,"selectedEmailUrn",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,n.default)(P.prototype,"phone",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(P.prototype,"confirmContactCompany",[d.action],Object.getOwnPropertyDescriptor(P.prototype,"confirmContactCompany"),P.prototype),P))}))
define("organization-life-shared/components/contact-us-module",["exports","@ember/template-factory","@ember/helper","@ember/component","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","global-utils/utils/create-cache-key-from-query","restli-utils","data-layer/utils/organization/resource-to-url-map","ember-cli-pemberly-tracking/utils/tracking","organization-addon/utils/handle-network-failure","@ember/object","@ember/service","@glimmer/tracking","@glimmer/component","@ember/destroyable","organization-custom-tracking/components/org-module-tracking","ember-cli-pemberly-i18n/helpers/t","deprecated-form-elements/components/select","ember-set-helper/helpers/set","ember-cli-pemberly-tracking/modifiers/track-interaction","organization-life-shared/components/contact-us-modal","organization-addon/templates/i18n-shared/notification-messages","ember-cli-pemberly-tracking/modifiers/track-view"],(function(e,t,i,n,o,r,a,l,s,c,u,d,p,m,g,h,b,f,y,_,T,v,O,k,I,E){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var P,S,A,C,N,j,w,x,D,M,R,L,z,U,F,B,J,H
let V=(P=class{constructor(){(0,o.default)(this,"ready",S,this)}},S=(0,a.default)(P.prototype,"ready",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P)
e.default=(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"R5mrRDLG",block:'[[[1,"\\n"],[1,"\\n    "],[8,[32,0],[[24,0,"org-life-contact-us-module container pv5 artdeco-card"],[17,1],[24,"data-view-name","contact-us-life"],[4,[32,1],null,[["view","viewName","genericTrackingLixKey","routeName","currentRoute"],[[30,0],"contact-us-life","voyager.web.employer-brand-tracking3-part-1",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]]],[["@tag","@moduleName"],["section",[30,0,["moduleName"]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["showContactUsModule"]],[[[1,"        "],[10,"form"],[14,0,"org-life-contact-us-module__form"],[12],[1,"\\n          "],[10,0],[14,0,"org-life-contact-us-module__text"],[12],[1,"\\n            "],[10,"h2"],[14,0,"org-life-contact-us-module__title t-20 t-black t-bold mb0"],[12],[1,"\\n              "],[1,[30,0,["resolvedDescription"]]],[1,"\\n            "],[13],[1,"\\n            "],[10,2],[14,0,"org-life-contact-us-module__top-description t-12 t-normal"],[12],[1,"\\n              "],[1,[28,[32,3],["i18n_organization_contact_us_description","organization-life-shared/components/contact-us-module"],[["companyName"],[[30,2]]]]],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n          "],[10,0],[14,0,"org-life-contact-us-module__actions"],[12],[1,"\\n            "],[10,"label"],[14,0,"visually-hidden"],[14,"for","org-life-contact-us-module-function-select"],[12],[1,"\\n              "],[1,[28,[32,3],["i18n_organization_contact_us_function_select_a11y_label","organization-life-shared/components/contact-us-module"],null]],[1,"\\n            "],[13],[1,"\\n            "],[8,[32,4],[[24,1,"org-life-contact-us-module-function-select"],[24,3,"functionSelect"],[24,0,"org-life-contact-us-module__function-select"]],[["@content","@optionValueKey","@optionLabelKey","@value","@onSelect"],[[30,0,["formattedJobFunctions"]],"entityUrn","localizedName",[30,0,["selectedJobFunctionUrn"]],[28,[32,5],[[30,0],"selectedJobFunctionUrn"],null]]],null],[1,"\\n            "],[10,2],[14,0,"org-life-contact-us-module__bottom-description t-12 t-black--light t-normal mt4 mb2"],[12],[1,"\\n              "],[1,[28,[32,3],["i18n_organization_contact_us_description","organization-life-shared/components/contact-us-module"],[["companyName"],[[30,2]]]]],[1,"\\n            "],[13],[1,"\\n            "],[11,"button"],[16,"disabled",[30,3]],[24,0,"org-life-contact-us-module__submit-button artdeco-button artdeco-button--secondary"],[16,"onclick",[30,0,["openContactUsModal"]]],[24,"data-view-name","contact-us-life-open-modal"],[24,4,"button"],[4,[32,6],[[30,0,["controlInteractionName"]]],null],[4,[32,1],null,[["view","viewName","actionCategory","genericTrackingLixKey","routeName","currentRoute"],[[30,0],"contact-us-life-open-modal","OPEN_MODAL","voyager.web.employer-brand-tracking3-part-1",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n              "],[1,[28,[32,3],["i18n_organization_contact_us_submit","organization-life-shared/components/contact-us-module"],null]],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n\\n        "],[8,[32,7],null,[["@isOpen","@companyName","@profile","@memberEmails","@memberEmailsState","@contactCompany","@close","@trackingId"],[[30,0,["isContactUsModalOpen"]],[30,2],[30,0,["authenticatedUser","miniProfile"]],[30,0,["memberEmailsPromiseValue"]],[30,0,["memberEmailsState"]],[30,0,["onContactCompany"]],[30,0,["closeContactUsModal"]],[30,0,["contentTrackingId"]]]],null],[1,"\\n"]],[]],null],[1,"    "]],[]]]]],[1,"\\n  "]],["&attrs","@companyName","@isPreview"],false,["-get-dynamic-var","if"]]',moduleName:"organization-life-shared/components/contact-us-module.gjs",scope:()=>[y.default,E.default,i.get,_.default,T.default,v.default,O.default,k.default],isStrictMode:!0}),(A=(0,g.inject)("global-services@store-shim"),C=(0,g.inject)("authentication@authenticated-user"),N=(0,g.inject)("formatter"),j=(0,g.inject)("i18n"),w=(0,g.inject)("persistent-toast-manager@persistent-toast-manager"),x=class extends b.default{constructor(){var e,t
super(...arguments);(0,o.default)(this,"storeShim",D,this);(0,o.default)(this,"authenticatedUser",M,this);(0,o.default)(this,"formatter",R,this);(0,o.default)(this,"i18n",L,this);(0,o.default)(this,"persistentToastManager",z,this);(0,r.default)(this,"moduleName","COMPANY_LIFE_CONTACT_US");(0,o.default)(this,"isContactUsModalOpen",U,this);(0,o.default)(this,"pendingMemberEmails",F,this);(0,o.default)(this,"showContactUsModule",B,this);(0,o.default)(this,"memberEmailsPromiseValue",J,this);(0,o.default)(this,"memberEmailsState",H,this);(0,r.default)(this,"controlInteractionName","open_contact_us_modal");(0,r.default)(this,"trackingId",(0,d.generateTrackingId)());(0,r.default)(this,"selectedJobFunctionUrn",null===(e=this.args.jobFunctions)||void 0===e||null===(t=e[0])||void 0===t?void 0:t.entityUrn)
this.memberEmailsState=new V}get formattedJobFunctions(){return this.args.jobFunctions??[]}get resolvedDescription(){const e=this.args.description??"",t=(0,m.get)(this,"authenticatedUser.miniProfile"),i=(0,m.getProperties)(t,"firstName","lastName"),{formatter:n}=this,o=n.formatName(i,"familiar"),r=n.formatName(i,"full")
return e.replace(/%FIRSTNAME%/g,(()=>o)).replace(/%FULLNAME%/g,(()=>r))}get contentTrackingId(){return this.args.trackingId}openContactUsModal(e){e.preventDefault()
this.memberEmailsState.ready=!1
const t=u.urlsMap.OnboardingDashMemberHandlesResource,i={q:"criteria",type:"EMAIL",state:"CONFIRMED"},n=this.storeShim.queryURL(t,{cacheKey:(0,s.default)(t,i),params:i})
n.then((e=>{this.isDestroying||(this.memberEmailsPromiseValue=(0,m.get)(e,"elements")||[])})).catch((e=>{if((0,f.isDestroying)(this))throw e
if(e.isAdapterError)return(0,p.default)(e,[])
throw e})).finally((()=>{(0,f.isDestroying)(this)||(this.memberEmailsState.ready=!0)}))
this.pendingMemberEmails=n
this.isContactUsModalOpen=!0}closeContactUsModal(){this.isContactUsModalOpen=!1}onContactCompany(e,t){this.args.contactCompany(this.selectedJobFunctionUrn,e,t).then((()=>{if(this.isDestroying)return
this.showContactUsModule=!1
const e=this.i18n.lookupTranslation(I.default,"i18n_org_contact_company_success")()
this.persistentToastManager.success({message:e})})).catch((e=>{if((0,f.isDestroying)(this))throw e
if(!e.isAdapterError)throw e
let t
this.isContactUsModalOpen=!1
t=Number(e.errors[0].status)===c.httpStatus.S_429_TOO_MANY_REQUESTS?this.i18n.lookupTranslation(I.default,"i18n_org_contact_company_duplicate_submit_failue")():this.i18n.lookupTranslation(I.default,"i18n_org_contact_company_failure")()
this.persistentToastManager.error({message:t})}))}},D=(0,a.default)(x.prototype,"storeShim",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,a.default)(x.prototype,"authenticatedUser",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,a.default)(x.prototype,"formatter",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,a.default)(x.prototype,"i18n",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,a.default)(x.prototype,"persistentToastManager",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,a.default)(x.prototype,"isContactUsModalOpen",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),F=(0,a.default)(x.prototype,"pendingMemberEmails",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,a.default)(x.prototype,"showContactUsModule",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),J=(0,a.default)(x.prototype,"memberEmailsPromiseValue",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,a.default)(x.prototype,"memberEmailsState",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(x.prototype,"openContactUsModal",[m.action],Object.getOwnPropertyDescriptor(x.prototype,"openContactUsModal"),x.prototype),(0,a.default)(x.prototype,"closeContactUsModal",[m.action],Object.getOwnPropertyDescriptor(x.prototype,"closeContactUsModal"),x.prototype),(0,a.default)(x.prototype,"onContactCompany",[m.action],Object.getOwnPropertyDescriptor(x.prototype,"onContactCompany"),x.prototype),x))}))
define("organization-life-shared/components/custom-module-text-content",["exports","@ember/template-factory","@ember/helper","@ember/component/template-only","@ember/component","ember-cli-pemberly-i18n/helpers/bidi-dir","global-helpers/helpers/slice","ember-cli-pemberly-tracking/components/shared/external-link","ember-cli-pemberly-tracking/modifiers/track-interaction","hue-web-icons/components/icon","ember-cli-pemberly-tracking/modifiers/track-view"],(function(e,t,i,n,o,r,a,l,s,c,u){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const d=(0,o.setComponentTemplate)((0,t.createTemplateFactory)({id:"Df0zggCj",block:'[[[1,"\\n  "],[11,0],[17,1],[12],[1,"\\n"],[41,[30,2],[[[1,"      "],[10,"h4"],[15,0,[29,["inline-title t-16 t-black t-bold\\n          ",[52,[30,3],"mb4","mb1"]]]],[15,"dir",[28,[32,0],[[30,2]],null]],[12],[1,"\\n        "],[1,[30,2]],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[41,[30,4],[[[1,"      "],[10,2],[15,0,[29,["org-life-custom-modules-module__inline-body white-space-pre-wrap t-normal t-16\\n          ",[52,[30,3],"t-black","t-black--light"]]]],[15,"dir",[28,[32,0],[[30,4]],null]],[12],[1,[30,4]],[13],[1,"\\n"]],[]],null],[41,[30,5,["length"]],[[[1,"      "],[10,"ul"],[14,0,"media-section-list list-style-none mt3"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[28,[32,1],[[30,5],0,2],null]],null]],null],null,[[[41,[30,6,["url"]],[[[1,"            "],[10,"li"],[12],[1,"\\n              "],[8,[32,2],[[16,"data-view-name",[30,7]],[4,[32,3],[[30,9]],null],[4,[32,4],null,[["view","contentTrackingId","viewName","actionCategory","genericTrackingLixKey","routeName","currentRoute"],[[30,0],[30,10],[30,7],"PROMO_LINK","voyager.web.employer-brand-tracking3-part-1",[28,[32,5],[[53,"outletState"],"render.name"],null],[28,[32,5],[[53,"outletState"],"render"],null]]]]],[["@href","@onclick","@dir","@target","@class"],[[30,6,["url"]],[30,8],[28,[32,0],[[30,6,["text"]]],null],"_blank","display-flex align-items-center"]],[["default"],[[[[1,"\\n                "],[8,[32,6],[[24,0,"mr2"]],[["@type","@size","@name"],["system","small","link"]],null],[1,"\\n                "],[1,[30,6,["text"]]],[1,"\\n              "]],[]]]]],[1,"\\n            "],[13],[1,"\\n"]],[]],null]],[6]],null],[1,"      "],[13],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"]],["&attrs","@headline","@isRedesignEnabled","@body","@links","link","@trackingLinkName","@onPromoLinkClick","@promoLinkControlName","@trackingId"],false,["if","each","-track-array","-get-dynamic-var"]]',moduleName:"organization-life-shared/components/custom-module-text-content.gjs",scope:()=>[r.default,a.default,l.default,s.default,u.default,i.get,c.default],isStrictMode:!0}),(0,n.default)("custom-module-text-content","CustomModuleTextContent"))
e.default=d}))
define("organization-life-shared/components/custom-modules-module",["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","@ember/object","@ember/service","ember-cli-pemberly-tracking/utils/tracking","@glimmer/component","organization-custom-tracking/components/org-module-tracking","@ember/helper","s-organization/components/media-item","organization-life-shared/components/custom-module-text-content","organization-addon/helpers/normalized-links","ember-cli-pemberly-tracking/modifiers/track-view"],(function(e,t,i,n,o,r,a,l,s,c,u,d,p,m,g,h,b){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var f,y,_
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"RDghGVi7",block:'[[[1,"\\n    "],[8,[32,0],[[24,0,"org-life-custom-modules-module__row"],[17,1],[16,"data-view-name",[30,0,["trackingViewName"]]],[4,[32,1],null,[["view","viewName","genericTrackingLixKey","routeName","currentRoute"],[[30,0],[30,0,["trackingViewName"]],"voyager.web.employer-brand-tracking3-part-1",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]]],[["@tag","@moduleName"],["section",[30,0,["moduleName"]]]],[["default"],[[[[1,"\\n      "],[18,4,[[28,[32,3],null,[["customModuleMedia","customModuleTextContent"],[[52,[30,0,["hasMedia"]],[50,[32,4],0,null,[["class","fixedRatio","imageClickControlName","model","imageUrl","slideshareClickControlName","thumbnailSize","videoClickControlName","videoTitle","autoplay"],["org-life-custom-modules-module__media",true,[30,0,["imageClickControlName"]],[30,0,["media"]],[30,2],[30,0,["slideshareClickControlName"]],"hq",[30,0,["videoClickControlName"]],[30,3,["localizedHeadline"]],true]]]],[50,[32,5],0,null,[["body","headline","links","promoLinkControlName","trackingId","trackingLinkName","isRedesignEnabled"],[[30,3,["localizedBody"]],[30,3,["localizedHeadline"]],[28,[32,6],[[30,3,["links"]]],null],[30,0,["promoLinkControlName"]],[30,0,["contentTrackingId"]],[30,0,["trackingLinkName"]],[30,0,["isRedesignEnabled"]]]]]]]]]],[1,"\\n    "]],[]]]]],[1,"\\n  "]],["&attrs","@imageUrl","@mediaSection","&default"],false,["-get-dynamic-var","yield","if","component"]]',moduleName:"organization-life-shared/components/custom-modules-module.gjs",scope:()=>[d.default,b.default,p.get,p.hash,m.default,g.default,h.default],isStrictMode:!0}),(f=(0,s.inject)("lix"),y=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"lix",_,this);(0,i.default)(this,"moduleName","COMPANY_LIFE_CUSTOM_MODULES");(0,i.default)(this,"promoLinkControlName","life_custom_modules_promo_link");(0,i.default)(this,"videoClickControlName","life_custom_modules_play_video");(0,i.default)(this,"slideshareClickControlName","life_custom_modules_click_slideshare");(0,i.default)(this,"imageClickControlName","life_custom_modules_open_photo");(0,i.default)(this,"trackingViewName","org-member-life-company-spotlight");(0,i.default)(this,"trackingLinkName","org-member-life-company-spotlight-promo-link");(0,i.default)(this,"trackingId",(0,c.generateTrackingId)())}get hasMedia(){return(0,l.get)(this,"args.mediaSection.media")||this.args.imageUrl}get media(){var e,t,i,n
return(null===(e=this.args.mediaSection)||void 0===e||null===(t=e.media)||void 0===t?void 0:t.Video)??(null===(i=this.args.mediaSection)||void 0===i||null===(n=i.media)||void 0===n?void 0:n.vectorImage)}get contentTrackingId(){return this.args.trackingId}get isRedesignEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.organization-admin-life-redesign-v2")}},_=(0,n.default)(y.prototype,"lix",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y))}))
define("organization-life-shared/components/employee-perspective-module",["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-tracking/utils/tracking","@ember/service","@glimmer/component","@ember/object","ember-cli-pemberly-tracking/modifiers/track-render","ember-cli-pemberly-tracking/modifiers/track-impression","talent-brand-shared/components/section-heading","ember-cli-pemberly-i18n/helpers/t","occludable-area/components/occludable-area","organization-life-shared/components/pulse-article-card","ember-cli-pemberly-tracking/modifiers/track-view"],(function(e,t,i,n,o,r,a,l,s,c,u,d,p,m,g,h,b,f,y){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var _,T,v
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"3BSS31+V",block:'[[[1,"\\n"],[1,"\\n    "],[11,"section"],[16,0,[29,[[52,[51,[30,0,["isVisible"]]],"visually-hidden"]]]],[17,1],[16,"data-view-name",[30,0,["trackingImpressionViewName"]]],[4,[32,0],null,[["onRender","routeName","currentRoute"],[[30,0,["onRender"]],[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[4,[32,2],[[30,0,["onImpression"]]],[["routeName","currentRoute"],[[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[4,[32,3],null,[["view","viewName","genericTrackingLixKey","routeName","currentRoute"],[[30,0],[30,0,["trackingImpressionViewName"]],"voyager.web.employer-brand-tracking3-part-1",[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n"],[41,[30,0,["isVisible"]],[[[1,"        "],[8,[32,4],null,[["@title"],[[28,[32,5],["i18n_organization_employee_perspectives_module_title","organization-life-shared/components/employee-perspective-module"],null]]],null],[1,"\\n        "],[8,[32,6],null,[["@hintClassName","@occlusionEnabled"],["org-life-employee-perspective-module__occludable",true]],[["default"],[[[[1,"\\n          "],[10,"ul"],[14,0,"org-life-employee-perspective-module__list list-style-none"],[12],[1,"\\n"],[42,[28,[31,4],[[28,[31,4],[[30,0,["displayArticles"]]],null]],null],null,[[[1,"              "],[10,"li"],[14,0,"org-life-employee-perspective-module__list-item artdeco-card p0"],[12],[1,"\\n                "],[8,[32,7],[[24,0,"display-flex flex-column full-height"]],[["@article","@companyUrn","@articleLinkControlName","@articleSeeMoreLinkControlName","@isDashEnabled","@trackingId","@trackingArticleLinkName","@trackingArticleSeeMoreName"],[[30,2],[30,3],[30,0,["articleLinkControlName"]],[30,0,["articleSeeMoreLinkControlName"]],[30,4],[30,5],[30,0,["trackingArticleLinkName"]],[30,0,["trackingArticleSeeMoreName"]]]],null],[1,"\\n              "],[13],[1,"\\n"]],[2]],null],[1,"          "],[13],[1,"\\n        "]],[]]]]],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "]],["&attrs","article","@companyUrn","@isDashEnabled","@trackingId"],false,["unless","-get-dynamic-var","if","each","-track-array"]]',moduleName:"organization-life-shared/components/employee-perspective-module.gjs",scope:()=>[p.default,a.get,m.default,y.default,g.default,h.default,b.default,f.default],isStrictMode:!0}),(_=(0,c.inject)("organization-custom-tracking@module-tracking"),T=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"moduleTracking",v,this);(0,i.default)(this,"moduleName","COMPANY_LIFE_EMPLOYEE_PERSPECTIVES");(0,i.default)(this,"articleLinkControlName","life_perspectives_perspective_link");(0,i.default)(this,"articleSeeMoreLinkControlName","life_perspectives_see_more");(0,i.default)(this,"trackingImpressionViewName","org-member-life-page-employee-perspectives");(0,i.default)(this,"trackingArticleLinkName","org-member-life-page-employee-perspectives-article-link");(0,i.default)(this,"trackingArticleSeeMoreName","org-member-life-page-employee-perspectives-see-more");(0,i.default)(this,"trackingId",(0,s.generateTrackingId)())}get isVisible(){return 0!==this.displayArticles.length}get displayArticles(){return this.args.articles.length<2?[]:this.args.articles.slice(0,3)}get subItemUrns(){return this.displayArticles.map((e=>(0,d.get)(e,"entityUrn")))}get contentTrackingId(){return this.args.trackingId}onRender(){const{trackingId:e,moduleName:t}=this
return this.moduleTracking.getCustomViewObject(t,e)}onImpression(e){const{trackingId:t,moduleName:i,subItemUrns:n}=this
return this.moduleTracking.getCustomImpressionObject(i,t,e,n)}},v=(0,n.default)(T.prototype,"moduleTracking",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(T.prototype,"onRender",[d.action],Object.getOwnPropertyDescriptor(T.prototype,"onRender"),T.prototype),(0,n.default)(T.prototype,"onImpression",[d.action],Object.getOwnPropertyDescriptor(T.prototype,"onImpression"),T.prototype),T))}))
define("organization-life-shared/components/feed-item-control-menu",["exports","@ember/template-factory","@ember/component","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","voyager-web/config/environment","feed-utils/utils/share-via","organization-life-shared/utils/constants","@ember/object","feed-utils/utils/constants","@glimmer/tracking","@glimmer/component","@ember/service","@ember/destroyable","artdeco-dropdown/components/artdeco-dropdown","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t","@ember/helper","artdeco-dropdown/components/artdeco-dropdown-item","graphql-queries/queries/feed/update-actions.graphql"],(function(e,t,i,n,o,r,a,l,s,c,u,d,p,m,g,h,b,f,y,_,T,v){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var O,k,I,E,P,S,A,C,N,j,w,x,D,M,R,L,z
const U=[c.CONTROL_MENU_OPTIONS.REPORT,c.CONTROL_MENU_OPTIONS.SHARE_VIA,c.CONTROL_MENU_OPTIONS.SAVE,c.CONTROL_MENU_OPTIONS.UNSAVE]
let F=(O=class{constructor(e){let{menuAction:t,lookupTranslation:i,args:o}=e;(0,n.default)(this,"menuAction",k,this)
this.menuAction=t
this.lookupTranslation=i
this.args=o}get saved(){if(this.args.isDashEnabled){var e,t
return null===(e=this.menuAction)||void 0===e||null===(t=e.saveState)||void 0===t?void 0:t.saved}return(0,u.get)(this.menuAction,"saveAction.saved")}get text(){return this.saved?this.lookupTranslation("unsave_text")():(0,u.get)(this.menuAction,"text")}get subtext(){return this.saved?this.lookupTranslation("unsave_subtext")():(0,u.get)(this.menuAction,"subtext")}get className(){return d.controlMenuMap[this.actionType].className}get controlName(){return d.controlMenuMap[this.actionType].controlName}get iconType(){return d.controlMenuMap[this.actionType].iconType}get action(){return d.controlMenuMap[this.actionType].action}get role(){return d.controlMenuMap[this.actionType].role}get customComponent(){return d.controlMenuMap[this.actionType].customComponent}get actionType(){return this.saved?c.CONTROL_MENU_OPTIONS.UNSAVE:(0,u.get)(this.menuAction,"actionType")}get controlMenu(){return d.controlMenuMap[(0,u.get)(this.menuAction,"actionType")]}},k=(0,r.default)(O.prototype,"menuAction",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O)
e.default=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"98ijXJgE",block:'[[[1,"\\n"],[1,"\\n    "],[11,0],[17,1],[12],[1,"\\n      "],[8,[32,0],null,[["@isOpen","@onVisibilityChange","@justification"],[[30,0,["isControlMenuDropdownOpen"]],[30,0,["onDropdownTriggerClick"]],"right"]],[["default"],[[[[1,"\\n        "],[8,[30,2,["dropdown-trigger"]],null,[["@class","@tabindex"],["artdeco-button artdeco-button--tertiary artdeco-button--muted artdeco-button--1 artdeco-button--circle","0"]],[["default"],[[[[1,"\\n          "],[8,[32,1],[[24,0,"artdeco-button__icon"]],[["@a11yText","@type","@name","@size"],[[28,[32,2],["i18n_open_control_menu","organization-life-shared/components/feed-item-control-menu"],null],"system","overflow-web-ios","medium"]],null],[1,"\\n        "]],[]]]]],[1,"\\n        "],[8,[30,2,["dropdown-content"]],null,[["@arrowDir","@class"],["right","org-life-feed-item-control-menu__content text-align-center"]],[["default"],[[[[1,"\\n          "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["mappedMenuActions"]]],null]],null],null,[[[1,"              "],[10,"li"],[15,0,[30,3,["className"]]],[12],[1,"\\n"],[41,[30,3,["customComponent"]],[[[44,[[50,[30,3,["customComponent"]],0,null,null]],[[[1,"                    "],[8,[30,4],null,[["@onShowMessage","@mappedMenuAction","@updateMetadata","@updateTrackingObj","@itemSelected","@update"],[[30,5],[30,3],[30,6,["updateMetadata"]],[30,7],[28,[32,3],[[30,0,["onDropdownItemSelected"]],[30,3]],null],[30,6]]],null],[1,"\\n"]],[4]]]],[]],[[[1,"                  "],[8,[32,4],null,[["@itemSelected","@class","@role"],[[28,[32,3],[[30,0,["onDropdownItemSelected"]],[30,3]],null],"tap-target display-flex align-items-center",[30,3,["role"]]]],[["default"],[[[[1,"\\n"],[41,[30,3,["iconType"]],[[[1,"                      "],[8,[32,1],[[24,0,"flex-shrink-zero mr2"]],[["@type","@name","@size"],["system",[30,3,["iconType"]],"medium"]],null],[1,"\\n"]],[]],null],[1,"                    "],[10,0],[14,0,"flex-grow-1 text-align-left"],[12],[1,"\\n                      "],[10,2],[14,0,"t-14 t-black t-bold"],[12],[1,"\\n                        "],[1,[30,3,["text"]]],[1,"\\n                      "],[13],[1,"\\n                      "],[10,2],[14,0,"t-12 t-black t-black--light"],[12],[1,"\\n                        "],[1,[30,3,["subtext"]]],[1,"\\n                      "],[13],[1,"\\n                    "],[13],[1,"\\n                  "]],[]]]]],[1,"\\n"]],[]]],[1,"              "],[13],[1,"\\n"]],[3]],null],[1,"          "],[13],[1,"\\n        "]],[]]]]],[1,"\\n      "]],[2]]]]],[1,"\\n    "],[13],[1,"\\n  "]],["&attrs","dropdown","mappedMenuAction","CustomComponent","@onShowMessage","@update","@updateTrackingObj"],false,["each","-track-array","if","let","component"]]',moduleName:"organization-life-shared/components/feed-item-control-menu.gjs",scope:()=>[b.default,f.default,y.default,_.fn,T.default],isStrictMode:!0}),(I=(0,g.inject)("i18n"),E=(0,g.inject)("persistent-toast-manager@persistent-toast-manager"),P=(0,g.inject)("global-services@clipboard"),S=(0,g.inject)("global-services@store-shim"),A=(0,g.inject)("@linkedin/ember-restli-graphql@graphql"),C=(0,g.inject)("lix"),N=class e extends m.default{constructor(){super(...arguments);(0,n.default)(this,"i18n",j,this);(0,n.default)(this,"persistentToastManager",w,this);(0,n.default)(this,"clipboard",x,this);(0,n.default)(this,"storeShim",D,this);(0,n.default)(this,"graphql",M,this);(0,n.default)(this,"lix",R,this);(0,n.default)(this,"isControlMenuDropdownOpen",L,this);(0,n.default)(this,"mappedMenuActions",z,this)}onDropdownTriggerClick(t){var i,n,o
const r=encodeURIComponent((0,u.get)(this.args,"menuActions.entityUrn")),a=null===(i=this.args.update)||void 0===i||null===(n=i.metadata)||void 0===n||null===(o=n.updateActions)||void 0===o?void 0:o.entityUrn,l=`voyagerFeedUpdateActions/${r}`,s={degradations:[d.DEGRADATION_TRACKING_METADATA.CONTROL_MENU],degradedEntityIDsToRemove:[]}
return(this.args.isDashEnabled?this.graphql.executeQuery(v.default,{updateActionsUrn:a},{adapterOptions:s,reload:!0}):this.storeShim.queryURL(l,{adapterOptions:s,reload:!0})).then((i=>{if(!this.isDestroying){var n,o
const r=this.args.isDashEnabled?null==i||null===(n=i.data)||void 0===n||null===(o=n.feedDashUpdateActionsById)||void 0===o?void 0:o.actions:(0,u.get)(i,"actions")
this.mappedMenuActions=r.filter((e=>{const t=(0,u.get)(e,"actionType")
return U.includes(t)&&d.controlMenuMap[t]})).map((t=>new F({menuAction:t,lookupTranslation:t=>this.i18n.lookupTranslation(e,t),args:this.args})))
this.isControlMenuDropdownOpen=t}}))}onDropdownItemSelected(e){const{action:t,menuAction:i}=(0,u.getProperties)(e,"action","menuAction")
if(t){var n
null===(n=this[t])||void 0===n||n.call(this,i)}this.isControlMenuDropdownOpen=!1}onReport(){var e,t
null===(e=(t=this.args).onReportMenuSelection)||void 0===e||e.call(t)}onShareVia(e){const{i18n:t}=this,{clipboard:i}=this,n=this.persistentToastManager,o=(0,u.get)(e,"url");(0,s.default)(i,t,n,o)}onSave(e){this._onSaveOrUnsaveAction(e,"save","unsave_text","unsave_subtext",c.CONTROL_MENU_OPTIONS.UNSAVE,!0,"saved_success")}onUnsave(e){this._onSaveOrUnsaveAction(e,"unsave","save_text","save_subtext",c.CONTROL_MENU_OPTIONS.SAVE,!1,"unsaved_success")}_onSaveOrUnsaveAction(t,i,n,o,r,a,s){var c
const{storeShim:d,persistentToastManager:p}=this,m=this.args.isDashEnabled?null==t||null===(c=t.saveState)||void 0===c?void 0:c.entityUrn:(0,u.get)(t,"saveAction.dashEntityUrn"),g=`/${l.default.namespace}/voyagerFeedDashSaveStates/${encodeURIComponent(m)}`,b={patch:{$set:{saved:a}}},f=this.i18n.lookupTranslation(e,n)(),y=this.i18n.lookupTranslation(e,o)(),_=this.i18n.lookupTranslation(e,s)(),T=this.i18n.lookupTranslation(e,"view_saved")(),v=this.i18n.lookupTranslation(e,"network_error")()
d.adapterFor("-ember-m3").ajax(g,"POST",{data:b}).then((()=>{if(!(0,h.isDestroying)(this)){this.args.isDashEnabled?(0,u.setProperties)(t,{text:f,subtext:y,actionType:r,"saveState.saved":a}):(0,u.setProperties)(t,{text:f,subtext:y,actionType:r,"saveAction.saved":a})
_&&p.success({message:_,ctaRouteName:this.lix.getTreatmentIsEnabled("voyager.web.feed-frameworks-saved-posts-redirect")?"workflow.saved-posts":"feed.saved-items",ctaText:T})}})).catch((e=>{if((0,h.isDestroying)(this))throw e
p.error({message:v})
throw e}))}},j=(0,r.default)(N.prototype,"i18n",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,r.default)(N.prototype,"persistentToastManager",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,r.default)(N.prototype,"clipboard",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,r.default)(N.prototype,"storeShim",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,r.default)(N.prototype,"graphql",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,r.default)(N.prototype,"lix",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,r.default)(N.prototype,"isControlMenuDropdownOpen",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),z=(0,r.default)(N.prototype,"mappedMenuActions",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,r.default)(N.prototype,"onDropdownTriggerClick",[u.action],Object.getOwnPropertyDescriptor(N.prototype,"onDropdownTriggerClick"),N.prototype),(0,r.default)(N.prototype,"onDropdownItemSelected",[u.action],Object.getOwnPropertyDescriptor(N.prototype,"onDropdownItemSelected"),N.prototype),(0,r.default)(N.prototype,"onReport",[u.action],Object.getOwnPropertyDescriptor(N.prototype,"onReport"),N.prototype),(0,r.default)(N.prototype,"onShareVia",[u.action],Object.getOwnPropertyDescriptor(N.prototype,"onShareVia"),N.prototype),(0,r.default)(N.prototype,"onSave",[u.action],Object.getOwnPropertyDescriptor(N.prototype,"onSave"),N.prototype),(0,r.default)(N.prototype,"onUnsave",[u.action],Object.getOwnPropertyDescriptor(N.prototype,"onUnsave"),N.prototype),N))}))
define("organization-life-shared/components/feed-item-viewer",["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/runloop","@glimmer/tracking","global-utils/utils/api-compat","ember-cli-pemberly-tracking/utils/tracking","@glimmer/component","@ember/object","@ember/service","ember-cli-pemberly-tracking/modifiers/track-render","ember-cli-pemberly-tracking/modifiers/track-impression","occludable-area/components/occludable-area","feed-shared/components/render-models/update-v2","feed-components-shared/components/image-viewer","organization-life-shared/components/feed-item-control-menu","social-details/components/comments/comment-item"],(function(e,t,i,n,o,r,a,l,s,c,u,d,p,m,g,h,b,f,y,_,T,v){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var O,k,I,E,P
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"GytLs6VQ",block:'[[[1,"\\n    "],[11,0],[24,0,"org-life-feed-item-viewer full-height"],[17,1],[4,[32,0],null,[["onRender","routeName","currentRoute"],[[30,0,["onRender"]],[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[4,[32,2],[[30,0,["onImpression"]]],[["routeName","currentRoute"],[[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n      "],[8,[32,3],null,[["@class","@occlusionEnabled","@rootMarginBottomBuffer","@hintClassName"],["occludable-update",[30,0,["occlusionEnabled"]],600,"occludable-update-hint"]],[["default"],[[[[1,"\\n        "],[8,[32,4],null,[["@hideCaEntryPoint","@hideReshare","@isDetailView","@isWrapped","@isDashEnabled","@shouldSuppressTracking","@update","@wrapperClass"],[[30,0,["hideCaEntryPoint"]],false,[30,0,["isDetailView"]],[30,0,["isWrapped"]],[30,2],[30,3],[30,4],"display-flex full-height overflow-hidden"]],[["default"],[[[[1,"\\n          "],[10,0],[14,0,"org-life-feed-item-viewer__left-panel display-flex flex-1 justify-center"],[12],[1,"\\n"],[41,[30,7,["hasContent"]],[[[41,[30,0,["shouldDisplayAsImageViewer"]],[[[1,"                "],[8,[32,5],[[24,0,"org-life-feed-item-viewer__content display-flex justify-center full-height full-width relative"]],[["@images","@isDashEnabled","@showTags","@updateTrackingObj"],[[52,[30,2],[30,4,["content","imageComponent","images"]],[30,4,["content","images"]]],[30,2],[30,0,["shouldShowTagsOnImageViewer"]],[30,8]]],null],[1,"\\n"]],[]],[[[1,"                "],[8,[30,5,["content"]],null,[["@class"],["org-life-feed-item-viewer__content display-flex justify-center full-height full-width relative"]],null],[1,"\\n"]],[]]]],[]],null],[1,"          "],[13],[1,"\\n          "],[10,0],[14,0,"org-life-feed-item-viewer__right-panel display-flex flex-column full-height relative"],[12],[1,"\\n            "],[8,[30,5,["actor"]],null,[["@isReshareContent","@showFollowButton"],[false,false]],null],[1,"\\n            "],[8,[32,6],[[24,0,"org-life-feed-item-control-menu absolute text-align-right"]],[["@menuActions","@isDashEnabled","@onShowMessage","@update","@onReportMenuSelection"],[[52,[30,2],[30,4,["metadata","updateActions"]],[30,4,["updateMetadata","updateActions"]]],[30,2],[30,9],[30,4],[30,10]]],null],[1,"\\n            "],[10,0],[14,0,"org-life-feed-item-viewer--scrollable"],[12],[1,"\\n              "],[8,[30,5,["inlineShowMoreText"]],null,[["@class","@isExpanded"],["feed-shared-update-v2__description",true]],[["default"],[[[[1,"\\n                "],[8,[30,5,["commentary"]],null,null,null],[1,"\\n              "]],[]]]]],[1,"\\n\\n              "],[1,[30,5,["aggregatedContent"]]],[1,"\\n\\n"],[41,[30,7,["hasSocialDetail"]],[[[41,[30,7,["showContributionExperience"]],[[[1,"                  "],[8,[30,5,["updateV2SocialActivity"]],null,[["@isReshareButtonShareboxOpen","@isUpdateDetailViewer","@reportedCommentUrns","@toggleReshareButtonSharebox","@transitionFromUpdateDetailToMessageDrawer","@isXArticleSocialActivity"],[[30,11],true,[30,12],[30,13],[30,14],true]],null],[1,"\\n"]],[]],[[[1,"                  "],[8,[30,5,["updateV2SocialActivity"]],null,[["@handleReportCommentFlow","@isReshareButtonShareboxOpen","@isUpdateDetailViewer","@reportedCommentUrns","@showCommentBox","@showQuickCommentsOverride","@showReactorsFacepileOverride","@toggleReshareButtonSharebox","@transitionFromUpdateDetailToMessageDrawer","@useUpdateDetailViewer","@shouldUseSimpleConfirms","@showCommentToggle","@hideReshare","@isUpdateDetailViewerOpen"],[[30,0,["handleReportCommentFlow"]],[30,11],true,[30,12],true,false,false,[30,13],[30,14],[30,15],true,false,false,[30,16]]],null],[1,"\\n"]],[]]]],[]],null],[1,"            "],[13],[1,"\\n          "],[13],[1,"\\n        "]],[5,6,7]]]]],[1,"\\n      "]],[]]]]],[1,"\\n    "],[13],[1,"\\n  "]],["&attrs","@isDashEnabled","@shouldSuppressTracking","@update","components","actions","properties","@updateTrackingObj","@onShowMessage","@onReportMenuSelection","@isReshareButtonShareboxOpen","@reportedCommentUrns","@toggleReshareButtonSharebox","@transitionFromUpdateDetailToMessageDrawer","@useUpdateDetailViewer","@isUpdateDetailViewerOpen"],false,["-get-dynamic-var","if"]]',moduleName:"organization-life-shared/components/feed-item-viewer.gjs",scope:()=>[h.default,a.get,b.default,f.default,y.default,_.default,T.default],isStrictMode:!0}),(O=(0,g.inject)("organization-custom-tracking@module-tracking"),k=class extends p.default{get subItemUrns(){const e=(0,m.get)(this.args,"update.updateMetadata.urn")
return e?[e]:[]}constructor(){super(...arguments);(0,t.default)(this,"moduleTracking",I,this);(0,i.default)(this,"hideCaEntryPoint",!0);(0,i.default)(this,"isDetailView",!1);(0,i.default)(this,"isWrapped",!0);(0,i.default)(this,"shouldShowTagsOnImageViewer",!0);(0,t.default)(this,"reportedComment",E,this);(0,t.default)(this,"isReportingComment",P,this)
this.shouldDisplayAsImageViewer=this._shouldDisplayAsImageViewer()
this.trackingId=(0,d.generateTrackingId)()}_shouldDisplayAsImageViewer(){return this.args.isDashEnabled?"com.linkedin.voyager.dash.feed.component.image.ImageComponent"===(0,u.classNameOf)((0,m.get)(this.args,"update.content.imageComponent")):"com.linkedin.voyager.feed.render.ImageComponent"===this._getContentComponentType()}_getContentComponentType(){return(0,u.classNameOf)((0,m.get)(this.args,"update.content"))}closeSemaphore(){this.isReportingComment=!1}openSemaphore(){this.isReportingComment=!0}handleReportCommentFlow(e){this.args.onCloseModalClick();(0,s.next)(this,(()=>{this.reportedComment=e
this.isReportingComment=!0}))}semaphoreSuccess(e){(0,s.once)(this,"closeSemaphore")
e.includes("HIDE_CONTENT")&&this.args.addCommentUrnToReportedUrns((0,m.get)(this.reportedComment,"urn"))
this.args.onCloseModalClick()}semaphoreFailure(){(0,s.once)(this,"closeSemaphore")
const e=this.i18n.lookupTranslation(v.default,"save_like_error")()
this.persistentToastManager.error({message:e})
this.args.onCloseModalClick()}onRender(){return this.moduleTracking.organization?this.moduleTracking.getCustomViewObject(this.args.moduleName,this.trackingId):[]}onImpression(e){return this.moduleTracking.organization?this.moduleTracking.getCustomImpressionObject(this.args.moduleName,this.trackingId,e):[]}},I=(0,n.default)(k.prototype,"moduleTracking",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,n.default)(k.prototype,"reportedComment",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,n.default)(k.prototype,"isReportingComment",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(k.prototype,"handleReportCommentFlow",[m.action],Object.getOwnPropertyDescriptor(k.prototype,"handleReportCommentFlow"),k.prototype),(0,n.default)(k.prototype,"semaphoreSuccess",[m.action],Object.getOwnPropertyDescriptor(k.prototype,"semaphoreSuccess"),k.prototype),(0,n.default)(k.prototype,"semaphoreFailure",[m.action],Object.getOwnPropertyDescriptor(k.prototype,"semaphoreFailure"),k.prototype),(0,n.default)(k.prototype,"onRender",[m.action],Object.getOwnPropertyDescriptor(k.prototype,"onRender"),k.prototype),(0,n.default)(k.prototype,"onImpression",[m.action],Object.getOwnPropertyDescriptor(k.prototype,"onImpression"),k.prototype),k))}))
define("organization-life-shared/components/hero-media-module",["exports","@ember/template-factory","@ember/helper","@babel/runtime/helpers/esm/defineProperty","@ember/component","@glimmer/component","organization-custom-tracking/components/org-module-tracking","s-organization/components/media-item","ember-cli-pemberly-tracking/modifiers/track-view"],(function(e,t,i,n,o,r,a,l,s){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class c extends r.default{constructor(){super(...arguments);(0,n.default)(this,"moduleName","COMPANY_LIFE_HERO");(0,n.default)(this,"heroPlayVideoControlName","life_hero_play_video");(0,n.default)(this,"heroOpenPhotoControlName","life_hero_open_photo")}get contentTrackingId(){return this.args.trackingId}get media(){var e,t
return(null===(e=this.args.model)||void 0===e?void 0:e.Video)??(null===(t=this.args.model)||void 0===t?void 0:t.vectorImage)}}e.default=c;(0,o.setComponentTemplate)((0,t.createTemplateFactory)({id:"VRKZnUJD",block:'[[[1,"\\n    "],[8,[32,0],[[24,0,"hero-media-module"],[17,1]],[["@tag","@moduleName"],["section",[30,0,["moduleName"]]]],[["default"],[[[[1,"\\n      "],[8,[32,1],[[24,0,"org-media-item--is-hero-media"],[24,"data-view-name","org-member-life-hero-image"],[4,[32,2],null,[["view","viewName","genericTrackingLixKey","routeName","currentRoute"],[[30,0],"org-member-life-hero-image","voyager.web.employer-brand-tracking3-part-1",[28,[32,3],[[53,"outletState"],"render.name"],null],[28,[32,3],[[53,"outletState"],"render"],null]]]]],[["@removeCardClass","@model","@imageUrl","@alt","@thumbnailSize","@coverMedia","@desiredHeight","@desiredWidth","@videoClickControlName","@autoplay"],[[30,2],[30,0,["media"]],[30,3],"","max",false,376,950,[30,0,["heroPlayVideoControlName"]],true]],null],[1,"\\n    "]],[]]]]],[1,"\\n  "]],["&attrs","@removeCardClass","@imageUrl"],false,["-get-dynamic-var"]]',moduleName:"organization-life-shared/components/hero-media-module.gjs",scope:()=>[a.default,l.default,s.default,i.get],isStrictMode:!0}),c)}))
define("organization-life-shared/components/insights-bubble",["exports","@ember/template-factory","@ember/component/template-only","@ember/component"],(function(e,t,i,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const o=(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"fSGHguo1",block:'[[[1,"\\n  "],[11,0],[24,0,"org-life-insights-bubble__container artdeco-card"],[17,1],[12],[1,"\\n    "],[10,2],[14,0,"t-14 t-black"],[12],[1,[30,2]],[13],[1,"\\n  "],[13],[1,"\\n"]],["&attrs","@text"],false,[]]',moduleName:"organization-life-shared/components/insights-bubble.gjs",isStrictMode:!0}),(0,i.default)("insights-bubble","InsightsBubble"))
e.default=o}))
define("organization-life-shared/components/lightbox-modal",["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","global-utils/utils/is-browser","ember-lifeline","@ember/object","@ember/service","@glimmer/tracking","@glimmer/component","@ember/render-modifiers/modifiers/did-insert","artdeco-modal/components/artdeco-modal","@ember/modifier","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t","ember-vector-images/components/custom-image"],(function(e,t,i,n,o,r,a,l,s,c,u,d,p,m,g,h,b,f,y,_){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var T,v,O,k,I,E
const P="ArrowLeft",S=37,A="ArrowRight",C=39
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"Gw0YbD/4",block:'[[[1,"\\n"],[1,"    "],[11,0],[24,0,"org-life-lightbox-modal"],[17,1],[4,[32,0],[[30,0,["onInsertElement"]]],null],[12],[1,"\\n      "],[8,[32,1],null,[["@isOpen","@headerId","@dismissModal","@modalClasses","@overlayClasses"],[[30,2],"org-life-company-photos-module-lightbox-modal-title",[30,3],"full-height","display-flex flex-column justify-center"]],[["default"],[[[[1,"\\n        "],[8,[30,4,["artdeco-modal-header"]],null,[["@classNames"],["visually-hidden"]],[["default"],[[[[1,"\\n          "],[10,"h2"],[14,1,"org-life-company-photos-module-lightbox-modal-title"],[12],[1,"\\n            "],[1,[30,5]],[1,"\\n          "],[13],[1,"\\n        "]],[]]]]],[1,"\\n        "],[8,[30,4,["artdeco-modal-content"]],null,[["@classNames"],["org-life-lightbox-modal__content"]],[["default"],[[[[1,"\\n"],[41,[30,0,["showPaginationButtons"]],[[[1,"            "],[11,"button"],[24,0,"org-life-lightbox-modal__view-image-button org-life-lightbox-modal__view-image-button--previous"],[24,4,"button"],[4,[32,2],["click",[30,0,["onShowPrevImage"]]],null],[12],[1,"\\n              "],[8,[32,3],null,[["@a11yText","@type","@name","@size"],[[28,[32,4],["i18n_organization_lightbox_modal_prev_btn-ally","organization-life-shared/components/lightbox-modal"],null],"system","chevron-left","medium"]],null],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[1,"          "],[8,[32,5],null,[["@class","@image","@desiredWidth","@desiredHeight","@alt"],["org-life-lightbox-modal__image",[30,0,["activeImage"]],600,400,[28,[32,4],["i18n_organization_lightbox_modal_image-ally_announce","organization-life-shared/components/lightbox-modal"],[["count","companyName"],[[30,0,["imageIndex"]],[30,6]]]]]],null],[1,"\\n"],[41,[30,0,["showPaginationButtons"]],[[[1,"            "],[11,"button"],[24,0,"org-life-lightbox-modal__view-image-button org-life-lightbox-modal__view-image-button--next"],[24,4,"button"],[4,[32,2],["click",[30,0,["onShowNextImage"]]],null],[12],[1,"\\n              "],[8,[32,3],null,[["@type","@name","@size","@a11yText"],["system","chevron-right","medium",[28,[32,4],["i18n_organization_lightbox_modal_next_btn-ally","organization-life-shared/components/lightbox-modal"],null]]],null],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[1,"        "]],[]]]]],[1,"\\n      "]],[4]]]]],[1,"\\n    "],[13],[1,"\\n  "]],["&attrs","@showLightboxModal","@onDismissModal","modal","@title","@companyName"],false,["if"]]',moduleName:"organization-life-shared/components/lightbox-modal.gjs",scope:()=>[g.default,h.default,b.on,f.default,y.default,_.default],isStrictMode:!0}),(T=(0,d.inject)("i18n"),v=(0,d.inject)("global-services@a11y-notification"),O=class e extends m.default{get showPaginationButtons(){return this.args.images.length>1}get activeImageViewModel(){const e=this.activeImageIndex,t=this.args.images||[]
return 0===t.length||e<0||e>=t.length?null:t[e]}get activeImage(){var e,t,i,n,o,r
return(nu