define.alias("@glimmer/component/-private/ember-component-manager","feed/component-managers/glimmer") define("feed/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/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/components/artdeco-button") define.alias("artdeco-datepicker/components/artdeco-calendar","feed/components/artdeco-calendar") define.alias("artdeco-card/components/artdeco-card-image","feed/components/artdeco-card-image") define.alias("artdeco-card/components/artdeco-card","feed/components/artdeco-card") define.alias("artdeco-carousel/components/artdeco-carousel-item","feed/components/artdeco-carousel-item") define.alias("artdeco-carousel/components/artdeco-carousel-slider","feed/components/artdeco-carousel-slider") define.alias("artdeco-carousel/components/artdeco-carousel-title","feed/components/artdeco-carousel-title") define.alias("artdeco-carousel/components/artdeco-carousel","feed/components/artdeco-carousel") define.alias("artdeco-completeness-meter-linear/components/artdeco-completeness-meter-linear","feed/components/artdeco-completeness-meter-linear") define.alias("artdeco-modal/components/artdeco-confirmation-dialog","feed/components/artdeco-confirmation-dialog") define.alias("artdeco-datepicker/components/artdeco-datepicker-embedded-cal","feed/components/artdeco-datepicker-embedded-cal") define.alias("artdeco-datepicker/components/artdeco-datepicker","feed/components/artdeco-datepicker") define.alias("artdeco-datepicker/components/artdeco-daterange-embedded-cal","feed/components/artdeco-daterange-embedded-cal") define.alias("artdeco-datepicker/components/artdeco-daterange","feed/components/artdeco-daterange") define.alias("artdeco-dropdown/components/artdeco-dropdown-content","feed/components/artdeco-dropdown-content") define.alias("artdeco-dropdown/components/artdeco-dropdown-header","feed/components/artdeco-dropdown-header") define.alias("artdeco-dropdown/components/artdeco-dropdown-item","feed/components/artdeco-dropdown-item") define.alias("artdeco-dropdown/components/artdeco-dropdown-trigger","feed/components/artdeco-dropdown-trigger") define.alias("artdeco-dropdown/components/artdeco-dropdown","feed/components/artdeco-dropdown") define.alias("artdeco-empty-state/components/artdeco-empty-state","feed/components/artdeco-empty-state") define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-badge","feed/components/artdeco-entity-lockup-badge") define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-caption","feed/components/artdeco-entity-lockup-caption") define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-content","feed/components/artdeco-entity-lockup-content") define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-image","feed/components/artdeco-entity-lockup-image") define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-metadata","feed/components/artdeco-entity-lockup-metadata") define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-subtitle","feed/components/artdeco-entity-lockup-subtitle") define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-title","feed/components/artdeco-entity-lockup-title") define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup","feed/components/artdeco-entity-lockup") define.alias("artdeco-entity-pile/components/artdeco-entity-pile","feed/components/artdeco-entity-pile") define.alias("artdeco-hoverables/components/artdeco-hoverable-content","feed/components/artdeco-hoverable-content") define.alias("artdeco-hoverables/components/artdeco-hoverable-trigger","feed/components/artdeco-hoverable-trigger") define.alias("artdeco-inline-feedback/components/artdeco-inline-feedback","feed/components/artdeco-inline-feedback") define.alias("artdeco-loader/components/artdeco-loader","feed/components/artdeco-loader") define.alias("artdeco-modal/components/container","feed/components/artdeco-modal-container") define.alias("artdeco-modal/components/artdeco-modal-content","feed/components/artdeco-modal-content") define.alias("artdeco-modal/components/artdeco-modal-footer","feed/components/artdeco-modal-footer") define.alias("artdeco-modal/components/artdeco-modal-header","feed/components/artdeco-modal-header") define.alias("artdeco-modal/components/artdeco-modal","feed/components/artdeco-modal") define.alias("artdeco-notification-badge/components/artdeco-notification-badge","feed/components/artdeco-notification-badge") define.alias("artdeco-pagination/components/artdeco-pagination-ellipsis","feed/components/artdeco-pagination-ellipsis") define.alias("artdeco-pagination/components/artdeco-pagination-indicator","feed/components/artdeco-pagination-indicator") define.alias("artdeco-pagination/components/artdeco-pagination","feed/components/artdeco-pagination") define.alias("artdeco-pill/components/artdeco-pill-choice-group","feed/components/artdeco-pill-choice-group") define.alias("artdeco-pill/components/artdeco-pill-choice","feed/components/artdeco-pill-choice") define.alias("artdeco-pill/components/artdeco-pill-dismiss","feed/components/artdeco-pill-dismiss") define.alias("artdeco-pill/components/artdeco-pill-input","feed/components/artdeco-pill-input") define.alias("artdeco-pill/components/artdeco-pill-link","feed/components/artdeco-pill-link") define.alias("artdeco-pill/components/artdeco-pill-toggle","feed/components/artdeco-pill-toggle") define.alias("artdeco-slider/components/artdeco-slider","feed/components/artdeco-slider") define.alias("ember-cli-artdeco-tabs/components/artdeco-spotlight-tab","feed/components/artdeco-spotlight-tab") define.alias("ember-cli-artdeco-tabs/components/artdeco-spotlight-tablist","feed/components/artdeco-spotlight-tablist") define.alias("ember-cli-artdeco-tabs/components/artdeco-tab","feed/components/artdeco-tab") define.alias("ember-cli-artdeco-tabs/components/artdeco-tablist","feed/components/artdeco-tablist") define.alias("ember-cli-artdeco-tabs/components/artdeco-tabpanel","feed/components/artdeco-tabpanel") define.alias("ember-cli-artdeco-tabs/components/artdeco-tabs","feed/components/artdeco-tabs") define.alias("artdeco-text-input/components/artdeco-text-input-multi","feed/components/artdeco-text-input-multi") define.alias("artdeco-text-input/components/artdeco-text-input-single","feed/components/artdeco-text-input-single") define.alias("artdeco-text-input/components/artdeco-text-input","feed/components/artdeco-text-input") define.alias("artdeco-toast/components/artdeco-toast-item","feed/components/artdeco-toast-item") define.alias("artdeco-toast/components/artdeco-toasts","feed/components/artdeco-toasts") define.alias("artdeco-toggle/components/artdeco-toggle","feed/components/artdeco-toggle") define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-input","feed/components/artdeco-typeahead-input") define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-result","feed/components/artdeco-typeahead-result") define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-results-list","feed/components/artdeco-typeahead-results-list") define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead","feed/components/artdeco-typeahead") define("feed/components/binary-toggler",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","tracked-toolbox","@glimmer/component","@ember/object","@ember/helper"],(function(e,t,i,n,r,o,l,a,s,d,c){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var u,p,m e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"AXcfuz8k",block:'[[[1,"\\n "],[11,0],[16,0,[29,[[52,[30,0,["isActive"]],"is-active"]]]],[17,1],[12],[1,"\\n "],[18,2,[[30,0,["isActive"]],[28,[32,0],null,[["activate","deactivate","toggle"],[[30,0,["activate"]],[30,0,["deactivate"]],[30,0,["toggle"]]]]]]],[1,"\\n "],[13],[1,"\\n "]],["&attrs","&default"],false,["if","yield"]]',moduleName:"feed/components/binary-toggler.gjs",scope:()=>[c.hash],isStrictMode:!0}),(u=(0,a.localCopy)("args.isActive",!0),p=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"isActive",m,this)}activate(){this.isActive=!0}deactivate(){this.isActive=!1}toggle(){this.isActive=!this.isActive}},m=(0,n.default)(p.prototype,"isActive",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(p.prototype,"activate",[d.action],Object.getOwnPropertyDescriptor(p.prototype,"activate"),p.prototype),(0,n.default)(p.prototype,"deactivate",[d.action],Object.getOwnPropertyDescriptor(p.prototype,"deactivate"),p.prototype),(0,n.default)(p.prototype,"toggle",[d.action],Object.getOwnPropertyDescriptor(p.prototype,"toggle"),p.prototype),p))})) define.alias("ember-semaphore/components/block-profile","feed/components/block-profile") define.alias("ember-semaphore/components/cleared-content-modal-v2","feed/components/cleared-content-modal-v2") define.alias("ember-semaphore/components/cleared-content-modal","feed/components/cleared-content-modal") define("feed/components/creator-dashboard-link",["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/utils","@ember/debug","@ember/object","@ember/service","@glimmer/component","ember-engines/components/link-to-external","ember-cli-pemberly-tracking/modifiers/track-interaction","@ember/modifier"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var g,b,y e.default=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"mo4QJ44o",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"display-flex align-items-baseline feed-creator-dashboard-link"],[17,1],[4,[32,1],["enter_creator_dashboard"],null],[4,[32,2],["click",[30,0,["onLinkClick"]]],null]],[["@route"],["creator-dashboard"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"text-align-left"],[12],[1,"\\n "],[10,2],[14,0,"t-14 t-black t-bold"],[12],[1,"\\n "],[10,"strong"],[12],[1,"\\n "],[1,[30,2,["headline","text"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,2],[14,0,"t-12 t-black--light t-normal"],[12],[1,"\\n "],[1,[30,2,["ctaText","text"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","@widget"],false,[]]',moduleName:"feed/components/creator-dashboard-link.gjs",scope:()=>[m.default,f.default,h.on],isStrictMode:!0}),(g=(0,u.inject)("lego@tracking"),b=class extends p.default{constructor(){super(...arguments);(0,t.default)(this,"legoTracking",y,this)}onLinkClick(){var e const t=null===(e=this.args.widget)||void 0===e?void 0:e.legoTrackingToken if(t){var i null===(i=this.legoTracking)||void 0===i||i.sendLegoAction(t,this.legoTracking.LEGO_ACTION_PRIMARY,1)}}},y=(0,n.default)(b.prototype,"legoTracking",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(b.prototype,"onLinkClick",[c.action],Object.getOwnPropertyDescriptor(b.prototype,"onLinkClick"),b.prototype),b))})) define.alias("ember-vector-images/components/custom-image","feed/components/custom-image") define("feed/components/draggable-object-target",["exports","ember-drag-drop/components/draggable-object-target"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=t.default})) define("feed/components/draggable-object",["exports","ember-drag-drop/components/draggable-object"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=t.default})) define.alias("ember-cloud-filepicker/components/dropbox-file-picker","feed/components/dropbox-file-picker") define.alias("ember-semaphore/components/ember-semaphore","feed/components/ember-semaphore") define.alias("ember-wormhole/components/ember-wormhole","feed/components/ember-wormhole") define("feed/components/end-of-feed-dsa",["exports","@ember/template-factory","@ember/helper","@ember/component/template-only","@ember/component","ember-cli-pemberly-i18n/helpers/t","@ember/modifier","ember-cli-pemberly-tracking/modifiers/track-interaction"],(function(e,t,i,n,r,o,l,a){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const s=(0,r.setComponentTemplate)((0,t.createTemplateFactory)({id:"KBdj9iSj",block:'[[[1,"\\n"],[1," "],[10,0],[14,0,"feed-end-of-feed-dsa text-align-center"],[12],[1,"\\n "],[10,2],[14,0,"feed-end-of-feed-dsa__message t-14"],[12],[1,[28,[32,0],["i18_no_more","feed/components/end-of-feed-dsa"],null]],[13],[1,"\\n "],[11,"button"],[24,0,"feed-end-of-feed-dsa__button artdeco-button artdeco-button--secondary artdeco-button--muted t-16 t-black t-normal"],[24,4,"button"],[4,[32,1],["click",[30,1]],null],[4,[32,2],["feed_end_set_relevant"],null],[12],[1,"\\n "],[1,[28,[32,0],["i18_switch_to_most_relevant","feed/components/end-of-feed-dsa"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],["@onButtonClick"],false,[]]',moduleName:"feed/components/end-of-feed-dsa.gjs",scope:()=>[o.default,l.on,a.default],isStrictMode:!0}),(0,n.default)("end-of-feed-dsa","EndOfFeedDsa")) e.default=s})) define("feed/components/errors/no-longer-available",["exports","@ember/template-factory","@ember/helper","@ember/component/template-only","@ember/component","ember-cli-pemberly-i18n/helpers/t","ember-engines/components/link-to-external","ember-cli-pemberly-tracking/modifiers/track-interaction"],(function(e,t,i,n,r,o,l,a){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const s=(0,r.setComponentTemplate)((0,t.createTemplateFactory)({id:"I0QoXxVe",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"feed-error-no-longer-available"],[17,1],[12],[1,"\\n "],[10,0],[14,0,"feed-error-no-longer-available__illustration"],[12],[13],[1,"\\n "],[10,1],[14,0,"feed-error-no-longer-available__message mt5"],[12],[1,[28,[32,0],["i18n_error_no_longer_available","feed/components/errors/no-longer-available"],null]],[13],[1,"\\n "],[8,[32,1],[[24,0,"feed-error-no-longer-available__button artdeco-button mt5"],[4,[32,2],["error_page_go_to_feed"],null]],[["@route"],["feed"]],[["default"],[[[[1,"\\n "],[1,[28,[32,0],["i18n_navigation_go_to_feed","feed/components/errors/no-longer-available"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],["&attrs"],false,[]]',moduleName:"feed/components/errors/no-longer-available.gjs",scope:()=>[o.default,l.default,a.default],isStrictMode:!0}),(0,n.default)("no-longer-available","NoLongerAvailable")) e.default=s})) define("feed/components/feed-i18n-constants",["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 r=(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"oWPAk3R1",block:'[[[1,"\\n"],[1,"\\n"],[1,"\\n"],[1," "]],[],false,[]]',moduleName:"feed/components/feed-i18n-constants.gjs",isStrictMode:!0}),(0,i.default)("feed-i18n-constants","FeedI18nConstants")) e.default=r})) define("feed/components/feed-skip-link",["exports","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/template-factory","@ember/helper","@ember/component","@ember/object","ember-lifeline","global-utils/utils/is-browser","@glimmer/component","artdeco-button/components/artdeco-button","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-interaction","@ember/modifier"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var m e.default=(0,r.setComponentTemplate)((0,i.createTemplateFactory)({id:"x5oXynSR",block:'[[[1,"\\n"],[1," "],[10,"h2"],[14,0,"feed-skip-link__container"],[12],[1,"\\n "],[8,[32,0],[[24,0,"feed-skip-link"],[4,[32,2],["click",[30,0,["skipToLinkedInNews"]]],null],[4,[32,3],["feed_skip_link"],null]],[["@type","@color","@text"],["secondary","muted",[28,[32,1],["skip_to_li_news","feed/components/feed-skip-link"],null]]],null],[1,"\\n "],[13],[1,"\\n "]],[],false,[]]',moduleName:"feed/components/feed-skip-link.gjs",scope:()=>[d.default,c.default,p.on,u.default],isStrictMode:!0}),(m=class extends s.default{constructor(){super(...arguments) this.boundBlurHandler=this.blurHandler.bind(this)}skipToLinkedInNews(){const e=a.default&&document.getElementById("feed-news-module") if(e){const t=!e.hasAttribute("tabindex") t&&e.setAttribute("tabindex",-1) this.hasNoTabindex=t;(0,l.addEventListener)(this,e,"blur",this.boundBlurHandler,!1) e.focus()}}blurHandler(e){const t=e.target this.hasNoTabindex&&t.removeAttribute("tabindex");(0,l.removeEventListener)(this,t,"blur",this.boundBlurHandler,!1)}},(0,t.default)(m.prototype,"skipToLinkedInNews",[o.action],Object.getOwnPropertyDescriptor(m.prototype,"skipToLinkedInNews"),m.prototype),m))})) define.alias("ember-cloud-filepicker/components/file-picker","feed/components/file-picker") define("feed/components/filter-feed-pills",["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","feed/utils/constants","@glimmer/component","@ember/service","@ember/object","artdeco-pill/components/artdeco-pill-choice-group","@ember/modifier","@ember/helper"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var f,h,g,b,y e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"HRUGcAsX",block:'[[[1,"\\n "],[11,0],[17,1],[24,0,"feed-filter-feed-pills"],[12],[1,"\\n "],[8,[32,0],[[24,0,"display-flex"]],[["@onSelect","@selection"],[[30,0,["onTogglePill"]],[30,2]]],[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["filterFeedOptions"]]],null]],null],null,[[[1," "],[8,[30,3,["choice-pill"]],[[24,0,"block mr2"],[4,[32,1],["click",[28,[32,2],[[30,0,["fireInteractionEvent"]],[30,4,["filterFeedTypeUrn"]]],null]],null]],[["@a11yText","@text","@value","@size"],[[30,4,["text","text"]],[30,4,["text","text"]],[30,4,["filterFeedTypeUrn"]],3]],null],[1,"\\n"]],[4]],null],[1," "]],[3]]]]],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@selectedFilterUrn","group","filterFeedOption"],false,["each","-track-array"]]',moduleName:"feed/components/filter-feed-pills.gjs",scope:()=>[u.default,p.on,m.fn],isStrictMode:!0}),(f=(0,d.inject)("tracking"),h=(0,d.inject)("i18n"),g=class e extends s.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",b,this);(0,t.default)(this,"i18n",y,this)}get filterFeedOptions(){return this.args.filterFeedOptions??[]}onTogglePill(e){var t,i const n=this.filterFeedOptions.find((t=>t.filterFeedTypeUrn===e)) null===(t=(i=this.args).onTogglePill)||void 0===t||t.call(i,n)}fireInteractionEvent(e){this.tracking.fireInteractionEvent(a.controlNameForFilterFeedTypeUrn[e])}_lookupTranslation(t){return this.i18n.lookupTranslation(e,t)()}},b=(0,n.default)(g.prototype,"tracking",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,n.default)(g.prototype,"i18n",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(g.prototype,"onTogglePill",[c.action],Object.getOwnPropertyDescriptor(g.prototype,"onTogglePill"),g.prototype),(0,n.default)(g.prototype,"fireInteractionEvent",[c.action],Object.getOwnPropertyDescriptor(g.prototype,"fireInteractionEvent"),g.prototype),g))})) define.alias("ember-finite-scroll/components/finite-scroll","feed/components/finite-scroll") define("feed/components/follows-module-recommendation-dash",["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/component","@ember/object/internals","@ember/object","@ember/debug","@ember/service","ember-cli-pemberly-tracking/modifiers/track-impression","ember-cli-pemberly-tracking/modifiers/rum-render-event","ember-engines/components/link-to-external","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-vector-images/components/lazy-image","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t","ember-line-clamp/components/line-clamp","@ember/helper","follows/components/follow-button"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b,y,v,_,w){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var E,S,T const C=Object.freeze({ORGANIZATION:"EntityPhoto-circle-3",MEMBER:"EntityPhoto-circle-3"}) e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"lcaqKOri",block:'[[[1,"\\n"],[1," "],[11,"li"],[16,0,[29,["feed-follows-module-recommendation\\n ",[30,0,["recommendationType"]],"\\n ",[52,[30,1],"feed-follows-module-recommendation__fade-out"],"\\n ",[52,[30,2],"feed-follows-module-recommendation__fade-in"],"\\n "]]],[17,3],[4,[32,0],null,[["registerOnImpression","routeName","currentRoute"],[[30,0,["getFollowImpressionEventPayload"]],[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[4,[32,2],null,[["rumComponentId","elementId"],[[30,0,["rumComponentId"]],[30,0,["elementId"]]]]],[12],[1,"\\n "],[8,[32,3],[[24,0,"feed-follows-module-recommendation__profile-link--avatar"],[4,[32,4],["sidebar_follow_actor_picture"],null]],[["@route","@model"],[[30,0,["recommendationLinkRoute"]],[30,0,["recommendationLinkModel"]]]],[["default"],[[[[1,"\\n "],[8,[32,5],[[16,0,[30,0,["photoClass"]]]],[["@image","@alt","@ghostType","@width","@height"],[[30,0,["recommendationImage"]],[30,0,["recommendationName"]],[52,[30,0,["isMember"]],"person",[30,0,["recommendationType"]]],48,48]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[10,0],[14,0,"feed-follows-module-recommendation__description"],[12],[1,"\\n "],[8,[32,3],[[24,0,"feed-follows-module-recommendation__profile-link--description"],[4,[32,4],["sidebar_follow_actor"],null]],[["@route","@model"],[[30,0,["recommendationLinkRoute"]],[30,0,["recommendationLinkModel"]]]],[["default"],[[[[1,"\\n "],[10,2],[14,0,"feed-follows-module-recommendation__name-container break-words t-14 t-black t-bold"],[12],[1,"\\n "],[10,1],[14,0,"feed-follows-module-recommendation__name t-14 t-black t-bold"],[12],[1,"\\n\\n "],[1,[30,0,["recommendationName"]]],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["isInfluencer"]],[[[1," "],[10,1],[14,0,"feed-follows-module-recommendation__influencer-badge"],[12],[1,"\\n "],[8,[32,6],null,[["@a11yText","@type","@size","@name"],[[28,[32,7],["is_a_top_voice","feed/components/follows-module-recommendation-dash"],[["influencer"],[[30,0,["recommendationName"]]]]],"system","small","linkedin-bug-influencer-color"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,0],[14,0,"feed-follows-module-recommendation__subtext break-words"],[12],[1,"\\n"],[41,[30,0,["headline"]],[[[1," "],[8,[32,8],[[24,0,"feed-follows-module-recommendation__member-headline t-12 t-black--light t-normal"]],[["@text","@lines","@tagName","@interactive"],[[30,0,["headline"]],2,"p",false]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isCompany"]],[[[44,[[28,[32,1],[[30,0,["recommendation","content","organization","industryV2Taxonomy"]],"0"],null]],[[[1," "],[8,[32,8],[[24,0,"t-12 t-black--light t-normal"]],[["@lines","@interactive","@tagName","@text"],[2,false,"p",[52,[30,4],[28,[32,7],["company_and_industry","feed/components/follows-module-recommendation-dash"],[["industry"],[[30,4,["name"]]]]],[28,[32,7],["company","feed/components/follows-module-recommendation-dash"],null]]]],null],[1,"\\n"]],[4]]]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[12],[1,"\\n "],[8,[32,9],[[24,0,"feed-follows-module-recommendation__follow-btn artdeco-button artdeco-button--secondary artdeco-button--2 artdeco-button--muted"]],[["@isFollowing","@iconType","@showText","@controlName","@toggleFollow"],[[30,0,["recommendation","followingState","following"]],"add",true,"sidebar_follow_actor_follow_toggle",[30,0,["onToggleFollow"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@isFadingOut","@isFadingIn","&attrs","industry"],false,["if","-get-dynamic-var","let"]]',moduleName:"feed/components/follows-module-recommendation-dash.gjs",scope:()=>[p.default,_.get,m.default,f.default,h.default,g.default,b.default,y.default,v.default,w.default],isStrictMode:!0}),(E=(0,u.inject)("formatter"),S=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"formatter",T,this);(0,i.default)(this,"elementId",(0,s.guidFor)(this));(0,i.default)(this,"rumComponentId","feed/follows-module-recommendation")}get isCompany(){return"ORGANIZATION"===this.recommendation.type}get isMember(){return"MEMBER"===this.recommendation.type}get recommendationImage(){var e,t,i,n,r return(null===(e=this.recommendation.content.member)||void 0===e||null===(t=e.profilePicture)||void 0===t||null===(i=t.displayImageReferenceResolutionResult)||void 0===i?void 0:i.vectorImage)??(null===(n=this.recommendation.content.organization)||void 0===n||null===(r=n.logoResolutionResult)||void 0===r?void 0:r.vectorImage)}get followEntityUrn(){var e,t,i,n return(null===(e=this.recommendation.content)||void 0===e||null===(t=e.member)||void 0===t?void 0:t.entityUrn)??(null===(i=this.recommendation.content)||void 0===i||null===(n=i.organization)||void 0===n?void 0:n.entityUrn)}get recommendation(){return this.args.recommendation}get recommendationType(){return this.recommendation.type}get photoClass(){return C[this.recommendationType]}get recommendationName(){if(this.isMember){const e={firstName:this.recommendation.content.member.firstName,lastName:this.recommendation.content.member.lastName,maidenName:this.recommendation.content.member.maidenName} return this.formatter.formatName(e,"full")}return this.isCompany?this.recommendation.content.organization.name:null}get recommendationLinkRoute(){return this.isMember?"profile.common.profile":this.isCompany?"companies.company":null}get recommendationLinkModel(){if(this.isMember){var e,t return null===(e=this.recommendation.content)||void 0===e||null===(t=e.member)||void 0===t?void 0:t.publicIdentifier}if(this.isCompany){var i,n return null===(i=this.recommendation.content)||void 0===i||null===(n=i.organization)||void 0===n?void 0:n.universalName}return null}get headline(){var e,t return null===(e=this.recommendation.content)||void 0===e||null===(t=e.member)||void 0===t?void 0:t.headline}get isInfluencer(){var e,t return null===(e=this.recommendation.content)||void 0===e||null===(t=e.member)||void 0===t?void 0:t.influencer}getFollowImpressionEventPayload(){var e const t=null===(e=this.recommendation)||void 0===e?void 0:e.trackingId,i=this.args.position+1 return()=>({name:"FollowImpressionEvent",body:{displayModule:"FOLLOW_MODULE_ON_DESKTOP_SIDE_BAR",entities:[{trackingId:t,followEntityUrn:this.followEntityUrn,gridPosition:{row:i,column:1}}]}})}onToggleFollow(){var e,t null===(e=(t=this.args).toggleFollow)||void 0===e||e.call(t,this.args.recommendation,this.args.position)}},T=(0,n.default)(S.prototype,"formatter",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(S.prototype,"getFollowImpressionEventPayload",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"getFollowImpressionEventPayload"),S.prototype),(0,n.default)(S.prototype,"onToggleFollow",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"onToggleFollow"),S.prototype),S))})) define("feed/components/follows-module-recommendation",["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","data-layer/helpers/feed/recommendation-type","@glimmer/component","@ember/object/internals","@ember/object","@ember/service","ember-cli-pemberly-tracking/modifiers/track-impression","ember-cli-pemberly-tracking/modifiers/rum-render-event","ember-engines/components/link-to-external","follows/helpers/recommendation-profile-route","global-helpers/helpers/urn-to-id","feed-utils/helpers/profile-id","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-vector-images/components/lazy-image","hashtag-a11y/components/hashtag-a11y","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t","ember-line-clamp/components/line-clamp","@ember/helper","follows/components/follow-button"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b,y,v,_,w,E,S,T,C){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var O,P,k const D=Object.freeze({topic:"EntityPhoto-square-3",company:"EntityPhoto-circle-3",member:"EntityPhoto-circle-3"}) e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"jqdnSBfl",block:'[[[1,"\\n"],[1," "],[11,"li"],[16,0,[29,["feed-follows-module-recommendation\\n ",[30,0,["recommendationType"]],"\\n ",[52,[30,1,["isFadingOut"]],"feed-follows-module-recommendation__fade-out"],"\\n ",[52,[30,1,["isFadingIn"]],"feed-follows-module-recommendation__fade-in"],"\\n "]]],[17,2],[4,[32,0],null,[["registerOnImpression","routeName","currentRoute"],[[30,0,["getFollowImpressionEventPayload"]],[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[4,[32,2],null,[["rumComponentId","elementId"],[[30,0,["rumComponentId"]],[30,0,["elementId"]]]]],[12],[1,"\\n "],[8,[32,3],[[24,0,"feed-follows-module-recommendation__profile-link--avatar"],[4,[32,7],["sidebar_follow_actor_picture"],null]],[["@route","@model"],[[28,[32,4],[[30,0,["recommendation"]]],null],[52,[30,0,["isTopic"]],[28,[32,5],[[30,0,["recommendation","topic","backendUrn"]]],null],[28,[32,6],[[30,0,["recommendation"]]],null]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["isTopicWithoutImage"]],[[[1," "],[10,0],[14,0,"feed-follows-module-recommendation__hashtag-icon"],[12],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,8],[[16,0,[30,0,["photoClass"]]]],[["@image","@alt","@ghostType","@width","@height"],[[30,0,["recommendationImage"]],[30,0,["recommendationName"]],[52,[30,0,["isMember"]],"person",[30,0,["recommendationType"]]],48,48]],null],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[10,0],[14,0,"feed-follows-module-recommendation__description"],[12],[1,"\\n "],[8,[32,3],[[24,0,"feed-follows-module-recommendation__profile-link--description"],[4,[32,7],["sidebar_follow_actor"],null]],[["@route","@model"],[[28,[32,4],[[30,0,["recommendation"]]],null],[52,[30,0,["isTopic"]],[28,[32,5],[[30,0,["recommendation","topic","backendUrn"]]],null],[28,[32,6],[[30,0,["recommendation"]]],null]]]],[["default"],[[[[1,"\\n "],[10,2],[14,0,"feed-follows-module-recommendation__name-container break-words t-14 t-black t-bold"],[12],[1,"\\n "],[10,1],[14,0,"feed-follows-module-recommendation__name t-14 t-black t-bold"],[12],[1,"\\n"],[41,[30,0,["isTopic"]],[[[1," "],[8,[32,9],null,[["@hashtag"],[[30,0,["recommendationName"]]]],null],[1,"\\n"]],[]],[[[1," "],[1,[30,0,["recommendationName"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"],[41,[30,0,["recommendation","influencer"]],[[[1," "],[10,1],[14,0,"feed-follows-module-recommendation__influencer-badge"],[12],[1,"\\n "],[8,[32,10],null,[["@a11yText","@type","@size","@name"],[[28,[32,11],["is_a_top_voice","feed/components/follows-module-recommendation"],[["influencer"],[[30,0,["recommendationName"]]]]],"system","small","linkedin-bug-influencer-color"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,0],[14,0,"feed-follows-module-recommendation__subtext break-words"],[12],[1,"\\n"],[41,[30,0,["recommendation","miniProfile","occupation"]],[[[1," "],[8,[32,12],[[24,0,"feed-follows-module-recommendation__member-headline t-12 t-black--light t-normal"]],[["@text","@lines","@tagName","@interactive"],[[30,0,["recommendation","miniProfile","occupation"]],2,"p",false]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isCompany"]],[[[44,[[28,[32,1],[[30,0,["recommendation","industries"]],"0"],null]],[[[1," "],[8,[32,12],[[24,0,"t-12 t-black--light t-normal"]],[["@lines","@interactive","@tagName","@text"],[2,false,"p",[52,[30,3],[28,[32,11],["company_and_industry","feed/components/follows-module-recommendation"],[["industry"],[[30,3]]]],[28,[32,11],["company","feed/components/follows-module-recommendation"],null]]]],null],[1,"\\n"]],[3]]]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[12],[1,"\\n "],[8,[32,13],[[24,0,"feed-follows-module-recommendation__follow-btn artdeco-button artdeco-button--secondary artdeco-button--2 artdeco-button--muted"]],[["@isFollowing","@iconType","@showText","@controlName","@toggleFollow"],[[30,0,["recommendation","following"]],"add",true,"sidebar_follow_actor_follow_toggle",[30,0,["onToggleFollow"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["@model","&attrs","industry"],false,["if","-get-dynamic-var","let"]]',moduleName:"feed/components/follows-module-recommendation.gjs",scope:()=>[p.default,T.get,m.default,f.default,h.default,g.default,b.default,y.default,v.default,_.default,w.default,E.default,S.default,C.default],isStrictMode:!0}),(O=(0,u.inject)("formatter"),P=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"formatter",k,this);(0,i.default)(this,"elementId",(0,d.guidFor)(this));(0,i.default)(this,"rumComponentId","feed/follows-module-recommendation")}get isCompany(){return"company"===this.recommendationType}get isMember(){return"member"===this.recommendationType}get isTopic(){return"topic"===this.recommendationType}get isTopicWithoutImage(){var e return this.isTopic&&!(null!==(e=this.recommendation.topic)&&void 0!==e&&e.image)}get recommendationImage(){var e,t,i return(null===(e=this.recommendation.miniProfile)||void 0===e?void 0:e.picture)??(null===(t=this.recommendation.miniCompany)||void 0===t?void 0:t.logo)??(null===(i=this.recommendation.topic)||void 0===i?void 0:i.image)}get followEntityUrn(){var e,t,i return(null===(e=this.recommendation.miniProfile)||void 0===e?void 0:e.objectUrn)??(null===(t=this.recommendation.miniCompany)||void 0===t?void 0:t.objectUrn)??(null===(i=this.recommendation.topic)||void 0===i?void 0:i.backendUrn)}get recommendation(){return this.args.model.recommendedEntity}get recommendationType(){return(0,a.getRecommendationType)(this.recommendation)}get photoClass(){return D[this.recommendationType]}get recommendationName(){var e,t const i=null===(e=this.recommendation.topic)||void 0===e?void 0:e.name,n=null===(t=this.recommendation.miniCompany)||void 0===t?void 0:t.name,{miniProfile:r}=this.recommendation,o=r&&{firstName:r.firstName,lastName:r.lastName,maidenName:r.maidenName} return o&&this.formatter.formatName(o,"full")||n||i}getFollowImpressionEventPayload(){var e,t,i const n=null===(e=this.recommendation)||void 0===e?void 0:e.trackingId,r=null===(t=this.recommendation)||void 0===t||null===(i=t.followingInfo)||void 0===i?void 0:i.trackingUrn,o=this.args.position+1 return()=>({name:"FollowImpressionEvent",body:{displayModule:"FOLLOW_MODULE_ON_DESKTOP_SIDE_BAR",entities:[{trackingId:n,followEntityUrn:r,gridPosition:{row:o,column:1}}]}})}onToggleFollow(){var e,t null===(e=(t=this.args).toggleFollow)||void 0===e||e.call(t,this.args.model,this.args.position)}},k=(0,n.default)(P.prototype,"formatter",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(P.prototype,"getFollowImpressionEventPayload",[c.action],Object.getOwnPropertyDescriptor(P.prototype,"getFollowImpressionEventPayload"),P.prototype),(0,n.default)(P.prototype,"onToggleFollow",[c.action],Object.getOwnPropertyDescriptor(P.prototype,"onToggleFollow"),P.prototype),P))})) define("feed/components/follows-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","tracked-toolbox","feed-utils/utils/constants","ember-lifeline","feed-requests/update-actions","data-layer/helpers/feed/recommendation-type","global-utils/utils/url","follows/utils/follow-tracking","@glimmer/component","@ember/object/internals","@ember/object","@ember/service","@ember/destroyable","ember-scroll-modifiers/modifiers/did-intersect","ember-cli-pemberly-tracking/modifiers/rum-render-event","ember-cli-pemberly-i18n/helpers/t","artdeco-hoverables/components/artdeco-hoverable-trigger","ember-cli-pemberly-tracking/modifiers/track-interaction","hue-web-icons/components/icon","@ember/helper","feed/components/follows-module-recommendation","feed/components/follows-module-recommendation-dash","ember-engines/components/link-to-external","tracked-built-ins"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b,y,v,_,w,E,S,T,C,O,P,k,D){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var I,M,U,x,N,F,R,A,j,L,z const q=["member","company","topic"],H=["MEMBER","ORGANIZATION"] e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"yiKCjiYf",block:'[[[1,"\\n"],[1," "],[11,0],[17,1],[4,[32,0],null,[["onEnter"],[[30,0,["onImpression"]]]]],[4,[32,1],null,[["rumComponentId","elementId"],[[30,0,["rumComponentId"]],[30,0,["elementId"]]]]],[12],[1,"\\n"],[41,[30,0,["recsToShow"]],[[[1," "],[10,0],[14,0,"feed-follows-module"],[12],[1,"\\n "],[10,0],[14,0,"feed-follows-module__title display-flex"],[12],[1,"\\n "],[10,"h2"],[14,0,"t-16 t-black t-bold"],[12],[1,"\\n "],[1,[28,[32,2],["add_to_feed","feed/components/follows-module"],null]],[1,"\\n "],[13],[1,"\\n"],[41,[30,2],[[[1," "],[8,[32,3],null,[["@on","@placement","@to","@for"],["click","left",[30,2],"feed-follows-module__tooltip-v2"]],[["default"],[[[[1,"\\n "],[11,"button"],[16,"aria-controls",[30,3,["ariaId"]]],[16,"aria-expanded",[30,3,["ariaExpanded"]]],[16,"aria-label",[28,[32,2],["tooltip_a11y_label","feed/components/follows-module"],null]],[24,0,"feed-follows-module__tooltip-icon-button"],[24,4,"button"],[4,[32,4],["sidebar_follow_tooltip"],null],[12],[1,"\\n "],[8,[32,5],null,[["@type","@size","@name"],["system","small","signal-notice"]],null],[1,"\\n "],[13],[1,"\\n "],[8,[30,3,["artdeco-hoverable-content"]],null,[["@to","@contentClass","@theme","@id"],[[30,2],"feed-follows-module__tooltip-content","inverse","feed-follows-module__tooltip-v2"]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["tooltip_v2","feed/components/follows-module"],[["linkTo"],[[28,[32,6],null,[["href","target","data-test-feed-follows-module-tooltip-help-link"],[[30,0,["helpCenterLink"]],"_blank","true"]]]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,"ul"],[14,0,"feed-follows-module__list"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["recsToShow"]]],null]],null],null,[[[41,[30,0,["isRichRecommendedEntitiesGraphQLEnabled"]],[[[1," "],[8,[32,7],null,[["@recommendation","@position","@toggleFollow"],[[30,4],[30,5],[30,0,["toggleFollow"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,8],null,[["@model","@position","@toggleFollow"],[[30,4],[30,5],[30,0,["toggleFollow"]]]],null],[1,"\\n"]],[]]]],[4,5]],null],[1," "],[13],[1,"\\n "],[8,[32,9],[[24,0,"feed-follows-module__view-all artdeco-button artdeco-button--1 artdeco-button--tertiary artdeco-button--muted"],[4,[32,4],["sidebar_discover_hub_recommendations"],null]],[["@route"],["mynetwork.discover-hub"]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["view_all_recommendations","feed/components/follows-module"],null]],[1,"\\n "],[8,[32,5],[[24,0,"v-align-middle"]],[["@type","@size","@name"],["system","small","arrow-right"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["&attrs","@customHovercardOutletId","trigger","recommendation","recIndex"],false,["if","each","-track-array"]]',moduleName:"feed/components/follows-module.gjs",scope:()=>[v.default,_.default,w.default,E.default,S.default,T.default,C.hash,P.default,O.default,k.default],isStrictMode:!0}),(I=(0,b.inject)("pem-tracking"),M=(0,b.inject)("global-services@store-shim"),U=(0,b.inject)("tracking"),x=(0,b.inject)("lix"),N=(0,a.localCopy)("args.maxLength",3),F=class extends f.default{get isRichRecommendedEntitiesGraphQLEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-rich-recommended-entities-graphql")}constructor(){super(...arguments);(0,t.default)(this,"pemTracking",R,this);(0,t.default)(this,"storeShim",A,this);(0,t.default)(this,"tracking",j,this);(0,t.default)(this,"lix",L,this);(0,t.default)(this,"maxLength",z,this);(0,i.default)(this,"elementId",(0,h.guidFor)(this));(0,i.default)(this,"isStuck",void 0);(0,i.default)(this,"rumComponentId","feed/follows-module");(0,i.default)(this,"helpCenterLink",`https://${(0,p.getDomain)()}/help/linkedin/answer/a528074`);(0,i.default)(this,"recsToShow",new D.TrackedArray([])) const e=new D.TrackedArray(this.args.recommendations||[]).filter((e=>this.isRichRecommendedEntitiesGraphQLEnabled?H.includes(e.type):q.includes((0,u.getRecommendationType)(e.recommendedEntity)))) this.backupRecs=e if(e.length>=2){this.recsToShow=e.slice(0,this.maxLength) this.backupRecs=e.slice(this.maxLength)}}onImpression(){this.recsToShow.length&&this.tracking.firePageViewEvent("flagship3_sidebar_follow")}toggleFollow(e,t){if(this.isRichRecommendedEntitiesGraphQLEnabled){const i=!e.followingState.following,[n,r,o]=(0,c.toggleFollowWithFollowingInfoRequest)(e.followingState,"NON_SSU",!1,!0),l=this.storeShim.adapterFor("-ember-m3").ajax(n,r,o),a=[s.DEGRADATION_TRACKING_METADATA.FOLLOWS_MODULE] this.pemTracking.trackFeatureDegradations(n,[],a,l) l.then((()=>{if(!(0,y.isDestroying)(this)&&i&&this.backupRecs.length){const i=this.backupRecs.shiftObject() this.isFadingIn=i.entityUrn this.isFadingOut=e.entityUrn;(0,d.runTask)(this,(()=>{this.recsToShow&&this.recsToShow.replace(t,1,[i])}),334)}}));(0,m.fireFollowActionEvent)(this.tracking,e.trackingId,i)}else{const i=e.recommendedEntity,n=!i.following,[r,o,l]=(0,c.toggleFollowWithFollowingInfoRequest)(i.followingInfo,"NON_SSU"),a=this.storeShim.adapterFor("-ember-m3").ajax(r,o,l),u=[s.DEGRADATION_TRACKING_METADATA.FOLLOWS_MODULE] this.pemTracking.trackFeatureDegradations(r,[],u,a) a.then((()=>{if(!(0,y.isDestroying)(this)&&n&&this.backupRecs.length){const i=this.backupRecs.shiftObject();(0,g.set)(i,"isFadingIn",!0);(0,g.set)(e,"isFadingOut",!0);(0,d.runTask)(this,(()=>{this.recsToShow&&this.recsToShow.replace(t,1,[i])}),334)}}));(0,m.fireFollowActionEvent)(this.tracking,i.trackingId,n)}}},R=(0,n.default)(F.prototype,"pemTracking",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,n.default)(F.prototype,"storeShim",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,n.default)(F.prototype,"tracking",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,n.default)(F.prototype,"lix",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,n.default)(F.prototype,"maxLength",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(F.prototype,"onImpression",[g.action],Object.getOwnPropertyDescriptor(F.prototype,"onImpression"),F.prototype),(0,n.default)(F.prototype,"toggleFollow",[g.action],Object.getOwnPropertyDescriptor(F.prototype,"toggleFollow"),F.prototype),F))})) define.alias("ember-cloud-filepicker/components/google-drive-file-picker","feed/components/google-drive-file-picker") define("feed/components/hashtag-info-card",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","hashtag-a11y/utils/generate-hashtag-a11y-string","@ember/object","@glimmer/component","@ember/service","ember-vector-images/components/lazy-image","hashtag-a11y/components/hashtag-a11y","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-i18n/helpers/format-number","follows/components/follow-button","feed-control-menu/components/control-menu"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var b,y,v,_,w e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"nFXcGaR2",block:'[[[1,"\\n"],[1," "],[10,0],[14,0,"display-flex justify-space-between"],[12],[1,"\\n "],[10,0],[14,0,"display-flex"],[12],[1,"\\n "],[10,"figure"],[14,0,"ml4 mt4 mb4"],[12],[1,"\\n"],[41,[30,0,["image"]],[[[1," "],[8,[32,0],null,[["@image","@alt","@desiredWidth","@desiredHeight","@class"],[[30,0,["image"]],[30,0,["hashtagNameA11y"]],100,100,"EntityPhoto-square-6"]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"feed-hashtag-info-card__hashtag-icon EntityPhoto-square-6"],[12],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n\\n "],[10,0],[14,0,"display-flex flex-column align-items-flex-start"],[12],[1,"\\n "],[10,"h3"],[14,0,"t-20 t-black t-bold pt4 pl4"],[12],[1,"\\n "],[8,[32,1],null,[["@hashtag"],[[30,0,["topic","name"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,2],[14,0,"t-14 t-black--light t-normal pl4"],[12],[1,"\\n"],[41,[30,0,["followerCount"]],[[[1," "],[1,[28,[32,2],["num_followers","feed/components/hashtag-info-card"],[["formattedNumFollowers","numFollowers"],[[28,[32,3],[[30,0,["followerCount"]]],null],[30,0,["followerCount"]]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["i18n_be_the_first_to_follow","feed/components/hashtag-info-card"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"],[41,[30,1,["followAction"]],[[[1," "],[8,[32,4],null,[["@class","@controlName","@entityName","@isFollowing","@showIcon","@showText","@onImpressionHandler","@toggleFollow"],["artdeco-button artdeco-button--primary mt2 mb4 ml4","follow_toggle",[30,0,["hashtagNameA11y"]],[30,0,["followingState","following"]],false,true,[30,2],[30,0,["toggleFollow"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["actions"]],[[[1," "],[8,[32,5],[[24,0,"pl4 pt2 pr4"]],[["@a11yText","@menuActions"],[[28,[32,2],["i18n_a11y_more_options","feed/components/hashtag-info-card"],[["hashtagName"],[[30,0,["hashtagNameA11y"]]]]],[30,1,["actions"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@contentTopicData","@onImpressionHandler"],false,["if"]]',moduleName:"feed/components/hashtag-info-card.gjs",scope:()=>[u.default,p.default,m.default,f.default,h.default,g.default],isStrictMode:!0}),(b=(0,c.inject)("i18n"),y=(0,c.inject)("feed@content-topic-feed"),v=class extends d.default{constructor(){super(...arguments);(0,t.default)(this,"i18n",_,this);(0,t.default)(this,"contentTopicFeedService",w,this)}get hashtagNameA11y(){var e,t,i return(0,a.default)(this.i18n,this.args.isDashEnabled?null===(e=this.args.contentTopicData.topic)||void 0===e?void 0:e.name:null===(t=this.args.contentTopicData.feedTopic)||void 0===t||null===(i=t.topic)||void 0===i?void 0:i.name)}get topic(){var e return this.args.isDashEnabled?this.args.contentTopicData.topic:null===(e=this.args.contentTopicData.feedTopic)||void 0===e?void 0:e.topic}get image(){var e return null===(e=this.topic)||void 0===e?void 0:e.image}get followingState(){var e if(this.args.isDashEnabled){var t return null===(t=this.args.contentTopicData.followAction)||void 0===t?void 0:t.followingState}return null===(e=this.args.contentTopicData.followAction)||void 0===e?void 0:e.followingInfo}get followerCount(){var e return null===(e=this.followingState)||void 0===e?void 0:e.followerCount}toggleFollow(){this.contentTopicFeedService.toggleFollow(this.args.contentTopicData,this.args.isDashEnabled)}},_=(0,n.default)(v.prototype,"i18n",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,n.default)(v.prototype,"contentTopicFeedService",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(v.prototype,"toggleFollow",[s.action],Object.getOwnPropertyDescriptor(v.prototype,"toggleFollow"),v.prototype),v))})) define.alias("ember-highcharts/components/high-charts","feed/components/high-charts") define("feed/components/identity-module",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/utils","graphql-queries/queries/premium/feature-access.graphql","@ember/destroyable","ember-async-data/tracked-async-data","tracked-toolbox","@ember/object/internals","feed-requests/utils/identity-module","global-utils/utils/url","global-utils/utils/html-safe","ember-vector-images/utils/vector-url","@ember/object","@ember/service","@glimmer/tracking","@glimmer/component","ember-cli-pemberly-tracking/modifiers/rum-render-event","ember-cli-pemberly-i18n/helpers/t","ember-engines/components/link-to-external","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-vector-images/components/lazy-image","global-helpers/helpers/name","@ember/modifier","rich-text/components/attributed-text","@ember/helper","ember-cli-pemberly-tracking/components/shared/external-link","feed/components/creator-dashboard-link","entities/components/entity-items/entity-list","s-upsell/components/upsell-templates/upsell-template-container","s-upsell/components/upsell-templates-v2/upsell-template-container-v2","hue-web-icons/components/icon","feed/components/identity-widget-link"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b,y,v,_,w,E,S,T,C,O,P,k,D,I,M,U,x,N,F,R){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=e.PREMIUM_BOOMERANG_WINBACK_UPSELL_WIDGET_ID=void 0 var A,j,L,z,q,H,G,B,V,W let Q=[] const K={urlKeywords:/(https?(:\/\/)?|www\.)/i},Y={ADD_PHOTO:"profile-ge.category.task",UPDATE_PROFILE:"profile.common.profile",WRITE_POST_NEW:`${(0,f.getDomainUrl)()}/post/new`,WRITE_POST_OLD:`${(0,f.getDomainUrl)()}/pulse/article/new`} e.PREMIUM_BOOMERANG_WINBACK_UPSELL_WIDGET_ID="desktop_feed_identity-upsell_boomerang_winback" e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"iaDiFXS1",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"feed-identity-module"],[17,1],[4,[32,0],null,[["rumComponentId","elementId"],[[30,0,["rumComponentId"]],[30,0,["elementId"]]]]],[12],[1,"\\n"],[41,[30,0,["isPremiumUser"]],[[[1," "],[10,0],[14,0,"feed-identity-module__premium-bar premium-accent-bar"],[14,"role","presentation"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"feed-identity-module__actor-meta break-words"],[12],[1,"\\n "],[10,0],[15,0,[29,["feed-identity-module__member-bg-image\\n ",[52,[51,[30,0,["backgroundUrl"]]],"feed-identity-module__default-bg"]]]],[15,5,[30,0,["memberBackgroundStyle"]]],[12],[1,"\\n"],[41,[30,0,["isPremiumUser"]],[[[1," "],[10,0],[14,0,"feed-identity-module__premium-overlay"],[12],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,1],[[24,0,"hue-web-color-scheme--dark"]],[["@a11yText","@type","@size","@name"],[[28,[32,2],["i18n_premium","feed/components/identity-module"],null],"logo","xxxsmall","premium-wordmark"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[32,3],[[24,0,"block"]],[["@route","@model"],["profile.common.profile",[30,0,["member","publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[11,0],[4,[32,4],["identity_profile_photo"],null],[12],[1,"\\n "],[8,[32,5],null,[["@image","@alt","@width","@ghostType","@class"],[[30,0,["member","picture"]],[52,[30,0,["member","picture"]],[28,[32,2],["i18n_member_photo_a11y","feed/components/identity-module"],[["member"],[[28,[32,6],[[30,0,["member"]]],null]]]],""],64,"person","feed-identity-module__member-photo EntityPhoto-circle-5"]],null],[1,"\\n "],[13],[1,"\\n "],[11,0],[24,0,"t-16 t-black t-bold"],[4,[32,4],["identity_welcome_message"],null],[12],[1,"\\n"],[41,[30,0,["cta"]],[[[1," "],[1,[28,[32,2],["welcome_message","feed/components/identity-module"],[["memberName"],[[28,[32,6],[[30,0,["member"]]],null]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["i18n_member_full_name","feed/components/identity-module"],[["memberName"],[[28,[32,6],[[30,0,["member"]]],null]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[30,0,["isCtaUpdateProfile"]],[[[1," "],[8,[32,3],[[24,0,"feed-identity-module__action"],[4,[32,7],["click",[28,[32,8],[[30,0,["legoTrackingHandler"]],[30,0,["cta","legoTrackingToken"]]],null]],null],[4,[32,4],["identity_update_profile"],null]],[["@route","@model"],[[30,0,["actionRoute"]],[30,0,["member","publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[8,[32,9],[[24,0,"t-12 t-normal mt1"]],[["@attributedText"],[[30,0,["cta","actionText"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,0,["isCtaAddPhoto"]],[[[1," "],[8,[32,3],[[24,0,"feed-identity-module__action"],[4,[32,7],["click",[28,[32,8],[[30,0,["legoTrackingHandler"]],[30,0,["cta","legoTrackingToken"]]],null]],null],[4,[32,4],["identity_add_photo"],null]],[["@route","@models","@query"],[[30,0,["actionRoute"]],[28,[32,10],[[30,0,["member","publicIdentifier"]],"add-photo","photo"],null],[28,[32,11],null,[["contextType"],["FEED"]]]]],[["default"],[[[[1,"\\n "],[8,[32,9],[[24,0,"t-12 t-normal mt1"]],[["@attributedText"],[[30,0,["cta","actionText"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,0,["isCtaWritePost"]],[[[1," "],[8,[32,12],[[4,[32,7],["click",[28,[32,8],[[30,0,["legoTrackingHandler"]],[30,0,["cta","legoTrackingToken"]]],null]],null],[4,[32,4],["identity_write"],null]],[["@href","@class","@target"],[[30,0,["actionRoute"]],"feed-identity-module__action","_blank"]],[["default"],[[[[1,"\\n "],[8,[32,9],[[24,0,"t-12 t-normal mt1"]],[["@attributedText"],[[30,0,["cta","actionText"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[10,2],[14,0,"identity-headline t-12 t-black--light t-normal mt1"],[12],[1,"\\n "],[1,[30,0,["member","occupation"]]],[1,"\\n "],[13],[1,"\\n "]],[]]]],[]]]],[]]],[1," "],[13],[1,"\\n\\n"],[41,[51,[30,2]],[[[41,[30,0,["showCreatorDashboardLink"]],[[[1," "],[8,[32,13],[[24,0,"p3 link-without-hover-state feed-identity-module__anchored-widget"]],[["@widget"],[[30,0,["creatorDashboardWidget"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["displayWidgets","length"]],[[[1," "],[10,0],[14,0,"feed-identity-module__widgets pv3"],[12],[1,"\\n "],[8,[32,14],null,[["@listItemClass","@list","@allowViewMore","@itemControlName","@entityType"],["feed-identity-module__entity-list-item",[30,0,["displayWidgets"]],false,"object",[50,[32,15],0,null,null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,3],[[[41,[30,0,["isUpsellTemplateComponentV2Enabled"]],[[[1," "],[8,[32,16],null,[["@upsellCard","@defaultConfig","@upsellStyles"],[[30,3],[28,[32,11],null,[["ctaType","shouldShowUpsellChip"],["link",true]]],[28,[32,11],null,[["customAnchorClass","headlineClass","subheaderClass","ctaWrapperClass","premiumIconClass","ctaClass"],[[30,0,["limitedOfferClass"]],"t-12 t-black--light t-normal feed-identity-module__premium-headline-text","t-12 t-black--light t-normal feed-identity-module__premium-subheader-text ","display-flex align-items-start","feed-identity-module__premium-icon mr1 flex-shrink-zero","feed-identity-module__premium-cta-text"]]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,17],null,[["@upsellCard","@defaultConfig","@upsellStyles"],[[30,3],[28,[32,11],null,[["ctaType","shouldShowUpsellChip"],["link",true]]],[28,[32,11],null,[["customAnchorClass","headlineClass","subheaderClass","ctaWrapperClass","premiumIconClass","ctaClass"],[[30,0,["limitedOfferClass"]],"t-12 t-black--light t-normal feed-identity-module__premium-headline-text","t-12 t-black--light t-normal feed-identity-module__premium-subheader-text ","display-flex align-items-start","feed-identity-module__premium-icon mr1 flex-shrink-zero",[52,[30,0,["isUpsellAlwaysUnderlined"]],"feed-identity-module__premium-cta-text--underlined"]]]]]],null],[1,"\\n"]],[]]]],[]],[[[41,[30,0,["hasSalesNav"]],[[[1," "],[8,[32,12],null,[["@href","@class","@target","@control-name"],[[30,0,["salesNavEntryPointUrl"]],"feed-identity-module__anchored-widget feed-identity-module__anchored-widget--sales-nav-access link-without-hover-state p3 text-align-left","_blank","identity_module_sales_nav_access"]],[["default"],[[[[1,"\\n "],[10,2],[14,0,"t-12 t-black t-bold display-flex"],[12],[1,"\\n"],[41,[30,0,["isPremiumUser"]],[[[1," "],[8,[32,1],[[24,0,"mr1 flex-shrink-zero"]],[["@type","@size","@name"],["system","small","premium-chip"]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"feed-identity-module__sales-navigator-recruiter-icon"],[14,"role","presentation"],[12],[13],[1,"\\n"]],[]]],[1," "],[10,1],[12],[1,[28,[32,2],["go_to_sales_navigator_cta","feed/components/identity-module"],null]],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,0,["hasRecruiter"]],[[[1," "],[8,[32,12],null,[["@href","@class","@target","@control-name"],[[30,0,["recruiterEntryPointUrl"]],"feed-identity-module__anchored-widget feed-identity-module__anchored-widget--recruiter-access link-without-hover-state p3 text-align-left","_blank","identity_module_recruiter_access"]],[["default"],[[[[1,"\\n "],[10,2],[14,0,"t-12 t-black t-bold display-flex"],[12],[1,"\\n "],[10,0],[14,0,"feed-identity-module__sales-navigator-recruiter-icon"],[14,"role","presentation"],[12],[13],[1,"\\n "],[10,1],[12],[1,[28,[32,2],["go_to_recruiter_cta","feed/components/identity-module"],null]],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,0,["showPremiumEntryPoint"]],[[[1," "],[8,[32,3],[[24,0,"feed-identity-module__anchored-widget feed-identity-module__anchored-widget--premium-access link-without-hover-state p3 text-align-left"],[4,[32,4],["identity_module_premium_access"],null]],[["@route"],["premium.my-premium"]],[["default"],[[[[1,"\\n "],[10,2],[14,0,"t-12 t-black t-bold display-flex"],[12],[1,"\\n "],[8,[32,1],[[24,0,"mr1 flex-shrink-zero"]],[["@type","@size","@name"],["system","small","premium-chip"]],null],[1,"\\n "],[10,1],[12],[1,[28,[32,2],["premium_access_headline","feed/components/identity-module"],null]],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]],null]],[]]]],[]]]],[]]],[1,"\\n"],[1," "],[8,[32,3],[[24,0,"feed-identity-module__anchored-widget link-without-hover-state p3 text-align-left"],[4,[32,4],["identity_my_items"],null]],[["@route"],["workflow"]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"t-12 t-black t-bold v-align-middle display-flex"],[12],[1,"\\n "],[10,1],[14,0,"t-black--light mr2 inline-flex"],[12],[1,"\\n "],[8,[32,1],null,[["@type","@size","@name"],["system","small","bookmark-fill"]],null],[1,"\\n "],[13],[1,"\\n "],[1,[28,[32,2],["my_items_headline","feed/components/identity-module"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["&attrs","@showActorOnly","@premiumUpsellCard"],false,["if","unless","component"]]',moduleName:"feed/components/identity-module.gjs",scope:()=>[w.default,F.default,E.default,S.default,T.default,C.default,O.default,P.on,D.fn,k.default,D.array,D.hash,I.default,M.default,U.default,R.default,N.default,x.default],isStrictMode:!0}),(A=(0,y.inject)("authentication@authenticated-user"),j=(0,y.inject)("lego@tracking"),L=(0,y.inject)("lix"),z=(0,y.inject)("@linkedin/ember-restli-graphql@graphql"),q=class extends _.default{get isUpsellAlwaysUnderlined(){return!this.lix.getTreatmentIsEnabled("voyager.web.premium-identity-module-no-underline")}get isCreatorDashboardExpansionEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.creator-dashboard-entrypoints-exp")}get isUpsellTemplateComponentV2Enabled(){return this.lix.getTreatmentIsEnabled("voyager.web.premium-upsell-template-components-v2")}get actionRoute(){var e const t=null===(e=this.cta)||void 0===e?void 0:e.actionType,i=this.isCtaWritePost?"_NEW":"" return Y[`${t}${i}`]}get backgroundUrl(){var e const t=null===(e=this.member)||void 0===e?void 0:e.backgroundImage if(t){var i,n return K.urlKeywords.test(t)?t:t.artifacts?(0,g.default)(t,200,60):null===(i=this.member)||void 0===i||null===(n=i.backgroundImage)||void 0===n?void 0:n.url}return""}get cta(){var e,t return null===(e=this.args.model)||void 0===e||null===(t=e.actions)||void 0===t?void 0:t[0]}get displayWidgets(){return this.args.model.widgets.filter((e=>Q.includes(e.widgetType)))}get showCreatorDashboardLink(){if(this.isCreatorDashboardExpansionEnabled){var e,t return 1===(null===(e=this.args.model)||void 0===e||null===(t=e.widgets)||void 0===t?void 0:t.length)&&"CREATOR_DASHBOARD"===this.args.model.widgets[0].widgetType}return(0,a.isPresent)(this.creatorDashboardWidget)}get creatorDashboardWidget(){var e,t return null===(e=this.args.model)||void 0===e||null===(t=e.widgets)||void 0===t?void 0:t.find((e=>"CREATOR_DASHBOARD"===e.widgetType))}get hasSalesNav(){return!!this.salesNavEntryPointAsyncData.isResolved&&this.salesNavEntryPointAsyncData.value}get hasRecruiter(){return!!this.recruiterEntryPointAsyncData.isResolved&&this.recruiterEntryPointAsyncData.value}get recruiterEntryPointAsyncData(){return new c.default(this.graphql.executeQuery(s.default,{featureAccessTypes:["CAN_ACCESS_RECRUITER_ENTRY_POINT"]}).then((e=>{var t,i,n if(!(0,d.isDestroying)(this))return null===(t=e.data.premiumDashFeatureAccessByFeatureAccessTypes)||void 0===t||null===(i=t.elements)||void 0===i||null===(n=i.find((e=>"CAN_ACCESS_RECRUITER_ENTRY_POINT"===e.featureAccessType)))||void 0===n?void 0:n.hasAccess})))}get isCtaAddPhoto(){var e,t,i return"ADD_PHOTO"===(null===(e=this.args.model)||void 0===e||null===(t=e.actions)||void 0===t||null===(i=t[0])||void 0===i?void 0:i.actionType)}get isCtaUpdateProfile(){var e,t,i return"UPDATE_PROFILE"===(null===(e=this.args.model)||void 0===e||null===(t=e.actions)||void 0===t||null===(i=t[0])||void 0===i?void 0:i.actionType)}get isCtaWritePost(){var e,t,i return"WRITE_POST"===(null===(e=this.args.model)||void 0===e||null===(t=e.actions)||void 0===t||null===(i=t[0])||void 0===i?void 0:i.actionType)}get isPremiumUser(){var e return null===(e=this.args.model)||void 0===e?void 0:e.showPremiumBranding}get member(){var e return null===(e=this.authenticatedUser)||void 0===e?void 0:e.miniProfile}get memberBackgroundStyle(){return this.backgroundUrl?(0,h.default)(`background-image:url(${this.backgroundUrl})`):""}get salesNavEntryPointAsyncData(){return new c.default(this.graphql.executeQuery(s.default,{featureAccessTypes:["CAN_ACCESS_SALES_NAV_ENTRY_POINT"]}).then((e=>{var t,i,n if(!(0,d.isDestroying)(this))return null===(t=e.data.premiumDashFeatureAccessByFeatureAccessTypes)||void 0===t||null===(i=t.elements)||void 0===i||null===(n=i.find((e=>"CAN_ACCESS_SALES_NAV_ENTRY_POINT"===e.featureAccessType)))||void 0===n?void 0:n.hasAccess})))}get showPremiumEntryPoint(){var e return this.isPremiumUser&&(null===(e=this.authenticatedUser)||void 0===e?void 0:e.hasAccessPremium)}get limitedOfferClass(){var e let t="feed-identity-module__anchored-widget feed-identity-module__anchored-widget--premium-upsell t-12 t-black t-bold link-without-hover-state text-align-left" null!==(e=this.args.premiumUpsellCard)&&void 0!==e&&e.subtitle&&this.lix.getTreatmentIsEnabled("voyager.web.premium-extended-identity-module-upsell")&&(t+=" feed-identity-module__anchored-widget--limited-offer") return t}constructor(){var e super(...arguments);(0,t.default)(this,"authenticatedUser",H,this);(0,t.default)(this,"legoTracking",G,this);(0,t.default)(this,"lix",B,this);(0,t.default)(this,"graphql",V,this);(0,i.default)(this,"elementId",(0,p.guidFor)(this));(0,i.default)(this,"rumComponentId","feed/identity-module");(0,i.default)(this,"salesNavEntryPointUrl",`https://${(0,f.getDomain)()}/sales`);(0,i.default)(this,"recruiterEntryPointUrl",`https://${(0,f.getDomain)()}/talent/home`);(0,t.default)(this,"upsellCard",W,this) Q=["CONNECTION_COUNT","CONNECTION_COUNT_ABI","CONNECTION_COUNT_LARGE","GROW_YOUR_NETWORK","JOBS","PENDING_INVITATIONS","POWER_CREATOR_CONTENT_ANALYTICS_IMPRESSIONS","WHO_VIEWED_MY_POST","WHO_VIEWED_MY_PROFILE","WHO_VIEWED_MY_UPDATE","WHO_PLAYED_MY_VIDEO"] const n=null===(e=this.args.model)||void 0===e?void 0:e.upsellWidgetTrackingToken if(this.showPremiumUpsell&&n){const{legoTracking:e}=this e.sendLegoImpression(n,e.LEGO_IMPRESSION_VISIBILITY_SHOW) e.sendLegoPageImpression(n);(0,m.getIdentityModule)(this.graphql,{reload:!0})}this.isCreatorDashboardExpansionEnabled&&!this.showCreatorDashboardLink&&Q.push("CREATOR_DASHBOARD")}legoTrackingHandler(e){const{legoTracking:t}=this t.sendLegoAction(e,t.LEGO_ACTION_PRIMARY,1)}},H=(0,n.default)(q.prototype,"authenticatedUser",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,n.default)(q.prototype,"legoTracking",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,n.default)(q.prototype,"lix",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,n.default)(q.prototype,"graphql",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,n.default)(q.prototype,"upsellCard",[v.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(q.prototype,"recruiterEntryPointAsyncData",[u.cached],Object.getOwnPropertyDescriptor(q.prototype,"recruiterEntryPointAsyncData"),q.prototype),(0,n.default)(q.prototype,"salesNavEntryPointAsyncData",[u.cached],Object.getOwnPropertyDescriptor(q.prototype,"salesNavEntryPointAsyncData"),q.prototype),(0,n.default)(q.prototype,"legoTrackingHandler",[b.action],Object.getOwnPropertyDescriptor(q.prototype,"legoTrackingHandler"),q.prototype),q))})) define("feed/components/identity-widget-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","feed-shared/utils/promos/index","@ember/utils","@ember/service","@glimmer/component","rich-text/components/attributed-text","text-view-model/components/text-view-model-v2","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var h,g,b,y,v,_,w const E={CONNECTION_COUNT_ABI:a.PROMOS_IMPRESSION_TRACKING_HOOKS.CONNECTION_COUNT_ABI},S=["GROW_YOUR_NETWORK","CONNECTION_COUNT","CONNECTION_COUNT_ABI","CONNECTION_COUNT_LARGE","PENDING_INVITATIONS"] e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"YdCq2bCV",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"display-flex align-items-baseline"],[17,1],[12],[1,"\\n "],[10,0],[14,0,"text-align-left"],[12],[1,"\\n "],[8,[32,0],[[24,0,"t-12 t-black--light t-bold mr2"]],[["@attributedText"],[[30,2,["headline"]]]],null],[1,"\\n"],[41,[30,2,["ctaText"]],[[[1," "],[8,[32,0],[[24,0,"t-12 t-black t-bold"]],[["@attributedText"],[[30,2,["ctaText"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,0],[14,0,"feed-identity-widget-item__icon-stat t-12 t-black t-bold flex-1"],[12],[1,"\\n"],[41,[30,0,["hasStatistic"]],[[[1," "],[10,1],[14,0,"feed-identity-widget-item__stat"],[12],[1,"\\n "],[8,[32,1],null,[["@tvm"],[[30,0,["statistic"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["shouldShowConnectIcon"]],[[[1," "],[8,[32,2],[[24,0,"v-align-middle"]],[["@a11yText","@type","@size","@name"],[[28,[32,3],["grow_your_network_icon","feed/components/identity-widget-item"],null],"system","small","connect"]],null],[1,"\\n "]],[]],null]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@model"],false,["if"]]',moduleName:"feed/components/identity-widget-item.gjs",scope:()=>[u.default,p.default,m.default,f.default],isStrictMode:!0}),(h=(0,d.inject)("heathrow@heathrow"),g=(0,d.inject)("lego@tracking"),b=(0,d.inject)("tracking"),y=class extends c.default{get statistic(){var e return null===(e=this.args.model)||void 0===e?void 0:e.statistic}get hasStatistic(){var e return!(0,s.isEmpty)(null===(e=this.statistic)||void 0===e?void 0:e.text)}get shouldShowConnectIcon(){return S.includes(this.widgetType)}get widgetType(){var e return null===(e=this.args.model)||void 0===e?void 0:e.widgetType}constructor(){var e super(...arguments);(0,t.default)(this,"heathrow",v,this);(0,t.default)(this,"legoTracking",_,this);(0,t.default)(this,"tracking",w,this) const i=null===(e=this.args.model)||void 0===e?void 0:e.legoTrackingToken,{legoTracking:n}=this,r=E[this.widgetType] i&&n.sendLegoImpression(i,n.LEGO_IMPRESSION_VISIBILITY_SHOW) r&&"function"==typeof r&&r.call(this,this.widgetType,this.heathrow,this.tracking)}},v=(0,n.default)(y.prototype,"heathrow",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,n.default)(y.prototype,"legoTracking",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,n.default)(y.prototype,"tracking",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y))})) define("feed/components/identity-widget-link",["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","feed-shared/utils/promos/index","@ember/object","@ember/service","entities/components/entity-items/entity-item","ember-engines/components/link-to-external","ember-cli-pemberly-tracking/modifiers/track-interaction","@ember/modifier","feed/components/identity-widget-item"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var g,b,y,v,_ const w={CONNECTION_COUNT:"mynetwork",CONNECTION_COUNT_ABI:"abi.intro",CONNECTION_COUNT_LARGE:"mynetwork.invite-connect.connections",GROW_YOUR_NETWORK:"mynetwork.add-connections",HEATHROW_ROUTE:"mynetwork.heathrow-redirect",JOBS:"jobs.index",PENDING_INVITATIONS:"mynetwork",POWER_CREATOR_CONTENT_ANALYTICS_IMPRESSIONS:"creator-analytics.index.content",WHO_VIEWED_MY_POST:"profile.common.recent-activity.posts",WHO_PLAYED_MY_VIDEO:"profile.common.recent-activity.shares",WHO_VIEWED_MY_PROFILE:"me.profile-views",WHO_VIEWED_MY_UPDATE:"profile.common.recent-activity.shares",CREATOR_DASHBOARD:"creator-dashboard"},E={CONNECTION_COUNT:"identity_network",CONNECTION_COUNT_ABI:"identity_network",CONNECTION_COUNT_LARGE:"identity_network",CREATOR_DASHBOARD:"enter_creator_dashboard",GROW_YOUR_NETWORK:"identity_network",HEATHROW_ROUTE:"identity_network",JOBS:"identity_jobs",PENDING_INVITATIONS:"identity_invitations",POWER_CREATOR_CONTENT_ANALYTICS_IMPRESSIONS:"identity_creator_analytics",WHO_VIEWED_MY_POST:"identity_wvmpost",WHO_VIEWED_MY_PROFILE:"identity_wvmp",WHO_VIEWED_MY_UPDATE:"identity_wvmu",WHO_PLAYED_MY_VIDEO:"identity_wpmv"},S={CONNECTION_COUNT_ABI:s.PROMOS_ROUTE_MAP.CONNECTION_COUNT_ABI.queryParams,HEATHROW_ROUTE:{origin:"ORGANIC_ABI",userActionType:"USER_NAVIGATION",allowedRoutes:"ABI_SPLASH,ABI_RESULTS_LANDING"}},T=["WHO_VIEWED_MY_UPDATE","WHO_VIEWED_MY_POST","WHO_PLAYED_MY_VIDEO","CUSTOMIZE_MY_FEED"] e.default=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"yRouOGtc",block:'[[[1,"\\n"],[41,[30,0,["routeNeedsId"]],[[[1," "],[8,[32,0],[[24,0,"full-width"],[4,[32,1],[[30,0,["controlName"]]],null],[4,[32,2],["click",[30,0,["onLinkClick"]]],null]],[["@route","@model","@query"],[[30,0,["route"]],[30,0,["memberId"]],[30,0,["queryParams"]]]],[["default"],[[[[1,"\\n "],[8,[32,3],null,[["@model"],[[30,0,["model"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,0],[[24,0,"full-width"],[4,[32,1],[[30,0,["controlName"]]],null],[4,[32,2],["click",[30,0,["onLinkClick"]]],null]],[["@route","@query"],[[30,0,["route"]],[30,0,["queryParams"]]]],[["default"],[[[[1,"\\n "],[8,[32,3],null,[["@model"],[[30,0,["model"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1," "]],[],false,["if"]]',moduleName:"feed/components/identity-widget-link.gjs",scope:()=>[p.default,m.default,f.on,h.default],isStrictMode:!0}),(g=(0,c.inject)("authentication@authenticated-user"),b=(0,c.inject)("lego@tracking"),y=class extends u.default{get memberId(){var e,t return null===(e=this.authenticatedUser)||void 0===e||null===(t=e.miniProfile)||void 0===t?void 0:t.publicIdentifier}get queryParams(){return S[this.widgetType]||{}}get route(){return w[this.widgetType]}get routeNeedsId(){return T.includes(this.widgetType)}constructor(){var e super(...arguments);(0,t.default)(this,"authenticatedUser",v,this);(0,t.default)(this,"legoTracking",_,this) this.widgetType=null===(e=this.model)||void 0===e?void 0:e.widgetType this.controlName=E[this.widgetType]}onLinkClick(){var e const{legoTracking:t}=this,i=null===(e=this.model)||void 0===e?void 0:e.legoTrackingToken i&&t.sendLegoAction(i,t.LEGO_ACTION_PRIMARY,1)}},v=(0,n.default)(y.prototype,"authenticatedUser",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,n.default)(y.prototype,"legoTracking",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(y.prototype,"onLinkClick",[d.action],Object.getOwnPropertyDescriptor(y.prototype,"onLinkClick"),y.prototype),y))})) define.alias("image-editor/components/image-editor-loader","feed/components/image-editor-loader") define.alias("image-editor/components/image-editor","feed/components/image-editor") define.alias("ember-finite-scroll/components/item-container","feed/components/item-container") define.alias("ember-vector-images/components/lazy-background","feed/components/lazy-background") define.alias("ember-vector-images/components/lazy-image","feed/components/lazy-image") define.alias("ember-line-clamp/components/line-clamp","feed/components/line-clamp") define.alias("artdeco-icons-web/components/linkedin-logo","feed/components/linkedin-logo") define("feed/components/lms-consent-form",["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","feed-utils/utils/constants","@ember/service","@ember/object","@glimmer/component","@ember/render-modifiers/modifiers/did-insert","feed/components/binary-toggler","@ember/modifier","hue-web-icons/components/icon","text-view-model/components/text-view-model-v2","@ember/helper","ember-cli-pemberly-tracking/modifiers/track-interaction"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var y,v,_,w,E const S={MODAL:"feed-lms-consent-form--modal",INLINE:"feed-lms-consent-form--inline"} e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"OrcLXZl6",block:'[[[1,"\\n "],[11,0],[16,0,[29,["feed-lms-consent-form relative\\n ",[30,0,["_formTypeClass"]],"\\n ",[52,[30,1,["showModalImage"]],"feed-lms-consent-form--with-image"]]]],[4,[32,0],[[30,0,["sendLegoImpressionTracking"]]],null],[12],[1,"\\n "],[10,0],[14,0,"feed-lms-consent-form__content-wrapper"],[12],[1,"\\n"],[41,[30,0,["isTitleAboveLogo"]],[[[1," "],[10,"h2"],[14,0,"feed-lms-consent-form__header-title"],[12],[1,"\\n "],[1,[30,1,["headerTitle"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,1],[14,0,"feed-lms-consent-form__logo-container"],[12],[1,"\\n "],[8,[32,1],[[24,0,"feed-lms-consent-form__logo"]],[["@type","@name","@size"],["logo","linkedin-bug-blue","large"]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["isTitleBelowLogo"]],[[[1," "],[10,"h2"],[14,0,"feed-lms-consent-form__header-title"],[12],[1,"\\n "],[1,[30,1,["headerTitle"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,0,["isInline"]]],[[[1," "],[10,2],[14,0,"feed-lms-consent-form__body-title feed-lms-consent-form__group"],[12],[1,"\\n "],[1,[30,1,["bodyTitle"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["sections"]],[[[1," "],[10,0],[14,0,"feed-lms-consent-form__sections feed-lms-consent-form__group"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["sections"]]],null]],null],null,[[[1," "],[8,[32,2],[[24,0,"feed-lms-consent-form__section"]],[["@isActive"],[false]],[["default"],[[[[1,"\\n "],[11,"button"],[24,0,"feed-lms-consent-form__section-title"],[24,4,"button"],[4,[32,3],["click",[30,4,["toggle"]]],null],[12],[1,"\\n "],[10,2],[14,0,"text-align-left mr6 pr4 t-12 t-black t-bold"],[12],[1,"\\n "],[1,[30,2,["title"]]],[1,"\\n "],[13],[1,"\\n "],[8,[32,1],[[24,0,"feed-lms-consent-form__title-chevron"]],[["@name","@type","@size"],[[52,[30,3],"chevron-up","chevron-down"],"system","small"]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,3],[[[1," "],[10,2],[14,0,"t-12 t-black--light t-normal pb4 pr5"],[12],[1,"\\n "],[8,[32,4],null,[["@tvm"],[[30,2,["description"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[3,4]]]]],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,2],[14,0,"feed-lms-consent-form__body-description"],[12],[1,"\\n "],[8,[32,4],null,[["@tvm"],[[30,1,["bodyDescription"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"feed-lms-consent-form__actions"],[12],[1,"\\n"],[44,[[28,[32,5],[[30,0,["_lcAlertType"]],"_ad_consent_yes"],null]],[[[1," "],[11,"button"],[24,0,"feed-lms-consent-form__confirm artdeco-button artdeco-button artdeco-button--primary artdeco-button--fluid"],[24,4,"button"],[4,[32,3],["click",[30,0,["didConfirmAction"]]],null],[4,[32,6],[[30,5]],null],[12],[1,"\\n "],[1,[30,1,["confirmText"]]],[1,"\\n "],[13],[1,"\\n"]],[5]]],[1,"\\n"],[44,[[28,[32,5],[[30,0,["_lcAlertType"]],"_ad_consent_no"],null]],[[[1," "],[11,"button"],[24,0,"feed-lms-consent-form__reject artdeco-button artdeco-button--tertiary artdeco-button artdeco-button--tertiary artdeco-button--muted artdeco-button--fluid"],[24,4,"button"],[4,[32,3],["click",[30,0,["didRejectAction"]]],null],[4,[32,6],[[30,6]],null],[12],[1,"\\n "],[1,[30,1,["rejectText"]]],[1,"\\n "],[13],[1,"\\n"]],[6]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],["@data","section","isActive","actions","controlName","controlName"],false,["if","unless","each","-track-array","let"]]',moduleName:"feed/components/lms-consent-form.gjs",scope:()=>[u.default,f.default,p.default,m.on,h.default,g.concat,b.default],isStrictMode:!0}),(y=(0,s.inject)("lego@tracking"),v=(0,s.inject)("global-services@window"),_=class extends c.default{constructor(){super(...arguments);(0,i.default)(this,"isMobileInline",!1);(0,t.default)(this,"legoTracking",w,this);(0,t.default)(this,"windowService",E,this)}get isTitleAboveLogo(){return this.isTitleVisible&&this.isMobileInline}get isTitleBelowLogo(){return this.isTitleVisible&&!this.isMobileInline}get isInline(){var e return(null===(e=this.args.data)||void 0===e?void 0:e.alertType)===a.consentFormTypes.INLINE}get sections(){var e,t,i,n return i=(null===(e=this.args.data)||void 0===e?void 0:e.sectionTitles)||[],n=(null===(t=this.args.data)||void 0===t?void 0:t.sectionDescriptions)||[],i.map(((e,t)=>({title:e,description:n[t]})))}get isTitleVisible(){var e return!(null!==(e=this.args.data)&&void 0!==e&&e.showModalImage)}get _lcAlertType(){var e const t=null===(e=this.args.data)||void 0===e?void 0:e.alertType return t?t.toLowerCase():""}get _formTypeClass(){var e const t=null===(e=this.args.data)||void 0===e?void 0:e.alertType return t?S[t]:""}sendLegoImpressionTracking(){var e,t const i=null===(e=this.args.data)||void 0===e||null===(t=e.trackingData)||void 0===t?void 0:t.trackingId if(i){const{legoTracking:e}=this e.sendLegoImpression(i,e.LEGO_IMPRESSION_VISIBILITY_SHOW)}}didConfirmAction(){var e,t,i,n null===(e=(t=this.args).didConfirm)||void 0===e||e.call(t) null===(i=(n=this.args).dismiss)||void 0===i||i.call(n) const r=this.legoTracking.LEGO_ACTION_PRIMARY r&&this._sendLegoAction(r)}didRejectAction(){var e,t,i,n,r null===(e=(t=this.args).didReject)||void 0===e||e.call(t) null===(i=(n=this.args).dismiss)||void 0===i||i.call(n) const o=this.legoTracking.LEGO_ACTION_SECONDARY o&&this._sendLegoAction(o) const l=null===(r=this.args.data)||void 0===r?void 0:r.rejectActionUrl l&&this.windowService.open(l)}_sendLegoAction(e){var t,i let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1 const r=null===(t=this.args.data)||void 0===t||null===(i=t.trackingData)||void 0===i?void 0:i.trackingId r&&this.legoTracking.sendLegoAction(r,e,n)}},w=(0,n.default)(_.prototype,"legoTracking",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,n.default)(_.prototype,"windowService",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(_.prototype,"sendLegoImpressionTracking",[d.action],Object.getOwnPropertyDescriptor(_.prototype,"sendLegoImpressionTracking"),_.prototype),(0,n.default)(_.prototype,"didConfirmAction",[d.action],Object.getOwnPropertyDescriptor(_.prototype,"didConfirmAction"),_.prototype),(0,n.default)(_.prototype,"didRejectAction",[d.action],Object.getOwnPropertyDescriptor(_.prototype,"didRejectAction"),_.prototype),_))})) define("feed/components/lms-consent-modal",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@glimmer/component","@ember/service","@ember/object","artdeco-modal/components/artdeco-modal","feed/components/lms-consent-form"],(function(e,t,i,n,r,o,l,a,s,d,c,u){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var p,m,f,h,g e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"uHOFypwx",block:'[[[1,"\\n "],[8,[32,0],null,[["@isOpen","@dismissModal","@headerId","@size","@modalClasses"],[[30,1],[30,0,["dismissModal"]],"feed-lms-consent-modal__header",[52,[30,2,["showModalImage"]],"large","small"],[29,["feed-lms-consent-modal ",[52,[30,2,["showModalImage"]]," feed-lms-consent-modal--with-image"]]]]],[["default"],[[[[1,"\\n "],[8,[30,3,["artdeco-modal-header"]],null,[["@classNames"],["visually-hidden"]],[["default"],[[[[1,"\\n "],[10,"h2"],[14,1,"feed-lms-consent-modal__header"],[12],[1,"\\n "],[1,[30,2,["headerTitle"]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,3,["artdeco-modal-content"]],null,[["@classNames"],["p0 display-flex"]],[["default"],[[[[1,"\\n"],[41,[30,2,["showModalImage"]],[[[1," "],[10,0],[14,0,"feed-lms-consent-modal__illustration-container"],[12],[1,"\\n "],[10,"h2"],[14,0,"feed-lms-consent-modal__illustration-header t-24 t-black t-bold text-align-center"],[12],[1,"\\n "],[1,[30,2,["headerTitle"]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"feed-lms-consent-modal__illustration"],[12],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,1],null,[["@data","@dismiss","@didConfirm","@didReject"],[[30,2],[30,4],[30,5],[30,6]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n "]],["@isOpen","@data","modal","@dismiss","@didConfirm","@didReject"],false,["if"]]',moduleName:"feed/components/lms-consent-modal.gjs",scope:()=>[c.default,u.default],isStrictMode:!0}),(p=(0,s.inject)("tracking"),m=(0,s.inject)("lego@tracking"),f=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",h,this);(0,t.default)(this,"legoTracking",g,this)}dismissModal(){var e,t,i,n null===(e=(t=this.args).dismiss)||void 0===e||e.call(t) this.tracking.fireInteractionEvent("modal_consent_dismiss") const r=null===(i=this.args.data)||void 0===i||null===(n=i.trackingData)||void 0===n?void 0:n.trackingId if(r){const{legoTracking:e}=this e.sendLegoAction(r,e.LEGO_ACTION_DISMISS,1)}}},h=(0,n.default)(f.prototype,"tracking",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,n.default)(f.prototype,"legoTracking",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(f.prototype,"dismissModal",[d.action],Object.getOwnPropertyDescriptor(f.prototype,"dismissModal"),f.prototype),f))})) define.alias("ember-cloud-filepicker/components/local-file-input","feed/components/local-file-input") define.alias("ember-media-player/components/media-player","feed/components/media-player") define("feed/components/new-update-pill",["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","feed-utils/utils/client-sensor-constants","@glimmer/component","@ember/object","@ember/service","@ember/destroyable","artdeco-loader/components/artdeco-loader","sticky/components/sticky-container","@ember/modifier","ember-scroll-modifiers/modifiers/did-intersect","@ember/helper","ember-cli-pemberly-tracking/modifiers/track-interaction","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b,y,v,_){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var w,E,S,T,C,O,P,k e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"8qFH1BoO",block:'[[[1,"\\n"],[1," "],[10,0],[15,0,[29,["feed-new-update-pill\\n ",[52,[30,1],"feed-new-update-pill--pushed-down"]]]],[12],[1,"\\n"],[41,[30,0,["isLoading"]],[[[1," "],[8,[32,0],null,[["@size"],["small"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,1],null,[["@offset"],[76]],[["default"],[[[[1,"\\n "],[11,"button"],[16,0,[29,["artdeco-button feed-new-update-pill__new-update-button Elevation-6dp\\n ",[52,[30,0,["isNupLoaderFadeEnabled"]],"justify-center","justify-flex-start"]]]],[24,4,"button"],[4,[32,2],["click",[30,0,["doFeedUpdate"]]],null],[4,[32,3],null,[["onEnter","options"],[[30,0,["onEnteringViewport"]],[28,[32,4],null,[["threshold"],[0.5]]]]]],[4,[32,5],["new_updates"],null],[12],[1,"\\n "],[10,0],[14,0,"feed-new-update-pill__loader"],[12],[1,"\\n "],[8,[32,0],null,[["@size","@type","@class"],["small","inverse","feed-new-update-pill__loader-icon"]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"feed-new-update-pill__text"],[12],[1,"\\n "],[8,[32,6],[[24,0,"mr1"]],[["@type","@size","@name"],["system","small","arrow-up"]],null],[1,"\\n "],[10,1],[12],[1,"\\n "],[1,[28,[32,7],["new_updates","feed/components/new-update-pill"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@pushDown"],false,["if"]]',moduleName:"feed/components/new-update-pill.gjs",scope:()=>[m.default,f.default,h.on,g.default,b.hash,y.default,v.default,_.default],isStrictMode:!0}),(w=(0,u.inject)("new-update-indicator@new-update-indicator"),E=(0,u.inject)("tracking"),S=(0,u.inject)("client-sensor-web@client-sensor"),T=class extends d.default{constructor(){super(...arguments);(0,t.default)(this,"newUpdateIndicator",C,this);(0,t.default)(this,"tracking",O,this);(0,t.default)(this,"clientSensor",P,this);(0,t.default)(this,"isLoading",k,this);(0,i.default)(this,"pageKey","flagship3_feed_pill")}onEnteringViewport(){this.clientSensor.incrementMetricCounter({groupName:s.CLIENT_SENSOR_GROUP_NAME,metricName:s.MainFeedClientSensorMetrics.NEW_UPDATES_PILL_IMPRESSION}) this.tracking.firePageViewEvent(this.pageKey)}doFeedUpdate(){this.isLoading=!0 this.newUpdateIndicator.doFeedUpdate().finally((()=>{(0,p.isDestroying)(this)||(this.isLoading=!1)}))}},C=(0,n.default)(T.prototype,"newUpdateIndicator",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,n.default)(T.prototype,"tracking",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,n.default)(T.prototype,"clientSensor",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,n.default)(T.prototype,"isLoading",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(T.prototype,"onEnteringViewport",[c.action],Object.getOwnPropertyDescriptor(T.prototype,"onEnteringViewport"),T.prototype),(0,n.default)(T.prototype,"doFeedUpdate",[c.action],Object.getOwnPropertyDescriptor(T.prototype,"doFeedUpdate"),T.prototype),T))})) define("feed/components/object-bin",["exports","ember-drag-drop/components/object-bin"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=t.default})) define("feed/components/observable-spinner",["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/internals","@ember/debug","@glimmer/component","@ember/service","@ember/object","ember-scroll-modifiers/modifiers/did-intersect","artdeco-loader/components/artdeco-loader"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var h,g,b e.default=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"mKPY8WvA",block:'[[[1,"\\n "],[11,1],[16,1,[30,0,["elementId"]]],[17,1],[4,[32,0],null,[["onEnter","onExit","maxEnter","maxExit"],[[30,0,["onElementEntered"]],[30,0,["onElementExited"]],1,1]]],[12],[1,"\\n"],[41,[30,2],[[[1," "],[8,[32,1],null,[["@size","@class"],[[30,3],[30,4]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["&attrs","@showSpinner","@loaderSize","@loaderClassName"],false,["if"]]',moduleName:"feed/components/observable-spinner.gjs",scope:()=>[m.default,f.default],isStrictMode:!0}),(h=(0,u.inject)("rum"),g=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"rum",b,this);(0,i.default)(this,"elementId",(0,s.guidFor)(this))}get pageKey(){return this.args.pageKey}onElementEntered(){this._fireViewRenderImpressionEvent("start")}onElementExited(){this._fireViewRenderImpressionEvent("end")}_fireViewRenderImpressionEvent(e){this.rum.viewRender(this.pageKey,this.elementId,e)}},b=(0,n.default)(g.prototype,"rum",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(g.prototype,"onElementEntered",[p.action],Object.getOwnPropertyDescriptor(g.prototype,"onElementEntered"),g.prototype),(0,n.default)(g.prototype,"onElementExited",[p.action],Object.getOwnPropertyDescriptor(g.prototype,"onElementExited"),g.prototype),g))})) define.alias("ember-cloud-filepicker/components/onedrive-file-picker","feed/components/onedrive-file-picker") define("feed/components/profile-rail-card",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","global-helpers/helpers/actor-name","@glimmer/component","@ember/service","ember-vector-images/components/lazy-background","@ember/helper","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t","ember-engines/components/link-to-external","ember-vector-images/components/lazy-image"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var g,b,y e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"8/HH+ISP",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"profile-rail-card"],[17,1],[12],[1,"\\n"],[41,[30,0,["isPremium"]],[[[1," "],[10,0],[14,0,"profile-rail-card__premium-bar premium-accent-bar"],[14,"role","presentation"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"pt3 ph3 pb4 break-words"],[12],[1,"\\n "],[8,[32,0],null,[["@class","@image","@desiredWidth"],[[28,[32,1],["profile-rail-card__member-bg-image",[52,[51,[30,0,["profile","backgroundImage"]]]," profile-rail-card__default-bg"]],null],[30,0,["profile","backgroundImage"]],216]],[["default"],[[[[1,"\\n"],[41,[30,0,["isPremium"]],[[[1," "],[10,0],[14,0,"profile-rail-card__premium-overlay"],[12],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,2],[[24,0,"hue-web-color-scheme--dark"]],[["@a11yText","@type","@size","@name"],[[28,[32,3],["premium","feed/components/profile-rail-card"],null],"logo","xxxsmall","premium-wordmark"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n\\n "],[8,[32,4],[[24,0,"profile-rail-card__profile-link t-16 t-black t-bold tap-target"]],[["@route","@model"],[[30,2,["profileRoute"]],[30,2,["profileID"]]]],[["default"],[[[[1,"\\n "],[8,[32,5],[[24,0,"profile-rail-card__member-photo EntityPhoto-circle-5"]],[["@image","@alt","@width","@ghostType"],[[30,0,["actorPicture"]],[30,0,["actorName"]],64,"person"]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,0],[14,0,"tap-target link-without-hover-visited"],[12],[1,"\\n "],[10,2],[14,0,"single-line-truncate t-16 t-black t-bold mt2"],[12],[1,"\\n "],[1,[30,0,["actorName"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["profile","occupation"]],[[[1," "],[10,2],[14,0,"identity-headline t-12 t-black--light t-normal mt1"],[12],[1,"\\n "],[1,[30,0,["profile","occupation"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,4],[[24,0,"profile-rail-card__profile-link t-16 t-black t-bold tap-target"]],[["@route","@model"],[[30,2,["profileRoute"]],[30,2,["profileID"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"single-line-truncate t-16 t-black t-bold mt2"],[12],[1,"\\n "],[1,[28,[32,3],["view_full_profile","feed/components/profile-rail-card"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@actor"],false,["if","unless"]]',moduleName:"feed/components/profile-rail-card.gjs",scope:()=>[c.default,u.concat,p.default,m.default,f.default,h.default],isStrictMode:!0}),(g=(0,d.inject)("formatter"),b=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"formatter",y,this)}get profile(){const{actor:e}=this.args return"company"===e.actorType?e.miniCompany:e.miniProfile}get actorPicture(){var e return null===(e=this.args.actor)||void 0===e?void 0:e.avatar}get actorName(){return(0,a.formatActorName)(this.formatter,this.args.actor)}get isPremium(){var e return null===(e=this.args.vieweeMemberBadges)||void 0===e?void 0:e.premium}},y=(0,n.default)(b.prototype,"formatter",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b))})) define("feed/components/render-models/profile-rail-card",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@glimmer/component","@ember/object/internals","@ember/service","ember-cli-pemberly-tracking/modifiers/rum-render-event","ember-vector-images/components/lazy-background","@ember/helper","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t","app-aware-link/components/app-aware-link","image-view-model/components/image-view-model","text-view-model/helpers/text-view-model","follows/components/follow-button"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b,y){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var v,_,w,E,S e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"7wzuYqT/",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"feed-profile-rail-card profile-rail-card"],[17,1],[4,[32,0],null,[["rumComponentId","elementId"],["feed/profile-rail-card",[30,0,["elementId"]]]]],[12],[1,"\\n"],[41,[30,2],[[[1," "],[10,0],[14,0,"profile-rail-card__premium-bar premium-accent-bar"],[14,"role","presentation"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"pt3 ph3 pb4 break-words"],[12],[1,"\\n "],[8,[32,1],null,[["@image","@class","@desiredWidth"],[[30,3],[28,[32,2],[[52,[51,[30,3]]," profile-rail-card__default-bg"]," profile-rail-card__member-bg-image"],null],216]],[["default"],[[[[1,"\\n"],[41,[30,2],[[[1," "],[10,0],[14,0,"profile-rail-card__premium-overlay"],[12],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[32,3],[[24,0,"hue-web-color-scheme--dark"]],[["@a11yText","@type","@size","@name"],[[28,[32,4],["premium","feed/components/render-models/profile-rail-card"],null],"logo","xxxsmall","premium-wordmark"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n\\n "],[8,[32,5],[[24,0,"profile-rail-card__profile-link t-16 t-black t-bold tap-target"]],[["@href"],[[30,4,["navigationContext","actionTarget"]]]],[["default"],[[[[1,"\\n "],[8,[32,6],null,[["@images","@imgClasses","@entitySize"],[[30,4,["image"]],[29,["profile-rail-card__member-photo ",[52,[30,0,["actorHasRing"]],"profile-rail-card__member-photo--without-border"]]],5]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,0],[14,0,"link-without-hover-visited"],[12],[1,"\\n "],[10,2],[14,0,"single-line-truncate t-16 t-black t-bold mt2 profile-rail-card__name"],[12],[1,"\\n "],[1,[28,[32,7],[[30,4,["name"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,4,["description"]],[[[1," "],[10,2],[14,0,"profile-rail-card__description t-12 t-black--light t-normal mt1"],[12],[1,"\\n "],[1,[28,[32,7],[[30,4,["description"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["followerCount"]],[[[1," "],[10,0],[14,0,"profile-rail-card__followers-count t-12 t-black--light t-normal mt1"],[12],[1,"\\n "],[1,[28,[32,4],["follower_count","feed/components/render-models/profile-rail-card"],[["count"],[[30,0,["followerCount"]]]]]],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]],[41,[30,0,["showFollowButton"]],[[[1," "],[8,[32,8],[[24,0,"profile-rail-card__follow-button artdeco-button artdeco-button--secondary"]],[["@isFollowing","@toggleFollow","@iconType","@showText","@onImpressionHandler"],[[30,0,["isFollowing"]],[30,5],"add",true,[30,6]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,5],[[24,0,"profile-rail-card__profile-link t-16 t-black t-bold tap-target"]],[["@href"],[[30,4,["navigationContext","actionTarget"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"single-line-truncate t-16 t-black t-bold mt2"],[12],[1,"\\n"],[41,[30,7],[[[1," "],[1,[28,[32,4],["view_full_page","feed/components/render-models/profile-rail-card"],null]],[1,"\\n"]],[]],[[[41,[30,8],[[[1," "],[1,[28,[32,4],["view_full_page","feed/components/render-models/profile-rail-card"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,4],["view_full_profile","feed/components/render-models/profile-rail-card"],null]],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@showPremium","@backgroundImage","@actor","@onToggleFollow","@getFollowImpressionEventPayload","@isNonMemberUpdateActor","@isCompanyUpdateActor"],false,["if","unless"]]',moduleName:"feed/components/render-models/profile-rail-card.gjs",scope:()=>[c.default,u.default,p.concat,m.default,f.default,h.default,g.default,b.default,y.default],isStrictMode:!0}),(v=(0,d.inject)("authentication@authenticated-user"),_=(0,d.inject)("lix"),w=class extends a.default{get isFollowing(){var e,t,i,n if(this.isDashEnabled){var r,o,l return null===(r=this.args.actor)||void 0===r||null===(o=r.followAction)||void 0===o||null===(l=o.followingState)||void 0===l?void 0:l.following}return(null===(e=this.args.followingInfo)||void 0===e?void 0:e.following)||(null===(t=this.args.actor)||void 0===t||null===(i=t.followAction)||void 0===i||null===(n=i.followingInfo)||void 0===n?void 0:n.following)}get followerCount(){var e,t,i,n if(this.isDashEnabled){var r,o,l return null===(r=this.args.actor)||void 0===r||null===(o=r.followAction)||void 0===o||null===(l=o.followingState)||void 0===l?void 0:l.followerCount}return(null===(e=this.args.followingInfo)||void 0===e?void 0:e.followerCount)||(null===(t=this.args.actor)||void 0===t||null===(i=t.followAction)||void 0===i||null===(n=i.followingInfo)||void 0===n?void 0:n.followerCount)}get isActorSelf(){var e,t,i if(this.isDashEnabled){var n,r,o const e=this.authenticatedUser.memberId,t=null===(n=this.args.actor)||void 0===n||null===(r=n.followAction)||void 0===r||null===(o=r.followingState)||void 0===o?void 0:o.entityUrn return t&&t.includes(e)}const l=this.authenticatedUser.memberId,a=null===(e=this.args.actor)||void 0===e||null===(t=e.followAction)||void 0===t||null===(i=t.followingInfo)||void 0===i?void 0:i.entityUrn return a&&a.includes(l)}get isDashEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-dash-update-detail")}get showFollowButton(){var e if(this.isDashEnabled){var t return!(null===(t=this.args.actor)||void 0===t||!t.followAction)&&!this.isCurrentUserFollowingActor&&this.args.onToggleFollow&&!this.isActorSelf}return!(null===(e=this.args.actor)||void 0===e||!e.followAction)&&!this.isCurrentUserFollowingActor&&this.args.onToggleFollow&&this.args.followingInfo&&!this.isActorSelf}get actorHasRing(){var e,t,i,n,r if(this.isDashEnabled){var o,l,a,s,d,c,u,p,m const e=(null===(o=this.args.actor)||void 0===o||null===(l=o.image)||void 0===l||null===(a=l.attributes)||void 0===a||null===(s=a[0].detailData)||void 0===s?void 0:s.profilePictureWithRingStatus)||(null===(d=this.args.actor)||void 0===d||null===(c=d.image)||void 0===c||null===(u=c.attributes)||void 0===u||null===(p=u[0].detailData)||void 0===p?void 0:p.nonEntityProfilePicture) return null==e||null===(m=e.ringStatus)||void 0===m?void 0:m.emphasized}return!(null===(e=this.args.actor)||void 0===e||null===(t=e.image)||void 0===t||null===(i=t.attributes)||void 0===i||null===(n=i[0])||void 0===n||null===(r=n.miniProfileWithRingStatus)||void 0===r||!r.ringStatus)}constructor(){var e,n,r super(...arguments);(0,t.default)(this,"authenticatedUser",E,this);(0,t.default)(this,"lix",S,this);(0,i.default)(this,"elementId",(0,s.guidFor)(this));(0,i.default)(this,"isCurrentUserFollowingActor",void 0) this.isCurrentUserFollowingActor=null===(e=this.args.actor)||void 0===e||null===(n=e.followAction)||void 0===n||null===(r=n.followingInfo)||void 0===r?void 0:r.following}},E=(0,n.default)(w.prototype,"authenticatedUser",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,n.default)(w.prototype,"lix",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w))})) define("feed/components/report-wrong-mention-modal",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/destroyable","feed-requests/update-actions","global-utils/utils/url","global-utils/utils/html-safe","@glimmer/component","@ember/service","@ember/object","artdeco-modal/components/artdeco-modal","ember-cli-pemberly-i18n/helpers/t","@ember/helper","@ember/modifier","ember-cli-pemberly-tracking/modifiers/track-interaction"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b,y){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var v,_,w,E,S,T,C,O,P e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"/UmsNrmQ",block:'[[[1,"\\n"],[1," "],[8,[32,0],null,[["@isOpen","@dismissModal","@modalClasses","@size"],[[30,1],[30,0,["dismissModal"]],"feed-report-wrong-mention-modal","medium"]],[["default"],[[[[1,"\\n "],[8,[30,2,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n "],[10,"h2"],[14,1,"report-wrong-mention-modal"],[12],[1,"\\n "],[1,[28,[32,1],["wrong_mention","feed/components/report-wrong-mention-modal"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,2,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n "],[10,2],[12],[1,"\\n "],[1,[28,[32,1],["report_wrong_mention_description","feed/components/report-wrong-mention-modal"],[["link"],[[28,[32,2],null,[["href","target"],[[30,0,["articlePreviewLink"]],"_blank"]]]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,2,["artdeco-modal-footer"]],null,[["@classNames"],["text-align-right"]],[["default"],[[[[1,"\\n "],[11,"button"],[24,0,"artdeco-button artdeco-button--secondary"],[24,4,"button"],[4,[32,3],["click",[30,0,["onCancelReportWrongMention"]]],null],[4,[32,4],["report-wrong-mention-modal_cancel"],null],[12],[1,"\\n "],[1,[28,[32,1],["cancel","feed/components/report-wrong-mention-modal"],null]],[1,"\\n "],[13],[1,"\\n "],[11,"button"],[24,0,"artdeco-button ml2"],[24,4,"button"],[4,[32,3],["click",[30,0,["onReportWrongMention"]]],null],[4,[32,4],["report-wrong-mention-modal_confirm"],null],[12],[1,"\\n "],[1,[28,[32,1],["confirm","feed/components/report-wrong-mention-modal"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n "]],["@isOpen","modal"],false,[]]',moduleName:"feed/components/report-wrong-mention-modal.gjs",scope:()=>[f.default,h.default,g.hash,b.on,y.default],isStrictMode:!0}),(v=(0,p.inject)("i18n"),_=(0,p.inject)("global-services@store-shim"),w=(0,p.inject)("persistent-toast-manager@persistent-toast-manager"),E=(0,p.inject)("tracking"),S=class e extends u.default{constructor(){super(...arguments);(0,t.default)(this,"i18n",T,this);(0,t.default)(this,"storeShim",C,this);(0,t.default)(this,"persistentToastManager",O,this);(0,t.default)(this,"tracking",P,this)}get articlePreviewLink(){const e=(0,d.getDomain)(),{articleUrn:t}=this.args return`https://${e}/feed/update/${t}`}onReportWrongMention(){const{i18n:t,persistentToastManager:i,storeShim:n}=this,{articleUrn:r,mentionedEntityUrn:o}=this.args,l=t.lookupTranslation(e,"report_wrong_mention_toast_error")(),u=(0,d.getDomain)(),p=(0,c.default)(t.lookupTranslation(e,"report_wrong_mention_toast_success_2")([{link:{href:`https://${u}/help/linkedin/answer/50021`,target:"_blank"}}])),m=(0,s.updateActionRequestV2)(o,"incorrectlyMentionedInTheNews",r) return n.adapterFor("-ember-m3").ajax(...m).then((()=>{var e,t if(!(0,a.isDestroying)(this)){null===(e=(t=this.args).onDismiss)||void 0===e||e.call(t) i.success({message:p})}})).catch((e=>{var t,n if((0,a.isDestroying)(this))throw e null===(t=(n=this.args).onDismiss)||void 0===t||t.call(n) i.error({message:l}) throw e}))}onCancelReportWrongMention(){var e,t null===(e=(t=this.args).onDismiss)||void 0===e||e.call(t)}dismissModal(){var e,t null===(e=(t=this.args).onDismiss)||void 0===e||e.call(t) this.tracking.fireInteractionEvent("report-wrong-mention-modal_dismiss")}},T=(0,n.default)(S.prototype,"i18n",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,n.default)(S.prototype,"storeShim",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,n.default)(S.prototype,"persistentToastManager",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,n.default)(S.prototype,"tracking",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(S.prototype,"onReportWrongMention",[m.action],Object.getOwnPropertyDescriptor(S.prototype,"onReportWrongMention"),S.prototype),(0,n.default)(S.prototype,"onCancelReportWrongMention",[m.action],Object.getOwnPropertyDescriptor(S.prototype,"onCancelReportWrongMention"),S.prototype),(0,n.default)(S.prototype,"dismissModal",[m.action],Object.getOwnPropertyDescriptor(S.prototype,"dismissModal"),S.prototype),S))})) define("feed/components/saved-items-empty-state",["exports","@ember/template-factory","@ember/helper","@ember/component/template-only","@ember/component","ember-cli-pemberly-tracking/modifiers/track-render","global-helpers/helpers/eq","artdeco-empty-state/components/artdeco-empty-state","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,i,n,r,o,l,a,s){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const d=(0,r.setComponentTemplate)((0,t.createTemplateFactory)({id:"1EP4Td3b",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"feed-saved-items-empty-state text-align-center"],[17,1],[4,[32,0],null,[["pageKey","routeName","currentRoute"],["flagship3_saved_items_empty",[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n"],[41,[28,[32,2],[[30,2],"ARTICLES"],null],[[[1," "],[8,[32,3],null,[["@headline","@illustration","@message"],[[28,[32,4],["saved_items_empty_articles_title","feed/components/saved-items-empty-state"],null],"saved-articles",[28,[32,4],["saved_items_empty_articles_subtitle","feed/components/saved-items-empty-state"],null]]],null],[1,"\\n"]],[]],[[[41,[28,[32,2],[[30,2],"JOBS"],null],[[[1," "],[8,[32,3],null,[["@headline","@illustration","@message"],[[28,[32,4],["saved_items_empty_jobs_title","feed/components/saved-items-empty-state"],null],"empty-search-jobs",[28,[32,4],["saved_items_empty_jobs_subtitle","feed/components/saved-items-empty-state"],null]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,3],null,[["@headline","@illustration","@message"],[[28,[32,4],["saved_items_empty_all_title","feed/components/saved-items-empty-state"],null],"add-attachment",[28,[32,4],["saved_items_empty_all_subtitle","feed/components/saved-items-empty-state"],null]]],null],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n"]],["&attrs","@filterType"],false,["-get-dynamic-var","if"]]',moduleName:"feed/components/saved-items-empty-state.gjs",scope:()=>[o.default,i.get,l.default,a.default,s.default],isStrictMode:!0}),(0,n.default)("saved-items-empty-state","SavedItemsEmptyState")) e.default=d})) define.alias("ember-self-focused/components/self-focused","feed/components/self-focused") define.alias("ember-finite-scroll/components/sentinel","feed/components/sentinel") define("feed/components/shimmer-loader",["exports","@ember/template-factory","@ember/component","@glimmer/component","scaffold-skeleton/components/skeleton","artdeco-card/components/artdeco-card"],(function(e,t,i,n,r,o){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 class l extends n.default{constructor(){super(...arguments) this.iconsLength=new Array(3) this.footerItemsLength=new Array(4)}}e.default=l;(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"4u2/IHjU",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"feed-shimmer-loader pv4"]],null,[["default"],[[[[1,"\\n "],[8,[32,1],null,null,[["default"],[[[[1,"\\n "],[8,[30,1,["Container"]],[[24,0,"align-items-center ph4"]],[["@gap","@size"],["small","full"]],[["default"],[[[[1,"\\n "],[8,[30,1,["Entity"]],null,[["@size","@type"],["small","circle"]],null],[1,"\\n "],[8,[30,1,["Container"]],null,[["@gap","@size"],["small","large"]],[["default"],[[[[1,"\\n "],[8,[30,1,["Text"]],null,[["@align","@size"],["left","medium"]],null],[1,"\\n "],[8,[30,1,["Text"]],null,[["@align","@size"],["left","large"]],null],[1,"\\n "],[8,[30,1,["Text"]],null,[["@align","@size"],["left","small"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,1,["Container"]],[[24,0,"ph4 mv4"]],[["@gap","@size"],["small","full"]],[["default"],[[[[1,"\\n "],[8,[30,1,["Text"]],null,[["@align","@size"],["left","full"]],null],[1,"\\n "],[8,[30,1,["Text"]],null,[["@align","@size"],["left","large"]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,1,["Container"]],[[24,0,"mv4"]],[["@gap","@size"],["small","full"]],[["default"],[[[[1,"\\n "],[8,[30,1,["Media"]],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,1,["Container"]],[[24,0,"mv4 ph4 flex-wrap-nowrap justify-space-between"]],[["@gap"],["medium"]],[["default"],[[[[1,"\\n "],[8,[30,1,["Container"]],[[24,0,"align-items-center"]],[["@gap","@size"],["xsmall","medium"]],[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["iconsLength"]]],null]],null],null,[[[1," "],[8,[30,1,["Icon"]],null,[["@size"],["small"]],null],[1,"\\n"]],[]],null],[1," "],[8,[30,1,["Text"]],null,[["@align","@size"],["left","medium"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,1,["Container"]],[[24,0,"align-items-center"]],[["@size"],["small"]],[["default"],[[[[1,"\\n "],[8,[30,1,["Text"]],null,[["@align","@size"],["right","small"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,1,["Container"]],[[24,0,"ph4 flex-wrap-nowrap"]],[["@gap","@size"],["xlarge","full"]],[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["footerItemsLength"]]],null]],null],null,[[[1," "],[8,[30,1,["Container"]],[[24,0,"flex-wrap-nowrap align-items-center"]],[["@size","@gap"],["small","xsmall"]],[["default"],[[[[1,"\\n "],[8,[30,1,["Icon"]],null,[["@size"],["medium"]],null],[1,"\\n "],[8,[30,1,["Text"]],[[24,0,"flex-grow-1"]],[["@align","@size"],["left","small"]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["Bones"],false,["each","-track-array"]]',moduleName:"feed/components/shimmer-loader.gjs",scope:()=>[o.default,r.default],isStrictMode:!0}),l)})) define.alias("ember-cloud-filepicker/components/slideshare-file-picker","feed/components/slideshare-file-picker") define("feed/components/sort-toggle-dsa",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/service","feed-utils/utils/constants","@glimmer/component","artdeco-dropdown/components/artdeco-dropdown","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-i18n/helpers/t","hue-web-icons/components/icon","artdeco-dropdown/components/artdeco-dropdown-item","global-helpers/helpers/not","international/utils/country-utils","@ember/helper"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var y,v,_,w,E e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"+9dTEKf3",block:'[[[1,"\\n"],[1," "],[10,0],[15,0,[29,["feed-sort-toggle-dsa__wrapper\\n ",[52,[30,0,["isSortByRecent"]],"feed-sort-toggle-dsa__wrapper--sticky"]]]],[12],[1,"\\n "],[8,[32,0],null,[["@isOpen","@onVisibilityChange","@justification","@class"],[[30,1],[30,2],"right","feed-sort-toggle-dsa"]],[["default"],[[[[1,"\\n "],[8,[30,3,["dropdown-trigger"]],[[4,[32,1],["feed_sort_toggle"],null]],[["@class"],["display-flex full-width"]],[["default"],[[[[1,"\\n "],[10,"hr"],[14,0,"feed-sort-toggle-dsa__sort-border"],[12],[13],[1,"\\n "],[10,0],[14,0,"display-flex t-black"],[12],[1,"\\n "],[10,1],[14,0,"t-12 t-black--light t-normal"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_sort_by","feed/components/sort-toggle-dsa"],null]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"t-12 t-bold mh1"],[12],[1,"\\n "],[1,[30,0,["sortOrderSelectedValue"]]],[1,"\\n "],[13],[1,"\\n "],[8,[32,3],null,[["@a11yText","@type","@size","@name"],[[28,[32,2],["a11y_dropdown_button","feed/components/sort-toggle-dsa"],null],"system","small","caret"]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,3,["dropdown-content"]],null,null,[["default"],[[[[1,"\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,4],[[4,[32,1],["feed_sort_view_set_relevant"],null]],[["@itemSelected","@selected"],[[28,[32,5],[[30,3,["invokeAndClose"]],[28,[32,5],[[30,4],[30,0,["relevantSort"]]],null]],null],[28,[32,6],[[30,0,["isSortByRecent"]]],null]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"t-14"],[12],[1,"\\n "],[1,[30,0,["mostRelevantOptionText"]]],[1,"\\n "],[13],[1,"\\n"],[41,[51,[30,0,["shouldHideOptionSubtext"]]],[[[1," "],[10,0],[14,0,"t-black--light t-12 t-normal"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_most_relevant_subtext","feed/components/sort-toggle-dsa"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,4],[[4,[32,1],["feed_sort_view_set_recent"],null]],[["@itemSelected","@selected"],[[28,[32,5],[[30,3,["invokeAndClose"]],[28,[32,5],[[30,4],[30,0,["chronologicalSort"]]],null]],null],[30,0,["isSortByRecent"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"t-14"],[12],[1,"\\n "],[1,[30,0,["mostRecentOptionText"]]],[1,"\\n "],[13],[1,"\\n"],[41,[51,[30,0,["shouldHideOptionSubtext"]]],[[[1," "],[10,0],[14,0,"t-black--light t-12 t-normal"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_most_recent_subtext","feed/components/sort-toggle-dsa"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"feed-sort-toggle-dsa__dropdown-cta t-12 t-black--light t-normal"],[12],[1,"\\n"],[44,[[28,[32,7],null,[["data-control-name","class","href","target","rel"],["feed_sort_setting_open","feed-sort-toggle-dsa__dropdown-link t-black--light t-bold",[30,0,["ctaUrl"]],"_self","noopener noreferrer"]]]],[[[41,[30,0,["showDsaCopy"]],[[[1," "],[1,[28,[32,2],["i18n_dropdown_cta_shortened","feed/components/sort-toggle-dsa"],[["linkInfo"],[[30,5]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["i18n_dropdown_cta","feed/components/sort-toggle-dsa"],[["linkInfo"],[[30,5]]]]],[1,"\\n"]],[]]]],[5]]],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n "],[13],[1,"\\n "]],["@isSortDropdownOpen","@onVisibilityChange","dropdown","@onSwitchSortOrder","linkInfo"],false,["if","unless","let"]]',moduleName:"feed/components/sort-toggle-dsa.gjs",scope:()=>[c.default,u.default,p.default,m.default,f.default,b.fn,h.default,b.hash],isStrictMode:!0}),(y=(0,a.inject)("i18n"),v=(0,a.inject)("locale"),_=class e extends d.default{constructor(){super(...arguments);(0,t.default)(this,"i18n",w,this);(0,t.default)(this,"locale",E,this);(0,i.default)(this,"ctaUrl","/mypreferences/d/settings/feed-preferences");(0,i.default)(this,"chronologicalSort",s.SortOrder.REV_CHRON);(0,i.default)(this,"relevantSort",s.SortOrder.RELEVANCE);(0,i.default)(this,"showDsaCopy",g.default.isEuropeanLocale(this.locale));(0,i.default)(this,"shouldHideOptionSubtext",this.showDsaCopy)}get isSortByRecent(){return this.args.feedSortOrder===this.chronologicalSort}get sortOrderSelectedValue(){let t=this.isSortByRecent?"i18n_most_recent":"i18n_most_relevant" this.showDsaCopy&&(t=this.isSortByRecent?"i18n_most_recent_first":"i18n_most_relevant_first") return this.i18n.lookupTranslation(e,t)}get mostRelevantOptionText(){let t="i18n_most_relevant_recommended" this.showDsaCopy&&(t="i18n_most_relevant_first") return this.i18n.lookupTranslation(e,t)}get mostRecentOptionText(){let t="i18n_most_recent" this.showDsaCopy&&(t="i18n_most_recent_first") return this.i18n.lookupTranslation(e,t)}},w=(0,n.default)(_.prototype,"i18n",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,n.default)(_.prototype,"locale",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_))})) define("feed/components/sort-toggle",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","artdeco-dropdown/components/artdeco-dropdown","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-i18n/helpers/t","hue-web-icons/components/icon","artdeco-dropdown/components/artdeco-dropdown-item","@ember/helper","global-helpers/helpers/not"],(function(e,t,i,n,r,o,l,a,s,d,c){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const u=(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"sMcLqb6N",block:'[[[1,"\\n"],[1," "],[8,[32,0],null,[["@isOpen","@onVisibilityChange","@justification","@class"],[[30,1],[30,2],"right","mb2"]],[["default"],[[[[1,"\\n "],[8,[30,3,["dropdown-trigger"]],[[4,[32,1],["feed_sort_dropdown_trigger"],null]],[["@class"],["display-flex full-width"]],[["default"],[[[[1,"\\n "],[10,"hr"],[14,0,"flex-grow-1 mr2 mvA feed-index-sort-border"],[12],[13],[1,"\\n "],[10,0],[14,0,"display-flex t-black"],[12],[1,"\\n "],[10,1],[14,0,"t-12 t-black--light t-normal"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_sort_by","feed/components/sort-toggle"],null]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"t-12 t-bold mh1"],[12],[1,"\\n"],[41,[30,4],[[[1," "],[1,[28,[32,2],["i18n_recent","feed/components/sort-toggle"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["i18n_top","feed/components/sort-toggle"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[8,[32,3],null,[["@a11yText","@type","@size","@name"],[[28,[32,2],["a11y_dropdown_button","feed/components/sort-toggle"],null],"system","small","caret"]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,3,["dropdown-content"]],null,null,[["default"],[[[[1,"\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,4],[[4,[32,1],["feed_sort_toggle_relevance"],null]],[["@itemSelected","@selected"],[[28,[32,5],[[30,5],"feed"],null],[28,[32,6],[[30,4]],null]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["i18n_top","feed/components/sort-toggle"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,4],[[4,[32,1],["feed_sort_toggle_chron"],null]],[["@itemSelected","@selected"],[[28,[32,5],[[30,5],"chronFeed"],null],[30,4]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["i18n_recent","feed/components/sort-toggle"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n"]],["@isSortDropdownOpen","@onVisibilityChange","dropdown","@isSortByRecent","@onClickFeedSortDropdown"],false,["if"]]',moduleName:"feed/components/sort-toggle.gjs",scope:()=>[r.default,o.default,l.default,a.default,s.default,d.fn,c.default],isStrictMode:!0}),(0,i.default)("sort-toggle","SortToggle")) e.default=u})) define("feed/components/sortable-objects",["exports","ember-drag-drop/components/sortable-objects"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=t.default})) define("feed/components/update-list-item",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/classPrivateFieldSet","@babel/runtime/helpers/esm/classPrivateFieldGet","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","global-utils/utils/html-safe","global-utils/utils/is-browser","ember-batcher","@ember/object","@glimmer/tracking","@glimmer/component","@ember/service","ember-scroll-modifiers/modifiers/did-intersect","@ember/render-modifiers/modifiers/did-insert","feed/modifiers/set-style","@ember/helper"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b,y,v){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var _,w,E,S,T,C,O e.default=(0,s.setComponentTemplate)((0,a.createTemplateFactory)({id:"kDWHsq75",block:'[[[1,"\\n "],[11,0],[16,"data-id",[30,1]],[16,0,[52,[30,0,["hasOccludedHeight"]],"has-occluded-height"]],[17,2],[4,[32,0],null,[["onEnter"],[[30,0,["updateExposed"]]]]],[4,[32,1],[[30,0,["wedgeHeightOnInsert"]]],null],[4,[32,2],["height"],[["to"],[[30,0,["renderedHeightStyle"]]]]],[12],[1,"\\n "],[18,3,[[28,[32,3],null,[["onUpdateInsertedForViewState"],[[30,0,["onUpdateInsertedForViewState"]]]]],[28,[32,3],null,[["isFirstUpdate","isHighlightedUpdate","showCommentBox"],[[30,0,["isFirstUpdate"]],[30,0,["isHighlightedUpdate"]],[30,0,["showCommentBox"]]]]]]],[1,"\\n "],[13],[1,"\\n "]],["@updateUrn","&attrs","&default"],false,["if","yield"]]',moduleName:"feed/components/update-list-item.gjs",scope:()=>[g.default,b.default,y.default,v.hash],isStrictMode:!0}),(_=(0,h.inject)("router"),w=(0,h.inject)("feed-utils@view-state"),E=(O=new WeakMap,class extends f.default{constructor(){super(...arguments);(0,t.default)(this,"router",S,this);(0,t.default)(this,"viewState",T,this);(0,t.default)(this,"renderedHeight",C,this) O.set(this,{writable:!0,value:0})}get hasOccludedHeight(){return this.renderedHeight&&""!==this.renderedHeight}get isFirstUpdate(){return this.args.updateUrn===this.args.firstUpdateUrn}get isHighlightedUpdate(){return this.args.updateUrn===this.args.highlightedUpdateUrn||this.args.shareUrn===this.args.highlightedUpdateUrn}get showCommentBox(){return this.isFirstUpdate&&this.isHighlightedUpdate&&this.args.showCommentBox}get renderedHeightStyle(){return this.renderedHeight?(0,d.default)(`${this.renderedHeight}px`):""}onUpdateInsertedForViewState(e){this.args.saveScrollPosition&&this._handlePostUpdateInsertion(e)}updateExposed(){var e,t,i;(0,n.default)(this,O,(e=(0,r.default)(this,O),e++,e)) null===(t=(i=this.args).registerUpdate)||void 0===t||t.call(i,{exposureCount:(0,r.default)(this,O)}) if(this.args.saveScrollPosition){var o const e=null===(o=this.router)||void 0===o?void 0:o.currentRouteName this.viewState.setExposedUpdate(this.args.updateUrn,e)}}wedgeHeightOnInsert(){this.args.saveScrollPosition&&this._wedgeHeight()}_handlePostUpdateInsertion(e){var t const i=null===(t=this.router)||void 0===t?void 0:t.currentRouteName,n=this.viewState.getInitialRenderStateForUpdate(this.args.updateUrn,i) n&&n.height?(0,u.mutateDOM)((()=>{this.isDestroying||this._restoreListItemState()})):(0,u.readDOM)((()=>{this.isDestroying||this._setRenderedState(e)}))}_restoreListItemState(){this.hasOccludedHeight&&(this.renderedHeight="")}_setRenderedState(e){if(c.default){var t const i=null===(t=this.router)||void 0===t?void 0:t.currentRouteName,n=window.getComputedStyle(e),r=e.offsetHeight+parseInt(n.marginTop,10)+parseInt(n.marginBottom,10) this.viewState.setInitialRenderStateForUpdate(this.args.updateUrn,i,{height:r})}}_wedgeHeight(){var e const t=null===(e=this.router)||void 0===e?void 0:e.currentRouteName,i=this.viewState.getInitialRenderStateForUpdate(this.args.updateUrn,t) i&&i.height&&(this.renderedHeight=i.height)}}),S=(0,o.default)(E.prototype,"router",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,o.default)(E.prototype,"viewState",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,o.default)(E.prototype,"renderedHeight",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.default)(E.prototype,"onUpdateInsertedForViewState",[p.action],Object.getOwnPropertyDescriptor(E.prototype,"onUpdateInsertedForViewState"),E.prototype),(0,o.default)(E.prototype,"updateExposed",[p.action],Object.getOwnPropertyDescriptor(E.prototype,"updateExposed"),E.prototype),(0,o.default)(E.prototype,"wedgeHeightOnInsert",[p.action],Object.getOwnPropertyDescriptor(E.prototype,"wedgeHeightOnInsert"),E.prototype),E))})) define("feed/components/update-list",["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","feed-utils/utils/constants","@ember/object/internals","@glimmer/tracking","global-helpers/helpers/name","feed-utils/utils/client-sensor-constants","@ember/debug","@glimmer/component","@ember/object","rsvp","@ember/service","@ember/destroyable","ember-cli-pemberly-tracking/modifiers/rum-render-event","@ember/render-modifiers/modifiers/did-update","@ember/render-modifiers/modifiers/did-insert","ember-cli-pemberly-i18n/helpers/t","scaffold-finite-scroll/components/finite-scroll","feed/components/shimmer-loader","global-helpers/helpers/not","feed/helpers/is-dash-update","global-helpers/helpers/gt","feed/components/feed-skip-link","feed/components/update-list-item","global-helpers/helpers/sum","@ember/helper","feed/helpers/is-occlusion-enabled","feed/components/observable-spinner","artdeco-empty-state/components/artdeco-empty-state","feed/components/end-of-feed-dsa","@ember/modifier","ember-cli-pemberly-tracking/modifiers/track-interaction","international/utils/country-utils","@ember/utils"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b,y,v,_,w,E,S,T,C,O,P,k,D,I,M,U,x,N,F,R,A,j){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var L,z,q,H,G,B,V,W,Q,K,Y,$,J,X,Z const ee="feedInitialRequestUpdates" e.default=(0,l.setComponentTemplate)((0,o.createTemplateFactory)({id:"jZvBIMss",block:'[[[1,"\\n"],[1," "],[11,0],[17,1],[4,[32,0],null,[["rumComponentId","elementId"],[[30,0,["rumComponentId"]],[30,0,["elementId"]]]]],[4,[32,1],[[30,0,["refreshData"]],[30,2]],null],[4,[32,2],[[30,0,["checkforStaleFeed"]]],null],[12],[1,"\\n "],[10,"h1"],[14,0,"visually-hidden"],[12],[1,"\\n "],[1,[28,[32,3],["feed_updates","feed/components/update-list"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,4],null,[["@isDisabled","@items","@onTrigger","@rootMargin","@resultType","@isHotkeyEnabled","@hotkeyContext","@maxAutoloadsReflow"],[[28,[32,5],[[30,0,["canInfiniteScroll"]]],null],[30,0,["items"]],[30,0,["onInfiniteScroll"]],[30,0,["rootMargin"]],[28,[32,3],["feed_updates","feed/components/update-list"],null],[30,0,["isHotkeysEnabled"]],"FEED",1]],[["content","empty"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,4]],null]],null],null,[[[44,[[28,[32,6],[[30,5]],null]],[[[41,[28,[32,7],[[30,6],0],null],[[[1," "],[8,[32,8],null,null,null],[1,"\\n"]],[]],null],[1," "],[8,[30,3],null,[["@index"],[[30,6]]],[["default"],[[[[1,"\\n "],[8,[32,9],[[24,0,"relative"],[16,"data-finite-scroll-hotkey-item",[30,6]]],[["@firstUpdateUrn","@highlightedUpdateUrn","@isDashEnabled","@registerUpdate","@saveScrollPosition","@shareUrn","@showCommentBox","@updateIndex","@updateUrn"],[[30,0,["firstUpdateUrn"]],[30,8],[30,7],[28,[32,10],[[30,0,["checkForDuplicateUpdate"]],[52,[30,7],[30,5,["metadata","backendUrn"]],[30,5,["updateMetadata","urn"]]]],null],[30,9],[52,[30,7],[30,5,["metadata","shareUrn"]],[30,5,["updateMetadata","shareUrn"]]],[30,10],[28,[32,11],[[30,6],1],null],[52,[30,7],[30,5,["metadata","backendUrn"]],[30,5,["updateMetadata","urn"]]]]],[["default"],[[[[1,"\\n "],[18,18,[[28,[32,12],null,[["update"],[[50,[30,13],0,null,[["model","conversationStarters","isDashEnabled","isHighlighted","showCommentBox","hideCaEntryPoint","shouldPaginateComments","occlusionEnabled","onRequestReload","onUpdateInsertedForViewState","updateIndex"],[[30,5],[52,[30,7],[30,5,["attachment","content","conversationStartersComponent"]],[30,5,["relatedContent","content"]]],[30,7],[30,12,["isHighlightedUpdate"]],[30,12,["showCommentBox"]],true,[30,0,["shouldPaginateComments"]],[28,[32,13],[[30,0,["pageCount"]],[30,6],[30,14]],null],[30,15],[30,11,["onUpdateInsertedForViewState"]],[28,[32,11],[[30,6],1],null]]]]]]],[28,[32,12],null,null],[28,[32,12],null,[["isFirstUpdate","isNupVisible"],[[30,12,["isFirstUpdate"]],[30,0,["newUpdateIndicator","isIndicatorVisible"]]]]]]],[1,"\\n "]],[11,12]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[7]]]],[5,6]],null],[1," "]],[3,4]],[[[1,"\\n"],[41,[51,[30,16]],[[[41,[30,0,["isFeedShimmerLoaderEnabled"]],[[[1," "],[8,[32,14],null,null,null],[1,"\\n"]],[]],[[[1," "],[8,[32,15],null,[["@showSpinner","@pageKey","@loaderSize","@loaderClassName"],[true,"feed/no-updates-spinner","small","feed-loader feed-loader--empty"]],null],[1,"\\n"]],[]]]],[]],null],[1," "]],[]]]]],[1,"\\n\\n"],[41,[30,16],[[[1," "],[8,[32,16],null,[["@class","@headline","@message","@illustration","@actionText","@onButtonClick"],["pv5",[28,[32,3],["error_page_headline","feed/components/update-list"],null],[28,[32,3],["error_page_description","feed/components/update-list"],null],"error-server",[28,[32,3],["error_page_action","feed/components/update-list"],null],[30,0,["onReloadFeedCTAClick"]]]],null],[1,"\\n"]],[]],[[[41,[30,0,["showEndOfFeedDSA"]],[[[1," "],[8,[32,17],null,[["@onButtonClick"],[[30,17]]],null],[1,"\\n"]],[]],[[[41,[30,0,["showReloadFeedButton"]],[[[1," "],[10,0],[14,0,"text-align-center"],[12],[1,"\\n "],[11,"button"],[24,0,"artdeco-button artdeco-button--secondary mv5 t-14 t-black t-normal"],[24,4,"button"],[4,[32,18],["click",[30,0,["onReloadFeedCTAClick"]]],null],[4,[32,19],["end_refresh"],null],[12],[1,"\\n "],[1,[28,[32,3],["i18n_reload_feed_button","feed/components/update-list"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]]],[]]],[1," "],[13],[1,"\\n "]],["&attrs","@model","ItemContainer","items","update","updateIndex","isDashUpdate","@highlightedUpdateUrn","@saveScrollPosition","@showCommentBox","actions","properties","@updateComponentName","@isFetchFewerUpdatesEnabled","@onRequestReload","@caughtErrorLoadingUpdates","@switchToRelevanceFeed","&default"],false,["each","-track-array","let","if","yield","component","unless"]]',moduleName:"feed/components/update-list.gjs",scope:()=>[y.default,v.default,_.default,w.default,E.default,T.default,C.default,O.default,P.default,k.default,I.fn,D.default,I.hash,M.default,S.default,U.default,x.default,N.default,F.on,R.default],isStrictMode:!0}),(L=(0,g.inject)("authentication@authenticated-user"),z=(0,g.inject)("client-sensor-web@client-sensor"),q=(0,g.inject)("lix"),H=(0,g.inject)("locale"),G=(0,g.inject)("global-services@local-storage"),B=(0,g.inject)("new-update-indicator@new-update-indicator"),V=class extends m.default{get isHotkeysEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-enable-hotkeys")}get rumComponentId(){return this.args.rumComponentId||"render-update-list"}get isStaleFeedMetricFixLixEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-stale-feed-metric-fix")}get firstUpdateUrn(){var e,t,i,n const r=null===(e=this.args.model[0])||void 0===e||null===(t=e.elements)||void 0===t?void 0:t[0] return this.args.isDashEnabled&&(0,C.isDashUpdate)([r])?null==r||null===(i=r.metadata)||void 0===i?void 0:i.backendUrn:null==r||null===(n=r.updateMetadata)||void 0===n?void 0:n.urn}get memberName(){var e return(0,c.getName)(null===(e=this.authenticatedUser)||void 0===e?void 0:e.miniProfile)}get showReloadFeedButton(){let e=!1 void 0!==this.args.showReloadFeedButtonOverride?e=this.args.showReloadFeedButtonOverride:(this.caughtErrorLoadingSubsequentUpdates||this.args.endOfFeed)&&(e=!0) return e}get showEndOfFeedDSA(){return this.args.endOfFeed&&this.args.feedSortOrder===a.SortOrder.REV_CHRON&&A.default.isEuropeanLocale(this.locale)}get items(){const{model:e=[]}=this.args return e.flatMap((e=>[...e.elements??[]]))}get pageCount(){var e return((null===(e=this.args.model)||void 0===e?void 0:e.length)||1)-1}get rootMargin(){var e let t=1500 if((0,j.isPresent)(this.args.rootMargin))t=this.args.rootMargin else if(null!==(e=this.args)&&void 0!==e&&e.isPageSizeTuningEnabled&&this.lix.getTreatmentIsEnabled("voyager.web.feed-revenue-real-time-ads")){var i,n t=(null===(i=this.lix.getTreatment("voyager.web.feed-revenue-real-time-ads"))||void 0===i||null===(n=i.split("_")[1])||void 0===n?void 0:n.split("-")[2])||"500"}return`${t}px`}get isFeedShimmerLoaderEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-shimmer-loader")}constructor(){super(...arguments);(0,t.default)(this,"authenticatedUser",W,this);(0,t.default)(this,"clientSensor",Q,this);(0,t.default)(this,"lix",K,this);(0,t.default)(this,"locale",Y,this);(0,t.default)(this,"localStorage",$,this);(0,t.default)(this,"newUpdateIndicator",J,this);(0,i.default)(this,"elementId",(0,s.guidFor)(this));(0,i.default)(this,"registeredUpdateUrns",new Set);(0,t.default)(this,"canInfiniteScroll",X,this);(0,t.default)(this,"caughtErrorLoadingSubsequentUpdates",Z,this) this.newUpdateIndicator.on("refreshData",this,this.refreshData)}willDestroy(){super.willDestroy(...arguments) this.newUpdateIndicator.off("refreshData",this,this.refreshData)}checkforStaleFeed(){this.args.logIngraphMetric&&!this.isStaleFeedMetricFixLixEnabled&&this._checkForStaleFeed()}onInfiniteScroll(){const e=(0,h.defer)() this.args.onNextPage(e) return e.promise.then((e=>{(0,b.isDestroying)(this)||e||(this.canInfiniteScroll=!1)})).catch((e=>{if((0,b.isDestroying)(this))throw e;(0,p.runInDebug)((()=>{console.error("Error occurred trying to fetch next page",e.stack)})) this.canInfiniteScroll=!1 this.caughtErrorLoadingSubsequentUpdates=!0}))}checkForDuplicateUpdate(e){let{exposureCount:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{} if(!this.args.logIngraphMetric||t>1)return const i=this.registeredUpdateUrns,n=this.lix.getTreatmentIsEnabled("voyager.client.staff") let r if(i.has(e))r=n?u.MainFeedClientSensorMetrics.DUPLICATE_FEED_UPDATE_COMPANY:u.MainFeedClientSensorMetrics.DUPLICATE_FEED_UPDATE else{i.add(e) r=n?u.MainFeedClientSensorMetrics.DISTINCT_FEED_UPDATE_COMPANY:u.MainFeedClientSensorMetrics.DISTINCT_FEED_UPDATE if(this.args.isUpdatesViewedThresholdEnabled&&6===i.size){var o,l null===(o=(l=this.args).onUpdatesViewedThreshold)||void 0===o||o.call(l)}}this.clientSensor.incrementMetricCounter({groupName:u.CLIENT_SENSOR_GROUP_NAME,metricName:r})}onReloadFeedCTAClick(){var e,t this.canInfiniteScroll=!0 this._resetErrorState() null===(e=(t=this.args).onRequestReload)||void 0===e||e.call(t)}refreshData(){this.canInfiniteScroll||(this.canInfiniteScroll=!0)}_checkForStaleFeed(){var e,t const i=null===(e=this.args.model)||void 0===e||null===(t=e[0])||void 0===t?void 0:t.elements if(i){const e=this.localStorage.getItem(ee)??"" let t t=this.args.isDashEnabled?i.map((e=>{var t return null===(t=e.metadata)||void 0===t?void 0:t.backendUrn})):i.map((e=>{var t return null===(t=e.updateMetadata)||void 0===t?void 0:t.urn})) const n=t.join("|"),r=e.split("|")[0],o=this.lix.getTreatmentIsEnabled("voyager.client.staff") if(r===t[0]){const e=o?u.MainFeedClientSensorMetrics.STALE_FEED_FIRST_UPDATE_COMPANY:u.MainFeedClientSensorMetrics.STALE_FEED_FIRST_UPDATE this.clientSensor.incrementMetricCounter({groupName:u.CLIENT_SENSOR_GROUP_NAME,metricName:e})}if(e===n){const e=o?u.MainFeedClientSensorMetrics.STALE_FEED_COMPANY:u.MainFeedClientSensorMetrics.STALE_FEED this.clientSensor.incrementMetricCounter({groupName:u.CLIENT_SENSOR_GROUP_NAME,metricName:e})}else this.localStorage.setItem(ee,n)}}_resetErrorState(){this.caughtErrorLoadingSubsequentUpdates&&(this.caughtErrorLoadingSubsequentUpdates=!1)}},W=(0,n.default)(V.prototype,"authenticatedUser",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,n.default)(V.prototype,"clientSensor",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,n.default)(V.prototype,"lix",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,n.default)(V.prototype,"locale",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,n.default)(V.prototype,"localStorage",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,n.default)(V.prototype,"newUpdateIndicator",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,n.default)(V.prototype,"canInfiniteScroll",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),Z=(0,n.default)(V.prototype,"caughtErrorLoadingSubsequentUpdates",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(V.prototype,"checkforStaleFeed",[f.action],Object.getOwnPropertyDescriptor(V.prototype,"checkforStaleFeed"),V.prototype),(0,n.default)(V.prototype,"onInfiniteScroll",[f.action],Object.getOwnPropertyDescriptor(V.prototype,"onInfiniteScroll"),V.prototype),(0,n.default)(V.prototype,"checkForDuplicateUpdate",[f.action],Object.getOwnPropertyDescriptor(V.prototype,"checkForDuplicateUpdate"),V.prototype),(0,n.default)(V.prototype,"onReloadFeedCTAClick",[f.action],Object.getOwnPropertyDescriptor(V.prototype,"onReloadFeedCTAClick"),V.prototype),(0,n.default)(V.prototype,"refreshData",[f.action],Object.getOwnPropertyDescriptor(V.prototype,"refreshData"),V.prototype),V))})) define("feed/components/x-skills-preference-modal",["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/template-factory","@ember/helper","@ember/component","graphql-queries/mutations/profile/edit/profile-edit-save-form.graphql","@glimmer/tracking","form-builder-v2/utils/dash-form-utils-v2","@ember/object","@ember/service","@glimmer/component","artdeco-modal/components/artdeco-modal","ember-cli-pemberly-i18n/helpers/t","artdeco-loader/components/artdeco-loader","form-builder-v2/components/dash-form-element-group","artdeco-button/components/artdeco-button","global-helpers/helpers/not","@ember/modifier"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b,y,v,_,w){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var E,S,T,C,O,P,k,D,I,M,U,x,N,F,R,A,j,L,z,q,H,G e.default=(0,s.setComponentTemplate)((0,l.createTemplateFactory)({id:"rXoywUDb",block:'[[[1,"\\n"],[1," "],[8,[32,0],null,[["@isOpen","@size","@dismissModal","@modalClasses"],[true,"medium",[30,0,["dismissModal"]],"feed-x-skills-preference-modal"]],[["default"],[[[[1,"\\n"],[41,[30,0,["isLoading"]],[[[1," "],[10,0],[14,0,"feed-x-skills-preference-modal__loader-scrim"],[12],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[8,[30,1,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n "],[10,"h2"],[14,1,"x-skills-preference-modal-header"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_x_skills_preferences_modal_header","feed/components/x-skills-preference-modal"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,1,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["isLoading"]],[[[1," "],[10,0],[14,0,"feed-x-skills-preference-modal__loader-wrapper"],[12],[1,"\\n "],[8,[32,2],null,[["@a11yText","@size"],[[28,[32,1],["i18n_saving","feed/components/x-skills-preference-modal"],null],"small"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["skillsPrefElementGroupViewModel"]],[[[1," "],[10,0],[12],[1,"\\n "],[8,[32,3],null,[["@viewModel"],[[30,0,["skillsPrefElementGroupViewModel"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "],[8,[30,1,["artdeco-modal-footer"]],null,[["@classNames"],["display-flex justify-flex-end"]],[["default"],[[[[1,"\\n"],[41,[30,0,["skillsPrefElementGroupViewModel"]],[[[1," "],[8,[32,4],[[4,[32,5],["click",[30,0,["dismissModal"]]],null]],[["@class","@type","@controlType","@text"],["mr2","secondary","button",[28,[32,1],["i18n_cancel","feed/components/x-skills-preference-modal"],null]]],null],[1,"\\n "],[8,[32,4],[[24,0,"x-skills-preference-modal__save-btn"],[4,[32,5],["click",[30,0,["onSave"]]],null]],[["@controlType","@text","@disabled"],["button",[28,[32,1],["i18n_save","feed/components/x-skills-preference-modal"],null],[28,[32,6],[[30,0,["changeDetected"]]],null]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "]],["modal"],false,["if"]]',moduleName:"feed/components/x-skills-preference-modal.gjs",scope:()=>[h.default,g.default,b.default,y.default,v.default,w.on,_.default],isStrictMode:!0}),(E=(0,m.inject)("tracking"),S=(0,m.inject)("i18n"),T=(0,m.inject)("profile-services@identity-store"),C=(0,m.inject)("form-builder-v2@dependency-handler"),O=(0,m.inject)("@linkedin/ember-restli-graphql@graphql"),P=(0,m.inject)("persistent-toast-manager@persistent-toast-manager"),k=(0,m.inject)("launchpad-services@launchpad-v2"),D=(q=new WeakSet,H=new WeakSet,G=new WeakSet,z=class extends f.default{constructor(){super(...arguments) G.add(this) H.add(this) q.add(this);(0,t.default)(this,"tracking",I,this);(0,t.default)(this,"i18n",M,this);(0,t.default)(this,"identityStore",U,this);(0,t.default)(this,"dependencyHandler",x,this);(0,t.default)(this,"graphql",N,this);(0,t.default)(this,"persistentToastManager",F,this);(0,t.default)(this,"launchpadV2",R,this);(0,t.default)(this,"skillsPrefElementGroupViewModel",A,this);(0,t.default)(this,"isSaving",j,this);(0,t.default)(this,"isFetchingFormData",L,this) this.isFetchingFormData=!0;(0,n.default)(this,q,B).call(this)}get isLoading(){return this.isSaving||this.isFetchingFormData}get changeDetected(){return!!this.skillsPrefElementGroupViewModel.updatedFormElementInputs.length}dismissModal(){var e,t null===(e=(t=this.args).onDismiss)||void 0===e||e.call(t)}onSave(){if(!this.isSaving){this.isSaving=!0;(0,n.default)(this,G,W).call(this).then((()=>{if(!this.isDestroying){this.launchpadV2.getLaunchpadData("FEED") const e=(0,n.default)(this,H,V).call(this,"i18n_x_skills_preferences_modal_success_message") this.persistentToastManager.success({message:e}) this.dismissModal()}})).catch((e=>{if(this.isDestroying)throw e const t=(0,n.default)(this,H,V).call(this,"i18n_x_skills_preferences_modal_error_message") this.persistentToastManager.error({message:t}) throw e})).finally((()=>{this.isDestroying||(this.isSaving=!1)}))}}}),I=(0,r.default)(D.prototype,"tracking",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,r.default)(D.prototype,"i18n",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,r.default)(D.prototype,"identityStore",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,r.default)(D.prototype,"dependencyHandler",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,r.default)(D.prototype,"graphql",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,r.default)(D.prototype,"persistentToastManager",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,r.default)(D.prototype,"launchpadV2",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,r.default)(D.prototype,"skillsPrefElementGroupViewModel",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=(0,r.default)(D.prototype,"isSaving",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),L=(0,r.default)(D.prototype,"isFetchingFormData",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,r.default)(D.prototype,"dismissModal",[p.action],Object.getOwnPropertyDescriptor(D.prototype,"dismissModal"),D.prototype),(0,r.default)(D.prototype,"onSave",[p.action],Object.getOwnPropertyDescriptor(D.prototype,"onSave"),D.prototype),D)) function B(){this.identityStore.queryURL("com.linkedin.voyager.dash.identity.profile.forms.ProfileEditFormPage","",{reload:!0,params:{q:"profileEditFormType",recipe:"com.linkedin.voyager.dash.deco.identity.profile.ProfileEditFormPage",profileEditFormType:"SKILLS_PREFERENCE_FOR_COLLABORATIVE_ARTICLES"}}).then((e=>{if(!this.isDestroying){const t=e.elements.filter((e=>{var t,i return!(null===(t=e.profileForm)||void 0===t||null===(i=t.basicProfileForm)||void 0===i||!i.formElementGroups)})).map((e=>{var t,i return null===(t=e.profileForm)||void 0===t||null===(i=t.basicProfileForm)||void 0===i?void 0:i.formElementGroups}))[0]||[] if(t[0]){this.skillsPrefElementGroupViewModel=new u.FormElementGroupViewModel(t[0],this.dependencyHandler) this.tracking.firePageViewEvent("d_flagship3_article_skills_preference")}}})).finally((()=>{this.isDestroying||(this.isFetchingFormData=!1)}))}function V(e,t){return this.i18n.lookupTranslation(z,e)([t])}function W(){const e={formElementInputs:this.skillsPrefElementGroupViewModel.updatedFormElementInputs} return this.graphql.executeQuery(d.default,e,{reload:!0})}})) define("feed/config/environment",["exports"],(function(e){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 let t try{const e="feed/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("feed/controllers/hashtag-feed/by-id",["exports","feed/controllers/hashtag-feed/hashtag-base"],(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/controllers/hashtag-feed/by-keyword",["exports","@babel/runtime/helpers/esm/defineProperty","feed/controllers/hashtag-feed/hashtag-base"],(function(e,t,i){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 class n extends i.default{constructor(){super(...arguments);(0,t.default)(this,"queryParams",["keywords"]);(0,t.default)(this,"keywords",null)}}e.default=n})) define("feed/controllers/hashtag-feed/hashtag-base",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/controller","@ember/object","@glimmer/tracking","@ember/service","appreciation/utils/constants","global-utils/utils/api-compat"],(function(e,t,i,n,r,o,l,a,s,d,c){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var u,p,m,f,h,g,b,y,v e.default=(u=(0,s.inject)("feed@content-topic-feed"),p=(0,s.inject)("app-aware-link@custom-navigation-context-router"),m=(0,s.inject)("lix"),f=class extends o.default{constructor(){super(...arguments);(0,t.default)(this,"contentTopicFeedService",h,this);(0,t.default)(this,"cncRouter",g,this);(0,t.default)(this,"lix",b,this);(0,t.default)(this,"appreciationUrl",y,this);(0,t.default)(this,"shouldOpenAppreciationModal",v,this) this.cncRouter.registerHandler(d.APPRECIATION_BASE_URL,this._openAppreciationModal.bind(this))}get isDashEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-dash-hashtag-feed")}getFollowImpressionEvent(){var e return this.contentTopicFeedService.getFollowImpressionEvent(null===(e=this.model)||void 0===e?void 0:e.contentTopicData)}onCloseAppreciationModal(){this.shouldOpenAppreciationModal=!1 this.appreciationUrl=void 0}onPrependRecordToFeed(e){const{updateCollections:t}=this.model let i=e if("com.linkedin.voyager.contentcreation.ShareStatus"===(0,c.classNameOf)(e)){var n i=e.updateV2||(null===(n=e.update)||void 0===n?void 0:n.value)}const r=(0,c.classNameOf)(i);("com.linkedin.voyager.feed.render.UpdateV2"===r||"com.linkedin.voyager.dash.feed.Update"===r)&&t[0].elements.unshift(i)}_openAppreciationModal(e){this.shouldOpenAppreciationModal=!0 this.appreciationUrl=e}},h=(0,n.default)(f.prototype,"contentTopicFeedService",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,n.default)(f.prototype,"cncRouter",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,n.default)(f.prototype,"lix",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,n.default)(f.prototype,"appreciationUrl",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,n.default)(f.prototype,"shouldOpenAppreciationModal",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(f.prototype,"getFollowImpressionEvent",[l.action],Object.getOwnPropertyDescriptor(f.prototype,"getFollowImpressionEvent"),f.prototype),(0,n.default)(f.prototype,"onCloseAppreciationModal",[l.action],Object.getOwnPropertyDescriptor(f.prototype,"onCloseAppreciationModal"),f.prototype),(0,n.default)(f.prototype,"onPrependRecordToFeed",[l.action],Object.getOwnPropertyDescriptor(f.prototype,"onPrependRecordToFeed"),f.prototype),f)})) define("feed/controllers/index",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/controller","@glimmer/tracking","@ember/service","@ember/object","@ember/utils","sharing-entry/utils/query-param-utils","feed-requests/gdpr","appreciation/utils/constants","feed-utils/utils/constants","lego/utils/constants","feed-utils/utils/client-sensor-constants","ember","international/utils/country-utils"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b,y){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var v,_,w,E,S,T,C,O,P,k,D,I,M,U,x,N,F,R,A,j,L,z,q,H,G,B,V,W,Q,K,Y e.default=(v=(0,s.inject)("app-aware-link@custom-navigation-context-router"),_=(0,s.inject)("client-sensor-web@client-sensor"),w=(0,s.inject)("tracking"),E=(0,s.inject)("launchpad-services@launchpad-v2"),S=(0,s.inject)("lix"),T=(0,s.inject)("new-update-indicator@new-update-indicator"),C=(0,s.inject)("lego@tracking"),O=(0,s.inject)("global-services@store-shim"),P=(0,s.inject)("locale"),k=class extends l.default{get isFuvDelayLixEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.consent-experience-modal-fuv-delay")}get isLaunchpadV2Shown(){return this.launchpadV2.isLaunchpadShown}get filterFeedOptions(){var e,t return(null===(e=this.model.updateCollections[0])||void 0===e||null===(t=e.metadata)||void 0===t?void 0:t.filterFeedOptions)??[]}get isPageAdmin(){var e,t return null===(e=this.model.pagesAdminOrganization)||void 0===e||null===(t=e.elements)||void 0===t?void 0:t.isAny("viewerPermissions.canCreateOrganicShare",!0)}get isEuropeanLocale(){return y.default.isEuropeanLocale(this.locale)}get rootMargin(){const e=this.lix.getTreatmentValue("voyager.web.feed-dash-main-feed") return"number"==typeof e?e:void 0}constructor(){super(...arguments);(0,i.default)(this,"queryParams",(0,u.useShareboxQueryParams)(["showCareersModal","edgeCohortsModalType","launchpadCardType","articleUrnStr","mentionedEntityStr","modalContext","hiringAction","jobId","legoTrackingToken","showSkillsModal",{shouldShowGroupFeed:{type:"boolean"}}]));(0,t.default)(this,"cncRouter",D,this);(0,t.default)(this,"clientSensor",I,this);(0,t.default)(this,"tracking",M,this);(0,t.default)(this,"launchpadV2",U,this);(0,t.default)(this,"lix",x,this);(0,t.default)(this,"newUpdateIndicator",N,this);(0,t.default)(this,"legoTracking",F,this);(0,t.default)(this,"storeShim",R,this);(0,t.default)(this,"locale",A,this);(0,t.default)(this,"isReportWrongMentionModalOpen",j,this);(0,t.default)(this,"articleUrnStr",L,this);(0,t.default)(this,"mentionedEntityStr",z,this);(0,t.default)(this,"showCareersModal",q,this);(0,t.default)(this,"hiringAction",H,this);(0,t.default)(this,"isConsentExperienceFuvThresholdMet",G,this);(0,t.default)(this,"jobId",B,this);(0,t.default)(this,"edgeCohortsModalType",V,this);(0,t.default)(this,"modalContext",W,this);(0,t.default)(this,"legoTrackingToken",Q,this);(0,t.default)(this,"shouldShowGroupFeed",K,this);(0,t.default)(this,"showSkillsModal",Y,this);(0,i.default)(this,"relevantSort",f.SortOrder.RELEVANCE);(0,i.default)(this,"prependUpdateToFeed",(e=>{let t=null if("READY"===e.mediaStatus){var i t=e.updateV2||(null===(i=e.update)||void 0===i?void 0:i.value) if(!t)return;(0,d.setProperties)(t,{shouldAutofocus:!0,initiallyHidden:!0,slideDirection:"feed-shared-update--toggle-up"})}else t=e.value||e if(this.isDashEnabled){(0,c.isEmpty)(this.model.updateCollections)&&(this.model.updateCollections[0]={elements:[]}) this.model.updateCollections[0].elements.unshift(t)}else{(0,c.isEmpty)(this.model.updateCollections)&&this.model.updateCollections.pushObject({elements:[]}) this.model.updateCollections[0].elements.unshift(t)}})) this._setupCncHandlers()}openReportWrongMentionModal(){this.isReportWrongMentionModalOpen=!0 this.tracking.firePageViewEvent("flagship3_feed_report_wrong_mention_modal")}closeReportWrongMentionModal(){this.isReportWrongMentionModalOpen=!1 this.articleUrnStr=void 0 this.mentionedEntityStr=void 0}doReloadFeed(){this.newUpdateIndicator.doFeedUpdate()}onCloseAppreciationModal(){(0,d.setProperties)(this,{shouldOpenAppreciationModal:!1,appreciationUrl:void 0})}dismissXSkillsPreferenceModal(){this.showSkillsModal=null}dismissCareersModal(){this.showCareersModal=null this.modalContext=null this.legoTrackingToken=null}dismissHiringActionModal(){this.hiringAction=null this.jobId=null}dismissEdgeCohortsModal(){var e,t null!==(e=this.edgeCohortsModalType)&&void 0!==e&&null!==(t=e.includes)&&void 0!==t&&t.call(e,"LAUNCHPAD")&&this.launchpadV2.getLaunchpadData("FEED") this.edgeCohortsModalType=null}storeGDPRConsent(e){!1===e&&this.clientSensor.incrementMetricCounter({groupName:g.CLIENT_SENSOR_GROUP_NAME,metricName:g.HomePageClientSensorMetrics.GDPR_CONSENT_REJECT}) this.storeShim.queryURL(...(0,p.storeGDPRConsentDash)(e)).then((()=>{(0,o.isDestroying)(this)||this.clientSensor.incrementMetricCounter({groupName:g.CLIENT_SENSOR_GROUP_NAME,metricName:g.HomePageClientSensorMetrics.GDPR_CONSENT_CONSENT_ENDPOINT_SUCCESS})})).catch((e=>{if((0,o.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:g.CLIENT_SENSOR_GROUP_NAME,metricName:g.HomePageClientSensorMetrics.GDPR_CONSENT_CONSENT_ENDPOINT_ERROR}) if(!b.default.testing)throw e}))}onClickFeedSortDropdown(e){this.send("changeUpdateOrder",e)}onSwitchSortOrder(e){this.send("changeSortOrder",e) e===f.SortOrder.REV_CHRON&&y.default.isEuropeanLocale(this.locale)&&this.launchpadV2.dismiss()}onShareSuccessCallback(e){this.legoTrackingToken&&this.legoTracking.sendLegoAction(this.legoTrackingToken,h.LEGO_ENUM_CONSTANTS.LEGO_ACTION_SECONDARY,1).then((()=>{(0,o.isDestroying)(this)||this.launchpadV2.getLaunchpadData("FEED")})) e&&this.prependUpdateToFeed(e)}onUpdatesViewedThreshold(){this.isConsentExperienceFuvThresholdMet=!0}onDismissReportWrongMentionModal(){this.closeReportWrongMentionModal()}_setupCncHandlers(){this.cncRouter.registerHandler(m.APPRECIATION_BASE_URL,this._openAppreciationModal.bind(this)) this.cncRouter.registerHandler(f.SHARE_JOB_MODAL_URL,this._openShareJobModal.bind(this))}_openShareJobModal(){(0,d.setProperties)(this,{shouldOpenShareJobModal:!0})}_openAppreciationModal(e){(0,d.setProperties)(this,{shouldOpenAppreciationModal:!0,appreciationUrl:e})}},D=(0,n.default)(k.prototype,"cncRouter",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,n.default)(k.prototype,"clientSensor",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,n.default)(k.prototype,"tracking",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,n.default)(k.prototype,"launchpadV2",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,n.default)(k.prototype,"lix",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,n.default)(k.prototype,"newUpdateIndicator",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,n.default)(k.prototype,"legoTracking",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,n.default)(k.prototype,"storeShim",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,n.default)(k.prototype,"locale",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,n.default)(k.prototype,"isReportWrongMentionModalOpen",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),L=(0,n.default)(k.prototype,"articleUrnStr",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){}}),z=(0,n.default)(k.prototype,"mentionedEntityStr",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){}}),q=(0,n.default)(k.prototype,"showCareersModal",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=(0,n.default)(k.prototype,"hiringAction",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=(0,n.default)(k.prototype,"isConsentExperienceFuvThresholdMet",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,n.default)(k.prototype,"jobId",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=(0,n.default)(k.prototype,"edgeCohortsModalType",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=(0,n.default)(k.prototype,"modalContext",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=(0,n.default)(k.prototype,"legoTrackingToken",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=(0,n.default)(k.prototype,"shouldShowGroupFeed",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Y=(0,n.default)(k.prototype,"showSkillsModal",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),(0,n.default)(k.prototype,"doReloadFeed",[d.action],Object.getOwnPropertyDescriptor(k.prototype,"doReloadFeed"),k.prototype),(0,n.default)(k.prototype,"onCloseAppreciationModal",[d.action],Object.getOwnPropertyDescriptor(k.prototype,"onCloseAppreciationModal"),k.prototype),(0,n.default)(k.prototype,"dismissXSkillsPreferenceModal",[d.action],Object.getOwnPropertyDescriptor(k.prototype,"dismissXSkillsPreferenceModal"),k.prototype),(0,n.default)(k.prototype,"dismissCareersModal",[d.action],Object.getOwnPropertyDescriptor(k.prototype,"dismissCareersModal"),k.prototype),(0,n.default)(k.prototype,"dismissHiringActionModal",[d.action],Object.getOwnPropertyDescriptor(k.prototype,"dismissHiringActionModal"),k.prototype),(0,n.default)(k.prototype,"dismissEdgeCohortsModal",[d.action],Object.getOwnPropertyDescriptor(k.prototype,"dismissEdgeCohortsModal"),k.prototype),(0,n.default)(k.prototype,"storeGDPRConsent",[d.action],Object.getOwnPropertyDescriptor(k.prototype,"storeGDPRConsent"),k.prototype),(0,n.default)(k.prototype,"onClickFeedSortDropdown",[d.action],Object.getOwnPropertyDescriptor(k.prototype,"onClickFeedSortDropdown"),k.prototype),(0,n.default)(k.prototype,"onSwitchSortOrder",[d.action],Object.getOwnPropertyDescriptor(k.prototype,"onSwitchSortOrder"),k.prototype),(0,n.default)(k.prototype,"onShareSuccessCallback",[d.action],Object.getOwnPropertyDescriptor(k.prototype,"onShareSuccessCallback"),k.prototype),(0,n.default)(k.prototype,"onUpdatesViewedThreshold",[d.action],Object.getOwnPropertyDescriptor(k.prototype,"onUpdatesViewedThreshold"),k.prototype),(0,n.default)(k.prototype,"onDismissReportWrongMentionModal",[d.action],Object.getOwnPropertyDescriptor(k.prototype,"onDismissReportWrongMentionModal"),k.prototype),k)})) define("feed/controllers/sales-navigator",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/controller"],(function(e,t,i){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const n={controlMenu:".feed-shared-control-menu__trigger",actorItem:".social-details-reactors-facepile__profile-link",followButton:".update-components-actor__follow-button"} class r extends i.default{constructor(){super(...arguments);(0,t.default)(this,"disableSelectors",n)}}e.default=r})) define("feed/controllers/saved-items",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/controller","@ember/utils","feed-requests/utils/collection-queries","feed-utils/utils/error-parsing","@ember/object","feed-pagination-state/utils/pagination-state","@glimmer/tracking"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var f,h,g,b,y,v e.default=(f=(0,l.inject)("global-services@store-shim"),h=(0,l.inject)("tracking"),g=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"storeShim",b,this);(0,t.default)(this,"tracking",y,this);(0,t.default)(this,"canInfiniteScroll",v,this)}removeUpdate(e){this.model.savedItems.removeObject(e)}onNextPage(){const{paginationState:e}=this e.getNextPagingValues() return(0,d.fetchSavedItems)(this.storeShim,{count:e.count,start:e.start,paginationToken:this.paginationToken,filter:this.filterParam}).then((e=>{var t if((0,o.isDestroying)(this))return const i=null===(t=e.metadata)||void 0===t?void 0:t.paginationToken;(0,u.set)(this,"paginationToken",i) const n=[...e.elements];(0,s.isPresent)(i)||(this.canInfiniteScroll=!1) this._addUpdatePosition(n) this.model.savedItems.push(...n)}))}onFilter(e){const t=this.filterParam,i=e.filterParam this.tracking.fireInteractionEvent(e.trackingActionType) if(i!==t){(0,u.setProperties)(this,{updatePosition:1,filterParam:i,paginationToken:void 0,isLoading:!0});(0,d.fetchSavedItems)(this.storeShim,{start:0,count:10,filter:i}).then((e=>{var t,i,n,r,l,a if((0,o.isDestroying)(this))return const d=null===(t=e.paging)||void 0===t?void 0:t.count,c=null===(i=e.paging)||void 0===i?void 0:i.total,m=[] if(null!==(n=e.elements)&&void 0!==n&&n.length){const t=[...e.elements] this._addUpdatePosition(t) m.push(...t)}const f=null===(r=e.metadata)||void 0===r?void 0:r.paginationToken;(0,u.setProperties)(this,{paginationState:new p.default({total:c,start:null===(l=e.paging)||void 0===l?void 0:l.start,count:d>c?c:d,pagingSize:10,direction:"next"}),paginationToken:f,"model.savedItems":m}) !(null===(a=e.elements)||void 0===a?void 0:a.length)&&(0,s.isPresent)(f)&&this.onNextPage()})).catch((e=>{if((0,o.isDestroying)(this))throw e;(0,u.setProperties)(this,{hasErrorLoadingItems:!0,"model.savedItems":[]}) this.tracking.firePageViewEvent("flagship3_saved_items_error") if((0,c.isHttpErrorStatus)(e))return u.default.create({}) throw e})).finally((()=>{(0,o.isDestroying)(this)||(0,u.set)(this,"isLoading",!1)}))}}_addUpdatePosition(e){e.forEach((e=>{const{updatePosition:t}=this;(0,u.set)(e,"updatePosition",t);(0,u.set)(this,"updatePosition",t+1)}))}},b=(0,n.default)(g.prototype,"storeShim",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,n.default)(g.prototype,"tracking",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,n.default)(g.prototype,"canInfiniteScroll",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),(0,n.default)(g.prototype,"removeUpdate",[u.action],Object.getOwnPropertyDescriptor(g.prototype,"removeUpdate"),g.prototype),(0,n.default)(g.prototype,"onNextPage",[u.action],Object.getOwnPropertyDescriptor(g.prototype,"onNextPage"),g.prototype),(0,n.default)(g.prototype,"onFilter",[u.action],Object.getOwnPropertyDescriptor(g.prototype,"onFilter"),g.prototype),g)})) define("feed/controllers/update-preview",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/controller","@glimmer/tracking","@ember/object","tracked-built-ins","rsvp","global-utils/utils/is-browser","ember-test-waiters","global-utils/utils/scroll-to-element","global-helpers/helpers/chunk","global-utils/utils/url"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var b,y,v,_,w,E,S,T,C,O,P,k,D,I,M,U,x,N,F,R,A,j,L,z,q,H,G,B,V const W=/\w+\.csv$/,Q={q:"debugUpdates"},K=/(urn:li(?::(?:\w*)|(?:\([\w,]*\)))*)(,.+)?/,Y=/(activity-)[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*(-)/ function $(e){let t const i=function(e){const t=K.exec(e) return(null==t?void 0:t.length)&&t[0]}(e) if(i)t=i else{const i=function(e){const t=Y.exec(e) return(null==t?void 0:t.length)&&t[0]}(e) null!=i&&i.length&&(t=function(e){return`urn:li:${e.substring(0,e.length-1).replace("-",":")}`}(i))}return t}e.default=(b=(0,l.inject)("global-services@clipboard"),y=(0,l.inject)("i18n"),v=(0,l.inject)("persistent-toast-manager@persistent-toast-manager"),_=(0,l.inject)("router"),w=(0,l.inject)("global-services@store-shim"),E=(0,l.inject)("social-counts-service@social-counts"),S=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"clipboard",T,this);(0,t.default)(this,"i18n",C,this);(0,t.default)(this,"persistentToastManager",O,this);(0,t.default)(this,"router",P,this);(0,t.default)(this,"storeShim",k,this);(0,t.default)(this,"socialCountsService",D,this);(0,i.default)(this,"queryParams",["description","page","meta","title","urns"]);(0,t.default)(this,"description",I,this);(0,t.default)(this,"isLoading",M,this);(0,t.default)(this,"meta",U,this);(0,t.default)(this,"title",x,this);(0,t.default)(this,"page",N,this);(0,t.default)(this,"updateListTextInput",F,this);(0,t.default)(this,"updateUrnPages",R,this);(0,t.default)(this,"urns",A,this);(0,t.default)(this,"_pageIndex",j,this);(0,t.default)(this,"_updatePages",L,this);(0,t.default)(this,"_politicalClassifierSwitch",z,this);(0,t.default)(this,"_postIntentClassifierSwitch",q,this);(0,t.default)(this,"_sommelierClassifierSwitch",H,this);(0,t.default)(this,"_goldClassifierSwitch",G,this);(0,t.default)(this,"_affinityTagsMap",B,this);(0,t.default)(this,"updateUrnMap",V,this)}get hasNextPage(){return this._pageIndex0}get pageNumber(){return this._pageIndex+1}get updatesToRender(){return this._updatePages[this._pageIndex]}get currentUpdateUrnsPage(){return this.updateUrnPages[this._pageIndex]}get pageStartIndex(){return 10*this._pageIndex+1}clearUpdates(){this._resetData(!1) this.updateListTextInput=""}switchPoliticalClassifier(){this._politicalClassifierSwitch=!this._politicalClassifierSwitch}switchPostIntentClassifier(){this._postIntentClassifierSwitch=!this._postIntentClassifierSwitch}switchSommelierClassifier(){this._sommelierClassifierSwitch=!this._sommelierClassifierSwitch}switchGoldClassifier(){this._goldClassifierSwitch=!this._goldClassifierSwitch}copyLink(){this.clipboard.copyToClipboard(`${(0,g.getDomainUrl)()}${this.router.currentURL}`) const e=this.i18n.lookupTranslation("feed@update-preview","copy_success")() this.persistentToastManager.success({message:e})}fetchNextPage(){this.hasNextPage&&this._fetchPageOfUpdates(this._pageIndex+1)}fetchPreviousPage(){this.hasPreviousPage&&this._fetchPageOfUpdates(this._pageIndex-1)}processTextareaInput(){if(this.updateListTextInput){var e this._resetData() this.updateListTextInput=null===(e=this.updateListTextInput)||void 0===e?void 0:e.trim() const t=jSecure.sanitizeHTML(this.updateListTextInput) this._processAndFetchUpdates(null==t?void 0:t.split("\n"))}}processUploadedFile(e){var t,i this.updateListTextInput="" this._resetData() this._inputElement=e.target const n=null===(t=this._inputElement)||void 0===t||null===(i=t.files)||void 0===i?void 0:i[0] W.test(null==n?void 0:n.name)&&(r=n,p.default?(0,m.waitForPromise)(new u.Promise((e=>{const t=new window.FileReader t.onload=()=>{e(t.result)} t.readAsText(r)}))):(0,u.resolve)()).then((e=>{if(!(0,o.isDestroying)(this)){this._processAndFetchUpdates(e.split("\r\n")) this._inputElement.value=""}})) var r}scrollToUpdate(e){(0,f.default)(document.querySelector(`[data-urn-header="${e}"]`),50)}selectFile(){var e null===(e=document.getElementById("update-list-csv-input"))||void 0===e||e.click()}selectPage(e){this._fetchPageOfUpdates(parseInt(e,10)-1)}_fetchPageOfUpdates(e){if(!this._updatePages[e]){this.isLoading=!0 this.storeShim.queryURL("voyagerFeedDebugUpdate",{params:{...Q,backendUrns:this.updateUrnPages[e]},reload:!1}).then((t=>{if((0,o.isDestroying)(this))return const i=t.elements this._updatePages[e]=i if(i){this.constructUpdateUrnMap(i) this.updateClassificationScores(i) this.socialCountsService.registerElementsList(i)}})).finally((()=>{(0,o.isDestroying)(this)||(this.isLoading=!1)}))}this._pageIndex=e this.page=this._pageIndex}updateClassificationScores(e){e.forEach((e=>{var t,i const{affinityTags:n}=e,r=null===(t=e.updateV2)||void 0===t||null===(i=t.updateMetadata)||void 0===i?void 0:i.urn this._affinityTagsMap[r]={PostIntentClassifier:{},PoliticalClassifier:{},SommelierClassifier:{},GoldClassifier:{}} n.forEach((e=>{const t=e.label.trim(),i=parseFloat(e.score) if("Other Post Intent"===t||"Share Achievement"===t||"Motivate or Inspire"===t||"Seek Help or Support"===t||"Share News Reporting"===t||"Share Opinion"===t||"Seek Job Opportunity"===t||"Thank or Congratulate"===t||"Share Job Opportunity"===t||"Share Knowledge or Advice"===t||"Market or Sell"===t||"Promote Product or Service"===t||"Share Event"===t||"Share Company Update"===t||"Share Personal Update"===t){this._affinityTagsMap[r].PostIntentClassifier.label=t this._affinityTagsMap[r].PostIntentClassifier.score=i}else if("Political"===t){this._affinityTagsMap[r].PoliticalClassifier.score=i this._affinityTagsMap[r].PoliticalClassifier.label=i>=.95?"Political":"Not Political"}else if("Gold"===t){this._affinityTagsMap[r].GoldClassifier.score=i const e=parseFloat(i).toFixed(2) this._affinityTagsMap[r].GoldClassifier.label=e>=.3?"Gold : ".concat(e):"Not Gold : ".concat(e)}else if("Sommelier"===t){this._affinityTagsMap[r].SommelierClassifier.score=i const e="Quartile " i<=.05?this._affinityTagsMap[r].SommelierClassifier.label=e.concat("Q1"):i>.05&&i<=.12?this._affinityTagsMap[r].SommelierClassifier.label=e.concat("Q2"):i>.12&&i<=.4?this._affinityTagsMap[r].SommelierClassifier.label=e.concat("Q3"):i>.4&&(this._affinityTagsMap[r].SommelierClassifier.label=e.concat("Q4"))}}))}))}constructUpdateUrnMap(e){e.forEach((e=>{var t,i const n=null===(t=e.updateV2)||void 0===t||null===(i=t.updateMetadata)||void 0===i?void 0:i.urn this.updateUrnMap[n]=e}))}_processAndFetchUpdates(e){var t const i=(null==e||null===(t=e.map((e=>{var t return null===(t=$(e))||void 0===t?void 0:t.trim()})))||void 0===t?void 0:t.filter((e=>(null==e?void 0:e.startsWith("urn:li:activity"))&&!e.includes(" "))))||[] this.urns=i.join("|") this.updateUrnPages=(0,h.chunk)([10,i]) this._fetchPageOfUpdates(0)}_resetData(){this.updateUrnPages=new c.TrackedArray this.page=void 0 this._updatePages=new c.TrackedArray this.urns=void 0 this.description=void 0 this.meta=void 0 this.title=void 0 this._affinityTagsMap={} this.updateUrnMap={}}},T=(0,n.default)(S.prototype,"clipboard",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,n.default)(S.prototype,"i18n",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,n.default)(S.prototype,"persistentToastManager",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,n.default)(S.prototype,"router",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,n.default)(S.prototype,"storeShim",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,n.default)(S.prototype,"socialCountsService",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,n.default)(S.prototype,"description",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,n.default)(S.prototype,"isLoading",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),U=(0,n.default)(S.prototype,"meta",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,n.default)(S.prototype,"title",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,n.default)(S.prototype,"page",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,n.default)(S.prototype,"updateListTextInput",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),R=(0,n.default)(S.prototype,"updateUrnPages",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,n.default)(S.prototype,"urns",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,n.default)(S.prototype,"_pageIndex",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,n.default)(S.prototype,"_updatePages",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,n.default)(S.prototype,"_politicalClassifierSwitch",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),q=(0,n.default)(S.prototype,"_postIntentClassifierSwitch",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),H=(0,n.default)(S.prototype,"_sommelierClassifierSwitch",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),G=(0,n.default)(S.prototype,"_goldClassifierSwitch",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),B=(0,n.default)(S.prototype,"_affinityTagsMap",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,n.default)(S.prototype,"updateUrnMap",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(S.prototype,"clearUpdates",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"clearUpdates"),S.prototype),(0,n.default)(S.prototype,"switchPoliticalClassifier",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"switchPoliticalClassifier"),S.prototype),(0,n.default)(S.prototype,"switchPostIntentClassifier",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"switchPostIntentClassifier"),S.prototype),(0,n.default)(S.prototype,"switchSommelierClassifier",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"switchSommelierClassifier"),S.prototype),(0,n.default)(S.prototype,"switchGoldClassifier",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"switchGoldClassifier"),S.prototype),(0,n.default)(S.prototype,"copyLink",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"copyLink"),S.prototype),(0,n.default)(S.prototype,"fetchNextPage",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"fetchNextPage"),S.prototype),(0,n.default)(S.prototype,"fetchPreviousPage",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"fetchPreviousPage"),S.prototype),(0,n.default)(S.prototype,"processTextareaInput",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"processTextareaInput"),S.prototype),(0,n.default)(S.prototype,"processUploadedFile",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"processUploadedFile"),S.prototype),(0,n.default)(S.prototype,"scrollToUpdate",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"scrollToUpdate"),S.prototype),(0,n.default)(S.prototype,"selectFile",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"selectFile"),S.prototype),(0,n.default)(S.prototype,"selectPage",[d.action],Object.getOwnPropertyDescriptor(S.prototype,"selectPage"),S.prototype),S)})) define("feed/engine",["exports","ember-engines/engine","ember-load-initializers","strict-resolver"],(function(e,t,i,n){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const r="feed",o=t.default.extend({modulePrefix:r,Resolver:n.default});(0,i.default)(o,r) e.default=o})) define.alias("ember-truth-helpers/helpers/and","feed/helpers/and") define.alias("artdeco-datepicker/helpers/artdeco-adjust-date-for-timezone","feed/helpers/artdeco-adjust-date-for-timezone") define.alias("artdeco-datepicker/helpers/artdeco-is-between-dates","feed/helpers/artdeco-is-between-dates") define.alias("ember-media-player/helpers/autoplay-media","feed/helpers/autoplay-media") define.alias("artdeco-datepicker/helpers/cal-dates-equal","feed/helpers/cal-dates-equal") define.alias("ember-element-helper/helpers/element","feed/helpers/element") define.alias("ember-holy-futuristic-template-namespacing-batman/helpers/-translate-dynamic-2","feed/helpers/ember-holy-futuristic-template-namespacing-batman-translate-dynamic-2") define("feed/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/helpers/eq") define.alias("ember-media-player/helpers/format-autoplay","feed/helpers/format-autoplay") define.alias("ember-cli-pemberly-i18n/helpers/format-number","feed/helpers/format-number") define.alias("ember-semaphore/helpers/format-title","feed/helpers/format-title") define.alias("ember-truth-helpers/helpers/gt","feed/helpers/gt") define.alias("ember-truth-helpers/helpers/gte","feed/helpers/gte") define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-name","feed/helpers/hue-web-artdeco-icon-migration-runtime") define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-v2","feed/helpers/hue-web-artdeco-li-icon-migration-runtime-v2") define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-path","feed/helpers/hue-web-artdeco-li-icon-migration-runtime") define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-argument","feed/helpers/hue-web-artdeco-migration-runtime") define.alias("ember-truth-helpers/helpers/is-array","feed/helpers/is-array") define("feed/helpers/is-dash-update",["exports","@ember/component/helper"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.isDashUpdate=i function i(e){let[t]=e return!!t&&"com.linkedin.voyager.dash.feed.Update"===t.$type}const n=(0,t.helper)(i) e.default=n})) define.alias("ember-truth-helpers/helpers/is-empty","feed/helpers/is-empty") define.alias("ember-truth-helpers/helpers/is-equal","feed/helpers/is-equal") define("feed/helpers/is-occlusion-enabled",["exports","@ember/component/helper"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const i=(0,t.helper)((function(e){if(e.length<1)return const[t,i,n]=e return t>=1||!!(0===t&&i>=1||n&&1===t)})) e.default=i})) define.alias("artdeco-icons-web/helpers/li-icon","feed/helpers/li-icon") define.alias("ember-async-data/helpers/load","feed/helpers/load") define.alias("ember-truth-helpers/helpers/lt","feed/helpers/lt") define.alias("ember-truth-helpers/helpers/lte","feed/helpers/lte") define.alias("ember-truth-helpers/helpers/not-eq","feed/helpers/not-eq") define.alias("ember-truth-helpers/helpers/not","feed/helpers/not") define.alias("ember-truth-helpers/helpers/or","feed/helpers/or") define("feed/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/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/helpers/route-action") define.alias("ember-app-scheduler/helpers/route-idle","feed/helpers/route-idle") define.alias("ember-media-player/helpers/seek-media","feed/helpers/seek-media") define.alias("ember-set-helper/helpers/set","feed/helpers/set") define.alias("ember-cli-pemberly-i18n/helpers/t","feed/helpers/t") define.alias("ember-truth-helpers/helpers/xor","feed/helpers/xor") define.alias("ember-uuid","feed/index") define("feed/initializers/coordinator-setup",["exports","feed/models/coordinator"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default={name:"setup coordinator",initialize:function(){let e=arguments[1]||arguments[0] e.register("drag:coordinator",t.default)}}})) define("feed/initializers/icons",["exports","artdeco-icons-web/src/icons","feed/config/environment"],(function(e,t,i){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 function n(e){throw e}e.default={name:"icons",initialize:function(){const{environment:e,APP:r}=i.default let o,l r&&({artdecoCustomSpriteUrl:o,artdecoCustomSpriteName:l}=r) const a="test"!==e t.default.load(a,o,l).catch(n)}}})) define.alias("ember-cli-pemberly-lix/initializers/lix","feed/initializers/lix") define.alias("ember-m3/initializers/m3-store","feed/initializers/m3-store") define.alias("ember-ref-bucket/instance-initializers/global-ref-cleanup","feed/instance-initializers/global-ref-cleanup") define.alias("video/instance-initializers/media-plugins","feed/instance-initializers/media-plugins") define("feed/models/coordinator",["exports","@ember/object","@ember/object/evented","feed/models/obj-hash","ember-drag-drop/utils/proxy-unproxy-objects"],(function(e,t,i,n,r){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=t.default.extend(i.default,{objectMap:(0,t.computed)((function(){return n.default.create()})),getObject:function(e,t){t=t||{} var i=this.get("objectMap").getObj(e) if(i.ops.source&&!i.ops.source.isDestroying&&!i.ops.source.isDestroyed){const e=i.ops.source.action "function"==typeof e&&e(i.obj) "string"==typeof e&&"function"==typeof i.ops.source.target[e]&&i.ops.source.target[e](i.obj)}if(i.ops.target&&!i.ops.target.isDestroying&&!i.ops.target.isDestroyed){const e=i.ops.target.action "function"==typeof e&&e(i.obj) "string"==typeof e&&"function"==typeof i.ops.target.source[e]&&i.ops.target.source[e](i.obj)}this.trigger("objectMoved",{obj:(0,r.unwrapper)(i.obj),source:i.ops.source,target:t.target}) return(0,r.unwrapper)(i.obj)},setObject:function(e,t){t=t||{} return this.get("objectMap").add({obj:e,ops:t})}})})) define("feed/models/obj-hash",["exports","@ember/object","@ember/object/computed","@ember/array"],(function(e,t,i,n){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=t.default.extend({contentLength:0,length:(0,i.alias)("contentLength"),init:function(){this._super() this.content={}},add:function(e){var t=this.generateId() this.get("content")[t]=e this.incrementProperty("contentLength") return t},getObj:function(e){var t=this.get("content")[e] if(!t)throw new Error("no obj for key "+e) return t},generateId:function(){var e=1e12*Math.random() return e=""+(e=parseInt(e))},keys:function(){var e=[] for(var t in this.get("content"))e.push(t) return(0,n.A)(e)}})})) define.alias("artdeco-datepicker/modifiers/artdeco-calendar-click-watcher","feed/modifiers/artdeco-calendar-click-watcher") define.alias("ember-ref-bucket/modifiers/create-ref","feed/modifiers/create-ref") define.alias("ember-css-transitions/modifiers/css-transition","feed/modifiers/css-transition") define.alias("@ember/render-modifiers/modifiers/did-insert","feed/modifiers/did-insert") define.alias("ember-scroll-modifiers/modifiers/did-intersect","feed/modifiers/did-intersect") define.alias("ember-resize-modifier/modifiers/did-resize","feed/modifiers/did-resize") define.alias("@ember/render-modifiers/modifiers/did-update","feed/modifiers/did-update") define("feed/modifiers/disable-click",["exports","ember-modifier"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 function i(e){e.stopImmediatePropagation() e.preventDefault()}const n=(0,t.modifier)((function(e,t,n){let{selectors:r={}}=n const o=[] Object.keys(r).forEach((t=>{const n=e.querySelectorAll(r[t]) n.length&&n.forEach((e=>{o.push(e) e.addEventListener("click",i,{capture:!0})}))})) return()=>{o.forEach((e=>e.removeEventListener("click",i,!0)))}}),{eager:!1}) e.default=n})) define.alias("ember-finite-scroll/modifiers/ember-finite-scroll/focus","feed/modifiers/ember-finite-scroll/focus") define.alias("image-editor/modifiers/fabric","feed/modifiers/fabric") define.alias("ember-prop-modifier","feed/modifiers/prop") define.alias("ember-scroll-modifiers/modifiers/scroll-into-view","feed/modifiers/scroll-into-view") define("feed/modifiers/set-style",["exports","ember-modifier","@ember/debug"],(function(e,t,i){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const n=(0,t.modifier)((function(e,t,i){let[n]=t,{to:r}=i void 0!==r&&(e.style[n]=r)}),{eager:!1}) e.default=n})) define.alias("ember-sortable/modifiers/sortable-group","feed/modifiers/sortable-group") define.alias("ember-sortable/modifiers/sortable-handle","feed/modifiers/sortable-handle") define.alias("ember-sortable/modifiers/sortable-item","feed/modifiers/sortable-item") define.alias("@ember/render-modifiers/modifiers/will-destroy","feed/modifiers/will-destroy") define.alias("ember-cloud-filepicker/providers/base-provider","feed/providers/base-provider") define.alias("ember-cloud-filepicker/providers/dropbox-provider","feed/providers/dropbox-provider") define.alias("ember-cloud-filepicker/providers/onedrive-provider","feed/providers/onedrive-provider") define("feed/providers/slideshare-provider",["exports","ember-cloud-filepicker/providers/slideshare-provider"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) var i={} Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}) Object.keys(t).forEach((function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(i,n)||n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))}))})) define("feed/routes/aggregated-share",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","rsvp","@ember/service","feed-utils/utils/authenticated-member-actor","@ember/routing/route","graphql-queries/queries/feed/single-update-by-backend-urn-or-nss.graphql"],(function(e,t,i,n,r,o,l,a,s,d,c){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var u,p,m,f,h,g,b,y,v,_,w,E,S e.default=(u=(0,a.inject)("authentication@authenticated-user"),p=(0,a.inject)("feed-tracking@feed-action-event"),m=(0,a.inject)("global-services@store-shim"),f=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),h=(0,a.inject)("jet"),g=(0,a.inject)("social-counts-service@social-counts"),b=class extends d.default{constructor(){super(...arguments);(0,i.default)(this,"pageKey","flagship3_feed_aggregation");(0,t.default)(this,"authenticatedUser",y,this);(0,t.default)(this,"feedActionEvent",v,this);(0,t.default)(this,"storeShim",_,this);(0,t.default)(this,"graphql",w,this);(0,t.default)(this,"jet",E,this);(0,t.default)(this,"socialCountsService",S,this)}model(e){let{aggregatedUpdateUrn:t}=e if((0,o.isDestroying)(this))return super.model(...arguments) const{storeShim:i,authenticatedUser:n,jet:r}=this,a=this.feedActionEvent.getModuleKeyForCurrentPage(),d=(0,s.default)(i,n) return(0,l.hash)({authenticatedActor:d,update:this.graphql.executeQuery(c.default,{urnOrNss:t,moduleKey:a}).then((e=>{var t,i,n if(!(0,o.isDestroying)(this))return null==e||null===(t=e.data)||void 0===t||null===(i=t.feedDashUpdatesByBackendUrnOrNss)||void 0===i||null===(n=i.elements)||void 0===n?void 0:n[0]})).catch((e=>{var t if((0,o.isDestroying)(this))throw e let i=e.message const n=null===(t=e.errors)||void 0===t?void 0:t.map(((e,t)=>{let{message:i,extensions:n}=e return`${t+1} - Message: ${i}, Extensions: ${JSON.stringify(n)}`})).join("; ") n&&(i=`${i} | Errors: ${n}`) null==r||r.error(i,"aggregated-share-update-graphql-error",{shouldRethrow:!1}) throw e}))})}afterModel(e){var t if((0,o.isDestroying)(this))return const i=null===(t=e.update)||void 0===t?void 0:t.socialDetail i&&this.socialCountsService.registerSocialCounts(i)}},y=(0,n.default)(b.prototype,"authenticatedUser",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,n.default)(b.prototype,"feedActionEvent",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,n.default)(b.prototype,"storeShim",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,n.default)(b.prototype,"graphql",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,n.default)(b.prototype,"jet",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,n.default)(b.prototype,"socialCountsService",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b)})) define("feed/routes/application",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/object","@ember/service","@ember/routing/route","data-layer/utils/feed/member-actor","global-utils/utils/is-browser"],(function(e,t,i,n,r,o,l,a,s,d){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var c,u,p,m,f e.default=(c=(0,l.inject)("authentication@authenticated-user"),u=(0,l.inject)("prefetch"),p=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"authenticatedUser",m,this);(0,t.default)(this,"prefetch",f,this)}beforeModel(){return(0,s.populateMemberActor)(this.authenticatedUser)}didTransition(){d.default&&this.prefetch.prefetchAssets("feed-detail") return!0}},m=(0,n.default)(p.prototype,"authenticatedUser",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,n.default)(p.prototype,"prefetch",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(p.prototype,"didTransition",[o.action],Object.getOwnPropertyDescriptor(p.prototype,"didTransition"),p.prototype),p)})) define("feed/routes/error",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/routing/route","@ember/object","global-utils/utils/is-browser","voyager-web/config/environment","global-utils/utils/url"],(function(e,t,i,n,r,o,l,a,s,d,c,u){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var p,m,f e.default=(p=(0,l.inject)("tracking"),m=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",f,this) this.tracking.firePageViewEvent("flagship3_feed_error")}setupController(e){if(!(0,o.isDestroying)(this)){super.setupController(...arguments) if(d.default){(0,s.setProperties)(e,{isDev:"development"===c.default.environment,helpCenterLink:`https://${(0,u.getDomain)()}/help/linkedin`}) document.body.classList.add("boot-complete")}}}},f=(0,n.default)(m.prototype,"tracking",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m)})) define("feed/routes/follow",["exports","@ember/routing/route"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 class i extends t.default{beforeModel(){this.transitionToExternal("mynetwork.discover-hub")}}e.default=i})) define("feed/routes/followers",["exports","@ember/routing/route"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 class i extends t.default{beforeModel(e){const t=e.to?e.to.queryParams:{},{isDisplayCreatorBanner:i}=t this.transitionToExternal("mynetwork.network-manager.people-follow.followers",{queryParams:{isDisplayCreatorBanner:i}})}}e.default=i})) define("feed/routes/following",["exports","@ember/routing/route"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 class i extends t.default{beforeModel(e){const t=e.to?e.to.queryParams:{},{isDisplayCreatorBanner:i}=t this.transitionToExternal("mynetwork.network-manager.people-follow.following",{queryParams:{isDisplayCreatorBanner:i}})}}e.default=i})) define("feed/routes/hashtag-feed",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/routing/route","rsvp","feed-utils/utils/constants","feed-requests/utils/collection-queries","community-panel/utils/community-panel-query","feed-utils/utils/authenticated-member-actor","feed-utils/utils/error-parsing","storyline-helpers/utils/constants","graphql-queries/queries/feed/identity-dash-profiles-by-member-identity.graphql"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var g,b,y,v,_,w,E,S,T,C,O,P,k,D,I,M,U e.default=(g=(0,l.inject)("authentication@authenticated-user"),b=(0,l.inject)("client-sensor-web@client-sensor"),y=(0,l.inject)("profile-services@identity-store"),v=(0,l.inject)("jet"),_=(0,l.inject)("community-panel@interest-package-data-manager"),w=(0,l.inject)("global-services@store-shim"),E=(0,l.inject)("@linkedin/ember-restli-graphql@graphql"),S=(0,l.inject)("lix"),T=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"authenticatedUser",C,this);(0,t.default)(this,"clientSensor",O,this);(0,t.default)(this,"identityStore",P,this);(0,t.default)(this,"jet",k,this);(0,t.default)(this,"interestPackageDataManager",D,this);(0,t.default)(this,"storeShim",I,this);(0,t.default)(this,"graphql",M,this);(0,t.default)(this,"lix",U,this)}get isDashHashtagFeedProfileCardEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-dash-hashtag-feed-profile-card")}model(){if((0,o.isDestroying)(this))return const{authenticatedUser:e,identityStore:t,interestPackageDataManager:i,storeShim:n,graphql:r}=this,l={count:f.StorylineConstants.NUM_STORYLINES_TO_FETCH},a=(0,c.getTopics)({graphql:r,params:l}).catch((e=>{if((0,o.isDestroying)(this))throw e if((0,m.isHttpErrorStatus)(e)){this.jet.logError(new Error("Network request failed while attempting to get blended topics"),d.JET_TAGS.GET_CONTENT_TOPIC_DATA,!1) return[]}throw e})) return(0,s.hash)({storylines:a,authenticatedMemberActor:(0,p.default)(n,e),entitiesFollowed:(0,u.default)({interestPackageDataManager:i,clientSensor:this.clientSensor,graphql:this.graphql,jet:this.jet}),vieweeMemberBadges:this.fetchVieweeMemberBadges({identityStore:t,memberId:e.memberId})})}fetchVieweeMemberBadges(e){let{identityStore:t,memberId:i}=e return this.isDashHashtagFeedProfileCardEnabled?this.graphql.executeQuery(h.default,{memberIdentity:i}).then((e=>{var t,i,n,r,l if((0,o.isDestroying)(this))return const a=null===(t=e.data)||void 0===t||null===(i=t.identityDashProfilesByMemberIdentity)||void 0===i||null===(n=i.elements)||void 0===n?void 0:n[0] return{premium:(null==a?void 0:a.premium)&&(null==a?void 0:a.showPremiumSubscriberBadge),backgroundImage:null==a||null===(r=a.backgroundPicture)||void 0===r||null===(l=r.displayImageReferenceResolutionResult)||void 0===l?void 0:l.vectorImage}})).catch((e=>{if((0,o.isDestroying)(this))throw e if(!(0,o.isDestroying)(this)&&(0,m.isHttpErrorStatus)(e)){this.jet.logError(new Error("Network request failed while attempting to retrieve profile member badges in hashtag feed"),d.JET_TAGS.GET_PROFILE_MEMBER_BADGES,!1) return[]}throw e})):t.findRecord("com.linkedin.voyager.identity.profile.MemberBadges",i)}},C=(0,n.default)(T.prototype,"authenticatedUser",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,n.default)(T.prototype,"clientSensor",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,n.default)(T.prototype,"identityStore",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,n.default)(T.prototype,"jet",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,n.default)(T.prototype,"interestPackageDataManager",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,n.default)(T.prototype,"storeShim",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,n.default)(T.prototype,"graphql",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,n.default)(T.prototype,"lix",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T)})) define("feed/routes/hashtag-feed/by-id",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/object","rsvp","global-utils/utils/parent-route-name","feed-utils/utils/constants","feed-utils/utils/error-parsing","feed/routes/hashtag-feed/hashtag-base","feed-utils/utils/client-sensor-constants"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var f,h,g,b,y,v,_ e.default=(f=(0,l.inject)("client-sensor-web@client-sensor"),h=(0,l.inject)("feed@content-topic-feed"),g=(0,l.inject)("jet"),b=class extends p.default{constructor(){super(...arguments);(0,t.default)(this,"clientSensor",y,this);(0,t.default)(this,"contentTopicFeedService",v,this);(0,t.default)(this,"jet",_,this);(0,i.default)(this,"channelId",c.FeedConstants.DESKTOP_HASHTAG_FEED_SU_CHANNELID)}model(e){let{hashtagId:t}=e if((0,o.isDestroying)(this))return super.model(...arguments) const i=`urn:li:hashtag:${t}`;(0,a.set)(this,"urn",i) const n={contentTopicData:this.contentTopicFeedService.getContentTopicDataByUrn(i,this.isDashContentTopicDataEnabled).catch((e=>{var t if((0,o.isDestroying)(this))throw e const i=e&&(null===(t=e.errors)||void 0===t?void 0:t[0]) if((i&&parseInt(i.status,10))===c.HASHTAG_MARKED_AS_SPAM_ERROR_CODE){(0,a.set)(this,"caughtErrorMarkedAsSpam",!0) this._fireErrorPageViewEvent()}if((0,u.isHttpErrorStatus)(e)){this.jet.logError(new Error("Network request failed while attempting to retrieve content topic data"),c.JET_TAGS.GET_CONTENT_TOPIC_DATA,!1) return a.default.create()}throw e})),updateCollections:this._fetchInitialUpdates()},{otherRequests:r}=this return(0,s.hash)({...r,...n})}setupController(e){if((0,o.isDestroying)(this))return super.setupController(...arguments);(0,a.set)(e,"shouldFocusOnHashtagFeedContent",this.shouldFocusOnHashtagFeedContent) const t=(0,d.default)(this),i=this.modelFor(t),{authenticatedMemberActor:n,entitiesFollowed:r,storylines:l,vieweeMemberBadges:s}=i;(0,a.setProperties)(e,{authenticatedMemberActor:n,"model.entitiesFollowed":r,"model.storylines":l,"model.vieweeMemberBadges":s,shareOrigin:"HASHTAG_FEED"})}_fetchInitialUpdates(){(0,a.setProperties)(this,{caughtErrorLoadingUpdates:!1,caughtErrorMarkedAsSpam:!1,paginationToken:void 0,updateCollections:[],updatePosition:1}) return this.contentTopicFeedService.getUpdateCollectionByUrn(this.urn,{sortOrder:this.sortOrder,highlightedUpdateUrns:this.highlightedUpdateUrns,originTrackingId:this.originTrackingId}).then((e=>{if((0,o.isDestroying)(this))return const t=this.isDashEnabled?e.data.feedDashInterestUpdatesByInterestFeedByUrn:e this.clientSensor.incrementMetricCounter({groupName:m.CLIENT_SENSOR_GROUP_NAME,metricName:m.HashtagFeedClientSensorMetrics.HASHTAG_BY_ID_INITIAL_UPDATE_REQUEST_SUCCESS}) this._appendChannelIdToUpdate(t,this.channelId) return this._handleInitialUpdatesSuccess(t)})).catch((e=>{if((0,o.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:m.CLIENT_SENSOR_GROUP_NAME,metricName:m.HashtagFeedClientSensorMetrics.HASHTAG_BY_ID_INITIAL_UPDATE_REQUEST_FAILED});(0,a.set)(this,"caughtErrorLoadingUpdates",!0) this._fireErrorPageViewEvent() if(!(0,u.isHttpErrorStatus)(e))throw e this.jet.logError(new Error("Network request failed while attempting to retrieve initial set of feed updates"),c.JET_TAGS.GET_UPDATES,!1)}))}onNextPage(e){var t if(!this.caughtErrorLoadingUpdates&&this.paginationState)if(null!==(t=this.paginationState)&&void 0!==t&&t.hasNextPage){this.paginationState.getNextPagingValues() e.resolve(this.contentTopicFeedService.getUpdateCollectionByUrn(this.urn,{sortOrder:this.sortOrder,paginationToken:this.paginationToken,paginationState:this.paginationState}).then((e=>{if((0,o.isDestroying)(this))return const t=this.isDashEnabled?e.data.feedDashInterestUpdatesByInterestFeedByUrn:e this.clientSensor.incrementMetricCounter({groupName:m.CLIENT_SENSOR_GROUP_NAME,metricName:m.HashtagFeedClientSensorMetrics.HASHTAG_BY_ID_SUBSEQUENT_UPDATE_REQUEST_SUCCESS}) this._appendChannelIdToUpdate(t,this.channelId) return this._handleInitialUpdatesSuccess(t)})).catch((e=>{if((0,o.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:m.CLIENT_SENSOR_GROUP_NAME,metricName:m.HashtagFeedClientSensorMetrics.HASHTAG_BY_ID_SUBSEQUENT_UPDATE_REQUEST_FAILED});(0,a.set)(this,"caughtErrorLoadingUpdates",!0) this._fireErrorPageViewEvent() const{controller:t}=this t&&(0,a.set)(t,"caughtErrorLoadingUpdates",!0) throw e})))}else e.resolve(!1) else e.reject(null)}},y=(0,n.default)(b.prototype,"clientSensor",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,n.default)(b.prototype,"contentTopicFeedService",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,n.default)(b.prototype,"jet",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(b.prototype,"onNextPage",[a.action],Object.getOwnPropertyDescriptor(b.prototype,"onNextPage"),b.prototype),b)})) define("feed/routes/hashtag-feed/by-keyword",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/object","rsvp","feed/routes/hashtag-feed/hashtag-base","global-utils/utils/parent-route-name","feed-utils/utils/constants","feed-utils/utils/error-parsing","feed-utils/utils/client-sensor-constants"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var f,h,g,b,y,v,_,w,E e.default=(f=(0,l.inject)("client-sensor-web@client-sensor"),h=(0,l.inject)("feed@content-topic-feed"),g=(0,l.inject)("jet"),b=(0,l.inject)("router"),y=class extends d.default{constructor(){super(...arguments);(0,t.default)(this,"clientSensor",v,this);(0,t.default)(this,"contentTopicFeedService",_,this);(0,t.default)(this,"jet",w,this);(0,t.default)(this,"router",E,this);(0,i.default)(this,"channelId",u.FeedConstants.DESKTOP_HASHTAG_FEED_SU_CHANNELID);(0,i.default)(this,"queryParams",{highlightedUpdateUrns:{refreshModel:!0},originTrackingId:{refreshModel:!0},keywords:{refreshModel:!0}})}beforeModel(e){super.beforeModel(...arguments);(e.to?e.to.queryParams.keywords:null)||this.router.transitionTo("feed.index")}model(e){let{keywords:t}=e if((0,o.isDestroying)(this))return super.model(...arguments);(0,a.set)(this,"keywords",t) const i={contentTopicData:this.contentTopicFeedService.getContentTopicDataByKeywords(t,this.isDashContentTopicDataEnabled).catch((e=>{var t if((0,o.isDestroying)(this))throw e const i=e&&(null===(t=e.errors)||void 0===t?void 0:t[0]) if((i&&parseInt(i.status,10))===u.HASHTAG_MARKED_AS_SPAM_ERROR_CODE){(0,a.set)(this,"caughtErrorMarkedAsSpam",!0) this._fireErrorPageViewEvent()}if((0,p.isHttpErrorStatus)(e)){this.jet.logError(new Error("Network request failed while attempting to retrieve content topic data"),u.JET_TAGS.GET_CONTENT_TOPIC_DATA,!1) return a.default.create()}throw e})),updateCollections:this._fetchInitialUpdates()} return(0,s.hash)(i)}resetController(e){super.resetController(...arguments);(0,a.set)(e,"keywords",void 0)}setupController(e){if((0,o.isDestroying)(this))return super.setupController(...arguments) const t=(0,c.default)(this),i=this.modelFor(t),{authenticatedMemberActor:n,entitiesFollowed:r,storylines:l,vieweeMemberBadges:s}=i;(0,a.setProperties)(e,{authenticatedMemberActor:n,"model.entitiesFollowed":r,"model.storylines":l,"model.vieweeMemberBadges":s,shareOrigin:"HASHTAG_FEED"})}_fetchInitialUpdates(){(0,a.setProperties)(this,{caughtErrorLoadingUpdates:!1,caughtErrorMarkedAsSpam:!1,paginationToken:void 0,updateCollections:[],updatePosition:1}) return this.contentTopicFeedService.getUpdateCollectionByKeywords(this.keywords,{sortOrder:this.sortOrder,highlightedUpdateUrns:this.highlightedUpdateUrns,originTrackingId:this.originTrackingId}).then((e=>{if((0,o.isDestroying)(this))return const t=this.isDashEnabled?e.data.feedDashInterestUpdatesByInterestFeedByKeywords:e this.clientSensor.incrementMetricCounter({groupName:m.CLIENT_SENSOR_GROUP_NAME,metricName:m.HashtagFeedClientSensorMetrics.HASHTAG_BY_KEYWORD_INITIAL_UPDATE_REQUEST_SUCCESS}) this._appendChannelIdToUpdate(t,this.channelId) return this._handleInitialUpdatesSuccess(t)})).catch((e=>{if((0,o.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:m.CLIENT_SENSOR_GROUP_NAME,metricName:m.HashtagFeedClientSensorMetrics.HASHTAG_BY_KEYWORD_INITIAL_UPDATE_REQUEST_FAILED});(0,a.set)(this,"caughtErrorLoadingUpdates",!0) this._fireErrorPageViewEvent() if(!(0,p.isHttpErrorStatus)(e))throw e this.jet.logError(new Error("Network request failed while attempting to retrieve initial set of feed updates"),u.JET_TAGS.GET_UPDATES,!1)}))}onNextPage(e){var t if(!this.caughtErrorLoadingUpdates&&this.paginationState)if(null!==(t=this.paginationState)&&void 0!==t&&t.hasNextPage){this.paginationState.getNextPagingValues() e.resolve(this.contentTopicFeedService.getUpdateCollectionByKeywords(this.keywords,{sortOrder:this.sortOrder,paginationToken:this.paginationToken,paginationState:this.paginationState}).then((e=>{if((0,o.isDestroying)(this))return const t=this.isDashEnabled?e.data.feedDashInterestUpdatesByInterestFeedByKeywords:e this.clientSensor.incrementMetricCounter({groupName:m.CLIENT_SENSOR_GROUP_NAME,metricName:m.HashtagFeedClientSensorMetrics.HASHTAG_BY_KEYWORD_SUBSEQUENT_UPDATE_REQUEST_SUCCESS}) this._appendChannelIdToUpdate(t,this.channelId) return this._handleInitialUpdatesSuccess(t)})).catch((e=>{if((0,o.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:m.CLIENT_SENSOR_GROUP_NAME,metricName:m.HashtagFeedClientSensorMetrics.HASHTAG_BY_KEYWORD_SUBSEQUENT_UPDATE_REQUEST_FAILED});(0,a.set)(this,"caughtErrorLoadingUpdates",!0) this._fireErrorPageViewEvent() const{controller:t}=this t&&(0,a.set)(t,"caughtErrorLoadingUpdates",!0) throw e})))}else e.resolve(!1) else e.reject(null)}},v=(0,n.default)(y.prototype,"clientSensor",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,n.default)(y.prototype,"contentTopicFeedService",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,n.default)(y.prototype,"jet",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,n.default)(y.prototype,"router",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(y.prototype,"onNextPage",[a.action],Object.getOwnPropertyDescriptor(y.prototype,"onNextPage"),y.prototype),y)})) define("feed/routes/hashtag-feed/hashtag-base",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/routing/route","@ember/object","feed-utils/utils/constants","feed-pagination-state/utils/pagination-state","sharing-entry/utils/sharing-entry-constants"],(function(e,t,i,n,r,o,l,a,s,d,c,u){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var p,m,f,h,g,b,y,v,_,w,E,S,T e.default=(p=(0,l.inject)("feed@content-topic-feed"),m=(0,l.inject)("feed-tracking@feed-action-event"),f=(0,l.inject)("tracking"),h=(0,l.inject)("social-counts-service@social-counts"),g=(0,l.inject)("lix"),b=(0,l.inject)("locale"),y=class extends a.default{get isDashEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-dash-hashtag-feed")}get isDashContentTopicDataEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-dash-content-topic-data")}constructor(){super(...arguments);(0,i.default)(this,"pageKey","flagship3_feed_hashtag");(0,t.default)(this,"contentTopicFeedService",v,this);(0,t.default)(this,"feedActionEvent",_,this);(0,t.default)(this,"tracking",w,this);(0,t.default)(this,"socialCountsService",E,this);(0,t.default)(this,"lix",S,this);(0,t.default)(this,"locale",T,this);(0,i.default)(this,"sortOrder","RELEVANCE");(0,i.default)(this,"moduleKeySuffix","desktop");(0,i.default)(this,"queryParams",{highlightedUpdateUrns:{refreshModel:!0},originTrackingId:{refreshModel:!0}}) const{moduleKeySuffix:e}=this,n={RELEVANCE:`hashtag-feed-top:${e}`,REV_CHRON:`hashtag-feed-chron:${e}`};(0,s.set)(this,"_moduleKeyMap",n)}model(e){let{highlightedUpdateUrns:t,originTrackingId:i}=e if((0,o.isDestroying)(this))return super.model(...arguments) const n=t&&t.split(";");(0,s.setProperties)(this,{highlightedUpdateUrns:n,originTrackingId:i})}setupController(e,t){var i if((0,o.isDestroying)(this))return super.setupController(...arguments) const n=null===(i=t.updateCollections)||void 0===i?void 0:i.length,r=(0,u.feedImageVideoShareboxButtons)(this.lix,this.locale);(0,s.setProperties)(e,{hasUpdates:n,highlightedUpdateUrns:void 0,originTrackingId:void 0,caughtErrorLoadingUpdates:this.caughtErrorLoadingUpdates,caughtErrorMarkedAsSpam:this.caughtErrorMarkedAsSpam,pageKey:this.pageKey,shareboxBottomBarButtonList:[...r,u.SHARE_BOX_BUTTON_TYPES.DOCUMENT],channelId:this.channelId,isDashContentTopicDataEnabled:this.isDashContentTopicDataEnabled})}buildRouteInfoMetadata(){return{debug:{suggestedTeams:["ceFeed","ceConversations","sharing"]}}}onChangeUpdateOrder(e){if(e!==this.sortOrder){const t=this._moduleKeyMap[e] this.feedActionEvent.setCustomModuleKey(t) const i=this.controllerFor(this.routeName),n=null==i?void 0:i.model;(0,s.set)(this,"sortOrder",e);(0,s.set)(n,"updateCollections",[]) this._fetchInitialUpdates().then((e=>{(0,o.isDestroying)(this)||(0,s.set)(n,"updateCollections",e)}))}}fireFollowImpressionEvent(){var e const t=this.controllerFor(this.routeName) this.contentTopicFeedService.fireFollowImpressionEvent(null==t||null===(e=t.model)||void 0===e?void 0:e.contentTopicData)}_fireErrorPageViewEvent(){this.tracking.firePageViewEvent("flagship3_feed_hashtag_error")}_handleInitialUpdatesSuccess(e){var t const{updateCollections:i}=this,{"paging.count":n,"paging.total":r,"paging.start":o}=(0,s.getProperties)(e,"paging.count","paging.total","paging.start");(0,s.set)(this,"paginationState",new c.default({total:r,start:o,count:n>r?r:n,pagingSize:d.FeedConstants.PAGING_CONTENT_TOPIC_FEED,direction:"next"})) if(null!==(t=e.elements)&&void 0!==t&&t.length){var l;(0,s.set)(this,"paginationToken",null===(l=e.metadata)||void 0===l?void 0:l.paginationToken) const t=this.contentTopicFeedService.setUpdatePositionAndAddToSet(e,i,this.updatePosition) this.isDashEnabled||(0,s.set)(this,"updatePosition",t)}const a=this.controllerFor(this.routeName),u=i.length a&&(0,s.set)(a,"hasUpdates",u) const{pageKey:p}=this,m=u?"updates":"emptystate" this.tracking.firePageViewEvent(`${p}_${m}`) this.socialCountsService.registerElementsList(e.elements) return i}_handleNextPageUpdatesSuccess(e){const{updateCollections:t}=this,i=this.contentTopicFeedService.setUpdatePositionAndAddToSet(e,t,this.updatePosition) this.isDashEnabled||(0,s.set)(this,"updatePosition",i) const{pageKey:n}=this this.tracking.firePageViewEvent(`${n}_updates`) this.socialCountsService.registerElementsList(e.elements) return t}_appendChannelIdToUpdate(e,t){this.isDashEnabled||e.elements.forEach((e=>{(0,s.set)(e,"channelId",t)}))}},v=(0,n.default)(y.prototype,"contentTopicFeedService",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,n.default)(y.prototype,"feedActionEvent",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,n.default)(y.prototype,"tracking",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,n.default)(y.prototype,"socialCountsService",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,n.default)(y.prototype,"lix",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,n.default)(y.prototype,"locale",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(y.prototype,"onChangeUpdateOrder",[s.action],Object.getOwnPropertyDescriptor(y.prototype,"onChangeUpdateOrder"),y.prototype),(0,n.default)(y.prototype,"fireFollowImpressionEvent",[s.action],Object.getOwnPropertyDescriptor(y.prototype,"fireFollowImpressionEvent"),y.prototype),y)})) define("feed/routes/index",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/classPrivateMethodGet","@babel/runtime/helpers/esm/classPrivateFieldGet","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/application","@ember/object","@ember/routing/route","@ember/utils","community-panel/utils/community-panel-query","data-layer/m3-configs/jobs/jobs-home-prefetch-config","data-layer/m3-configs/profile/profile-prefetch-config","data-layer/utils/feed/member-actor","ember-app-scheduler","ember-batcher","email-confirmation/utils/email-confirmation-helpers","ember-lifeline","events-shared-v2/utils/helpers","feed/utils/attachments","feed/utils/run-loop","feed-pagination-state/utils/pagination-state","feed-requests/utils/collection-queries","feed-requests/utils/identity-module","global-utils/utils/create-cache-key-from-query","feed-utils/utils/client-sensor-constants","feed-utils/utils/constants","feed-utils/utils/error-parsing","feed-utils/utils/updates-page-view-tracker","global-helpers/helpers/name","global-utils/utils/is-browser","new-update-indicator/utils/constants","rsvp","@glimmer/tracking","s-upsell/utils/upsell-card-dash-helpers","s-upsell/utils/constants","graphql-queries/queries/service-marketplace/admin-widget.graphql","graphql-queries/queries/feed/gdpr-consent-by-alert.graphql","graphql-queries/queries/feed/gdpr-consent-by-recurring.graphql","data-layer/utils/profile/get-profile","graphql-queries/queries/feed/relevance-feed.graphql","graphql-queries/queries/feed/relevance-feed-irp.graphql","ember-cli-pemberly-m3/constants/request-header","graphql-queries/queries/nav/identity-module.graphql","tracked-built-ins","feed/components/feed-i18n-constants","feed/components/sort-toggle-dsa","international/utils/country-utils"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b,y,v,_,w,E,S,T,C,O,P,k,D,I,M,U,x,N,F,R,A,j,L,z,q,H,G,B,V,W,Q,K,Y,$){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=e.SCROLLS_FOR_AD_REFRESH=e.FIRST_LINE_GROUPID=void 0 var J,X,Z,ee,te,ie,ne,re,oe,le,ae,se,de,ce,ue,pe,me,fe,he,ge,be,ye,ve,_e,we,Ee,Se,Te,Ce,Oe,Pe,ke,De,Ie,Me,Ue,xe,Ne,Fe,Re,Ae,je,Le,ze,qe,He,Ge,Be,Ve,We,Qe,Ke,Ye,$e,Je,Xe,Ze,et,tt,it,nt,rt const ot="REVERSE_CHRONOLOGICAL",lt="feedInitialRequestUpdates",at=e.SCROLLS_FOR_AD_REFRESH=1 e.FIRST_LINE_GROUPID="8797287" const st=Object.freeze({refreshModel:!1}) e.default=(J=(0,s.inject)("ads@ad-banner-manager"),X=(0,s.inject)("authentication@authenticated-user"),Z=(0,s.inject)("global-nav-shared@badge"),ee=(0,s.inject)("client-sensor-web@client-sensor"),te=(0,s.inject)("date"),ie=(0,s.inject)("fastboot-bpr"),ne=(0,s.inject)("i18n"),re=(0,s.inject)("community-panel@interest-package-data-manager"),oe=(0,s.inject)("profile-services@identity-store"),le=(0,s.inject)("jet"),ae=(0,s.inject)("launchpad-services@launchpad-v2"),se=(0,s.inject)("lego@tracking"),de=(0,s.inject)("lix"),ce=(0,s.inject)("locale"),ue=(0,s.inject)("global-services@local-storage"),pe=(0,s.inject)("new-update-indicator@new-update-indicator"),me=(0,s.inject)("persistent-toast-manager@persistent-toast-manager"),fe=(0,s.inject)("feed-utils@content-admin-identities"),he=(0,s.inject)("feed-utils@pagination-token"),ge=(0,s.inject)("router"),be=(0,s.inject)("global-services@store-shim"),ye=(0,s.inject)("tracking"),ve=(0,s.inject)("feed-utils@view-state"),_e=(0,s.inject)("global-services@window"),we=(0,s.inject)("prefetch"),Ee=(0,s.inject)("social-counts-service@social-counts"),Se=(0,s.inject)("@linkedin/ember-restli-graphql@graphql"),Te=(0,s.inject)("cache-prefetch@cache-prefetch"),Ce=(0,s.inject)("watchman-tracking@watchman-tracking"),Oe=(nt=new WeakMap,rt=new WeakSet,class extends u.default{get isEuropeanLocale(){return $.default.isEuropeanLocale(this.locale)}get isPageSizeTuningEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-revenue-real-time-ads")}get isSharingWritingAssistantCopyEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.sharing-enable-writing-assistant-copy-on-closed-sharebox")}get isPageViewTrackerEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-updates-pagination-pve-fix")}get pageViewTrackerLixValue(){return this.lix.getTreatment("voyager.web.feed-updates-pagination-pve-fix")}get isDuplicateUpdatesFixLixEnabled(){return this.lix.getTreatment("voyager.web.feed-duplicate-updates-fix")}get isStaleFeedMetricFixLixEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-stale-feed-metric-fix")}get getTuningPageSize(){var e,t const i=(null===(e=this.lix.getTreatment("voyager.web.feed-revenue-real-time-ads"))||void 0===e||null===(t=e.split("_")[1])||void 0===t?void 0:t.split("-"))||[3,4] return{initial:parseInt(i[0],10),subsequent:parseInt(i[1],10)}}get isRichRecommendedEntitiesGraphQLEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-rich-recommended-entities-graphql")}get isEventsWatchmanLixEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.events-watchmen-monitoring")}constructor(){super(...arguments) rt.add(this);(0,t.default)(this,"adBannerManager",Pe,this);(0,t.default)(this,"authenticatedUser",ke,this);(0,t.default)(this,"badgeService",De,this);(0,t.default)(this,"clientSensor",Ie,this);(0,t.default)(this,"date",Me,this);(0,t.default)(this,"fastbootBpr",Ue,this);(0,t.default)(this,"i18n",xe,this);(0,t.default)(this,"interestPackageDataManager",Ne,this);(0,t.default)(this,"identityStore",Fe,this);(0,t.default)(this,"jet",Re,this);(0,t.default)(this,"launchpadV2",Ae,this);(0,t.default)(this,"legoTracking",je,this);(0,t.default)(this,"lix",Le,this);(0,t.default)(this,"locale",ze,this);(0,t.default)(this,"localStorage",qe,this);(0,t.default)(this,"newUpdateIndicator",He,this);(0,t.default)(this,"persistentToastManager",Ge,this);(0,t.default)(this,"contentAdminIdentities",Be,this);(0,t.default)(this,"paginationTokenService",Ve,this);(0,t.default)(this,"router",We,this);(0,t.default)(this,"storeShim",Qe,this);(0,t.default)(this,"tracking",Ke,this);(0,t.default)(this,"viewState",Ye,this);(0,t.default)(this,"windowService",$e,this);(0,t.default)(this,"prefetch",Je,this);(0,t.default)(this,"socialCountsService",Xe,this);(0,t.default)(this,"graphql",Ze,this);(0,t.default)(this,"cachePrefetch",et,this);(0,t.default)(this,"watchmanTracking",tt,this);(0,i.default)(this,"_currentRenderedLayer",0);(0,i.default)(this,"currentScrolledPage",0);(0,i.default)(this,"feedUpdatesUrl",D.FeedConstants.FEED_UPDATES_ENDPOINT);(0,i.default)(this,"hasFetchedInitialUpdates",!1);(0,i.default)(this,"layeredRenderingEnabled",void 0);(0,i.default)(this,"moduleKey",D.FeedConstants.INDEX_EXTENDED_ROUTE_MODULE_KEY);(0,i.default)(this,"numRenderLayers",4);(0,i.default)(this,"pageKey","flagship3_feed");(0,i.default)(this,"showAnonymousLoginFailureToast",!1);(0,i.default)(this,"queryParams",{member:st,trk:st,acceptedFrom:st,createEvent:st,an_l:st,shouldShowGroupFeed:st});(0,i.default)(this,"saveScrollPosition",!0);(0,i.default)(this,"updateFeedQueryFinder",D.FeedFinder.FEED_FINDER);(0,i.default)(this,"feedSortOrder",D.SortOrder.MEMBER_SETTING);(0,i.default)(this,"updatePosition",1);(0,i.default)(this,"_updateRequests",[]) nt.set(this,{writable:!0,value:new M.default(this.fireFeedUpdatesClientSensorAndPageViewEvents.bind(this,!0))});(0,t.default)(this,"updateCollections",it,this) const e=!this.fastbootBpr.isSSRPath;(0,c.set)(this,"queuedControllerProperties",{}) this.pagingCountOverride={1:D.FeedConstants.INITIAL_FETCH_UPDATE_COUNT,2:D.FeedConstants.INITIAL_UPDATE_COUNT_EXTENDED-D.FeedConstants.INITIAL_FETCH_UPDATE_COUNT} this.cachedData={} this.updateCollections=new Q.TrackedArray this.badgeService.setCustomQueryBuilder("feed",(e=>{e.queryAfterTime=this.queryAfterTime return e}));(0,c.setProperties)(this,{layeredRenderingEnabled:e,isDashEnabled:this.lix.getTreatmentIsEnabled("voyager.web.feed-dash-main-feed"),isDashIRPEnabled:"enabled-irp"===this.lix.getTreatment("voyager.web.feed-dash-main-feed"),feedUpdatesUrl:D.FeedConstants.FEED_UPDATES_V2_ENDPOINT,isCreateEventEnabled:(0,w.canViewerCreateAnEvent)(this.locale),isLMSConsentEnabled:this.lix.getTreatmentIsEnabled("voyager.feed.client.lms-consent"),moduleKey:D.FeedConstants.INDEX_EXTENDED_ROUTE_MODULE_KEY})}afterModel(e){if((0,a.isDestroying)(this))return const t={identityModule:this.fetchIdentityModule(),identityModulePremiumUpsellCard:this._fetchIdentityModulePremiumUpsellCard()} this.isRichRecommendedEntitiesGraphQLEnabled&&(t.followRecommendations=this.fetchFollowRecommendations()) this._resolveNonCriticalData(e,t) const i=(0,d.getOwner)(this) e.authenticatedFeedActor=(0,g.fetchMemberActor)(i) e.share={actor:e.authenticatedFeedActor,mentions:[],shareText:""} this.showAnonymousLoginFailureToast&&this.showFailedAnonymousLoginToast()}beforeModel(e){var t const i=null===(t=this.authenticatedUser)||void 0===t?void 0:t.miniProfile this.prefetch.prefetchData((0,f.jobsPrefetchConfig)(this.localStorage,e,this.lix),"feed-jobs") i.then((e=>{if((0,a.isDestroying)(this))return const t=e.publicIdentifier,i=(0,h.default)(t) this.prefetch.prefetchData(i,"feed-profile")}))}willDestroy(){super.willDestroy(...arguments) this._cleanupRefreshOnFocusChange()}activate(){super.activate(...arguments) x.default&&this._handleScrollHistorySetup()}deactivate(){super.deactivate(...arguments) x.default&&this._handleScrollHistoryReset()}fireFeedUpdatesClientSensorAndPageViewEvents(e){if(e&&this.isPageViewTrackerEnabled||!e&&!this.isPageViewTrackerEnabled){this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.MAIN_FEED_UPDATE_IMPRESSION) this.tracking.firePageViewEvent("flagship3_feed_updates")}}getCountOverrideForNextPage(){var e,t,i if(((null===(e=this.updateCollections)||void 0===e||null===(t=e[0])||void 0===t||null===(i=t.elements)||void 0===i?void 0:i.length)??0)0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0 const{updateCollections:i}=this,{highlightedUpdateUrn:n,highlightedUpdateType:o,associatedUrns:l}=e,s={commentsCount:0,likesCount:0,start:0,count:(this.isPageSizeTuningEnabled?this.getTuningPageSize.initial:this.getCountOverrideForNextPage())||D.FeedConstants.INITIAL_UPDATE_COUNT_EXTENDED,q:this._getInitialFeedFinder(e),moduleKey:this.moduleKey,highlightedUpdateUrn:n,highlightedUpdateType:o,associatedUrns:l} this.isEuropeanLocale&&!this.isDashEnabled&&(s.sortOrder=this.feedSortOrder) const d={adapterOptions:{degradations:[D.DEGRADATION_TRACKING_METADATA.UPDATES],degradedEntityIDsToRemove:[]}} return this.loadUpdateCollection(s,d).then((e=>{if((0,a.isDestroying)(this))return this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.INITIAL_UPDATE_REQUEST) e&&this.isStaleFeedMetricFixLixEnabled&&this._checkForStaleFeed(e) let l,s if(this.isDashEnabled){l=(null==e?void 0:e.metadata)||{} s=(null==e?void 0:e.paging)||{}}else{l=e.metadata||{} s=e.paging||{}}(0,c.set)(this,"paginationState",new T.default({start:s.start,count:s.count,pagingSize:this.isPageSizeTuningEnabled?this.getTuningPageSize.subsequent:D.FeedConstants.PAGING_UPDATES_COUNT_FEED,total:s.total,direction:"next"})) this.processNewUpdateCollection({updateCollection:e}) "enabled_hybrid"===this.pageViewTrackerLixValue&&(0,r.default)(this,nt).hybridPVEOnInitialRequestSucceed() const{paginationTokenExpiryTime:d}=l this._resetSessionExpirationTimer(d);(0,c.setProperties)(this,{paginationToken:l.paginationToken,queryAfterTime:l.queryAfterTime}) if(n&&"MITN"===o){var u,p,m const t=null===(u=e.elements)||void 0===u?void 0:u[0];(this.isDashEnabled?null===(p=t.metadata)||void 0===p?void 0:p.urn:null===(m=t.updateMetadata)||void 0===m?void 0:m.urn)!==n&&this._showMentionRetractedToast()}this.badgeService.resumePolling("feed") let f if(this.isDashEnabled){var h f=null==e||null===(h=e.elements)||void 0===h?void 0:h.length}else{var g f=e&&(null===(g=e.elements)||void 0===g?void 0:g.length)}1===t&&f>=1&&this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.MAIN_FEED_INITIAL_FETCH_RETRY_SUCCESS) l.preferredSortSetting&&(this.preferredSortSetting=l.preferredSortSetting) this.preferredSortSetting===D.SortOrder.REV_CHRON&&(this.updateFeedQueryFinder=D.FeedFinder.CHRON_FEED_FINDER) let b=!1 if(this.isEuropeanLocale){this.updateFeedQueryFinder=D.FeedFinder.FEED_FINDER this._setControllerProperty("feedSortOrder",l.sort) if(this.preferredSortSetting===D.SortOrder.REV_CHRON){const e=ot this._setControllerProperty("commentSortOrder",e) b=!0}}n&&(b=!0) b&&this.launchpadV2.dismiss() return i})).catch((i=>{if((0,a.isDestroying)(this))throw i this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.INITIAL_UPDATE_REQUEST_FAILED) const n=i.message.indexOf("Network request failed") if(((0,I.is5xxHttpError)(i)||n>=0)&&t<1){this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.MAIN_FEED_INITIAL_FETCH_RETRY) return this.getInitialFeed(e,t+1)}if((0,I.isHttpErrorStatus)(i)){this.tracking.fireTrackingPayload({topicName:"OopsPageViewEvent",eventName:"PageViewEvent"},{pageType:"ajax",totalTime:0,trackingInfo:{}}) this._setControllerProperty("caughtErrorLoadingUpdates",!0) return[]}throw i})).finally((()=>{(0,a.isDestroying)(this)||this._resetNewUpdatesIndicators()}))}_resetSessionExpirationTimer(e){this.paginationTokenService.unexpire(this.updateFeedQueryFinder) let t=e-this.date.now() const i=18e5 i0&&(this._sessionExpirationTimer=(0,_.runTask)(this,this.onSessionExpiration,t))}onSessionExpiration(){this.badgeService.setBadgeCount("feed",N.NEW_UPDATES_INDICATOR_THRESHOLD) this._handleRefreshOnPaginationTokenExpiration()}incrementClientSensorMetric(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k.CLIENT_SENSOR_GROUP_NAME;(0,p.isEmpty)(e)||this.clientSensor.incrementMetricCounter({groupName:t,metricName:e})}loadUpdateCollection(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=`feed/updates|${e.q}|${e.start}|${e.count}|${e.moduleKey}` e.paginationToken&&0!==e.start&&(i=i.concat(`|${e.paginationToken}`)) e.highlightedUpdateUrn&&(i=i.concat(`|${e.highlightedUpdateUrn}`)) this.lix.getTreatmentIsEnabled("voyager.client.staff")&&this._updateRequests.push({feedUpdatesUrl:this.feedUpdatesUrl,params:e,clientTime:(new Date).toUTCString()}) let n if(this.isDashEnabled){const r={start:e.start,count:e.count,paginationToken:e.paginationToken,sortOrder:e.sortOrder} e.highlightedUpdateUrn&&(r.highlightedUpdateUrn=e.highlightedUpdateUrn) e.highlightedUpdateType&&(r.highlightedUpdateType=e.highlightedUpdateType) const o=this.isDashIRPEnabled?B.default:G.default,l=["/voyager/api/graphql",{...o,[V.ACCEPT_PROPERTY_NAME.toLowerCase()]:V.ACCEPT}],a=this.cachePrefetch.getCache(...l) n=this.graphql.executeQuery(o,r,{cacheKey:i,reload:0!==e.start||0===e.start&&!a,...t})}else n=this.storeShim.queryURL(this.feedUpdatesUrl,{cacheKey:i,params:e,reload:0!==e.start,...t}) return n.then((e=>{var t if((0,a.isDestroying)(this))return const i=this.isDashEnabled?null===(t=e.data)||void 0===t?void 0:t.feedDashMainFeedByMainFeed:e this.updateCollections.pushObject(i) this.socialCountsService.registerElementsList((null==i?void 0:i.elements)??[]) return i}))}model(){var e let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{} if((0,a.isDestroying)(this))return;(0,r.default)(this,nt).reset() const n=(null===(e=i.to)||void 0===e?void 0:e.queryParams)||{},{associatedUrns:o,highlightedUpdateType:l,[D.FeedConstants.FEED_REFRESH_QUERY_PARAM]:s}=n,d=n.highlightedUpdateUrn||this.highlightedUpdateUrn;(0,p.isPresent)(s)&&this.resetData() let{updateCollections:u}=this const m=!(0,p.isEmpty)(u) if(d&&!m){this.viewState.setExposedUpdate(d,"feed.index.index") this.highlightedUpdateUrn=d u=this.getInitialFeed({highlightedUpdateUrn:d,associatedUrns:o,highlightedUpdateType:l})}else if(this._canRefreshFeedDueToPaginationTokenExpiry())this.refreshAndProcessNewUpdateCollection() else if(m)this.fireFeedUpdatesClientSensorAndPageViewEvents() else if(!this.hasFetchedInitialUpdates){(0,c.set)(this,"hasFetchedInitialUpdates",!0) u=this.getInitialFeed({highlightedUpdateUrn:d,associatedUrns:o,highlightedUpdateType:l})}const f=this.isLMSConsentModalOrToastDisplayed,h={updateCollections:u,inviteActionFailed:n.inviteActionFailed,isAcceptInvite:n.isAcceptInvite,isSendInvite:n.isSendInvite} if(!f&&this.isLMSConsentEnabled){h.lmsConsent=this._fetchLMSConsentAlertDash().then((e=>{if(!(0,a.isDestroying)(this)){this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.GDPR_CONSENT_ALERT_ENDPOINT_SUCCESS}) return e}})).catch((e=>{if((0,a.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.GDPR_CONSENT_ALERT_ENDPOINT_ERROR}) if((0,I.isHttpErrorStatus)(e))return null throw e})) h.recurringGDPRConsent=this._fetchLMSConsentRecurringDash().then((e=>{if(!(0,a.isDestroying)(this)){this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.GDPR_CONSENT_RECURRING_ENDPOINT_SUCCESS}) return e}})).catch((e=>{if((0,a.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.GDPR_CONSENT_RECURRING_ENDPOINT_ERROR}) if((0,I.isHttpErrorStatus)(e))return null throw e}))}"false"===t.an_l&&(this.showAnonymousLoginFailureToast=!0) return(0,F.hash)(Object.assign(h,this._fetchPageData(t))).then((e=>{if(!(0,a.isDestroying)(this)){this._decorateModel(e,i) return e}}))}processNewUpdateCollection(){var e,t let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{} const{updateCollection:n,skipFeedUpdatesPVE:r,hasEndError:o}=i,l=null==n||null===(e=n.elements)||void 0===e?void 0:e.length r||this.fireFeedUpdatesClientSensorAndPageViewEvents() const a=null===(t=this.paginationState)||void 0===t?void 0:t.hasNextPage if(!a||!l){this.incrementClientSensorMetric(o?k.MainFeedClientSensorMetrics.END_OF_FEED_ERROR:k.MainFeedClientSensorMetrics.END_OF_FEED) const e=o?"flagship3_feed_end_error":"flagship3_feed_end" this.tracking.firePageViewEvent(e) this._setControllerProperty("endOfFeed",!0)}return a}resetData(){delete this.cachedData.lmsConsent delete this.cachedData.identityModule delete this.cachedData.followRecommendations delete this.cachedData.storylines delete this.cachedData.entitiesFollowed delete this.cachedData.pagesAdminOrganization this.updateCollections.clear();(0,c.set)(this,"updatePosition",1)}resetController(e,t){super.resetController(...arguments) t&&e.closeReportWrongMentionModal()}setupController(e,t,i){var n,r if((0,a.isDestroying)(this))return super.setupController(...arguments) const{saveScrollPosition:o}=this o&&(0,S.afterRender)().then((()=>{(0,a.isDestroying)(this)||this._scrollToLastExposedUpdate()})) const l=null==i?void 0:i.to.queryParams "join-al"===l.trk&&(0,S.afterRender)().then((()=>{this.isDestroying||this.showAutoLoginToast()})) l.highlightedUpdateUrn&&(0,S.afterRender)().then((()=>{this.isDestroying||this._scrollToTop()})) const{recurringGDPRConsent:s}=t s&&(0,b.whenRouteIdle)().then((()=>{(0,a.isDestroying)(this)||this._showRecurringGDPRConsentToast(s)}));(0,c.setProperties)(e,this.queuedControllerProperties);(0,c.set)(this,"queuedControllerProperties",{}) const d=this.isLMSConsentEnabled&&!!t.lmsConsent,u=null===(n=t.lmsConsent)||void 0===n?void 0:n.alertType,p=u===D.consentFormTypes.MODAL,m=u===D.consentFormTypes.INLINE;(d||s)&&(0,c.set)(this,"isLMSConsentModalOrToastDisplayed",!0) l.createEvent&&(0,S.afterRender)().then((()=>{this.isDestroying||this._showCreateEventModal()})) const f=!this.isRichRecommendedEntitiesGraphQLEnabled&&!(null===(r=t.followRecommendations)||void 0===r||!r.length);(0,c.setProperties)(e,{isDashEnabled:this.isDashEnabled,isRichRecommendedEntitiesGraphQLEnabled:this.isRichRecommendedEntitiesGraphQLEnabled,isInlineLMSConsentVisible:d&&m,isLMSConsentModalOpen:d&&p,isModalLMSConsent:d&&p,isSortByRecent:this.updateFeedQueryFinder===D.FeedFinder.CHRON_FEED_FINDER,isSortDropdownOpen:!1,numFollowRecommendationsToShow:D.FeedConstants.NUM_FOLLOW_RECOMMENDATIONS_TO_SHOW,saveScrollPosition:o,shareOrigin:"FEED",showFollowRecommendations:f,updateFeedQueryFinder:this.updateFeedQueryFinder})}showAutoLoginToast(){var e if(!x.default)return const t=(0,U.getName)(null===(e=this.authenticatedUser)||void 0===e?void 0:e.miniProfile) if(t){const{persistentToastManager:e}=this this.storeShim.queryURL(...(0,v.getMemberHandlesRequest)(!0,"EMAIL")).then((e=>{var t if(!(0,a.isDestroying)(this))return null===(t=e.elements)||void 0===t?void 0:t[0]})).then((i=>{var n,r if((0,a.isDestroying)(this))return const o=i&&(null===(n=i.handleDetailUnion)||void 0===n||null===(r=n.emailAddress)||void 0===r?void 0:r.emailAddress) if(o){const i=this._getI18nString("i18n_auto_login_toast_msg_v2",{memberName:t,memberEmail:o}) e.notice({message:i})}}))}}showFailedAnonymousLoginToast(){if(x.default){const{i18n:e,localStorage:t}=this Date.now()-t.getItem("anonymous-login")<=12e4&&this.persistentToastManager.error({message:e.lookupTranslation(K.default,"anonymous_login_failure_message")(),ctaText:e.lookupTranslation(K.default,"anonymous_login_failure_cta")(),ctaUrl:"/psettings/profile-visibility"}) t.removeItem("anonymous-login")}}updatesPaginationPVETrackerOnUpdate(e){return{onDisplayUpdate:()=>(0,r.default)(this,nt).onDisplayUpdate(e)}}loadFilteredFeed(){this.newUpdateIndicator.resetFeedBadge()}didTransition(){var e,t const i=null===(e=this.controller)||void 0===e?void 0:e.articleUrnStr,n=null===(t=this.controller)||void 0===t?void 0:t.mentionedEntityStr this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.MAIN_FEED_IMPRESSION) if(x.default){this.prefetch.prefetchAssets(D.FeedConstants.JOBS_ENGINE_EXT) this.prefetch.prefetchAssets("sharing-v2") this.prefetch.prefetchAssets("participate-text-editor");(0,b.whenRouteIdle)().then((()=>{(0,a.isDestroying)(this)||i&&n&&this.controller.openReportWrongMentionModal()}))}this.layeredRenderingEnabled&&this._unRenderAllLayers() x.default&&this.layeredRenderingEnabled?this._renderNextLayer():this._renderAllLayers() return!0}changeUpdateOrder(e){(0,c.set)(this,"controller.isSortDropdownOpen",!1) if(e!==this.updateFeedQueryFinder){this.newUpdateIndicator.resetFeedBadge() const t={} if(e===D.FeedFinder.FEED_FINDER){t.sortOrder=D.SortOrder.RELEVANCE;(this.isEuropeanLocale||this.isDashEnabled)&&(this.feedSortOrder=D.SortOrder.RELEVANCE)}if(e===D.FeedFinder.CHRON_FEED_FINDER){t.sortOrder=D.SortOrder.REV_CHRON;(this.isEuropeanLocale||this.isDashEnabled)&&(this.feedSortOrder=D.SortOrder.REV_CHRON)}this._refreshUpdatesCollection(e,t);(0,c.set)(this,"controller.isSortByRecent",e===D.FeedFinder.CHRON_FEED_FINDER) this.updateFeedQueryFinder=e}}changeSortOrder(e){this._setControllerProperty("isSortDropdownOpen",!1) if(e!==this.feedSortOrder){this.updateFeedQueryFinder=D.FeedFinder.FEED_FINDER this.feedSortOrder=e this._setControllerProperty("feedSortOrder",e) this.newUpdateIndicator.resetFeedBadge() this._refreshUpdatesCollection(this.updateFeedQueryFinder,{sortOrder:e}) if(this.preferredSortSetting===D.SortOrder.REV_CHRON&&e===D.SortOrder.RELEVANCE){const e=this.i18n.lookupTranslation(Y.default,"i18n_toast_directions")(),t=this.i18n.lookupTranslation(Y.default,"i18n_toast_link_text")() this.persistentToastManager.notice({message:e,ctaText:t,ctaUrl:"/mypreferences/d/settings/feed-preferences",ctaControlName:"feed_sort_toast_settings"})}let t t=e===D.SortOrder.RELEVANCE?e:ot this._setControllerProperty("commentSortOrder",t)}}onEventCreateModalDismiss(){this._closeCreateEventModal()}onNextPage(e){var t if(null!==(t=this.paginationState)&&void 0!==t&&t.hasNextPage){const t=this.isPageSizeTuningEnabled?null:this.getCountOverrideForNextPage(),i=(0,p.isPresent)(t),r=this.paginationState.getNextPagingValues(t),o=(0,n.default)(this,rt,dt).call(this,r),l={adapterOptions:{degradations:[D.DEGRADATION_TRACKING_METADATA.SUBSEQUENT_UPDATES],degradedEntityIDsToRemove:[]}} e.resolve(this.loadUpdateCollection(o,l).then((e=>{if(!(0,a.isDestroying)(this)){this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.SUBSEQUENT_REQUEST) return this.processNewUpdateCollection({updateCollection:e,skipFeedUpdatesPVE:i})}})).catch((t=>{if((0,a.isDestroying)(this))throw t this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.SUBSEQUENT_REQUEST_FAILED) console.error("Failed to fetch paging update collection",t) if((0,I.isHttpErrorStatus)(t)){const i=(0,I.getStatusCode)(t),n=i&&parseInt(i,10) 403===n?this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.SUBSEQUENT_REQUEST_403):404===n&&this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.SUBSEQUENT_REQUEST_404) this.processNewUpdateCollection({updateCollection:[],hasEndError:!0}) e.resolve(!1)}throw t})))}else e.resolve(!1);(0,c.set)(this,"currentScrolledPage",this.currentScrolledPage+1)}queryParamsDidChange(e){super.actions.queryParamsDidChange.call(this,...arguments) this._setControllerProperty("caughtErrorLoadingUpdates",!1) this._setControllerProperty("endOfFeed",!1) const{isRefreshInProgress:t}=this,i=(0,c.get)(e,D.FeedConstants.FEED_REFRESH_QUERY_PARAM),{highlightedUpdateUrn:n}=e||{},r=(0,c.get)(e,D.FeedConstants.FEED_REFRESH_BYPASS_RESTRAINT) this.bypassRefreshTimingRestraint=r if(i&&!t){this.resetData() this._refreshIdentityModule() this._refreshPageData() this.refreshAndProcessNewUpdateCollection()}else if(n){this.highlightedUpdateUrn!==n&&this.resetData() this.highlightedUpdateUrn=n}else if(e.shouldShowGroupFeed){this._refreshIdentityModule() this._refreshPageData()}e.createEvent&&this._showCreateEventModal()}refreshAndProcessNewUpdateCollection(){(0,c.set)(this,"isRefreshInProgress",!0) this._setControllerProperty("endOfFeed",!1) this._refreshUpdatesCollection(this.updateFeedQueryFinder,{sortOrder:this.feedSortOrder!==D.SortOrder.MEMBER_SETTING?this.feedSortOrder:void 0}).then((e=>{if(!(0,a.isDestroying)(this))return this.processNewUpdateCollection({updateCollection:e})})).catch((e=>{if((0,a.isDestroying)(this))throw e this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.REFRESHED_UPDATE_REQUEST_FAILED) console.error("Failed to fetch refresh update collection",e) if((0,I.isHttpErrorStatus)(e)){const t=(0,I.getStatusCode)(e) 403===(t&&parseInt(t,10))&&this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.REFRESHED_UPDATE_REQUEST_403) this._setControllerProperty("caughtErrorLoadingUpdates",!0)}else{e.message.indexOf("Network request failed")>=0&&this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.REFRESHED_UPDATE_REQUEST_NETWORK_FAILURE)}throw e})).finally((()=>{if(!(0,a.isDestroying)(this)){this._resetNewUpdatesIndicators() this._triggerFeedRefreshedEvent();(0,c.set)(this,"isRefreshInProgress",!1)}}))}willTransition(){this.saveScrollPosition&&this._setOffsetLastExposedUpdate() return!0}buildRouteInfoMetadata(){const e={debug:{suggestedTeams:["ceFeed","ceConversations","ceIgnite","sharing","media","feedRelevance"]}} this.lix.getTreatmentIsEnabled("voyager.client.staff")&&(e.debug.attachments=[{fileName:"updates-viewed.txt",blobGenerator:()=>(0,E.updatesInViewport)(this.windowService)},{fileName:"feed-endpoint-requests-json.txt",blobGenerator:()=>(0,E.feedEndpointRequestJSONBlob)(this._updateRequests,this.windowService)}]) return e}fetchFollowRecommendations(){const e={q:"dynamicFollowRecommendations",start:0,count:D.FeedConstants.FOLLOW_RECOMMENDATIONS_FETCH_COUNT},t={adapterOptions:{degradations:[D.DEGRADATION_TRACKING_METADATA.FOLLOW_RECOMMENDATIONS],degradedEntityIDsToRemove:[]}} return(0,C.getRichRecommendedEntities)(this.storeShim,e,t,this.isRichRecommendedEntitiesGraphQLEnabled,this.graphql).then((e=>{if(!(0,a.isDestroying)(this)){this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.FOLLOW_RECOMMENDATIONS_REQUEST_SUCCESS}) if(this.isRichRecommendedEntitiesGraphQLEnabled){var t,i return null==e||null===(t=e.data)||void 0===t||null===(i=t.feedDashRecommendedGenericEntitiesByDynamicFollowRecommendations)||void 0===i?void 0:i.elements}return e.elements??[]}})).catch((e=>{if((0,a.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.FOLLOW_RECOMMENDATIONS_REQUEST_FAILED}) if((0,I.isHttpErrorStatus)(e))return[] throw e}))}fetchConsentExperienceData(){return this.storeShim.queryURL("voyagerLaunchpadDashLaunchpadViews",{reload:!0,params:{q:"context",launchpadContext:"TAKEOVER",recipe:"com.linkedin.voyager.dash.deco.launchpad.LaunchpadView"}}).then((e=>{var t,i,n,r,o,l,s if((0,a.isDestroying)(this))return return{showModal:null===(t=e.elements)||void 0===t||null===(i=t[0])||void 0===i||null===(n=i.launchpadCards)||void 0===n||null===(r=n[0])||void 0===r||null===(o=r.cardType)||void 0===o?void 0:o.includes("notificationConsent"),legoTrackingToken:null===(l=e.elements)||void 0===l||null===(s=l[0])||void 0===s?void 0:s.legoTrackingToken}}))}fetchStorylineCollection(){const{graphql:e}=this,t={count:D.FeedConstants.NUM_STORYLINES_TO_FETCH},i={adapterOptions:{degradations:[D.DEGRADATION_TRACKING_METADATA.STORYLINES],degradedEntityIDsToRemove:[]}} return(0,C.getTopics)({params:t,graphql:e,optionsOverride:i}).then((e=>{if(!(0,a.isDestroying)(this)){this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.STORYLINE_TOPICS_REQUEST_SUCCESS}) return e}})).catch((e=>{if((0,a.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.STORYLINE_TOPICS_REQUEST_FAILED}) console.error("Failed to fetch storyline collection",e) if((0,I.isHttpErrorStatus)(e))return[] throw e}))}fetchEntitiesFollowed(){return(0,m.default)({interestPackageDataManager:this.interestPackageDataManager,clientSensor:this.clientSensor,graphql:this.graphql,jet:this.jet,reload:!1})}fetchIdentityModule(){const e=["/voyager/api/graphql",{...W.default,[V.ACCEPT_PROPERTY_NAME.toLowerCase()]:V.ACCEPT}],t={adapterOptions:{degradations:[D.DEGRADATION_TRACKING_METADATA.IDENTITY_MODULE],degradedEntityIDsToRemove:[]},reload:!this.cachePrefetch.hasCache(...e)} return(0,O.getIdentityModule)(this.graphql,t).then((e=>{if(!(0,a.isDestroying)(this)){this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.IDENTITY_MODULE_REQUEST_SUCCESS}) return e}})).catch((e=>{if((0,a.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.IDENTITY_MODULE_REQUEST_FAILED}) if((0,I.isHttpErrorStatus)(e))return{widgets:[],actions:[]} throw e})).finally((()=>{(0,a.isDestroying)(this)||this.cachePrefetch.removeCachedItem(this.cachePrefetch.generateKey(...e))}))}fetchPagesAdminOrganization(){return this.graphql.executeQuery(L.default,{count:D.FeedConstants.PAGES_ADMIN_ENTRYPOINT_ORGANIZATION_COUNT,viewerPermissions:{canReadOrganizationUpdateAnalytics:!0}}).then((e=>{var t if((0,a.isDestroying)(this))return this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.PAGES_ADMIN_REQUEST_SUCCESS}) const{elements:i,paging:n}=(null===(t=e.data)||void 0===t?void 0:t.organizationDashCompaniesByViewerPermissions)||{} if(null!=i&&i.length){this.contentAdminIdentities.identities.length||this.contentAdminIdentities.createContentAdminIdentities(i) return{elements:i,paging:n}}return null})).catch((e=>{if((0,a.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.PAGES_ADMIN_REQUEST_FAILED}) if((0,I.isHttpErrorStatus)(e)){this.jet.logError(new Error("Network request failed while attempting to fetch pages admin widget"),D.JET_TAGS.GET_PAGES_ADMIN_WIDGET,!1) return null}throw e}))}refreshStorylineData(e){this.numberOfStorylineModuleRefreshes+=1 return this.fetchStorylineCollection(!0).then((()=>{(0,a.isDestroying)(this)||this.scheduleRefreshNewsModule(e)}))}scheduleRefreshNewsModule(e){(0,_.runTask)(this,(()=>{this.refreshStorylineData(e)}),e)}_canRefreshFeedDueToPaginationTokenExpiry(){return!(!this._isOnTopFeed()||!this.paginationTokenService.isExpired(D.FeedFinder.FEED_FINDER))}_cleanupRefreshOnFocusChange(){x.default&&(0,_.removeEventListener)(this,window,"focus",this._handleFocusChangeAfterPaginationTokenExpires)}_closeCreateEventModal(){(0,c.setProperties)(this,{"controller.shouldOpenCreateEventModal":!1,"controller.createEvent":void 0})}_decorateModel(e,t){const i=Object.assign(e,{mediaData:null}),n=t.to?t.to.queryParams:{} if(n.isAcceptInvite||n.isSendInvite||n.inviteActionFailed)return this._decorateModelForHeathrow(i,n) i.highlightedUpdateUrn=n.highlightedUpdateUrn if(n.highlightedUpdateUrn){if(this.isDashEnabled){n.showCommentBox&&(i.showCommentBox=n.showCommentBox) return i}return function(e,t){var i const n=(null===(i=e.updateCollections[0])||void 0===i?void 0:i.elements)??[],r=null==n?void 0:n.find((e=>{var i,n const r=(null===(i=e.updateMetadata)||void 0===i?void 0:i.urn)||(null===(n=e.metadata)||void 0===n?void 0:n.backendUrn) return t.highlightedUpdateUrn===r})) r&&(r.showCommentBox=(null==t?void 0:t.showCommentBox)||!1) return e}(i,n)}!function(e){const t={conversionPixelUrl:D.FeedConstants.TRACKING_URLS.CONVERSION,retargetingPixelUrl:D.FeedConstants.TRACKING_URLS.RETARGETING,facebookPixelUrl:D.FeedConstants.TRACKING_URLS.FACEBOOK} Object.assign(e,t)}(i) return i}_decorateModelForHeathrow(e,t){let{inviteActionFailed:i,isAcceptInvite:n,isSendInvite:r,member:o}=t const l=Object.assign(e,{inviteActionFailed:i,isAcceptInvite:n,isSendInvite:r,member:o,showInviteAlert:!0}) if(!o||i)return F.Promise.resolve(l) return(0,H.getProfileById)(this.storeShim,o,"com.linkedin.voyager.dash.deco.identity.profile.MiniProfile").then((e=>{if(!(0,a.isDestroying)(this)){l.profile=e return l}})).catch((e=>{if((0,a.isDestroying)(this))throw e if((0,I.isHttpErrorStatus)(e)){l.showInviteAlert=!1 this.jet.logError(new Error("Network request failed while attempting to fetch profile for heathrow"),D.JET_TAGS.GET_PROFILE,!1) return l}throw e}))}_getClosedSharebox(){const e={q:"feedType",feedType:"MAIN_FEED",recipe:"com.linkedin.voyager.dash.deco.contentcreation.closedSharebox"} return this.storeShim.queryURL("/voyager/api/voyagerContentcreationDashClosedSharebox",{params:e,cacheKey:(0,P.default)("feed/",e)}).then((e=>{var t if((0,a.isDestroying)(this))return this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.CLOSED_SHAREBOX_DATA_REQUEST_SUCCESS}) const{trendingTopicPrompt:i,trendingTopics:n,shareboxMediaButtons:r}=(null===(t=e.elements)||void 0===t?void 0:t[0])||{},o={shareboxMediaButtons:r,trendingTopicPrompt:i,trendingTopics:n} if(this.isSharingWritingAssistantCopyEnabled){var l,s o.primaryShareBoxEntryPointText=null===(l=e.elements)||void 0===l||null===(s=l[0])||void 0===s?void 0:s.primaryShareboxEntrypointCtaText}return o})).catch((e=>{if((0,a.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:k.HomePageClientSensorMetrics.CLOSED_SHAREBOX_DATA_REQUEST_FAILED}) if((0,I.isHttpErrorStatus)(e))return null throw e}))}_fetchIdentityModulePremiumUpsellCard(){return(0,A.queryUpsellCardDataV2)({clientSensor:this.clientSensor,graphql:this.graphql},{upsellSlot:j.UPSELL_SLOT.IDENTITY_MODULE}).then((e=>{if(!(0,a.isDestroying)(this))return(0,c.get)(e,"data.premiumDashUpsellSlotContentBySlotType.elements.0.upsellCard")}))}_fetchLMSConsent(e){const t={q:e} return this.storeShim.queryURL("feed/gdprConsent",{cacheKey:(0,P.default)("feed/gdprConsent",t),params:t}).then((e=>{var t if(!(0,a.isDestroying)(this))return null===(t=e.elements)||void 0===t?void 0:t[0]}))}_fetchLMSConsentAlertDash(){return this.graphql.executeQuery(z.default).then((e=>{var t,i,n if(!(0,a.isDestroying)(this))return null===(t=e.data)||void 0===t||null===(i=t.feedDashGDPRConsentByAlert)||void 0===i||null===(n=i.elements)||void 0===n?void 0:n[0]}))}_fetchLMSConsentRecurringDash(){return this.graphql.executeQuery(q.default).then((e=>{var t,i,n if(!(0,a.isDestroying)(this))return null===(t=e.data)||void 0===t||null===(i=t.feedDashGDPRConsentByRecurring)||void 0===i||null===(n=i.elements)||void 0===n?void 0:n[0]}))}_fetchPageData(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{} const t={pagesAdminOrganization:this.fetchPagesAdminOrganization(),entitiesFollowed:this.fetchEntitiesFollowed(),followRecommendations:this.isRichRecommendedEntitiesGraphQLEnabled?null:this.fetchFollowRecommendations(),closedSharebox:this._getClosedSharebox(),storylines:this.fetchStorylineCollection(),launchpadV2DataConfig:this.launchpadV2.getLaunchpadData("FEED",e.launchpadCardType)} this.lix.getTreatmentIsEnabled("voyager.web.consent-experience-modal-api")&&(t.consentExperience=this.fetchConsentExperienceData()) return t}_getControllerProperty(e){return(0,c.get)(this,`controller.${e}`)||(0,c.get)(this,`queuedControllerProperties.${e}`)}_getI18nString(e,t){return this.i18n.lookupTranslation(K.default,e)([t])}_getInitialFeedFinder(){let{highlightedUpdateUrn:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{} return e?D.FeedFinder.FEED_FINDER:this.updateFeedQueryFinder}_getUpdateElemByDataId(e){return x.default&&!this.isDestroying?document.getElementById("voyager-feed").querySelector(`[data-id='${e}']`):null}_handleRefreshOnPaginationTokenExpiration(){this.paginationTokenService.expire(this.updateFeedQueryFinder) this.lix.getTreatmentIsEnabled("voyager.client.staff")&&this._updateRequests.push({paginationTokenExpired:!0,clientTime:(new Date).toUTCString()}) "feed.index.index"===this.router.currentRouteName&&this._isOnTopFeed()&&x.default&&!document.hasFocus()&&(0,_.addEventListener)(this,window,"focus",this._handleFocusChangeAfterPaginationTokenExpires)}_handleFocusChangeAfterPaginationTokenExpires(){x.default&&document.hasFocus()&&(document.querySelector(".artdeco-modal")||this.refreshAndProcessNewUpdateCollection()) this._cleanupRefreshOnFocusChange()}_isOnTopFeed(){return this.updateFeedQueryFinder===D.FeedFinder.FEED_FINDER}_loadRecentlyAddedProfilePositions(){var e const t=null===(e=this.authenticatedUser)||void 0===e?void 0:e.memberId return this.identityStore.queryURL("com.linkedin.voyager.dash.deco.identity.profile.FullProfilePositionGroupsInjection",t,{params:{recipe:"com.linkedin.voyager.dash.deco.identity.profile.FullProfilePositionGroup"}})}_refreshIdentityModule(){const e=this.modelFor(this.routeName) this.fetchIdentityModule().then((t=>{if(!(0,a.isDestroying)(this))return(0,c.set)(e,"identityModule",t)}))}_refreshAdIfFullPage(){this.currentScrolledPage%at==0&&this.adBannerManager.triggerRefreshAdEvent()}_refreshUpdatesCollection(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.default)(this,nt).reset() delete this.highlightedUpdateUrn const{updateCollections:i}=this,n={q:e,count:this.isPageSizeTuningEnabled?this.getTuningPageSize.initial:D.FeedConstants.INITIAL_UPDATE_COUNT_EXTENDED,moduleKey:this.moduleKey,commentsCount:0,likesCount:0,...t},o=this.feedUpdatesUrl this._scrollToTop() this.isDuplicateUpdatesFixLixEnabled||i.clear();(0,c.set)(this,"paginationState",void 0) this.lix.getTreatmentIsEnabled("voyager.client.staff")&&this._updateRequests.push({feedUpdatesUrl:this.feedUpdatesUrl,params:n,clientTime:(new Date).toUTCString()}) return(this.isDashEnabled?this.graphql.executeQuery(this.isDashIRPEnabled?B.default:G.default,{count:n.count,sortOrder:n.sortOrder},{reload:!0}):this.storeShim.queryURL(o,{params:n,reload:!0})).then((e=>{var t,n,r,o,l,s,d if((0,a.isDestroying)(this))return this.incrementClientSensorMetric(k.MainFeedClientSensorMetrics.REFRESHED_UPDATE_REQUEST) this.isDuplicateUpdatesFixLixEnabled&&i.clear() const u=this.isDashEnabled?null===(t=e.data)||void 0===t?void 0:t.feedDashMainFeedByMainFeed:e i.unshift(u) const p=(null==u?void 0:u.elements)??[] this.socialCountsService.registerElementsList(p) const m=null==u||null===(n=u.metadata)||void 0===n?void 0:n.paginationTokenExpiryTime this._resetSessionExpirationTimer(m);(0,c.setProperties)(this,{queryAfterTime:null===(r=u.metadata)||void 0===r?void 0:r.queryAfterTime,paginationToken:null===(o=u.metadata)||void 0===o?void 0:o.paginationToken,updatePosition:1});(0,c.set)(this,"paginationState",new T.default({start:null===(l=u.paging)||void 0===l?void 0:l.start,count:null===(s=u.paging)||void 0===s?void 0:s.count,pagingSize:this.isPageSizeTuningEnabled?this.getTuningPageSize.subsequent:D.FeedConstants.INITIAL_UPDATE_COUNT_EXTENDED,total:null===(d=u.paging)||void 0===d?void 0:d.total,direction:"next"})) return u}))}_renderNextLayer(){const e=(this._currentRenderedLayer??0)+1 if(e<=this.numRenderLayers){this._setRenderLayer(e,!0);(0,c.set)(this,"_currentRenderedLayer",e);(0,y.mutateDOM)((()=>{this.isDestroying||(0,_.runTask)(this,(()=>{this._renderNextLayer()}),0)}))}}_renderAllLayers(){const e=this.numRenderLayers for(let t=1;t<=e;t++)this._setRenderLayer(t,!0);(0,c.set)(this,"_currentRenderedLayer",e)}_setRenderLayer(e,t){(0,c.set)(this,`controller.renderLayer${e}`,t)}_resetNewUpdatesIndicators(){const{badgeService:e}=this e.clearBadge("feed") this.queryAfterTime&&e.resumePolling("feed") this.newUpdateIndicator.resetNewUpdateCount()}_refreshPageData(){this.modelFor(this.routeName)&&(0,F.hash)(this._fetchPageData()).then((e=>{(0,a.isDestroying)(this)||(0,c.setProperties)(this.modelFor(this.routeName),e)}))}_scrollToLastExposedUpdate(){var e if(this.isDestroying)return const t=null===(e=this.router)||void 0===e?void 0:e.currentRouteName,i=this.viewState.getExposedUpdate(t) if(i&&x.default){const e=this._getUpdateElemByDataId(i),t=e&&e.getBoundingClientRect().top+window.pageYOffset,{lastExposedUpdateOffset:n}=this if(t){const e=document.scrollingElement||document.body;(0,y.mutateDOM)((()=>{this.isDestroying||(e.scrollTop=t-n)}))}}}_scrollToTop(){if(x.default){const e=document.scrollingElement||document.body;(0,y.mutateDOM)((()=>{this.isDestroying||(e.scrollTop=0)}))}}_setControllerProperty(e,t){if(this.controller&&!this.isDestroying)(0,c.set)(this,`controller.${e}`,t) else{const{queuedControllerProperties:i}=this i[e]=t}}_setOffsetLastExposedUpdate(){var e const t=null===(e=this.router)||void 0===e?void 0:e.currentRouteName,i=this.viewState.getExposedUpdate(t) if(i&&x.default){const e=this._getUpdateElemByDataId(i) if(e){const t=e.getBoundingClientRect().top;(0,c.set)(this,"lastExposedUpdateOffset",t)}}}_checkForStaleFeed(e){const t=e.elements if(t){const e=this.localStorage.getItem(lt)??"" let i i=this.isDashEnabled?t.map((e=>{var t return null===(t=e.metadata)||void 0===t?void 0:t.backendUrn})):t.map((e=>{var t return null===(t=e.updateMetadata)||void 0===t?void 0:t.urn})) const n=i.join("|"),r=e.split("|")[0],o=this.lix.getTreatmentIsEnabled("voyager.client.staff") if(r===i[0]){const e=o?k.MainFeedClientSensorMetrics.STALE_FEED_FIRST_UPDATE_COMPANY:k.MainFeedClientSensorMetrics.STALE_FEED_FIRST_UPDATE this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:e})}if(e===n){const e=o?k.MainFeedClientSensorMetrics.STALE_FEED_COMPANY:k.MainFeedClientSensorMetrics.STALE_FEED this.clientSensor.incrementMetricCounter({groupName:k.CLIENT_SENSOR_GROUP_NAME,metricName:e})}else this.localStorage.setItem(lt,n)}}_showCreateEventModal(){if(this.isCreateEventEnabled){this.isEventsWatchmanLixEnabled&&this.watchmanTracking.startInteraction({userJourney:"create-event",userInteraction:"view-event-form_start",groupName:"events-reliability"});(0,c.set)(this,"controller.shouldOpenCreateEventModal",!0)}else this._closeCreateEventModal()}_showMentionRetractedToast(){const e=this._getI18nString("i18n_mentioned_retracted") this.persistentToastManager.error({message:e})}_showRecurringGDPRConsentToast(e){var t,i this.persistentToastManager.gdpr({message:null===(t=e.bodyDescription)||void 0===t?void 0:t.text,ctaText:e.primaryActionText,ctaUrl:e.primaryActionUrl}) const{legoTracking:n}=this n.sendLegoImpression(null===(i=e.trackingData)||void 0===i?void 0:i.trackingId,n.LEGO_IMPRESSION_VISIBILITY_SHOW)}_triggerFeedRefreshedEvent(){this.newUpdateIndicator.triggerFeedRefreshedEvent()}_unRenderAllLayers(){const e=this.numRenderLayers for(let t=1;t<=e;t++)this._setRenderLayer(t,!1);(0,c.set)(this,"_currentRenderedLayer",0)}_resolveNonCriticalData(e,t){Object.entries(t).forEach((t=>{let[i,n]=t n.then((t=>{this.isDestroying||(0,c.set)(e,i,t)}))}))}_handleScrollHistorySetup(){var e;(null===(e=this.windowService)||void 0===e?void 0:e.getHistory()).scrollRestoration="manual"}_handleScrollHistoryReset(){var e;(null===(e=this.windowService)||void 0===e?void 0:e.getHistory()).scrollRestoration="auto"}loading(){let e=!1 this.highlightedUpdateUrn&&this.lix.getTreatmentIsEnabled("voyager.web.feed-loading-spinner")&&(e=!0) return e}}),Pe=(0,o.default)(Oe.prototype,"adBannerManager",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ke=(0,o.default)(Oe.prototype,"authenticatedUser",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),De=(0,o.default)(Oe.prototype,"badgeService",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ie=(0,o.default)(Oe.prototype,"clientSensor",[ee],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Me=(0,o.default)(Oe.prototype,"date",[te],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ue=(0,o.default)(Oe.prototype,"fastbootBpr",[ie],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),xe=(0,o.default)(Oe.prototype,"i18n",[ne],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ne=(0,o.default)(Oe.prototype,"interestPackageDataManager",[re],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Fe=(0,o.default)(Oe.prototype,"identityStore",[oe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Re=(0,o.default)(Oe.prototype,"jet",[le],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ae=(0,o.default)(Oe.prototype,"launchpadV2",[ae],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),je=(0,o.default)(Oe.prototype,"legoTracking",[se],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Le=(0,o.default)(Oe.prototype,"lix",[de],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ze=(0,o.default)(Oe.prototype,"locale",[ce],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),qe=(0,o.default)(Oe.prototype,"localStorage",[ue],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),He=(0,o.default)(Oe.prototype,"newUpdateIndicator",[pe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ge=(0,o.default)(Oe.prototype,"persistentToastManager",[me],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Be=(0,o.default)(Oe.prototype,"contentAdminIdentities",[fe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ve=(0,o.default)(Oe.prototype,"paginationTokenService",[he],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),We=(0,o.default)(Oe.prototype,"router",[ge],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Qe=(0,o.default)(Oe.prototype,"storeShim",[be],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ke=(0,o.default)(Oe.prototype,"tracking",[ye],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ye=(0,o.default)(Oe.prototype,"viewState",[ve],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$e=(0,o.default)(Oe.prototype,"windowService",[_e],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Je=(0,o.default)(Oe.prototype,"prefetch",[we],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Xe=(0,o.default)(Oe.prototype,"socialCountsService",[Ee],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ze=(0,o.default)(Oe.prototype,"graphql",[Se],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),et=(0,o.default)(Oe.prototype,"cachePrefetch",[Te],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),tt=(0,o.default)(Oe.prototype,"watchmanTracking",[Ce],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),it=(0,o.default)(Oe.prototype,"updateCollections",[R.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.default)(Oe.prototype,"updatesPaginationPVETrackerOnUpdate",[c.action],Object.getOwnPropertyDescriptor(Oe.prototype,"updatesPaginationPVETrackerOnUpdate"),Oe.prototype),(0,o.default)(Oe.prototype,"loadFilteredFeed",[c.action],Object.getOwnPropertyDescriptor(Oe.prototype,"loadFilteredFeed"),Oe.prototype),(0,o.default)(Oe.prototype,"didTransition",[c.action],Object.getOwnPropertyDescriptor(Oe.prototype,"didTransition"),Oe.prototype),(0,o.default)(Oe.prototype,"changeUpdateOrder",[c.action],Object.getOwnPropertyDescriptor(Oe.prototype,"changeUpdateOrder"),Oe.prototype),(0,o.default)(Oe.prototype,"changeSortOrder",[c.action],Object.getOwnPropertyDescriptor(Oe.prototype,"changeSortOrder"),Oe.prototype),(0,o.default)(Oe.prototype,"onEventCreateModalDismiss",[c.action],Object.getOwnPropertyDescriptor(Oe.prototype,"onEventCreateModalDismiss"),Oe.prototype),(0,o.default)(Oe.prototype,"onNextPage",[c.action],Object.getOwnPropertyDescriptor(Oe.prototype,"onNextPage"),Oe.prototype),(0,o.default)(Oe.prototype,"queryParamsDidChange",[c.action],Object.getOwnPropertyDescriptor(Oe.prototype,"queryParamsDidChange"),Oe.prototype),(0,o.default)(Oe.prototype,"willTransition",[c.action],Object.getOwnPropertyDescriptor(Oe.prototype,"willTransition"),Oe.prototype),(0,o.default)(Oe.prototype,"loading",[c.action],Object.getOwnPropertyDescriptor(Oe.prototype,"loading"),Oe.prototype),Oe) function dt(e){const t={commentsCount:0,count:e.count,highlightedUpdateUrn:this.highlightedUpdateUrn,likesCount:0,moduleKey:this.moduleKey,paginationToken:this.paginationToken,q:this.updateFeedQueryFinder,start:e.start} this.updateFeedQueryFinder===D.FeedFinder.FEED_FINDER&&(t.sortOrder=D.SortOrder.RELEVANCE) if(this.feedSortOrder&&this.isEuropeanLocale){t.sortOrder=this.feedSortOrder this.isDashEnabled&&this.feedSortOrder===D.SortOrder.MEMBER_SETTING&&delete t.sortOrder}return t}})) define("feed/routes/index/index",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/routing/route"],(function(e,t,i){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 class n extends i.default{constructor(){super(...arguments);(0,t.default)(this,"pageKey","flagship3_feed")}}e.default=n})) define("feed/routes/launchpad",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/routing/route","@ember/service"],(function(e,t,i,n,r,o,l){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var a,s,d e.default=(a=(0,l.inject)("router"),s=class extends o.default{constructor(){super(...arguments);(0,t.default)(this,"router",d,this)}beforeModel(){this.router.replaceWith("feed.index")}},d=(0,n.default)(s.prototype,"router",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)})) define("feed/routes/live-preview",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/routing/route","global-utils/utils/is-browser","feed/utils/live-preview-update-generator","global-utils/utils/get-location","@ember/object","feed-utils/utils/error-parsing","ember-lifeline","rsvp","graphql-queries/queries/feed/feed-sponsored-updates-by-sponsored-update-urn.graphql"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var g,b,y,v,_,w,E,S,T const C=["https://pemberly.www.linkedin.com:4443","https://pemberly.www.linkedin-ei.com:4443","https://pemberly.www.linkedin.cn:4443","https://pemberly.www.linkedin-ei.cn:4443"] e.default=(g=(0,l.inject)("global-services@store-shim"),b=(0,l.inject)("global-services@window"),y=(0,l.inject)("social-counts-service@social-counts"),v=(0,l.inject)("@linkedin/ember-restli-graphql@graphql"),_=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"storeShim",w,this);(0,t.default)(this,"windowService",E,this);(0,t.default)(this,"socialCountsService",S,this);(0,t.default)(this,"graphql",T,this);(0,i.default)(this,"pageKey","flagship3_feed_ad_live_preview") this._messageListener=this.handlePostMessage.bind(this)}model(){if(!(0,o.isDestroying)(this))return{}}activate(){if(s.default){const{windowService:e}=this e.addEventListener("message",this._messageListener) e.getSelf()!==e.getParent()&&e.getParent().postMessage({type:"LIVE_PREVIEW_ROUTE_ACTIVATED"},e.getLocation().origin)}}deactivate(){if(s.default){const{windowService:e}=this e.removeEventListener("message",this._messageListener)}}handlePostMessage(e){let{data:t,origin:i}=e const n=(0,c.default)(),r=t&&"LIVE_PREVIEW"===t.type if(i&&(i===n.origin||C.some((e=>0===e.indexOf(i))))&&r){const{updateType:e,step:i,sponsoredUrn:n}=t if(n){this.storeShim.unloadAll() const{viewContext:r}=t this.getUpdate(n,r,!0).then((t=>{if(!(0,o.isDestroying)(this))if("leadgenform"===e){(0,u.setProperties)(this,{"controller.model.update":void 0,"controller.model.leadGenForm":t.leadGenFormContent.leadGenForm}) "form"===i?(0,u.setProperties)(this,{"controller.model.isLeadGenForm":!0,"controller.model.isLeadGenConfirmation":!1}):"confirmation"===i&&(0,u.setProperties)(this,{"controller.model.isLeadGenForm":!1,"controller.model.isLeadGenConfirmation":!0})}else(0,u.setProperties)(this,{"controller.model.update":t,"controller.model.isLeadGenConfirmation":!1,"controller.model.isLeadGenForm":!1})}))}else(0,d.default)(this.storeShim,t).then((t=>{if(!(0,o.isDestroying)(this))if("leadgenform"===e){(0,u.setProperties)(this,{"controller.model.update":void 0,"controller.model.leadGenForm":t}) "form"===i?(0,u.setProperties)(this,{"controller.model.isLeadGenForm":!0,"controller.model.isLeadGenConfirmation":!1}):"confirmation"===i&&(0,u.setProperties)(this,{"controller.model.isLeadGenForm":!1,"controller.model.isLeadGenConfirmation":!0})}else{var n;(0,u.setProperties)(this,{"controller.model.update":null===(n=t.update)||void 0===n?void 0:n.value,"controller.model.isLeadGenConfirmation":!1,"controller.model.isLeadGenForm":!1})}}))}}getUpdate(e,t,i){let n={urn:e} t&&(n={...n,viewContext:t}) return this.graphql.executeQuery(h.default,n).then((e=>{if((0,o.isDestroying)(this))return const{elements:t}=e.data.feedDashSponsoredUpdatesBySponsoredUpdate this.socialCountsService.registerElementsList(t) return null==t?void 0:t[0]})).catch((n=>{if((0,o.isDestroying)(this))throw n if(i&&(0,p.isHttpErrorStatus)(n))return new f.Promise((i=>{(0,m.runTask)(this,(()=>{i(this.getUpdate(e,t,!1))}),1e3)})) throw n}))}},w=(0,n.default)(_.prototype,"storeShim",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,n.default)(_.prototype,"windowService",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,n.default)(_.prototype,"socialCountsService",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,n.default)(_.prototype,"graphql",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_)})) define("feed/routes/sales-navigator",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/routing/route","rsvp","graphql-queries/queries/feed/single-update-by-backend-urn-or-nss.graphql","feed-utils/utils/error-parsing"],(function(e,t,i,n,r,o,l,a,s,d,c){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var u,p,m,f,h,g,b e.default=(u=(0,l.inject)("social-counts-service@social-counts"),p=(0,l.inject)("@linkedin/ember-restli-graphql@graphql"),m=(0,l.inject)("jet"),f=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"socialCountsService",h,this);(0,t.default)(this,"graphql",g,this);(0,t.default)(this,"jet",b,this);(0,i.default)(this,"pageKey","flagship3_feed_sales_nav_update")}model(e){if((0,o.isDestroying)(this))return const{jet:t,graphql:i}=this return(0,s.hash)({update:i.executeQuery(d.default,{urnOrNss:e.salesNavUrn,commentsCount:10,likesCount:10,moduleKey:"feed-item:desktop"},{reload:!0}).then((e=>{var t,i,n if(!(0,o.isDestroying)(this))return null==e||null===(t=e.data)||void 0===t||null===(i=t.feedDashUpdatesByBackendUrnOrNss)||void 0===i||null===(n=i.elements)||void 0===n?void 0:n[0]})).catch((e=>{var i if((0,o.isDestroying)(this))throw e let n=e.message const r=null===(i=e.errors)||void 0===i?void 0:i.map(((e,t)=>{let{message:i,extensions:n}=e return`${t+1} - Message: ${i}, Extensions: ${JSON.stringify(n)}`})).join("; ") r&&(n=`${n} | Errors: ${r}`) t.error(n,"sales-navigator-update-graphql-error",{shouldRethrow:!1}) if(!(0,o.isDestroying)(this)&&(0,c.isHttpErrorStatus)(e))return null throw e}))})}afterModel(e){var t if((0,o.isDestroying)(this))return super.afterModel(...arguments) const i=null===(t=e.update)||void 0===t?void 0:t.socialDetail i&&this.socialCountsService.registerSocialCounts(i)}},h=(0,n.default)(f.prototype,"socialCountsService",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,n.default)(f.prototype,"graphql",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,n.default)(f.prototype,"jet",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f)})) define("feed/routes/saved-items",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/utils","rsvp","feed-utils/utils/error-parsing","workflow-navigation/utils/fetch-page-counts","@ember/routing/route","@ember/object","feed-requests/utils/collection-queries","feed-pagination-state/utils/pagination-state"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var h,g,b,y,v,_,w,E,S e.default=(h=(0,l.inject)("jet"),g=(0,l.inject)("global-services@store-shim"),b=(0,l.inject)("tracking"),y=(0,l.inject)("@linkedin/ember-restli-graphql@graphql"),v=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"jet",_,this);(0,t.default)(this,"storeShim",w,this);(0,t.default)(this,"tracking",E,this);(0,t.default)(this,"graphql",S,this);(0,i.default)(this,"pageKey","flagship3_saved_items")}model(){if((0,o.isDestroying)(this))return;(0,p.set)(this,"updatePosition",1) const e={filters:this.getSavedItemsFilters(),savedItems:this.getInitialSavedItems()} e.pageCountsModel=(0,c.fetchPageCounts)(this.jet,this.graphql) return(0,s.hash)(e)}setupController(e){if((0,o.isDestroying)(this))return super.setupController(...arguments) const t=this.initialPage if(t){var i,n,r,l,s const o=null===(i=t.paging)||void 0===i?void 0:i.count,d=null===(n=t.paging)||void 0===n?void 0:n.total,c=null===(r=t.metadata)||void 0===r?void 0:r.paginationToken;(0,p.setProperties)(e,{paginationState:new f.default({total:d,start:null===(l=t.paging)||void 0===l?void 0:l.start,count:o>d?d:o,pagingSize:10,direction:"next"}),paginationToken:c}) !(null===(s=t.elements)||void 0===s?void 0:s.length)&&(0,a.isPresent)(c)&&e.onNextPage()}(0,p.setProperties)(e,{updatePosition:this.updatePosition,hasErrorLoadingItems:this.hasErrorLoadingItems,filterParam:"ALL"})}getSavedItemsFilters(){return this.storeShim.queryURL("feed/savedItemFilters")}getInitialSavedItems(){return(0,m.fetchSavedItems)(this.storeShim,{start:0,count:10,filter:"ALL"}).then((e=>{var t if((0,o.isDestroying)(this))return const i=[];(0,p.set)(this,"initialPage",e) if(null!==(t=e.elements)&&void 0!==t&&t.length){const t=[...e.elements] this._addUpdatePosition(t) i.push(...t)}return i})).catch((e=>{if((0,o.isDestroying)(this))throw e;(0,p.set)(this,"hasErrorLoadingItems",!0) this.tracking.firePageViewEvent("flagship3_saved_items_error") if((0,d.isHttpErrorStatus)(e))return p.default.create({}) throw e}))}buildRouteInfoMetadata(){return{debug:{suggestedTeams:["myItems","ceFeed","ceConversations"]}}}_addUpdatePosition(e){e.forEach((e=>{const{updatePosition:t}=this;(0,p.set)(e,"updatePosition",t);(0,p.set)(this,"updatePosition",t+1)}))}},_=(0,n.default)(v.prototype,"jet",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,n.default)(v.prototype,"storeShim",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,n.default)(v.prototype,"tracking",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,n.default)(v.prototype,"graphql",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v)})) define("feed/routes/sponsored-update",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/routing/route","@ember/service","graphql-queries/queries/feed/feed-sponsored-updates-by-sponsored-update-urn.graphql"],(function(e,t,i,n,r,o,l,a,s){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var d,c,u,p,m,f,h e.default=(d=(0,a.inject)("lix"),c=(0,a.inject)("social-counts-service@social-counts"),u=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),p=class e extends l.default{constructor(){super(...arguments);(0,t.default)(this,"lix",m,this);(0,t.default)(this,"socialCountsService",f,this);(0,t.default)(this,"graphql",h,this);(0,i.default)(this,"pageKey","flagship3_feed_ad_accurate_preview")}model(t,i){if((0,o.isDestroying)(this))return const n=this.lix.getTreatmentIsEnabled("voyager.client.staff"),r=i.to?i.to.queryParams:{},l=n&&!(null==r||!r.debug),a={urn:t.sponsoredUrn,debug:l,...e.getAllowedQueryParams(r)} return this.graphql.executeQuery(s.default,a).then((e=>{var t,i,n if((0,o.isDestroying)(this))return return{update:null==e||null===(t=e.data)||void 0===t||null===(i=t.feedDashSponsoredUpdatesBySponsoredUpdate)||void 0===i||null===(n=i.elements)||void 0===n?void 0:n[0],isDebugMode:l}}))}afterModel(e){var t if((0,o.isDestroying)(this))return super.afterModel(...arguments) const i=null===(t=e.update)||void 0===t?void 0:t.socialDetail i&&this.socialCountsService.registerSocialCounts(i)}static getAllowedQueryParams(e){return["viewContext","snapshotId"].reduce(((t,i)=>{e[i]&&(t[i]=e[i]) return t}),{})}},m=(0,n.default)(p.prototype,"lix",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,n.default)(p.prototype,"socialCountsService",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,n.default)(p.prototype,"graphql",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p)})) define("feed/routes/storyline-feed",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/routing/route","@ember/service"],(function(e,t,i,n,r,o,l){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var a,s,d e.default=(a=(0,l.inject)("router"),s=class extends o.default{constructor(){super(...arguments);(0,i.default)(this,"pageKey","flagship3_feed_storyline");(0,t.default)(this,"router",d,this)}beforeModel(e){var t,i super.beforeModel(...arguments) const n=null==e||null===(t=e.to)||void 0===t||null===(i=t.params)||void 0===i?void 0:i.storylineId n?this.replaceWithExternal("news.storyline",n):this.router.replaceWith("feed.index")}},d=(0,n.default)(s.prototype,"router",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)})) define("feed/routes/update-preview",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/routing/route","global-helpers/helpers/chunk","tracked-built-ins"],(function(e,t,i,n,r,o,l,a,s,d){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var c,u,p,m,f,h,g,b,y const v={q:"debugUpdates"} e.default=(c=(0,l.inject)("lix"),u=(0,l.inject)("social-counts-service@social-counts"),p=(0,l.inject)("global-services@store-shim"),m=(0,l.inject)("router"),f=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"lix",h,this);(0,t.default)(this,"socialCountsService",g,this);(0,t.default)(this,"storeShim",b,this);(0,t.default)(this,"router",y,this);(0,i.default)(this,"pageKey","flagship3_feed_update_preview")}beforeModel(){this.lix.getTreatmentIsEnabled("voyager.web.feed-debug-tools")||this.router.transitionTo("feed.index")}model(e){let{urns:t,page:i}=e if(!(0,o.isDestroying)(this)){if(t){var n const e=t.split("|"),r=(null==e||null===(n=e.map((e=>e.trim())))||void 0===n?void 0:n.filter((e=>e.startsWith("urn:li:activity")&&!e.includes(" "))))||[] this.urns=r.join("|") this.page=parseInt(i,10)||0 this.updateUrnPages=(0,s.chunk)([10,r]) this._updatePages=new d.TrackedArray return this.storeShim.queryURL("voyagerFeedDebugUpdate",{params:{...v,backendUrns:this.updateUrnPages[this.page]},reload:!1}).then((e=>{if(!(0,o.isDestroying)(this)){this._updatePages[this.page]=e.elements return e}}))}return[]}}afterModel(e){if(!(0,o.isDestroying)(this)){super.afterModel(...arguments) e.elements&&this.socialCountsService.registerElementsList(e.elements)}}setupController(e,t){if(!(0,o.isDestroying)(this)){super.setupController(e,t,...arguments) e._pageIndex=this.page||0 e.urns=this.urns e._updatePages=this._updatePages||new d.TrackedArray e.updateUrnPages=this.updateUrnPages||new d.TrackedArray e._affinityTagsMap={} e.updateUrnMap={} if(t.elements){e.updateClassificationScores(t.elements) e.constructUpdateUrnMap(t.elements)}}}},h=(0,n.default)(f.prototype,"lix",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,n.default)(f.prototype,"socialCountsService",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,n.default)(f.prototype,"storeShim",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,n.default)(f.prototype,"router",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f)})) define.alias("@embroider/util/services/ensure-registered","feed/services/-ensure-registered") define.alias("artdeco-hoverables/services/artdeco-hoverable","feed/services/artdeco-hoverable") define.alias("artdeco-modal/services/artdeco-modal","feed/services/artdeco-modal") define.alias("artdeco-toast/services/artdeco-toast","feed/services/artdeco-toast") define.alias("client-sensor-web/services/client-sensor","feed/services/client-sensor") define("feed/services/content-topic-feed",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/object","@ember/debug","@ember/service","@ember/utils","feed-utils/utils/constants","follows/utils/follow-tracking-base","feed-requests/update-actions","feed-requests/utils/collection-queries","voyager-web/config/environment","feed-utils/utils/client-sensor-constants","graphql-queries/queries/feed/content-topic-data-by-hashtag-urn.graphql","graphql-queries/queries/feed/content-topic-data-by-query.graphql"],(function(e,t,i,n,r,o,l,a,s,d,c,u,p,m,f,h,g,b){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var y,v,_,w,E,S,T,C,O,P,k,D,I function M(){const e={degradations:[c.DEGRADATION_TRACKING_METADATA.HASHTAG_FEED_LOAD],degradedEntityIDsToRemove:[]} return e}e.default=(y=(0,s.inject)("client-sensor-web@client-sensor"),v=(0,s.inject)("feed-tracking@feed-action-event"),_=(0,s.inject)("global-services@store-shim"),w=(0,s.inject)("@linkedin/ember-restli-graphql@graphql"),E=(0,s.inject)("tracking"),S=(0,s.inject)("lix"),T=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"clientSensor",C,this);(0,t.default)(this,"feedActionEvent",O,this);(0,t.default)(this,"storeShim",P,this);(0,t.default)(this,"graphql",k,this);(0,t.default)(this,"tracking",D,this);(0,t.default)(this,"lix",I,this)}get isDashHashtagFeedEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-dash-hashtag-feed")}get isIRPEnabled(){return"enabled-irp"===this.lix.getTreatment("voyager.web.feed-dash-hashtag-feed")}getFollowImpressionEvent(e){var t,i,n,r,o,l,a const s=(null===(t=e.topic)||void 0===t?void 0:t.recommendationTrackingId)||(null===(i=e.feedTopic)||void 0===i||null===(n=i.topic)||void 0===n?void 0:n.recommendationTrackingId),d=(null===(r=e.followAction)||void 0===r||null===(o=r.followingState)||void 0===o?void 0:o.trackingUrn)||(null===(l=e.followAction)||void 0===l||null===(a=l.followingInfo)||void 0===a?void 0:a.trackingUrn) return()=>({name:"FollowImpressionEvent",body:{displayModule:"INTEREST_FEED",entities:[{trackingId:s,followEntityUrn:d,gridPosition:{row:1,column:1}}]}})}getContentTopicDataByUrn(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.graphql.executeQuery(g.default,{hashtagUrn:e}).then((e=>{var t,i,n if(!(0,o.isDestroying)(this))return null==e||null===(t=e.data)||void 0===t||null===(i=t.feedDashContentTopicDataByHashtag)||void 0===i||null===(n=i.elements)||void 0===n?void 0:n[0]})) const t={url:`/${f.default.namespace}/feed/contentTopicData/${encodeURIComponent(e)}`} return this.storeShim.findRecord("com.linkedin.voyager.feed.ContentTopicData",e,{adapterOptions:t})}getContentTopicDataByKeywords(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1] const{storeShim:i,graphql:n}=this if(t)return n.executeQuery(b.default,{keywords:e}).then((e=>{var t,i,n if(!(0,o.isDestroying)(this))return null==e||null===(t=e.data)||void 0===t||null===(i=t.feedDashContentTopicDataByQuery)||void 0===i||null===(n=i.elements)||void 0===n?void 0:n[0]})) const r={keywords:e,q:"query"} return(0,m.getContentTopicData)(i,r).then((e=>{var t if(!(0,o.isDestroying)(this))return null==e||null===(t=e.elements)||void 0===t?void 0:t[0]}))}getUpdateCollectionByUrn(e){let{sortOrder:t,highlightedUpdateUrns:i,originTrackingId:n,paginationToken:r,paginationState:o={},count:l,start:a}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{} const s={paginationToken:r,sortOrder:t,urn:e,q:c.FeedConstants.TOPIC_FEED_FINDER_BY_URN,start:a||o.start||0,count:l||o.count||c.FeedConstants.PAGING_CONTENT_TOPIC_FEED} if(!(0,d.isEmpty)(i)){s.highlightedUpdateUrns=i s.originTrackingId=n}const u=M() if(this.isDashHashtagFeedEnabled){delete s.q return(0,m.getInterestUpdatesByUrn)({graphql:this.graphql,params:s,adapterOptions:u,isIRPEnabled:this.isIRPEnabled})}return(0,m.getInterestUpdatesV2)({store:this.storeShim,params:s,adapterOptions:u})}getUpdateCollectionByKeywords(e){let{sortOrder:t,highlightedUpdateUrns:i,originTrackingId:n,paginationToken:r,paginationState:o={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{} const l={keywords:e,paginationToken:r,sortOrder:t,start:o.start||0,count:o.count||c.FeedConstants.PAGING_CONTENT_TOPIC_FEED} this.isDashHashtagFeedEnabled||(l.q=c.FeedConstants.TOPIC_FEED_FINDER_BY_KEYWORDS) if(!(0,d.isEmpty)(i)){l.highlightedUpdateUrns=i l.originTrackingId=n}const a=M() return this.isDashHashtagFeedEnabled?(0,m.getInterestUpdatesByKeywords)({graphql:this.graphql,params:l,adapterOptions:a,isIRPEnabled:this.isIRPEnabled}):(0,m.getInterestUpdatesV2)({store:this.storeShim,params:l,adapterOptions:a})}setUpdatePositionAndAddToSet(e,t,i){let n=i this.isDashHashtagFeedEnabled||e.elements.forEach((e=>{(0,l.set)(e,"updatePosition",n++)})) t.pushObject(e) return n}toggleFollow(e){var t,i,n,r,a,s,d,c let m=arguments.length>1&&void 0!==arguments[1]&&arguments[1] const f=this.tracking,g=m?null===(t=e.followAction)||void 0===t?void 0:t.followingState:null===(i=e.followAction)||void 0===i?void 0:i.followingInfo,b=g.following this.storeShim.adapterFor("-ember-m3").ajax(...(0,p.toggleFollowWithFollowingInfoRequest)(g,"",!1,m)).then((()=>{(0,o.isDestroying)(this)||this.clientSensor.incrementMetricCounter({groupName:h.CLIENT_SENSOR_GROUP_NAME,metricName:h.HashtagFeedClientSensorMetrics.HASHTAG_TOGGLE_FOLLOW_REQUEST_SUCCESS})})).catch((e=>{if((0,o.isDestroying)(this))throw e this.clientSensor.incrementMetricCounter({groupName:h.CLIENT_SENSOR_GROUP_NAME,metricName:h.HashtagFeedClientSensorMetrics.HASHTAG_TOGGLE_FOLLOW_REQUEST_FAILED}) const{following:t}=g if(t!==b){const{followerCount:e}=g;(0,l.setProperties)(g,{followerCount:t?e-1:e+1,following:!t})}if(e&&!e.isAdapterError)throw e})) const y=m?null===(n=e.topic)||void 0===n?void 0:n.recommendationTrackingId:null===(r=e.feedTopic)||void 0===r||null===(a=r.topic)||void 0===a?void 0:a.recommendationTrackingId;(0,u.fireFollowActionEvent)(f,y,!b) const v=b?{actionCategory:"UNFOLLOW",controlName:"follow_toggle",actionType:"unfollowTopic"}:{actionCategory:"FOLLOW",controlName:"follow_toggle",actionType:"followTopic"},_={urn:m?null==e||null===(s=e.topic)||void 0===s?void 0:s.backendUrn:null==e||null===(d=e.feedTopic)||void 0===d||null===(c=d.topic)||void 0===c?void 0:c.backendUrn,trackingData:{trackingId:y}} this.feedActionEvent.fireFAE(_,v)}},C=(0,n.default)(T.prototype,"clientSensor",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,n.default)(T.prototype,"feedActionEvent",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,n.default)(T.prototype,"storeShim",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,n.default)(T.prototype,"graphql",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,n.default)(T.prototype,"tracking",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,n.default)(T.prototype,"lix",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(T.prototype,"getFollowImpressionEvent",[l.action],Object.getOwnPropertyDescriptor(T.prototype,"getFollowImpressionEvent"),T.prototype),(0,n.default)(T.prototype,"getContentTopicDataByUrn",[l.action],Object.getOwnPropertyDescriptor(T.prototype,"getContentTopicDataByUrn"),T.prototype),(0,n.default)(T.prototype,"getContentTopicDataByKeywords",[l.action],Object.getOwnPropertyDescriptor(T.prototype,"getContentTopicDataByKeywords"),T.prototype),(0,n.default)(T.prototype,"getUpdateCollectionByUrn",[l.action],Object.getOwnPropertyDescriptor(T.prototype,"getUpdateCollectionByUrn"),T.prototype),(0,n.default)(T.prototype,"getUpdateCollectionByKeywords",[l.action],Object.getOwnPropertyDescriptor(T.prototype,"getUpdateCollectionByKeywords"),T.prototype),(0,n.default)(T.prototype,"setUpdatePositionAndAddToSet",[l.action],Object.getOwnPropertyDescriptor(T.prototype,"setUpdatePositionAndAddToSet"),T.prototype),(0,n.default)(T.prototype,"toggleFollow",[l.action],Object.getOwnPropertyDescriptor(T.prototype,"toggleFollow"),T.prototype),T)})) define.alias("ember-date-service/services/date","feed/services/date") define("feed/services/drag-coordinator",["exports","ember-drag-drop/services/drag-coordinator"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=t.default})) define.alias("ember-self-focused/services/focus-manager","feed/services/focus-manager") define.alias("@linkedin/ember-restli-graphql/services/graphql","feed/services/graphql") define.alias("image-editor/services/image-editor-loader","feed/services/image-editor-loader") define.alias("@linkedin/ember-pem/services/internal-event-utils","feed/services/internal-event-utils") define.alias("@linkedin/ember-pem/services/internal-pem-tracking","feed/services/internal-pem-tracking") define.alias("ember-cli-pemberly-lix/services/lix","feed/services/lix") define.alias("ember-m3/services/m3-schema-manager","feed/services/m3-schema-manager") define.alias("ember-media-player/services/media-player","feed/services/media-player") define.alias("ember-page-title/services/page-title-list","feed/services/page-title-list") define.alias("ember-page-title/services/page-title","feed/services/page-title") define.alias("@linkedin/ember-pem/services/pem-response-metadata","feed/services/pem-response-metadata") define.alias("@linkedin/ember-pem/services/pem-tracking","feed/services/pem-tracking") define.alias("persistent-toast-manager/services/persistent-toast-manager","feed/services/persistent-toast-manager") define.alias("@linkedin/ember-qualtrics/services/qualtrics-surveys","feed/services/qualtrics-surveys") define.alias("ember-media-player/services/static-asset-loader","feed/services/static-asset-loader") define.alias("ember-cli-pemberly-m3/services/store","feed/services/store") define.alias("ember-cli-pemberly-litms/services/tag-manager","feed/services/tag-manager") define.alias("@linkedin/ember-pem/services/tracer","feed/services/tracer") define.alias("ember-cli-pemberly-litms/services/tracking-adapter-for-tag-manager","feed/services/tracking-adapter-for-tag-manager") define("feed/templates/aggregated-share",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"SjiTCpsd",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"neptune-grid two-column"],[12],[1,"\\n "],[10,0],[14,0,"core-rail update-outlet"],[14,"role","main"],[12],[1,"\\n "],[10,"section"],[14,0,"fixed-full"],[12],[1,"\\n "],[8,[39,1],null,[["@model","@isDashEnabled","@authenticatedActor","@hideCaEntryPoint","@isDetailView"],[[30,0,["model","update"]],true,[30,0,["model","authenticatedActor"]],[30,0,["hideCaEntryPoint"]],true]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"aside"],[14,0,"right-rail"],[14,"role","presentation"],[12],[1,"\\n "],[8,[39,2],null,null,[["default"],[[[[1,"\\n "],[8,[39,3],null,[["@slotSize","@zone","@pageZone"],["300x250","FEED","PAGE_ZONE_BODY_RIGHT"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]]]]],[],false,["ember-self-focused@self-focused","feed-shared@update/generic-update","sticky@sticky-container","ads@ad-banner"]]',moduleName:"feed/templates/aggregated-share.hbs",isStrictMode:!1})})) define("feed/templates/application",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"cLxa89jW",block:'[[[1,[28,[35,0],[[28,[37,1],["i18n_page_title","feed/templates/application"],null]],null]],[1,"\\n\\n"],[10,0],[14,1,"voyager-feed"],[14,0,"feed-container-theme feed-outlet"],[12],[1,"\\n "],[46,[28,[37,3],null,null],null,null,null],[1,"\\n"],[13]],[],false,["ember-page-title@page-title","t","component","-outlet"]]',moduleName:"feed/templates/application.hbs",isStrictMode:!1})})) define("feed/templates/components/draggable-object-target",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"SPtg12JD",block:'[[[41,[30,1],[[[1," "],[11,3],[24,6,"#"],[4,[38,1],[[30,0,["acceptForDrop"]]],null],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[18,2,null],[1,"\\n"]],[]]]],["@enableClicking","&default"],false,["if","fn","yield"]]',moduleName:"feed/templates/components/draggable-object-target.hbs",isStrictMode:!1})})) define("feed/templates/components/draggable-object",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"tTQYUVNv",block:'[[[41,[30,1],[[[1," "],[11,3],[24,6,"#"],[4,[38,1],[[30,0,["selectForDrag"]]],null],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[18,2,null],[1,"\\n"]],[]]]],["@enableClicking","&default"],false,["if","fn","yield"]]',moduleName:"feed/templates/components/draggable-object.hbs",isStrictMode:!1})})) define("feed/templates/components/sortable-objects",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"9VSzAGa7",block:'[[[18,1,null]],["&default"],false,["yield"]]',moduleName:"feed/templates/components/sortable-objects.hbs",isStrictMode:!1})})) define("feed/templates/error",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"PW+xq41e",block:'[[[10,"section"],[14,0,"feed-shared-error text-align-center relative"],[12],[1,"\\n "],[10,0],[14,0,"feed-shared-error__container center-both"],[12],[1,"\\n "],[8,[39,0],null,[["@headline","@message","@illustration","@actionText","@url","@mercadoSize"],[[28,[37,1],["error_page_headline_new","feed/templates/error"],null],[28,[37,1],["error_page_description_new","feed/templates/error"],null],"error-server",[28,[37,1],["i18n_go_to_feed","feed/templates/error"],null],"/feed",2]],null],[1,"\\n\\n"],[41,[30,0,["isDev"]],[[[1," "],[10,0],[14,0,"pt4 text-align-left"],[12],[1,"\\n"],[1," "],[10,"h3"],[12],[1,"\\n "],[1,[28,[35,1],["error_page_dev_message","feed/templates/error"],null]],[1,"\\n "],[13],[41,[30,0,["model","errors"]],[[[42,[28,[37,4],[[28,[37,4],[[30,0,["model","errors"]]],null]],null],null,[[[10,"h3"],[12],[1,"\\n "],[1,[30,1,["status"]]],[1,"\\n -\\n "],[1,[30,1,["title"]]],[1,"\\n "],[13],[1,"\\n "],[10,2],[12],[1,"\\n "],[1,[30,1,["detail"]]],[1,"\\n "],[13]],[1]],null]],[]],null],[41,[30,0,["model","stack"]],[[[10,2],[12],[1,"\\n "],[1,[30,0,["model","name"]]],[1,"\\n -\\n "],[1,[30,0,["model","message"]]],[1,"\\n "],[13],[1,"\\n "],[10,"pre"],[12],[1," "],[1,[30,0,["model","stack"]]],[1," "],[13]],[]],null],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"],[13]],["error"],false,["artdeco-empty-state@artdeco-empty-state","t","if","each","-track-array"]]',moduleName:"feed/templates/error.hbs",isStrictMode:!1})})) define.alias("content-analytics/templates/application","feed/templates/feed-ca") define("feed/templates/hashtag-feed",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"GxV6UCjA",block:'[[[46,[28,[37,1],null,null],null,null,null]],[],false,["component","-outlet"]]',moduleName:"feed/templates/hashtag-feed.hbs",isStrictMode:!1})})) define.alias("feed/templates/hashtag-feed/hashtag-feed-content","feed/templates/hashtag-feed/by-id") define.alias("feed/templates/hashtag-feed/hashtag-feed-content","feed/templates/hashtag-feed/by-keyword") define("feed/templates/hashtag-feed/hashtag-feed-content",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"ZeIgwMjJ",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["shouldOpenAppreciationModal"]],[[[1," "],[8,[39,2],null,[["@isOpen","@appreciationUrl","@onDismiss"],[[30,0,["shouldOpenAppreciationModal"]],[30,0,["appreciationUrl"]],[30,0,["onCloseAppreciationModal"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[39,3],null,[["@template","@class"],["sidebar-main-aside","ghost-animate-in"]],[["sidebar","main","aside"],[[[[1,"\\n "],[8,[30,1,["Sticky"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["authenticatedMemberActor"]],[[[1," "],[8,[39,4],[[24,0,"artdeco-card mb2 overflow-hidden full-width"]],[["@actor","@vieweeMemberBadges"],[[30,0,["authenticatedMemberActor"]],[30,0,["model","vieweeMemberBadges"]]]],null],[1,"\\n"]],[]],null],[41,[30,0,["model","entitiesFollowed"]],[[[1," "],[8,[39,5],[[24,0,"artdeco-card"]],[["@currentlyViewingUrn","@packages"],[[52,[30,0,["isDashContentTopicDataEnabled"]],[30,0,["model","contentTopicData","topic","backendUrn"]],[30,0,["model","contentTopicData","feedTopic","topic","backendUrn"]]],[30,0,["model","entitiesFollowed"]]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[1]],[[[1,"\\n"],[41,[30,0,["caughtErrorMarkedAsSpam"]],[[[1," "],[8,[39,6],[[24,0,"feed-hashtag-feed__no-longer-available"]],null,null],[1,"\\n"]],[]],[[[41,[30,0,["model","contentTopicData"]],[[[1," "],[8,[39,7],[[24,0,"mb2 feed-hashtag-feed__artdeco-card"]],null,[["default"],[[[[1,"\\n "],[8,[39,8],null,[["@contentTopicData","@onImpressionHandler","@isDashEnabled"],[[30,0,["model","contentTopicData"]],[30,0,["getFollowImpressionEvent"]],[30,0,["isDashContentTopicDataEnabled"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[8,[39,9],null,[["@hashtag","@onShareSuccess","@shareOrigin","@bottomBarButtonList"],[[52,[30,0,["isDashContentTopicDataEnabled"]],[30,0,["model","contentTopicData","topic","name"]],[30,0,["model","contentTopicData","feedTopic","topic","name"]]],[30,0,["onPrependRecordToFeed"]],[30,0,["shareOrigin"]],[30,0,["shareboxBottomBarButtonList"]]]],null],[1,"\\n "],[8,[39,10],[[24,0,"feed-hashtag-feed__sort-dropdown"]],[["@onSortByTop","@onSortByRecent"],[[28,[37,11],["onChangeUpdateOrder","RELEVANCE"],null],[28,[37,11],["onChangeUpdateOrder","REV_CHRON"],null]]],null],[1,"\\n"],[41,[30,0,["hasUpdates"]],[[[1," "],[8,[39,12],[[24,0,"feed-hashtag-feed__update-list"]],[["@caughtErrorLoadingUpdates","@isDashEnabled","@isFetchFewerUpdatesEnabled","@model","@onNextPage","@rumComponentId","@scrollPageKey","@showReloadFeedButtonOverride","@updateComponentName"],[[30,0,["caughtErrorLoadingUpdates"]],[30,0,["isDashEnabled"]],false,[30,0,["model","updateCollections"]],[28,[37,11],["onNextPage"],null],"render-update-list-topic",[28,[37,13],[[30,0,["pageKey"]],"_updates"],null],false,[50,"feed-shared@update/generic-update",0,null,null]]],[["default"],[[[[1,"\\n "],[8,[30,2,["update"]],null,[["@shouldTriggerUpdateAttachments","@channelId"],[true,[30,0,["channelId"]]]],null],[1,"\\n "]],[2]]]]],[1,"\\n"]],[]],[[[1," "],[8,[39,15],null,[["@illustration","@headline","@message"],["empty-waiting",[28,[37,16],["i18n_no_post_for_hashtag_headline","feed/templates/hashtag-feed/hashtag-feed-content"],null],[28,[37,16],["i18n_no_post_for_hashtag_message","feed/templates/hashtag-feed/hashtag-feed-content"],null]]],null],[1,"\\n"]],[]]]],[]]],[1," "]],[]],[[[1,"\\n "],[8,[30,3,["Sticky"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["model","storylines","elements"]],[[[1," "],[8,[39,17],[[24,0,"artdeco-card mb2"]],[["@storylines","@newsModuleHovercardId"],[[30,0,["model","storylines","elements"]],"feed-hashtag-feed-hovercard--top"]],null],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"right-rail-container"],[12],[1,"\\n "],[8,[39,18],[[24,0,"artdeco-card"]],[["@slotSize","@zone","@pageZone","@enableRefresh"],["300x250","FEED","PAGE_ZONE_BODY_RIGHT",true]],null],[1,"\\n"],[1," "],[8,[39,19],null,null,null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n"]],[]]]]]],["Sidebar","components","Aside"],false,["ember-self-focused@self-focused","if","appreciation@appreciation-modal","scaffold-layout@layout","feed@profile-rail-card","community-panel@community-panel","feed@errors/no-longer-available","artdeco-card@artdeco-card","feed@hashtag-info-card","sharing-entry@share-box-feed-entry","sort-dropdown@sort-dropdown","ember-route-action-helper@route-action","feed@update-list","concat","component","artdeco-empty-state@artdeco-empty-state","t","news-module@news-module","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"feed/templates/hashtag-feed/hashtag-feed-content.hbs",isStrictMode:!1})})) define("feed/templates/index",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"qXS1UOmq",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["renderLayer3"]],[[[41,[30,0,["isModalLMSConsent"]],[[[1," "],[8,[39,2],null,[["@data","@dismiss","@isOpen","@didConfirm","@didReject"],[[30,0,["model","lmsConsent"]],[28,[37,3],[[30,0],"isLMSConsentModalOpen",false],null],[30,0,["isLMSConsentModalOpen"]],[28,[37,4],[[30,0,["storeGDPRConsent"]],true],null],[28,[37,4],[[30,0,["storeGDPRConsent"]],false],null]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isReportWrongMentionModalOpen"]],[[[1," "],[8,[39,5],null,[["@articleUrn","@mentionedEntityUrn","@isOpen","@onDismiss"],[[30,0,["articleUrnStr"]],[30,0,["mentionedEntityStr"]],[30,0,["isReportWrongMentionModalOpen"]],[30,0,["onDismissReportWrongMentionModal"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showSkillsModal"]],[[[1," "],[8,[39,6],null,[["@onDismiss"],[[30,0,["dismissXSkillsPreferenceModal"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["shouldOpenCreateEventModal"]],[[[1," "],[8,[39,7],null,[["@context","@closeModal","@isModalOpen"],["DEEP-LINK",[28,[37,8],["onEventCreateModalDismiss"],null],[30,0,["shouldOpenCreateEventModal"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["shouldOpenAppreciationModal"]],[[[1," "],[8,[39,9],null,[["@isOpen","@appreciationUrl","@onDismiss"],[[30,0,["shouldOpenAppreciationModal"]],[30,0,["appreciationUrl"]],[30,0,["onCloseAppreciationModal"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["shouldOpenShareJobModal"]],[[[1," "],[8,[39,10],null,[["@isOpen","@dismissModal","@pageKeyPrefix"],[[30,0,["shouldOpenShareJobModal"]],[28,[37,3],[[30,0],"shouldOpenShareJobModal"],null],"flagship3_open_to_hiring"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["edgeCohortsModalType"]],[[[1," "],[8,[39,11],null,[["@displayModule","@disableBackfill","@isOpen","@onDismiss","@useCase"],["feed",[28,[37,12],[[30,0,["edgeCohortsModalType"]],"LAUNCHPAD_CURATED_FOLLOW_LIST_BRAND"],null],true,[30,0,["dismissEdgeCohortsModal"]],[30,0,["edgeCohortsModalType"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showCareersModal"]],[[[1," "],[8,[39,13],null,[["@pillarContext","@showCareersModal","@modalContext","@onDismiss"],["FEED",[30,0,["showCareersModal"]],[30,0,["modalContext"]],[30,0,["dismissCareersModal"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["model","consentExperience","showModal"]],[[[1," "],[8,[39,14],null,[["@isFuvThresholdMet","@legoTrackingToken"],[[30,0,["isConsentExperienceFuvThresholdMet"]],[30,0,["model","consentExperience","legoTrackingToken"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["hiringAction"]],[[[1," "],[8,[39,15],null,[["@hiringAction","@onDismiss","@jobId","@entryPoint"],[[30,0,["hiringAction"]],[30,0,["dismissHiringActionModal"]],[30,0,["jobId"]],"launchpad_feed"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["model","showInviteAlert"]],[[[1," "],[8,[39,16],null,[["@inviteActionFailed","@acceptInvite","@sendInvite","@miniProfile"],[[30,0,["model","inviteActionFailed"]],[30,0,["model","isAcceptInvite"]],[30,0,["model","isSendInvite"]],[30,0,["model","profile"]]]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n "],[8,[39,17],null,[["@template","@hasSidebarToggle","@aria-label"],["sidebar-main-aside",true,[28,[37,18],null,[["main","aside"],[[28,[37,19],["i18n_a11y_main","feed/templates/index"],null],[52,[30,0,["model","storylines","elements"]],[28,[37,19],["i18n_aside_linkedin_news","feed/templates/index"],null],[28,[37,19],["i18n_aside_add_to_feed","feed/templates/index"],null]]]]]]],[["sidebar","sidebarMin","main","aside"],[[[[1,"\\n "],[10,0],[14,"role","region"],[15,"aria-label",[28,[37,19],["i18n_a11y_side_bar","feed/templates/index"],null]],[12],[1,"\\n"],[41,[28,[37,20],[[30,0,["renderLayer2"]],[30,0,["model","identityModule"]]],null],[[[1," "],[8,[39,21],[[24,0,"artdeco-card overflow-hidden mb2"]],[["@model","@premiumUpsellCard"],[[30,0,["model","identityModule"]],[30,0,["model","identityModulePremiumUpsellCard"]]]],null],[1,"\\n"],[41,[30,0,["model","pagesAdminOrganization"]],[[[1," "],[8,[39,22],[[24,0,"artdeco-card overflow-hidden mb2"]],[["@organizations","@organizationCount","@isOnHashtagFeed"],[[30,0,["model","pagesAdminOrganization","elements"]],[30,0,["model","pagesAdminOrganization","paging","total"]],false]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[30,1,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,23],[[24,0,"artdeco-card mb2"]],[["@packages"],[[30,0,["model","entitiesFollowed"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[30,1,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"loading-bg"],[12],[1,"\\n "],[10,0],[14,0,"feed-profile"],[12],[1,"\\n "],[10,0],[14,0,"circle feed-circle"],[12],[13],[1,"\\n "],[10,0],[14,0,"line width120"],[12],[13],[1,"\\n "],[10,0],[14,0,"line width90"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],[1]],[[[1,"\\n"],[41,[28,[37,20],[[30,0,["renderLayer2"]],[30,0,["model","identityModule"]]],null],[[[1," "],[8,[39,21],[[24,0,"artdeco-card overflow-hidden"]],[["@model","@showActorOnly"],[[30,0,["model","identityModule"]],true]],null],[1,"\\n"]],[]],null],[1," "]],[]],[[[1,"\\n"],[41,[30,0,["isLaunchpadV2Shown"]],[[[1," "],[8,[39,24],null,null,null],[1,"\\n"]],[]],null],[1," "],[8,[39,25],null,[["@isShowPromptsEnabled","@onShareSuccess","@isPageAdmin","@showWriteArticleCta","@shareOrigin","@fixedVisibilityType","@trendingTopicPrompt","@trendingTopics","@bottomBarButtonList","@primaryEntryPointText"],[true,[30,0,["onShareSuccessCallback"]],[30,0,["isPageAdmin"]],true,[30,0,["shareOrigin"]],[30,0,["shareboxContainerVisibilityType"]],[30,0,["model","closedSharebox","trendingTopicPrompt"]],[30,0,["model","closedSharebox","trendingTopics"]],[30,0,["model","closedSharebox","shareboxMediaButtons","content"]],[30,0,["model","closedSharebox","primaryShareBoxEntryPointText"]]]],null],[1,"\\n"],[41,[30,0,["renderLayer3"]],[[[41,[30,0,["isInlineLMSConsentVisible"]],[[[1," "],[8,[39,26],null,[["@data","@class","@dismiss","@didConfirm","@didReject"],[[30,0,["model","lmsConsent"]],"artdeco-card mb2",[28,[37,3],[[30,0],"isInlineLMSConsentVisible",false],null],[28,[37,4],[[30,0,["storeGDPRConsent"]],true],null],[28,[37,4],[[30,0,["storeGDPRConsent"]],false],null]]],null],[1,"\\n"]],[]],null]],[]],null],[41,[30,0,["isEuropeanLocale"]],[[[1," "],[8,[39,27],null,[["@feedSortOrder","@isSortDropdownOpen","@onSwitchSortOrder","@onVisibilityChange"],[[30,0,["feedSortOrder"]],[30,0,["isSortDropdownOpen"]],[30,0,["onSwitchSortOrder"]],[28,[37,3],[[30,0],"isSortDropdownOpen"],null]]],null],[1,"\\n"]],[]],[[[1," "],[8,[39,28],null,[["@isSortByRecent","@isSortDropdownOpen","@onClickFeedSortDropdown","@onVisibilityChange"],[[30,0,["isSortByRecent"]],[30,0,["isSortDropdownOpen"]],[30,0,["onClickFeedSortDropdown"]],[28,[37,3],[[30,0],"isSortDropdownOpen"],null]]],null],[1,"\\n"]],[]]],[1,"\\n "],[8,[39,29],null,[["@caughtErrorLoadingUpdates","@endOfFeed","@feedSortOrder","@highlightedUpdateUrn","@isDashEnabled","@isFetchFewerUpdatesEnabled","@isPageSizeTuningEnabled","@isUpdatesViewedThresholdEnabled","@logIngraphMetric","@model","@onNextPage","@onRequestReload","@onUpdatesViewedThreshold","@saveScrollPosition","@showCommentBox","@showNupOverride","@switchToRelevanceFeed","@updateComponentName","@rootMargin"],[[30,0,["caughtErrorLoadingUpdates"]],[30,0,["endOfFeed"]],[30,0,["feedSortOrder"]],[30,0,["model","highlightedUpdateUrn"]],[30,0,["isDashEnabled"]],true,true,[30,0,["isFuvDelayLixEnabled"]],true,[30,0,["model","updateCollections"]],[28,[37,8],["onNextPage"],null],[30,0,["doReloadFeed"]],[30,0,["onUpdatesViewedThreshold"]],[30,0,["saveScrollPosition"]],[30,0,["model","showCommentBox"]],[30,0,["showNupOverride"]],[28,[37,4],[[30,0,["onSwitchSortOrder"]],[30,0,["relevantSort"]]],null],[50,"feed-shared@update/generic-update",0,null,null],[30,0,["rootMargin"]]]],[["default"],[[[[1,"\\n"],[41,[30,4,["isFirstUpdate"]],[[[41,[30,4,["isNupVisible"]],[[[1," "],[8,[39,31],null,[["@pushDown"],[[28,[37,20],[[30,0,["isSortByRecent"]],[30,0,["isEuropeanLocale"]]],null]]],null],[1,"\\n"]],[]],null]],[]],null],[1," "],[8,[30,2,["update"]],null,[["@commentSort","@shouldTriggerUpdateAttachments","@updatesPaginationPVETracker"],[[30,0,["commentSortOrder"]],true,[28,[37,8],["updatesPaginationPVETrackerOnUpdate"],null]]],null],[1,"\\n "]],[2,3,4]]]]],[1,"\\n "]],[]],[[[1,"\\n"],[41,[30,0,["renderLayer3"]],[[[1," "],[10,0],[14,1,"feed-right-rail-tooltip-outlet"],[12],[13],[1,"\\n "],[10,0],[14,0,"mb2"],[12],[1,"\\n"],[41,[30,0,["model","storylines","elements"]],[[[1," "],[8,[39,32],null,null,[["default"],[[[[1,"\\n "],[8,[39,33],null,[["@rumComponentId","@storylines","@customHovercardOutletId","@isRefreshNewsModuleEnabled","@numberOfStorylineModuleRefreshes"],["render-storylines-module-hp",[30,0,["model","storylines","elements"]],"feed-right-rail-tooltip-outlet",[30,0,["isRefreshNewsModuleEnabled"]],[30,0,["numberOfStorylineModuleRefreshes"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,0,["showFollowRecommendations"]],[[[1," "],[8,[39,32],null,null,[["default"],[[[[1,"\\n "],[8,[39,34],null,[["@customHovercardOutletId","@recommendations","@maxLength"],["feed-right-rail-tooltip-outlet",[30,0,["model","followRecommendations"]],[30,0,["numFollowRecommendationsToShow"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[41,[28,[37,20],[[30,0,["isRichRecommendedEntitiesGraphQLEnabled"]],[30,0,["model","followRecommendations","length"]]],null],[[[1," "],[8,[39,32],null,null,[["default"],[[[[1,"\\n "],[8,[39,34],null,[["@customHovercardOutletId","@recommendations","@maxLength"],["feed-right-rail-tooltip-outlet",[30,0,["model","followRecommendations"]],[30,0,["numFollowRecommendationsToShow"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[]],null]],[]]]],[]]],[1," "],[13],[1,"\\n "],[8,[30,5,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,1,"feed-right-rail-tooltip-sticky-outlet"],[12],[13],[1,"\\n "],[8,[39,35],[[24,0,"artdeco-card overflow-hidden"]],[["@slotSize","@zone","@pageZone","@enableRefresh"],["300x250","FEED","PAGE_ZONE_BODY_RIGHT",true]],null],[1,"\\n "],[8,[39,36],null,[["@disableOcclusion"],[true]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"loading-bg"],[12],[1,"\\n "],[10,0],[14,0,"rect white"],[12],[13],[1,"\\n "],[10,0],[14,0,"line-wrapper"],[12],[1,"\\n "],[10,0],[14,0,"line width110 white"],[12],[13],[1,"\\n "],[10,0],[14,0,"line width220 white"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"height20"],[12],[13],[1,"\\n "],[10,0],[14,0,"rect white"],[12],[13],[1,"\\n "],[10,0],[14,0,"line-wrapper"],[12],[1,"\\n "],[10,0],[14,0,"line width110 white"],[12],[13],[1,"\\n "],[10,0],[14,0,"line width220 white"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"height20"],[12],[13],[1,"\\n "],[10,0],[14,0,"rect white"],[12],[13],[1,"\\n "],[10,0],[14,0,"line-wrapper"],[12],[1,"\\n "],[10,0],[14,0,"line width110 white"],[12],[13],[1,"\\n "],[10,0],[14,0,"line width220 white"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "]],[5]]]]],[1,"\\n"]],[]]]]],[1,"\\n\\n"],[46,[28,[37,37],null,null],null,null,null]],["Sidebar","components","actions","properties","Aside"],false,["ember-self-focused@self-focused","if","feed@lms-consent-modal","ember-set-helper@set","fn","feed@report-wrong-mention-modal","feed@x-skills-preference-modal","events-form-modal@create-event-modal","ember-route-action-helper@route-action","appreciation@appreciation-modal","job-posting-modal@share-job/share-job-modal","discover@modals/edge-cohorts-modal","global-helpers@eq","job-seeker-actions@careers-modal-container","consent-experience@modal","hiring-opportunities@hiring-actions-container","invite-alert@invite-alert","scaffold-layout@layout","hash","t","global-helpers@and","feed@identity-module","organization-admin-pages-entrypoint@card","community-panel@community-panel","launchpad@launchpad-v2","sharing-entry@share-box-feed-entry","feed@lms-consent-form","feed@sort-toggle-dsa","feed@sort-toggle","feed@update-list","component","feed@new-update-pill","artdeco-card@artdeco-card","news-module@news-module","feed@follows-module","ads@ad-banner","global-footer@global-footer-compact","-outlet"]]',moduleName:"feed/templates/index.hbs",isStrictMode:!1})})) define("feed/templates/live-preview",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"JJ7Wf+Ck",block:'[[[10,0],[14,0,"feed-shared-accurate-preview"],[12],[1,"\\n "],[10,0],[14,0,"neptune-grid"],[12],[1,"\\n "],[10,0],[14,0,"core-rail update-outlet flex"],[12],[1,"\\n "],[10,"section"],[14,0,"fixed-full"],[12],[1,"\\n "],[8,[39,0],null,[["@hideLisa","@hideA11yMenu"],[true,true]],[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@bundle"],["lead-gen"]],[["pending","resolved","rejected"],[[[[8,[39,2],[[24,0,"mt6"]],[["@size"],["small"]],null]],[]],[[[1,"\\n"],[41,[30,0,["model","isLeadGenForm"]],[[[44,[[28,[30,1,["component"]],["lead-gen-v2/lead-gen-modal"],null]],[[[1," "],[8,[30,2],null,[["@isCampaignManagerPreview","@isOpen","@leadGenForm"],[true,true,[30,0,["model","leadGenForm"]]]],null],[1,"\\n"]],[2]]]],[]],[[[41,[30,0,["model","isLeadGenConfirmation"]],[[[44,[[28,[30,1,["component"]],["lead-gen-v2/lead-gen-gated-content"],null]],[[[1," "],[8,[30,3],null,[["@isDashEnabled","@leadGenForm","@openLinksExternally"],[true,[30,0,["model","leadGenForm"]],true]],null],[1,"\\n"]],[3]]]],[]],[[[41,[30,0,["model","update"]],[[[1," "],[8,[39,5],null,[["@model","@isAccuratePreview","@isDashEnabled","@shouldSuppressTracking"],[[30,0,["model","update"]],true,true,[28,[37,6],null,[["feed","controlInteraction","sponsored"],[true,true,true]]]]],null],[1,"\\n "]],[]],null]],[]]]],[]]],[1," "]],[1]],[[[1,"\\n "],[10,0],[14,0,"display-flex justify-center pv5"],[12],[1,"\\n "],[8,[39,7],null,[["@message","@type"],[[28,[37,8],["i18n_lead_gen_loading_error","feed/templates/live-preview"],null],"error"]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[13]],["resolved","LeadGenModal","LeadGenGatedContent"],false,["feed-components-shared@su-hide-chrome","asset-loader@asset-loader","artdeco-loader@artdeco-loader","if","let","feed-shared@update/generic-update","hash","artdeco-inline-feedback@artdeco-inline-feedback","t"]]',moduleName:"feed/templates/live-preview.hbs",isStrictMode:!1})})) define("feed/templates/loading",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"ylLu2CT/",block:'[[[8,[39,0],[[24,0,"mt9"]],[["@size"],["small"]],null]],[],false,["artdeco-loader@artdeco-loader"]]',moduleName:"feed/templates/loading.hbs",isStrictMode:!1})})) define("feed/templates/sales-navigator",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"IKWC4/8G",block:'[[[10,0],[14,0,"feed-sales-navigator"],[12],[1,"\\n "],[8,[39,0],null,[["@hideLisa","@hideA11yMenu","@rootSelector"],[true,true,".feed-container-theme"]],[["default"],[[[[1,"\\n"],[1," "],[11,0],[4,[38,1],null,[["selectors"],[[30,0,["disableSelectors"]]]]],[12],[1,"\\n "],[8,[39,2],null,[["@model","@isDashEnabled","@isDetailView","@disableActions","@hideReshare","@shouldSuppressTracking"],[[30,0,["model","update"]],true,true,true,true,[28,[37,3],null,[["feed","controlInteraction","sponsored"],[true,true,true]]]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"],[13]],[],false,["hide-chrome@hide-chrome","feed-components-shared@disable-click","feed-shared@update/generic-update","hash"]]',moduleName:"feed/templates/sales-navigator.hbs",isStrictMode:!1})})) define("feed/templates/saved-items",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"eeadoyBU",block:'[[[8,[39,0],null,[["@template"],["sidebar-main-aside"]],[["sidebar","main","aside"],[[[[1,"\\n "],[8,[30,1,["Sticky"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["model","pageCountsModel"]],[[[1," "],[8,[39,2],null,[["@pageCounts"],[[30,0,["model","pageCountsModel"]]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[1]],[[[1,"\\n "],[8,[39,3],[[24,0,"pv3 ph4 mb2"]],null,[["default"],[[[[1,"\\n "],[10,"h1"],[14,0,"t-16 t-black"],[12],[1,"\\n "],[1,[28,[35,4],["saved_items_title","feed/templates/saved-items"],null]],[1,"\\n "],[13],[1,"\\n "],[10,"h2"],[14,0,"t-sans t-14 t-black--light"],[12],[1,"\\n "],[1,[28,[35,4],["saved_items_description","feed/templates/saved-items"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"feed-shared-saved-items__pill-container pt3"],[12],[1,"\\n"],[42,[28,[37,6],[[28,[37,6],[[30,0,["model","filters","elements"]]],null]],null],null,[[[1," "],[8,[39,7],null,[["@text","@onToggle","@selected","@size","@class"],[[30,2,["text"]],[28,[37,8],[[30,0,["onFilter"]],[30,2]],null],[28,[37,9],[[30,0,["filterParam"]],[30,2,["filterParam"]]],null],3,"feed-shared-saved-items__pill mr2"]],null],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[30,0,["isLoading"]],[[[1," "],[8,[39,10],null,[["@size"],["small"]],null],[1,"\\n"]],[]],[[[41,[30,0,["model","savedItems","length"]],[[[1," "],[8,[39,11],null,[["@isDisabled","@items","@rootMargin","@onTrigger"],[[28,[37,12],[[30,0,["canInfiniteScroll"]]],null],[30,0,["model","savedItems"]],"600px",[30,0,["onNextPage"]]]],[["content"],[[[[1,"\\n"],[42,[28,[37,6],[[28,[37,6],[[30,4]],null]],null],null,[[[1," "],[8,[30,3],null,[["@index"],[[30,6]]],[["default"],[[[[1,"\\n "],[8,[39,13],null,[["@model","@removeUpdate","@occlusionEnabled"],[[30,5],[30,0,["removeUpdate"]],true]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[5,6]],null],[1," "]],[3,4]]]]],[1,"\\n"]],[]],[[[41,[30,0,["hasErrorLoadingItems"]],[[[1," "],[10,0],[14,0,"error-illustration"],[12],[13],[1,"\\n "],[10,"h1"],[14,0,"t-24 t-black t-normal text-align-center"],[12],[1,"\\n "],[1,[28,[35,4],["error_page_headline","feed/templates/saved-items"],null]],[1,"\\n "],[13],[1,"\\n "],[10,2],[14,0,"t-16 t-black--light t-normal text-align-center mt4"],[12],[1,"\\n "],[1,[28,[35,4],["error_page_description","feed/templates/saved-items"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[39,14],null,[["@filterType"],[[30,0,["filterParam"]]]],null],[1,"\\n "]],[]]]],[]]]],[]]],[1," "]],[]],[[[1,"\\n "],[8,[30,7,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,15],[[24,0,"artdeco-card overflow-hidden"]],[["@slotSize","@zone","@pageZone","@enableRefresh"],["300x250","FEED","PAGE_ZONE_BODY_RIGHT",true]],null],[1,"\\n "],[8,[39,16],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n "]],[7]]]]]],["Sidebar","pill","ItemContainer","items","savedItem","index","Aside"],false,["scaffold-layout@layout","if","workflow-navigation@workflow-navigation","artdeco-card@artdeco-card","t","each","-track-array","artdeco-pill@artdeco-pill-toggle","fn","global-helpers@eq","artdeco-loader@artdeco-loader","scaffold-finite-scroll@finite-scroll","global-helpers@not","feed-shared@update/generic-update","feed@saved-items-empty-state","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"feed/templates/saved-items.hbs",isStrictMode:!1})})) define("feed/templates/sponsored-update",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"CFN4EYJ+",block:'[[[10,0],[14,0,"feed-shared-accurate-preview"],[12],[1,"\\n "],[10,0],[14,0,"neptune-grid"],[12],[1,"\\n "],[10,0],[14,0,"core-rail update-outlet"],[12],[1,"\\n "],[10,"section"],[14,0,"fixed-full"],[12],[1,"\\n "],[8,[39,0],null,[["@hideLisa","@hideA11yMenu","@rootSelector"],[true,true,".feed-container-theme"]],[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@model","@isAccuratePreview","@isDashEnabled","@shouldSuppressTracking"],[[30,0,["model","update"]],true,true,[52,[51,[30,0,["model","isDebugMode"]]],[28,[37,3],null,[["feed","controlInteraction","sponsored"],[true,true,true]]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[13]],[],false,["feed-components-shared@su-hide-chrome","feed-shared@update/generic-update","unless","hash"]]',moduleName:"feed/templates/sponsored-update.hbs",isStrictMode:!1})})) define("feed/templates/update-preview",["exports","@ember/template-factory"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=(0,t.createTemplateFactory)({id:"gTW1LFZc",block:'[[[8,[39,0],null,[["@template"],["sidebar-main-aside"]],[["sidebar","main","aside"],[[[[1,"\\n "],[8,[30,1,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,1],[[24,0,"p3"]],null,[["default"],[[[[1,"\\n "],[10,"h1"],[14,0,"text-heading-large mb2"],[12],[1,[28,[35,2],["update-preview-tool","feed/templates/update-preview"],null]],[13],[1,"\\n "],[10,"label"],[14,0,"mb1"],[14,"for","feed-update-preview__textarea"],[12],[1,[28,[35,2],["paste_instructions","feed/templates/update-preview"],null]],[13],[1,"\\n "],[8,[39,3],[[24,0,"feed-update-preview__textarea"],[24,1,"feed-update-preview__textarea"],[16,"placeholder",[28,[37,2],["textarea_placeholder","feed/templates/update-preview"],null]],[4,[38,4],["focusout",[30,0,["processTextareaInput"]]],null],[4,[38,5],["textarea"],null]],[["@value"],[[30,0,["updateListTextInput"]]]],null],[1," "],[10,"label"],[14,"for","update-list-csv-input"],[14,0,"mb1"],[12],[1,"\\n "],[1,[28,[35,2],["csv_instructions","feed/templates/update-preview"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[39,6],[[4,[38,5],["select_file"],null],[4,[38,4],["click",[30,0,["selectFile"]]],null]],[["@size","@text","@type"],[2,[28,[37,2],["select_file","feed/templates/update-preview"],null],"primary"]],null],[1,"\\n "],[8,[39,7],[[24,"accept",".csv"],[24,0,"visually-hidden"],[16,"disabled",false],[24,1,"update-list-csv-input"],[24,"tabindex","-1"],[4,[38,4],["change",[30,0,["processUploadedFile"]]],null]],[["@type"],["file"]],null],[1,"\\n "],[10,0],[14,0,"mt2"],[12],[1,"\\n "],[8,[39,6],[[4,[38,5],["clear"],null],[4,[38,4],["click",[30,0,["clearUpdates"]]],null]],[["@size","@text","@type"],[2,[28,[37,2],["clear","feed/templates/update-preview"],null],"secondary"]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"mt2"],[12],[1,"\\n "],[8,[39,6],[[4,[38,5],["copy_link"],null],[4,[38,4],["click",[30,0,["copyLink"]]],null]],[["@size","@text","@type"],[2,[28,[37,2],["copy_link","feed/templates/update-preview"],null],"secondary"]],null],[1,"\\n "],[13],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n "],[10,"h1"],[14,0,"text-heading-large mb2"],[12],[1,[28,[35,2],["select_affinities","feed/templates/update-preview"],null]],[13],[1,"\\n "],[10,0],[14,0,"mt2"],[12],[1,"\\n "],[8,[39,8],[[24,0,"feed-update-preview__toggle"],[24,1,"feed-update-preview__political-toggle"],[4,[38,5],["political_classifier"],null]],[["@size","@toggled","@onToggle","@labelText"],["24dp",[30,0,["_politicalClassifierSwitch"]],[30,0,["switchPoliticalClassifier"]],[28,[37,2],["political_content","feed/templates/update-preview"],null]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"mt2"],[12],[1,"\\n "],[8,[39,8],[[24,0,"feed-update-preview__toggle"],[24,1,"feed-update-preview__post-intent-toggle"],[4,[38,5],["post_intent_classifier"],null]],[["@size","@toggled","@onToggle","@labelText"],["24dp",[30,0,["_postIntentClassifierSwitch"]],[30,0,["switchPostIntentClassifier"]],[28,[37,2],["post_intent","feed/templates/update-preview"],null]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"mt2"],[12],[1,"\\n "],[8,[39,8],[[24,0,"feed-update-preview__toggle"],[24,1,"feed-update-preview__gold-toggle"],[4,[38,5],["gold_classifier"],null]],[["@size","@toggled","@onToggle","@labelText"],["24dp",[30,0,["_goldClassifierSwitch"]],[30,0,["switchGoldClassifier"]],[28,[37,2],["gold_content","feed/templates/update-preview"],null]]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"mt2"],[12],[1,"\\n "],[8,[39,8],[[24,0,"feed-update-preview__toggle"],[24,1,"feed-update-preview__editorial-storyline-toggle"],[4,[38,5],["sommelier_classifier"],null]],[["@size","@toggled","@onToggle","@labelText"],["24dp",[30,0,["_sommelierClassifierSwitch"]],[30,0,["switchSommelierClassifier"]],[28,[37,2],["editorial_storyline_content","feed/templates/update-preview"],null]]],null],[1,"\\n "],[13],[1,"\\n "],[10,"label"],[14,0,"mb1"],[12],[1,"\\n "],[1,[28,[35,2],["content_ai_classifier_desc","feed/templates/update-preview"],null]],[1,"\\n "],[13],[1,"\\n\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]],[[[1,"\\n"],[41,[30,0,["isLoading"]],[[[1," "],[8,[39,10],null,null,null],[1,"\\n"]],[]],[[[41,[30,0,["updatesToRender","length"]],[[[41,[28,[37,11],[[30,0,["title"]],[30,0,["meta"]],[30,0,["description"]]],null],[[[1," "],[8,[39,1],[[24,0,"ph3 pt2 pb1 mb3"]],null,[["default"],[[[[1,"\\n"],[41,[30,0,["title"]],[[[1," "],[10,0],[14,0,"mb2"],[12],[1,"\\n "],[10,1],[14,0,"text-body-medium t-black t-bold"],[12],[1,"\\n "],[1,[28,[35,2],["update_title","feed/templates/update-preview"],null]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"text-body-small t-black--light"],[12],[1,"\\n "],[1,[30,0,["title"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["meta"]],[[[1," "],[10,0],[14,0,"mb2"],[12],[1,"\\n "],[10,1],[14,0,"text-body-medium t-black t-bold"],[12],[1,"\\n "],[1,[28,[35,2],["update_meta","feed/templates/update-preview"],null]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"text-body-small t-black--light"],[12],[1,"\\n "],[1,[30,0,["meta"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["description"]],[[[1," "],[10,0],[14,0,"mb2"],[12],[1,"\\n "],[10,1],[14,0,"text-body-medium t-black t-bold"],[12],[1,"\\n "],[1,[28,[35,2],["update_description","feed/templates/update-preview"],null]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"text-body-small t-black--light"],[12],[1,"\\n "],[1,[30,0,["description"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n"]],[]],null],[42,[28,[37,13],[[28,[37,13],[[30,0,["currentUpdateUrnsPage"]]],null]],null],null,[[[44,[[28,[37,15],[[30,0,["updateUrnMap"]],[30,2]],null]],[[[41,[30,4],[[[1," "],[10,0],[14,0,"display-flex justify-space-between"],[12],[1,"\\n "],[10,"h4"],[14,0,"text-body-xsmall t-black--light mb1"],[15,"data-urn-header",[30,4,["updateV2","updateMetadata","urn"]]],[12],[1,"\\n "],[1,[30,4,["updateV2","updateMetadata","urn"]]],[1,"\\n "],[13],[1,"\\n "],[10,"h4"],[14,0,"text-body-xsmall t-black--light mb1"],[12],[1,"\\n "],[1,[28,[35,16],[[30,3],[30,0,["pageStartIndex"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["_politicalClassifierSwitch"]],[[[41,[28,[37,15],[[30,0,["_affinityTagsMap"]],[28,[37,17],[[30,4,["updateV2","updateMetadata","urn"]],".PoliticalClassifier.label"],null]],null],[[[1," "],[10,0],[14,0,"mb1"],[12],[1,"\\n "],[1,[28,[35,18],["INTEREST"],[["size","iconStyle"],["small","creation"]]]],[1,"\\n "],[10,1],[14,0,"text-body-small-bold"],[12],[1,"\\n "],[1,[28,[35,15],[[30,0,["_affinityTagsMap"]],[28,[37,17],[[30,4,["updateV2","updateMetadata","urn"]],".PoliticalClassifier.label"],null]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,0,["_postIntentClassifierSwitch"]],[[[41,[28,[37,15],[[30,0,["_affinityTagsMap"]],[28,[37,17],[[30,4,["updateV2","updateMetadata","urn"]],".PostIntentClassifier.label"],null]],null],[[[1," "],[10,0],[14,0,"mb1"],[12],[1,"\\n "],[1,[28,[35,18],["MAYBE"],[["size","iconStyle"],["small","creation"]]]],[1,"\\n "],[10,1],[14,0,"text-body-small-bold"],[12],[1,"\\n "],[1,[28,[35,2],["post_intent","feed/templates/update-preview"],null]],[1,"\\n :\\n "],[1,[28,[35,15],[[30,0,["_affinityTagsMap"]],[28,[37,17],[[30,4,["updateV2","updateMetadata","urn"]],".PostIntentClassifier.label"],null]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,0,["_goldClassifierSwitch"]],[[[41,[28,[37,15],[[30,0,["_affinityTagsMap"]],[28,[37,17],[[30,4,["updateV2","updateMetadata","urn"]],".GoldClassifier.label"],null]],null],[[[1," "],[10,0],[14,0,"mb1"],[12],[1,"\\n "],[1,[28,[35,18],["INTEREST"],[["size","iconStyle"],["small","creation"]]]],[1,"\\n "],[10,1],[14,0,"text-body-small-bold"],[12],[1,"\\n "],[1,[28,[35,15],[[30,0,["_affinityTagsMap"]],[28,[37,17],[[30,4,["updateV2","updateMetadata","urn"]],".GoldClassifier.label"],null]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,0,["_sommelierClassifierSwitch"]],[[[41,[28,[37,15],[[30,0,["_affinityTagsMap"]],[28,[37,17],[[30,4,["updateV2","updateMetadata","urn"]],".SommelierClassifier.label"],null]],null],[[[1," "],[10,0],[14,0,"mb1"],[12],[1,"\\n "],[1,[28,[35,18],["INTEREST"],[["size","iconStyle"],["small","creation"]]]],[1,"\\n "],[10,1],[14,0,"text-body-small-bold"],[12],[1,"\\n "],[1,[28,[35,2],["editorial_storyline_content","feed/templates/update-preview"],null]],[1,"\\n :\\n "],[1,[28,[35,15],[[30,0,["_affinityTagsMap"]],[28,[37,17],[[30,4,["updateV2","updateMetadata","urn"]],".SommelierClassifier.label"],null]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n "],[8,[39,19],null,[["@model","@occlusionEnabled"],[[30,4,["updateV2"]],true]],null],[1,"\\n "],[10,"br"],[12],[13],[1,"\\n"]],[]],null]],[4]]]],[2,3]],null]],[]],[[[1," "],[8,[39,20],null,[["@headline","@illustration","@mercadoSize","@message"],[[28,[37,2],["empty_headline","feed/templates/update-preview"],null],"empty-waiting",1,[28,[37,2],["empty_message","feed/templates/update-preview"],null]]],null],[1,"\\n "]],[]]]],[]]],[1," "]],[]],[[[1,"\\n "],[8,[30,5,["Sticky"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["updatesToRender","length"]],[[[1," "],[8,[39,1],[[24,0,"p3"]],null,[["default"],[[[[1,"\\n"],[41,[30,0,["isLoading"]],[[[1," "],[8,[39,10],null,[["@size"],["small"]],null],[1,"\\n"]],[]],[[[1," "],[10,1],[14,0,"text-heading-medium"],[12],[1,[28,[35,2],["scroll_to_update","feed/templates/update-preview"],null]],[13],[1,"\\n "],[10,"ul"],[14,0,"feed-update-preview__list"],[14,4,"1"],[12],[1,"\\n"],[42,[28,[37,13],[[28,[37,13],[[30,0,["currentUpdateUrnsPage"]]],null]],null],null,[[[44,[[28,[37,15],[[30,0,["updateUrnMap"]],[30,6]],null]],[[[41,[30,8],[[[1," "],[10,"li"],[14,0,"text-body-small mv1"],[12],[1,"\\n "],[10,0],[14,0,"display-flex mb1"],[12],[1,"\\n "],[10,"h4"],[14,0,"text-body-xsmall t-black--light mr1"],[12],[1,"\\n "],[1,[28,[35,16],[[30,7],[30,0,["pageStartIndex"]]],null]],[1,"\\n "],[13],[1,"\\n "],[11,"button"],[24,0,"hoverable-link-text link text-body-small"],[24,4,"button"],[4,[38,5],["scroll_to"],null],[4,[38,4],["click",[28,[37,21],[[30,0,["scrollToUpdate"]],[30,8,["updateV2","updateMetadata","urn"]]],null]],null],[12],[1,"\\n "],[1,[30,8,["updateV2","updateMetadata","urn"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"li"],[14,0,"text-body-small mv1"],[12],[1,"\\n "],[10,0],[14,0,"display-flex mb1"],[12],[1,"\\n "],[10,"h4"],[14,0,"text-body-xsmall t-black--light mr1"],[12],[1,"\\n "],[1,[28,[35,16],[[30,7],[30,0,["pageStartIndex"]]],null]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"text-body-small feed-update-preview__invalid-update-urn"],[12],[1,[30,6]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]]],[8]]]],[6,7]],null],[1," "],[13],[1,"\\n"]],[]]],[1," "],[8,[39,22],null,[["@currentPage","@hideControls","@hideOnSinglePage","@hidePrevNextBtnText","@isNextDisabled","@isPreviousDisabled","@numberPagination","@onMoveToNext","@onMoveToPage","@onMoveToPrevious","@pages"],[[30,0,["pageNumber"]],false,true,true,[28,[37,23],[[30,0,["hasNextPage"]]],null],[28,[37,23],[[30,0,["hasPreviousPage"]]],null],true,[30,0,["fetchNextPage"]],[30,0,["selectPage"]],[30,0,["fetchPreviousPage"]],[30,0,["updateUrnPages","length"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[5]]]]]],["Sidebar","updateUrn","updateIndex","debugUpdate","Aside","updateUrn","updateIndex","debugUpdate"],false,["scaffold-layout@layout","artdeco-card@artdeco-card","t","textarea","on","ember-cli-pemberly-tracking@track-interaction","artdeco-button@artdeco-button","input","artdeco-toggle@artdeco-toggle","if","artdeco-loader@artdeco-loader","global-helpers@or","each","-track-array","let","get","global-helpers@sum","concat","reactions@reactions-icon","feed-shared@update/generic-update","artdeco-empty-state@artdeco-empty-state","fn","artdeco-pagination@artdeco-pagination","global-helpers@not"]]',moduleName:"feed/templates/update-preview.hbs",isStrictMode:!1})})) define.alias("ember-async-data/tracked-async-data","feed/tracked-async-data") define("feed/utils/asset-utils",["exports","ember-cloud-filepicker/utils/asset-utils"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) var i={} Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}) Object.keys(t).forEach((function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(i,n)||n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))}))})) define("feed/utils/attachments",["exports","global-utils/utils/is-browser"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.feedEndpointRequestJSONBlob=function(e,i){const n=JSON.stringify(e) return t.default?i.createBlob([n],{type:"application/json"}):null} e.updatesInViewport=function(e){const i=function(){let e=[] if(t.default){e=Array.from(document.querySelectorAll(".feed-shared-update-v2")).filter((e=>{const t=e.getBoundingClientRect() return t.top+t.height>0&&t.tope.getAttribute("data-urn")))}return e}() let n="Updates In View Urns: " i.length&&i.forEach((e=>{n=n.concat(`\n${e}`)})) return t.default?e.createBlob([n],{type:"application/octet-stream"}):null}})) define.alias("ember-highcharts/utils/build-options","feed/utils/build-options") define("feed/utils/constants",["exports"],(function(e){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.controlNameForFilterFeedTypeUrn=void 0 e.controlNameForFilterFeedTypeUrn=Object.freeze({"urn:li:fs_filterFeedType:MAIN_FEED":"allposts_pill_click"})})) define("feed/utils/file-error",["exports","ember-cloud-filepicker/utils/file-error"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) var i={} Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}) Object.keys(t).forEach((function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(i,n)||n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))}))})) define("feed/utils/file-result",["exports","ember-cloud-filepicker/utils/file-result"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) var i={} Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}) Object.keys(t).forEach((function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(i,n)||n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))}))})) define("feed/utils/following-filters",["exports"],(function(e){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.FollowingFilters=void 0 e.FollowingFilters=[{type:"connection",tracking:"filter_connections"},{type:"member",tracking:"filter_out_of_network"},{type:"company",tracking:"filter_companies"},{type:"channel",tracking:"filter_channel"}]})) define("feed/utils/get-app-config",["exports","ember-cloud-filepicker/utils/get-app-config"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) var i={} Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}) Object.keys(t).forEach((function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(i,n)||n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))}))})) define.alias("ember-cli-artdeco-tabs/utils/get-box-model-width","feed/utils/get-box-model-width") define.alias("client-sensor-web/utils/helpers","feed/utils/helpers") define("feed/utils/live-preview-update-generator",["exports","rsvp"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=function(e,n){e.unloadAll() try{return"leadgenform"===n.updateType?function(e,t){const{callToActionLabel:n,sponsor:r,formData:o}=t,l="voyagerFeedDashLeadGenForm" return e.queryURL(`${l}?action=liveLeadGen`,{method:"POST",reload:!0,params:{cta:n,companyId:r,form:i(o)}})}(e,n):(0,t.resolve)({update:null})}catch(e){console.error("Could not create an update model from the payload",e) throw e}} function i(e){var t return{...e,questions:null==e||null===(t=e.questions)||void 0===t?void 0:t.map((e=>{var t const i=e.typeSpecificQuestionDetails["com.linkedin.voyager.feed.revenue.PreviewTextQuestionDetails"],n=e.typeSpecificQuestionDetails["com.linkedin.voyager.feed.revenue.PreviewMultipleChoiceQuestionDetails"],r={...i&&{previewTextQuestionDetails:{...i,defaultResponse:null===(t=i.defaultResponse)||void 0===t?void 0:t.string}},...n&&{previewMultipleChoiceQuestionDetails:{options:n.options.map((e=>{var t return{text:null===(t=e["com.linkedin.voyager.feed.revenue.PreviewTextOptionQuestion"])||void 0===t?void 0:t.text}}))}}} return{...e,typeSpecificQuestionDetailsUnion:r}}))}}})) define.alias("@linkedin/hue-web-artdeco-migration-runtime/utils/mapping-data","feed/utils/mapping-data") define("feed/utils/mime-type-utils",["exports","ember-cloud-filepicker/utils/mime-type-utils"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) var i={} Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}) Object.keys(t).forEach((function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(i,n)||n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))}))})) define("feed/utils/run-loop",["exports","@ember/runloop","rsvp"],(function(e,t,i){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.afterRender=function(){return new i.Promise((e=>{(0,t.scheduleOnce)("afterRender",(()=>{e()}))}))}})) define("feed/utils/uuid-generator",["exports","ember-uuid/utils/uuid-generator"],(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,"parse",{enumerable:!0,get:function(){return t.parse}}) Object.defineProperty(e,"unparse",{enumerable:!0,get:function(){return t.unparse}}) Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return t.v1}}) Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return t.v4}})})) define("feed/utils/validation-helpers",["exports","ember-cloud-filepicker/utils/validation-helpers"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) var i={} Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}) Object.keys(t).forEach((function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(i,n)||n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))}))})) define.alias("ember-vector-images/utils/vector-url","feed/utils/vector-url") define("feed/utils/window-helpers",["exports","ember-cloud-filepicker/utils/window-helpers"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) var i={} Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}) Object.keys(t).forEach((function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(i,n)||n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))}))})) //# sourceMappingURL=engine.map