ault{get hasNextPage(){const{start:e,count:t,total:i}=(0,c.getProperties)((0,c.get)(this,"feedItems.paging"),"start","count","total")
return s.default&&e+t<i}get numRows(){return this.args.numberOfRows||2}get numColumns(){return this.args.numberOfColumns||3}get paging(){return(0,c.get)(this.args,"feedUpdates.paging")||(0,c.get)(this.args,"feedUpdates.pagingInfo")||c.default.create({start:0,count:0,total:0})}get carouselItemsLength(){if(!this.args.isOrganizationPage){var e,t
return Math.min(null===(e=this.feedItems)||void 0===e||null===(t=e.elements)||void 0===t?void 0:t.length,10)}return Math.ceil((0,c.get)(this.paging,"total")/this.numRows)}updateItems(e){const t=(0,c.get)(e,"elements")
if(!(0,c.get)(t,"length"))return
const i=N(t,this.numRows)
this.feedItems={elements:[...(0,c.get)(this.feedItems,"elements"),...i],paging:(0,c.getProperties)((0,c.get)(e,"paging"),"start","count","total")}}constructor(){super(...arguments);(0,t.default)(this,"moduleTracking",P,this);(0,t.default)(this,"tracking",S,this);(0,t.default)(this,"isLoading",A,this);(0,t.default)(this,"feedItems",C,this)
const e=(0,c.get)(this.args,"feedUpdates.elements")||(0,c.get)(this.args,"feedUpdates.updateV2s")
this.feedItems={elements:N(e,this.numRows),paging:this.paging}
this.trackingId=(0,l.generateTrackingId)()}onNextPage(e){var t,i
this._fireCarouselPaginationTrackingEvent(`${this.args.moduleName}_NEXT`)
if(!this.args.isOrganizationPage)return!1
if(!this.args.enableLazyLoad||!this.hasNextPage||!this.args.fetchFeedUpdatesWithOptions||this.isLoading)return!1
const n=(0,c.get)(this.feedItems,"paging.start"),o=(0,c.get)(this.feedItems,"paging.count")
if(n+o-e*this.numRows>6)return!1
const r={count:o,start:n+o,paginationToken:(0,c.get)(this.args,"feedUpdates.metadata.paginationToken")},a=null===(t=(i=this.args).fetchFeedUpdatesWithOptions)||void 0===t?void 0:t.call(i,r)
this.isLoading=!0
a.then((e=>{this.isDestroying||this.updateItems(e)})).finally((()=>{(0,m.isDestroying)(this)||(this.isLoading=!1)}))
return!0}onPreviousPage(){this._fireCarouselPaginationTrackingEvent(`${this.args.moduleName}_PREVIOUS`)}_fireCarouselPaginationTrackingEvent(e){this.tracking.fireInteractionEvent(e)}onRender(){return this.moduleTracking.organization&&this.args.isOrganizationPage?this.moduleTracking.getCustomViewObject(this.args.moduleName,this.trackingId):[]}onImpression(e){return this.moduleTracking.organization&&this.args.isOrganizationPage?this.moduleTracking.getCustomImpressionObject(this.args.moduleName,this.trackingId,e):[]}},P=(0,n.default)(E.prototype,"moduleTracking",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,n.default)(E.prototype,"tracking",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,n.default)(E.prototype,"isLoading",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,n.default)(E.prototype,"feedItems",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(E.prototype,"onNextPage",[c.action],Object.getOwnPropertyDescriptor(E.prototype,"onNextPage"),E.prototype),(0,n.default)(E.prototype,"onPreviousPage",[c.action],Object.getOwnPropertyDescriptor(E.prototype,"onPreviousPage"),E.prototype),(0,n.default)(E.prototype,"onRender",[c.action],Object.getOwnPropertyDescriptor(E.prototype,"onRender"),E.prototype),(0,n.default)(E.prototype,"onImpression",[c.action],Object.getOwnPropertyDescriptor(E.prototype,"onImpression"),E.prototype),E))}))
define("organization-life-shared/components/organization-media-feed-item",["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-built-ins","ember-cli-pemberly-tracking/utils/tracking","global-utils/utils/api-compat","@ember/object","@glimmer/tracking","@glimmer/component","@ember/service","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-tracking/modifiers/track-render","ember-cli-pemberly-tracking/modifiers/track-impression","ember-cli-pemberly-i18n/helpers/t","ember-vector-images/components/lazy-image","image-view-model/components/image-view-model","artdeco-button/components/artdeco-button","update-components/components/actor","@ember/modifier","ember-line-clamp/components/line-clamp","@ember/helper","hue-web-icons/components/icon","artdeco-modal/components/artdeco-modal","organization-life-shared/components/feed-item-viewer","ember-semaphore/components/ember-semaphore","sharing-entry/components/share-box-modal"],(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,P,S,A,C){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var N,j,w,x,D,M,R,L,z,U,F
const B=Object.freeze({IMAGE:"com.linkedin.voyager.feed.render.ImageComponent",LINKEDIN_VIDEO:"com.linkedin.voyager.feed.render.LinkedInVideoComponent",EXTERNAL_VIDEO:"com.linkedin.voyager.feed.render.ExternalVideoComponent",DASH_IMAGE:"com.linkedin.voyager.dash.feed.component.image.ImageComponent",DASH_LINKEDIN_VIDEO:"com.linkedin.voyager.dash.feed.component.linkedinvideo.LinkedInVideoComponent",DASH_EXTERNAL_VIDEO:"com.linkedin.voyager.dash.feed.component.externalvideo.ExternalVideoComponent"}),J={HEIGHT:215,WIDTH:243},H={HEIGHT:212,WIDTH:238},V={HEIGHT:160,WIDTH:178}
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"OYIqI0/w",block:'[[[1,"\\n"],[1,"\\n    "],[11,0],[16,"aria-label",[30,0,["ariaLabel"]]],[16,"aria-hidden",[30,0,["ariaHidden"]]],[16,"tabIndex",[30,0,["tabIndex"]]],[24,0,"org-life-media-feed-item artdeco-card"],[17,1],[4,[32,0],["life_media_feed_item"],null],[4,[32,1],null,[["onRender","routeName","currentRoute"],[[30,0,["onRender"]],[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[4,[32,3],[[30,0,["onImpression"]]],[["routeName","currentRoute"],[[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n      "],[10,0],[14,0,"org-life-media-feed-item__image-container"],[15,"aria-label",[28,[32,4],["i18n_org_on_post","organization-life-shared/components/organization-media-feed-item"],null]],[14,"role","group"],[12],[1,"\\n"],[41,[30,0,["thumbnail"]],[[[41,[30,0,["thumbnail","isLinkedInVideo"]],[[[1,"            "],[8,[32,5],null,[["@class","@image","@ghostType","@width","@height","@ariaRole"],["org-life-media-feed-item__image",[30,0,["thumbnail","image"]],"content",[30,0,["imageWidth"]],[30,0,["imageHeight"]],"presentation"]],null],[1,"\\n"]],[]],[[[1,"            "],[8,[32,6],[[24,"role","presentation"]],[["@ghostType","@images","@imgClasses","@imgWidth","@imgHeight"],["content",[30,0,["thumbnail","image"]],"org-life-media-feed-item__image",[30,0,["imageWidth"]],[30,0,["imageHeight"]]]],null],[1,"\\n"]],[]]],[41,[30,0,["thumbnail","showVideoIcon"]],[[[1,"            "],[8,[32,7],[[24,0,"org-life-media-feed-item__video-play-icon"],[16,"aria-label",[28,[32,4],["i18n_org_media_feed_a11y_video_play","organization-life-shared/components/organization-media-feed-item"],null]],[16,"aria-hidden",[30,0,["ariaHidden"]]],[16,"tabIndex",[30,0,["tabIndex"]]]],[["@icon","@circle","@size"],["play",true,2]],null],[1,"\\n"]],[]],null]],[]],null],[1,"      "],[13],[1,"\\n"],[41,[30,0,["isMarkedForRemoval"]],[[[1,"        "],[10,0],[14,0,"org-life-media-feed-item__overlay-remove"],[12],[1,"\\n          "],[10,0],[12],[1,"\\n            "],[10,2],[14,0,"t-16 t-bold"],[15,"aria-label",[28,[32,4],["i18n_org_media_feed_removed_overlay_title","organization-life-shared/components/organization-media-feed-item"],null]],[12],[1,"\\n              "],[1,[28,[32,4],["i18n_org_media_feed_removed_overlay_title","organization-life-shared/components/organization-media-feed-item"],null]],[1,"\\n            "],[13],[1,"\\n            "],[10,2],[14,0,"t-12"],[15,"aria-label",[28,[32,4],["i18n_org_media_feed_removed_overlay_subtitle","organization-life-shared/components/organization-media-feed-item"],null]],[12],[1,"\\n              "],[1,[28,[32,4],["i18n_org_media_feed_removed_overlay_subtitle","organization-life-shared/components/organization-media-feed-item"],null]],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],[[[41,[51,[30,2]],[[[1,"          "],[10,0],[14,0,"org-life-media-feed-item__overlay"],[15,"aria-label",[28,[32,4],["i18n_org_on_post","organization-life-shared/components/organization-media-feed-item"],null]],[14,"role","group"],[12],[1,"\\n            "],[8,[32,8],[[24,0,"org-life-media-feed-item__update-components-actor"],[16,"aria-label",[28,[32,4],["i18n_org_view_profile","organization-life-shared/components/organization-media-feed-item"],null]]],[["@shouldShowSubDescription","@entitySize","@model","@showFollowButton"],[false,[52,[30,0,["smallHover"]],1,2],[30,3,["actor"]],false]],null],[1,"\\n"],[41,[30,3,["commentary","text","text"]],[[[1,"              "],[11,"button"],[24,0,"org-life-media-feed-item__life-button"],[16,"aria-label",[28,[32,4],["i18n_org_view_post","organization-life-shared/components/organization-media-feed-item"],null]],[24,4,"button"],[4,[32,9],["click",[30,0,["onClick"]]],null],[12],[1,"\\n                "],[8,[32,10],[[16,0,[28,[32,11],["t-black",[52,[30,0,["smallHover"]]," t-12"," t-14"]],null]],[24,"aria-hidden","true"]],[["@lines","@showMoreButton","@text"],[5,false,[30,3,["commentary","text","text"]]]],null],[1,"\\n              "],[13],[1,"\\n"]],[]],null],[41,[30,4],[[[1,"              "],[11,"button"],[24,0,"org-life-media-feed-item__post-trash-icon remove-media-button artdeco-button artdeco-button--inverse artdeco-button--circle"],[16,"aria-label",[28,[32,4],["i18n_org_media_feed_item_remove_post_a11y","organization-life-shared/components/organization-media-feed-item"],null]],[24,4,"button"],[4,[32,9],["click",[28,[32,12],[[30,5],[30,3,["entityUrn"]],[30,3,["updateMetadata","urn"]],[30,6],[30,7]],[["bubbles"],[false]]]],null],[12],[1,"\\n                "],[8,[32,13],null,[["@type","@name","@size"],["system","trash","small"]],null],[1,"\\n              "],[13],[1,"\\n"]],[]],null],[1,"          "],[13],[1,"\\n"]],[]],null]],[]]],[41,[30,0,["isMediaViewerOpen"]],[[[1,"        "],[8,[32,14],null,[["@isOpen","@headerId","@dismissModal","@modalClasses","@overlayClasses"],[[30,0,["isMediaViewerOpen"]],"feed-item-viewer-modal-label",[30,0,["onCloseModalClick"]],"feed-shared-image-viewer org-life-media-feed-item__modal-container","display-flex flex-column justify-center"]],[["default"],[[[[1,"\\n          "],[8,[30,8,["artdeco-modal-header"]],null,[["@classNames"],["a11y-text"]],[["default"],[[[[1,"\\n"],[1,"            "],[10,"h2"],[14,1,"feed-item-viewer-modal-label"],[12],[1,"\\n              "],[1,[28,[32,4],["i18n_feed_item_viewer_modal_header","organization-life-shared/components/organization-media-feed-item"],null]],[1,"\\n            "],[13],[1,"\\n          "]],[]]]]],[1,"\\n\\n          "],[8,[30,8,["artdeco-modal-content"]],null,[["@classNames"],["org-life-media-feed-item__modal"]],[["default"],[[[[1,"\\n            "],[8,[32,15],null,[["@onShowMessage","@moduleName","@update","@isDashEnabled","@toggleReshareButtonSharebox","@isReshareButtonShareboxOpen","@onReportMenuSelection","@isUpdateDetailViewerOpen","@useUpdateDetailViewer","@addCommentUrnToReportedUrns","@reportedCommentUrns","@shouldSuppressTracking","@transitionFromUpdateDetailToMessageDrawer"],[[30,0,["onShowMessage"]],[28,[32,11],[[30,9],"_LIGHTBOX"],null],[30,3],[30,10],[30,0,["updateShareBoxState"]],[30,0,["showShareSemaphore"]],[30,0,["onReportMenuSelection"]],[30,0,["isMediaViewerOpen"]],true,[30,0,["addCommentUrnToReportedUrns"]],[30,11],[30,12],[30,0,["transitionFromUpdateDetailToMessageDrawer"]]]],null],[1,"\\n          "]],[]]]]],[1,"\\n        "]],[8]]]]],[1,"\\n"]],[]],null],[41,[30,0,["showSemaphore"]],[[[41,[30,10],[[[1,"          "],[8,[32,16],null,[["@authorUrn","@entityUrn","@parentUrn","@contentSource","@cancel","@success","@failure","@track"],[[30,3,["actor","entityUrn"]],[30,3,["entityUrn"]],[30,3,["entityUrn"]],"UGC_POST",[30,0,["onSemaphoreCancel"]],[30,0,["onSemaphoreSuccess"]],[30,0,["onSemaphoreFailure"]],[30,0,["trackSemaphore"]]]],null],[1,"\\n"]],[]],[[[1,"          "],[8,[32,16],null,[["@authorUrn","@entityUrn","@parentUrn","@contentSource","@cancel","@success","@failure","@track"],[[30,3,["actor","urn"]],[30,3,["updateMetadata","urn"]],[30,3,["entityUrn"]],"UGC_POST",[30,0,["onSemaphoreCancel"]],[30,0,["onSemaphoreSuccess"]],[30,0,["onSemaphoreFailure"]],[30,0,["trackSemaphore"]]]],null],[1,"\\n"]],[]]]],[]],null],[41,[30,0,["showShareSemaphore"]],[[[1,"        "],[8,[32,17],null,[["@updateV2","@onCloseShareboxModal","@isShareboxModalOpen","@shareOrigin"],[[30,3],[30,0,["onReshareCancel"]],true,"RESHARE"]],null],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "]],["&attrs","@isPartiallyHidden","@feedUpdate","@showDeletePostIcon","@onDeletePostClick","@columnPosition","@confirmDelete","modal","@moduleName","@isDashEnabled","@reportedCommentUrns","@shouldSuppressTracking"],false,["-get-dynamic-var","if","unless"]]',moduleName:"organization-life-shared/components/organization-media-feed-item.gjs",scope:()=>[g.default,h.default,I.get,b.default,f.default,y.default,_.default,T.default,v.default,O.on,k.default,I.concat,I.fn,E.default,P.default,S.default,A.default,C.default],isStrictMode:!0}),(N=(0,m.inject)("organization-custom-tracking@module-tracking"),j=(0,m.inject)("tracking"),w=(0,m.inject)("i18n"),x=class e extends p.default{constructor(){super(...arguments);(0,t.default)(this,"moduleTracking",D,this);(0,t.default)(this,"tracking",M,this);(0,t.default)(this,"i18n",R,this);(0,i.default)(this,"reportedCommentUrns",new l.TrackedArray);(0,t.default)(this,"isMediaViewerOpen",L,this);(0,t.default)(this,"showShareSemaphore",z,this);(0,t.default)(this,"showSemaphore",U,this);(0,t.default)(this,"isReshareButtonShareboxOpen",F,this)
this.trackingId=(0,s.generateTrackingId)()}get ariaLabel(){const{i18n:t}=this,i=(0,u.get)(this.args.feedUpdate,"commentary.text.text")
return t.lookupTranslation(e,"i18n_org_media_feed_item_view_post_author_text_a11y")([{author:(0,u.get)(this.args.feedUpdate,"actor.name.text"),postBeginningWords:i&&i.length>150?i.substring(0,150).concat("..."):i}])}get ariaHidden(){return this.args.isPartiallyHidden?"true":null}get tabIndex(){return this.args.isPartiallyHidden?"-1":"0"}get isMarkedForRemoval(){const e=this.args.removalList
return!!e&&e.includes((0,u.get)(this.args.feedUpdate,"entityUrn"))}get thumbnail(){var e,t,i,n,o
let r
if(this.args.isDashEnabled){var a,l,s,d
r=(null===(a=this.args.feedUpdate)||void 0===a||null===(l=a.content)||void 0===l?void 0:l.imageComponent)||(null===(s=this.args.feedUpdate)||void 0===s||null===(d=s.content)||void 0===d?void 0:d.linkedInVideoComponent)}else r=(0,u.get)(this.args.feedUpdate,"content")
const p=(0,c.classNameOf)(r)
if(!p)return null
switch(p){case B.DASH_IMAGE:return{image:null===(e=r)||void 0===e||null===(t=e.images)||void 0===t?void 0:t[0],showVideoIcon:!1,isLinkedInVideo:!1}
case B.DASH_LINKEDIN_VIDEO:return{image:null===(i=r)||void 0===i||null===(n=i.videoPlayMetadata)||void 0===n?void 0:n.thumbnail,showVideoIcon:!0,isLinkedInVideo:!0}
case B.DASH_EXTERNAL_VIDEO:return{image:null===(o=r)||void 0===o?void 0:o.thumbnail,showVideoIcon:!0,isLinkedInVideo:!1}
default:return null}}get imageWidth(){return this.args.thumbnailWidth||J.WIDTH}get imageHeight(){const e=this.imageWidth
return e===H.WIDTH?H.HEIGHT:e===V.WIDTH?V.HEIGHT:J.HEIGHT}get smallHover(){return this.imageWidth<200}get subItemUrns(){return[(0,u.get)(this.args.feedUpdate,"updateMetadata.urn")]}toggleReshareButtonSharebox(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null
this.isMediaViewerOpen&&(this.isMediaViewerOpen=!1)
this.isReshareButtonShareboxOpen=e||!this.isReshareButtonShareboxOpen}transitionFromUpdateDetailToMessageDrawer(){this.isMediaViewerOpen=!this.isMediaViewerOpen
if("undefined"==typeof FastBoot){const e=document.querySelector(".msg-connections-typeahead__search-field")
null==e||e.focus()}}addCommentUrnToReportedUrns(e){this.reportedCommentUrns.push(e)}onClick(e){this.args.removalList||e.target.hasAttribute("href")||!e.target.hasAttribute("class")||e.target.classList.contains("remove-media-button")||(this.isMediaViewerOpen=!0)}onCloseModalClick(){this.tracking.fireInteractionEvent("close")
this.isMediaViewerOpen=!1}onShowMessage(){this.isMediaViewerOpen=!1}updateShareBoxState(e){this.isMediaViewerOpen=!e
this.showShareSemaphore=e}onReshareCancel(){this.showShareSemaphore=!1
this.isMediaViewerOpen=!0}onReportMenuSelection(){this.isMediaViewerOpen=!1
this.showSemaphore=!0}onSemaphoreFailure(){this.showSemaphore=!1}onSemaphoreCancel(){this.tracking.fireInteractionEvent("org_feed_item_report_post_attempt_cancel")
this.showSemaphore=!1
this.isMediaViewerOpen=!0}onSemaphoreSuccess(){this.tracking.fireInteractionEvent("org_feed_item_report_post_success")
this.showSemaphore=!1}trackSemaphore(e){const t=e&&e.moduleKey
t&&this.tracking.fireInteractionEvent(t)}onRender(){return this.moduleTracking.organization&&this.args.isOrganizationPage?this.moduleTracking.getCustomViewObject(this.args.moduleName,this.trackingId):[]}onImpression(e){return this.moduleTracking.organization&&this.args.isOrganizationPage?this.moduleTracking.getCustomImpressionObject(this.args.moduleName,this.trackingId,e):[]}},D=(0,n.default)(x.prototype,"moduleTracking",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,n.default)(x.prototype,"tracking",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,n.default)(x.prototype,"i18n",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,n.default)(x.prototype,"isMediaViewerOpen",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),z=(0,n.default)(x.prototype,"showShareSemaphore",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),U=(0,n.default)(x.prototype,"showSemaphore",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),F=(0,n.default)(x.prototype,"isReshareButtonShareboxOpen",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(x.prototype,"toggleReshareButtonSharebox",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"toggleReshareButtonSharebox"),x.prototype),(0,n.default)(x.prototype,"transitionFromUpdateDetailToMessageDrawer",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"transitionFromUpdateDetailToMessageDrawer"),x.prototype),(0,n.default)(x.prototype,"addCommentUrnToReportedUrns",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"addCommentUrnToReportedUrns"),x.prototype),(0,n.default)(x.prototype,"onClick",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"onClick"),x.prototype),(0,n.default)(x.prototype,"onCloseModalClick",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"onCloseModalClick"),x.prototype),(0,n.default)(x.prototype,"onShowMessage",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"onShowMessage"),x.prototype),(0,n.default)(x.prototype,"updateShareBoxState",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"updateShareBoxState"),x.prototype),(0,n.default)(x.prototype,"onReshareCancel",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"onReshareCancel"),x.prototype),(0,n.default)(x.prototype,"onReportMenuSelection",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"onReportMenuSelection"),x.prototype),(0,n.default)(x.prototype,"onSemaphoreFailure",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"onSemaphoreFailure"),x.prototype),(0,n.default)(x.prototype,"onSemaphoreCancel",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"onSemaphoreCancel"),x.prototype),(0,n.default)(x.prototype,"onSemaphoreSuccess",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"onSemaphoreSuccess"),x.prototype),(0,n.default)(x.prototype,"trackSemaphore",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"trackSemaphore"),x.prototype),(0,n.default)(x.prototype,"onRender",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"onRender"),x.prototype),(0,n.default)(x.prototype,"onImpression",[u.action],Object.getOwnPropertyDescriptor(x.prototype,"onImpression"),x.prototype),x))}))
define("organization-life-shared/components/outlet-with-scaffold-yield",["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:"AdnzfqwU",block:'[[[18,1,null]],["&main"],false,["yield"]]',moduleName:"organization-life-shared/components/outlet-with-scaffold-yield.gjs",isStrictMode:!0}),(0,i.default)("outlet-with-scaffold-yield","OutletWithScaffoldYield"))
e.default=o}))
define("organization-life-shared/components/pulse-article-card",["exports","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/template-factory","@ember/component","@ember/object","@glimmer/component","ember-cli-pemberly-i18n/helpers/bidi-dir","ember-engines/components/link-to-external","global-helpers/helpers/decode-uri-component","@ember/modifier","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-line-clamp/components/line-clamp","ember-cli-pemberly-i18n/helpers/format-date","global-helpers/helpers/truncate-text","ember-cli-pemberly-i18n/helpers/t","@ember/helper","organization-addon/components/profile-card","image-view-model/components/image-view-model","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 _
e.default=(0,n.setComponentTemplate)((0,i.createTemplateFactory)({id:"ru3tYJRc",block:'[[[1,"\\n"],[1,"\\n    "],[11,0],[24,0,"org-life-pulse-article-card"],[17,1],[12],[1,"\\n      "],[10,0],[15,0,[29,["org-life-pulse-article-card__premium-image-container\\n          ",[52,[51,[30,2,["coverMedia","originalImage"]]],"org-life-pulse-article-card__premium-image-container--no-image"]]]],[12],[1,"\\n"],[41,[30,2,["coverMedia","originalImage"]],[[[1,"          "],[8,[32,0],null,[["@class","@images","@imgHeight","@imgWidth","@ghostType"],["org-life-pulse-article-card__premium-image",[30,2,["coverMedia","originalImage"]],112,400,"content"]],null],[1,"\\n"]],[]],[[[1,"          "],[10,"i"],[14,0,"org-life-pulse-article-card__no-article-picture"],[12],[13],[1,"\\n"]],[]]],[1,"      "],[13],[1,"\\n      "],[10,0],[14,0,"pv4 ph5 display-flex flex-column flex-grow-1"],[12],[1,"\\n        "],[10,0],[14,0,"org-article-card"],[12],[1,"\\n"],[41,[30,2,["title"]],[[[1,"            "],[10,"h3"],[14,0,"article-headline t-16 t-black--light t-bold mb0"],[15,"dir",[28,[32,1],[[30,2,["title"]]],null]],[12],[1,"\\n"],[41,[30,2,["permalink"]],[[[1,"                "],[8,[32,2],[[16,"data-view-name",[30,3]],[4,[32,4],["click",[30,0,["handleArticleLinkClick"]]],null],[4,[32,5],[[30,0,["_articleLinkControlName"]]],null],[4,[32,6],null,[["view","viewName","actionCategory","genericTrackingLixKey","routeName","currentRoute"],[[30,0],[30,3],"ARTICLE_LINK","voyager.web.employer-brand-tracking3-part-1",[28,[32,7],[[53,"outletState"],"render.name"],null],[28,[32,7],[[53,"outletState"],"render"],null]]]]],[["@route","@model"],["article-reader.index",[28,[32,3],[[30,2,["permalink"]]],null]]],[["default"],[[[[1,"\\n"],[41,[30,2,["title"]],[[[1,"                    "],[1,[30,2,["title"]]],[1,"\\n"]],[]],null],[1,"                "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,2,["title"]],[[[1,"                "],[8,[32,8],null,[["@text","@lines","@showMoreButton","@interactive"],[[30,2,["title"]],2,false,false]],null],[1,"\\n              "]],[]],null]],[]]],[1,"            "],[13],[1,"\\n"]],[]],null],[1,"\\n          "],[10,2],[14,0,"article-pub-date-and-views t-14 t-black--light t-normal"],[12],[1,"\\n"],[41,[30,2,["publishedAt"]],[[[1,"              "],[10,1],[14,0,"article-pub-date"],[12],[1,"\\n                "],[1,[28,[32,9],[[30,2,["publishedAt"]]],[["format"],["fmt_mdy_long"]]]],[1,"\\n              "],[13],[1,"\\n"]],[]],null],[1,"          "],[13],[1,"\\n\\n"],[41,[30,2,["contentDescription"]],[[[1,"            "],[10,2],[14,0,"org-article-card__body t-14 t-black--light t-normal"],[15,"dir",[28,[32,1],[[30,2,["contentDescription"]]],null]],[12],[1,"\\n              "],[1,[28,[32,10],[[30,2,["contentDescription"]]],[["length"],[140]]]],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["permalink"]],[[[1,"            "],[10,2],[12],[1,"\\n              "],[8,[32,2],[[16,"data-view-name",[30,4]],[4,[32,4],["click",[30,0,["handleArticleSeeMoreLinkClick"]]],null],[4,[32,5],[[30,0,["_articleSeeMoreLinkControlName"]]],null],[4,[32,6],null,[["view","viewName","actionCategory","genericTrackingLixKey","routeName","currentRoute"],[[30,0],[30,4],"SEE_MORE_LINK","voyager.web.employer-brand-tracking3-part-1",[28,[32,7],[[53,"outletState"],"render.name"],null],[28,[32,7],[[53,"outletState"],"render"],null]]]]],[["@route","@model","@class"],["article-reader.index",[28,[32,3],[[30,2,["permalink"]]],null],"article-cta-see-more-link t-14 t-black--light t-normal"]],[["default"],[[[[1,"\\n                "],[10,1],[14,"aria-hidden","true"],[12],[1,"\\n                  "],[1,[28,[32,11],["i18n_organization_see_more_pulse_article_v2","organization-life-shared/components/pulse-article-card"],null]],[1,"\\n                "],[13],[1,"\\n                "],[10,1],[14,0,"visually-hidden"],[12],[1,"\\n                  "],[1,[28,[32,11],["i18n_organization_see_more_pulse_article_v2_a11y","organization-life-shared/components/pulse-article-card"],[["articleName"],[[30,2,["title"]]]]]],[1,"\\n                "],[13],[1,"\\n              "]],[]]]]],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[1,"        "],[13],[1,"\\n"],[41,[28,[32,7],[[30,2,["authorsResolutionResults"]],"0"],null],[[[1,"          "],[8,[32,12],[[24,0,"org-life-pulse-article-card__profile-card mtA pt4"]],[["@profile","@shouldLeftAlign","@shouldDisplayInline","@companyUrn","@showBadge","@style"],[[28,[32,7],[[30,2,["authorsResolutionResults"]],"0.profileUrn"],null],true,true,[30,5],false,"x-small"]],null],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n    "],[13],[1,"\\n  "]],["&attrs","@article","@trackingArticleLinkName","@trackingArticleSeeMoreName","@companyUrn"],false,["unless","if","-get-dynamic-var"]]',moduleName:"organization-life-shared/components/pulse-article-card.gjs",scope:()=>[f.default,a.default,l.default,s.default,c.on,u.default,y.default,h.get,d.default,p.default,m.default,g.default,b.default],isStrictMode:!0}),(_=class extends r.default{get _articleLinkControlName(){return this.args.articleLinkControlName||"article_link"}get _articleSeeMoreLinkControlName(){return this.args.articleSeeMoreLinkControlName||"article_see_more"}get contentTrackingId(){return this.args.trackingId}handleArticleLinkClick(){var e,t
null===(e=(t=this.args).onArticleLinkClick)||void 0===e||e.call(t)}handleArticleSeeMoreLinkClick(){var e,t
null===(e=(t=this.args).onArticleSeeMoreLinkClick)||void 0===e||e.call(t)}},(0,t.default)(_.prototype,"handleArticleLinkClick",[o.action],Object.getOwnPropertyDescriptor(_.prototype,"handleArticleLinkClick"),_.prototype),(0,t.default)(_.prototype,"handleArticleSeeMoreLinkClick",[o.action],Object.getOwnPropertyDescriptor(_.prototype,"handleArticleSeeMoreLinkClick"),_.prototype),_))}))
define("organization-life-shared/components/target-selection-tabs-v2",["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","global-utils/utils/is-browser","ember-lifeline","tracked-toolbox","global-helpers/helpers/sub","@glimmer/component","@ember/debug","@glimmer/tracking","@ember/object","ember-cli-pemberly-tracking/utils/tracking","@ember/render-modifiers/modifiers/did-insert","ember-cli-pemberly-i18n/helpers/t","artdeco-button/components/artdeco-button","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-tracking/modifiers/track-render","ember-cli-pemberly-tracking/modifiers/track-impression","@ember/helper","global-helpers/helpers/eq","@ember/modifier","@ember/routing","@ember/service","ember-cli-pemberly-tracking/modifiers/track-view","global-helpers/helpers/get-class-hash"],(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,P,S,A){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var C,N,j,w,x,D,M,R,L,z,U
const F="COMPANY_LIFE_DISCOVER_COMPANY_CAROUSEL"
let B=(C=class{constructor(){(0,n.default)(this,"next",N,this);(0,n.default)(this,"prev",j,this);(0,n.default)(this,"visibleIndexes",w,this)}update(e){let{next:t,prev:i,indexes:n=[]}=e
this.next=t
this.prev=i
this.visibleIndexes=n
return this}},N=(0,r.default)(C.prototype,"next",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),j=(0,r.default)(C.prototype,"prev",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),w=(0,r.default)(C.prototype,"visibleIndexes",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),C)
e.default=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"rmPPTn+/",block:'[[[1,"\\n"],[1,"    "],[11,0],[16,0,[29,["org-life-target-selection-tabs-v2\\n        ",[52,[30,0,["showPillNavigation"]],"pb3"]]]],[17,1],[4,[32,0],[[30,0,["didInsert"]]],null],[4,[32,1],null,[["onRender","routeName","currentRoute"],[[30,0,["onRender"]],[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[4,[32,3],[[30,0,["onImpression"]]],[["routeName","currentRoute"],[[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n      "],[10,0],[15,0,[29,["display-flex justify-space-between pt5 pl5 pr5\\n          ",[28,[32,4],["pb4"],null]]]],[12],[1,"\\n        "],[10,"h3"],[15,0,[29,[[28,[32,4],["text-heading-xlarge"],null]]]],[14,1,"target-selection-tabs-title"],[12],[1,"\\n"],[41,[28,[32,5],[[30,0,["lifePagesNavItems","length"]],1],null],[[[1,"            "],[1,[28,[32,2],[[30,0,["lifePagesNavItems"]],"0.name"],null]],[1,"\\n"]],[]],[[[1,"            "],[1,[28,[32,6],["i18n_title","organization-life-shared/components/target-selection-tabs-v2"],[["companyName"],[[30,2]]]]],[1,"\\n"]],[]]],[1,"        "],[13],[1,"\\n\\n"],[41,[30,0,["showNavigationButtons"]],[[[1,"          "],[10,0],[14,0,"org-life-target-selection-tabs-v2__navigation"],[12],[1,"\\n            "],[8,[32,7],[[24,0,"mr2"],[24,"data-view-name","org-member-life-page-navigation-left"],[4,[32,8],["click",[28,[32,9],[[30,0,["scrollClick"]],"LEFT"],null]],null],[4,[32,10],["life_page_nav_prev"],null],[4,[32,11],null,[["view","viewName","actionCategory","genericTrackingLixKey","routeName","currentRoute"],[[30,0],"org-member-life-page-navigation-left","NAV_LEFT","voyager.web.employer-brand-tracking3-part-1",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]]],[["@type","@circle","@color","@icon","@size","@text","@disabled"],["secondary",true,"muted","chevron-left","1",[28,[32,6],["i18n_prev","organization-life-shared/components/target-selection-tabs-v2"],[["companyName"],[[30,2]]]],[28,[32,5],[[30,0,["scrollSteps","prev"]],0],null]]],null],[1,"\\n            "],[8,[32,7],[[24,"data-view-name","org-member-life-page-navigation-right"],[4,[32,8],["click",[28,[32,9],[[30,0,["scrollClick"]],"RIGHT"],null]],null],[4,[32,10],["life_page_nav_next"],null],[4,[32,11],null,[["view","viewName","actionCategory","genericTrackingLixKey","routeName","currentRoute"],[[30,0],"org-member-life-page-navigation-right","NAV_RIGHT","voyager.web.employer-brand-tracking3-part-1",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]]],[["@type","@circle","@color","@icon","@size","@text","@disabled"],["secondary",true,"muted","chevron-right","1",[28,[32,6],["i18n_next","organization-life-shared/components/target-selection-tabs-v2"],[["companyName"],[[30,2]]]],[28,[32,5],[[30,0,["scrollSteps","next"]],0],null]]],null],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n"],[41,[30,0,["showPillNavigation"]],[[[1,"        "],[10,0],[15,0,[29,["org-life-target-selection-tabs-v2__container\\n            ",[52,[30,0,["enabledScrollAnimation"]],"org-life-target-selection-tabs-v2__container--enable-scroll-animation"]]]],[14,"data-tab-selection__container",""],[12],[1,"\\n\\n          "],[11,"ul"],[24,0,"display-flex list-style-none pl5 pr5 pb1 pt1"],[24,"data-tab-selection__ul",""],[24,"role","tablist"],[24,"aria-labelledby","target-selection-tabs-title"],[4,[32,8],["focusout",[30,0,["onFocusOut"]]],null],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["lifePagesNavItems"]]],null]],null],null,[[[1,"              "],[10,"li"],[14,"role","none"],[12],[1,"\\n                "],[8,[32,12],[[24,"role","tab"],[16,0,[29,["artdeco-pill artdeco-pill--slate artdeco-pill--choice artdeco-pill--3 artdeco-pill--toggle white-space-nowrap\\n                    ",[30,4],"\\n                    ",[52,[28,[32,5],[[30,4],[28,[32,13],[[30,0,["lifePagesNavItems","length"]],1],null]],null],"mr5","mr2"],"\\n                    ",[52,[30,3,["isSelected"]],"artdeco-pill--selected org-life-target-selection-tabs-v2__selected-pill","artdeco-pill--link"]]]],[16,"aria-current",[52,[30,3,["isSelected"]],"true","false"]],[16,"data-tab-selection__selected-pill",[29,[[30,3,["isSelected"]]]]],[16,1,[29,["life-page-target-selection-",[30,3,["index"]]]]],[16,"tabindex",[52,[28,[32,5],[[30,4],[30,0,["focusableTabIndex"]]],null],"0","-1"]],[24,"data-view-name","org-member-life-page-navigation-page"],[4,[32,8],["click",[28,[32,9],[[30,0,["onPillClick"]],[30,4]],null]],null],[4,[32,8],["keyup",[30,0,["onKeyUp"]]],null],[4,[32,10],["life_page_nav_select"],null],[4,[32,11],null,[["view","viewName","actionCategory","genericTrackingLixKey","routeName","currentRoute"],[[30,0],"org-member-life-page-navigation-page","SELECT_PAGE","voyager.web.employer-brand-tracking3-part-1",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]]],[["@route","@model"],["life",[30,3,["vanityName"]]]],[["default"],[[[[1,"\\n                  "],[1,[30,3,["name"]]],[1,"\\n                "]],[]]]]],[1,"\\n              "],[13],[1,"\\n"]],[3,4]],null],[1,"          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "]],["&attrs","@companyName","lifePage","index"],false,["if","-get-dynamic-var","each","-track-array"]]',moduleName:"organization-life-shared/components/target-selection-tabs-v2.gjs",scope:()=>[b.default,T.default,O.get,v.default,A.default,k.default,f.default,y.default,I.on,O.fn,_.default,S.default,E.LinkTo,u.default],isStrictMode:!0}),(x=(0,P.inject)("organization-custom-tracking@module-tracking"),D=(0,c.localCopy)((e=>e._getIndexOfSelectedTab())),M=class extends d.default{constructor(){super(...arguments);(0,n.default)(this,"moduleTracking",R,this);(0,o.default)(this,"trackingId",(0,h.generateTrackingId)());(0,n.default)(this,"listEl",L,this);(0,o.default)(this,"childOffsets",void 0);(0,n.default)(this,"focusableTabIndex",z,this);(0,n.default)(this,"enabledScrollAnimation",U,this);(0,o.default)(this,"scrollSteps",new B)}get showPillNavigation(){return this.lifePagesNavItems.length>1}get showNavigationButtons(){return!!this.listEl&&this.listEl.scrollWidth>this.listEl.clientWidth}setScrollSteps(){if(!this.listEl||!this.containerEl||!this.childOffsets)return this.scrollSteps.update({next:0,prev:0})
const e=this.containerEl.scrollLeft,t=this.listEl.clientWidth,i=this.childOffsets.findLastIndex((i=>i.start+i.width<e+t+16)),n=this.childOffsets.findIndex((t=>t.start>e))
let o,r
o=i!==this.childOffsets.length-1?this.childOffsets[i+1].start-e-16:0
if(n-1<0)r=0
else{const i=8
r=e-this.childOffsets[n-1].start+t-this.childOffsets[n-1].width-i}return this.scrollSteps.update({next:o,prev:r,indexes:[n,i]})}scrollTabIntoView(e){if(this.showNavigationButtons&&e&&l.default){const t=document.getElementById(`life-page-target-selection-${e}`)
this.containerEl.scrollLeft=t.offsetLeft-t.scrollWidth/2}}get lifePagesNavItems(){const{currentVanityName:e}=this.args
return(this.args.visibleTargetedContents||[]).map(((t,i)=>{const{vanityName:n,name:o}=t
return{vanityName:n,name:o,isSelected:n===e,index:i}}))}get contentTrackingId(){return this.args.trackingId}onImpression(e){const{trackingId:t}=this
return this.moduleTracking.getCustomImpressionObject(F,t,e)}onRender(){const{trackingId:e}=this
return this.moduleTracking.getCustomViewObject(F,e)}didInsert(){if(this.showPillNavigation){this.containerEl=document.querySelector("[data-tab-selection__container]")
this.listEl=document.querySelector("[data-tab-selection__ul]")
this.childOffsets=this._getChildOffsets()
this.scrollTabIntoView(this._getIndexOfSelectedTab())
this.enabledScrollAnimation=!0
this.setScrollSteps()
this.containerEl.addEventListener("scroll",(()=>(0,s.debounceTask)(this,"setScrollSteps",void 0,10)))
this.args.transitionWithinLife&&(0,s.runTask)(this,(()=>{var e
null===(e=[...document.querySelectorAll("[data-tab-selection__selected-pill]")].find((e=>e.tabIndex>=0)))||void 0===e||e.focus()}))}}onKeyUp(e){const t={ArrowRight:1,ArrowLeft:-1}
if(Object.keys(t).includes(e.key)){const i=this.focusableTabIndex+Number(t[e.key])
i<0?this.focusableTabIndex=this.lifePagesNavItems.length-1:i>this.lifePagesNavItems.length-1?this.focusableTabIndex=0:this.focusableTabIndex=i;(0,s.runTask)(this,(()=>{var e
null===(e=[...document.querySelectorAll("[data-tab-selection__selected-pill]")].find((e=>e.tabIndex>=0)))||void 0===e||e.focus()}))}}onFocusOut(){(0,s.runTask)(this,(()=>{!this.listEl.contains(document.activeElement)&&(this.focusableTabIndex=this._getIndexOfSelectedTab())}),10)}onPillClick(e){if(!this.scrollSteps.visibleIndexes.length)return
this.scrollSteps.visibleIndexes[0]<=e&&e<=this.scrollSteps.visibleIndexes[1]||this.scrollTabIntoView(e)}scrollClick(e){"RIGHT"===e?this.containerEl.scrollLeft+=this.scrollSteps.next:this.containerEl.scrollLeft-=this.scrollSteps.prev}_getIndexOfSelectedTab(){return this.lifePagesNavItems.findIndex((e=>e.isSelected))}_getChildOffsets(){return[...this.listEl.children].map((e=>({start:e.offsetLeft,width:e.clientWidth})))}},R=(0,r.default)(M.prototype,"moduleTracking",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,r.default)(M.prototype,"listEl",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,r.default)(M.prototype,"focusableTabIndex",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,r.default)(M.prototype,"enabledScrollAnimation",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,r.default)(M.prototype,"onImpression",[g.action],Object.getOwnPropertyDescriptor(M.prototype,"onImpression"),M.prototype),(0,r.default)(M.prototype,"onRender",[g.action],Object.getOwnPropertyDescriptor(M.prototype,"onRender"),M.prototype),(0,r.default)(M.prototype,"didInsert",[g.action],Object.getOwnPropertyDescriptor(M.prototype,"didInsert"),M.prototype),(0,r.default)(M.prototype,"onKeyUp",[g.action],Object.getOwnPropertyDescriptor(M.prototype,"onKeyUp"),M.prototype),(0,r.default)(M.prototype,"onFocusOut",[g.action],Object.getOwnPropertyDescriptor(M.prototype,"onFocusOut"),M.prototype),(0,r.default)(M.prototype,"onPillClick",[g.action],Object.getOwnPropertyDescriptor(M.prototype,"onPillClick"),M.prototype),(0,r.default)(M.prototype,"scrollClick",[g.action],Object.getOwnPropertyDescriptor(M.prototype,"scrollClick"),M.prototype),M))}))
define("organization-life-shared/components/testimonials-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/object","ember-cli-pemberly-tracking/utils/tracking","@ember/service","@glimmer/component","ember-cli-pemberly-tracking/modifiers/track-render","ember-cli-pemberly-tracking/modifiers/track-impression","talent-brand-shared/components/section-heading","ember-cli-pemberly-tracking/modifiers/track-view"],(function(e,t,i,n,o,r,a,l,s,c,u,d,p,m,g,h){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var b,f,y
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"q1njNeT0",block:'[[[1,"\\n"],[1,"\\n    "],[11,"section"],[24,0,"org-life-module"],[17,1],[24,"data-view-name","org-member-life-page-employee-testimonials"],[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],"org-member-life-page-employee-testimonials","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,["hasBorder"]],[[[1,"        "],[10,"hr"],[14,0,"artdeco-divider mb4"],[12],[13],[1,"\\n"]],[]],null],[1,"      "],[8,[32,4],null,[["@class","@title"],["org-life-testimonials-module__header module-header mt0",[30,2]]],null],[1,"\\n      "],[10,"ul"],[14,0,"org-life-testimonials-module__testimonials list-style-none"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["testimonials"]]],null]],null],null,[[[41,[30,3,["testimonialText"]],[[[1,"            "],[10,"li"],[14,0,"org-life-testimonials-module__testimonial relative"],[12],[1,"\\n              "],[18,4,[[30,3]]],[1,"\\n              "],[10,2],[14,0,"org-life-testimonials-module__text"],[12],[1,"\\n                "],[10,1],[14,0,"white-space-pre-wrap"],[12],[1,[30,3,["testimonialText"]]],[13],[1,"\\n"],[41,[30,3,["testimonial","clientTestimonialSection","clientTitle"]],[[[1,"                  "],[10,1],[14,0,"org-life-testimonials-module__source mt1"],[12],[1,"\\n                    "],[1,[30,3,["testimonial","clientTestimonialSection","clientTitle"]]],[1,"\\n                  "],[13],[1,"\\n"]],[]],null],[1,"              "],[13],[1,"\\n            "],[13],[1,"\\n"]],[]],null]],[3]],null],[1,"      "],[13],[1,"\\n"],[41,[30,0,["hasBorder"]],[[[1,"        "],[10,"hr"],[14,0,"artdeco-divider mb4"],[12],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "]],["&attrs","@title","testimonial","&default"],false,["-get-dynamic-var","if","each","-track-array","yield"]]',moduleName:"organization-life-shared/components/testimonials-module.gjs",scope:()=>[p.default,a.get,m.default,h.default,g.default],isStrictMode:!0}),(b=(0,u.inject)("organization-custom-tracking@module-tracking"),f=class extends d.default{constructor(){super(...arguments);(0,t.default)(this,"moduleTracking",y,this);(0,i.default)(this,"trackingId",(0,c.generateTrackingId)())}get moduleName(){return this.args.moduleTrackingName||"COMPANY_LIFE_CANDIDATE_TESTIMONIALS"}get testimonials(){return this.args.testimonials.slice(0,2)}get contentTrackingId(){return this.args.trackingId}onRender(){const{trackingId:e,moduleName:t}=this
return this.moduleTracking.organization?this.moduleTracking.getCustomViewObject(t,e):[]}onImpression(e){const{trackingId:t,moduleName:i}=this
return this.moduleTracking.organization?this.moduleTracking.getCustomImpressionObject(i,t,e):[]}},y=(0,n.default)(f.prototype,"moduleTracking",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(f.prototype,"onRender",[s.action],Object.getOwnPropertyDescriptor(f.prototype,"onRender"),f.prototype),(0,n.default)(f.prototype,"onImpression",[s.action],Object.getOwnPropertyDescriptor(f.prototype,"onImpression"),f.prototype),f))}))
define("organization-life-shared/components/trending-employee-content/header",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","ember-cli-pemberly-i18n/helpers/t","global-helpers/helpers/get-class-hash"],(function(e,t,i,n,o,r){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const a=(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"bUB+poSJ",block:'[[[1,"\\n"],[1,"\\n  "],[11,0],[17,1],[12],[1,"\\n    "],[10,"h4"],[15,0,[29,[[28,[32,0],["text-heading-xlarge"],null]]]],[12],[1,[28,[32,1],["i18n_header","organization-life-shared/components/trending-employee-content/header"],null]],[13],[1,"\\n    "],[10,1],[14,0,"t-14 t-black--light t-normal"],[12],[1,"\\n      "],[1,[28,[32,1],["i18n_subheader","organization-life-shared/components/trending-employee-content/header"],[["organizationName"],[[30,2]]]]],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],["&attrs","@organizationName"],false,[]]',moduleName:"organization-life-shared/components/trending-employee-content/header.gjs",scope:()=>[r.default,o.default],isStrictMode:!0}),(0,i.default)("header","Header"))
e.default=a}))
define("organization-life-shared/components/trending-employee-content/module",["exports","@ember/template-factory","@ember/component","@glimmer/component","feed-shared/components/update/generic-update","organization-life-shared/components/trending-employee-content/header"],(function(e,t,i,n,o,r){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class a extends n.default{get items(){var e
return null!==(e=this.args.posts.elements)&&void 0!==e&&e[0]?{updatePosition:1,metadata:{urn:this.args.posts.elements[0].metadata.backendUrn,trackingData:{trackingId:this.args.posts.elements[0].metadata.trackingData.trackingId}},carouselContent:{navigationPosition:"HEADER",type:"MIXED_UPDATES",i