define.alias("@glimmer/component/-private/ember-component-manager","feed-detail/component-managers/glimmer")
define("feed-detail/components/-dynamic-element-alt",["exports","@glimmer/component"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class i extends t.default{}e.default=i}))
define("feed-detail/components/-dynamic-element",["exports","@glimmer/component"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class i extends t.default{}e.default=i}))
define.alias("artdeco-button/components/artdeco-button","feed-detail/components/artdeco-button")
define.alias("artdeco-datepicker/components/artdeco-calendar","feed-detail/components/artdeco-calendar")
define.alias("artdeco-card/components/artdeco-card-image","feed-detail/components/artdeco-card-image")
define.alias("artdeco-card/components/artdeco-card","feed-detail/components/artdeco-card")
define.alias("artdeco-carousel/components/artdeco-carousel-item","feed-detail/components/artdeco-carousel-item")
define.alias("artdeco-carousel/components/artdeco-carousel-slider","feed-detail/components/artdeco-carousel-slider")
define.alias("artdeco-carousel/components/artdeco-carousel-title","feed-detail/components/artdeco-carousel-title")
define.alias("artdeco-carousel/components/artdeco-carousel","feed-detail/components/artdeco-carousel")
define.alias("artdeco-modal/components/artdeco-confirmation-dialog","feed-detail/components/artdeco-confirmation-dialog")
define.alias("artdeco-datepicker/components/artdeco-datepicker-embedded-cal","feed-detail/components/artdeco-datepicker-embedded-cal")
define.alias("artdeco-datepicker/components/artdeco-datepicker","feed-detail/components/artdeco-datepicker")
define.alias("artdeco-datepicker/components/artdeco-daterange-embedded-cal","feed-detail/components/artdeco-daterange-embedded-cal")
define.alias("artdeco-datepicker/components/artdeco-daterange","feed-detail/components/artdeco-daterange")
define.alias("artdeco-dropdown/components/artdeco-dropdown-content","feed-detail/components/artdeco-dropdown-content")
define.alias("artdeco-dropdown/components/artdeco-dropdown-header","feed-detail/components/artdeco-dropdown-header")
define.alias("artdeco-dropdown/components/artdeco-dropdown-item","feed-detail/components/artdeco-dropdown-item")
define.alias("artdeco-dropdown/components/artdeco-dropdown-trigger","feed-detail/components/artdeco-dropdown-trigger")
define.alias("artdeco-dropdown/components/artdeco-dropdown","feed-detail/components/artdeco-dropdown")
define.alias("artdeco-empty-state/components/artdeco-empty-state","feed-detail/components/artdeco-empty-state")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-badge","feed-detail/components/artdeco-entity-lockup-badge")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-caption","feed-detail/components/artdeco-entity-lockup-caption")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-content","feed-detail/components/artdeco-entity-lockup-content")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-image","feed-detail/components/artdeco-entity-lockup-image")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-metadata","feed-detail/components/artdeco-entity-lockup-metadata")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-subtitle","feed-detail/components/artdeco-entity-lockup-subtitle")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-title","feed-detail/components/artdeco-entity-lockup-title")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup","feed-detail/components/artdeco-entity-lockup")
define.alias("artdeco-hoverables/components/artdeco-hoverable-content","feed-detail/components/artdeco-hoverable-content")
define.alias("artdeco-hoverables/components/artdeco-hoverable-trigger","feed-detail/components/artdeco-hoverable-trigger")
define.alias("artdeco-inline-feedback/components/artdeco-inline-feedback","feed-detail/components/artdeco-inline-feedback")
define.alias("artdeco-loader/components/artdeco-loader","feed-detail/components/artdeco-loader")
define.alias("artdeco-modal/components/container","feed-detail/components/artdeco-modal-container")
define.alias("artdeco-modal/components/artdeco-modal-content","feed-detail/components/artdeco-modal-content")
define.alias("artdeco-modal/components/artdeco-modal-footer","feed-detail/components/artdeco-modal-footer")
define.alias("artdeco-modal/components/artdeco-modal-header","feed-detail/components/artdeco-modal-header")
define.alias("artdeco-modal/components/artdeco-modal","feed-detail/components/artdeco-modal")
define.alias("artdeco-notification-badge/components/artdeco-notification-badge","feed-detail/components/artdeco-notification-badge")
define.alias("artdeco-pagination/components/artdeco-pagination-ellipsis","feed-detail/components/artdeco-pagination-ellipsis")
define.alias("artdeco-pagination/components/artdeco-pagination-indicator","feed-detail/components/artdeco-pagination-indicator")
define.alias("artdeco-pagination/components/artdeco-pagination","feed-detail/components/artdeco-pagination")
define.alias("artdeco-pill/components/artdeco-pill-choice-group","feed-detail/components/artdeco-pill-choice-group")
define.alias("artdeco-pill/components/artdeco-pill-choice","feed-detail/components/artdeco-pill-choice")
define.alias("artdeco-pill/components/artdeco-pill-dismiss","feed-detail/components/artdeco-pill-dismiss")
define.alias("artdeco-pill/components/artdeco-pill-input","feed-detail/components/artdeco-pill-input")
define.alias("artdeco-pill/components/artdeco-pill-link","feed-detail/components/artdeco-pill-link")
define.alias("artdeco-pill/components/artdeco-pill-toggle","feed-detail/components/artdeco-pill-toggle")
define.alias("artdeco-slider/components/artdeco-slider","feed-detail/components/artdeco-slider")
define.alias("ember-cli-artdeco-tabs/components/artdeco-spotlight-tab","feed-detail/components/artdeco-spotlight-tab")
define.alias("ember-cli-artdeco-tabs/components/artdeco-spotlight-tablist","feed-detail/components/artdeco-spotlight-tablist")
define.alias("ember-cli-artdeco-tabs/components/artdeco-tab","feed-detail/components/artdeco-tab")
define.alias("ember-cli-artdeco-tabs/components/artdeco-tablist","feed-detail/components/artdeco-tablist")
define.alias("ember-cli-artdeco-tabs/components/artdeco-tabpanel","feed-detail/components/artdeco-tabpanel")
define.alias("ember-cli-artdeco-tabs/components/artdeco-tabs","feed-detail/components/artdeco-tabs")
define.alias("artdeco-text-input/components/artdeco-text-input-multi","feed-detail/components/artdeco-text-input-multi")
define.alias("artdeco-text-input/components/artdeco-text-input-single","feed-detail/components/artdeco-text-input-single")
define.alias("artdeco-text-input/components/artdeco-text-input","feed-detail/components/artdeco-text-input")
define.alias("artdeco-toast/components/artdeco-toast-item","feed-detail/components/artdeco-toast-item")
define.alias("artdeco-toast/components/artdeco-toasts","feed-detail/components/artdeco-toasts")
define.alias("artdeco-toggle/components/artdeco-toggle","feed-detail/components/artdeco-toggle")
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-input","feed-detail/components/artdeco-typeahead-input")
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-result","feed-detail/components/artdeco-typeahead-result")
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-results-list","feed-detail/components/artdeco-typeahead-results-list")
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead","feed-detail/components/artdeco-typeahead")
define.alias("ember-semaphore/components/block-profile","feed-detail/components/block-profile")
define.alias("ember-semaphore/components/cleared-content-modal-v2","feed-detail/components/cleared-content-modal-v2")
define.alias("ember-semaphore/components/cleared-content-modal","feed-detail/components/cleared-content-modal")
define.alias("ember-vector-images/components/custom-image","feed-detail/components/custom-image")
define.alias("ember-semaphore/components/ember-semaphore","feed-detail/components/ember-semaphore")
define.alias("ember-wormhole/components/ember-wormhole","feed-detail/components/ember-wormhole")
define.alias("ember-finite-scroll/components/finite-scroll","feed-detail/components/finite-scroll")
define.alias("ember-highcharts/components/high-charts","feed-detail/components/high-charts")
define.alias("ember-finite-scroll/components/item-container","feed-detail/components/item-container")
define.alias("ember-vector-images/components/lazy-background","feed-detail/components/lazy-background")
define.alias("ember-vector-images/components/lazy-image","feed-detail/components/lazy-image")
define.alias("ember-line-clamp/components/line-clamp","feed-detail/components/line-clamp")
define.alias("artdeco-icons-web/components/linkedin-logo","feed-detail/components/linkedin-logo")
define.alias("ember-media-player/components/media-player","feed-detail/components/media-player")
define("feed-detail/components/organization-insight",["exports","@ember/template-factory","@ember/helper","@ember/component/template-only","@ember/component","app-aware-link/components/app-aware-link","ember-cli-pemberly-tracking/modifiers/track-interaction","global-helpers/helpers/gt","image-view-model/components/image-view-model","text-view-model/components/text-view-model-v2"],(function(e,t,i,a,o,n,r,l,s,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const c=(0,o.setComponentTemplate)((0,t.createTemplateFactory)({id:"ZWWc1JP6",block:'[[[1,"\\n"],[41,[30,1,["navigationUrl"]],[[[1," "],[8,[32,0],[[24,0,"display-flex align-items-center t-black--light link-without-visited-state"],[17,2],[4,[32,1],["page_insight_link"],null]],[["@href"],[[30,1,["navigationUrl"]]]],[["default"],[[[[1,"\\n"],[41,[30,1,["insightImage"]],[[[1," "],[8,[32,2],[[24,0,"feed-detail-organization-insight__image"]],[["@entitySize","@images","@isStackedLayout"],[1,[30,1,["insightImage"]],[28,[32,3],[[30,1,["insightImage","attributes","length"]],1],null]]],null],[1,"\\n"]],[]],null],[1," "],[10,1],[14,0,"feed-detail-organization-insight__text text-body-xsmall-bold"],[12],[1,"\\n "],[8,[32,4],null,[["@tvm"],[[30,1,["text"]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,1],[[[1," "],[11,0],[24,0,"display-flex align-items-center"],[17,2],[12],[1,"\\n"],[41,[30,1,["insightImage"]],[[[1," "],[8,[32,2],[[24,0,"feed-detail-organization-insight__image"]],[["@entitySize","@images","@isStackedLayout"],[1,[30,1,["insightImage"]],[28,[32,3],[[30,1,["insightImage","attributes","length"]],1],null]]],null],[1,"\\n"]],[]],null],[1," "],[10,1],[14,0,"feed-detail-organization-insight__text text-body-xsmall t-black--light"],[12],[1,"\\n "],[8,[32,4],null,[["@tvm"],[[30,1,["text"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]]],["@insight","&attrs"],false,["if"]]',moduleName:"feed-detail/components/organization-insight.gjs",scope:()=>[n.default,r.default,s.default,l.default,d.default],isStrictMode:!0}),(0,a.default)("organization-insight","OrganizationInsight"))
e.default=c}))
define.alias("ember-self-focused/components/self-focused","feed-detail/components/self-focused")
define.alias("ember-finite-scroll/components/sentinel","feed-detail/components/sentinel")
define("feed-detail/components/similar-pages-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","@glimmer/tracking","@glimmer/component","feed-requests/update-actions","@ember/object","@ember/service","@ember/destroyable","ember-cli-pemberly-i18n/helpers/t","artdeco-entity-lockup/components/artdeco-entity-lockup","ember-engines/components/link-to-external","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-vector-images/components/lazy-image","dash-interop-helper/helpers/get-graphql-value-with-dash-fallback","feed-detail/components/organization-insight","follows/components/follow-button","@ember/helper","artdeco-button/components/artdeco-button","@ember/modifier"],(function(e,t,i,a,o,n,r,l,s,d,c,u,m,p,f,h,g,b,y,v,w,_,E,k){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var S,D,T,A
e.default=(0,r.setComponentTemplate)((0,n.createTemplateFactory)({id:"r5263iI5",block:'[[[1,"\\n"],[1," "],[11,"section"],[24,0,"artdeco-card p0"],[17,1],[12],[1,"\\n "],[10,"ul"],[14,0,"artdeco-list ph4"],[12],[1,"\\n"],[1," "],[10,"h3"],[14,0,"t-18 t-black t-normal pt4 pb3"],[12],[1,"\\n "],[1,[28,[32,0],["i18n_feed_detail_similar_pages","feed-detail/components/similar-pages-module"],null]],[1,"\\n "],[13],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["displayList"]]],null]],null],null,[[[1," "],[10,"li"],[14,0,"artdeco-list__item ph0 pv4"],[12],[1,"\\n"],[1," "],[8,[32,1],null,[["@size"],[3]],[["default"],[[[[1,"\\n "],[8,[30,4,["image"]],[[24,0,"mr3"]],[["@type"],["square"]],[["default"],[[[[1,"\\n "],[8,[32,2],[[24,0,"link-without-visited-state"],[4,[32,3],["similar_pages_similar_page_link"],null]],[["@route","@model"],["companies.company",[30,2,["universalName"]]]],[["default"],[[[[1,"\\n "],[8,[32,4],null,[["@image","@alt","@ghostType","@width"],[[28,[32,5],[[30,2],"logoResolutionResult.vectorImage"],null],[30,2,["name"]],"company",56]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,4,["content"]],null,null,[["default"],[[[[1,"\\n"],[1," "],[8,[30,4,["title"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,2],[[24,0,"link-without-visited-state"],[4,[32,3],["similar_pages_similar_page_link"],null]],[["@route","@model"],["companies.company",[30,2,["universalName"]]]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"feed-detail-similar-pages-module__company-name feed-detail-similar-pages-module__company-card-item t-16 t-black t-bold"],[12],[1,"\\n "],[1,[30,2,["name"]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n"],[1," "],[8,[30,4,["subtitle"]],[[24,0,"feed-detail-similar-pages-module__company-card-item"]],null,[["default"],[[[[1,"\\n"],[41,[28,[32,6],[[30,2,["industry"]],"0"],null],[[[1," "],[10,1],[14,0,"t-12"],[12],[1,"\\n "],[1,[28,[32,6],[[30,2,["industry"]],"0.name"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n"],[41,[30,2,["employeeCountRange"]],[[[1," "],[8,[30,4,["caption"]],[[24,0,"feed-detail-similar-pages-module__company-card-item"]],null,[["default"],[[[[1,"\\n "],[10,1],[14,0,"t-12"],[12],[1,"\\n"],[41,[30,2,["employeeCountRange","end"]],[[[1," "],[1,[28,[32,0],["i18n_feed_detail_employee_range","feed-detail/components/similar-pages-module"],[["start","end"],[[30,2,["employeeCountRange","start"]],[30,2,["employeeCountRange","end"]]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,0],["i18n_feed_detail_employee_range_no_end","feed-detail/components/similar-pages-module"],[["start"],[[30,2,["employeeCountRange","start"]]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[8,[30,4,["metadata"]],[[24,0,"feed-detail-similar-pages-module__insight"]],null,[["default"],[[[[1,"\\n "],[8,[32,7],null,[["@insight"],[[30,2,["socialProofInsight","standard"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[4]]]]],[1,"\\n"],[1," "],[8,[32,8],[[16,0,[29,["feed-detail-similar-pages-module__follow-button artdeco-button artdeco-button--muted artdeco-button--2 mt3 ml8\\n ",[52,[30,2,["followingState","following"]],"artdeco-button--tertiary","artdeco-button--secondary"]]]]],[["@iconType","@isFollowing","@showText","@toggleFollow","@controlName"],["add",[30,2,["followingState","following"]],true,[28,[32,9],[[30,0,["toggleFollow"]],[30,2]],null],[52,[30,0,["isFollowing"]],"similar_page_unfollow_toggle","similar_page_follow_toggle"]]],null],[1,"\\n "],[13],[1,"\\n"]],[2,3]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["canBeTruncated"]],[[[1," "],[8,[32,10],[[24,0,"feed-detail-similar-pages-module__toggle-button t-14 t-black--light t-bold"],[16,"aria-label",[52,[30,0,["isTruncated"]],[28,[32,0],["i18n_more_detail","feed-detail/components/similar-pages-module"],null],[28,[32,0],["i18n_read_less","feed-detail/components/similar-pages-module"],null]]],[16,"aria-expanded",[52,[30,0,["isTruncated"]],"true","false"]],[4,[32,3],[[52,[30,0,["isTruncated"]],"similar_pages_show_more_btn","similar_pages_show_less_btn"]],null],[4,[32,11],["click",[30,0,["onShowMoreToggle"]]],null]],[["@circle","@iconRight","@type","@color","@size","@stretch","@text","@icon","@ariaControlsId"],[false,true,"tertiary","muted",3,"fluid",[52,[30,0,["isTruncated"]],[28,[32,0],["i18n_feed_detail_show_more_btn","feed-detail/components/similar-pages-module"],null],[28,[32,0],["i18n_feed_detail_show_less_btn","feed-detail/components/similar-pages-module"],null]],[52,[30,0,["isTruncated"]],"chevron-down","chevron-up"],"a11y-feed-detail-similar-pages-module"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["&attrs","organization","index","elements"],false,["each","-track-array","if"]]',moduleName:"feed-detail/components/similar-pages-module.gjs",scope:()=>[p.default,f.default,h.default,g.default,b.default,y.default,_.get,v.default,w.default,_.fn,E.default,k.on],isStrictMode:!0}),(S=(0,u.inject)("global-services@store-shim"),D=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"storeShim",T,this);(0,t.default)(this,"isTruncated",A,this)}get canBeTruncated(){var e
return(null===(e=this.fullList)||void 0===e?void 0:e.length)>3}get fullList(){const{list:e}=this.args
return e&&void 0!==e.length?e:[e]}get truncatedList(){return this.fullList.slice(0,3)}get displayList(){const{isTruncated:e}=this
return e?this.truncatedList:this.fullList}onShowMoreToggle(){this.isTruncated=!this.isTruncated}toggleFollow(e){return this.storeShim.adapterFor("-ember-m3").ajax(...(0,d.toggleFollowWithFollowingInfoRequest)(e.followingState,"MOBILE_NON_SSU",!0)).catch((t=>{if((0,m.isDestroying)(this))throw t
const i=e.followingState,{following:a,followerCount:o}=i;(0,c.setProperties)(i,{followerCount:a?o-1:o+1,following:!a})
if(t&&!t.isAdapterError)throw t}))}},T=(0,a.default)(D.prototype,"storeShim",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,a.default)(D.prototype,"isTruncated",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),(0,a.default)(D.prototype,"onShowMoreToggle",[c.action],Object.getOwnPropertyDescriptor(D.prototype,"onShowMoreToggle"),D.prototype),(0,a.default)(D.prototype,"toggleFollow",[c.action],Object.getOwnPropertyDescriptor(D.prototype,"toggleFollow"),D.prototype),D))}))
define("feed-detail/config/environment",["exports"],(function(e){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
let t
try{const e="feed-detail/config/environment",i=document.querySelector('meta[name="'+e+'"]').getAttribute("content")
t=JSON.parse(unescape(i))}catch(e){t={sparkPlaceholders:{includeHashes:["assets/media-player.amd.js"]}}}e.default=t}))
define.alias("video-analytics/controllers/index","feed-detail/controllers/video-analytics")
define("feed-detail/engine",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/engine","ember-load-initializers","strict-resolver"],(function(e,t,i,a,o){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const n="feed-detail",r=class extends i.default{constructor(){super(...arguments);(0,t.default)(this,"modulePrefix",n);(0,t.default)(this,"Resolver",o.default)}};(0,a.default)(r,n)
e.default=r}))
define.alias("ember-truth-helpers/helpers/and","feed-detail/helpers/and")
define.alias("artdeco-datepicker/helpers/artdeco-adjust-date-for-timezone","feed-detail/helpers/artdeco-adjust-date-for-timezone")
define.alias("artdeco-datepicker/helpers/artdeco-is-between-dates","feed-detail/helpers/artdeco-is-between-dates")
define.alias("ember-media-player/helpers/autoplay-media","feed-detail/helpers/autoplay-media")
define.alias("artdeco-datepicker/helpers/cal-dates-equal","feed-detail/helpers/cal-dates-equal")
define.alias("ember-element-helper/helpers/element","feed-detail/helpers/element")
define.alias("ember-holy-futuristic-template-namespacing-batman/helpers/-translate-dynamic-2","feed-detail/helpers/ember-holy-futuristic-template-namespacing-batman-translate-dynamic-2")
define("feed-detail/helpers/ensure-safe-component",["exports","@embroider/util"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.EnsureSafeComponentHelper}})}))
define.alias("ember-truth-helpers/helpers/eq","feed-detail/helpers/eq")
define.alias("ember-media-player/helpers/format-autoplay","feed-detail/helpers/format-autoplay")
define.alias("ember-cli-pemberly-i18n/helpers/format-number","feed-detail/helpers/format-number")
define.alias("ember-semaphore/helpers/format-title","feed-detail/helpers/format-title")
define.alias("ember-truth-helpers/helpers/gt","feed-detail/helpers/gt")
define.alias("ember-truth-helpers/helpers/gte","feed-detail/helpers/gte")
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-name","feed-detail/helpers/hue-web-artdeco-icon-migration-runtime")
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-v2","feed-detail/helpers/hue-web-artdeco-li-icon-migration-runtime-v2")
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-path","feed-detail/helpers/hue-web-artdeco-li-icon-migration-runtime")
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-argument","feed-detail/helpers/hue-web-artdeco-migration-runtime")
define.alias("ember-truth-helpers/helpers/is-array","feed-detail/helpers/is-array")
define.alias("ember-truth-helpers/helpers/is-empty","feed-detail/helpers/is-empty")
define.alias("ember-truth-helpers/helpers/is-equal","feed-detail/helpers/is-equal")
define.alias("artdeco-icons-web/helpers/li-icon","feed-detail/helpers/li-icon")
define.alias("ember-async-data/helpers/load","feed-detail/helpers/load")
define.alias("ember-truth-helpers/helpers/lt","feed-detail/helpers/lt")
define.alias("ember-truth-helpers/helpers/lte","feed-detail/helpers/lte")
define.alias("ember-truth-helpers/helpers/not-eq","feed-detail/helpers/not-eq")
define.alias("ember-truth-helpers/helpers/not","feed-detail/helpers/not")
define.alias("ember-truth-helpers/helpers/or","feed-detail/helpers/or")
define("feed-detail/helpers/page-title",["exports","ember-page-title/helpers/page-title"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.default=t.default}))
define("feed-detail/helpers/ref-to",["exports","ember-ref-bucket/helpers/ref-to"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
Object.defineProperty(e,"refTo",{enumerable:!0,get:function(){return t.default}})}))
define.alias("ember-route-action-helper/helpers/route-action","feed-detail/helpers/route-action")
define.alias("ember-app-scheduler/helpers/route-idle","feed-detail/helpers/route-idle")
define.alias("ember-media-player/helpers/seek-media","feed-detail/helpers/seek-media")
define.alias("ember-set-helper/helpers/set","feed-detail/helpers/set")
define.alias("ember-cli-pemberly-i18n/helpers/t","feed-detail/helpers/t")
define.alias("ember-truth-helpers/helpers/xor","feed-detail/helpers/xor")
define.alias("ember-uuid","feed-detail/index")
define("feed-detail/initializers/icons",["exports","artdeco-icons-web/src/icons","feed-detail/config/environment"],(function(e,t,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
function a(e){throw e}e.default={name:"icons",initialize:function(){const{environment:e,APP:o}=i.default
let n,r
o&&({artdecoCustomSpriteUrl:n,artdecoCustomSpriteName:r}=o)
const l="test"!==e
t.default.load(l,n,r).catch(a)}}}))
define.alias("ember-cli-pemberly-lix/initializers/lix","feed-detail/initializers/lix")
define.alias("ember-m3/initializers/m3-store","feed-detail/initializers/m3-store")
define.alias("ember-ref-bucket/instance-initializers/global-ref-cleanup","feed-detail/instance-initializers/global-ref-cleanup")
define.alias("video/instance-initializers/media-plugins","feed-detail/instance-initializers/media-plugins")
define.alias("artdeco-datepicker/modifiers/artdeco-calendar-click-watcher","feed-detail/modifiers/artdeco-calendar-click-watcher")
define.alias("ember-ref-bucket/modifiers/create-ref","feed-detail/modifiers/create-ref")
define.alias("@ember/render-modifiers/modifiers/did-insert","feed-detail/modifiers/did-insert")
define.alias("ember-scroll-modifiers/modifiers/did-intersect","feed-detail/modifiers/did-intersect")
define.alias("ember-resize-modifier/modifiers/did-resize","feed-detail/modifiers/did-resize")
define.alias("@ember/render-modifiers/modifiers/did-update","feed-detail/modifiers/did-update")
define.alias("ember-finite-scroll/modifiers/ember-finite-scroll/focus","feed-detail/modifiers/ember-finite-scroll/focus")
define.alias("ember-prop-modifier","feed-detail/modifiers/prop")
define.alias("ember-scroll-modifiers/modifiers/scroll-into-view","feed-detail/modifiers/scroll-into-view")
define.alias("ember-sortable/modifiers/sortable-group","feed-detail/modifiers/sortable-group")
define.alias("ember-sortable/modifiers/sortable-handle","feed-detail/modifiers/sortable-handle")
define.alias("ember-sortable/modifiers/sortable-item","feed-detail/modifiers/sortable-item")
define.alias("@ember/render-modifiers/modifiers/will-destroy","feed-detail/modifiers/will-destroy")
define("feed-detail/routes/application",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/classPrivateMethodGet","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/routing/route","@ember/object","rsvp","voyager-web/config/environment","feed-utils/utils/constants","follows/utils/follow-tracking","feed-requests/update-actions","global-utils/utils/urn-converter","data-layer/utils/feed/member-actor","data-layer/utils/organization/company-coerce","feed-utils/utils/authenticated-member-actor","feed-utils/utils/error-parsing","feed-utils/utils/gdpr","feed-utils/utils/client-sensor-constants","comments/utils/comment-requests","@linkedin/ember-restli-graphql","graphql-queries/queries/organizations/similar-company.graphql","graphql-queries/queries/feed/single-update.graphql","graphql-queries/queries/feed/single-update-irp.graphql","graphql-queries/queries/feed/single-update-by-post-slug.graphql","graphql-queries/queries/feed/single-update-by-post-slug-irp.graphql","graphql-queries/queries/feed/single-update-by-backend-urn-or-nss.graphql","graphql-queries/queries/feed/single-update-by-backend-urn-or-nss-irp.graphql","graphql-queries/queries/feed/identity-dash-profiles-by-member-identity.graphql","feed-detail/utils/constants"],(function(e,t,i,a,o,n,r,l,s,d,c,u,m,p,f,h,g,b,y,v,w,_,E,k,S,D,T,A,C,P,O,x,M){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var I,R,U,N,j,q,F,z,L,G,B,$,H,W,V,Y,K,J,Q,Z,X,ee,te,ie
function ae(e){const t=e.urn||e.backendUrn
return null!=t&&t.includes("company")||null!=t&&t.includes("organizationalPage")?t:null}function oe(e){const t=e.urn||e.backendUrn
return null!=t&&t.includes("member")?t:null}function ne(e){const t=e.urn||e.backendUrn
return null!=t&&t.includes("group")?t:null}e.default=(I=(0,l.inject)("authentication@authenticated-user"),R=(0,l.inject)("feed-tracking@feed-action-event"),U=(0,l.inject)("gdpr-notice@gdpr-notice"),N=(0,l.inject)("profile-services@identity-store"),j=(0,l.inject)("i18n"),q=(0,l.inject)("jet"),F=(0,l.inject)("client-sensor-web@client-sensor"),z=(0,l.inject)("global-services@store-shim"),L=(0,l.inject)("lix"),G=(0,l.inject)("feed-utils@content-admin-identities"),B=(0,l.inject)("@linkedin/ember-restli-graphql@graphql"),$=(ie=new WeakSet,class e extends s.default{constructor(){super(...arguments)
ie.add(this);(0,t.default)(this,"authenticatedUser",H,this);(0,t.default)(this,"feedActionEvent",W,this);(0,t.default)(this,"gdprNotice",V,this);(0,t.default)(this,"identityStore",Y,this);(0,t.default)(this,"i18n",K,this);(0,t.default)(this,"jet",J,this);(0,t.default)(this,"clientSensor",Q,this);(0,t.default)(this,"storeShim",Z,this);(0,t.default)(this,"lix",X,this);(0,t.default)(this,"contentAdminIdentities",ee,this);(0,t.default)(this,"graphql",te,this);(0,i.default)(this,"queryParams",{actorCompanyId:{refreshModel:!0},origin:{refreshModel:!0},commentUrn:{refreshModel:!1},commentSort:{refreshModel:!0},replyUrn:{refreshModel:!1},likeFromLogin:{refreshModel:!1},dashCommentUrn:{refreshModel:!1},dashReplyUrn:{refreshModel:!1},originTrackingId:{refreshModel:!1},customModuleKey:{refreshModel:!1},autoLaunchCoach:{refreshModel:!1}})}get isDashEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-dash-update-detail")}get isIRPEnabled(){return"enabled-irp"===this.lix.getTreatment("voyager.web.feed-dash-update-detail")}beforeModel(e){super.beforeModel(...arguments)
const t=e.to?e.to.queryParams:{},{highlightedUpdateUrn:i}=t
i&&this.replaceWithExternal("feed");(0,d.set)(this,"is3colLayout",!0)
return(0,g.populateMemberActor)(this.authenticatedUser)}setupController(e,t){var i
if(!(0,r.isDestroying)(this)){super.setupController(...arguments);(0,d.setProperties)(e,{is3colLayout:this.is3colLayout,updateActor:null===(i=t.update)||void 0===i?void 0:i.actor})}}model(e,t){if((0,r.isDestroying)(this))return
super.model(...arguments)
const i=this.feedActionEvent.getModuleKeyForCurrentPage(),a=(t.to?t.to.name:"").includes("posts"),{viewContext:o}=t.to?t.to.queryParams:{},{updateId:n,actorCompanyId:l,commentSort:s,likeFromLogin:u,origin:m,originTrackingId:p,customModuleKey:f}=e
f&&this.feedActionEvent.setCustomModuleKey(f)
u&&(0,w.showGdprLikeCreatedNotice)(this.i18n,this.gdprNotice)
const h=(0,c.hash)({update:this.fetchPostsOrUpdateModel(n,f??i,l,s,a,o,m,p),authenticatedActor:this.fetchAuthenticatedActorIfAdmin(l)})
return this.isDashEnabled?h.then((e=>{if((0,r.isDestroying)(this))return
const t=e.update.actor
if(t){const o=ae(t)
if(o){var i,a
const t={isNonMemberUpdateActor:!0,followEntityUrn:o,followingInfo:null===(i=e.update.actor)||void 0===i||null===(a=i.followAction)||void 0===a?void 0:a.followingState,update:e.update,authenticatedActor:e.authenticatedActor}
return(0,c.hash)(t)}const n=oe(t)||ne(t)
if(n){const i={backgroundImage:t.image,followEntityUrn:n,update:e.update,authenticatedActor:e.authenticatedActor,isDashEnabled:this.isDashEnabled}
return(0,c.hash)(i)}(0,d.set)(this,"is3colLayout",!1)
return h}(0,d.set)(this,"is3colLayout",!1)
return e})):h.then((e=>{if((0,r.isDestroying)(this))return
const t=e.update.actor
if(t){var i,a
const r=null===(i=t.image)||void 0===i?void 0:i.attributes,l=r.find((e=>e.miniCompany||e.miniProfile||e.miniProfileWithRingStatus))||r[0],s=ae(t),u=l.miniProfile||(null===(a=l.miniProfileWithRingStatus)||void 0===a?void 0:a.miniProfile)
let m,p,f
u&&({objectUrn:m,publicIdentifier:p,backgroundImage:f}={objectUrn:u.objectUrn,publicIdentifier:u.publicIdentifier,backgroundImage:u.backgroundImage})
if(p){const t={backgroundImage:f,followEntityUrn:m,update:e.update,authenticatedActor:e.authenticatedActor}
return(0,c.hash)(t)}if(s){var o,n
const t={isNonMemberUpdateActor:!0,followEntityUrn:s,followingInfo:null===(o=e.update.actor)||void 0===o||null===(n=o.followAction)||void 0===n?void 0:n.followingInfo,update:e.update,authenticatedActor:e.authenticatedActor}
return(0,c.hash)(t)}(0,d.set)(this,"is3colLayout",!1)
return h}(0,d.set)(this,"is3colLayout",!1)
return e}))}async afterModel(e){var t,i
if((0,r.isDestroying)(this))return
const o={},n={},l=(null===(t=e.update.socialDetail)||void 0===t?void 0:t.urn)||(null===(i=e.update.socialDetail)||void 0===i?void 0:i.threadUrn),{commentUrn:s,dashCommentUrn:d,dashReplyUrn:u,replyUrn:m}=this.paramsFor(this.routeName),p=Boolean(d||u)
let f
f=p?this._getGraphQLAnchoredComment(d,u,l):this._getAnchoredComment(s,m,l)
this.contentAdminIdentities.identities.length||this.contentAdminIdentities.fetchContentAdminIdentities()
o.anchoredComment=f
if(p){o.dashAnchoredCommentUrn=d
o.dashAnchoredReplyUrn=u}const g=e.update.actor
if(g)if(this.isDashEnabled){const t=ae(g),i=oe(g),a=ne(g)
if(i){const e=/in\/(.*)\?/,t=g.navigationContext.actionTarget.match(e),i=(null==t?void 0:t.length)>1&&t[1]
i&&(n.vieweeMemberBadges=this.fetchVieweeMemberBadges(i,this.isDashEnabled))}if(t){const e=(0,h.fromUrn)(t).id,i=(0,h.toUrn)("fsd_company",e)
n.similarOrganizations=this.fetchSimilarOrganizations(i,6)}if(a){var b,y,v,w,_
n.vieweeMemberBadges=Promise.resolve({backgroundImage:null===(b=e.update.metadata.group)||void 0===b||null===(y=b.heroImage)||void 0===y||null===(v=y.attributes)||void 0===v||null===(w=v[0])||void 0===w||null===(_=w.detailData)||void 0===_?void 0:_.vectorImage})}}else{var E,k,S
const e=null===(E=g.image)||void 0===E?void 0:E.attributes,t=e.find((e=>e.miniCompany||e.miniProfile||e.miniProfileWithRingStatus))||e[0],i=null===(k=t.miniCompany)||void 0===k?void 0:k.objectUrn,a=t.miniProfile||(null===(S=t.miniProfileWithRingStatus)||void 0===S?void 0:S.miniProfile)
let o
a&&({publicIdentifier:o}={publicIdentifier:a.publicIdentifier})
if(o){n.followingInfo=this.fetchMemberFollowingInfo(o)
n.vieweeMemberBadges=this.fetchVieweeMemberBadges(o)}if(i){const e=(0,h.fromUrn)(i).id,t=(0,h.toUrn)("fsd_company",e)
n.similarOrganizations=this.fetchSimilarOrganizations(t,6)}}if(this.isDashEnabled){var D
const t=null===(D=e.update.socialDetail)||void 0===D?void 0:D.entityUrn
n.conversationStarters=this.fetchConversationStarters(t)}else{var T
const t=null===(T=e.update.socialDetail)||void 0===T?void 0:T.dashEntityUrn
n.conversationStarters=this.fetchConversationStarters(t)}if(this.isDashEnabled){var A
n.updateDetailSupplements=(0,a.default)(this,ie,re).call(this,null===(A=e.update.metadata)||void 0===A?void 0:A.backendUrn)}else{var C
n.updateDetailSupplements=(0,a.default)(this,ie,re).call(this,null===(C=e.update.updateMetadata)||void 0===C?void 0:C.urn)}this._resolveNonCriticalData(e,n)
const P=await(0,c.hash)(o)
return(0,r.isDestroying)(this)?void 0:Object.assign(e,P)}fetchConversationStarters(e){if(!e)return c.Promise.resolve(void 0)
const{storeShim:t}=this,i="voyagerFeedDashConversationStarters",a={q:"socialDetail",socialDetailUrn:e},o=`${i}|${e}`
return t.queryURL(i,{cacheKey:o,params:a,reload:!0}).catch((e=>{if((0,r.isDestroying)(this))throw e
if(!(0,v.isHttpErrorStatus)(e))throw e}))}fetchMemberFollowingInfo(e){return this.identityStore.findRecord("com.linkedin.voyager.identity.profile.ProfileNetworkInfo",e,{backgroundReload:!0}).then((e=>{if(!(0,r.isDestroying)(this))return e.followingInfo})).catch((e=>{if((0,r.isDestroying)(this))throw e
if(!(0,r.isDestroying)(this)&&(0,v.isHttpErrorStatus)(e)){this.jet.logError(new Error("Network request failed while attempting to retrieve profile following info"),m.JET_TAGS.GET_PROFILE_FOLLOWING_INFO,!1)
return[]}throw e}))}fetchVieweeMemberBadges(e,t){return t?this.graphql.executeQuery(x.default,{memberIdentity:e}).then((e=>{var t,i,a,o,n
if((0,r.isDestroying)(this))return
const l=(null===(t=e.data)||void 0===t||null===(i=t.identityDashProfilesByMemberIdentity)||void 0===i||null===(a=i.elements)||void 0===a?void 0:a.length)>0?e.data.identityDashProfilesByMemberIdentity.elements[0]:null
return{premium:(null==l?void 0:l.premium)&&(null==l?void 0:l.showPremiumSubscriberBadge),backgroundImage:null==l||null===(o=l.backgroundPicture)||void 0===o||null===(n=o.displayImageReferenceResolutionResult)||void 0===n?void 0:n.vectorImage}})).catch((e=>{if((0,r.isDestroying)(this))throw e
if(!(0,r.isDestroying)(this)&&(0,v.isHttpErrorStatus)(e)){this.jet.logError(new Error("Network request failed while attempting to retrieve profile member badges"),m.JET_TAGS.GET_PROFILE_MEMBER_BADGES,!1)
return[]}throw e})):this.identityStore.findRecord("com.linkedin.voyager.identity.profile.MemberBadges",e,{backgroundReload:!0}).catch((e=>{if((0,r.isDestroying)(this))throw e
if(!(0,r.isDestroying)(this)&&(0,v.isHttpErrorStatus)(e)){this.jet.logError(new Error("Network request failed while attempting to retrieve profile member badges"),m.JET_TAGS.GET_PROFILE_MEMBER_BADGES,!1)
return[]}throw e}))}fetchSimilarOrganizations(e,t){return this.graphql.executeQuery(S.default,{count:t,organization:e,start:0}).then((e=>{var t
if(!(0,r.isDestroying)(this))return null===(t=e.data)||void 0===t?void 0:t.organizationDashCompaniesBySimilarCompanies})).catch((e=>{if((0,r.isDestroying)(this))throw e
if(!(0,r.isDestroying)(this)&&(0,v.isHttpErrorStatus)(e)){this.jet.logError(new Error("Network request failed while attempting to fetch similar organizations"),m.JET_TAGS.GET_SIMILAR_ORGANIZATIONS,!1)
return[]}if(e&&e instanceof k.GraphQLQueryError)throw e
return null}))}_getGraphQLAnchoredComment(e,t,i){const{graphql:a}=this
if(t&&e){const o=(0,E.findSingleGraphQLCommentRecord)({commentUrn:e,graphql:a,updateThreadUrn:i}),n=(0,E.findSingleGraphQLCommentRecord)({commentUrn:t,graphql:a,updateThreadUrn:i})
return(0,c.allSettled)([o,n]).then((t=>{var i,a,o,n,l,s,c,u,p,f,h,g
if((0,r.isDestroying)(this))return
if(t.some((e=>{let{state:t}=e
return"rejected"===t}))){t.forEach((e=>{let{reason:t}=e
if(!t)return
let i=t.message
if((0,v.isHttpErrorStatus)(t)){var a
const e=null===(a=t.errors)||void 0===a?void 0:a.map(((e,t)=>{let{message:i,extensions:a}=e
return`${t+1} - Message: ${i}, Extensions: ${JSON.stringify(a)}`})).join("; ")
e&&(i=`Network error while retrieving anchored comment: ${i} | Errors: ${e}`)}else i=JSON.stringify(t)
this.jet.error(i,[m.JET_TAGS.GET_ANCHORED_COMMENT],{shouldRethrow:!1})}))
return}const[b,y]=t.map((e=>{let{value:t}=e
return t})),w=y.data.socialDashCommentsBySingleComment.elements[0],_=b.data.socialDashCommentsBySingleComment.elements[0]
if(!_||(null==w||null===(i=w.parentComment)||void 0===i?void 0:i.entityUrn)!==e)return
const E=null===(a=y.data)||void 0===a||null===(o=a.socialDashCommentsBySingleComment)||void 0===o?void 0:o.elements,k=null===(n=y.data)||void 0===n||null===(l=n.socialDashCommentsBySingleComment)||void 0===l?void 0:l.metadata,S=null===(s=y.data)||void 0===s||null===(c=s.socialDashCommentsBySingleComment)||void 0===c||null===(u=c.elements)||void 0===u||null===(p=u[0])||void 0===p||null===(f=p.socialDetail)||void 0===f||null===(h=f.comments)||void 0===h?void 0:h.paging;(0,d.setProperties)(null===(g=_.socialDetail)||void 0===g?void 0:g.comments,{elements:E,metadata:k,paging:S})
return _}))}return e?(0,E.findSingleGraphQLCommentRecord)({commentUrn:e,graphql:a,updateThreadUrn:i}).then((e=>{if((0,r.isDestroying)(this))return
const t=e.data.socialDashCommentsBySingleComment.elements[0]
return t&&t.parentCommentUrn?void 0:t})).catch((e=>{if((0,r.isDestroying)(this))throw e
if(!(0,r.isDestroying)(this)&&(0,v.isHttpErrorStatus)(e)){var t
let i=`Network error while retrieving anchored comment: ${e.message}`
const a=null===(t=e.errors)||void 0===t?void 0:t.map(((e,t)=>{let{message:i,extensions:a}=e
return`${t+1} - Message: ${i}, Extensions: ${JSON.stringify(a)}`})).join("; ")
a&&(i=`${i} | Errors: ${a}`)
this.jet.error(i,[m.JET_TAGS.GET_ANCHORED_COMMENT],{shouldRethrow:!1})}})):c.Promise.resolve(void 0)}_getAnchoredComment(t,i){const{storeShim:a}=this,o="com.linkedin.voyager.feed.Comment"
if(i&&t){const n=(0,E.findSingleCommentRecord)({commentUrn:i,store:a}),l=a.findRecord(o,t)
return(0,c.allSettled)([l,n]).then((i=>{let[a,o]=i
if((0,r.isDestroying)(this))return
if("rejected"===a.state)return
const n=a.value
if("rejected"===o.state)return e.processAnchoredComment(n)
const l=o.value.elements[0]
if(!l||l.parentCommentUrn===t){(0,d.set)(n,"socialDetail.comments",o.value);(0,d.set)(l,"isAnchored",!0);(0,d.set)(n,"isParentOfAnchored",!0)
return n}}))}return t?a.findRecord(o,t).then((t=>{if(!(0,r.isDestroying)(this))return e.processAnchoredComment(t)})).catch((e=>{if((0,r.isDestroying)(this))throw e
if(!(0,r.isDestroying)(this)&&(0,v.isHttpErrorStatus)(e)){this.jet.logError(new Error("Network request failed while attempting retrieve anchored comment"),m.JET_TAGS.GET_ANCHORED_COMMENT,!1)
return[]}throw e})):c.Promise.resolve(void 0)}fetchPostsOrUpdateModel(e,t,i,a,o,n,l,s){let d=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0
const{storeShim:c}=this,u=`feed/updates|${e}|${t}|${i}`,p={commentsCount:10,likesCount:10},f={commentsCount:10,likesCount:10,includeCommentsFirstReply:!0}
let g
if(t){p.moduleKey=t
f.moduleKey=t}if(i){p.organizationActor=(0,h.toUrn)("organization/company",i)
f.actor=(0,h.toUrn)("organization/dash-company",i)}const b=function(e){return`urn:li:fsd_update:(${e},FEED_DETAIL,EMPTY,DEFAULT,false)`}(e)
if(a&&i){const t=function(e){return`urn:li:fs_updateV2:(${e},MAIN_FEED,EMPTY,DEFAULT,false)`}(e)
p.commentSort=a
if(this.isDashEnabled){f.updateUrn=b
g=this.graphql.executeQuery(this.isIRPEnabled?T.default:D.default,f,{cacheKey:u,reload:!0})}else g=c.queryURL(`feed/updatesV2/${t}`,{cacheKey:u,params:p,reload:!0})
return g.then((e=>{if((0,r.isDestroying)(this))return
return this.isDashEnabled?e.data.feedDashUpdatesById:e})).catch((e=>{if((0,r.isDestroying)(this))throw e
if(!(0,v.isHttpErrorStatus)(e))throw e
if(e.errors){var t
let i=e.message
const a=e.errors.map(((e,t)=>{let{message:i,extensions:a}=e
return`${t+1} - Message: ${i}, Extensions: ${JSON.stringify(a)}`})).join("; ")
a&&(i=`${i} | Errors: ${a}`)
null===(t=this.jet)||void 0===t||t.error(i,m.JET_TAGS.GET_UPDATE,{shouldRethrow:!1})}else{this.jet.logError(new Error("Network request failed while retrieving Feed update"),m.JET_TAGS.GET_UPDATE,!1)
if("404"==`${(0,v.getStatusCode)(e)}`)throw new Error("Feed update not found")}throw e}))}if(s){p.originTrackingId=s
f.originTrackingId=s}if(o){p.q="postSlug"
p.slug=e
f.slug=e
g=this.isDashEnabled?this.graphql.executeQuery(this.isIRPEnabled?C.default:A.default,f,{cacheKey:u,reload:!0}):c.queryURL("feed/updatesV2",{cacheKey:u,params:p,reload:!0})
return g.then((e=>{if((0,r.isDestroying)(this))return
return this.isDashEnabled?e.data.feedDashUpdatesByPostSlug.elements[0]:e.elements[0]})).catch((e=>{if((0,r.isDestroying)(this))throw e
if(!(0,v.isHttpErrorStatus)(e))throw e
if(e.errors){var t
let i=e.message
const a=e.errors.map(((e,t)=>{let{message:i,extensions:a}=e
return`${t+1} - Message: ${i}, Extensions: ${JSON.stringify(a)}`})).join("; ")
a&&(i=`${i} | Errors: ${a}`)
null===(t=this.jet)||void 0===t||t.error(i,m.JET_TAGS.GET_UPDATE,{shouldRethrow:!1})}else{this.jet.logError(new Error("Network request failed while retrieving Feed update"),m.JET_TAGS.GET_UPDATE,!1)
if("404"==`${(0,v.getStatusCode)(e)}`)throw new Error("Feed update not found")}throw e}))}if(l){p.originContext=l
if(this.isDashEnabled){Object.keys(M.UPDATE_DETAIL_ENTRY_POINTS).includes(l)?f.updateDetailEntryPoint=l:this.jet.logError(new Error(`Invalid origin context received ${l}`),"invalid-update-origin-context",!1)}}if(n){p.viewContext=n
f.viewContext=n}p.q="backendUrnOrNss"
p.urnOrNss=e
f.urnOrNss=e
g=this.isDashEnabled?this.graphql.executeQuery(this.isIRPEnabled?O.default:P.default,f,{cacheKey:u,reload:!1}):c.queryURL("feed/updatesV2",{cacheKey:u,params:p,reload:!1})
return g.then((e=>{if((0,r.isDestroying)(this))return
const t=this.isDashEnabled?e.data.feedDashUpdatesByBackendUrnOrNss.elements[0]:e.elements[0]
e.unloadRecord()
1===d&&this.clientSensor.incrementMetricCounter({groupName:_.CLIENT_SENSOR_GROUP_NAME,metricName:_.MainFeedClientSensorMetrics.RETRY_FETCHING_SINGLE_UPDATE})
return t})).catch((c=>{if((0,r.isDestroying)(this))throw c
if(c.errors){var u
let e=c.message
const t=c.errors.map(((e,t)=>{let{message:i,extensions:a}=e
return`${t+1} - Message: ${i}, Extensions: ${JSON.stringify(a)}`})).join("; ")
t&&(e=`${e} | Errors: ${t}`)
null===(u=this.jet)||void 0===u||u.error(e,m.JET_TAGS.GET_UPDATE,{shouldRethrow:!1})}if(!(0,r.isDestroying)(this)&&(0,v.is5xxHttpError)(c)&&d<1)return this.fetchPostsOrUpdateModel(e,t,i,a,o,n,l,s,d+1)
throw c}))}fetchAuthenticatedActorIfAdmin(e){const{storeShim:t}=this,{authenticatedUser:i}=this
if(!e)return(0,y.default)(t,i)
const a={url:`/${u.default.namespace}/organization/companies/${encodeURIComponent(e)}`}
return t.findRecord("com.linkedin.voyager.deco.organization.web.WebFullCompanyMain",e,{adapterOptions:a}).then((e=>{var a
if(!(0,r.isDestroying)(this))return e&&null!==(a=e.viewerPermissions)&&void 0!==a&&a.canCreateReaction?(0,b.getCompanyActorM3)(e,t):(0,y.default)(t,i)})).catch((e=>{if((0,r.isDestroying)(this))throw e
if(!(0,r.isDestroying)(this)&&(0,v.isHttpErrorStatus)(e)){this.jet.logError(new Error("Network request failed while retrieving admin actor"),m.JET_TAGS.GET_ADMIN_ACTOR,!1)
return(0,y.default)(t,i)}throw e}))}onToggleFollowForUpdateV2(){if(this.isDashEnabled){var e,t,i,a,o,n,r,l
const{currentModel:h}=this,{update:g}=h,{metadata:b}=g,y=null===(e=b.trackingData)||void 0===e?void 0:e.sponsoredTracking,v="VIRAL"===(null===(t=b.trackingData)||void 0===t||null===(i=t.sponsoredTracking)||void 0===i?void 0:i.activityType),w=!(null!==(a=g.actor)&&void 0!==a&&null!==(o=a.followAction)&&void 0!==o&&null!==(n=o.followingState)&&void 0!==n&&n.following),_=null===(r=g.actor)||void 0===r||null===(l=r.followAction)||void 0===l?void 0:l.followingState
this.storeShim.adapterFor("-ember-m3").ajax(...(0,f.toggleFollowWithFollowingInfoRequest)(_,(0,p.getFollowTrackingContext)(!!y,v),!1,!0))
if(b){var s,d,c,u
const e=null===(s=g.actor)||void 0===s||null===(d=s.followAction)||void 0===d?void 0:d.followTrackingActionType,t=(null===(c=g.actor)||void 0===c||null===(u=c.followAction)||void 0===u?void 0:u.unfollowTrackingActionType)||`un${e}`,i=w?e:t,a=w?m.FeedConstants.FOLLOW:m.FeedConstants.UNFOLLOW
i&&this.feedActionEvent.fireFAE(b,{actionCategory:a,actionType:i,controlName:"actor_follow_toggle"})}}else{var h,g,b
const{currentModel:e}=this,{followingInfo:t,update:i}=e,{updateMetadata:a}=i,o=null===(h=a.trackingData)||void 0===h?void 0:h.sponsoredTracking,n="VIRAL"===(null===(g=a.trackingData)||void 0===g||null===(b=g.sponsoredTracking)||void 0===b?void 0:b.activityType),r=!t.following
this.storeShim.adapterFor("-ember-m3").ajax(...(0,f.toggleFollowWithFollowingInfoRequest)(t,(0,p.getFollowTrackingContext)(!!o,n)))
if(a){var y,v,w,_
const e=null===(y=i.actor)||void 0===y||null===(v=y.followAction)||void 0===v?void 0:v.followTrackingActionType,t=(null===(w=i.actor)||void 0===w||null===(_=w.followAction)||void 0===_?void 0:_.unfollowTrackingActionType)||`un${e}`,o=r?e:t,n=r?m.FeedConstants.FOLLOW:m.FeedConstants.UNFOLLOW
o&&this.feedActionEvent.fireFAE(a,{actionCategory:n,actionType:o,controlName:"actor_follow_toggle"})}}}getFollowImpressionEventPayload(e){let t,i
if(this.isDashEnabled){var a,o,n
t=null===(a=e.actor)||void 0===a?void 0:a.backendUrn
i=null===(o=e.metadata)||void 0===o||null===(n=o.trackingData)||void 0===n?void 0:n.trackingId}else{var r,l,s,d
const a=this.controllerFor(this.routeName)
t=null==a||null===(r=a.model)||void 0===r||null===(l=r.followingInfo)||void 0===l?void 0:l.trackingUrn
i=null===(s=e.updateMetadata)||void 0===s||null===(d=s.trackingData)||void 0===d?void 0:d.trackingId}return()=>({name:"FollowImpressionEvent",body:{displayModule:"IDENTITY_MODULE",entities:[{trackingId:i,followEntityUrn:t,gridPosition:{row:1,column:1}}]}})}_resolveNonCriticalData(e,t){Object.keys(t).forEach((i=>{t[i].then((t=>{if(!this.isDestroying)if("conversationStarters"===i){var a;(0,d.set)(e,i,t&&(null===(a=t.elements)||void 0===a?void 0:a[0]))}else(0,d.set)(e,i,t)}))}))}static processAnchoredComment(e){if(!e||!e.parentCommentUrn){(0,d.set)(e,"isAnchored",!0)
return e}}}),H=(0,o.default)($.prototype,"authenticatedUser",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,o.default)($.prototype,"feedActionEvent",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,o.default)($.prototype,"gdprNotice",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,o.default)($.prototype,"identityStore",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,o.default)($.prototype,"i18n",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,o.default)($.prototype,"jet",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,o.default)($.prototype,"clientSensor",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,o.default)($.prototype,"storeShim",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,o.default)($.prototype,"lix",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,o.default)($.prototype,"contentAdminIdentities",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,o.default)($.prototype,"graphql",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.default)($.prototype,"onToggleFollowForUpdateV2",[d.action],Object.getOwnPropertyDescriptor($.prototype,"onToggleFollowForUpdateV2"),$.prototype),(0,o.default)($.prototype,"getFollowImpressionEventPayload",[d.action],Object.getOwnPropertyDescriptor($.prototype,"getFollowImpressionEventPayload"),$.prototype),$)
function re(e){return e?this.storeShim.queryURL(`/${u.default.namespace}/voyagerFeedDashUpdateDetailSupplement`,{params:{q:"updateDetailEntityActionComponentV2",activityUrn:e,recipe:"com.linkedin.voyager.dash.deco.feed.updatedetail.UpdateDetailEntityActionComponent"},reload:!0}).catch((e=>{if((0,r.isDestroying)(this))throw e
if(!(0,v.isHttpErrorStatus)(e))throw e
return null})):c.Promise.resolve(null)}}))
define("feed-detail/routes/feed-ca",["exports","@babel/runtime/helpers/esm/defineProperty","content-analytics/routes/application"],(function(e,t,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class a extends i.default{constructor(){super(...arguments);(0,t.default)(this,"parentPath",(()=>"index"));(0,t.default)(this,"modalCloseTransitionMethod","replaceWith")}}e.default=a}))
define("feed-detail/routes/feed-ca/post-analytics",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/destroyable","content-analytics/routes/post-analytics"],(function(e,t,i,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class o extends a.default{constructor(){super(...arguments);(0,t.default)(this,"templateName","feed-ca/content-analytics")}model(e){if((0,i.isDestroying)(this))return
const t=this.paramsFor("application")
for(var a=arguments.length,o=new Array(a>1?a-1:0),n=1;n1?a-1:0),n=1;n