define.alias("@glimmer/component/-private/ember-component-manager","feed-shared/component-managers/glimmer")
define("feed-shared/components/-dynamic-element-alt",["exports","@glimmer/component"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class n extends t.default{}e.default=n}))
define("feed-shared/components/-dynamic-element",["exports","@glimmer/component"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class n extends t.default{}e.default=n}))
define("feed-shared/components/aggregated-content",["exports","@ember/template-factory","@ember/component","feed-utils/utils/update-content-union-util","@ember/utils","@glimmer/component","feed-shared/components/render-models/update-v2","@ember/helper","feed-utils/helpers/render-model-path","ember-cli-pemberly-tracking/modifiers/track-impression"],(function(e,t,n,o,i,a,r,s,l,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const c="CARDS",u="LIST",p="CARDS_WITHOUT_CONTENT"
class m extends a.default{get cardType(){var e
return null===(e=this.args.model)||void 0===e?void 0:e.type}get isCardLayout(){return this.cardType===c}get isCardWithoutContentLayout(){return this.cardType===p}get isListLayout(){return this.cardType===u}get cardClasses(){return this.isCardLayout||this.isCardWithoutContentLayout?"feed-shared-aggregated-content__card mv2 mh4":"feed-shared-aggregated-content__list-item"}get lastComponent(){var e
if(this.args.isDashEnabled){var t
return(0,o.default)(null===(t=this.args.model)||void 0===t?void 0:t.lastComponent)}return null===(e=this.args.model)||void 0===e?void 0:e.lastComponent}get isLastComponentButton(){const{lastComponent:e}=this
return"button"===(0,l.getComponentType)(e)}get lastComponentClasses(){return this.isLastComponentButton?"artdeco-button artdeco-button--tertiary artdeco-button--fluid feed-shared-aggregated-content__button":""}get updatesToDisplay(){var e,t
const n=null===(e=this.args.model)||void 0===e?void 0:e.visibleCount,o=(null===(t=this.args.model)||void 0===t?void 0:t.updates)??[]
return(0,i.isPresent)(n)?o.slice(0,n):o}}e.default=m;(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"dGlgQBN3",block:'[[[1,"\\n    "],[11,0],[16,0,[29,["feed-shared-aggregated-content full-width\\n        ",[52,[51,[30,0,["isLastComponentButton"]]],"pb2"]]]],[17,1],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["updatesToDisplay"]]],null]],null],null,[[[1,"        "],[10,0],[15,0,[30,0,["cardClasses"]]],[12],[1,"\\n          "],[8,[32,0],[[24,0,"feed-shared-update-v2--aggregated"]],[["@isWrapped","@update","@updatePosition","@isDashEnabled"],[true,[30,2],[30,3],[30,4]]],[["default"],[[[[1,"\\n            "],[11,0],[24,0,"fie-impression-container"],[4,[32,1],null,[["registerOnImpression","thresholdMillisecondsInViewport","thresholdPercentageInViewport","routeName","currentRoute"],[[30,7,["onTrackImpression"]],0,50,[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n              "],[8,[30,5,["controlMenu"]],null,null,null],[1,"\\n              "],[8,[30,5,["header"]],null,null,null],[1,"\\n              "],[8,[30,5,["actor"]],null,null,null],[1,"\\n\\n"],[41,[30,5,["commentary"]],[[[1,"                "],[8,[30,5,["inlineShowMoreText"]],null,[["@class","@isExpanded"],["feed-shared-update-v2__description",[30,8]]],[["default"],[[[[1,"\\n                  "],[8,[30,5,["commentary"]],null,null,null],[1,"\\n                "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,0,["isCardWithoutContentLayout"]]],[[[41,[30,7,["hasContent"]],[[[1,"                  "],[8,[30,5,["content"]],null,[["@isAggregatedContent","@class"],[true,"feed-shared-aggregated-content__content"]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,7,["hasSocialDetail"]],[[[1,"                "],[8,[30,5,["socialCounts"]],null,null,null],[1,"\\n                "],[8,[30,5,["likersModal"]],null,null,null],[1,"\\n                "],[8,[30,5,["socialActions"]],null,null,[["default"],[[[[1,"\\n                  "],[8,[30,9,["reactButton"]],null,null,null],[1,"\\n                  "],[8,[30,9,["commentButton"]],null,null,null],[1,"\\n"],[41,[30,10,["showReshare"]],[[[1,"                    "],[8,[30,9,["reshareButton"]],null,null,null],[1,"\\n"]],[]],null],[41,[30,10,["showCommentToggle"]],[[[1,"                    "],[8,[30,9,["commentToggle"]],null,null,null],[1,"\\n"]],[]],null],[1,"                "]],[9,10]]]]],[1,"\\n"]],[]],null],[1,"            "],[13],[1,"\\n"],[41,[30,7,["hasSocialDetail"]],[[[1,"              "],[10,0],[15,0,[28,[32,3],["feed-shared-update-v2__comments-container display-flex ",[52,[30,7,["sortCommentsByRelevance"]],"flex-column-reverse","flex-column"]],null]],[12],[1,"\\n"],[41,[30,7,["isCommentingDisabled"]],[[[1,"                  "],[8,[30,5,["disabledCommentsBlock"]],null,null,null],[1,"\\n"]],[]],null],[1,"              "],[13],[1,"\\n"]],[]],null],[1,"          "]],[5,6,7]]]]],[1,"\\n        "],[13],[1,"\\n"]],[2]],null],[1,"\\n"],[44,[[50,[28,[32,4],[[30,0],[28,[32,5],[[30,0,["lastComponent"]]],null]],null],0,null,null]],[[[41,[30,11],[[[1,"          "],[8,[30,11],[[16,0,[30,0,["lastComponentClasses"]]]],[["@model","@updateTrackingObj","@isShowMoreButton","@isDashEnabled"],[[30,0,["lastComponent"]],[30,12],[30,0,["isLastComponentButton"]],[30,4]]],null],[1,"\\n"]],[]],null]],[11]]],[1,"    "],[13],[1,"\\n  "]],["&attrs","update","@updatePosition","@isDashEnabled","components","actions","properties","@isDetailView","saComponents","saProperties","LastComponent","@updateTrackingObj"],false,["unless","each","-track-array","-get-dynamic-var","if","let","component"]]',moduleName:"feed-shared/components/aggregated-content.gjs",scope:()=>[r.default,d.default,s.get,s.concat,l.resolveFeedComponent,l.default],isStrictMode:!0}),m)}))
define.alias("helpcenter-in-product-ember/components/ai-search-discovery","feed-shared/components/ai-search-discovery")
define.alias("helpcenter-in-product-ember/components/ai-summary","feed-shared/components/ai-summary")
define.alias("helpcenter-in-product-ember/components/announcement-list-view","feed-shared/components/announcement-list-view")
define.alias("helpcenter-in-product-ember/components/announcement-view","feed-shared/components/announcement-view")
define.alias("artdeco-button/components/artdeco-button","feed-shared/components/artdeco-button")
define.alias("artdeco-datepicker/components/artdeco-calendar","feed-shared/components/artdeco-calendar")
define.alias("artdeco-card/components/artdeco-card-image","feed-shared/components/artdeco-card-image")
define.alias("artdeco-card/components/artdeco-card","feed-shared/components/artdeco-card")
define.alias("artdeco-carousel/components/artdeco-carousel-item","feed-shared/components/artdeco-carousel-item")
define.alias("artdeco-carousel/components/artdeco-carousel-slider","feed-shared/components/artdeco-carousel-slider")
define.alias("artdeco-carousel/components/artdeco-carousel-title","feed-shared/components/artdeco-carousel-title")
define.alias("artdeco-carousel/components/artdeco-carousel","feed-shared/components/artdeco-carousel")
define.alias("artdeco-completeness-meter-linear/components/artdeco-completeness-meter-linear","feed-shared/components/artdeco-completeness-meter-linear")
define.alias("artdeco-modal/components/artdeco-confirmation-dialog","feed-shared/components/artdeco-confirmation-dialog")
define.alias("artdeco-datepicker/components/artdeco-datepicker-embedded-cal","feed-shared/components/artdeco-datepicker-embedded-cal")
define.alias("artdeco-datepicker/components/artdeco-datepicker","feed-shared/components/artdeco-datepicker")
define.alias("artdeco-datepicker/components/artdeco-daterange-embedded-cal","feed-shared/components/artdeco-daterange-embedded-cal")
define.alias("artdeco-datepicker/components/artdeco-daterange","feed-shared/components/artdeco-daterange")
define.alias("artdeco-dropdown/components/artdeco-dropdown-content","feed-shared/components/artdeco-dropdown-content")
define.alias("artdeco-dropdown/components/artdeco-dropdown-header","feed-shared/components/artdeco-dropdown-header")
define.alias("artdeco-dropdown/components/artdeco-dropdown-item","feed-shared/components/artdeco-dropdown-item")
define.alias("artdeco-dropdown/components/artdeco-dropdown-trigger","feed-shared/components/artdeco-dropdown-trigger")
define.alias("artdeco-dropdown/components/artdeco-dropdown","feed-shared/components/artdeco-dropdown")
define.alias("artdeco-empty-state/components/artdeco-empty-state","feed-shared/components/artdeco-empty-state")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-badge","feed-shared/components/artdeco-entity-lockup-badge")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-caption","feed-shared/components/artdeco-entity-lockup-caption")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-content","feed-shared/components/artdeco-entity-lockup-content")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-image","feed-shared/components/artdeco-entity-lockup-image")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-metadata","feed-shared/components/artdeco-entity-lockup-metadata")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-subtitle","feed-shared/components/artdeco-entity-lockup-subtitle")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-title","feed-shared/components/artdeco-entity-lockup-title")
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup","feed-shared/components/artdeco-entity-lockup")
define.alias("artdeco-entity-pile/components/artdeco-entity-pile","feed-shared/components/artdeco-entity-pile")
define.alias("artdeco-hoverables/components/artdeco-hoverable-content","feed-shared/components/artdeco-hoverable-content")
define.alias("artdeco-hoverables/components/artdeco-hoverable-trigger","feed-shared/components/artdeco-hoverable-trigger")
define.alias("artdeco-inline-feedback/components/artdeco-inline-feedback","feed-shared/components/artdeco-inline-feedback")
define.alias("artdeco-loader/components/artdeco-loader","feed-shared/components/artdeco-loader")
define.alias("artdeco-modal/components/container","feed-shared/components/artdeco-modal-container")
define.alias("artdeco-modal/components/artdeco-modal-content","feed-shared/components/artdeco-modal-content")
define.alias("artdeco-modal/components/artdeco-modal-footer","feed-shared/components/artdeco-modal-footer")
define.alias("artdeco-modal/components/artdeco-modal-header","feed-shared/components/artdeco-modal-header")
define.alias("artdeco-modal/components/artdeco-modal","feed-shared/components/artdeco-modal")
define.alias("artdeco-notification-badge/components/artdeco-notification-badge","feed-shared/components/artdeco-notification-badge")
define.alias("artdeco-pagination/components/artdeco-pagination-ellipsis","feed-shared/components/artdeco-pagination-ellipsis")
define.alias("artdeco-pagination/components/artdeco-pagination-indicator","feed-shared/components/artdeco-pagination-indicator")
define.alias("artdeco-pagination/components/artdeco-pagination","feed-shared/components/artdeco-pagination")
define.alias("artdeco-pill/components/artdeco-pill-choice-group","feed-shared/components/artdeco-pill-choice-group")
define.alias("artdeco-pill/components/artdeco-pill-choice","feed-shared/components/artdeco-pill-choice")
define.alias("artdeco-pill/components/artdeco-pill-dismiss","feed-shared/components/artdeco-pill-dismiss")
define.alias("artdeco-pill/components/artdeco-pill-input","feed-shared/components/artdeco-pill-input")
define.alias("artdeco-pill/components/artdeco-pill-link","feed-shared/components/artdeco-pill-link")
define.alias("artdeco-pill/components/artdeco-pill-toggle","feed-shared/components/artdeco-pill-toggle")
define.alias("artdeco-slider/components/artdeco-slider","feed-shared/components/artdeco-slider")
define.alias("ember-cli-artdeco-tabs/components/artdeco-spotlight-tab","feed-shared/components/artdeco-spotlight-tab")
define.alias("ember-cli-artdeco-tabs/components/artdeco-spotlight-tablist","feed-shared/components/artdeco-spotlight-tablist")
define.alias("ember-cli-artdeco-tabs/components/artdeco-tab","feed-shared/components/artdeco-tab")
define.alias("ember-cli-artdeco-tabs/components/artdeco-tablist","feed-shared/components/artdeco-tablist")
define.alias("ember-cli-artdeco-tabs/components/artdeco-tabpanel","feed-shared/components/artdeco-tabpanel")
define.alias("ember-cli-artdeco-tabs/components/artdeco-tabs","feed-shared/components/artdeco-tabs")
define.alias("artdeco-text-input/components/artdeco-text-input-multi","feed-shared/components/artdeco-text-input-multi")
define.alias("artdeco-text-input/components/artdeco-text-input-single","feed-shared/components/artdeco-text-input-single")
define.alias("artdeco-text-input/components/artdeco-text-input","feed-shared/components/artdeco-text-input")
define.alias("artdeco-toast/components/artdeco-toast-item","feed-shared/components/artdeco-toast-item")
define.alias("artdeco-toast/components/artdeco-toasts","feed-shared/components/artdeco-toasts")
define.alias("artdeco-toggle/components/artdeco-toggle","feed-shared/components/artdeco-toggle")
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-input","feed-shared/components/artdeco-typeahead-input")
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-result","feed-shared/components/artdeco-typeahead-result")
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-results-list","feed-shared/components/artdeco-typeahead-results-list")
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead","feed-shared/components/artdeco-typeahead")
define.alias("helpcenter-in-product-ember/components/article-link","feed-shared/components/article-link")
define.alias("helpcenter-in-product-ember/components/article-view","feed-shared/components/article-view")
define.alias("ember-semaphore/components/block-profile","feed-shared/components/block-profile")
define("feed-shared/components/carousel",["exports","@ember/template-factory","@babel/runtime/helpers/esm/defineProperty","@ember/component","update-components/components/carousel-base","artdeco-carousel/components/artdeco-carousel","global-helpers/helpers/not","feed-shared/modifiers/carousel-focus-handler","global-helpers/helpers/and","update-components/helpers/carousel-render-model-path","update-components/helpers/get-carousel-content-from-slide","feed-utils/helpers/update-component-union","global-helpers/helpers/sum","feed-shared/components/render-models/update-v2","@ember/helper","feed-utils/helpers/detail-page-info","artdeco-button/components/artdeco-button","ember-cli-pemberly-i18n/helpers/t","@ember/modifier","ember-engines/components/link-to-external","global-helpers/helpers/eq","global-helpers/helpers/includes","ember-cli-pemberly-tracking/modifiers/track-impression","ember-cli-pemberly-tracking/modifiers/rum-render-event","@ember/object/internals"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h,g,f,b,v,y,C,T,k,S,O){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class w extends i.default{constructor(){super(...arguments);(0,n.default)(this,"rumComponentId","feed-shared-carousel")}get elementId(){return this.args.elementId||(0,O.guidFor)(this)}}e.default=w;(0,o.setComponentTemplate)((0,t.createTemplateFactory)({id:"JatcFv+L",block:'[[[1,"\\n"],[1,"    "],[11,0],[16,0,[29,["feed-shared-carousel\\n        ",[52,[51,[30,1]],"feed-shared-carousel--no-heading"],"\\n        ",[52,[30,0,["containsControlMenu"]],"feed-shared-carousel--with-control-menu"],"\\n        ",[30,0,["carouselTypeStyleClass"]],"\\n        ",[30,2],"\\n        "]]],[4,[50,[32,0],2,null,[["rumComponentId","elementId"],[[30,0,["rumComponentId"]],[30,0,["elementId"]]]]],null,null],[12],[1,"\\n      "],[8,[32,1],[[4,[32,3],[[30,0,["currentSlideIndex"]]],null]],[["@carouselItems","@hidePagination","@hidePrevNextBtnText","@hidePrevNextBtns","@loop","@cardWidth","@onNext","@onPrevious","@nextAriaLabel","@previousAriaLabel","@currentSlideIndex","@initialSlideIndex"],[[30,0,["carouselLength"]],[30,0,["hidePagination"]],true,[28,[32,2],[[30,1]],null],false,[30,0,["cardWidth"]],[30,0,["onNext"]],[30,0,["onPrevious"]],[30,3],[30,4],[30,0,["currentSlideIndex"]],[30,0,["initialSlideIndex"]]]],[["default"],[[[[1,"\\n"],[41,[30,1],[[[1,"          "],[8,[30,5,["title"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,6],[[[1,"              "],[8,[30,6],[[24,0,"update-components-header--carousel"]],null,null],[1,"\\n"]],[]],null],[41,[28,[32,4],[[30,0,["containsControlMenu"]],[30,7]],null],[[[1,"              "],[8,[30,7],[[24,0,"feed-shared-control-menu--carousel"]],null,null],[1,"\\n"]],[]],null],[1,"          "]],[]]]]],[1,"\\n"]],[]],null],[1,"        "],[8,[30,5,["slider"]],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,4],[[28,[31,4],[[30,8,["items"]]],null]],null],null,[[[1,"            "],[8,[30,5,["item"]],null,[["@myIndex","@class"],[[30,10],[30,11]]],[["default"],[[[[1,"\\n"],[41,[30,9,["content"]],[[[1,"                "],[46,[52,[30,12],[28,[32,5],[[28,[32,6],[[28,[32,7],[[30,9]],null]],null]],null],[28,[32,5],[[28,[32,7],[[30,9]],null]],null]],null,[["model","carouselType","trackingData","index","updateTrackingObj","triggerSponsoredUpdatePostNudge","shouldHideCtaButton","openLinksExternally","updateCurrentIndex","shouldSuppressTracking","updateMetadata","impressionColumnPosition","impressionRowPosition","isDashEnabled"],[[52,[30,12],[28,[32,6],[[28,[32,7],[[30,9]],null]],null],[28,[32,7],[[30,9]],null]],[30,8,["type"]],[30,9,["trackingData"]],[30,10],[30,13],[30,14],[30,15],[30,16],[30,0,["updateCurrentIndex"]],[30,17],[30,18],[28,[32,8],[[30,10],1],null],[30,19],[30,12]]],null],[1,"\\n"]],[]],[[[1,"                "],[8,[32,9],null,[["@hideCaEntryPoint","@hideReactionsMenu","@impressionColumnPosition","@impressionRowPosition","@isCarouselUpdate","@isUpdateHiddenByControlMenuAction","@isDashEnabled","@isWrapped","@shouldHideContentAdminIdentityToggle","@shouldSuppressTracking","@slideIndex","@update","@authenticatedActor","@isEditingShare","@setEditingShareState","@setIsUpdateHiddenByControlMenuAction","@wrapperClass"],[[30,20],false,[28,[32,8],[[30,10],1],null],[30,19],true,[28,[32,10],[[30,0,["deletedPosts"]],[30,10]],null],[30,12],true,true,[30,17],[30,10],[52,[30,12],[30,9,["update"]],[30,9,["updateV2"]]],[30,21],[28,[32,4],[[28,[32,11],[[30,0,["editingIndex"]],[30,10]],null],[30,0,["isEditingShare"]]],null],[28,[32,12],[[30,0,["setEditingShareState"]],[30,10]],null],[28,[32,12],[[30,0,["setIsUpdateHiddenByControlMenuAction"]],[30,10]],null],"display-flex flex-column full-height"]],[["default"],[[[[1,"\\n                  "],[11,0],[24,0,"display-flex flex-column flex-grow-1 fie-impression-container"],[4,[32,13],null,[["registerOnImpression","thresholdMillisecondsInViewport","thresholdPercentageInViewport","routeName","currentRoute"],[[30,24,["onTrackImpression"]],0,50,[28,[32,14],[[53,"outletState"],"render.name"],null],[28,[32,14],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n"],[41,[30,22,["header"]],[[[1,"                      "],[8,[30,22,["header"]],null,null,null],[1,"\\n"],[41,[30,22,["controlMenu"]],[[[1,"                        "],[8,[30,22,["controlMenu"]],null,null,null],[1,"\\n"]],[]],null],[1,"                      "],[8,[30,22,["actor"]],null,[["@entitySize"],[2]],null],[1,"\\n"]],[]],[[[1,"                      "],[8,[30,22,["actor"]],null,[["@entitySize"],[2]],null],[1,"\\n"],[41,[30,22,["controlMenu"]],[[[1,"                        "],[8,[30,22,["controlMenu"]],null,null,null],[1,"\\n"]],[]],null]],[]]],[41,[30,22,["contextualDescriptionV2"]],[[[1,"                      "],[8,[30,22,["contextualDescriptionV2"]],null,[["@openLinksExternally"],[true]],null],[1,"\\n"]],[]],null],[41,[30,22,["commentaryContainer"]],[[[1,"                      "],[8,[30,22,["commentaryContainer"]],null,[["@disableToggleShowMore","@commentaryInlineSeeMoreTrackingOverrides","@onShowMore","@hasContent","@seeMoreTextIsLink"],[true,[30,0,["carouselCommentaryTrackingOverrides"]],[28,[32,12],[[30,0,["openDetailPage"]],[52,[30,12],[30,9,["update","metadata"]],[30,9,["updateV2","updateMetadata"]]]],null],[30,24,["hasContent"]],true]],null],[1,"\\n"]],[]],null],[41,[30,24,["hasContent"]],[[[44,[[28,[32,15],[[52,[30,12],[30,9,["update","metadata"]],[30,9,["updateV2","updateMetadata"]]],[30,25]],null]],[[[1,"                        "],[8,[30,22,["content"]],null,[["@commentaryInlineSeeMoreTrackingOverrides","@controlMenuComponent","@linkToComponent","@openDetailPage","@updateUrn"],[[30,0,["carouselCommentaryTrackingOverrides"]],[52,[30,24,["isActionsPositionInContent"]],[30,22,["controlMenu"]]],[50,[32,16],0,null,[["route","models","class"],[[30,26,["route"]],[30,26,["models"]],"t-black t-14 t-normal tap-target"]]],[28,[32,12],[[30,0,["openDetailPage"]],[52,[30,12],[30,9,["update","metadata"]],[30,9,["updateV2","updateMetadata"]]]],null],[52,[30,12],[30,9,["update","metadata","backendUrn"]],[30,9,["updateV2","updateMetadata","urn"]]]]],null],[1,"\\n"]],[26]]]],[]],null],[41,[30,24,["hasSocialDetail"]],[[[41,[30,24,["showContributionExperience"]],[[[1,"                        "],[8,[30,22,["updateV2SocialActivity"]],null,[["@isCarouselUpdate","@showStackedSocialIcons","@isXArticleSocialActivity"],[true,[30,0,["showStackedSocialIcons"]],true]],null],[1,"\\n"]],[]],[[[1,"                        "],[8,[30,22,["updateV2SocialActivity"]],null,[["@hideComments","@showStackedSocialIcons","@isCarouselUpdate","@openFeedDetailPage","@socialContent","@socialDetail"],[true,[30,0,["showStackedSocialIcons"]],true,[28,[32,12],[[30,0,["openDetailPage"]],[52,[30,12],[30,9,["update","metadata"]],[30,9,["updateV2","updateMetadata"]]]],null],[52,[30,12],[30,9,["update","socialContent"]],[30,9,["updateV2","socialContent"]]],[52,[30,12],[30,9,["update","socialDetail"]],[30,9,["updateV2","socialDetail"]]]]],null],[1,"\\n"]],[]]]],[]],null],[41,[30,22,["footer"]],[[[1,"                      "],[8,[30,22,["footer"]],null,[["@class"],[[30,0,["footerClasses"]]]],null],[1,"\\n"]],[]],null],[1,"                  "],[13],[1,"\\n                "]],[22,23,24]]]]],[1,"\\n"]],[]]],[1,"            "]],[]]]]],[1,"\\n"]],[9,10]],null],[1,"        "]],[]]]]],[1,"\\n      "]],[5]]]]],[1,"\\n\\n"],[41,[30,0,["showOverlayedNavigationButtons"]],[[[1,"        "],[8,[32,17],[[24,0,"feed-shared-carousel__navigation-button feed-shared-carousel__navigation-button--prev"],[16,"aria-label",[28,[32,18],["carousel_previous","feed-shared/components/carousel"],null]],[16,"disabled",[30,0,["isPreviousDisabled"]]],[4,[32,19],["click",[30,0,["moveToPrevious"]]],[["bubbles"],[false]]]],[["@circle","@icon","@type","@color","@size"],[true,"chevron-left","primary","muted",[30,0,["overlayedNavigationButtonSize"]]]],null],[1,"\\n        "],[8,[32,17],[[24,0,"feed-shared-carousel__navigation-button feed-shared-carousel__navigation-button--next"],[16,"aria-label",[28,[32,18],["carousel_next","feed-shared/components/carousel"],null]],[16,"disabled",[30,0,["isNextDisabled"]]],[4,[32,19],["click",[30,0,["moveToNext"]]],[["bubbles"],[false]]]],[["@circle","@icon","@type","@color","@size"],[true,"chevron-right","primary","muted",[30,0,["overlayedNavigationButtonSize"]]]],null],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "]],["@showADNavigationButtons","@class","@carouselNextAriaLabel","@carouselPreviousAriaLabel","carousel","@headerComponent","@controlMenuComponent","@model","slide","index","@cardClass","@isDashEnabled","@updateTrackingObj","@triggerSponsoredUpdatePostNudge","@isReshareModal","@openLinksExternally","@shouldSuppressTracking","@updateMetadata","@impressionRowPosition","@hideCaEntryPoint","@authenticatedActor","components","actions","properties","@organizationUniversalName","detailPageInfo"],false,["unless","if","modifier","each","-track-array","component","-get-dynamic-var","let"]]',moduleName:"feed-shared/components/carousel.gjs",scope:()=>[S.default,a.default,r.default,s.default,l.default,d.default,u.default,c.default,p.default,m.default,T.default,C.default,h.fn,k.default,h.get,g.default,y.default,f.default,b.default,v.on],isStrictMode:!0}),w)}))
define.alias("ember-semaphore/components/cleared-content-modal-v2","feed-shared/components/cleared-content-modal-v2")
define.alias("ember-semaphore/components/cleared-content-modal","feed-shared/components/cleared-content-modal")
define("feed-shared/components/coach-prompt",["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-utils/utils/url","@ember/service","@glimmer/tracking","@ember/object","@glimmer/component","global-helpers/helpers/gte","coach-shared/components/tooltip","coach-shared/components/hscroll-bar","coach-shared/components/coach","global-helpers/helpers/eq","@ember/modifier","@ember/helper","@ember/render-modifiers/modifiers/did-insert","global-helpers/helpers/noop","ember-cli-pemberly-tracking/modifiers/track-impression"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h,g,f,b,v,y,C,T){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var k,S,O,w,E,A
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"qEuiptm/",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,1,["coachPrompts","length"]],1],null],[[[41,[30,0,["showTooltip"]],[[[1,"        "],[10,0],[14,0,"feed-shared-coach-prompt__multi-div"],[12],[1,"\\n          "],[8,[32,1],null,[["@caretTarget","@tooltipText","@closeTooltip","@verticalPosition","@horizontalPosition","@customClasses"],[".feed-shared-coach-prompt__multi-suggestion-cta--first",[30,0,["tooltipText"]],[30,0,["closeTooltip"]],"bottom","dynamic","feed-shared-coach-prompt__tooltip"]],null],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"      "],[8,[32,2],null,[["@coachPrompts"],[[30,1,["coachPrompts"]]]],[["default"],[[[[1,"\\n        "],[8,[32,3],null,[["@disableCoachTracking"],[true]],[["default"],[[[[1,"\\n          "],[8,[30,3,["hScrollButton"]],[[16,0,[29,["feed-shared-coach-prompt__multi-suggestion-cta\\n              ",[52,[28,[32,4],[[30,2,["index"]],0],null],"feed-shared-coach-prompt__multi-suggestion-cta--first"]]]],[4,[32,5],["click",[28,[32,6],[[30,0,["onMultiSuggestionButtonClick"]],[30,2,["index"]]],null]],null],[4,[32,7],[[52,[30,0,["onCoachIntroDetailPage"]],[28,[32,6],[[30,0,["autoLaunchCoach"]],[30,3]],null],[28,[32,8],null,null]]],null],[4,[32,9],null,[["registerOnImpression","routeName","currentRoute"],[[28,[32,6],[[30,0,["handleCoachPromptMultiVariantImpressionTracking"]],[30,2,["index"]]],null],[28,[32,10],[[53,"outletState"],"render.name"],null],[28,[32,10],[[53,"outletState"],"render"],null]]]]],[["@controlName","@text","@ariaLabel","@query","@clearHistory"],["view_coach_prompt",[30,2,["prompt","text"]],[30,2,["prompt","text"]],[28,[30,0,["coachQueryMultiVariant"]],[[30,2,["index"]]],null],true]],null],[1,"\\n        "]],[3]]]]],[1,"\\n      "]],[2]]]]],[1,"\\n"]],[]],null],[1,"  "]],["@model","properties","coach"],false,["if","-get-dynamic-var"]]',moduleName:"feed-shared/components/coach-prompt.gjs",scope:()=>[p.default,m.default,h.default,g.default,f.default,b.on,v.fn,y.default,C.default,T.default,v.get],isStrictMode:!0}),(k=(0,l.inject)("lego@tracking"),S=(0,l.inject)("router"),O=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"isTooltipDismissed",w,this);(0,t.default)(this,"legoTracking",E,this);(0,t.default)(this,"router",A,this)}get onCoachIntroDetailPage(){const e=this.router.currentURL
let t=!1
if(e){const{autoLaunchCoach:n}=(0,s.parseQueryString)(e)
t="true"===n}return t}autoLaunchCoach(e){const t=this.args.model.coachPrompts[0]
if(t){var n
const{coachAction:o}=t,i={queryContextV2:{contextUnion:{coachFeed:o.coachFeedUrn},serverIntent:o.serverIntent,entryPoint:"KNOWLEDGE_SEEKER"},queryText:(null===(n=o.promptText)||void 0===n?void 0:n.text)??t.text}
e.askCoach(i,!0)}}get showTooltip(){const e=this.args.model.tooltipLegoTrackingToken&&!this.isTooltipDismissed&&this.tooltipText
e&&this.updateTooltipLegoStatus()
return e}get tooltipText(){return this.args.model.tooltipText}updateTooltipLegoStatus(){this.args.model.tooltipLegoTrackingToken&&this.legoTracking.sendLegoImpression(this.args.model.tooltipLegoTrackingToken,this.legoTracking.LEGO_IMPRESSION_VISIBILITY_SHOW)}coachQueryMultiVariant(e){var t
return{queryContextV2:{contextUnion:{coachFeed:this.args.model.coachPrompts[e].coachAction.coachFeedUrn},serverIntent:this.args.model.coachPrompts[e].coachAction.serverIntent,entryPoint:"KNOWLEDGE_SEEKER"},queryText:(null===(t=this.args.model.coachPrompts[e].coachAction.promptText)||void 0===t?void 0:t.text)??this.args.model.coachPrompts[e].text}}closeTooltip(){this.isTooltipDismissed=!0
this.args.model.tooltipLegoTrackingToken&&this.legoTracking.sendLegoAction(this.args.model.tooltipLegoTrackingToken,this.legoTracking.LEGO_ACTION_DISMISS,1)}handleCoachPromptMultiVariantImpressionTracking(e){const{updateTrackingObj:t}=this.args,{trackingId:n}=this.args.model.coachPrompts[e],o=null==t?void 0:t.generateFeedAccessoryImpressionEventBody([{accessoryTrackingId:n,controlUrn:"view_coach_prompt",listPosition:{index:e+1}}])
return()=>o?{body:o,name:"FeedAccessoryImpressionEvent"}:[]}onMultiSuggestionButtonClick(e){var t
const n=this.args.model.coachPrompts[e]
null===(t=this.args.updateTrackingObj)||void 0===t||t.fireFeedActionAndSponsoredTrackingEvents({actionCategory:"EXPAND",actionType:"viewCoach",controlName:"view_coach_prompt",accessoryTrackingId:null==n?void 0:n.trackingId})
const{legoTrackingToken:o}=this.args.model.coachPrompts[e].coachAction
o&&this.legoTracking.sendLegoAction(o,this.legoTracking.LEGO_ACTION_PRIMARY)}},w=(0,o.default)(O.prototype,"isTooltipDismissed",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),E=(0,o.default)(O.prototype,"legoTracking",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,o.default)(O.prototype,"router",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.default)(O.prototype,"autoLaunchCoach",[c.action],Object.getOwnPropertyDescriptor(O.prototype,"autoLaunchCoach"),O.prototype),(0,o.default)(O.prototype,"coachQueryMultiVariant",[c.action],Object.getOwnPropertyDescriptor(O.prototype,"coachQueryMultiVariant"),O.prototype),(0,o.default)(O.prototype,"closeTooltip",[c.action],Object.getOwnPropertyDescriptor(O.prototype,"closeTooltip"),O.prototype),(0,o.default)(O.prototype,"handleCoachPromptMultiVariantImpressionTracking",[c.action],Object.getOwnPropertyDescriptor(O.prototype,"handleCoachPromptMultiVariantImpressionTracking"),O.prototype),(0,o.default)(O.prototype,"onMultiSuggestionButtonClick",[c.action],Object.getOwnPropertyDescriptor(O.prototype,"onMultiSuggestionButtonClick"),O.prototype),O))}))
define.alias("helpcenter-in-product-ember/components/contextual-help","feed-shared/components/contextual-help")
define("feed-shared/components/conversations",["exports","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/template-factory","@ember/helper","@ember/component","@ember/object","global-helpers/helpers/and","update-components/components/button","comments/components/comment-box-entity","@glimmer/component","global-helpers/helpers/eq","global-helpers/helpers/gt","image-view-model/components/image-view-model","global-helpers/helpers/is-dash-urn","app-aware-link/components/navigation-context-link","global-helpers/helpers/or","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-interaction","social-details/components/project-x/x-article-contribution","social-details/components/project-x/dash/x-article-contribution"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h,g,f,b,v,y){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var C
e.default=(0,i.setComponentTemplate)((0,n.createTemplateFactory)({id:"1zhiferM",block:'[[[1,"\\n"],[1,"    "],[10,0],[15,0,[29,["relative pb3\\n        ",[52,[51,[30,0,["hasFeaturedComment"]]],"feed-shared-conversations__container"],"\\n        ",[52,[30,1],"feed-shared-conversations__mini-update"],"\\n        ",[52,[30,2],"feed-shared-conversations__carousel-update"],"\\n        "]]],[12],[1,"\\n"],[41,[30,3,["navigationContext"]],[[[1,"        "],[8,[32,0],[[24,0,"feed-shared-conversations__navigation-context"],[4,[32,1],["feed_card_x_no_contribution_shown"],null]],[["@href","@invokeAction"],[[30,3,["navigationContext","actionTarget"]],[30,0,["onConversationsContentClick"]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["showSliverImage"]],[[[1,"            "],[10,0],[14,0,"feed-shared-conversations__sliver-image-container"],[12],[1,"\\n              "],[8,[32,2],null,[["@images","@imgClasses","@desiredWidth","@role"],[[30,3,["coverImage"]],"feed-shared-conversations__sliver-image",18,"presentation"]],null],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[1,"          "],[10,0],[15,0,[29,[[52,[30,0,["hasFeaturedComment"]],"feed-shared-conversations__content--with-comment","feed-shared-conversations__content"],"\\n              ",[52,[30,0,["showSliverImage"]],"ml4"]]]],[12],[1,"\\n            "],[10,"h2"],[14,0,"feed-shared-conversations__headline text-body-xsmall-bold"],[12],[1,[30,3,["headline","text"]]],[13],[1,"\\n            "],[10,"h1"],[15,0,[29,[[52,[30,2],"feed-shared-conversations__title--carousel-view","feed-shared-conversations__title"],"\\n                text-body-medium-bold\\n                ",[52,[28,[32,3],[[30,3,["socialActivityCounts","numComments"]],0],null],"pb3"]]]],[12],[1,[30,3,["title","text"]]],[13],[1,"\\n"],[41,[28,[32,4],[[30,3,["socialActivityCounts","numComments"]],0],null],[[[1,"              "],[10,2],[15,0,[29,["feed-shared-conversations__count text-body-xsmall\\n                  ",[52,[30,0,["hasFeaturedComment"]],"pb0"]]]],[12],[1,"\\n"],[41,[30,3,["showContributionExperience"]],[[[1,"                  "],[1,[28,[32,5],["i18n_expert_answers","feed-shared/components/conversations"],[["value"],[[30,3,["socialActivityCounts","numComments"]]]]]],[1,"\\n"]],[]],[[[1,"                  "],[1,[30,3,["socialActivityCounts","numComments"]]],[1,"\\n"]],[]]],[1,"              "],[13],[1,"\\n"]],[]],[[[41,[28,[32,6],[[30,2],[28,[32,3],[[30,3,["socialActivityCounts","numComments"]],0],null]],null],[[[1,"              "],[10,2],[15,0,[29,["feed-shared-conversations__count text-body-xsmall\\n                  ",[52,[30,0,["hasFeaturedComment"]],"pb0"]]]],[12],[1,"\\n"],[41,[30,3,["showContributionExperience"]],[[[1,"                  "],[1,[28,[32,5],["i18n_be_the_first_to_answer","feed-shared/components/conversations"],null]],[1,"\\n"]],[]],null],[1,"              "],[13],[1,"\\n            "]],[]],null]],[]]],[1,"          "],[13],[1,"\\n"],[41,[30,0,["hasFeaturedComment"]],[[[41,[28,[32,7],[[30,0,["featuredComment","entityUrn"]]],null],[[[41,[30,0,["featuredComment","permalink"]],[[[1,"                "],[8,[32,0],[[24,0,"feed-shared-conversations__contribution-navigation-context"]],[["@href"],[[30,0,["featuredComment","permalink"]]]],[["default"],[[[[1,"\\n                  "],[8,[32,8],null,[["@a11yContext","@authenticatedActor","@comment","@fireCustomTracking","@isFeaturedComment","@reportedCommentUrns","@update","@updateMetadata","@updateTrackingObj","@preventDefaultAction"],[[30,4],[30,5],[30,0,["featuredComment"]],[30,6],true,[30,7],[30,8],[30,9],[30,10],true]],null],[1,"\\n                "]],[]]]]],[1,"\\n"]],[]],null]],[]],[[[41,[30,0,["featuredComment","permalink"]],[[[1,"                "],[8,[32,0],[[24,0,"feed-shared-conversations__contribution-navigation-context"]],[["@href"],[[30,0,["featuredComment","permalink"]]]],[["default"],[[[[1,"\\n                  "],[8,[32,9],null,[["@a11yContext","@authenticatedActor","@comment","@fireCustomTracking","@isFeaturedComment","@reportedCommentUrns","@update","@updateMetadata","@updateTrackingObj","@preventDefaultAction"],[[30,4],[30,5],[30,0,["featuredComment"]],[30,6],true,[30,7],[30,8],[30,9],[30,10],true]],null],[1,"\\n                "]],[]]]]],[1,"\\n"]],[]],null]],[]]]],[]],null],[41,[28,[32,6],[[30,0,["hasFeaturedComment"]],[28,[32,10],[[30,0,["commentPrompt"]],[30,3,["bottomCta"]]],null]],null],[[[1,"            "],[10,0],[14,0,"feed-shared-conversations__cta-container--with-comment"],[12],[1,"\\n"],[41,[30,0,["commentPrompt"]],[[[1,"                "],[8,[32,11],null,[["@avatarEntityClassSize","@commentPrompt","@fireConversationCtaTracking","@fsCommentBoxEnabled"],[2,[30,0,["commentPrompt"]],[30,0,["fireConversationCtaTracking"]],[30,0,["fsCommentBoxEnabled"]]]],null],[1,"\\n"]],[]],[[[41,[30,3,["bottomCta"]],[[[1,"                "],[8,[32,12],[[24,0,"feed-shared-conversations__bottom-cta--with-comment text-body-small-bold"],[4,[32,1],["feed_card_x_cta"],null]],[["@model","@openLinkInNewTab","@stopPropagation","@invokeAction"],[[30,3,["bottomCta"]],false,true,[30,0,["onBottomCtaWithCommentClick"]]]],null],[1,"\\n              "]],[]],null]],[]]],[1,"            "],[13],[1,"\\n"]],[]],[[[1,"            "],[10,0],[15,0,[29,["feed-shared-conversations__pre-fs-cta-container\\n                ",[52,[30,0,["showSliverImage"]],"ml4"]]]],[12],[1,"\\n"],[41,[30,0,["commentPrompt"]],[[[1,"                "],[8,[32,11],null,[["@avatarEntityClassSize","@commentPrompt","@fireConversationCtaTracking","@fsCommentBoxEnabled"],[2,[30,0,["commentPrompt"]],[30,0,["fireConversationCtaTracking"]],[30,0,["fsCommentBoxEnabled"]]]],null],[1,"\\n"]],[]],[[[41,[30,3,["bottomCta"]],[[[1,"                "],[8,[32,12],[[24,0,"feed-shared-conversations__pre-fs-bottom-cta text-body-medium-bold"],[4,[32,1],["feed_card_x_cta"],null]],[["@model","@openLinkInNewTab","@stopPropagation","@invokeAction"],[[30,3,["bottomCta"]],false,true,[30,0,["onBottomCtaClick"]]]],null],[1,"\\n              "]],[]],null]],[]]],[1,"            "],[13],[1,"\\n"]],[]]],[1,"        "]],[]]]]],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "]],["@isMiniUpdate","@isCarouselUpdate","@model","@a11yContext","@authenticatedActor","@fireCustomTracking","@reportedCommentUrns","@update","@updateMetadata","@updateTrackingObj"],false,["unless","if"]]',moduleName:"feed-shared/components/conversations.gjs",scope:()=>[h.default,b.default,p.default,c.default,u.default,f.default,r.default,m.default,y.default,v.default,g.default,l.default,s.default],isStrictMode:!0}),(C=class extends d.default{get commentPrompt(){var e
return null===(e=this.args.model.featuredComments[0])||void 0===e?void 0:e.commentPrompt}get featuredComment(){return this.args.model.featuredComments[0]}get hasFeaturedComment(){var e
return(null===(e=this.args.model.featuredComments)||void 0===e?void 0:e.length)>0}get showSliverImage(){return this.args.model.showContributionExperience&&this.args.model.coverImage&&!this.hasFeaturedComment}fireConversationCtaTracking(){var e,t
null===(e=(t=this.args).fireCustomTracking)||void 0===e||e.call(t,{actionCategory:"SELECT",actionType:"feedCardXContributionCta",controlName:"feed_card_x_cta"})}onConversationsContentClick(){var e
if(null!==(e=this.args.model.navigationContext)&&void 0!==e&&e.trackingActionType){var t,n,o
null===(t=(n=this.args).fireCustomTracking)||void 0===t||t.call(n,{actionCategory:"SELECT",actionType:null===(o=this.args.model.navigationContext)||void 0===o?void 0:o.trackingActionType,controlName:"feed_card_x_no_contribution_shown"})}}onBottomCtaClick(){var e,t
if(null!==(e=this.args.model.bottomCta)&&void 0!==e&&null!==(t=e.navigationContext)&&void 0!==t&&t.trackingActionType){var n,o,i,a
null===(n=(o=this.args).fireCustomTracking)||void 0===n||n.call(o,{actionCategory:"SELECT",actionType:null===(i=this.args.model.bottomCta)||void 0===i||null===(a=i.navigationContext)||void 0===a?void 0:a.trackingActionType,controlName:"feed_card_x_cta"})}}onBottomCtaWithCommentClick(){var e,t
if(null!==(e=this.args.model.bottomCta)&&void 0!==e&&null!==(t=e.navigationContext)&&void 0!==t&&t.trackingActionType){var n,o,i,a
null===(n=(o=this.args).fireCustomTracking)||void 0===n||n.call(o,{actionCategory:"SELECT",actionType:null===(i=this.args.model.bottomCta)||void 0===i||null===(a=i.navigationContext)||void 0===a?void 0:a.trackingActionType,controlName:"feed_card_x_cta"})}}},(0,t.default)(C.prototype,"fireConversationCtaTracking",[a.action],Object.getOwnPropertyDescriptor(C.prototype,"fireConversationCtaTracking"),C.prototype),(0,t.default)(C.prototype,"onConversationsContentClick",[a.action],Object.getOwnPropertyDescriptor(C.prototype,"onConversationsContentClick"),C.prototype),(0,t.default)(C.prototype,"onBottomCtaClick",[a.action],Object.getOwnPropertyDescriptor(C.prototype,"onBottomCtaClick"),C.prototype),(0,t.default)(C.prototype,"onBottomCtaWithCommentClick",[a.action],Object.getOwnPropertyDescriptor(C.prototype,"onBottomCtaWithCommentClick"),C.prototype),C))}))
define.alias("ember-vector-images/components/custom-image","feed-shared/components/custom-image")
define("feed-shared/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-shared/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-shared/components/dropbox-file-picker")
define.alias("ember-semaphore/components/ember-semaphore","feed-shared/components/ember-semaphore")
define.alias("ember-wormhole/components/ember-wormhole","feed-shared/components/ember-wormhole")
define.alias("helpcenter-in-product-ember/components/external-link","feed-shared/components/external-link")
define.alias("helpcenter-in-product-ember/components/feature-launcher","feed-shared/components/feature-launcher")
define.alias("ember-cloud-filepicker/components/file-picker","feed-shared/components/file-picker")
define.alias("ember-finite-scroll/components/finite-scroll","feed-shared/components/finite-scroll")
define.alias("ember-semaphore/components/gen-ai-feedback","feed-shared/components/gen-ai-feedback")
define.alias("ember-cloud-filepicker/components/google-drive-file-picker","feed-shared/components/google-drive-file-picker")
define.alias("helpcenter-in-product-ember/components/header","feed-shared/components/header")
define.alias("ember-highcharts/components/high-charts","feed-shared/components/high-charts")
define.alias("image-editor/components/image-editor-loader","feed-shared/components/image-editor-loader")
define.alias("image-editor/components/image-editor","feed-shared/components/image-editor")
define.alias("helpcenter-in-product-ember/components/inline-svg-empty-room-dark","feed-shared/components/inline-svg-empty-room-dark")
define.alias("helpcenter-in-product-ember/components/inline-svg-empty-room","feed-shared/components/inline-svg-empty-room")
define.alias("helpcenter-in-product-ember/components/iph-widget-container","feed-shared/components/iph-widget-container")
define.alias("helpcenter-in-product-ember/components/iph-widget-trigger","feed-shared/components/iph-widget-trigger")
define.alias("helpcenter-in-product-ember/components/iph-widget","feed-shared/components/iph-widget")
define.alias("ember-finite-scroll/components/item-container","feed-shared/components/item-container")
define.alias("ember-vector-images/components/lazy-background","feed-shared/components/lazy-background")
define.alias("ember-vector-images/components/lazy-image","feed-shared/components/lazy-image")
define("feed-shared/components/lead-gen-modal-wrapper",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/object","@glimmer/tracking","artdeco-inline-feedback/components/artdeco-inline-feedback","artdeco-loader/components/artdeco-loader","artdeco-modal/components/artdeco-modal","@glimmer/component","asset-loader/components/asset-loader","global-helpers/helpers/or","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h,g){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var f,b
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"fZ5SPo93",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,1],[30,0,["isLeadGenModalManagerOpen"]]],null],[[[1,"      "],[8,[32,1],null,[["@bundle","@retryLimit"],["lead-gen",1]],[["resolved","pending","rejected"],[[[[1,"\\n"],[44,[[28,[30,2,["component"]],["lead-gen-v2/lead-gen-modal-manager"],null]],[[[1,"            "],[8,[30,3],null,[["@channelId","@closeModal","@closeLeadGenModalManager","@isOpen","@leadGenForm","@leadTrackingCode","@leadTrackingParams","@openLeadGenModalManager","@shouldDisableSubmit","@shouldSuppressTracking","@updateTrackingObj","@openLinksExternally","@onResizeWindow"],[[30,4],[30,5],[30,0,["closeLeadGenModalManager"]],[30,1],[30,6],[30,0,["leadTrackingCode"]],[30,0,["leadTrackingParams"]],[30,0,["openLeadGenModalManager"]],[30,7],[30,8],[30,9],[30,10],[30,11]]],null],[1,"\\n"]],[3]]],[1,"        "]],[2]],[[[1,"\\n          "],[8,[32,2],null,[["@isOpen","@size","@dismissModal"],[[30,1],"medium",[30,5]]],[["default"],[[[[1,"\\n            "],[8,[30,12,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n              "],[10,"h3"],[14,1,"lead-gen-modal-pending-header"],[12],[1,"\\n"],[41,[30,6,["header"]],[[[1,"                  "],[1,[30,6,["header","text"]]],[1,"\\n"]],[]],[[[1,"                  "],[1,[30,6,["actor","miniCompany","name"]]],[1,"\\n"]],[]]],[1,"              "],[13],[1,"\\n            "]],[]]]]],[1,"\\n            "],[8,[30,12,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n              "],[8,[32,3],[[24,0,"mv6"]],[["@size"],["small"]],null],[1,"\\n            "]],[]]]]],[1,"\\n          "]],[12]]]]],[1,"\\n        "]],[]],[[[1,"\\n          "],[8,[32,2],null,[["@isOpen","@size","@dismissModal"],[[30,1],"medium",[30,5]]],[["default"],[[[[1,"\\n            "],[8,[30,13,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n              "],[10,"h3"],[14,1,"lead-gen-modal-rejected-header"],[12],[1,"\\n"],[41,[30,6,["header"]],[[[1,"                  "],[1,[30,6,["header","text"]]],[1,"\\n"]],[]],[[[1,"                  "],[1,[30,6,["actor","miniCompany","name"]]],[1,"\\n"]],[]]],[1,"              "],[13],[1,"\\n            "]],[]]]]],[1,"\\n            "],[8,[30,13,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n              "],[8,[32,4],[[24,0,"mv5"]],[["@message","@type"],[[28,[32,5],["i18n_lead_gen_loading_error","feed-shared/components/lead-gen-modal-wrapper"],null],"error"]],null],[1,"\\n            "]],[]]]]],[1,"\\n          "]],[13]]]]],[1,"\\n        "]],[]]]]],[1,"\\n"]],[]],null],[1,"  "]],["@isOpen","resolved","LeadGenModalManager","@channelId","@closeModal","@leadGenForm","@shouldDisableSubmit","@shouldSuppressTracking","@updateTrackingObj","@openLinksExternally","@onResizeWindow","modal","modal"],false,["if","let"]]',moduleName:"feed-shared/components/lead-gen-modal-wrapper.gjs",scope:()=>[h.default,m.default,u.default,c.default,d.default,g.default],isStrictMode:!0}),(f=class extends p.default{constructor(){super(...arguments);(0,t.default)(this,"isLeadGenModalManagerOpen",b,this)}get channelId(){return this.args.channelId||2}get pageKey(){return this.args.pageKey}get leadTrackingParams(){var e
return null===(e=this.args.sponsoredMetadata)||void 0===e?void 0:e.leadTrackingParams}get leadTrackingCode(){var e
return null===(e=this.args.sponsoredMetadata)||void 0===e?void 0:e.leadTrackingCode}closeLeadGenModalManager(){this.isLeadGenModalManagerOpen=!1}openLeadGenModalManager(){this.isLeadGenModalManagerOpen=!0}},b=(0,o.default)(f.prototype,"isLeadGenModalManagerOpen",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,o.default)(f.prototype,"closeLeadGenModalManager",[s.action],Object.getOwnPropertyDescriptor(f.prototype,"closeLeadGenModalManager"),f.prototype),(0,o.default)(f.prototype,"openLeadGenModalManager",[s.action],Object.getOwnPropertyDescriptor(f.prototype,"openLeadGenModalManager"),f.prototype),f))}))
define.alias("ember-line-clamp/components/line-clamp","feed-shared/components/line-clamp")
define.alias("artdeco-icons-web/components/linkedin-logo","feed-shared/components/linkedin-logo")
define.alias("ember-cloud-filepicker/components/local-file-input","feed-shared/components/local-file-input")
define.alias("ember-media-player/components/media-player","feed-shared/components/media-player")
define("feed-shared/components/mini-update",["exports","@ember/template-factory","@ember/helper","@babel/runtime/helpers/esm/defineProperty","@ember/component","mini-update/components/mini-update-base","@ember/object/internals","mini-update/components/interstitial-container","ember-element-helper/helpers/element","ember-cli-pemberly-tracking/modifiers/track-impression","mini-update/components/actor","mini-update/components/contextual-description","mini-update/components/commentary","mini-update/components/content","feed-shared/components/mini-update/social-activity-counts-wrapper","global-helpers/helpers/get-class-hash"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h,g){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class f extends a.default{constructor(){super(...arguments);(0,o.default)(this,"guid",(0,r.guidFor)(this))}get ariaDescription(){var e,t,n,o,i,a,r,s,l
return[null===(e=this.args.miniUpdate)||void 0===e||null===(t=e.commentary)||void 0===t||null===(n=t.commentaryText)||void 0===n?void 0:n.text,null===(o=this.args.miniUpdate)||void 0===o||null===(i=o.content)||void 0===i||null===(a=i.title)||void 0===a?void 0:a.text,null===(r=this.args.miniUpdate)||void 0===r||null===(s=r.content)||void 0===s||null===(l=s.subtitle)||void 0===l?void 0:l.text].filter((e=>Boolean(e))).join(", ")}}e.default=f;(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"PEcz89jQ",block:'[[[1,"\\n"],[44,[[52,[30,0,["hasInterstitial"]],[50,[32,0],0,null,[["interstitialViewModel","templateType","backendUrn","actionTrackingHandler","updateTrackingObj"],[[30,1,["interstitial","interstitial"]],[30,1,["interstitial","templateType"]],[30,1,["metadata","backendUrn"]],[30,0,["actionTrackingHandler"]],[30,0,["updateTrackingObj"]]]]],[28,[32,1],[""],null]]],[[[1,"      "],[11,0],[17,3],[16,0,[29,["display-flex flex-column\\n          ",[52,[30,0,["isContentComponentLast"]],[28,[32,2],["pb4"],null]],[52,[30,0,["isCommentaryComponentLast"]],"pb2"]]]],[4,[32,3],null,[["registerOnImpression","thresholdMillisecondsInViewport","thresholdPercentageInViewport","routeName","currentRoute"],[[30,0,["onTrackImpression"]],0,50,[28,[32,4],[[53,"outletState"],"render.name"],null],[28,[32,4],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n"],[41,[30,0,["showActor"]],[[[1,"          "],[8,[32,5],null,[["@actor","@actionTrackingHandler","@trackingId"],[[30,1,["actor"]],[30,0,["actionTrackingHandler"]],[30,0,["trackingId"]]]],null],[1,"\\n"]],[]],null],[41,[30,0,["showContextualDescription"]],[[[1,"          "],[8,[32,6],[[16,"aria-describedby",[29,["mini-update-a11y-description-",[30,0,["guid"]]]]]],[["@contextualDescription","@actionTrackingHandler","@trackingId","@disableFocusableNestedLink"],[[30,1,["contextualDescription"]],[30,0,["actionTrackingHandler"]],[30,0,["trackingId"]],[30,4]]],null],[1,"\\n          "],[10,1],[14,0,"visually-hidden"],[15,1,[29,["mini-update-a11y-description-",[30,0,["guid"]]]]],[12],[1,"\\n            "],[1,[30,0,["ariaDescription"]]],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"        "],[8,[30,2],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["showCommentary"]],[[[1,"            "],[8,[32,7],null,[["@model","@nextToContent","@actionTrackingHandler","@trackingId","@disableFocusableNestedLink"],[[30,1,["commentary"]],[30,0,["hasContentComponent"]],[30,0,["actionTrackingHandler"]],[30,0,["trackingId"]],[30,4]]],null],[1,"\\n"]],[]],null],[41,[30,0,["showContent"]],[[[1,"            "],[8,[32,8],null,[["@model","@actionTrackingHandler","@trackingId","@disableFocusableNestedLink"],[[30,1,["content"]],[30,0,["actionTrackingHandler"]],[30,0,["trackingId"]],[30,4]]],null],[1,"\\n"]],[]],null],[1,"        "]],[]]]]],[1,"\\n"],[41,[30,0,["showSocialActivityCounts"]],[[[1,"          "],[8,[32,9],null,[["@socialActivityCounts","@actionTrackingHandler","@backendUrn","@isMiniUpdate","@areSocialCountsClickable"],[[30,1,["socialActivityCounts"]],[30,0,["actionTrackingHandler"]],[30,1,["metadata","backendUrn"]],true,[30,0,["areSocialCountsClickable"]]]],null],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n"]],[2]]],[1,"  "]],["@miniUpdate","MaybeInterstitialWrapper","&attrs","@disableFocusableNestedLink"],false,["let","if","component","-get-dynamic-var"]]',moduleName:"feed-shared/components/mini-update.gjs",scope:()=>[s.default,l.default,g.default,d.default,n.get,c.default,u.default,p.default,m.default,h.default],isStrictMode:!0}),f)}))
define.alias("mini-update/components/commentary","feed-shared/components/mini-update/commentary")
define.alias("mini-update/components/content","feed-shared/components/mini-update/content")
define("feed-shared/components/mini-update/social-activity-counts-wrapper",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/object","@ember/service","@glimmer/tracking","asset-loader/components/asset-loader","@glimmer/component","social-details/components/reactors-modal","social-details/components/social-counts"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var h,g,f,b,v,y
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"pRbCN5K/",block:'[[[1,"\\n"],[41,[30,1],[[[1,"      "],[8,[32,0],[[24,0,"b0 m0 ph4 pv3"]],[["@socialActivityCounts","@onCommentsTotalClick","@onReactionsTotalClick","@onRepostsTotalClick","@totalReactionsCount","@isMiniUpdate","@isCommentsTotalClickable","@isReactionsTotalClickable","@isRepostsTotalClickable"],[[30,1],[30,0,["onCommentsTotalClick"]],[30,0,["onReactionsTotalClick"]],[30,0,["onRepostsTotalClick"]],[30,0,["totalReactionsCount"]],[30,2],[30,3],[30,3],[30,3]]],null],[1,"\\n      "],[8,[32,1],null,[["@dismissReactorsModal","@isReactorModalOpen","@socialActivityCounts","@updateTotalReactionsCount"],[[30,0,["dismissReactorsModal"]],[30,0,["showReactorsModal"]],[30,1],[30,0,["updateTotalReactionsCount"]]]],null],[1,"\\n"],[41,[30,0,["showRepostsModal"]],[[[1,"        "],[8,[32,2],null,[["@bundle","@retryLimit"],["feed-modals",2]],[["resolved"],[[[[1,"\\n"],[44,[[28,[30,4,["component"]],["reposts-modal"],null]],[[[1,"              "],[8,[30,5],null,[["@dismissRepostsModal","@isRepostsModalOpen","@numShares","@updateId"],[[30,0,["dismissRepostsModal"]],[30,0,["showRepostsModal"]],[30,1,["numShares"]],[30,1,["urn"]]]],null],[1,"\\n"]],[5]]],[1,"          "]],[4]]]]],[1,"\\n"]],[]],null]],[]],null],[1,"  "]],["@socialActivityCounts","@isMiniUpdate","@areSocialCountsClickable","resolved","RepostsModal"],false,["if","let"]]',moduleName:"feed-shared/components/mini-update/social-activity-counts-wrapper.gjs",scope:()=>[m.default,p.default,c.default],isStrictMode:!0}),(h=(0,l.inject)("router"),g=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"router",f,this);(0,t.default)(this,"showReactorsModal",b,this);(0,t.default)(this,"showRepostsModal",v,this);(0,t.default)(this,"totalReactionsCount",y,this)}onCommentsTotalClick(){if(this.args.backendUrn){this.router.transitionTo("feed.update",this.args.backendUrn)
this.args.actionTrackingHandler({actionType:"viewCommentsDetail",actionCategory:"VIEW",controlName:"comments_count"})}}dismissReactorsModal(){this.showReactorsModal=!1}dismissRepostsModal(){this.showRepostsModal=!1}onReactionsTotalClick(){this.showReactorsModal=!0
this.args.actionTrackingHandler({actionType:"viewLikers",actionCategory:"VIEW",controlName:"likes_count"})}updateTotalReactionsCount(e){this.totalReactionsCount=e}onRepostsTotalClick(){this.showRepostsModal=!0}},f=(0,o.default)(g.prototype,"router",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,o.default)(g.prototype,"showReactorsModal",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),v=(0,o.default)(g.prototype,"showRepostsModal",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),y=(0,o.default)(g.prototype,"totalReactionsCount",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.default)(g.prototype,"onCommentsTotalClick",[s.action],Object.getOwnPropertyDescriptor(g.prototype,"onCommentsTotalClick"),g.prototype),(0,o.default)(g.prototype,"dismissReactorsModal",[s.action],Object.getOwnPropertyDescriptor(g.prototype,"dismissReactorsModal"),g.prototype),(0,o.default)(g.prototype,"dismissRepostsModal",[s.action],Object.getOwnPropertyDescriptor(g.prototype,"dismissRepostsModal"),g.prototype),(0,o.default)(g.prototype,"onReactionsTotalClick",[s.action],Object.getOwnPropertyDescriptor(g.prototype,"onReactionsTotalClick"),g.prototype),(0,o.default)(g.prototype,"updateTotalReactionsCount",[s.action],Object.getOwnPropertyDescriptor(g.prototype,"updateTotalReactionsCount"),g.prototype),(0,o.default)(g.prototype,"onRepostsTotalClick",[s.action],Object.getOwnPropertyDescriptor(g.prototype,"onRepostsTotalClick"),g.prototype),g))}))
define("feed-shared/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.alias("ember-cloud-filepicker/components/onedrive-file-picker","feed-shared/components/onedrive-file-picker")
define("feed-shared/components/post-cta",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/object","organization-detour/broadcast-to-share-detour-manager","@ember/service","@glimmer/component","text-view-model/components/text-view-model-v2","sharing-entry/components/share-button","artdeco-button/components/artdeco-button","@ember/modifier","@ember/helper","ember-cli-pemberly-tracking/modifiers/track-interaction"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h,g,f){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var b,v,y,C,T
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"O6BVuhmD",block:'[[[1,"\\n"],[1,"    "],[10,0],[14,0,"feed-shared-post-cta"],[12],[1,"\\n      "],[10,0],[12],[1,"\\n"],[41,[30,1,["socialProofText"]],[[[1,"          "],[10,0],[14,0,"t-12 t-black--light truncate pv2 ph3"],[12],[1,"\\n            "],[8,[32,0],null,[["@tvm"],[[30,1,["socialProofText"]]]],null],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"        "],[8,[32,1],null,[["@shareOrigin","@initialDetourManager","@disableDetourEdit","@disableDetourPreviewRemoval"],[[30,0,["shareOrigin"]],[30,0,["initialDetourManager"]],true,true]],[["default"],[[[[1,"\\n          "],[10,"footer"],[14,0,"artdeco-card__actions"],[12],[1,"\\n            "],[8,[32,2],[[24,0,"justify-flex-start p3"],[4,[32,3],["click",[28,[32,4],[[30,0,["onCTAClick"]],[30,3],[30,2]],null]],null],[4,[32,5],["broadcast_share_post"],null]],[["@type","@color","@stretch","@icon","@text"],["tertiary","muted","fluid","compose",[30,1,["ctaText"]]]],null],[1,"\\n          "],[13],[1,"\\n        "]],[2]]]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "]],["@model","openShareboxModal","@updateMetadata"],false,["if"]]',moduleName:"feed-shared/components/post-cta.gjs",scope:()=>[u.default,p.default,m.default,h.on,g.fn,f.default],isStrictMode:!0}),(b=(0,d.inject)("feed-tracking@feed-action-event"),v=(0,d.inject)("m3-schema"),y=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"feedActionEvent",C,this);(0,t.default)(this,"m3Schema",T,this);(0,n.default)(this,"shareOrigin","BROADCAST")}get initialDetourManager(){return new l.default(this.args.updateMetadata,this.args.commentary,this.args.content,this.m3Schema)}onCTAClick(e,t){t()
this.feedActionEvent.fireFAE(e,{actionCategory:"SHARE",actionType:"broadcastShare",controlName:"broadcast_share_post"})}},C=(0,o.default)(y.prototype,"feedActionEvent",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,o.default)(y.prototype,"m3Schema",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.default)(y.prototype,"onCTAClick",[s.action],Object.getOwnPropertyDescriptor(y.prototype,"onCTAClick"),y.prototype),y))}))
define("feed-shared/components/prompt-component",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/object","global-utils/utils/url","dash-interop-helper/utils/get-graphql-value-with-dash-fallback","global-helpers/helpers/name","@linkedin/ember-restli-graphql","@ember/helper","@ember/service","@ember/destroyable","feed-utils/utils/error-parsing","tracked-toolbox","@ember/modifier","sharing-shared/utils/sharing-shared-constants","@glimmer/tracking","artdeco-button/components/artdeco-button","update-components/components/button","@glimmer/component","follows/components/connect-button","feed-components-shared/components/modals/decision-modal","ember-scroll-modifiers/modifiers/did-intersect","graphql-queries/queries/groups/fetch-groups-post-recommendation-info.graphql","follows/components/follow-button","global-utils/utils/trusted-html-safe","image-view-model/components/image-view-model","app-aware-link/components/navigation-context-link","graphql-queries/mutations/groups/recommend-group-post.graphql","feed-shared/components/sharebox-modal-with-success-callback","ember-cli-pemberly-i18n/helpers/t","text-view-model/components/text-view-model-v2","ember-cli-pemberly-tracking/modifiers/track-impression","ember-cli-pemberly-tracking/modifiers/track-interaction","groups-shared/utils/constants","feed-utils/utils/constants"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h,g,f,b,v,y,C,T,k,S,O,w,E,A,M,P,I,D,_,U,x,R,N,j,F){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var L,z,B,G,V,H,q,K,W,Y,Q,$,X,Z,J,ee,te,ne,oe,ie,ae,re,se
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"8x6lidfF",block:'[[[1,"\\n"],[41,[30,0,["showPromptComponent"]],[[[1,"      "],[11,0],[16,0,[29,["feed-shared-prompt-component ",[30,1]]]],[17,2],[4,[32,0],null,[["registerOnImpression","routeName","currentRoute"],[[30,0,["handleImpressionTracking"]],[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[4,[32,2],null,[["onEnter","options","maxEnter"],[[30,0,["handleLegoImpressionTracking"]],[28,[32,3],null,[["threshold"],[0.5]]],1]]],[12],[1,"\\n        "],[10,0],[14,0,"feed-shared-prompt-component__content"],[12],[1,"\\n"],[41,[30,0,["image"]],[[[1,"            "],[10,0],[14,0,"feed-shared-prompt-component__image"],[12],[1,"\\n"],[41,[30,0,["navigationContext"]],[[[1,"                "],[8,[32,4],[[16,"aria-label",[30,0,["navigationContext","accessibilityText"]]],[24,"target","_self"],[4,[32,5],["click",[30,0,["onImageClick"]]],null],[4,[32,6],[[30,0,["imageControlName"]]],null]],[["@href","@useDefaultLinkBehavior"],[[30,0,["navigationContext","actionTarget"]],false]],[["default"],[[[[1,"\\n                  "],[8,[32,7],null,[["@entitySize","@images"],[1,[30,0,["image"]]]],null],[1,"\\n                "]],[]]]]],[1,"\\n"]],[]],[[[1,"                "],[8,[32,7],null,[["@entitySize","@images"],[2,[30,0,["image"]]]],null],[1,"\\n"]],[]]],[1,"            "],[13],[1,"\\n"]],[]],null],[1,"\\n          "],[10,0],[14,0,"feed-shared-prompt-component__main"],[12],[1,"\\n"],[41,[30,3,["title"]],[[[1,"              "],[10,0],[15,0,[29,["feed-shared-prompt-component__title\\n                  ",[52,[51,[30,3,["description"]]],"update-components-prompt-component__title--no-description"]]]],[12],[1,"\\n                "],[8,[32,8],null,[["@tvm"],[[30,3,["title"]]]],null],[1,"\\n              "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,3,["description"]],[[[1,"              "],[10,0],[14,0,"feed-shared-prompt-component__description text-body-small"],[12],[1,"\\n                "],[8,[32,8],null,[["@tvm"],[[30,3,["description"]]]],null],[1,"\\n              "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["hasAction"]],[[[1,"              "],[10,0],[14,0,"feed-shared-prompt-component__action"],[12],[1,"\\n"],[41,[30,0,["navigateButton"]],[[[1,"                  "],[8,[32,9],[[24,0,"artdeco-button artdeco-button--secondary artdeco-button--2"]],[["@model","@updateTrackingObj","@invokeAction","@openLinkInNewTab","@isNavigationComponent"],[[30,0,["navigateButton"]],[30,4],[30,0,["handleNavigateButtonClick"]],false,true]],null],[1,"\\n"]],[]],null],[41,[30,0,["connectAction"]],[[[1,"                  "],[8,[32,10],[[4,[32,6],["prompt_connect_toggle"],null]],[["@hasInvitedToConnect","@onConnectClick","@shouldShowIcon","@buttonClass"],[[30,0,["hasInvitedToConnect"]],[30,0,["sendConnectionInvite"]],true,"artdeco-button artdeco-button--secondary artdeco-button--2"]],null],[1,"\\n"]],[]],null],[41,[30,0,["subscribeAction"]],[[[1,"                  "],[8,[32,11],[[4,[32,5],["click",[30,0,["handleSubscribeButtonClick"]]],null],[4,[32,6],["prompt_subscribe_toggle"],null]],[["@circle","@color","@controlType","@icon","@size","@type"],[true,"muted","button",[52,[30,0,["isSubscribed"]],"bell-fill","bell-outline"],2,"secondary"]],null],[1,"\\n"]],[]],null],[41,[30,0,["followAction"]],[[[1,"                  "],[8,[32,12],[[24,0,"artdeco-button artdeco-button--secondary artdeco-button--2"]],[["@controlName","@fireCustomTracking","@followingInfo","@iconType","@showText","@isDashEnabled"],[[30,0,["followControlName"]],[30,0,["handleFollowButtonClick"]],[30,0,["followingInfo"]],"add",true,true]],null],[1,"\\n"]],[]],null],[41,[30,0,["recommendGroupPostAction"]],[[[1,"                  "],[8,[32,11],[[4,[32,5],["click",[30,0,["handleRecommendButtonClick"]]],null],[4,[32,6],["prompt_recommend_group_post_click"],null]],[["@color","@controlType","@size","@text","@type"],["muted","button",2,[28,[32,13],["i18n_recommend_btn_text","feed-shared/components/prompt-component"],null],"secondary"]],null],[1,"\\n"]],[]],null],[41,[30,0,["postGroupQuestionAction"]],[[[1,"                  "],[8,[32,11],[[4,[32,5],["click",[30,0,["handlePostGroupQuestionClick"]]],null]],[["@color","@controlType","@size","@text","@type"],["muted","button",2,[30,0,["postGroupQuestionAction","buttonText"]],"secondary"]],null],[1,"\\n"]],[]],null],[1,"              "],[13],[1,"\\n"]],[]],null],[1,"          "],[13],[1,"\\n\\n          "],[10,0],[14,0,"feed-shared-prompt-component__dismiss-btn"],[12],[1,"\\n            "],[8,[32,11],[[16,"aria-label",[28,[32,13],["i18n_close_btn_a11y_text","feed-shared/components/prompt-component"],null]],[4,[32,5],["click",[30,0,["onPromptComponentDismiss"]]],null],[4,[32,6],["prompt_dismiss"],null]],[["@circle","@color","@icon","@size","@type"],[true,"muted","close",1,"tertiary"]],null],[1,"\\n          "],[13],[1,"\\n"],[41,[30,0,["showDecisionModal"]],[[[41,[30,0,["decisionModalContext","modalInfoItems"]],[[[1,"              "],[8,[32,14],null,[["@isModalOpen","@modalContext","@closeDecisionModal"],[[30,0,["showDecisionModal"]],[30,0,["decisionModalContext"]],[30,0,["closeDecisionModal"]]]],[["default"],[[[[1,"\\n"],[42,[28,[31,4],[[28,[31,4],[[30,0,["decisionModalContext","modalInfoItems"]]],null]],null],null,[[[1,"                  "],[10,0],[14,0,"display-flex mv5 pl4 pr2"],[12],[1,"\\n                    "],[8,[32,7],[[24,0,"mr4"]],[["@images"],[[30,5,["icon"]]]],null],[1,"\\n                    "],[10,1],[12],[8,[32,8],null,[["@tvm"],[[30,5,["text"]]]],null],[13],[1,"\\n                  "],[13],[1,"\\n"]],[5]],null],[1,"              "]],[]]]]],[1,"\\n"]],[]],[[[1,"              "],[8,[32,14],null,[["@isModalOpen","@modalContext","@closeDecisionModal"],[[30,0,["showDecisionModal"]],[30,0,["decisionModalContext"]],[30,0,["closeDecisionModal"]]]],null],[1,"\\n"]],[]]]],[]],null],[1,"\\n"],[41,[30,0,["showGroupsShareboxModal"]],[[[1,"            "],[8,[32,15],null,[["@recommendationUrn","@referenceUrn","@recommendationAction","@onShareSuccess","@usecase"],[[30,0,["postGroupQuestionAction","questionUrn"]],[30,0,["groupUrn"]],[30,0,["questionRecommendationAction"]],[30,0,["closeGroupsShareboxModal"]],[30,0,["questionRecommendationUseCase"]]]],[["default"],[[[[1,"\\n              "],[8,[30,6],null,[["@fixedVisibilityType","@isShareboxModalOpen","@prefilledTextTVMV2","@onCloseShareboxModal","@shareOrigin"],[[30,0,["groupsShareboxVisibilityType"]],[30,0,["showGroupsShareboxModal"]],[30,0,["postGroupQuestionAction","questionText"]],[30,0,["closeGroupsShareboxModal"]],[30,0,["shareOrigin"]]]],null],[1,"\\n            "]],[6]]]]],[1,"\\n"]],[]],null],[1,"        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"  "]],["@classNames","&attrs","@model","@updateTrackingObj","infoItem","ShareboxModal"],false,["if","-get-dynamic-var","unless","each","-track-array"]]',moduleName:"feed-shared/components/prompt-component.gjs",scope:()=>[R.default,p.get,w.default,p.hash,I.default,b.on,N.default,P.default,x.default,T.default,S.default,C.default,A.default,U.default,O.default,_.default],isStrictMode:!0}),(L=(0,m.inject)("tracking"),z=(0,m.inject)("lego@tracking"),B=(0,m.inject)("global-services@local-storage"),G=(0,m.inject)("global-services@store-shim"),V=(0,m.inject)("persistent-toast-manager@persistent-toast-manager"),H=(0,m.inject)("i18n"),q=(0,m.inject)("invitation-platform@invitation-platform"),K=(0,m.inject)("@linkedin/ember-restli-graphql@graphql"),W=(0,f.localCopy)("promptAction.subscribe.subscribed"),Y=class extends k.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",Q,this);(0,t.default)(this,"legoTracking",$,this);(0,t.default)(this,"localStorage",X,this);(0,t.default)(this,"storeShim",Z,this);(0,t.default)(this,"persistentToastManager",J,this);(0,t.default)(this,"i18n",ee,this);(0,t.default)(this,"invitationPlatform",te,this);(0,t.default)(this,"graphql",ne,this);(0,t.default)(this,"isSubscribed",oe,this);(0,t.default)(this,"isPromptComponentDismissed",ie,this);(0,t.default)(this,"showDecisionModal",ae,this);(0,t.default)(this,"showGroupsShareboxModal",re,this);(0,t.default)(this,"decisionModalContext",se,this);(0,n.default)(this,"followControlName",F.PROMPT_COMPONENT_TRACKING_CONSTANTS.FOLLOW.BUTTON_CONTROL_NAME);(0,n.default)(this,"shareOrigin",v.SHARE_ORIGIN.FEED);(0,n.default)(this,"questionRecommendationUseCase",j.GROUP_RECOMMENDATION_USECASES.MAIN_FEED_UPDATE_ATTACHMENT);(0,n.default)(this,"questionRecommendationAction",j.GROUP_RECOMMENDATION_ACTIONS.QUESTION_POSTED)}get promptAction(){return(0,d.getGraphQlValueWithDashFallback)(this.args.model,"promptAction")}get hasAction(){return!!this.promptAction}get navigateButton(){var e
return null===(e=this.promptAction)||void 0===e?void 0:e.navigate}get navigationContext(){return this.args.model.imageNavigationContext}get image(){return this.args.model.image}get subscribeAction(){var e
return null===(e=this.promptAction)||void 0===e?void 0:e.subscribe}get connectAction(){var e
return null===(e=this.promptAction)||void 0===e?void 0:e.connect}get followAction(){var e
return null===(e=this.promptAction)||void 0===e?void 0:e.follow}get followingInfo(){return this.followAction.followingState}get hasInvitedToConnect(){return this.connectAction&&"INVITATION_PENDING"===(0,s.get)(this.connectAction,"type")}get recommendGroupPostAction(){var e
return null===(e=this.promptAction)||void 0===e?void 0:e.recommendGroupPostAction}get postGroupQuestionAction(){var e
return null===(e=this.promptAction)||void 0===e?void 0:e.postGroupQuestionAction}get showPromptComponent(){if(this.args.isMultiPhotoPost){return!this.localStorage.getItem("has-dismissed-multiphoto-deprecation-experiment-prompt")&&!this.isPromptComponentDismissed}return!this.isPromptComponentDismissed}get imageControlName(){let e
e=this.subscribeAction?F.PROMPT_COMPONENT_TRACKING_CONSTANTS.SUBSCRIBE.IMAGE_CONTROL_NAME:this.followAction?F.PROMPT_COMPONENT_TRACKING_CONSTANTS.FOLLOW.IMAGE_CONTROL_NAME:F.PROMPT_COMPONENT_TRACKING_CONSTANTS.IMAGE_CONTROL_NAME
return e}get recommendedGroupPostUrn(){return this.recommendGroupPostAction.groupPostUrn}get groupUrn(){var e
return null===(e=this.args.updateMetadata)||void 0===e?void 0:e.group.entityUrn}get groupName(){var e,t
return(null===(e=this.args.updateMetadata)||void 0===e||null===(t=e.group)||void 0===t?void 0:t.name)||""}get legoTrackingId(){var e
return null===(e=this.args.updateMetadata.trackingData)||void 0===e?void 0:e.trackingId}get isSponsored(){var e
return!(null===(e=this.args.updateMetadata.trackingData)||void 0===e||!e.sponsoredTracking)}get isPublicGroup(){var e,t,n
return(null===(e=this.args.updateMetadata)||void 0===e||null===(t=e.group)||void 0===t?void 0:t.publicVisibility)||"PUBLIC"===(null===(n=this.args.updateMetadata)||void 0===n?void 0:n.shareAudience)}onPromptComponentDismiss(){var e,t
this.args.isMultiPhotoPost&&this.localStorage.setItem("has-dismissed-multiphoto-deprecation-experiment-prompt",!0)
this.isPromptComponentDismissed=!0
const{model:n,updateTrackingObj:o,isMultiPhotoPost:i,isDocumentPost:a}=this.args
let r=""
r=i?"dismissMultiPhotoPrompt":a?"dismissDocumentPrompt":n.dismissTrackingActionType
r&&(null==o||o.fireFeedActionAndSponsoredTrackingEvents({actionType:r,controlName:"prompt_dismiss",accessoryTrackingId:n.trackingId,actionCategory:"DISMISS"}))
this._fireLegoEvent(this.legoTracking.LEGO_ACTION_DISMISS)
null===(e=(t=this.args).onHideUpdateAttachment)||void 0===e||e.call(t)}onImageClick(){const{model:e,updateTrackingObj:t}=this.args,n=this.navigationContext.trackingActionType,o=this.imageControlName
n&&(null==t||t.fireFeedActionAndSponsoredTrackingEvents({actionType:n,controlName:o,accessoryTrackingId:e.trackingId,actionCategory:"VIEW"}))}handleImpressionTracking(){const{model:e,updateTrackingObj:t,triggerAction:n=null}=this.args,{trackingId:o}=e
let i
i=this.subscribeAction?F.PROMPT_COMPONENT_TRACKING_CONSTANTS.SUBSCRIBE.CONTROL_NAME:this.connectAction?F.PROMPT_COMPONENT_TRACKING_CONSTANTS.CONNECT.CONTROL_NAME:this.followAction?this.followControlName:this.recommendGroupPostAction?F.PROMPT_COMPONENT_TRACKING_CONSTANTS.RECOMMEND_GROUP_POST.CONTROL_NAME:this.postGroupQuestionAction?F.PROMPT_COMPONENT_TRACKING_CONSTANTS.POST_GROUP_QUESTION.CONTROL_NAME:this.navigateButton?F.PROMPT_COMPONENT_TRACKING_CONSTANTS.PROMPT_NAVIGATION_NAME:F.PROMPT_COMPONENT_TRACKING_CONSTANTS.PROMPT_CONTROL_NAME
const a=null==t?void 0:t.generateFeedAccessoryImpressionEventBody([{accessoryEntityUrn:null,accessoryTrackingId:o,controlUrn:this.tracking.generateControlUrn(i),listPosition:{index:1}}],o,F.ACCESSORY_TRIGGER_TYPE_MAP[n])
return()=>a?{body:a,name:"FeedAccessoryImpressionEvent"}:[]}handleLegoImpressionTracking(){this._fireLegoEvent(this.legoTracking.LEGO_IMPRESSION_VISIBILITY_SHOW)}handleFollowButtonClick(){const{model:e,updateTrackingObj:t}=this.args,{followAction:n}=this,{following:o}=this.followingInfo,{unfollowTrackingActionType:i}=n,{followTrackingActionType:a}=n
if(i||a){null==t||t.fireFeedActionAndSponsoredTrackingEvents({actionType:o?i:a,controlName:F.PROMPT_COMPONENT_TRACKING_CONSTANTS.FOLLOW.BUTTON_CONTROL_NAME,accessoryTrackingId:e.trackingId,actionCategory:o?F.FeedConstants.UNFOLLOW:F.FeedConstants.FOLLOW})
this._fireLegoEvent(this.legoTracking.LEGO_ACTION_PRIMARY)}}handleNavigateButtonClick(){var e
const t=null===(e=this.navigateButton.navigationContext)||void 0===e?void 0:e.trackingActionType,{model:n,updateTrackingObj:o}=this.args
null==o||o.fireFeedActionAndSponsoredTrackingEvents({actionType:t,controlName:F.PROMPT_COMPONENT_TRACKING_CONSTANTS.PROMPT_NAVIGATION_NAME,accessoryTrackingId:n.trackingId,actionCategory:"VIEW"})
this._fireLegoEvent(this.legoTracking.LEGO_ACTION_PRIMARY)}handleSubscribeButtonClick(){var e,t
const n=this.isSubscribed,o=`/voyager/api/voyagerPublishingDashSubscribeAction/${null===(e=this.promptAction)||void 0===e||null===(t=e.subscribe)||void 0===t?void 0:t.entityUrn}`,i={patch:{$set:{type:"AUTHOR",subscribed:!n}}}
return this.storeShim.queryURL(o,{method:"POST",reload:!0,params:i}).then((()=>{if(!this.isDestroying){var e,t,o,i,a,r
this.isSubscribed=!n
const s=null===(e=this.promptAction)||void 0===e||null===(t=e.subscribe)||void 0===t||null===(o=t.subscribeConfirmationMessage)||void 0===o?void 0:o.text,l=null===(i=this.promptAction)||void 0===i||null===(a=i.subscribe)||void 0===a||null===(r=a.unsubscribeConfirmationMessage)||void 0===r?void 0:r.text,d=this.isSubscribed?s:l
d&&this.persistentToastManager.success({message:d})
const{model:c,updateTrackingObj:u}=this.args
null==u||u.fireFeedActionAndSponsoredTrackingEvents({actionType:this.isSubscribed?F.PROMPT_COMPONENT_TRACKING_CONSTANTS.SUBSCRIBE.ACTION_TYPE.subscribe:F.PROMPT_COMPONENT_TRACKING_CONSTANTS.SUBSCRIBE.ACTION_TYPE.unsubscribe,controlName:F.PROMPT_COMPONENT_TRACKING_CONSTANTS.SUBSCRIBE.CONTROL_NAME,accessoryTrackingId:c.trackingId,actionCategory:this.isSubscribed?F.PROMPT_COMPONENT_TRACKING_CONSTANTS.SUBSCRIBE.ACTION_CATEGORY.subscribe:F.PROMPT_COMPONENT_TRACKING_CONSTANTS.SUBSCRIBE.ACTION_CATEGORY.unsubscribe})
this._fireLegoEvent(this.legoTracking.LEGO_ACTION_PRIMARY)}})).catch((e=>{if((0,h.isDestroying)(this))throw e
const t=this.i18n.lookupTranslation(this.constructor,"i18n_subscribe_error_toast")()
this.persistentToastManager.error({message:t})
throw e}))}sendConnectionInvite(){if(this.connectAction){var e
const t=this.connectAction.publicProfileIdentifier
null===(e=this.args.updateTrackingObj)||void 0===e||e.fireFeedActionAndSponsoredTrackingEvents({actionCategory:"CONNECT",actionType:"connectActor",controlName:"prompt_connect_toggle"})
this._fireLegoEvent(this.legoTracking.LEGO_ACTION_PRIMARY)
this.invitationPlatform.sendInvitationByProfileId({profileId:t}).then((e=>{if(!this.isDestroying){(0,s.set)(this.connectAction,"type","INVITATION_PENDING")
if(e&&e.followEdgeUpdated){const t=(0,c.getName)(e.invitee),n=(0,M.default)(this.i18n.lookupTranslation(this.constructor,"toast_connect_auto_follow_confirmation")([{member:t,linkInfo:{href:`${(0,l.getDomainUrl)()}/help/linkedin/answer/a702683`,target:"_blank"}}]))
this.persistentToastManager.success({message:n})}}})).catch((e=>{if((0,h.isDestroying)(this))throw e
if(!e||!e.isAdapterError)throw e
{const e=this.i18n.lookupTranslation(this.constructor,"i18n_connect_error_toast")()
this.persistentToastManager.error({message:e})}}))}}closeDecisionModal(){this.showDecisionModal=!1}closeGroupsShareboxModal(){this.showGroupsShareboxModal=!1}handleRecommendButtonClick(){var e
this.decisionModalContext={pageTrackingKey:"",learnMoreTrackingKey:"learn_more_recommend_post",modalTitle:void 0,modalDescription:void 0,modalInfoItems:void 0,confirmKeyText:void 0,cancelKeyText:void 0,learnMoreLink:void 0,modalCSS:void 0,descriptionCSS:void 0,cancelKeyCSS:void 0,illustrationName:void 0,learnMoreCSS:void 0,isLoading:!0,modalSize:"medium"}
this.isDestroying||(this.showDecisionModal=!0)
const{model:t,updateTrackingObj:n}=this.args
null==n||n.fireFeedActionAndSponsoredTrackingEvents({actionType:"recommendGroupPostAction",controlName:F.PROMPT_COMPONENT_TRACKING_CONSTANTS.RECOMMEND_GROUP_POST.CONTROL_NAME,accessoryTrackingId:t.trackingId,actionCategory:F.FeedConstants.RECOMMEND_GROUP_POST})
this._fireLegoEvent(this.legoTracking.LEGO_ACTION_PRIMARY)
this.graphql.executeQuery(E.default,{updateUrn:null===(e=this.args)||void 0===e?void 0:e.dashEntityUrn},{reload:!0}).then((e=>{var t
if((0,h.isDestroying)(this))return
const n=(null===(t=e.data.groupsDashPostRecommendationByPost)||void 0===t?void 0:t.elements[0])||{},o=n.dialogTitle||"",i=n.dialogBody||"",a=this.args.isPostRecommendationUpdatesEnabled?n.infoItems:null,r=n.canRecommend,d=!1,c=a?null:`${(0,l.getDomainUrl)()}/help/linkedin/answer/99576`,u=this.args.isPostRecommendationUpdatesEnabled?"text-align-left":null
r?(0,s.setProperties)(this.decisionModalContext,{modalTitle:o,modalDescription:i,modalInfoItems:a,isLoading:d,learnMoreLink:c,confirmKeyText:this.i18n.lookupTranslation(O.default,a?"confirm":"recommend")(),cancelKeyText:this.i18n.lookupTranslation(O.default,"cancel")(),modalCSS:u,confirmAction:this.handleRecommendButtonConfirmClick,cancelTrackingKey:"cancel_recommend_post",confirmTrackingKey:"recommend_group_post"}):(0,s.setProperties)(this.decisionModalContext,{modalTitle:o,modalDescription:i,isLoading:d,confirmKeyText:this.i18n.lookupTranslation(O.default,"okay")(),modalCSS:u,descriptionCSS:this.args.isPostRecommendationUpdatesEnabled?"text-body-medium t-black pl4 pr2 mv5":null,learnMoreCSS:this.args.isPostRecommendationUpdatesEnabled?"artdeco-button artdeco-button--secondary mr2":null,illustrationName:this.args.isPostRecommendationUpdatesEnabled?null:"megaphone",confirmTrackingKey:"close_recommend_post"})})).catch((e=>{if((0,h.isDestroying)(this))throw e
const t=e.errors||[],{message:n}=t[0]||{}
if((e.isAdapterError||e instanceof u.GraphQLQueryError)&&(0,g.isHttpErrorStatus)(e)){this.persistentToastManager.error({message:n})
this.showDecisionModal=!1}throw e}))}handleRecommendButtonConfirmClick(){var e
this.graphql.executeMutation(D.default,{updateUrn:null===(e=this.args)||void 0===e?void 0:e.dashEntityUrn}).then((()=>{if((0,h.isDestroying)(this))return
const e=this.i18n.lookupTranslation(O.default,"i18n_recommend_group_post_success")()
this.persistentToastManager.success({message:e})})).catch((e=>{if((0,h.isDestroying)(this))throw e
const t=e.errors||[],{message:n}=t[0]||{}
if((e.isAdapterError||e instanceof u.GraphQLQueryError)&&(0,g.isHttpErrorStatus)(e)){this.persistentToastManager.error({message:n})
this.showDecisionModal=!1}throw e}))}handlePostGroupQuestionClick(){const{model:e,updateTrackingObj:t}=this.args
this.groupsShareboxVisibilityType={type:"GROUP",containerEntity:this.groupUrn,name:this.groupName,iconType:this.isPublicGroup?"globe-americas":"group"}
this._openGroupsShareboxModal()
this.tracking.fireInteractionEvent(F.PROMPT_COMPONENT_TRACKING_CONSTANTS.POST_GROUP_QUESTION.CONTROL_NAME)
null==t||t.fireFeedActionAndSponsoredTrackingEvents({actionType:"share",controlName:F.PROMPT_COMPONENT_TRACKING_CONSTANTS.POST_GROUP_QUESTION.CONTROL_NAME,accessoryTrackingId:e.trackingId,actionCategory:"SHARE"})
this._fireLegoEvent(this.legoTracking.LEGO_ACTION_PRIMARY)}_openGroupsShareboxModal(){var e,t
null===(e=(t=this.args).onShareBoxModalOpen)||void 0===e||e.call(t)
this.showGroupsShareboxModal=!0}_fireLegoEvent(e){const{legoTrackingToken:t}=this.args.model
if(e&&t){const{legoTracking:n}=this
e===n.LEGO_IMPRESSION_VISIBILITY_SHOW?n.sendLegoImpression(t,e):n.sendLegoAction(t,e,1)}}},Q=(0,o.default)(Y.prototype,"tracking",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,o.default)(Y.prototype,"legoTracking",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,o.default)(Y.prototype,"localStorage",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,o.default)(Y.prototype,"storeShim",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,o.default)(Y.prototype,"persistentToastManager",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,o.default)(Y.prototype,"i18n",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,o.default)(Y.prototype,"invitationPlatform",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ne=(0,o.default)(Y.prototype,"graphql",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),oe=(0,o.default)(Y.prototype,"isSubscribed",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=(0,o.default)(Y.prototype,"isPromptComponentDismissed",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ae=(0,o.default)(Y.prototype,"showDecisionModal",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),re=(0,o.default)(Y.prototype,"showGroupsShareboxModal",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),se=(0,o.default)(Y.prototype,"decisionModalContext",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.default)(Y.prototype,"onPromptComponentDismiss",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"onPromptComponentDismiss"),Y.prototype),(0,o.default)(Y.prototype,"onImageClick",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"onImageClick"),Y.prototype),(0,o.default)(Y.prototype,"handleImpressionTracking",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"handleImpressionTracking"),Y.prototype),(0,o.default)(Y.prototype,"handleLegoImpressionTracking",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"handleLegoImpressionTracking"),Y.prototype),(0,o.default)(Y.prototype,"handleFollowButtonClick",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"handleFollowButtonClick"),Y.prototype),(0,o.default)(Y.prototype,"handleNavigateButtonClick",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"handleNavigateButtonClick"),Y.prototype),(0,o.default)(Y.prototype,"handleSubscribeButtonClick",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"handleSubscribeButtonClick"),Y.prototype),(0,o.default)(Y.prototype,"sendConnectionInvite",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"sendConnectionInvite"),Y.prototype),(0,o.default)(Y.prototype,"closeDecisionModal",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"closeDecisionModal"),Y.prototype),(0,o.default)(Y.prototype,"closeGroupsShareboxModal",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"closeGroupsShareboxModal"),Y.prototype),(0,o.default)(Y.prototype,"handleRecommendButtonClick",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"handleRecommendButtonClick"),Y.prototype),(0,o.default)(Y.prototype,"handleRecommendButtonConfirmClick",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"handleRecommendButtonConfirmClick"),Y.prototype),(0,o.default)(Y.prototype,"handlePostGroupQuestionClick",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"handlePostGroupQuestionClick"),Y.prototype),Y))}))
define("feed-shared/components/render-models/update-v2",["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","groups-shared/utils/constants","@ember/object","comments/utils/constants","@ember/debug","ember-lifeline","feed-utils/utils/public-group","global-utils/utils/api-compat","feed-utils/utils/process-sponsored-url-attributes","@ember/helper","global-utils/utils/urn-converter","global-utils/utils/url","dash-interop-helper/utils/get-graphql-value-with-dash-fallback","@ember/object/internals","restli-utils","@ember/service","@ember/destroyable","feed-utils/utils/viewability-overlap-util","@ember/utils","@ember/runloop","live/utils/live-constants","tracked-toolbox","rsvp","global-utils/utils/custom-tracking-transporters","@glimmer/tracking","global-utils/utils/a11y-focus-element","update-components/components/actor","update-components/components/additional-contents","feed-shared/components/aggregated-content","global-helpers/helpers/and","artdeco-inline-feedback/components/artdeco-inline-feedback","asset-loader/components/asset-loader","ember-cli-pemberly-i18n/helpers/bidi-dir","update-components/components/button","feed-shared/components/carousel","update-components/components/commentary-container","comments/components/comment-box","feed-control-menu/components/comment-restriction-settings-modal","@glimmer/component","voyager-web/config/environment","update-components/components/contextual-description-v2","update-components/components/contextual-header","feed-control-menu/components/control-menu","@ember/render-modifiers/modifiers/did-insert","ember-scroll-modifiers/modifiers/did-intersect","ember","feed-utils/helpers/exists","fetch","feed-utils/utils/authenticated-member-actor","feed-utils/utils/update-content-union-util","update-components/components/header","update-components/components/hidden-update-v2","feed-components-shared/components/inline-show-more-text","feed-components-shared/components/interstitial-container","global-utils/utils/is-browser","global-helpers/helpers/lazy-hash","feed-shared/components/lead-gen-modal-wrapper","ember-engines/components/link-to-external","global-helpers/helpers/map-inline-feedback-type","update-components/components/mini-update-v2","global-helpers/helpers/noop","global-helpers/helpers/not","global-modifiers/modifiers/on-resize-window","global-helpers/helpers/optional","global-helpers/helpers/or","ember-cli-pemberly-tracking/modifiers/rum-render-event","global-utils/utils/scroller","global-modifiers/modifiers/scroll-into-view","sharing-entry/components/share-box-modal","graphql-queries/queries/feed/single-update.graphql","feed-shared/components/sponsored-multithreshold-impression-tracking-wrapper","ember-cli-pemberly-i18n/helpers/t","update-components/components/text","ember-cli-pemberly-tracking/modifiers/track-impression","ember-cli-pemberly-tracking/modifiers/track-view","feed-tracking/utils/update-tracking-obj","social-details/components/social-activity-types/update-v2-social-activity","@ember/render-modifiers/modifiers/will-destroy","feed-utils/utils/constants","feed-utils/utils/client-sensor-constants","feed-requests/update-actions","feed-tracking/utils/tracking","feed-utils/helpers/render-model-path","ember-batcher","global-helpers/helpers/sum","global-helpers/helpers/get-class-hash","@linkedin/core-web-tracking"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h,g,f,b,v,y,C,T,k,S,O,w,E,A,M,P,I,D,_,U,x,R,N,j,F,L,z,B,G,V,H,q,K,W,Y,Q,$,X,Z,J,ee,te,ne,oe,ie,ae,re,se,le,de,ce,ue,pe,me,he,ge,fe,be,ve,ye,Ce,Te,ke,Se,Oe,we,Ee,Ae,Me,Pe,Ie,De,_e,Ue,xe,Re,Ne,je,Fe){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var Le,ze,Be,Ge,Ve,He,qe,Ke,We,Ye,Qe,$e,Xe,Ze,Je,et,tt,nt,ot,it,at,rt,st,lt,dt,ct,ut,pt,mt,ht,gt,ft,bt,vt,yt,Ct,Tt,kt,St,Ot,wt,Et,At,Mt,Pt,It,Dt,_t,Ut,xt,Rt,Nt,jt,Ft,Lt,zt,Bt,Gt,Vt,Ht,qt,Kt
const Wt=["feed.sponsored-update","feed.live-preview"],Yt="com.linkedin.voyager.feed.render.PollComponent",Qt="com.linkedin.voyager.dash.feed.component.polls.PollComponent",$t=[Yt,Qt],Xt=["com.linkedin.voyager.feed.render.FeedDividerComponent","com.linkedin.voyager.dash.feed.component.divider.FeedDividerComponent"],Zt=["article","image","external-video"],Jt="-52px 0% 0% 0%",en=Object.freeze({LINES_1:1,LINES_2:2,LINES_3:3,LINES_5:5,LINES_8:8,LINES_15:15}),{MAX_CAROUSEL_CONTENT_HEIGHT:tn}=Ie.CAROUSEL_IMAGE_SIZE_CONSTANTS,nn={companyMention:Ie.TRACKING_VIEW_NAMES.UPDATE_COMMENTARY_TEXT,profileMention:Ie.TRACKING_VIEW_NAMES.UPDATE_COMMENTARY_TEXT,email:Ie.TRACKING_VIEW_NAMES.UPDATE_COMMENTARY_TEXT,hashtag:Ie.TRACKING_VIEW_NAMES.UPDATE_COMMENTARY_TEXT,hyperlink:Ie.TRACKING_VIEW_NAMES.UPDATE_COMMENTARY_TEXT,textLink:Ie.TRACKING_VIEW_NAMES.UPDATE_COMMENTARY_TEXT}
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"w1mVJK4e",block:'[[[1,"\\n"],[1,"    "],[11,0],[24,0,"full-height"],[24,"data-view-name","feed-full-update"],[4,[32,0],null,[["onEnter","options"],[[30,0,["pageViewDidIntersectOptions","onEnter"]],[30,0,["pageViewDidIntersectOptions","options"]]]]],[4,[32,1],null,[["verticalPosition","viewName","view","trackingScope","genericTrackingLixKey","routeName","currentRoute"],[[30,0,["verticalPosition"]],"feed-full-update",[30,0],[30,0,["trackingScope"]],"voyager.web.feed-update-tracking3-impression-migration",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n      "],[11,0],[24,0,"full-height"],[4,[32,0],null,[["onEnter","onExit","options"],[[30,0,["onUpdateEnteredViewport"]],[30,0,["onUpdateExitedViewport"]],[28,[32,3],null,[["threshold"],[0.95]]]]]],[12],[1,"\\n        "],[11,0],[16,0,[29,["feed-shared-update-v2 feed-shared-update-v2--minimal-padding full-height feed-shared-update-v2--with-carousel-fix relative\\n            ",[52,[30,0,["showPremiumBranding"]],"premium-accent-bar"],"\\n            ",[52,[30,0,["isEdgeToEdge"]],"feed-shared-update-v2--e2e"],"\\n            ",[52,[30,1],"feed-shared-update-v2--highlighted"],"\\n            ",[52,[30,0,["shouldShowHighlightedCommentAnimation"]],"feed-shared-update-v2--highlighted-comment-animation"],"\\n            ",[52,[30,2],"feed-shared-update-v2--wrapped"],"\\n            ",[52,[30,0,["hasElevation"]],"artdeco-card"],"\\n            ",[52,[30,0,["hasBottomPadding"]],[28,[32,4],["pb4"],null]],"\\n            ",[52,[30,0,["isClickToMessageAd"]],"pb6"],"\\n            "]]],[16,1,[30,0,["elementId"]]],[16,"tabindex",[52,[30,0,["shouldFocusOnFeedUpdate"]],"-1"]],[24,"role","article"],[16,"aria-label",[52,[30,1],[28,[32,5],["highlighted_update_a11y_landmark","feed-shared/components/render-models/update-v2"],null]]],[16,"data-urn",[30,0,["updateId"]]],[17,3],[4,[32,6],[[30,0,["handleDidInsert"]]],null],[4,[32,7],[[30,0,["handleHiddenSponsoredUpdates"]]],null],[4,[32,0],null,[["onEnter","onExit","options"],[[52,[30,0,["didIntersectOptions","onEnter"]],[30,0,["didIntersectOptions","onEnter"]],[28,[32,8],null,null]],[52,[30,0,["didIntersectOptions","onExit"]],[30,0,["didIntersectOptions","onExit"]],[28,[32,8],null,null]],[30,0,["didIntersectOptions","options"]]]]],[4,[32,9],[[30,0,["onResizeWindow"]]],null],[4,[32,10],null,[["when","options"],[[30,0,["shouldScrollToHighlightedComment"]],[28,[32,3],null,[["behavior","target","block"],["smooth",".comments-comments-list","end"]]]]]],[4,[32,11],null,[["rumComponentId","elementId"],[[30,0,["rumComponentId"]],[30,0,["elementId"]]]]],[12],[1,"\\n          "],[8,[32,12],[[16,0,[30,4]]],[["@sponsoredMetadata","@updatePosition","@shouldSuppressTracking"],[[30,0,["sponsoredMetadata"]],[30,5],[28,[32,13],[[30,0,["isPromoComponent"]],[30,6,["sponsored"]]],null]]],[["default"],[[[[1,"\\n"],[41,[30,0,["isUpdateHiddenByControlMenuAction"]],[[[1,"              "],[11,0],[24,"role","status"],[4,[32,14],null,[["registerOnImpression","thresholdMillisecondsInViewport","thresholdPercentageInViewport","routeName","currentRoute"],[[30,0,["onTrackImpression"]],0,50,[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n                "],[8,[32,15],null,[["@hideOrUnhideUpdateOnAction","@restoreFocus","@isCenteredLayout","@update","@updateTrackingObj","@menuAction","@associatedSettingType","@isDashEnabled"],[[30,0,["hideOrUnhideUpdateOnAction"]],[30,0,["restoreFocus"]],[30,7],[30,0,["update"]],[30,0,["updateTrackingObj"]],[30,0,["menuAction"]],[30,0,["menuActionAssociatedSettingType"]],[30,8]]],null],[1,"\\n              "],[13],[1,"\\n"]],[]],[[[1,"              "],[10,0],[14,0,"feed-shared-update-v2__control-menu-container display-flex flex-column flex-grow-1 full-height"],[12],[1,"\\n                "],[18,58,[[28,[32,16],null,[["controlMenu","header","contextualHeader","detailHeader","actor","resharedUpdateActor","contextualDescriptionV2","inlineShowMoreText","interstitial","commentary","resharedUpdateCommentaryContainer","commentaryContainer","content","carouselContent","footer","resharedUpdate","aggregatedContent","inlineFeedback","additionalContents","updateV2SocialActivity","resharedUpdateV2SocialActivity","leadGenModal","leadGenCTA"],[[52,[51,[28,[32,13],[[30,9],[30,0,["isVideoCarousel"]]],null]],[50,[32,17],0,null,[["actor","allowedCommentersScope","class","contentClass","hasDocument","hasLinkedInVideo","hideOrUnhideUpdateOnAction","isDashEnabled","reloadActionsDisabled","normalizedCommentary","onControlMenuItemSelection","isAccuratePreview","onDeleted","onEdit","onEditCaptions","onHideUpdateAttachment","onToggleCommenting","onTriggerUpdateAttachment","triggerSponsoredUpdatePostNudge","reloadUpdate","removeUpdate","updateCommentRestrictionSetting","updateEntityUrn","updateMetadata","updateTrackingObj","shouldFocusOnControlTrigger","expandCommentBox","isPostRecommendationUpdatesEnabled","sponsoredMetadataForPrerollVideo","socialDetail"],[[30,0,["update","actor"]],[30,0,["update","socialDetail","allowedCommentersScope"]],"feed-shared-update-v2__control-menu absolute text-align-right",[30,0,["normalizedContentClass"]],[30,0,["hasDocument"]],[30,0,["hasLinkedInVideo"]],[30,0,["hideOrUnhideUpdateOnAction"]],[30,8],[30,10],[30,0,["normalizedCommentary"]],[30,11],[30,12],[30,13],[28,[32,18],[[28,[32,19],[[30,14]],null],true,[30,0,["editShareReturnFocusTo"]]],null],[28,[32,18],[[28,[32,19],[[30,15]],null],true],null],[30,16],[30,0,["onToggleCommenting"]],[30,17],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["reloadUpdate"]],[30,18],[30,0,["updateCommentRestrictionSetting"]],[30,0,["update","entityUrn"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]],[30,0,["shouldFocusOnControlTrigger"]],[30,0,["expandCommentBox"]],[30,19],[30,0,["sponsoredMetadataForPrerollVideo"]],[30,0,["update","socialDetail"]]]]]],[52,[30,0,["update","header"]],[50,[32,20],0,null,[["isDashEnabled","model","openLinksExternally","triggerSponsoredUpdatePostNudge","updateMetadata","updateTrackingObj","useTVM","class"],[[30,8],[30,0,["update","header"]],[30,0,["openLinksExternally"]],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]],false,[52,[30,0,["isVideoCarousel"]],"update-components-header--video-carousel"]]]]],[52,[30,0,["update","contextualHeader"]],[50,[32,21],0,null,[["model","updateTrackingObj","triggerSponsoredUpdatePostNudge","isDashEnabled"],[[30,0,["update","contextualHeader"]],[30,0,["updateTrackingObj"]],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,8]]]]],[52,[30,0,["update","detailHeader"]],[50,[32,20],0,null,[["isDashEnabled","model","openLinksExternally","triggerSponsoredUpdatePostNudge","updateMetadata","updateTrackingObj"],[[30,8],[30,0,["update","detailHeader"]],[30,0,["openLinksExternally"]],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","actor"]],[50,[32,22],0,null,[["class","expandCommentBox","isCarouselUpdate","isDashEnabled","isDetailView","isSponsored","model","onActorClick","onGroupMembershipUpdate","onTriggerUpdateAttachment","openLinksExternally","triggerSponsoredUpdatePostNudge","updateMetadata","updatePosition","updateTrackingObj","videoAnalyticsRouteName"],[[52,[30,20],"hidden"],[30,0,["expandCommentBox"]],[30,7],[30,8],[30,21],[30,0,["isSponsored"]],[30,0,["update","actor"]],[30,0,["onActorClick"]],[30,0,["onGroupMembershipUpdate"]],[30,17],[30,0,["openLinksExternally"]],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["updateMetadata"]],[30,5],[30,0,["updateTrackingObj"]],[30,22]]]]],[52,[30,0,["isUpdateDetailViewerForResharedPostsEnabled"]],[52,[30,0,["update","resharedUpdate"]],[50,[32,22],0,null,[["class","entitySize","isDashEnabled","isReshareContent","model","onTriggerUpdateAttachment","updateMetadata","updateTrackingObj","isRingHidden"],[[52,[51,[30,0,["update","resharedUpdate","contextualHeader"]]],"pt3"],2,[30,8],true,[30,0,["update","resharedUpdate","actor"]],[30,17],[30,0,["update","resharedUpdate","metadata"]],[30,0,["updateTrackingObj"]],true]]]]],[52,[30,0,["contextualDescription"]],[50,[32,23],0,null,[["containsActorComponent","isDashEnabled","model","openLinksExternally","triggerSponsoredUpdatePostNudge","updateMetadata","updateTrackingObj"],[[28,[32,24],[[30,0,["update","actor"]]],null],[30,8],[30,0,["contextualDescription"]],[30,0,["openLinksExternally"]],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[50,[32,25],0,null,[["class","numLinesBeforeTruncation","trackingOverrides","updateTrackingObj"],["feed-shared-inline-show-more-text--minimal-padding",[30,0,["commentaryNumLines"]],[30,0,["commentaryInlineSeeMoreTrackingOverrides"]],[30,0,["updateTrackingObj"]]]]],[50,[32,26],0,null,[["model","coverage","size","navigationCtaActionType","updateTrackingObj","entityUrn","isDashEnabled"],[[30,0,["update","interstitial","interstitial"]],[30,0,["update","interstitial","coverageType"]],[30,0,["update","interstitial","templateType"]],[30,0,["update","interstitial","navigationCtaActionType"]],[30,0,["updateTrackingObj"]],[30,0,["updateId"]],[30,8]]]],[52,[30,0,["normalizedCommentary"]],[50,[32,27],0,null,[["class","ignoreNavigationContext","model","openLinksExternally","textAttributeControlNames","textDirection","isDashEnabled","shouldShowLineBreaks","triggerSponsoredUpdatePostNudge","updateMetadata","updateTrackingObj"],["update-components-update-v2__commentary",true,[30,0,["normalizedCommentary"]],[30,0,["openLinksExternally"]],[32,28],[28,[32,29],[[30,0,["normalizedCommentary","text","text"]]],null],[30,8],[30,23],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["isUpdateDetailViewerForResharedPostsEnabled"]],[52,[30,0,["update","resharedUpdate"]],[50,[32,30],0,null,[["data-test-feed-commentary-container","commentary","containerElementWidth","disableContentHeightAdjustment","isDashEnabled","isExpanded","updateMetadata","updateTrackingObj"],[true,[30,0,["update","resharedUpdate","commentary"]],[30,24],[30,25],[30,8],[30,21],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]]],[52,[30,0,["normalizedCommentary"]],[50,[32,30],0,null,[["adjustedCommentaryHeight","class","commentary","commentaryInlineSeeMoreTrackingOverrides","disableContentHeightAdjustment","containerElementWidth","expandCommentBox","ignoreNavigationContext","isCarouselUpdate","isDashEnabled","isExpanded","isTextOnly","isTranslationSupported","maybeLinkToComponent","numLinesBeforeTruncation","openLinksExternally","textAttributeControlNames","triggerSponsoredUpdatePostNudge","updateMetadata","updateTrackingObj"],[[52,[30,0,["isNewsLetterOrJobsOnMediumCardsEnabled"]],[30,0,["adjustedCommentaryHeight"]]],[28,[32,4],["feed-shared-update-v2__description-wrapper"],null],[30,0,["normalizedCommentary"]],[30,0,["commentaryInlineSeeMoreTrackingOverrides"]],[30,25],[30,0,["containerElementWidth"]],[30,0,["expandCommentBox"]],[28,[32,31],[[30,7]],null],[30,7],[30,8],[30,0,["shouldExpandCommentaryText"]],[30,0,["isTextOnlyPost"]],[30,0,["showTranslateButton"]],[52,[30,7],[50,[32,32],0,null,[["route","model","click","class","tabindex"],["feed.update",[30,0,["updateId"]],[30,0,["navigateToDetailTracking"]],"tap-target carousel-update-commentary__link-to-details-page text-body-medium","-1"]]]],[28,[32,33],[[30,0,["commentaryNumLines"]],[30,0,["adjustedNumCommentaryLines"]]],null],[30,0,["openLinksExternally"]],[32,28],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[28,[32,34],[[30,0],[28,[32,35],[[30,0,["normalizedContent"]]],null]],null],[50,[28,[32,34],[[30,0],[28,[32,35],[[30,0,["normalizedContent"]]],null]],null],0,null,[["class","actor","authenticatedActor","content","entityUrn","guid","hasActor","hideOrUnhideUpdateOnAction","isAccuratePreview","isAdsTransparency","isCarouselUpdate","disableContentHeightAdjustment","isFixedHeightCarouselUpdate","isDetailView","isEditingShare","isLeadGenFormUpdate","model","onEdit","onEditCaptions","onTriggerUpdateAttachment","triggerSponsoredUpdatePostNudge","openLinksExternally","setSurveyDisplayContent","shouldSuppressTracking","shouldHideVideoCaptionBanners","surveyDisplayContent","update","updateMetadata","updateModelWithProperties","updateTrackingObj","isDashEnabled","fireCustomTracking","expandCommentBox","trackingId","actionTrackingHandler","isPostRecommendationUpdatesEnabled","leadGenFormCtaComponent","updatePosition"],[[30,0,["contentClass"]],[30,0,["update","actor"]],[30,0,["actor"]],[30,0,["update","content"]],[30,0,["update","entityUrn"]],[30,0,["elementId"]],[30,0,["hasActor"]],[30,0,["hideOrUnhideUpdateOnAction"]],[30,0,["isAccuratePreview"]],[30,26],[30,7],[30,25],[30,27],[30,21],[30,20],[30,0,["isLeadGenFormUpdate"]],[30,0,["normalizedContent"]],[28,[32,18],[[28,[32,19],[[30,14]],null],true,[30,0,["editShareReturnFocusTo"]]],null],[28,[32,18],[[28,[32,19],[[30,15]],null],true],null],[30,17],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["openLinksExternally"]],[30,28],[30,6],[30,29],[30,30],[30,0,["update"]],[30,0,["updateMetadata"]],[30,0,["updateModelWithProperties"]],[30,0,["updateTrackingObj"]],[30,8],[30,0,["fireCustomTracking"]],[30,0,["expandCommentBox"]],[30,0,["updateTrackingObj","trackingId"]],[30,0,["actionTrackingHandler"]],[30,19],[52,[30,0,["isLeadGenFormUpdate"]],[50,[32,36],0,null,[["controlName","model","updateMetadata","updateTrackingObj","triggerSponsoredUpdatePostNudge"],["call_to_action",[30,0,["leadGenFormContent","ctaButton"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]],[30,0,["triggerSponsoredUpdatePostNudge"]]]]]],[30,5]]]]],[52,[28,[32,37],[[30,0,["normalizedCarouselContent"]],[28,[32,31],[[30,0,["isVideoCarousel"]]],null]],null],[50,[32,38],0,null,[["authenticatedActor","carouselNextAriaLabel","carouselPreviousAriaLabel","expandCommentBox","hideCaEntryPoint","impressionRowPosition","isAdminPost","isDashEnabled","model","openLinksExternally","organizationUniversalName","shouldSuppressTracking","showADNavigationButtons","triggerSponsoredUpdatePostNudge","updateMetadata","updateTrackingObj"],[[30,0,["actor"]],[30,31],[30,32],[30,0,["expandCommentBox"]],[30,33],[30,5],[30,9],[30,8],[30,0,["normalizedCarouselContent"]],[30,0,["openLinksExternally"]],[30,34],[30,6],[30,35],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[28,[32,34],[[30,0],[28,[32,35],[[30,0,["normalizedFooter"]]],null]],null],[50,[28,[32,34],[[30,0],[28,[32,35],[[30,0,["normalizedFooter"]]],null]],null],0,null,[["actor","class","commentary","content","data-test-update-v2-footer","model","updateMetadata","updateTrackingObj","triggerSponsoredUpdatePostNudge","isDashEnabled","isUpdateFooter","isDetailView","updateReferenceId","socialDetail","isEligibleForDwellAnimation"],[[30,0,["update","actor"]],"feed-shared-footer",[30,0,["update","commentary"]],[30,0,["normalizedContent"]],true,[30,0,["normalizedFooter"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,8],true,[30,21],[30,0,["elementId"]],[30,0,["update","socialDetail"]],[30,0,["isEligibleForDwellAnimation"]]]]]],[52,[30,0,["update","resharedUpdate"]],[50,[32,39],0,null,[["authenticatedActor","containerElementWidth","disableContentHeightAdjustment","isCarouselUpdate","isFixedHeightCarouselUpdate","isReshareContent","update","navigateToDetailTracking","onActorClick","onTriggerUpdateAttachment","triggerSponsoredUpdatePostNudge","updateTrackingObj","numLinesBeforeTruncation","isDashEnabled"],[[30,0,["actor"]],[30,0,["containerElementWidth"]],[30,25],[30,7],[30,27],true,[30,0,["update","resharedUpdate"]],[30,0,["navigateToDetailTracking"]],[30,0,["onActorClick"]],[30,17],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["updateTrackingObj"]],[30,0,["commentaryNumLinesForReshareInCarousel"]],[30,8]]]]],[52,[30,0,["update","aggregatedContent"]],[50,[32,40],0,null,[["model","updateMetadata","updatePosition","updateTrackingObj","triggerSponsoredUpdatePostNudge","isDashEnabled"],[[30,0,["update","aggregatedContent"]],[30,0,["updateMetadata"]],[30,5],[30,0,["updateTrackingObj"]],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,8]]]]],[52,[30,0,["inlineFeedback"]],[50,[32,41],0,null,[["classNames","linkText","message","onClick","type"],[[28,[32,42],["pv2 ph3 ",[52,[30,0,["isClickToMessageAd"]],"mt6"]],null],[52,[30,8],[30,0,["inlineFeedback","linkText"]],[30,0,["inlineFeedback","link","text"]]],[30,0,["inlineFeedback","text"]],[52,[28,[32,13],[[30,0,["inlineFeedback","linkText"]],[30,0,["inlineFeedback","link","text"]]],null],[28,[32,18],[[30,0,["onClickInlineFeedbackLink"]],[30,0,["update","annotation"]]],null],[27]],[28,[32,43],[[30,0,["inlineFeedback","type"]]],null]]]]],[52,[30,0,["normalizedAdditionalContents"]],[50,[32,44],0,null,[["isDetailView","updateTrackingObj","triggerSponsoredUpdatePostNudge","additionalContents"],[[30,21],[30,0,["updateTrackingObj"]],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["normalizedAdditionalContents"]]]]]],[50,[32,45],0,null,[["elementId","a11yContext","authenticatedActor","caEngineName","canRequestConversationStarters","commentingAtActors","commentNetworkErrorMessage","commentSortType","commentListPaginationTokenFromUpdate","conversationStarters","conversationStartersUseCase","containerElementWidth","entityUrn","hasRequestedConversationStarters","fireCustomTracking","groupId","hideCaEntryPoint","hideCommentsWithoutInteraction","hideDetourButtons","hideReactionsMenu","hideReshare","hideSendPrivately","initialTextAndMentions","isCarouselUpdate","isClickToMessageAd","isCommentingDisabled","isCommentsCountVisible","isConversationStartersAnimating","isCurrentUserAuthor","isDashEnabled","isDashUpdate","isDetailView","isHighlightedUpdate","isLoadingComments","loadCommentsOnSocialActions","maxQuickReplies","onConversationStartersAnimationEnd","onFetchConversationStarters","onReactionClick","onRepostsTotalClick","onSaveCallback","onShareSuccess","onTriggerUpdateAttachment","toggleUpdateDetailViewer","triggerSponsoredUpdatePostNudge","reshareUrlOverride","shareAudience","shouldDisableAllSocialActions","shouldExpandCommentBox","shouldFocusTexteditor","shouldOpenCommentsList","shouldShowContentAdminIdentityToggle","showCommentBox","conversationStartersUnavailable","socialCountClassNames","socialDetail","sponsoredMetadata","switchActorIdentity","update","updateAuthor","updateId","updateMetadata","updatePosition","updateTrackingObj","videoAnalyticsRouteName","resharePageInstanceOverride","dashAnchoredCommentUrn","dashAnchoredReplyUrn"],[[30,0,["elementId"]],[30,0,["a11yContext"]],[30,0,["actor"]],[30,0,["caEngineName"]],[30,0,["canRequestConversationStarters"]],[30,0,["commentingAtActors"]],[30,0,["commentNetworkErrorMessage"]],[30,0,["commentSortType"]],[30,0,["commentListPaginationTokenFromUpdate"]],[30,36],[30,0,["conversationStartersUseCase"]],[30,0,["containerElementWidth"]],[30,0,["updateId"]],[30,37],[30,0,["fireCustomTracking"]],[30,0,["groupId"]],[30,33],[30,38],[30,0,["isLegacyGroupPost"]],[30,39],[30,40],[30,0,["hideSendPrivately"]],[30,41],[30,7],[30,0,["isClickToMessageAd"]],[30,0,["isCommentingDisabled"]],[30,0,["isCommentsCountVisible"]],[30,42],[30,0,["isCurrentUserAuthor"]],[30,8],[30,8],[30,21],[30,1],[30,43],true,[52,[30,7],1],[30,44],[30,45],[30,0,["onReactionClick"]],[30,0,["onRepostsTotalClick"]],[30,0,["onSaveCallback"]],[30,46],[30,17],[30,47],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["reshareUrlOverride"]],[30,0,["updateMetadata","shareAudience"]],[30,0,["update","interstitial","interstitial","shouldShowInterstitial"]],[30,0,["shouldExpandCommentBox"]],[30,48],[30,0,["shouldOpenCommentsList"]],[30,0,["shouldShowContentAdminIdentityToggle"]],[30,49],[30,50],[30,51],[30,0,["update","socialDetail"]],[30,0,["sponsoredMetadata"]],[30,0,["switchActorIdentity"]],[30,0,["update"]],[30,0,["updateAuthor"]],[30,0,["updateId"]],[30,0,["updateMetadata"]],[30,5],[30,0,["updateTrackingObj"]],[30,22],[30,52],[30,53],[30,54]]]],[52,[30,0,["isUpdateDetailViewerForResharedPostsEnabled"]],[52,[30,0,["update","resharedUpdate"]],[50,[32,45],0,null,[["a11yContext","authenticatedActor","caEngineName","canRequestConversationStarters","commentingAtActors","commentNetworkErrorMessage","commentSortType","conversationStarters","conversationStartersUseCase","entityUrn","hasRequestedConversationStarters","fireCustomTracking","groupId","hideCaEntryPoint","hideCommentsWithoutInteraction","hideDetourButtons","hideReactionsMenu","hideReshare","hideSendPrivately","initialTextAndMentions","isCarouselUpdate","isClickToMessageAd","isCommentingDisabled","isCommentsCountVisible","isConversationStartersAnimating","isCurrentUserAuthor","isDashEnabled","isDashUpdate","isDetailView","isFeedContentDesignUpdateEnabled","isHighlightedUpdate","isLoadingComments","loadCommentsOnSocialActions","maxQuickReplies","onConversationStartersAnimationEnd","onFetchConversationStarters","onReactionClick","onShareSuccess","onTriggerUpdateAttachment","toggleUpdateDetailViewer","triggerSponsoredUpdatePostNudge","reshareUrlOverride","shareAudience","shouldDisableAllSocialActions","shouldExpandCommentBox","shouldFocusTexteditor","shouldOpenCommentsList","shouldShowContentAdminIdentityToggle","showCommentBox","conversationStartersUnavailable","socialCountClassNames","socialDetail","sponsoredMetadata","switchActorIdentity","update","updateAuthor","updateId","updateMetadata","updatePosition","updateTrackingObj","videoAnalyticsRouteName","resharePageInstanceOverride","dashAnchoredCommentUrn","dashAnchoredReplyUrn"],[[30,0,["a11yContextResharedPost"]],[30,0,["actor"]],[30,0,["caEngineName"]],[30,0,["canRequestConversationStarters"]],[30,0,["commentingAtActors"]],[30,0,["commentNetworkErrorMessage"]],[30,0,["commentSortType"]],[30,36],[30,0,["conversationStartersUseCase"]],[30,0,["update","resharedUpdate","metadata","backendUrn"]],[30,37],[30,0,["fireCustomTracking"]],[30,0,["groupId"]],[30,33],[30,38],[30,0,["isLegacyGroupPost"]],[30,39],true,[30,0,["hideSendPrivately"]],[30,41],[30,7],[30,0,["isClickToMessageAd"]],[30,0,["isCommentingDisabledResharedPost"]],[30,0,["isCommentsCountVisibleResharedPost"]],[30,42],[30,0,["isCurrentUserAuthor"]],[30,8],[30,8],[30,21],[30,0,["isFeedContentDesignUpdateEnabled"]],[30,1],[30,43],true,[52,[30,7],1],[30,44],[30,45],[30,0,["onReactionClick"]],[30,46],[30,17],[30,47],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["reshareUrlOverride"]],[30,0,["update","resharedUpdate","metadata","shareAudience"]],[30,0,["update","interstitial","interstitial","shouldShowInterstitial"]],[30,0,["shouldExpandCommentBox"]],[30,48],[30,0,["shouldOpenCommentsList"]],[30,0,["shouldShowContentAdminIdentityToggle"]],[30,49],[30,50],[30,51],[30,0,["update","resharedUpdate","socialDetail"]],[30,0,["sponsoredMetadata"]],[30,0,["switchActorIdentity"]],[30,0,["update","resharedUpdate"]],[30,0,["updateAuthor"]],[30,0,["update","resharedUpdate","metadata","backendUrn"]],[30,0,["update","resharedUpdate","metadata"]],[30,5],[30,0,["updateTrackingObj"]],[30,22],[30,52],[30,53],[30,54]]]]]],[52,[30,0,["isLeadGenFormUpdate"]],[50,[32,46],0,null,[["channelId","closeModal","isOpen","leadGenForm","sponsoredMetadata","updatePosition","updateTrackingObj","triggerSponsoredUpdatePostNudge","openLinksExternally","onResizeWindow"],[[30,0,["channelId"]],[30,0,["closeLeadGenForm"]],[30,0,["isLeadGenFormOpen"]],[30,0,["leadGenFormContent","leadGenForm"]],[30,0,["updateMetadata","trackingData","sponsoredTracking"]],[30,5],[30,0,["updateTrackingObj"]],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["openLinksExternally"]],[30,0,["onLeadGenFormResizeWindow"]]]]]],[52,[30,0,["showLeadGenCta"]],[50,[32,36],0,null,[["controlName","model","updateMetadata","updateTrackingObj","triggerSponsoredUpdatePostNudge"],["call_to_action",[30,0,["leadGenFormContent","ctaButton"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]],[30,0,["triggerSponsoredUpdatePostNudge"]]]]]]]]],[28,[32,3],null,[["navigateToDetailTracking","expandCommentBox"],[[30,0,["navigateToDetailTracking"]],[30,0,["expandCommentBox"]]]]],[28,[32,3],null,[["authenticatedActor","hasContent","hasResharedUpdate","hasSocialDetail","isAccuratePreview","isActionsPositionInContent","isClickToMessageAd","isCommentingDisabled","isDocumentPost","isEditingCaptions","isEditingShare","isLeadGenSubmitted","leadGenFormContent","normalizedCarouselContent","normalizedContent","onTrackImpression","openLinksExternally","showContributionExperience","showHeader","showLeadGenThankYou","sortCommentsByRelevance","triggerSponsoredUpdatePostNudge","updateTrackingObj"],[[30,0,["actor"]],[30,0,["hasContent"]],[30,0,["hasResharedUpdate"]],[30,0,["hasSocialDetail"]],[30,0,["isAccuratePreview"]],[30,0,["isActionsPositionInContent"]],[30,0,["isClickToMessageAd"]],[30,0,["isCommentingDisabled"]],[30,0,["hasDocument"]],[30,55],[30,20],[30,0,["isLeadGenSubmitted"]],[30,0,["leadGenFormContent"]],[30,0,["normalizedCarouselContent"]],[30,0,["normalizedContent"]],[30,0,["onTrackImpression"]],[30,0,["openLinksExternally"]],[30,0,["update","socialContent","showContributionExperience"]],[30,0,["showHeader"]],[30,0,["showLeadGenThankYou"]],[30,0,["sortCommentsByRelevance"]],[30,0,["triggerSponsoredUpdatePostNudge"]],[30,0,["updateTrackingObj"]]]]]]],[1,"\\n              "],[13],[1,"\\n"]],[]]],[1,"          "]],[]]]]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"],[41,[30,20],[[[1,"        "],[8,[32,47],null,[["@actorsOverride","@groupId","@isShareboxModalOpen","@onCloseShareboxModal","@onEditShareSuccess","@shareUrn","@updateV2","@returnFocusTo"],[[30,0,["actorsOverride"]],[30,0,["groupId"]],[30,20],[28,[32,18],[[28,[32,19],[[30,14]],null],false],null],[30,0,["onEditShareSuccess"]],[30,0,["updateMetadata","shareUrn"]],[30,0,["update"]],[30,0,["editShareReturnFocusTo"]]]],null],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n"],[41,[30,0,["isRepostsModalOpen"]],[[[1,"      "],[8,[32,48],null,[["@bundle","@retryLimit"],["feed-modals",2]],[["resolved"],[[[[1,"\\n"],[44,[[28,[30,56,["component"]],["reposts-modal"],null]],[[[1,"            "],[8,[30,57],null,[["@dismissRepostsModal","@isRepostsModalOpen","@numShares","@updateId"],[[30,0,["dismissRepostsModal"]],[30,0,["isRepostsModalOpen"]],[30,0,["update","socialDetail","totalSocialActivityCounts","numShares"]],[30,0,["updateMetadata","shareUrn"]]]],null],[1,"\\n"]],[57]]],[1,"        "]],[56]]]]],[1,"\\n"]],[]],null],[1,"  "]],["@isHighlighted","@isWrapped","&attrs","@wrapperClass","@updatePosition","@shouldSuppressTracking","@isCarouselUpdate","@isDashEnabled","@isAdminPost","@reloadActionsDisabled","@onControlMenuItemSelection","@isAccuratePreview","@onDeleted","@setEditingShareState","@setEditingCaptionsState","@onHideUpdateAttachment","@onTriggerUpdateAttachment","@removeUpdate","@isPostRecommendationUpdatesEnabled","@isEditingShare","@isDetailView","@videoAnalyticsRouteName","@shouldShowLineBreaks","@containerElementWidth","@disableContentHeightAdjustment","@isAdsTransparency","@isFixedHeightCarouselUpdate","@setSurveyDisplayContent","@shouldHideVideoCaptionBanners","@surveyDisplayContent","@carouselNextAriaLabel","@carouselPreviousAriaLabel","@hideCaEntryPoint","@organizationUniversalName","@showADCarouselNavigationButtons","@conversationStarters","@hasRequestedConversationStarters","@hideCommentsWithoutInteraction","@hideReactionsMenu","@hideReshare","@initialTextAndMentions","@isConversationStartersAnimating","@isLoadingComments","@onConversationStartersAnimationEnd","@onFetchConversationStarters","@onShareSuccess","@toggleUpdateDetailViewer","@shouldFocusTexteditor","@showCommentBox","@conversationStartersUnavailable","@socialCountClassNames","@resharePageInstanceOverride","@dashAnchoredCommentUrn","@dashAnchoredReplyUrn","@isEditingCaptions","resolved","RepostsModal","&default"],false,["-get-dynamic-var","if","yield","unless","component","let"]]',moduleName:"feed-shared/components/render-models/update-v2.gjs",scope:()=>[$.default,Ee.default,g.get,g.hash,je.default,Se.default,Q.default,Pe.default,pe.default,he.default,ye.default,be.default,ke.default,fe.default,we.default,oe.default,se.default,Y.default,g.fn,ge.default,ne.default,W.default,_.default,K.default,Z.default,ie.default,ae.default,Oe.default,nn,F.default,B.default,me.default,de.default,Ne.default,xe.resolveFeedComponent,xe.default,L.default,R.default,z.default,ue.default,x.default,N.default,g.concat,ce.default,U.default,Me.default,le.default,Ce.default,j.default],isStrictMode:!0}),(Le=(0,T.inject)("authentication@authenticated-user"),ze=(0,T.inject)("client-sensor-web@client-sensor"),Be=(0,T.inject)("app-aware-link@custom-navigation-context-router"),Ge=(0,T.inject)("feed-utils@content-admin-identities"),Ve=(0,T.inject)("feed-utils@dwell-tracking-manager"),He=(0,T.inject)("feed-tracking@feed-action-event"),qe=(0,T.inject)("@linkedin/ember-restli-graphql@graphql"),Ke=(0,T.inject)("i18n"),We=(0,T.inject)("jet"),Ye=(0,T.inject)("lego@tracking"),Qe=(0,T.inject)("lix"),$e=(0,T.inject)("persistent-toast-manager@persistent-toast-manager"),Xe=(0,T.inject)("router"),Ze=(0,T.inject)("feed-tracking@sponsored-action-tracking"),Je=(0,T.inject)("global-services@store-shim"),et=(0,T.inject)("tracking"),tt=(0,T.inject)("global-services@window"),nt=(0,T.inject)("social-counts-service@social-counts"),ot=(0,T.inject)("global-services@internal-logger"),it=(0,A.localCopy)("args.authenticatedActor"),at=(0,A.localCopy)("args.update"),rt=class extends H.default{get editShareReturnFocusTo(){return this.args.editModalReturnToFocus||`#${this.elementId} .feed-shared-update-v2__control-menu button`}get updateMetadata(){var e,t
return(null===(e=this.update)||void 0===e?void 0:e.metadata)||(null===(t=this.update)||void 0===t?void 0:t.updateMetadata)}get isUpdateHiddenByControlMenuAction(){var e
return this.args.isDashEnabled?this.args.isUpdateHiddenByControlMenuAction:null===(e=this.update)||void 0===e?void 0:e.isHidden}get a11yContext(){var e,t,n,o,i,a,r,s
return{actor:this.args.isDashEnabled?null===(e=this.update)||void 0===e||null===(t=e.actor)||void 0===t||null===(n=t.name)||void 0===n||null===(o=n.attributesV2)||void 0===o?void 0:o[0]:null===(i=this.update)||void 0===i||null===(a=i.actor)||void 0===a||null===(r=a.name)||void 0===r||null===(s=r.attributes)||void 0===s?void 0:s[0],context:"update"}}get a11yContextResharedPost(){var e,t,n,o,i
return{actor:null===(e=this.update)||void 0===e||null===(t=e.resharedUpdate)||void 0===t||null===(n=t.actor)||void 0===n||null===(o=n.name)||void 0===o||null===(i=o.attributesV2)||void 0===i?void 0:i[0],context:"update"}}get actor(){return this.localAuthenticatedActor||(0,ee.default)(this.storeShim,this.authenticatedUser)}get hideSendPrivately(){var e
return this.args.hideSendPrivately||"member"!==(null===(e=this.actor)||void 0===e?void 0:e.actorType)}get actorsOverride(){var e
const t=null===(e=this.args.authenticatedActor)||void 0===e?void 0:e.miniCompany
return t?[t]:void 0}get normalizedAdditionalContents(){var e
if(this.args.isDashEnabled){var t
return null===(t=(0,v.getGraphQlValueWithDashFallback)(this,"update.additionalContents"))||void 0===t?void 0:t.map(te.default)}return null===(e=this.update)||void 0===e?void 0:e.additionalContents}get caEngineName(){return this.args.caEngineName||"feed.update.feed-ca"}captureTargetToFireFAE(e){if(!this.isFaeToGaeEnabled)return
const t=e=>{this.feedActionEvent.setTargetT3Data(e.target)}
null==e||e.addEventListener("click",t,!0)
this.removeCaptureTargetToFireFAE=()=>{null==e||e.removeEventListener("click",t)}}captureTargetToFireSAE(e){if(!this.isSAEMigrationEnabled)return
const t=e=>{this.sponsoredActionTracking.setTargetT3Data(e.target)}
null==e||e.addEventListener("click",t,!0)
this.removeCaptureTargetToFireSAE=()=>{null==e||e.removeEventListener("click",t)}}onSaveCallback(e){this.args.isDashEnabled?this.update.socialContent.updateSaveState.saved=e:this.update.socialContent.updateSaveAction.saved=e}get canRequestConversationStarters(){var e
return!this.args.isDetailView&&!(0,O.isPresent)(this.args.conversationStarters)&&(null===(e=this.updateMetadata)||void 0===e?void 0:e.actionTriggerEnabled)}get channelId(){return this.args.channelId||this.update.channelId}get commentaryNumLines(){var e,t
const{isTextOnlyPost:n,isTextOnlyInReshare:o,isSponsored:i}=this,{isCarouselUpdate:a,hasInterstitial:r}=this.args
if(a&&n&&!o)return en.LINES_15
const s=null===(e=this.normalizedCommentary)||void 0===e?void 0:e.numLines
if(s)return s
if(r)return en.LINES_3
switch(null===(t=this.normalizedCommentary)||void 0===t?void 0:t.templateType){case"VISUAL_BASED":return en.LINES_5
case"TEXT_BASED":return en.LINES_3}return a?n?en.LINES_15:en.LINES_2:n&&!i?en.LINES_5:i?s||2:void 0}get commentListPaginationTokenFromUpdate(){var e,t,n
return null===(e=this.args.update.socialDetail)||void 0===e||null===(t=e.comments)||void 0===t||null===(n=t.metadata)||void 0===n?void 0:n.paginationToken}get commentaryNumLinesForReshareInCarousel(){var e,t,n
const o=!(null===(e=this.update)||void 0===e||null===(t=e.resharedUpdate)||void 0===t||null===(n=t.content)||void 0===n||!n.pollComponent)
let i=en.LINES_3
this.isTextOnlyInReshare?i=en.LINES_8:o&&(i=en.LINES_1)
return i}get shouldExpandCommentaryText(){return!this.args.hasInterstitial&&this.args.isDetailView}get commentingAtActors(){var e
return this.isCurrentUserAuthor?[]:[null===(e=this.update)||void 0===e?void 0:e.actor]}get didIntersectOptions(){let e,t,n=1
if(this.isSponsored)e=this.onEnterIntersectionAttributionSource
else if(!this.isSponsored){e=this.onEnterIntersectionDesktopZoom
t=this.onExitIntersectionDesktopZoom
n=this.impressionPercentageThresholdDesktopZoom}if(this.canRequestConversationStarters&&(!X.default.testing||this.args.isTestingDwellTimeRequest)&&!this.isSponsored){e=this.onEnterIntersectionConversationStarters
t=this.onExitIntersectionConversationStarters
n=.8}this.legoTrackingToken&&!e&&(e=this.handleLegoImpressionTracking)
return{onEnter:e,onExit:t,options:{threshold:n,rootMargin:Jt}}}get updatesPaginationPVETracker(){var e,t
return null===(e=(t=this.args).updatesPaginationPVETracker)||void 0===e?void 0:e.call(t,this.args.updatePosition)}get verticalPosition(){return this.args.updatePosition-1||0}get pageViewDidIntersectOptions(){return{onEnter:this.onEnterIntersectionPageView,options:{rootMargin:Jt,threshold:0}}}get commentSortType(){return this.args.commentSort||Ie.SortOrder.RELEVANCE}get groupId(){var e,t,n,o
if(null!==(e=this.updateMetadata)&&void 0!==e&&null!==(t=e.miniGroup)&&void 0!==t&&t.entityUrn){var i,a
return(0,f.fromUrn)(null===(i=this.updateMetadata)||void 0===i||null===(a=i.miniGroup)||void 0===a?void 0:a.entityUrn).id}if(null!==(n=this.updateMetadata)&&void 0!==n&&null!==(o=n.group)&&void 0!==o&&o.entityUrn){var r,s
return(0,f.fromUrn)(null===(r=this.updateMetadata)||void 0===r||null===(s=r.group)||void 0===s?void 0:s.entityUrn).id}return null}get hasActor(){var e
return!(null===(e=this.update)||void 0===e||!e.actor)}get normalizedContentClass(){return(0,m.classNameOf)(this.normalizedContent)}get hasBottomPadding(){return!this.hasSocialDetail&&$t.includes(this.normalizedContentClass)}get hasContent(){return!!this.normalizedContent}get hasPollComponent(){return this.hasContent&&(this.normalizedContentClass===Yt||this.normalizedContentClass===Qt)}get hasDocument(){const e=this.normalizedContent
return"document"===(0,xe.getComponentType)(e)}get hasElevation(){return!this.args.isWrapped&&!Xt.includes(this.normalizedContentClass)}get hasLinkedInVideo(){const e=this.normalizedContent
return"linkedin-video"===(0,xe.getComponentType)(e)}get hasResharedUpdate(){var e
return!(null===(e=this.update)||void 0===e||!e.resharedUpdate)}get isShareAudiencePublic(){var e
return"PUBLIC"===(null===(e=this.updateMetadata)||void 0===e?void 0:e.shareAudience)}get hasSocialDetail(){var e,t,n
const o=!(0,O.isPresent)(null===(e=this.update)||void 0===e?void 0:e.showSocialDetail)||(null===(t=this.update)||void 0===t?void 0:t.showSocialDetail)
return(0,O.isPresent)(null===(n=this.update)||void 0===n?void 0:n.socialDetail)&&o}get isAccuratePreview(){var e
const t=null===(e=this.router)||void 0===e?void 0:e.currentRouteName
return Wt.includes(t)}get isActionsPositionInContent(){var e
const t=null===(e=this.updateMetadata)||void 0===e?void 0:e.actionsPosition
return this.isPromoComponent||this.isSurveyComponent||t===Ie.ACTIONS_POSITION.ANNOUNCEMENT_COMPONENT||t===Ie.ACTIONS_POSITION.PROMO_COMPONENT_V2||t===Ie.ACTIONS_POSITION.SURVEY_COMPONENT||this.normalizedCarouselContent&&this.args.showADCarouselNavigationButtons}get isCarouselResharedUpdate(){return this.args.isCarouselUpdate&&this.hasResharedUpdate}get isCommentsCountVisible(){return(0,p.checkIsPublicGroupPost)(this.updateMetadata)?!this.isCommentingDisabled:null}get isCommentingDisabled(){var e,t,n,o,i
if(null===(e=this.update)||void 0===e||null===(t=e.socialDetail)||void 0===t||!t.socialPermissions){var a,r
return null===(a=this.update)||void 0===a||null===(r=a.socialDetail)||void 0===r?void 0:r.commentingDisabled}return!(null!==(n=this.update)&&void 0!==n&&null!==(o=n.socialDetail)&&void 0!==o&&null!==(i=o.socialPermissions)&&void 0!==i&&i.canPostComments)}get isCommentingDisabledResharedPost(){var e,t
const n=null===(e=this.update)||void 0===e||null===(t=e.resharedUpdate)||void 0===t?void 0:t.socialDetail,o=null==n?void 0:n.socialPermissions
return o?!o.canPostComments:null==n?void 0:n.commentingDisabled}get isCommentsCountVisibleResharedPost(){var e,t
const n=null===(e=this.update)||void 0===e||null===(t=e.resharedUpdate)||void 0===t?void 0:t.metadata
return!!(0,p.checkIsPublicGroupPost)(n)&&!this.isCommentingDisabledResharedPost}get isCurrentUserAuthor(){const{update:e}=this
if(e){var t,n,o,i,a,r,s,l,d,c,u,p,m,h,g,f,b,v
const y=this.args.isDashEnabled?null===(t=e.actor)||void 0===t||null===(n=t.name)||void 0===n||null===(o=n.attributesV2)||void 0===o||null===(i=o[0])||void 0===i||null===(a=i.detailData)||void 0===a||null===(r=a.profileFullName)||void 0===r?void 0:r.objectUrn:(null===(s=e.actor)||void 0===s||null===(l=s.image)||void 0===l||null===(d=l.attributes)||void 0===d||null===(c=d[0])||void 0===c||null===(u=c.miniProfile)||void 0===u?void 0:u.objectUrn)||(null===(p=e.actor)||void 0===p||null===(m=p.name)||void 0===m||null===(h=m.attributes)||void 0===h||null===(g=h[0])||void 0===g||null===(f=g.miniProfile)||void 0===f?void 0:f.objectUrn)
return(null===(b=this.authenticatedUser)||void 0===b||null===(v=b.miniProfile)||void 0===v?void 0:v.objectUrn)===y}return!1}get isEdgeToEdge(){const e=(0,xe.getComponentType)(this.normalizedContent)
return Zt.includes(e)}get isLeadGenFormUpdate(){var e,t
return this.args.isDashEnabled?!(null===(e=this.update)||void 0===e||!e.leadGenFormContent):!(null===(t=this.update)||void 0===t||!t.leadGenFormContentV2)}get leadGenFormContent(){if(this.isLeadGenFormUpdate){var e,t
return this.args.isDashEnabled?null===(e=this.update)||void 0===e?void 0:e.leadGenFormContent:null===(t=this.update)||void 0===t?void 0:t.leadGenFormContentV2}return{}}get showLeadGenCta(){var e
return(null===(e=this.leadGenFormContent)||void 0===e?void 0:e.ctaButton)&&!this.isLiveEventUpdate}get showLeadGenThankYou(){return!(this.hasDocument||this.isLiveEventUpdate)}get isLegacyGroupPost(){var e,t
return!(null===(e=this.update)||void 0===e||null===(t=e.socialDetail)||void 0===t||!t.legacyGroupPost)}get isOutOfNetworkUpdate(){var e,t
return(null===(e=this.update)||void 0===e?void 0:e.contextualHeader)&&!(null!==(t=this.update)&&void 0!==t&&t.actor)}get isLiveEventUpdate(){var e
return("scheduled-live-content"===(0,xe.getComponentType)(this.normalizedContent)||this.hasLinkedInVideo)&&"LIVE_EVENT"===(null===(e=this.updateMetadata)||void 0===e?void 0:e.detailPageType)}get isSponsored(){return!!this.sponsoredMetadata}get isTextOnlyPost(){var e
return this.normalizedCommentary&&!this.normalizedContent&&!(null!==(e=this.update)&&void 0!==e&&e.resharedUpdate)&&!this.normalizedCarouselContent}get isTextOnlyInReshare(){var e,t,n,o
return!(null===(e=this.update)||void 0===e||null===(t=e.resharedUpdate)||void 0===t||!t.commentary||null!==(n=this.update)&&void 0!==n&&null!==(o=n.resharedUpdate)&&void 0!==o&&o.content)}get legoTrackingToken(){var e
return null===(e=this.updateMetadata)||void 0===e?void 0:e.legoTrackingToken}get normalizedCarouselContent(){var e
return this.isLeadGenFormUpdate?this.leadGenFormContent.carouselContent:null===(e=this.update)||void 0===e?void 0:e.carouselContent}get isVideoCarousel(){var e
return"VIDEO"===(null===(e=this.normalizedCarouselContent)||void 0===e?void 0:e.type)}get normalizedCommentary(){var e
return this.leadGenFormContent.commentary??(null===(e=this.update)||void 0===e?void 0:e.commentary)}get normalizedContent(){if(this.isLeadGenFormUpdate){var e
if(this.args.isDashEnabled){var t
const e=null===(t=this.leadGenFormContent)||void 0===t?void 0:t.content
return(0,te.default)(e)}return null===(e=this.leadGenFormContent)||void 0===e?void 0:e.content}if(this.args.isDashEnabled){var n
const e=null===(n=this.update)||void 0===n?void 0:n.content
return(0,te.default)(e)}return(0,l.get)(this,"update.content")}get normalizedFooter(){var e
if(this.args.isDashEnabled){var t
const e=null===(t=this.update)||void 0===t?void 0:t.footer
return(0,te.default)(e)}return null===(e=this.update)||void 0===e?void 0:e.footer}get normalizedUpdateUrn(){var e,t
return(null===(e=this.updateMetadata)||void 0===e?void 0:e.urn)||(null===(t=this.updateMetadata)||void 0===t?void 0:t.backendUrn)}get nudgeType(){var e
return null!==(e=this.normalizedFooter)&&void 0!==e&&e.dwellTriggerTime?"REACTION":null}get openLinksExternally(){return this.isAccuratePreview}get reshareUrlOverride(){if(this.isCarouselResharedUpdate){var e,t,n,o,i,a
return`${(0,b.getDomainUrl)()}/feed/update/${this.args.isDashEnabled?null===(e=this.update)||void 0===e||null===(t=e.resharedUpdate)||void 0===t||null===(n=t.metadata)||void 0===n?void 0:n.backendUrn:null===(o=this.update)||void 0===o||null===(i=o.resharedUpdate)||void 0===i||null===(a=i.updateMetadata)||void 0===a?void 0:a.urn}`}if(this.isOutOfNetworkUpdate)return`${(0,b.getDomainUrl)()}/feed/update/${this.updateId}`}get rumComponentId(){var e,t,n,o,i
const{normalizedContent:a,hasResharedUpdate:r,isLegacyGroupPost:s,isLeadGenFormUpdate:l,isSponsored:d}=this,c=(0,O.isPresent)(this.groupId),u=null===(e=this.update)||void 0===e||null===(t=e.resharedUpdate)||void 0===t?void 0:t.content,p=null===(n=this.update)||void 0===n||null===(o=n.highlightedComments)||void 0===o?void 0:o.length,m=null===(i=this.update)||void 0===i?void 0:i.aggregatedContent,h=(0,xe.getComponentType)(this.normalizedCarouselContent),g=(0,xe.getComponentType)(a)||(0,xe.getComponentType)(u),f=["feed/update-v2"]
s&&f.push("legacy-group")
l&&f.push("lead-gen")
c&&f.push("group")
d?f.push("sponsored"):p?f.push("viral-comment"):r?f.push("reshare"):m?f.push("aggregated"):h&&f.push("carousel")
g&&f.push(g)
return f.join("/")}get shouldOpenCommentsList(){var e,t
return!(null===(e=this.update)||void 0===e||null===(t=e.highlightedComments)||void 0===t||!t.length)}get shouldSuppressImpressionEvents(){var e,t
return(null===(e=this.args.shouldSuppressTracking)||void 0===e?void 0:e.feed)||(null===(t=this.update)||void 0===t?void 0:t.aggregatedContent)}get shouldShowHighlightedCommentAnimation(){var e,t,n,o
return this.args.isHighlighted&&((null===(e=this.update.highlightedComments)||void 0===e?void 0:e.length)||(null===(t=this.update.socialDetail)||void 0===t||null===(n=t.comments)||void 0===n||null===(o=n.elements)||void 0===o?void 0:o.length))}get showHeader(){var e
return!this.args.hideHeader&&(null===(e=this.update)||void 0===e?void 0:e.header)&&(!this.normalizedCarouselContent||this.normalizedCarouselContent&&!this.args.showADCarouselNavigationButtons)}get showPremiumBranding(){var e
const{premiumBrandingStyle:t}=(null===(e=this.update)||void 0===e?void 0:e.header)||{}
return"LOGO_WITH_GOLD_BAR"===t}get translationUrn(){var e,t,n,o,i
return this.args.isDashEnabled?null===(e=this.update)||void 0===e||null===(t=e.commentary)||void 0===t||null===(n=t.translation)||void 0===n?void 0:n.entityUrn:null===(o=this.update)||void 0===o||null===(i=o.commentary)||void 0===i?void 0:i.dashTranslationUrn}get showTranslateButton(){var e,t,n
return this.translationUrn&&!this.isCurrentUserAuthor&&"SPONSORED"!==(null===(e=this.updateMetadata)||void 0===e||null===(t=e.trackingData)||void 0===t||null===(n=t.sponsoredTracking)||void 0===n?void 0:n.activityType)}get socialDetail(){var e
return null===(e=this.update)||void 0===e?void 0:e.socialDetail}get sortCommentsByRelevance(){return this.commentSortType===Ie.SortOrder.RELEVANCE}get sponsoredMetadata(){var e,t
return null===(e=this.updateMetadata)||void 0===e||null===(t=e.trackingData)||void 0===t?void 0:t.sponsoredTracking}get externalImpressionTrackingUrl(){var e
return null===(e=this.sponsoredMetadata)||void 0===e?void 0:e.externalImpressionTrackingUrl}get updateAuthor(){var e
return null===(e=this.update)||void 0===e?void 0:e.actor}get isPromoComponent(){return"promo"===(0,xe.getComponentType)(this.normalizedContent)}get isSurveyComponent(){return"survey"===(0,xe.getComponentType)(this.normalizedContent)}get windowHeight(){return re.default?this.windowService.innerHeight-52:0}get isUpdateDetailViewerForResharedPostsEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-reshared-update-detail-viewer")}get shouldShowContentAdminIdentityToggle(){return this.isShareAudiencePublic&&this.contentAdminIdentities.identities.length&&!this.hasPollComponent&&!this.args.shouldHideContentAdminIdentityToggle}get isViralUpdate(){var e,t
return"VIRAL"===(null===(e=(this.updateMetadata||{}).trackingData)||void 0===e||null===(t=e.sponsoredTracking)||void 0===t?void 0:t.activityType)}get shouldTrackSponsoredImpression(){return this.updateTrackingObj&&!this.updateTrackingObj.shouldSuppressSponsoredTracking&&this.updateTrackingObj.isSponsoredMetadataValid}get isFaeToGaeEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-integrations-FAE-to-GAE")}get isSAEMigrationEnabled(){const e=this.lix.getTreatment("voyager.web.feed-update-tracking3-sae-migration")
return["enabled","dual"].includes(e)}get getSIEMigrationTreatment(){return this.lix.getTreatment("voyager.web.feed-update-tracking3-sie-migration")}get getTracking3GIEMigrationTreatment(){return this.lix.getTreatment("voyager.web.feed-update-tracking3-impression-migration")}get getGAEMigrationTreatment(){return this.lix.getTreatment("voyager.web.feed-integrations-FAE-to-GAE")}get contentClass(){const e=["feed-shared-update-v2__content"]
this.args.isEditingShare&&e.push("feed-shared-update-v2--is-editing-share","hidden")
return e.join(" ")}get contextualDescription(){var e,t
return this.args.isDashEnabled?null===(e=this.update)||void 0===e?void 0:e.contextualDescription:null===(t=this.update)||void 0===t?void 0:t.contextualDescriptionV2}get inlineFeedback(){var e,t,n,o
return this.args.isDashEnabled?null===(e=this.update)||void 0===e||null===(t=e.annotation)||void 0===t?void 0:t.inlineFeedBackComponent:null===(n=this.update)||void 0===n||null===(o=n.annotation)||void 0===o?void 0:o.inlineFeedBack}get isClickToMessageAd(){var e,t,n,o
const i=null===(e=this.normalizedContent)||void 0===e||null===(t=e.navigationContext)||void 0===t?void 0:t.actionTarget
return(null==i?void 0:i.includes("mbcCompose"))&&(null===(n=this.normalizedContent)||void 0===n?void 0:n.largeCtaButton)&&0!==Object.keys(null===(o=this.normalizedContent)||void 0===o?void 0:o.largeCtaButton).length}get updateId(){var e,t
return this.args.isDashEnabled?null===(e=this.updateMetadata)||void 0===e?void 0:e.backendUrn:null===(t=this.updateMetadata)||void 0===t?void 0:t.urn}get dwellTimeAnimationDelay(){var e
return(null===(e=this.normalizedFooter)||void 0===e?void 0:e.dwellTriggerTime)??1e4}get commentaryAttributes(){var e,t,n,o
return(null===(e=this.normalizedCommentary)||void 0===e||null===(t=e.text)||void 0===t?void 0:t.attributesV2)??(null===(n=this.normalizedCommentary)||void 0===n||null===(o=n.text)||void 0===o?void 0:o.attributes)}get carouselAttributes(){var e
return null===(e=this.normalizedCarouselContent)||void 0===e?void 0:e.items}get sponsoredUrlAttributes(){var e,t,n,o,i
return(null===(e=this.normalizedContent)||void 0===e||null===(t=e.navigationContext)||void 0===t?void 0:t.sponsoredUrlAttributes)??(null===(n=this.normalizedContent)||void 0===n||null===(o=n.ctaButton)||void 0===o||null===(i=o.navigationContext)||void 0===i?void 0:i.sponsoredUrlAttributes)}get sponsoredMetadataForPrerollVideo(){var e,t,n
return null===(e=this.normalizedContent)||void 0===e||null===(t=e.inStreamAds)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.sponsoredTracking}get trackingScope(){var e,t,n,o,i
return[{topicName:"FeedUpdateServedEvent",contentTrackingId:null===(e=this.updateTrackingObj)||void 0===e?void 0:e.trackingId,breadcrumb:{$type:"proto.sdui.breadcrumbs.feed.FeedUpdateServedBreadcrumb",updateUrn:this.updateId,moduleKey:this.feedActionEvent.getModuleKeyForCurrentPage(),requestId:null===(t=this.updateMetadata)||void 0===t||null===(n=t.trackingData)||void 0===n?void 0:n.requestId,trackingId:null===(o=this.updateMetadata)||void 0===o||null===(i=o.trackingData)||void 0===i?void 0:i.trackingId,trackingPipelineType:"BREADCRUMB",actionEventTopicName:"dual"===this.getGAEMigrationTreatment?"FeedActionEvent_T3_Shadow":"FeedActionEvent",impressionEventTopicName:"dual"===this.getTracking3GIEMigrationTreatment?"FeedImpressionEvent_T3_Shadow":"FeedImpressionEvent"}}]}get hasNewsLetterComponent(){return"newsletter"===(0,xe.getComponentType)(this.normalizedContent)}get hasEntityComponent(){return"entity"===(0,xe.getComponentType)(this.normalizedContent)}get isNewsLetterOrJobsOnMediumCardsEnabled(){return this.args.isCarouselUpdate&&(this.hasNewsLetterComponent||this.hasEntityComponent)}constructor(){var e,o,i
super(...arguments);(0,t.default)(this,"authenticatedUser",st,this);(0,t.default)(this,"clientSensor",lt,this);(0,t.default)(this,"cncRouter",dt,this);(0,t.default)(this,"contentAdminIdentities",ct,this);(0,t.default)(this,"dwellTrackingManager",ut,this);(0,t.default)(this,"feedActionEvent",pt,this);(0,t.default)(this,"graphql",mt,this);(0,t.default)(this,"i18n",ht,this);(0,t.default)(this,"jet",gt,this);(0,t.default)(this,"legoTracking",ft,this);(0,t.default)(this,"lix",bt,this);(0,t.default)(this,"persistentToastManager",vt,this);(0,t.default)(this,"router",yt,this);(0,t.default)(this,"sponsoredActionTracking",Ct,this);(0,t.default)(this,"storeShim",Tt,this);(0,t.default)(this,"tracking",kt,this);(0,t.default)(this,"windowService",St,this);(0,t.default)(this,"socialCountsService",Ot,this);(0,t.default)(this,"internalLogger",wt,this);(0,n.default)(this,"commentaryInlineSeeMoreTrackingOverrides",{expandActionName:"expandCommentaryText",expandControlName:"commentary_expand"});(0,n.default)(this,"commentNetworkErrorMessage",this.i18n.lookupTranslation(this.constructor,"save_comment_error")());(0,n.default)(this,"elementId",(0,y.guidFor)(this));(0,n.default)(this,"enterTime",0);(0,n.default)(this,"araEndpointInvoked",!1);(0,n.default)(this,"externalImpressionTrackingInvoked",!1);(0,n.default)(this,"updateDomElement",null);(0,n.default)(this,"leadGenFormOpenTimestamp",null);(0,n.default)(this,"leadGenFormOpenDuration",0);(0,n.default)(this,"services",{router:this.router,jet:this.jet,clientSensor:this.clientSensor});(0,n.default)(this,"updateTrackingObj",this.updateMetadata?new Ae.default(this.updateMetadata,this.feedActionEvent,this.sponsoredActionTracking,this.tracking,this.args.updatePosition,this.channelId,this.args.shouldSuppressTracking,this.args.customModuleKey,null===(e=this.args)||void 0===e?void 0:e.pageKey,this.legoTracking,this.legoTrackingToken,void 0,null===(o=this.args)||void 0===o?void 0:o.searchId):null);(0,t.default)(this,"localAuthenticatedActor",Et,this);(0,t.default)(this,"update",At,this);(0,t.default)(this,"conversationStartersUseCase",Mt,this);(0,t.default)(this,"hasAnchored",Pt,this);(0,t.default)(this,"impressionPercentageThresholdDesktopZoom",It,this);(0,t.default)(this,"isLeadGenFormOpen",Dt,this);(0,t.default)(this,"isLeadGenSubmitted",_t,this);(0,t.default)(this,"isUpdateHidden",Ut,this);(0,t.default)(this,"isRepostsModalOpen",xt,this);(0,t.default)(this,"shouldFocusOnControlTrigger",Rt,this);(0,t.default)(this,"shouldExpandCommentBox",Nt,this);(0,t.default)(this,"menuAction",jt,this);(0,t.default)(this,"menuActionAssociatedSettingType",Ft,this);(0,t.default)(this,"shouldFocusOnFeedUpdate",Lt,this);(0,t.default)(this,"shouldScrollToHighlightedComment",zt,this);(0,t.default)(this,"containerElementWidth",Bt,this);(0,t.default)(this,"containerElementHeight",Gt,this);(0,t.default)(this,"removeCaptureTargetToFireFAE",Vt,this);(0,t.default)(this,"removeCaptureTargetToFireSAE",Ht,this);(0,t.default)(this,"isEligibleForDwellAnimation",qt,this);(0,t.default)(this,"adjustedNumCommentaryLines",Kt,this)
this.isLeadGenFormUpdate&&this._registerLeadGenFormURL()
null===(i=this.dwellTrackingManager)||void 0===i||i.setupEventListeners(this.updateDwellTimeRequirement)
this.shouldShowHighlightedCommentAnimation&&(0,u.runTask)(this,this._checkShouldScrollToHighlightedComment,250)}willDestroy(){super.willDestroy(...arguments)
this.isLeadGenFormUpdate&&this._deregisterLeadGenFormURL()
this.isFaeToGaeEnabled&&this.removeCaptureTargetToFireFAE&&this.removeCaptureTargetToFireFAE()
this.isSAEMigrationEnabled&&this.removeCaptureTargetToFireSAE&&this.removeCaptureTargetToFireSAE()}triggerSponsoredUpdatePostNudge(){var e,t,n
if("SPONSORED"===(null===(e=this.updateMetadata)||void 0===e||null===(t=e.trackingData)||void 0===t||null===(n=t.sponsoredTracking)||void 0===n?void 0:n.activityType)){var o
null===(o=this.args)||void 0===o||o.onTriggerUpdateAttachment(Ie.UPDATE_ATTACHMENT_TRIGGER_ACTIONS.SPONSORED_CTA)}}constructImpressionEvent(){var e,t,n,o,i,a,r,s,l
let d,c
if(this.args.isCarouselUpdate)c={row:this.args.impressionRowPosition||0,column:this.args.impressionColumnPosition||0}
else{const{updatePosition:e}=this.args
d=(0,O.isPresent)(e)?{index:e}:{index:1}}const u=(null===(e=this.updateMetadata)||void 0===e||null===(t=e.trackingData)||void 0===t?void 0:t.searchId)||this.args.searchId,p={trackingPipelineType:"TRACKING2",timeZoneOffsetMinutes:-1*(new Date).getTimezoneOffset(),entities:[{urn:(null===(n=this.updateMetadata)||void 0===n?void 0:n.urn)||(null===(o=this.updateMetadata)||void 0===o?void 0:o.backendUrn)||(null===(i=this.update)||void 0===i?void 0:i.urn),trackingId:(null===(a=this.updateMetadata)||void 0===a||null===(r=a.trackingData)||void 0===r?void 0:r.trackingId)||(null===(s=this.update)||void 0===s||null===(l=s.tracking)||void 0===l?void 0:l.trackingId),listPosition:d,gridPosition:c}]}
u&&(p.searchId=u)
return p}dismissRepostsModal(){this.isRepostsModalOpen=!1}expandCommentBox(e){if(!this.shouldExpandCommentBox){var t,n,o,i
this.shouldExpandCommentBox=!0
const a=(null===(t=this.updateMetadata)||void 0===t||null===(n=t.trackingData)||void 0===n?void 0:n.trackingId)||(null===(o=this.update)||void 0===o||null===(i=o.tracking)||void 0===i?void 0:i.trackingId)
this.updateTrackingObj.fireFeedAccessoryImpressionEvent([{controlUrn:"comment_box_dropdown"}],a,e)}}handleDidInsert(e){var t,n,o,i
null===(t=(n=this.args).onUpdateInserted)||void 0===t||t.call(n)
null===(o=(i=this.args).onUpdateInsertedForViewState)||void 0===o||o.call(i,e)
this.captureTargetToFireFAE(e)
this.captureTargetToFireSAE(e)
this.updateDomElement=e
if(!X.default.testing&&re.default&&this.args.updateIsAnchored&&!this.hasAnchored){const t=e.getBoundingClientRect().top-120,n=!1
if(t>0){ve.default.scrollTo(window,{top:t,animate:n})
this.hasAnchored=!0}}}handleHiddenSponsoredUpdates(e){if(e&&("none"===e.style.display||"none"===window.getComputedStyle(e).display)){this.isUpdateHidden=!0
this.sponsoredMetadata&&"SPONSORED"===this.sponsoredMetadata.activityType&&this.clientSensor.incrementMetricCounter({groupName:De.CLIENT_SENSOR_GROUP_NAME,metricName:De.SponsoredClientSensorMetrics.SPONSORED_HIDDEN_UPDATES})}}onResizeWindow(e){const{offsetHeight:t,clientHeight:n,clientWidth:o}=e,i=t?this.windowHeight/2/t:0
this.impressionPercentageThresholdDesktopZoom=i>1?1:i<0?0:i
this.containerElementWidth=o
this.containerElementHeight=n}navigateToDetailTracking(){const e=this.isSponsored?"commentary_text":"object_description"
this.updateTrackingObj.fireFeedActionAndSponsoredTrackingEvents({controlName:e,actionType:"viewUpdateDetail",actionCategory:"VIEW"})}fireCustomTracking(e){if(!e){this.jet.logError(new Error("fireCustomTracking called without a trackingPayload"),Ie.JET_TAGS.FEED_CUSTOM_TRACKING)
return}const{actionCategory:t,actionType:n,controlName:o}=e
t&&n&&o?this.updateTrackingObj.fireFeedActionAndSponsoredTrackingEvents(e):this.jet.logError(new Error(`fireCustomTracking called with invalid trackingPayload ${t} ${n} ${o}`),Ie.JET_TAGS.FEED_CUSTOM_TRACKING)}hideOrUnhideUpdateOnAction(e){var t,n
let{shouldHide:o,menuAction:i,associatedSettingType:a,shouldReloadFeed:r,shouldFocusOnControlTrigger:s=!1,shouldFocusOnFeedUpdate:l=!1}=e
if(r&&this.args.onRequestReload){var d,c
null===(d=(c=this.args).onRequestReload)||void 0===d||d.call(c)}null===(t=(n=this.args).setIsUpdateHiddenByControlMenuAction)||void 0===t||t.call(n,o)
this.menuAction=i
this.menuActionAssociatedSettingType=a
if(!this.args.isDashEnabled){this.update.menuAction=i
this.update.isHidden=o}this.shouldFocusOnControlTrigger=s
this.shouldFocusOnFeedUpdate=l
l&&(0,D.default)(this,`#${this.elementId}`)}restoreFocus(e){this.shouldFocusOnFeedUpdate=!0;(0,D.default)(this,e||`#${this.elementId}`)}onToggleCommenting(e){var t
const n="DISABLE_COMMENTS"===e.actionType,o=n?"NONE":"ALL",[i,a,r]=this.args.isDashEnabled?(0,_e.dashUpdateCommentRestrictionSettingRequest)(null===(t=this.update.socialDetail)||void 0===t?void 0:t.entityUrn,o):(0,_e.toggleCommentingRequest)(e.targetUrn,n)
return this.storeShim.adapterFor("-ember-m3").ajax(i,a,r).then((()=>{if(this.args.isDashEnabled)this.update.socialDetail.socialPermissions&&(this.update.socialDetail.socialPermissions.canPostComments=!n)
else{this.update.socialDetail.commentingDisabled=n
this.update.socialDetail.socialPermissions.canPostComments=!n}})).catch((e=>{if((0,k.isDestroying)(this))throw e
const t=this.i18n.lookupTranslation(this.constructor,"network_error_occurred")()
t&&this.persistentToastManager.error({message:t})
throw e}))}updateCommentRestrictionSetting(e,t){var n
const[o,i,a]=this.args.isDashEnabled?(0,_e.dashUpdateCommentRestrictionSettingRequest)(null===(n=this.update.socialDetail)||void 0===n?void 0:n.entityUrn,t):(0,_e.updateCommentRestrictionSettingRequest)(e,t)
return this.storeShim.adapterFor("-ember-m3").ajax(o,i,a).then((()=>{this.update.socialDetail.allowedCommentersScope=t
if(t===d.ALLOWED_COMMENTERS_SCOPE.NONE){this.args.isDashEnabled||(this.update.socialDetail.commentingDisabled=!0)
this.update.socialDetail.socialPermissions.canPostComments=!1
this.socialCountsService.registerSocialCounts(this.update.socialDetail)}else{this.args.isDashEnabled||(this.update.socialDetail.commentingDisabled=!1)
this.update.socialDetail.socialPermissions.canPostComments=!0}const e=this.i18n.lookupTranslation(V.default,{ALL:"comment_restriction_success_ALL",CONNECTIONS_ONLY:"comment_restriction_success_CONNECTIONS_ONLY",NONE:"comment_restriction_success_NONE"}[t])()
this.persistentToastManager.success({message:e})})).catch((e=>{if((0,k.isDestroying)(this))throw e
const t=this.i18n.lookupTranslation(V.default,"comment_restriction_network_error_occurred")()
t&&this.persistentToastManager.error({message:t})
throw e}))}updateModelWithProperties(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,l.setProperties)(this.update,e)}switchActorIdentity(e){var t,n,o
const i=this.feedActionEvent.getModuleKeyForCurrentPage(),a=this.args.isDashEnabled?this.update.entityUrn:(null===(t=this.updateMetadata)||void 0===t?void 0:t.shareUrn)||(null===(n=this.updateMetadata)||void 0===n?void 0:n.urn),r="organizationalPage"===e.actorType?e.dashEntityUrn:null===(o=e.miniCompany)||void 0===o?void 0:o.dashCompanyUrn
return this.graphql.executeQuery(Te.default,{moduleKey:i,actor:r,updateUrn:a,commentsCount:10,likesCount:10,includeCommentsFirstReply:!0,includeReactions:!0},{reload:!0}).then((t=>{var n
if((0,k.isDestroying)(this))return
const o=this.args.isDashEnabled?t.data.feedDashUpdatesById:null===(n=t.elements)||void 0===n?void 0:n[0]
this.update=o
this.socialCountsService.registerSocialCounts(this.update.socialDetail)
this.localAuthenticatedActor=e
this._updateCommentBoxEditorPlaceholder()
return(0,M.resolve)()})).catch((e=>{if((0,k.isDestroying)(this))throw e
if(e&&e.isAdapterError)throw e}))}reloadUpdate(){const e=this.feedActionEvent.getModuleKeyForCurrentPage(),{storeShim:t,graphql:n}=this
return this.args.isDashEnabled?n.executeQuery(Te.default,{updateUrn:this.update.entityUrn,moduleKey:e}).then((e=>{var t
if((0,k.isDestroying)(this))return
const n=null==e||null===(t=e.data)||void 0===t?void 0:t.feedDashUpdatesById
if(n){this.update=n
this.socialCountsService.registerSocialCounts(this.update.socialDetail)}})):t.queryURL(`/${q.default.namespace}/feed/updatesV2`,{params:{q:"backendUrnOrNss",urnOrNss:this.updateId,moduleKey:e},reload:!0}).then((e=>{var t
if((0,k.isDestroying)(this))return
const n=null==e||null===(t=e.elements)||void 0===t?void 0:t[0]
if(n){this.update=n
this.socialCountsService.registerSocialCounts(this.update.socialDetail)}}))}onEditShareSuccess(e){(0,O.isPresent)(e)&&(this.update=e)}openLeadGenForm(){this.isLeadGenFormOpen=!0}onLeadGenFormResizeWindow(e){var t,n,o
const i=(0,S.isElementViewabilityHidden)(null===(t=this.updateDomElement)||void 0===t||null===(n=t.getBoundingClientRect)||void 0===n?void 0:n.call(t),null==e||null===(o=e.getBoundingClientRect)||void 0===o?void 0:o.call(e))
if(i&&null===this.leadGenFormOpenTimestamp)this.leadGenFormOpenTimestamp=Date.now()
else if(!i&&null!==this.leadGenFormOpenTimestamp){this.leadGenFormOpenDuration+=Date.now()-this.leadGenFormOpenTimestamp
this.leadGenFormOpenTimestamp=null}}closeLeadGenForm(e){const{clientSensor:t}=this
if(e)e.then((()=>{if(!(0,k.isDestroying)(this)){t.incrementMetricCounter({groupName:De.CLIENT_SENSOR_GROUP_NAME,metricName:De.SponsoredClientSensorMetrics.SPONSORED_LEADGEN_V2_SUBMISSION_SUCCESS})
if(!(0,k.isDestroying)(this)){this.isLeadGenSubmitted=!0
if(this.leadGenFormOpenTimestamp){this.leadGenFormOpenDuration+=Date.now()-this.leadGenFormOpenTimestamp
this.leadGenFormOpenTimestamp=null}if(this.hasDocument){var e,n
const t=null===(e=this.leadGenFormContent.leadGenForm)||void 0===e||null===(n=e.postSubmissionContent)||void 0===n?void 0:n.document
if(t)if(this.args.isDashEnabled){this.leadGenFormContent.content.documentComponent.document=t
this.leadGenFormContent.content.documentComponent.showDownloadCTA=!0
this.leadGenFormContent.ctaButton=null}else{this.leadGenFormContent.content.document=t
this.leadGenFormContent.content.showDownloadCTA=!0
this.leadGenFormContent.ctaButton=null}}else if(this.isLiveEventUpdate){const{title:e,viewerState:t}=this.normalizedContent
t&&(t.scheduledContentViewerStatus=E.LIVE_EVENT_VIEWER_STATE.REGISTERED)
const n=jSecure.htmlUnencode(this.i18n.lookupTranslation(this.constructor,"i18n_event_registration_success_v2")([{eventTitle:e.text}]))
this.persistentToastManager.success({message:n})}}}})).catch((e=>{var n,o
if((0,k.isDestroying)(this))throw e
t.incrementMetricCounter({groupName:De.CLIENT_SENSOR_GROUP_NAME,metricName:De.SponsoredClientSensorMetrics.SPONSORED_LEADGEN_V2_SUBMISSION_FAILURE})
const i=e&&(null===(n=e.errors)||void 0===n||null===(o=n[0])||void 0===o?void 0:o.status),a=i&&parseInt(i,10)
if(403!==a&&500!==a)throw e}))
else{this.isLeadGenFormOpen=!1
if(this.leadGenFormOpenTimestamp){this.leadGenFormOpenDuration+=Date.now()-this.leadGenFormOpenTimestamp
this.leadGenFormOpenTimestamp=null}}}onClickInlineFeedbackLink(e){var t,n,o,i,a
const r=(null===(t=e.inlineFeedBack)||void 0===t||null===(n=t.link)||void 0===n?void 0:n.url)||(null===(o=e.inlineFeedBackComponent)||void 0===o?void 0:o.linkUrl),s=(null===(i=e.inlineFeedBack)||void 0===i?void 0:i.controlName)||(null===(a=e.inlineFeedBackComponent)||void 0===a?void 0:a.controlName)
this.windowService.open(jSecure.sanitizeUrl((0,b.generateUrlByDomain)(r)),"_blank")
this.updateTrackingObj.fireControlInteractionEvent(s)
this.updateTrackingObj.fireFeedActionAndSponsoredTrackingEvents({actionType:e.actionType,actionCategory:"VIEW",controlName:s})}onRepostsTotalClick(){this.isRepostsModalOpen=!0}fireImpressionTrackingPixel(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0
this.externalImpressionTrackingUrl&&!this.externalImpressionTrackingInvoked&&re.default&&(0,J.default)(this.externalImpressionTrackingUrl,{method:"GET"}).then((e=>{if(!(0,k.isDestroying)(this))if(e.status===C.httpStatus.S_200_OK){this.externalImpressionTrackingInvoked=!0
this.clientSensor.incrementMetricCounter({groupName:De.CLIENT_SENSOR_GROUP_NAME,metricName:De.ExternalImpressionTrackingMetrics.EXTERNAL_IMPRESSION_TRACKING_SUCCESS})}else{if(e.status>=C.httpStatus.S_500_INTERNAL_SERVER_ERROR)throw new Error(`${null==e?void 0:e.statusText} ${null==e?void 0:e.status}`)
this.jet.logError(new Error(`Fetch failed with status ${e.status}`),`Error triggering externalImpressionTrackingUrl ${this.externalImpressionTrackingUrl}`)
this.clientSensor.incrementMetricCounter({groupName:De.CLIENT_SENSOR_GROUP_NAME,metricName:De.ExternalImpressionTrackingMetrics.EXTERNAL_IMPRESSION_TRACKING_FAILURE})}})).catch((n=>{if((0,k.isDestroying)(this))throw n
if(t>=e){this.jet.logError(n,["external-impression-tracking"],!1)
this.clientSensor.incrementMetricCounter({groupName:De.CLIENT_SENSOR_GROUP_NAME,metricName:De.ExternalImpressionTrackingMetrics.EXTERNAL_IMPRESSION_TRACKING_FAILURE})}else this.fireImpressionTrackingPixel(e,t+1)}))}onTrackImpression(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0]
if(!this.updateMetadata)return()=>[]
if(!(0,k.isDestroying)(this)){if(e||this.shouldSuppressImpressionEvents)return()=>[]
const{impressionColumnPosition:t,impressionRowPosition:n,isCarouselUpdate:o,searchId:i,updatePosition:a}=this.args,{clientSensor:r,elementId:s,isUpdateHidden:l,isUpdateHiddenByControlMenuAction:d,isViralUpdate:c,shouldTrackSponsoredImpression:u,update:p,updateMetadata:m,updateTrackingObj:h}=this,g=(0,Ue.constructImpressionEvent)({impressionColumnPosition:t,impressionRowPosition:n,isCarouselUpdate:o,searchId:i,update:p,updateMetadata:m,updatePosition:a})
return e=>{const t=(0,Ue.onTrackImpressionCallback)({body:g,clientSensor:r,event:e,isUpdateHiddenByControlMenuAction:d,graphql:this.graphql}),n=[]
"control"!==this.getTracking3GIEMigrationTreatment&&"dual"!==this.getTracking3GIEMigrationTreatment||n.push(...t)
this.internalLogger.log(n[0],["FeedImpressionEvent"])
const o=l||function(e){if(re.default){const t=document.querySelector(`#${e}`)
return t&&("none"===t.style.display||"none"===window.getComputedStyle(t).display)}return!1}(s),i="dual"===this.getSIEMigrationTreatment?(0,Fe.generateByteUUID)():null
if(e.duration>=(X.default.testing?0:1e3)&&!o&&u){var p
const{activityType:t,adTrackingCode:o,version:s}=(null===(p=m.trackingData)||void 0===p?void 0:p.sponsoredTracking)||{}
let l="number"==typeof e.duration?Math.floor(e.duration):0
if(this.leadGenFormOpenDuration>0&&l>0){l-=this.leadGenFormOpenDuration
this.leadGenFormOpenDuration=0}if(this.leadGenFormOpenTimestamp){l-=Date.now()-this.leadGenFormOpenTimestamp
this.leadGenFormOpenTimestamp=null}const d={impressionDuration:l,impressionType:"VIEWABLE",sequenceNumber:-1,sponsoredEventHeader:{actionType:"impression",activityType:t,adTrackingCode:o,deviceType:"DESKTOP",feedPosition:a||1,version:s}}
if(h.shouldPopulateVideoMrcMetadata){const e={videoAdsMediaRatingCouncilInfo:{hasVideoStartedPlaying:h.sponsoredVideoHasStarted}}
d.sponsoredEventHeader.mediaRatingCouncilInfo=e}if(["control","dual"].includes(this.getSIEMigrationTreatment)){c||r.incrementMetricCounter({groupName:De.CLIENT_SENSOR_GROUP_NAME,metricName:De.SponsoredTrackingClientSensorMetrics.VIEWABLE_IMPRESSION})
n.push({body:d,meta:{transporterKey:P.SPONSORED_TRACKING_TRANSPORTER_KEYS.TFE_TRANSPORTER,...i&&{header:{testId:i}}},name:"SponsoredImpressionEvent"})
this.internalLogger.log(n[1],["SponsoredImpressionEvent"])}if(["enabled","dual"].includes(this.getSIEMigrationTreatment)){var f,b,v
const{mediaRatingCouncilInfo:e}=d.sponsoredEventHeader
this.tracking.fireImpression({manualFireReason:"SPONSORED_ACTION_EVENT_MIGRATION",targetView:this.updateDomElement,viewHierarchy:[...this.tracking.getViewHierarchy(this.updateDomElement)],viewTrackingScope:[{contentTrackingId:null===(f=this.tracking.getViewTrackingScope(this.updateDomElement)[0])||void 0===f?void 0:f.contentTrackingId,topicName:"SponsoredUpdateServed",transporterKeys:["sponsored"],breadcrumb:{$type:"proto.sdui.breadcrumbs.feed.SponsoredUpdateServedBreadcrumb",sponsoredServedInfo:{activityType:t,adTrackingCode:o,feedPosition:a||1}}}],viewDurationInMilliseconds:l,contentViewFraction:1,width:this.containerElementWidth,height:this.containerElementHeight,verticalPosition:this.verticalPosition,contentTrackingId:null===(b=this.updateMetadata)||void 0===b||null===(v=b.trackingData)||void 0===v?void 0:v.trackingId,...(null==e?void 0:e.videoAdsMediaRatingCouncilInfo)&&{mediaStateInfo:{hasPlaybackStarted:null==e?void 0:e.videoAdsMediaRatingCouncilInfo.hasVideoStartedPlaying}},...i&&{testId:i}})}this.fireImpressionTrackingPixel()}return n}}return()=>[]}onGroupMembershipUpdate(e){var t,n
const{SEND_REQUEST:o,LEAVE_GROUP:i}=s.ACTION_TYPE
if(![o,i].includes(e))return
const a=null===(t=this.update.actor)||void 0===t||null===(n=t.groupMembershipForJoinAction)||void 0===n?void 0:n.status
if(e===i){this.args.isDashEnabled||(this.update.socialDetail.commentingDisabled=!0)
this.update.socialDetail.socialPermissions.canPostComments=!1
this.socialCountsService.registerSocialCounts(this.update.socialDetail)}else if("MEMBER"===a&&e===o){if(!this.args.isDashEnabled){this.update.socialDetail.commentingDisabled=!1
this.update.socialDetail.comments.metadata.sort=null}this.update.socialDetail.socialPermissions.canPostComments=!0}}onEnterIntersectionConversationStarters(){if((0,k.isDestroying)(this)||!re.default)return
const e=X.default.testing?0:1e4
this.legoTrackingToken&&this._fireLegoImpressionEvent()
this.requestConversationStartersTask=(0,u.runTask)(this,(()=>{this.conversationStartersUseCase="VIEW_POST"}),e)}onExitIntersectionConversationStarters(){if(!(0,k.isDestroying)(this)&&re.default&&(0,O.isPresent)(this.requestConversationStartersTask)){(0,u.cancelTask)(this,this.requestConversationStartersTask)
this.requestConversationStartersTask=null}}onEnterIntersectionDesktopZoom(e){if((0,k.isDestroying)(this)||!re.default)return
const{offsetHeight:t}=e.target
this.legoTrackingToken&&this._fireLegoImpressionEvent()
if(t&&t>2*this.windowHeight){e.isIntersecting&&e.intersectionRatio>this.impressionPercentageThresholdDesktopZoom&&!this.enterTime&&(this.enterTime=e.time)}}_processCommentarySponsoredUrlAttributes(){var e
null===(e=this.commentaryAttributes)||void 0===e||e.forEach((e=>{var t
let{detailData:n,textLink:o}=e
const i=(null==n||null===(t=n.textLink)||void 0===t?void 0:t.sponsoredUrlAttributes)??(null==o?void 0:o.sponsoredUrlAttributes);(0,h.fetchAndInvokeARAEndpoint)(i,this.services)}))}_processCarouselSponsoredUrlAttributes(){var e
null===(e=this.carouselAttributes)||void 0===e||e.forEach((e=>{var t,n,o
let{content:i}=e
const a=(null==i||null===(t=i.creativeComponent)||void 0===t||null===(n=t.navigationContext)||void 0===n?void 0:n.sponsoredUrlAttributes)??(null==i||null===(o=i.navigationContext)||void 0===o?void 0:o.sponsoredUrlAttributes);(0,h.fetchAndInvokeARAEndpoint)(a,this.services)}))}onEnterIntersectionAttributionSource(e){var t
if(!(0,k.isDestroying)(this)&&re.default&&(X.default.testing||null!==(t=document.featurePolicy)&&void 0!==t&&t.allowsFeature("attribution-reporting"))&&!this.araEndpointInvoked&&e.isIntersecting){this._processCommentarySponsoredUrlAttributes()
this.normalizedCarouselContent&&this._processCarouselSponsoredUrlAttributes();(0,h.fetchAndInvokeARAEndpoint)(this.sponsoredUrlAttributes,this.services)
this.araEndpointInvoked=!0}}onExitIntersectionDesktopZoom(e){if((0,k.isDestroying)(this)||!re.default)return
const t=e.target,{offsetHeight:n}=t
if(n&&n>2*this.windowHeight){if(!(e.isIntersecting&&e.intersectionRatio>this.impressionPercentageThresholdDesktopZoom)&&this.enterTime){var o
const n=this.constructImpressionEvent(),i=n.entities[0]
i.duration=e.time-this.enterTime
i.visibleTime=e.time||0
i.visibleHeight=(null===(o=e.boundingClientRect)||void 0===o?void 0:o.height)??0
i.size={width:t.clientWidth,height:t.clientHeight}
i.duration<0&&this.clientSensor.incrementMetricCounter({groupName:De.CLIENT_SENSOR_GROUP_NAME,metricName:De.FeedTrackingClientSensorMetrics.NEGATIVE_FEED_IMPRESSION_DURATION});(0,Ue.handleLongDwellImpression)(i,this.graphql)
this.internalLogger.log(n,["FeedImpressionEvent","desktop-zoom"])
this.tracking.fireTrackingPayload("FeedImpressionEvent",n)}}}onEnterIntersectionPageView(){var e,t
!(0,k.isDestroying)(this)&&re.default&&(null===(e=this.updatesPaginationPVETracker)||void 0===e||null===(t=e.onDisplayUpdate)||void 0===t||t.call(e))}onReactionClick(){"REACTION"===this.nudgeType&&this.dwellTrackingManager.cancelExistingTimer(this.normalizedUpdateUrn)}handleLegoImpressionTracking(){this._fireLegoImpressionEvent()}actionTrackingHandler(){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o]
null===(e=this.updateTrackingObj)||void 0===e||e.fireFeedActionEvent(...n)}onUpdateEnteredViewport(){const e=this.normalizedUpdateUrn
this.dwellTrackingManager.entityEnteredViewport(e,this.updateDwellTimeRequirement,this.dwellTimeAnimationDelay,!0)}onUpdateExitedViewport(){const e=this.normalizedUpdateUrn
this.dwellTrackingManager.entityExitedViewport(e)}updateDwellTimeRequirement(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
this.normalizedUpdateUrn===e&&(this.isEligibleForDwellAnimation=t)}onActorClick(e){var t;(null===(t=this.args)||void 0===t?void 0:t.profileUrn)===e&&this.lix.getTreatmentIsEnabled("voyager.web.feed-carousel-update-actor-lockup-scroll-top")&&this.windowService.scrollTo({top:0,behavior:"smooth"})}adjustedCommentaryHeight(e){if(re.default&&this.isNewsLetterOrJobsOnMediumCardsEnabled){const t=20;(0,Re.readDOM)((()=>{const n=null==e?void 0:e.closest(".feed-shared-update-v2"),o=n&&(n.querySelector(".update-components-newsletter")||n.querySelector(".update-components-entity"));(0,Re.mutateDOM)((()=>{!(0,k.isDestroying)(this)&&o&&(this.adjustedNumCommentaryLines=Math.floor((tn-o.offsetHeight-e.offsetHeight)/t))}))}))}}_registerLeadGenFormURL(){var e
this.leadGenFormURL=`${(0,b.getDomainUrl)()}/leadGenForm/${null===(e=this.leadGenFormContent.leadGenForm)||void 0===e?void 0:e.entityUrn}`
this.cncRouter.registerHandler(this.leadGenFormURL,this.openLeadGenForm)}_deregisterLeadGenFormURL(){re.default&&this.cncRouter.deleteHandler(this.leadGenFormURL)}_checkShouldScrollToHighlightedComment(){var e,t,n
!(null!==(e=this.update)&&void 0!==e&&e.highlightedComments||null!==(t=this.update)&&void 0!==t&&null!==(n=t.socialDetail)&&void 0!==n&&n.comments)||this.args.isDetailView||this.shouldShowHighlightedUpdateAnimation||(this.shouldScrollToHighlightedComment=!0)}_fireLegoImpressionEvent(){this.legoTracking.sendLegoImpression(this.legoTrackingToken,this.legoTracking.LEGO_IMPRESSION_VISIBILITY_SHOW)}_updateCommentBoxEditorPlaceholder(){re.default&&(0,w.later)((()=>{const e=document.querySelector(`#${this.elementId} .ql-editor`)
if(e){const{actorType:i}=this.actor
let a
if(["company","organizationalPage"].includes(i)){var t,n,o
const e="organizationalPage"===i?null===(t=this.actor)||void 0===t?void 0:t.name:null===(n=this.actor)||void 0===n||null===(o=n.miniCompany)||void 0===o?void 0:o.name
a=this.i18n.lookupTranslation(G.default,"admin_placeholder_comment")([{actorName:e}])}else a=this.i18n.lookupTranslation(G.default,"placeholder_comment")()
a=jSecure.htmlUnencode(a)
null==e||e.setAttribute("data-placeholder",a)
null==e||e.setAttribute("aria-placeholder",a)}}))}},st=(0,o.default)(rt.prototype,"authenticatedUser",[Le],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),lt=(0,o.default)(rt.prototype,"clientSensor",[ze],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),dt=(0,o.default)(rt.prototype,"cncRouter",[Be],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ct=(0,o.default)(rt.prototype,"contentAdminIdentities",[Ge],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ut=(0,o.default)(rt.prototype,"dwellTrackingManager",[Ve],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pt=(0,o.default)(rt.prototype,"feedActionEvent",[He],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),mt=(0,o.default)(rt.prototype,"graphql",[qe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ht=(0,o.default)(rt.prototype,"i18n",[Ke],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),gt=(0,o.default)(rt.prototype,"jet",[We],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ft=(0,o.default)(rt.prototype,"legoTracking",[Ye],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),bt=(0,o.default)(rt.prototype,"lix",[Qe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),vt=(0,o.default)(rt.prototype,"persistentToastManager",[$e],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),yt=(0,o.default)(rt.prototype,"router",[Xe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ct=(0,o.default)(rt.prototype,"sponsoredActionTracking",[Ze],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Tt=(0,o.default)(rt.prototype,"storeShim",[Je],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),kt=(0,o.default)(rt.prototype,"tracking",[et],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),St=(0,o.default)(rt.prototype,"windowService",[tt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ot=(0,o.default)(rt.prototype,"socialCountsService",[nt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),wt=(0,o.default)(rt.prototype,"internalLogger",[ot],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Et=(0,o.default)(rt.prototype,"localAuthenticatedActor",[it],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),At=(0,o.default)(rt.prototype,"update",[at],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Mt=(0,o.default)(rt.prototype,"conversationStartersUseCase",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Pt=(0,o.default)(rt.prototype,"hasAnchored",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),It=(0,o.default)(rt.prototype,"impressionPercentageThresholdDesktopZoom",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),Dt=(0,o.default)(rt.prototype,"isLeadGenFormOpen",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),_t=(0,o.default)(rt.prototype,"isLeadGenSubmitted",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Ut=(0,o.default)(rt.prototype,"isUpdateHidden",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),xt=(0,o.default)(rt.prototype,"isRepostsModalOpen",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.openRepostListOnPageLoad}}),Rt=(0,o.default)(rt.prototype,"shouldFocusOnControlTrigger",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Nt=(0,o.default)(rt.prototype,"shouldExpandCommentBox",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),jt=(0,o.default)(rt.prototype,"menuAction",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ft=(0,o.default)(rt.prototype,"menuActionAssociatedSettingType",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Lt=(0,o.default)(rt.prototype,"shouldFocusOnFeedUpdate",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),zt=(0,o.default)(rt.prototype,"shouldScrollToHighlightedComment",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Bt=(0,o.default)(rt.prototype,"containerElementWidth",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Gt=(0,o.default)(rt.prototype,"containerElementHeight",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Vt=(0,o.default)(rt.prototype,"removeCaptureTargetToFireFAE",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ht=(0,o.default)(rt.prototype,"removeCaptureTargetToFireSAE",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),qt=(0,o.default)(rt.prototype,"isEligibleForDwellAnimation",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Kt=(0,o.default)(rt.prototype,"adjustedNumCommentaryLines",[I.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),(0,o.default)(rt.prototype,"captureTargetToFireFAE",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"captureTargetToFireFAE"),rt.prototype),(0,o.default)(rt.prototype,"captureTargetToFireSAE",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"captureTargetToFireSAE"),rt.prototype),(0,o.default)(rt.prototype,"onSaveCallback",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onSaveCallback"),rt.prototype),(0,o.default)(rt.prototype,"triggerSponsoredUpdatePostNudge",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"triggerSponsoredUpdatePostNudge"),rt.prototype),(0,o.default)(rt.prototype,"dismissRepostsModal",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"dismissRepostsModal"),rt.prototype),(0,o.default)(rt.prototype,"expandCommentBox",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"expandCommentBox"),rt.prototype),(0,o.default)(rt.prototype,"handleDidInsert",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"handleDidInsert"),rt.prototype),(0,o.default)(rt.prototype,"handleHiddenSponsoredUpdates",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"handleHiddenSponsoredUpdates"),rt.prototype),(0,o.default)(rt.prototype,"onResizeWindow",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onResizeWindow"),rt.prototype),(0,o.default)(rt.prototype,"navigateToDetailTracking",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"navigateToDetailTracking"),rt.prototype),(0,o.default)(rt.prototype,"fireCustomTracking",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"fireCustomTracking"),rt.prototype),(0,o.default)(rt.prototype,"hideOrUnhideUpdateOnAction",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"hideOrUnhideUpdateOnAction"),rt.prototype),(0,o.default)(rt.prototype,"restoreFocus",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"restoreFocus"),rt.prototype),(0,o.default)(rt.prototype,"onToggleCommenting",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onToggleCommenting"),rt.prototype),(0,o.default)(rt.prototype,"updateCommentRestrictionSetting",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"updateCommentRestrictionSetting"),rt.prototype),(0,o.default)(rt.prototype,"updateModelWithProperties",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"updateModelWithProperties"),rt.prototype),(0,o.default)(rt.prototype,"switchActorIdentity",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"switchActorIdentity"),rt.prototype),(0,o.default)(rt.prototype,"reloadUpdate",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"reloadUpdate"),rt.prototype),(0,o.default)(rt.prototype,"onEditShareSuccess",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onEditShareSuccess"),rt.prototype),(0,o.default)(rt.prototype,"openLeadGenForm",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"openLeadGenForm"),rt.prototype),(0,o.default)(rt.prototype,"onLeadGenFormResizeWindow",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onLeadGenFormResizeWindow"),rt.prototype),(0,o.default)(rt.prototype,"closeLeadGenForm",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"closeLeadGenForm"),rt.prototype),(0,o.default)(rt.prototype,"onClickInlineFeedbackLink",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onClickInlineFeedbackLink"),rt.prototype),(0,o.default)(rt.prototype,"onRepostsTotalClick",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onRepostsTotalClick"),rt.prototype),(0,o.default)(rt.prototype,"onTrackImpression",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onTrackImpression"),rt.prototype),(0,o.default)(rt.prototype,"onGroupMembershipUpdate",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onGroupMembershipUpdate"),rt.prototype),(0,o.default)(rt.prototype,"onEnterIntersectionConversationStarters",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onEnterIntersectionConversationStarters"),rt.prototype),(0,o.default)(rt.prototype,"onExitIntersectionConversationStarters",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onExitIntersectionConversationStarters"),rt.prototype),(0,o.default)(rt.prototype,"onEnterIntersectionDesktopZoom",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onEnterIntersectionDesktopZoom"),rt.prototype),(0,o.default)(rt.prototype,"onEnterIntersectionAttributionSource",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onEnterIntersectionAttributionSource"),rt.prototype),(0,o.default)(rt.prototype,"onExitIntersectionDesktopZoom",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onExitIntersectionDesktopZoom"),rt.prototype),(0,o.default)(rt.prototype,"onEnterIntersectionPageView",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onEnterIntersectionPageView"),rt.prototype),(0,o.default)(rt.prototype,"onReactionClick",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onReactionClick"),rt.prototype),(0,o.default)(rt.prototype,"handleLegoImpressionTracking",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"handleLegoImpressionTracking"),rt.prototype),(0,o.default)(rt.prototype,"actionTrackingHandler",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"actionTrackingHandler"),rt.prototype),(0,o.default)(rt.prototype,"onUpdateEnteredViewport",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onUpdateEnteredViewport"),rt.prototype),(0,o.default)(rt.prototype,"onUpdateExitedViewport",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onUpdateExitedViewport"),rt.prototype),(0,o.default)(rt.prototype,"updateDwellTimeRequirement",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"updateDwellTimeRequirement"),rt.prototype),(0,o.default)(rt.prototype,"onActorClick",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"onActorClick"),rt.prototype),(0,o.default)(rt.prototype,"adjustedCommentaryHeight",[l.action],Object.getOwnPropertyDescriptor(rt.prototype,"adjustedCommentaryHeight"),rt.prototype),rt))}))
define.alias("helpcenter-in-product-ember/components/search-bar","feed-shared/components/search-bar")
define.alias("helpcenter-in-product-ember/components/search-results-list","feed-shared/components/search-results-list")
define.alias("ember-finite-scroll/components/sentinel","feed-shared/components/sentinel")
define("feed-shared/components/sharebox-modal-with-success-callback",["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/component","sharing-shared/utils/sharing-shared-constants","global-utils/utils/api-compat","@ember/service","groups-shared/utils/requests/group-recommendation","@ember/object","@glimmer/component","sharing-entry/components/share-box-modal"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var g,f,b,v,y,C
e.default=(0,s.setComponentTemplate)((0,r.createTemplateFactory)({id:"/KAVXUkU",block:'[[[1,"\\n    "],[18,1,[[50,[32,0],0,null,[["onShareSuccess","updateShareStatusCollection"],[[30,0,["onShareSuccess"]],[30,0,["updateShareStatusCollection"]]]]]]],[1,"\\n  "]],["&default"],false,["yield","component"]]',moduleName:"feed-shared/components/sharebox-modal-with-success-callback.gjs",scope:()=>[h.default],isStrictMode:!0}),(g=(0,c.inject)("global-services@store-shim"),f=(0,c.inject)("sharing-entry@sharebox-upload-state"),b=(C=new WeakSet,class extends m.default{constructor(){super(...arguments)
C.add(this);(0,t.default)(this,"storeShim",v,this);(0,t.default)(this,"shareboxUploadState",y,this)}onShareSuccess(e){var t,n,i,a,r,s,c,u,p,m,h,g
const f=(null!==(t=e.status)&&void 0!==t&&t.pendingModeration?null===(n=e.status.updateV2.updateMetadata)||void 0===n?void 0:n.shareUrn:null===(i=e.updateMetadata)||void 0===i?void 0:i.shareUrn)||((null==e||null===(a=e.data)||void 0===a||null===(r=a.createContentcreationDashShares.entity)||void 0===r||null===(s=r.status)||void 0===s||null===(c=s.lifecycleState)||void 0===c?void 0:c.UnpublishedState)===l.SHARE_UNPUBLISHED_STATES.PENDING_MODERATION?`urn:li:groupPost:${(0,d.entityUrnToId)(null==e||null===(u=e.data)||void 0===u||null===(p=u.createContentcreationDashShares.entity)||void 0===p?void 0:p.entityUrn)}`:null===(m=e.metadata)||void 0===m?void 0:m.shareUrn);(0,o.default)(this,C,T).call(this,f)
null===(h=(g=this.args).onShareSuccess)||void 0===h||h.call(g,e)}updateShareStatusCollection(e){var t,n,i
this.shareboxUploadState.storeUploadState(e);(0,o.default)(this,C,T).call(this,null===(t=e[0].updateMetadata)||void 0===t?void 0:t.shareUrn)
null===(n=(i=this.args).updateShareStatusCollection)||void 0===n||n.call(i,e)}}),v=(0,i.default)(b.prototype,"storeShim",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,i.default)(b.prototype,"shareboxUploadState",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(b.prototype,"onShareSuccess",[p.action],Object.getOwnPropertyDescriptor(b.prototype,"onShareSuccess"),b.prototype),(0,i.default)(b.prototype,"updateShareStatusCollection",[p.action],Object.getOwnPropertyDescriptor(b.prototype,"updateShareStatusCollection"),b.prototype),b))
function T(e){const{recommendationUrn:t,recommendationAction:n,referenceUrn:o,usecase:i}=this.args
n&&o&&t&&this.storeShim.queryURL(...(0,u.updateRecommendationForPostAction)(t,o,e,n,i))}}))
define("feed-shared/components/shimmer-loader",["exports","@ember/template-factory","@ember/component","@glimmer/component","scaffold-skeleton/components/skeleton","artdeco-card/components/artdeco-card"],(function(e,t,n,o,i,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class r extends o.default{constructor(){super(...arguments)
this.iconsLength=new Array(3)
this.footerItemsLength=new Array(4)}}e.default=r;(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"Ahp3FA2G",block:'[[[1,"\\n    "],[8,[32,0],[[24,0,"feed-shimmer-loader pv4 mb2"],[17,1]],null,[["default"],[[[[1,"\\n      "],[8,[32,1],null,null,[["default"],[[[[1,"\\n        "],[8,[30,2,["Container"]],[[24,0,"align-items-center ph4"]],[["@gap","@size"],["small","full"]],[["default"],[[[[1,"\\n          "],[8,[30,2,["Entity"]],null,[["@size","@type"],["small","circle"]],null],[1,"\\n          "],[8,[30,2,["Container"]],null,[["@gap","@size"],["small","large"]],[["default"],[[[[1,"\\n            "],[8,[30,2,["Text"]],null,[["@align","@size"],["left","medium"]],null],[1,"\\n            "],[8,[30,2,["Text"]],null,[["@align","@size"],["left","large"]],null],[1,"\\n            "],[8,[30,2,["Text"]],null,[["@align","@size"],["left","small"]],null],[1,"\\n          "]],[]]]]],[1,"\\n        "]],[]]]]],[1,"\\n\\n        "],[8,[30,2,["Container"]],[[24,0,"ph4 mv4"]],[["@gap","@size"],["small","full"]],[["default"],[[[[1,"\\n          "],[8,[30,2,["Text"]],null,[["@align","@size"],["left","full"]],null],[1,"\\n          "],[8,[30,2,["Text"]],null,[["@align","@size"],["left","large"]],null],[1,"\\n        "]],[]]]]],[1,"\\n\\n        "],[8,[30,2,["Container"]],[[24,0,"mv4"]],[["@gap","@size"],["small","full"]],[["default"],[[[[1,"\\n          "],[8,[30,2,["Media"]],null,null,null],[1,"\\n        "]],[]]]]],[1,"\\n\\n        "],[8,[30,2,["Container"]],[[24,0,"mv4 ph4 flex-wrap-nowrap justify-space-between"]],[["@gap"],["medium"]],[["default"],[[[[1,"\\n          "],[8,[30,2,["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,2,["Icon"]],null,[["@size"],["small"]],null],[1,"\\n"]],[]],null],[1,"            "],[8,[30,2,["Text"]],null,[["@align","@size"],["left","medium"]],null],[1,"\\n          "]],[]]]]],[1,"\\n          "],[8,[30,2,["Container"]],[[24,0,"align-items-center"]],[["@size"],["small"]],[["default"],[[[[1,"\\n            "],[8,[30,2,["Text"]],null,[["@align","@size"],["right","small"]],null],[1,"\\n          "]],[]]]]],[1,"\\n        "]],[]]]]],[1,"\\n\\n        "],[8,[30,2,["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,2,["Container"]],[[24,0,"flex-wrap-nowrap align-items-center"]],[["@size","@gap"],["small","xsmall"]],[["default"],[[[[1,"\\n              "],[8,[30,2,["Icon"]],null,[["@size"],["medium"]],null],[1,"\\n              "],[8,[30,2,["Text"]],[[24,0,"flex-grow-1"]],[["@align","@size"],["left","small"]],null],[1,"\\n            "]],[]]]]],[1,"\\n"]],[]],null],[1,"        "]],[]]]]],[1,"\\n      "]],[2]]]]],[1,"\\n    "]],[]]]]],[1,"\\n  "]],["&attrs","Bones"],false,["each","-track-array"]]',moduleName:"feed-shared/components/shimmer-loader.gjs",scope:()=>[a.default,i.default],isStrictMode:!0}),r)}))
define.alias("ember-cloud-filepicker/components/slideshare-file-picker","feed-shared/components/slideshare-file-picker")
define("feed-shared/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-shared/components/sponsored-multithreshold-impression-tracking-wrapper",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/helper","@ember/component","global-utils/utils/custom-tracking-transporters","@ember/debug","@ember/service","@ember/object","ember","@glimmer/component","ember-cli-pemberly-tracking/modifiers/track-impression"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var g,f,b
e.default=(0,s.setComponentTemplate)((0,a.createTemplateFactory)({id:"FNy9hrMk",block:'[[[1,"\\n"],[41,[30,0,["shouldTrackMultiThresholdSponsoredImpressions"]],[[[1,"      "],[11,0],[17,1],[4,[32,0],null,[["registerOnImpression","key","routeName","currentRoute"],[[30,0,["onTrackMultiThresholdImpression"]],"d_impression_3pp_multithreshold",[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n        "],[18,2,null],[1,"\\n      "],[13],[1,"\\n"]],[]],[[[1,"      "],[11,0],[17,1],[12],[1,"\\n        "],[18,2,null],[1,"\\n      "],[13],[1,"\\n"]],[]]],[1,"  "]],["&attrs","&default"],false,["if","-get-dynamic-var","yield"]]',moduleName:"feed-shared/components/sponsored-multithreshold-impression-tracking-wrapper.gjs",scope:()=>[h.default,r.get],isStrictMode:!0}),(g=(0,c.inject)("tracking"),f=class extends m.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",b,this)}get isSponsored(){return!!(this.args.sponsoredMetadata&&this.args.sponsoredMetadata.activityType&&this.args.sponsoredMetadata.adTrackingCode&&this.args.sponsoredMetadata.version)}get isViral(){var e
return"VIRAL"===(null===(e=this.args.sponsoredMetadata)||void 0===e?void 0:e.activityType)}get metricsSizeLimit(){return p.default.testing&&this.args.metricsSizeLimit||25}get shouldTrackMultiThresholdSponsoredImpressions(){return this.isSponsored&&!this.isViral&&!this.args.shouldSuppressTracking&&this.args.sponsoredMetadata.shouldTrackMultiThresholds}onTrackMultiThresholdImpression(){const{activityType:e,adTrackingCode:t,version:n}=this.args.sponsoredMetadata,o={sponsoredEventHeader:{activityType:e,adTrackingCode:t,version:n,actionType:"impression",deviceType:"DESKTOP",feedPosition:this.args.updatePosition||-1}},{tracking:i}=this
return e=>{o.hasAllImpressionThresholds=e.thresholdEvents.length<=this.metricsSizeLimit
o.impressionThresholds=e.thresholdEvents.slice(0,this.metricsSizeLimit).map((e=>{const{duration:t,threshold:n,visibleTime:o,boundingClientRect:i}=e,a={visibleStartTime:o,hasViewedOnePixel:0===n.ratio,visibleDuration:t,size:{height:i.height,width:i.width}}
a.hasViewedOnePixel||(a.visiblePercentage=n.ratio)
return a}))
i.fireTrackingPayload("SponsoredMultiThresholdImpressionEvent",o,{transporterKey:l.SPONSORED_TRACKING_TRANSPORTER_KEYS.TFE_TRANSPORTER})
return[]}}},b=(0,o.default)(f.prototype,"tracking",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.default)(f.prototype,"onTrackMultiThresholdImpression",[u.action],Object.getOwnPropertyDescriptor(f.prototype,"onTrackMultiThresholdImpression"),f.prototype),f))}))
define("feed-shared/components/update-attachments",["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-utils/utils/api-compat","@ember/service","artdeco-card/components/artdeco-card","feed-shared/components/carousel","@glimmer/component","feed-shared/components/update/generic-update","feed-utils/utils/update-content-union-util","global-helpers/helpers/sum","text-view-model/helpers/text-view-model","text-view-model/components/text-view-model-v2","feed-tracking/utils/update-tracking-obj","feed-utils/helpers/render-model-path"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h,g,f,b,v){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var y,C,T,k,S,O,w
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"3I3CkS2T",block:'[[[1,"\\n"],[41,[30,0,["showUpdateAttachments"]],[[[1,"      "],[10,0],[14,0,"feed-shared-update-attachments feed-shared-update-attachments--ani"],[12],[1,"\\n"],[41,[30,0,["relatedContent"]],[[[44,[[50,[28,[32,0],[[30,0],[28,[32,1],[[30,0,["relatedContent"]]],null]],null],0,null,null]],[[[41,[30,1],[[[1,"              "],[8,[30,1],null,[["@onHideUpdateAttachment","@model","@updateTrackingObj","@triggerAction","@isDashEnabled","@updateMetadata","@dashEntityUrn","@isPostRecommendationUpdatesEnabled"],[[30,2],[30,0,["relatedContent"]],[30,0,["updateTrackingObj"]],[30,3],[30,0,["isAttachmentDash"]],[30,4],[30,5],[30,6]]],null],[1,"\\n"]],[]],null]],[1]]]],[]],[[[41,[30,0,["relatedUpdate"]],[[[1,"          "],[8,[32,2],null,[["@onHideUpdateAttachment","@model","@isDashEnabled"],[[30,2],[30,0,["relatedUpdate"]],[30,0,["isAttachmentDash"]]]],null],[1,"\\n"]],[]],[[[41,[30,0,["relatedCarouselContent"]],[[[41,[30,0,["relatedCarouselContent","items","length"]],[[[1,"            "],[8,[32,3],null,null,[["default"],[[[[1,"\\n"],[41,[30,7,["headerText"]],[[[1,"                "],[10,"header"],[14,0,"pt3 ph3 pb1 bb0"],[12],[1,"\\n                  "],[10,"h2"],[14,0,"text-body-xsmall"],[12],[1,"\\n"],[41,[30,0,["isAttachmentDash"]],[[[1,"                      "],[8,[32,4],null,[["@tvm"],[[30,7,["headerText"]]]],null],[1,"\\n"]],[]],[[[1,"                      "],[1,[28,[32,5],[[30,7,["headerText"]]],null]],[1,"\\n"]],[]]],[1,"                  "],[13],[1,"\\n                "],[13],[1,"\\n"]],[]],null],[1,"              "],[8,[32,6],null,[["@class","@isDashEnabled","@model","@updateTrackingObj","@impressionRowPosition"],["ph2 pb2",[30,0,["isAttachmentDash"]],[30,0,["relatedCarouselContent"]],[30,0,["updateTrackingObj"]],[28,[32,7],[[30,8],1],null]]],null],[1,"\\n            "]],[]]]]],[1,"\\n"]],[]],null],[1,"        "]],[]],null]],[]]]],[]]],[1,"      "],[13],[1,"\\n"]],[]],null],[1,"  "]],["RelatedContentComponent","@onHideUpdateAttachment","@triggerAction","@updateMetadata","@dashEntityUrn","@isPostRecommendationUpdatesEnabled","@attachment","@updatePosition"],false,["if","let","component"]]',moduleName:"feed-shared/components/update-attachments.gjs",scope:()=>[v.resolveFeedComponent,v.default,p.default,d.default,f.default,g.default,c.default,h.default],isStrictMode:!0}),(y=(0,l.inject)("feed-tracking@feed-action-event"),C=(0,l.inject)("feed-tracking@sponsored-action-tracking"),T=(0,l.inject)("tracking"),k=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"feedActionEvent",S,this);(0,t.default)(this,"sponsoredActionTracking",O,this);(0,t.default)(this,"tracking",w,this)}get isAttachmentDash(){var e
return!!this.args.attachment&&(null===(e=(0,s.classNameOf)(this.args.attachment))||void 0===e?void 0:e.includes("dash"))}get relatedUpdate(){var e
return null===(e=this.args.attachment)||void 0===e?void 0:e.update}get relatedCarouselContent(){var e
return null===(e=this.args.attachment)||void 0===e?void 0:e.carouselContent}get relatedContent(){var e
if(this.isAttachmentDash){var t
return(0,m.default)(null===(t=this.args.attachment)||void 0===t?void 0:t.content)}return null===(e=this.args.attachment)||void 0===e?void 0:e.content}get showUpdateAttachments(){return!this.args.isUpdateHiddenByControlMenuAction&&(this.relatedUpdate||this.relatedCarouselContent||this.relatedContent)}get updateTrackingObj(){return this.args.updateMetadata?new b.default(this.args.updateMetadata,this.feedActionEvent,this.sponsoredActionTracking,this.tracking,void 0,void 0,this.args.shouldSuppressTracking):null}},S=(0,o.default)(k.prototype,"feedActionEvent",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,o.default)(k.prototype,"sponsoredActionTracking",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,o.default)(k.prototype,"tracking",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k))}))
define("feed-shared/components/update-list-carousel",["exports","@ember/template-factory","@babel/runtime/helpers/esm/defineProperty","@ember/component","@ember/helper","@ember/modifier","global-helpers/helpers/and","artdeco-button/components/artdeco-button","artdeco-carousel/components/artdeco-carousel","update-components/components/carousel-base","feed-utils/helpers/detail-page-info","global-helpers/helpers/eq","global-helpers/helpers/includes","ember-engines/components/link-to-external","global-helpers/helpers/sum","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-impression","feed-shared/components/render-models/update-v2"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h,g,f,b){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class v extends d.default{constructor(){super(...arguments);(0,n.default)(this,"carouselContentType","MIXED_UPDATES");(0,n.default)(this,"hidePagination",!0)}get slides(){return this.args.updates}}e.default=v;(0,o.setComponentTemplate)((0,t.createTemplateFactory)({id:"m2/SYZn0",block:'[[[1,"\\n"],[1,"    "],[10,0],[15,0,[29,["feed-shared-update-list-carousel feed-shared-update-list-carousel--no-heading\\n        ",[30,1]]]],[12],[1,"\\n      "],[8,[32,0],null,[["@carouselItems","@hidePrevNextBtns","@hidePagination","@loop","@cardWidth","@onNext","@onPrevious","@currentSlideIndex"],[[30,0,["slides","length"]],true,[30,0,["hidePagination"]],false,[30,0,["cardWidth"]],[30,0,["onNext"]],[30,0,["onPrevious"]],[30,0,["currentSlideIndex"]]]],[["default"],[[[[1,"\\n        "],[10,0],[14,0,"overflow-hidden ph5 pv3"],[12],[1,"\\n          "],[8,[30,2,["slider"]],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,0,["slides"]]],null]],null],null,[[[1,"              "],[8,[30,2,["item"]],null,[["@myIndex"],[[30,4]]],[["default"],[[[[1,"\\n                "],[8,[32,1],[[24,0,"feed-shared-update-list-carousel--empty-space-fix"]],[["@hideCaEntryPoint","@impressionColumnPosition","@impressionRowPosition","@isCarouselUpdate","@disableContentHeightAdjustment","@isFixedHeightCarouselUpdate","@isDashEnabled","@isEditingShare","@isUpdateHiddenByControlMenuAction","@isWrapped","@profileUrn","@setEditingShareState","@setIsUpdateHiddenByControlMenuAction","@shouldHideContentAdminIdentityToggle","@shouldSuppressTracking","@slideIndex","@update","@authenticatedActor","@wrapperClass"],[[30,5],[28,[32,2],[[30,4],1],null],[30,6],true,true,true,true,[28,[32,3],[[28,[32,4],[[30,0,["editingIndex"]],[30,4]],null],[30,0,["isEditingShare"]]],null],[28,[32,5],[[30,0,["deletedPosts"]],[30,4]],null],true,[30,7],[28,[32,6],[[30,0,["setEditingShareState"]],[30,4]],null],[28,[32,6],[[30,0,["setIsUpdateHiddenByControlMenuAction"]],[30,4]],null],true,[30,8],[30,4],[30,3],[30,9],"display-flex flex-column full-height"]],[["default"],[[[[1,"\\n                  "],[11,0],[24,0,"fie-impression-container display-flex flex-column full-height"],[4,[32,7],null,[["registerOnImpression","thresholdMillisecondsInViewport","thresholdPercentageInViewport","routeName","currentRoute"],[[30,12,["onTrackImpression"]],0,50,[28,[32,8],[[53,"outletState"],"render.name"],null],[28,[32,8],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n"],[41,[30,10,["header"]],[[[1,"                      "],[8,[30,10,["header"]],null,null,null],[1,"\\n"],[41,[30,10,["controlMenu"]],[[[1,"                        "],[8,[30,10,["controlMenu"]],null,null,null],[1,"\\n"]],[]],null],[1,"                      "],[8,[30,10,["actor"]],null,[["@entitySize"],[2]],null],[1,"\\n"]],[]],[[[1,"                      "],[8,[30,10,["actor"]],null,[["@entitySize"],[2]],null],[1,"\\n"],[41,[30,10,["controlMenu"]],[[[1,"                        "],[8,[30,10,["controlMenu"]],null,null,null],[1,"\\n"]],[]],null]],[]]],[41,[30,10,["contextualDescriptionV2"]],[[[1,"                      "],[8,[30,10,["contextualDescriptionV2"]],null,[["@openLinksExternally"],[true]],null],[1,"\\n"]],[]],null],[1,"                    "],[10,0],[15,0,[29,["feed-shared-update-v2__commentary-content\\n                        ",[52,[30,10,["header"]]," feed-shared-update-v2__commentary-content--has-header "]]]],[12],[1,"\\n"],[41,[30,10,["commentaryContainer"]],[[[1,"                        "],[8,[30,10,["commentaryContainer"]],null,[["@disableToggleShowMore","@commentaryInlineSeeMoreTrackingOverrides","@onShowMore","@hasContent","@seeMoreTextIsLink"],[true,[30,0,["carouselCommentaryTrackingOverrides"]],[28,[32,6],[[30,0,["openDetailPage"]],[30,3,["metadata"]]],null],[30,12,["hasContent"]],true]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,12,["hasContent"]],[[[44,[[28,[32,9],[[30,3,["metadata"]],[30,13]],null]],[[[1,"                          "],[8,[30,10,["content"]],null,[["@class","@isCarouselUpdate","@commentaryInlineSeeMoreTrackingOverrides","@controlMenuComponent","@linkToComponent","@openDetailPage","@updateUrn"],["feed-shared-update-v2__content",true,[30,0,["carouselCommentaryTrackingOverrides"]],[52,[30,12,["isActionsPositionInContent"]],[30,10,["controlMenu"]]],[50,[32,10],0,null,[["route","models","class"],[[30,14,["route"]],[30,14,["models"]],"t-black t-14 t-normal tap-target"]]],[28,[32,6],[[30,0,["openDetailPage"]],[30,3,["metadata"]]],null],[30,3,["metadata","backendUrn"]]]],null],[1,"\\n"]],[14]]]],[]],null],[41,[30,12,["hasResharedUpdate"]],[[[44,[[28,[32,9],[[30,3,["metadata"]],[30,13]],null]],[[[1,"                          "],[8,[30,10,["resharedUpdate"]],[[24,0,"feed-shared-update-v2__update-content-wrapper artdeco-card"]],[["@linkToComponent","@disableToggleShowMore","@onShowMore"],[[50,[32,10],0,null,[["route","models"],[[30,15,["route"]],[30,15,["models"]]]]],true,[28,[32,6],[[30,0,["openDetailPage"]],[30,3,["metadata"]]],null]]],null],[1,"\\n"]],[15]]]],[]],null],[1,"                    "],[13],[1,"\\n"],[41,[30,12,["hasSocialDetail"]],[[[41,[30,12,["showContributionExperience"]],[[[1,"                        "],[8,[30,10,["updateV2SocialActivity"]],null,[["@isCarouselUpdate","@showStackedSocialIcons","@isXArticleSocialActivity"],[true,[30,0,["showStackedSocialIcons"]],true]],null],[1,"\\n"]],[]],[[[1,"                        "],[8,[30,10,["updateV2SocialActivity"]],null,[["@hideComments","@isCarouselUpdate","@openFeedDetailPage","@showStackedSocialIcons","@socialContent","@socialDetail"],[true,true,[28,[32,6],[[30,0,["openDetailPage"]],[30,3,["metadata"]]],null],true,[30,3,["socialContent"]],[30,3,["socialDetail"]]]],null],[1,"\\n"]],[]]]],[]],null],[41,[30,10,["footer"]],[[[1,"                      "],[8,[30,10,["footer"]],null,[["@class"],[[30,0,["footerClasses"]]]],null],[1,"\\n"]],[]],null],[1,"                  "],[13],[1,"\\n                "]],[10,11,12]]]]],[1,"\\n              "]],[]]]]],[1,"\\n"]],[3,4]],null],[1,"          "]],[]]]]],[1,"\\n        "],[13],[1,"\\n      "]],[2]]]]],[1,"\\n\\n      "],[8,[32,11],[[24,0,"feed-shared-update-list-carousel__navigation-button feed-shared-update-list-carousel__navigation-button--prev"],[16,"aria-label",[28,[32,12],["i18n_carousel_previous","feed-shared/components/update-list-carousel"],null]],[16,"disabled",[30,0,["isPreviousDisabled"]]],[4,[32,13],["click",[30,0,["moveToPrevious"]]],[["bubbles"],[false]]]],[["@circle","@color","@icon","@size","@type"],[true,"muted","chevron-left",1,"primary"]],null],[1,"\\n      "],[8,[32,11],[[24,0,"feed-shared-update-list-carousel__navigation-button feed-shared-update-list-carousel__navigation-button--next"],[16,"aria-label",[28,[32,12],["i18n_carousel_next","feed-shared/components/update-list-carousel"],null]],[16,"disabled",[30,0,["isNextDisabled"]]],[4,[32,13],["click",[30,0,["moveToNext"]]],[["bubbles"],[false]]]],[["@circle","@color","@icon","@size","@type"],[true,"muted","chevron-right",1,"primary"]],null],[1,"\\n    "],[13],[1,"\\n  "]],["@class","carousel","slide","index","@hideCaEntryPoint","@impressionRowPosition","@profileUrn","@shouldSuppressTracking","@authenticatedActor","components","actions","properties","@organizationUniversalName","detailPageInfo","detailPageInfo"],false,["each","-track-array","-get-dynamic-var","if","let","component"]]',moduleName:"feed-shared/components/update-list-carousel.gjs",scope:()=>[l.default,b.default,h.default,r.default,u.default,p.default,i.fn,f.default,i.get,c.default,m.default,s.default,g.default,a.on],isStrictMode:!0}),v)}))
define("feed-shared/components/update/generic-update",["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/debug","global-utils/utils/api-compat","video-utils/utils/video-constants","@ember/helper","@ember/object","feed-requests/utils/collection-queries","@ember/service","@ember/destroyable","feed-utils/utils/error-parsing","@ember/utils","tracked-toolbox","rsvp","@glimmer/tracking","tracked-built-ins","feed-utils/utils/constants","global-helpers/helpers/and","artdeco-loader/components/artdeco-loader","asset-loader/components/asset-loader","@glimmer/component","ember-element-helper/helpers/element","global-helpers/helpers/eq","global-modifiers/modifiers/focus","feed-utils/utils/update-content-union-util","global-helpers/helpers/gte","global-helpers/helpers/not","occludable-area/components/occludable-area","global-helpers/helpers/or","social-details/components/social-actions","social-details/components/social-counts","ember-cli-pemberly-i18n/helpers/t","text-view-model/components/text-view-model-v2","ember-cli-pemberly-tracking/modifiers/track-impression","feed-shared/components/update-attachments","feed-shared/components/update/update-detail-viewer","feed-shared/components/render-models/update-v2"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h,g,f,b,v,y,C,T,k,S,O,w,E,A,M,P,I,D,_,U,x,R,N,j,F,L,z,B){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var G,V,H,q,K,W,Y,Q,$,X,Z,J,ee,te,ne,oe,ie,ae,re,se,le,de,ce,ue,pe,me
const he={"com.linkedin.voyager.feed.render.ImageComponent":"images","com.linkedin.voyager.feed.render.CelebrationComponent":"image","com.linkedin.voyager.dash.feed.component.image.ImageComponent":"images","com.linkedin.voyager.dash.feed.component.celebration.CelebrationComponent":"image"}
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"atEpdl44",block:'[[[1,"\\n"],[44,[[28,[32,0],[[52,[30,1,["shouldAutofocus"]],"div",""]],null]],[[[1,"      "],[8,[30,2],[[16,"tabindex",[52,[30,1,["shouldAutofocus"]],"-1",null]],[4,[32,1],null,[["when"],[[30,1,["shouldAutofocus"]]]]]],null,[["default"],[[[[1,"\\n        "],[8,[32,2],null,[["@class","@hintClassName","@occlusionEnabled","@rootMarginBottomBuffer"],["occludable-update","occludable-update-hint",[30,3],[30,0,["rootMarginBottomBuffer"]]]],[["default"],[[[[1,"\\n          "],[8,[32,3],[[17,4]],[["@isAccuratePreview","@authenticatedActor","@caEngineName","@carouselNextAriaLabel","@carouselPreviousAriaLabel","@channelId","@commentSort","@conversationStarters","@customModuleKey","@editModalReturnToFocus","@hasInterstitial","@hideCaEntryPoint","@hideReshare","@hideSendPrivately","@hideHeader","@initialTextAndMentions","@isAdminPost","@isAdsTransparency","@isDashEnabled","@isDetailView","@isEditingCaptions","@isEditingShare","@isHighlighted","@showCommentBox","@isUpdateHiddenByControlMenuAction","@isWrapped","@onControlMenuItemSelection","@onDisplayUpdate","@onHideUpdateAttachment","@onRequestReload","@onTriggerUpdateAttachment","@onFetchConversationStarters","@onDeleted","@hasRequestedConversationStarters","@onUpdateInserted","@isConversationStartersAnimating","@onConversationStartersAnimationEnd","@onShareSuccess","@onUpdateInsertedForViewState","@openRepostListOnPageLoad","@organizationUniversalName","@pageKey","@reloadActionsDisabled","@removeUpdate","@setEditingCaptionsState","@setEditingShareState","@setIsUpdateHiddenByControlMenuAction","@setSurveyDisplayContent","@shouldFocusTexteditor","@shouldHideContentAdminIdentityToggle","@shouldSuppressTracking","@conversationStartersUnavailable","@showADCarouselNavigationButtons","@shouldHideVideoCaptionBanners","@socialEventNotifier","@surveyDisplayContent","@update","@updatePosition","@updateIsAnchored","@updatesPaginationPVETracker","@videoAnalyticsRouteName","@searchId","@isPostRecommendationUpdatesEnabled","@toggleUpdateDetailViewer","@resharePageInstanceOverride"],[[30,5],[30,6],[30,7],[30,8],[30,9],[30,10],[30,11],[30,0,["conversationStarters"]],[30,12],[30,13],[30,0,["hasInterstitial"]],[30,14],[30,15],[30,16],[30,17],[30,18],[30,19],[30,20],[30,21],[30,22],[30,0,["isEditingCaptions"]],[30,0,["isEditingShare"]],[30,23],[30,24],[30,0,["isUpdateHiddenByControlMenuAction"]],[30,25],[30,26],[30,27],[30,28],[30,29],[30,0,["handleUpdateAttachments"]],[30,0,["handleFetchConversationStarters"]],[30,30],[30,0,["hasRequestedConversationStarters"]],[30,31],[30,0,["isConversationStartersAnimating"]],[30,0,["onConversationStartersAnimationEnd"]],[30,32],[30,33],[30,34],[30,35],[30,36],[30,37],[30,38],[30,0,["setEditingCaptionsState"]],[30,0,["setEditingShareState"]],[30,0,["setIsUpdateHiddenByControlMenuAction"]],[30,0,["setSurveyDisplayContent"]],[30,39],[30,40],[30,41],[30,0,["conversationStartersUnavailable"]],[30,42],[30,0,["shouldHideVideoCaptionBanners"]],[30,43],[30,0,["surveyDisplayContent"]],[30,1],[30,0,["updatePosition"]],[30,44],[30,45],[30,46],[30,47],[30,48],[30,0,["toggleUpdateDetailViewer"]],[30,49]]],[["default"],[[[[1,"\\n"],[44,[[50,[32,4],0,null,[["activeImageIndex","actorComponent","addCommentUrnToReportedUrns","attachment","commentaryComponent","content","displayImages","isAdminFeed","isDashEnabled","isReshareButtonShareboxOpen","isUpdateDetailViewerOpen","onCloseModalClick","reportedCommentUrns","shouldShowReshare","socialDetailComponent","toggleReshareButtonSharebox","transitionFromUpdateDetailToMessageDrawer","updateMetadata","updateTrackingObj","isXArticleSocialActivity"],[[30,0,["activeImageIndex"]],[52,[28,[32,5],[[30,52,["hasResharedUpdate"]],[30,0,["isUpdateDetailViewerForResharedPostsEnabled"]]],null],[30,50,["resharedUpdateActor"]],[30,50,["actor"]]],[30,0,["addCommentUrnToReportedUrns"]],[30,0,["attachment"]],[52,[28,[32,5],[[30,52,["hasResharedUpdate"]],[30,0,["isUpdateDetailViewerForResharedPostsEnabled"]]],null],[30,50,["resharedUpdateCommentaryContainer"]],[30,50,["commentaryContainer"]]],[30,50,["content"]],[30,0,["displayImages"]],[30,53],[30,21],[30,0,["isReshareButtonShareboxOpen"]],[30,0,["isUpdateDetailViewerOpen"]],[30,0,["toggleUpdateDetailViewer"]],[30,0,["reportedCommentUrns"]],[30,54],[52,[30,52,["hasSocialDetail"]],[52,[28,[32,5],[[30,52,["hasResharedUpdate"]],[30,0,["isUpdateDetailViewerForResharedPostsEnabled"]]],null],[30,50,["resharedUpdateV2SocialActivity"]],[30,50,["updateV2SocialActivity"]]]],[30,0,["toggleReshareButtonSharebox"]],[30,0,["transitionFromUpdateDetailToMessageDrawer"]],[30,0,["updateMetadata"]],[30,52,["updateTrackingObj"]],[30,52,["showContributionExperience"]]]]],[50,[30,50,["updateV2SocialActivity"]],0,null,[["anchoredComment","dashAnchoredCommentUrn","dashAnchoredReplyUrn","hasNonClickThroughInterstitial","hideBottomBorder","hideComments","hideCommentsWithoutInteraction","hideReshare","hideSocialActions","highlightedComments","initialCommentReplies","initialComments","isAdminFeed","isCommentsTotalClickable","isFromCreatorNudge","isRepostsTotalClickable","isReshareButtonShareboxOpen","isUpdateDetailViewerOpen","onCommentButtonClick","onCommentsTotalClick","onReactionsTotalClick","openCommentBoxFromExternal","reportedCommentUrns","shouldShowReshare","shouldShowReshareModal","socialActionsClassNames","socialCountClassNames","toggleReshareButtonSharebox","useUpdateDetailViewer","isXArticleSocialActivity"],[[30,55],[30,56],[30,57],[30,0,["hasNonClickThroughInterstitial"]],[30,58],[30,59],[30,60],[30,15],[30,61],[30,0,["highlightedComments"]],[30,0,["initialCommentReducedReplies"]],[30,0,["initialComments"]],[30,53],[30,62],[30,63],[30,64],[30,0,["isReshareButtonShareboxOpen"]],[30,0,["isUpdateDetailViewerOpen"]],[30,65],[30,66],[30,67],[30,68],[30,0,["reportedCommentUrns"]],[30,54],[30,69],[30,70],[30,71],[30,0,["toggleReshareButtonSharebox"]],[30,0,["useUpdateDetailViewer"]],[30,52,["showContributionExperience"]]]]]],[[[44,[[50,[30,73],0,null,[["hideSocialAccessories"],[true]]],[50,[30,73],0,null,[["hideSocialContent"],[true]]]],[[[1,"                "],[10,"h2"],[14,0,"visually-hidden"],[12],[1,"\\n"],[41,[30,76],[[[1,"                    "],[1,[28,[32,6],["update_a11y_landmark_with_index","feed-shared/components/update/generic-update"],[["updateIndex"],[[30,76]]]]],[1,"\\n"]],[]],[[[1,"                    "],[1,[28,[32,6],["update_a11y_landmark","feed-shared/components/update/generic-update"],null]],[1,"\\n"]],[]]],[1,"                "],[13],[1,"\\n                "],[11,0],[24,0,"fie-impression-container"],[4,[32,7],null,[["registerOnImpression","thresholdMillisecondsInViewport","thresholdPercentageInViewport","routeName","currentRoute"],[[30,52,["onTrackImpression"]],0,50,[28,[32,8],[[53,"outletState"],"render.name"],null],[28,[32,8],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n"],[41,[30,77],[[[1,"                    "],[10,"h3"],[14,0,"t-20 t-bold pt3 pb3 ph4"],[12],[1,"\\n                      "],[8,[32,9],null,[["@tvm"],[[30,77]]],null],[1,"\\n                    "],[13],[1,"\\n"]],[]],null],[1,"                  "],[10,0],[14,0,"relative"],[12],[1,"\\n"],[41,[30,52,["showHeader"]],[[[1,"                      "],[8,[30,50,["header"]],null,[["@headerClasses"],[[30,78]]],null],[1,"\\n                      "],[8,[30,50,["controlMenu"]],null,[["@controlMenuTooltipText"],[[30,79]]],null],[1,"\\n"],[41,[30,0,["showDetailHeader"]],[[[1,"                        "],[8,[30,50,["detailHeader"]],null,[["@headerClasses"],[[30,80]]],null],[1,"\\n"]],[]],null],[41,[30,50,["contextualHeader"]],[[[1,"                        "],[8,[30,50,["contextualHeader"]],null,null,null],[1,"\\n"]],[]],null],[1,"                      "],[8,[30,50,["actor"]],null,null,null],[1,"\\n"]],[]],[[[41,[30,50,["contextualHeader"]],[[[41,[30,0,["showDetailHeader"]],[[[1,"                        "],[8,[30,50,["detailHeader"]],null,[["@headerClasses"],[[30,80]]],null],[1,"\\n                        "],[8,[30,50,["controlMenu"]],null,null,null],[1,"\\n"]],[]],null],[1,"                      "],[8,[30,50,["contextualHeader"]],null,null,null],[1,"\\n"],[41,[51,[30,0,["showDetailHeader"]]],[[[1,"                        "],[8,[30,50,["controlMenu"]],null,null,null],[1,"\\n"]],[]],null],[1,"                      "],[8,[30,50,["actor"]],null,null,null],[1,"\\n"]],[]],[[[41,[30,0,["showDetailHeader"]],[[[1,"                      "],[8,[30,50,["detailHeader"]],null,[["@headerClasses"],[[30,80]]],null],[1,"\\n                      "],[8,[30,50,["controlMenu"]],null,null,null],[1,"\\n                      "],[8,[30,50,["actor"]],null,null,null],[1,"\\n"]],[]],[[[1,"                      "],[8,[30,50,["actor"]],null,null,null],[1,"\\n"],[41,[51,[30,52,["isActionsPositionInContent"]]],[[[1,"                        "],[8,[30,50,["controlMenu"]],null,[["@controlMenuTooltipText"],[[30,79]]],null],[1,"\\n"]],[]],null],[1,"                    "]],[]]]],[]]]],[]]],[1,"                  "],[13],[1,"\\n"],[41,[30,50,["contextualDescriptionV2"]],[[[1,"                    "],[8,[30,50,["contextualDescriptionV2"]],null,null,null],[1,"\\n"]],[]],null],[1,"\\n                  "],[8,[30,50,["leadGenModal"]],null,[["@shouldDisableSubmit","@shouldSuppressTracking"],[[30,20],[30,41]]],null],[1,"\\n\\n"],[41,[28,[32,5],[[30,52,["isLeadGenSubmitted"]],[30,52,["showLeadGenThankYou"]]],null],[[[1,"                    "],[8,[32,10],null,[["@bundle","@retryLimit"],["lead-gen",1]],[["resolved","pending"],[[[[1,"\\n"],[44,[[28,[30,81,["component"]],["lead-gen-v2/lead-gen-gated-content"],null]],[[[1,"                          "],[8,[30,82],null,[["@leadGenForm","@openLinksExternally","@shouldFocus","@updateTrackingObj"],[[30,52,["leadGenFormContent","leadGenForm"]],[30,52,["openLinksExternally"]],true,[30,52,["updateTrackingObj"]]]],null],[1,"\\n"]],[82]]],[1,"                      "]],[81]],[[[1,"\\n                        "],[8,[32,11],null,null,null],[1,"\\n                      "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,0,["isEditingCaptions"]],[[[1,"                      "],[8,[32,10],null,[["@bundle","@retryLimit"],["feed-async",2]],[["resolved"],[[[[1,"\\n"],[44,[[28,[30,83,["component"]],["edit-captions-modal"],null]],[[[1,"                            "],[8,[30,84],null,[["@actor","@entityUrn","@isEditModalOpen","@onCloseEditCaptionsModal","@onRemoveCaptionsBanner","@updateUrn","@videoPlayMetadata"],[[30,0,["update","actor"]],[30,0,["update","entityUrn"]],[30,0,["isEditingCaptions"]],[28,[32,12],[[30,0,["setEditingCaptionsState"]],false],null],[30,0,["onRemoveCaptionsBanner"]],[30,0,["updateMetadata","backendUrn"]],[30,52,["normalizedContent","videoPlayMetadata"]]]],null],[1,"\\n"]],[84]]],[1,"                        "]],[83]]]]],[1,"\\n"]],[]],null],[41,[28,[32,13],[[28,[32,14],[[30,85],[30,86]],null]],null],[[[41,[30,0,["hasInterstitial"]],[[[1,"                        "],[8,[30,50,["interstitial"]],null,null,[["commentary","content","reshare"],[[[[1,"\\n"],[41,[30,50,["commentaryContainer"]],[[[1,"                              "],[8,[30,50,["commentaryContainer"]],null,null,null],[1,"\\n"]],[]],null],[1,"                          "]],[]],[[[1,"\\n"],[41,[30,52,["hasContent"]],[[[1,"                              "],[8,[30,50,["content"]],null,[["@controlMenuComponent","@hasInterstitial","@toggleUpdateDetailViewer","@useUpdateDetailViewer"],[[52,[30,52,["isActionsPositionInContent"]],[30,50,["controlMenu"]]],[30,0,["hasInterstitial"]],[30,0,["toggleUpdateDetailViewer"]],[30,0,["useUpdateDetailViewer"]]]],null],[1,"\\n"]],[]],null],[1,"                          "]],[]],[[[1,"\\n"],[41,[30,52,["hasResharedUpdate"]],[[[1,"                              "],[8,[30,50,["resharedUpdate"]],[[24,0,"feed-shared-update-v2__update-content-wrapper artdeco-card"]],[["@isDetailView"],[[30,22]]],null],[1,"\\n"]],[]],null],[1,"                          "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,50,["commentaryContainer"]],[[[1,"                          "],[8,[30,50,["commentaryContainer"]],null,null,null],[1,"\\n"]],[]],null],[41,[30,52,["hasContent"]],[[[1,"                          "],[8,[30,50,["content"]],null,[["@controlMenuComponent","@toggleUpdateDetailViewer","@useUpdateDetailViewer","@updateDetailViewer","@isUpdateDetailViewerOpen"],[[52,[30,52,["isActionsPositionInContent"]],[30,50,["controlMenu"]]],[30,0,["toggleUpdateDetailViewer"]],[30,0,["useUpdateDetailViewer"]],[30,72],[30,0,["isUpdateDetailViewerOpen"]]]],null],[1,"\\n"]],[]],null],[41,[30,52,["hasResharedUpdate"]],[[[1,"                          "],[8,[30,50,["resharedUpdate"]],[[24,0,"feed-shared-update-v2__update-content-wrapper artdeco-card"]],[["@isDetailView","@toggleUpdateDetailViewer","@useUpdateDetailViewer","@updateDetailViewer","@isUpdateDetailViewerOpen"],[[30,22],[30,0,["toggleUpdateDetailViewer"]],[30,0,["useUpdateDetailViewer"]],[30,72],[30,0,["isUpdateDetailViewerOpen"]]]],null],[1,"\\n"]],[]],null]],[]]],[1,"\\n"],[41,[30,50,["leadGenCTA"]],[[[1,"                        "],[10,0],[14,0,"feed-shared-update-v2__lead-gen-cta-wrapper"],[12],[1,"\\n                          "],[8,[30,50,["leadGenCTA"]],[[24,0,"feed-shared-update-v2__lead-gen-cta-button artdeco-button artdeco-button--tertiary artdeco-button--fluid"]],null,null],[1,"\\n                        "],[13],[1,"\\n"]],[]],null],[1,"\\n                      "],[8,[30,50,["aggregatedContent"]],null,null,null],[1,"\\n\\n"],[41,[28,[32,5],[[30,52,["normalizedCarouselContent"]],[28,[32,15],[[30,52,["normalizedCarouselContent","type"]],"VIDEO"],null]],null],[[[1,"                        "],[8,[32,10],null,[["@bundle","@retryLimit"],["feed-async",2]],[["resolved"],[[[[1,"\\n"],[44,[[28,[30,87,["component"]],["video-carousel"],null]],[[[1,"                              "],[8,[30,88],null,[["@authenticatedActor","@carouselNextAriaLabel","@carouselPreviousAriaLabel","@controlMenuComponent","@expandCommentBox","@hideCaEntryPoint","@headerComponent","@impressionRowPosition","@isAdminPost","@isDashEnabled","@model","@openLinksExternally","@organizationUniversalName","@preventStackedSocialIcons","@shouldSuppressTracking","@showADNavigationButtons","@triggerSponsoredUpdatePostNudge","@updateMetadata","@updateTrackingObj"],[[30,52,["authenticatedActor"]],[30,8],[30,9],[52,[30,42],[30,50,["controlMenu"]]],[30,51,["expandCommentBox"]],[30,14],[52,[30,89],[30,89],[52,[30,42],[50,[30,50,["header"]],0,null,[["headerClasses","isCarouselHeader"],[[30,78],true]]]]],[30,0,["updatePosition"]],[30,19],[30,21],[30,52,["normalizedCarouselContent"]],[30,52,["openLinksExternally"]],[30,35],[30,90],[30,41],[30,42],[30,51,["triggerSponsoredUpdatePostNudge"]],[30,0,["updateMetadata"]],[30,52,["updateTrackingObj"]]]],null],[1,"\\n"]],[88]]],[1,"                          "]],[87]]]]],[1,"\\n"]],[]],[[[1,"                        "],[8,[30,50,["carouselContent"]],null,[["@controlMenuComponent","@headerComponent","@preventStackedSocialIcons"],[[52,[30,42],[30,50,["controlMenu"]]],[52,[30,89],[30,89],[52,[30,42],[50,[30,50,["header"]],0,null,[["headerClasses","isCarouselHeader"],[[30,78],true]]]]],[30,90]]],null],[1,"\\n"]],[]]]],[]],null]],[]]],[1,"\\n                  "],[8,[30,50,["inlineFeedback"]],null,null,null],[1,"\\n\\n"],[41,[30,50,["additionalContents"]],[[[1,"                    "],[8,[30,50,["additionalContents"]],null,[["@updateTrackingObj","@isDashEnabled","@isMultiPhotoPost","@isDocumentPost","@updateMetadata"],[[30,52,["updateTrackingObj"]],[30,21],[28,[32,16],[[30,0,["displayImages","length"]],1],null],[30,52,["isDocumentPost"]],[30,0,["updateMetadata"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,5],[[[1,"                    "],[8,[32,17],null,[["@socialActionsClassNames","@isAccuratePreview"],[[52,[30,52,["isClickToMessageAd"]],"pt6"],true]],[["default"],[[[[1,"\\n                      "],[8,[30,91,["reactButton"]],null,null,null],[1,"\\n                      "],[8,[30,91,["commentButton"]],null,null,null],[1,"\\n                      "],[8,[30,91,["reshareButton"]],null,null,null],[1,"\\n                    "]],[91]]]]],[1,"\\n                    "],[8,[32,18],null,[["@socialActivityCounts"],[[30,0,["update","socialDetail","totalSocialActivityCounts"]]]],null],[1,"\\n"],[41,[30,50,["footer"]],[[[1,"                      "],[8,[30,50,["footer"]],null,null,null],[1,"\\n"]],[]],null]],[]],[[[41,[30,52,["hasSocialDetail"]],[[[1,"                    "],[8,[30,74],null,null,null],[1,"\\n                  "]],[]],null]],[]]],[41,[28,[32,5],[[28,[32,14],[[28,[32,13],[[30,52,["hasSocialDetail"]]],null],[30,52,["showContributionExperience"]]],null],[30,50,["footer"]]],null],[[[1,"                    "],[8,[30,50,["footer"]],null,null,null],[1,"\\n"]],[]],null],[1,"                "],[13],[1,"\\n"],[1,"\\n"],[41,[28,[32,5],[[28,[32,13],[[30,5]],null],[30,52,["hasSocialDetail"]]],null],[[[1,"                  "],[8,[30,75],null,null,[["footer"],[[[[1,"\\n"],[41,[28,[32,5],[[28,[32,13],[[30,52,["showContributionExperience"]]],null],[30,50,["footer"]]],null],[[[1,"                        "],[8,[30,50,["footer"]],null,null,null],[1,"\\n"]],[]],null],[1,"                    "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,50,["followPrompt"]],[[[1,"                  "],[8,[30,50,["followPrompt"]],null,[["@updateMetadata","@updateTrackingObj"],[[30,0,["updateMetadata"]],[30,52,["updateTrackingObj"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["useUpdateDetailViewer"]],[[[1,"                  "],[8,[30,72],null,null,null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,5],[[30,0,["shouldShowUpdateAttachment"]],[30,0,["updateAttachmentIsVisuallyContainedInTriggeringUpdate"]]],null],[[[1,"                  "],[8,[32,19],null,[["@onHideUpdateAttachment","@shouldSuppressTracking","@triggerAction","@updatePosition","@isUpdateHiddenByControlMenuAction","@updateMetadata","@attachment","@dashEntityUrn","@isPostRecommendationUpdatesEnabled"],[[30,0,["onHideUpdateAttachment"]],[30,41],[30,0,["triggerAction"]],[30,0,["updatePosition"]],[30,0,["isUpdateHiddenByControlMenuAction"]],[30,0,["updateMetadata"]],[30,0,["attachment"]],[30,0,["dashEntityUrn"]],[30,48]]],null],[1,"\\n"]],[]],null],[1,"\\n"]],[74,75]]]],[72,73]]],[1,"          "]],[50,51,52]]]]],[1,"\\n        "]],[]]]]],[1,"\\n\\n"],[41,[28,[32,5],[[30,0,["shouldShowUpdateAttachment"]],[28,[32,13],[[30,0,["updateAttachmentIsVisuallyContainedInTriggeringUpdate"]]],null]],null],[[[1,"          "],[8,[32,19],null,[["@onHideUpdateAttachment","@shouldSuppressTracking","@triggerAction","@isUpdateHiddenByControlMenuAction","@updateMetadata","@attachment","@dashEntityUrn"],[[30,0,["onHideUpdateAttachment"]],[30,41],[30,0,["triggerAction"]],[30,0,["isUpdateHiddenByControlMenuAction"]],[30,0,["updateMetadata"]],[30,0,["attachment"]],[30,0,["dashEntityUrn"]]]],null],[1,"\\n"]],[]],null],[1,"      "]],[]]]]],[1,"\\n"]],[2]]],[1,"  "]],["@model","Tag","@occlusionEnabled","&attrs","@isAccuratePreview","@authenticatedActor","@caEngineName","@carouselNextAriaLabel","@carouselPreviousAriaLabel","@channelId","@commentSort","@customModuleKey","@editModalReturnToFocus","@hideCaEntryPoint","@hideReshare","@hideSendPrivately","@hideHeader","@initialTextAndMentions","@isAdminPost","@isAdsTransparency","@isDashEnabled","@isDetailView","@isHighlighted","@showCommentBox","@isWrapped","@onControlMenuItemSelection","@onDisplayUpdate","@onHideUpdateAttachment","@onRequestReload","@onDeleted","@onUpdateInserted","@onShareSuccess","@onUpdateInsertedForViewState","@openRepostListOnPageLoad","@organizationUniversalName","@pageKey","@reloadActionsDisabled","@removeUpdate","@shouldFocusTexteditor","@shouldHideContentAdminIdentityToggle","@shouldSuppressTracking","@showADCarouselNavigationButtons","@socialEventNotifier","@updateIsAnchored","@updatesPaginationPVETracker","@videoAnalyticsRouteName","@searchId","@isPostRecommendationUpdatesEnabled","@resharePageInstanceOverride","components","actions","properties","@isAdminFeed","@shouldShowReshare","@anchoredComment","@dashAnchoredCommentUrn","@dashAnchoredReplyUrn","@hideBottomBorder","@hideComments","@hideCommentsWithoutInteraction","@hideSocialActions","@isCommentsTotalClickable","@isFromCreatorNudge","@isRepostsTotalClickable","@onCommentButtonClick","@onCommentsTotalClick","@onReactionsTotalClick","@openCommentBoxFromExternal","@shouldShowReshareModal","@socialActionsClassNames","@socialCountClassNames","UpdateDetailViewer","UpdateV2SocialActivity","SocialContent","SocialAccessories","@updateIndex","@customContextualSectionHeader","@headerClasses","@controlMenuTooltipText","@detailHeaderClasses","resolved","LeadGenThankYou","resolved","EditCaptionsModalAsync","@isEditingShare","@isEditingCaptions","resolved","VideoCarouselAsync","@carouselHeaderComponent","@preventCarouselStackedSocialIcons","saComponents"],false,["let","if","component","-get-dynamic-var","unless"]]',moduleName:"feed-shared/components/update/generic-update.gjs",scope:()=>[E.default,M.default,_.default,B.default,z.default,k.default,N.default,F.default,c.get,j.default,O.default,S.default,c.fn,D.default,U.default,A.default,I.default,x.default,R.default,L.default],isStrictMode:!0}),(G=(0,m.inject)("global-services@store-shim"),V=(0,m.inject)("social-counts-service@social-counts"),H=(0,m.inject)("@linkedin/ember-restli-graphql@graphql"),q=(0,m.inject)("lix"),K=(0,b.localCopy)("args.conversationStarters"),W=(0,b.localCopy)("args.isEditingShare",!1),Y=(0,b.localCopy)("args.isEditingCaptions",!1),Q=class extends w.default{constructor(){var e,o,i,a
super(...arguments);(0,t.default)(this,"storeShim",$,this);(0,t.default)(this,"socialCountsService",X,this);(0,t.default)(this,"graphql",Z,this);(0,t.default)(this,"lix",J,this);(0,n.default)(this,"reportedCommentUrns",new C.TrackedArray);(0,t.default)(this,"conversationStarters",ee,this);(0,t.default)(this,"isEditingShare",te,this);(0,t.default)(this,"isEditingCaptions",ne,this);(0,t.default)(this,"activeImageIndex",oe,this);(0,t.default)(this,"isReshareButtonShareboxOpen",ie,this);(0,t.default)(this,"isUpdateDetailViewerOpen",ae,this);(0,t.default)(this,"triggerAction",re,this);(0,t.default)(this,"attachment",se,this);(0,t.default)(this,"isUpdateHiddenByControlMenuAction",le,this);(0,t.default)(this,"surveyDisplayContent",de,this);(0,t.default)(this,"isConversationStartersAnimating",ce,this);(0,t.default)(this,"conversationStartersUnavailable",ue,this);(0,t.default)(this,"hasRequestedConversationStarters",pe,this);(0,t.default)(this,"shouldHideVideoCaptionBanners",me,this)
this.attachment=this.args.isDashEnabled?null===(e=this.update)||void 0===e?void 0:e.attachment:null===(o=this.update)||void 0===o?void 0:o.relatedContent
if(this.args.isDashEnabled){var r,s
if(null!==(r=this.update)&&void 0!==r&&null!==(s=r.footer)&&void 0!==s&&s.conversationStartersComponent){var l,d
this.conversationStarters=null===(l=this.update)||void 0===l||null===(d=l.footer)||void 0===d?void 0:d.conversationStartersComponent}}else if(null!==(i=this.update)&&void 0!==i&&null!==(a=i.footer)&&void 0!==a&&a.conversationStarters){var c,u
this.conversationStarters={conversationStarters:null===(c=this.update)||void 0===c||null===(u=c.footer)||void 0===u?void 0:u.conversationStarters}}}get updateContent(){var e
const t=null===(e=this.update)||void 0===e?void 0:e.content
return this.args.isDashEnabled?(0,P.default)(t):t}get hasVideo(){var e
return!(null===(e=this.updateContent)||void 0===e||!e.videoPlayMetadata)}get rootMarginBottomBuffer(){return this.hasVideo?d.DEFAULT_VIDEO_ROOT_MARGIN_BOTTOM_BUFFER:600}get initialCommentsExcludingAnchored(){var e,t,n,o,i
const a=[...!this.args.isDetailView&&null!==(e=this.update)&&void 0!==e&&null!==(t=e.highlightedComments)&&void 0!==t&&t.length?this.update.highlightedComments:(null===(n=this.update)||void 0===n||null===(o=n.socialDetail)||void 0===o||null===(i=o.comments)||void 0===i?void 0:i.elements)??[]]
return!this.args.isDetailView&&a.length>1&&(0,u.get)(a,a.length-1+".socialDetail.comments.elements.length")?a.slice(a.length-1):a}get initialComments(){const{initialCommentsExcludingAnchored:e}=this,{anchoredComment:t,dashAnchoredCommentUrn:n,dashAnchoredReplyUrn:o}=this.args
if(!(0,f.isPresent)(t)||e.includes(t))return e
if(n||o||t){const n=e.find((e=>e.entityUrn===t.predashEntityUrn||e.urn===t.urn))
if(n){const o=e.indexOf(n)
return[...e.slice(0,o),t,...e.slice(o+1)]}return[t,...e]}return[t,...e]}get initialCommentReducedReplies(){let e={}
const{initialCommentsExcludingAnchored:t}=this
if(this.args.isDetailView||null==t||!t.length)return e;[...t.length>1?[t.length-1]:[],0].every((n=>{const o=(0,u.get)(t,`${n}.socialDetail.comments.elements.length`)
if(o){e={commentEntityUrn:(0,u.get)(t,`${n}.entityUrn`),replies:(0,u.get)(t,`${n}.socialDetail.comments.elements`).slice(o-1)}
return!1}return!0}))
return e}get displayImages(){if(!this.update||!this.update.actor)return[]
let e
if(this.args.isDashEnabled){var t,n
const o=(0,P.default)(this.update.content),i=(0,P.default)(null===(t=this.update)||void 0===t||null===(n=t.resharedUpdate)||void 0===n?void 0:n.content)
e=this.isUpdateDetailViewerForResharedPostsEnabled?o??i:o}else e=this.update.content
const o=he[(0,l.classNameOf)(e)]
if(o){const t=e[o]
if(t)return void 0===t.length?[t]:t}return[]}get hasInterstitial(){var e
return(0,f.isPresent)(null===(e=this.update)||void 0===e?void 0:e.interstitial)}get hasNonClickThroughInterstitial(){var e,t,n
return this.hasInterstitial&&!(null!==(e=this.update)&&void 0!==e&&null!==(t=e.interstitial)&&void 0!==t&&null!==(n=t.interstitial)&&void 0!==n&&n.shouldBlurContent)}get highlightedComments(){var e
return[...(null===(e=this.update)||void 0===e?void 0:e.highlightedComments)??[]]}get shouldShowUpdateAttachment(){return!!this.attachment&&"CONVERSATION_STARTERS"!==this.attachment.type}get updateAttachmentIsVisuallyContainedInTriggeringUpdate(){var e,t
return(null===(e=this.attachment)||void 0===e?void 0:e.content)||(null===(t=this.attachment)||void 0===t?void 0:t.carouselContent)}get showDetailHeader(){return this.args.isDetailView&&this.update.detailHeader}get update(){return this.args.model}get updatePosition(){var e,t
return(null===(e=this.update)||void 0===e?void 0:e.updatePosition)||(null===(t=this.args)||void 0===t?void 0:t.updateIndex)}get dashEntityUrn(){var e,t
return this.args.isDashEnabled?null===(e=this.update)||void 0===e?void 0:e.entityUrn:null===(t=this.update)||void 0===t?void 0:t.dashEntityUrn}get updateMetadata(){var e,t
return(null===(e=this.update)||void 0===e?void 0:e.metadata)||(null===(t=this.update)||void 0===t?void 0:t.updateMetadata)}get isUpdateDetailViewerForResharedPostsEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-reshared-update-detail-viewer")}get useUpdateDetailViewer(){return!(0,f.isEmpty)(this.displayImages)}onRemoveCaptionsBanner(){this.shouldHideVideoCaptionBanners=!0}handleUpdateAttachments(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:""
this.attachment||this._fetchUpdateAttachments(e,t,n)}handleFetchConversationStarters(){var e,t,n,o
this.highlightedComments.length||(this.isConversationStartersAnimating=!0)
const i=this.args.isDashEnabled?null===(e=this.update)||void 0===e||null===(t=e.socialDetail)||void 0===t?void 0:t.entityUrn:null===(n=this.update)||void 0===n||null===(o=n.socialDetail)||void 0===o?void 0:o.dashEntityUrn
this._fetchConversationStarters(i).then((e=>{if((0,h.isDestroying)(this))return
const t=(0,u.get)(e,"elements.0")
if(t)(0,u.set)(this,"conversationStarters",t)
else{this.isConversationStartersAnimating=!1
this.shouldFocusTexteditor=!0
this.conversationStartersUnavailable=!0}})).catch((e=>{if((0,h.isDestroying)(this))throw e
this.isConversationStartersAnimating=!1
if(!(0,g.isHttpErrorStatus)(e))throw e})).finally((()=>{(0,h.isDestroying)(this)||(this.hasRequestedConversationStarters=!0)}))}toggleUpdateDetailViewer(e){this.isUpdateDetailViewerOpen=!this.isUpdateDetailViewerOpen
this.activeImageIndex=e}toggleReshareButtonSharebox(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null
this.isUpdateDetailViewerOpen&&(this.isUpdateDetailViewerOpen=!1)
this.isReshareButtonShareboxOpen=e||!this.isReshareButtonShareboxOpen}transitionFromUpdateDetailToMessageDrawer(){this.toggleUpdateDetailViewer()
const e=document.querySelector(".msg-connections-typeahead__search-field")
null==e||e.focus()}addCommentUrnToReportedUrns(e){this.reportedCommentUrns.push(e)}onHideUpdateAttachment(){this.attachment=void 0}setEditingShareState(e,t){if(this.args.onEditShareOverride)this.args.onEditShareOverride(e,t)
else{this.isEditingShare=e
this.args.toggleParentSharingState&&this.args.toggleParentSharingState(e)}}setEditingCaptionsState(e){this.isEditingCaptions=e}setIsUpdateHiddenByControlMenuAction(e){var t,n
this.isUpdateHiddenByControlMenuAction=e
null===(t=(n=this.args).onIsUpdateHiddenByControlMenuAction)||void 0===t||t.call(n,e)}setSurveyDisplayContent(e){this.surveyDisplayContent=e}onConversationStartersAnimationEnd(){this.isConversationStartersAnimating=!1}_fetchConversationStarters(e){if(!e)return v.Promise.resolve(void 0)
const{storeShim:t}=this,n="voyagerFeedDashConversationStarters",o={q:"socialDetail",socialDetailUrn:e},i=`${n}|${e}`
return t.queryURL(n,{cacheKey:i,params:o,reload:!0}).catch((e=>{if((0,h.isDestroying)(this))throw e
if(!(0,g.isHttpErrorStatus)(e))throw e}))}_fetchUpdateAttachments(e){var t,n,o,i,a,r
let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:""
this.triggerAction=e
const d=`urn:li:fsd_updateAttachment:${l||(null===(t=this.updateMetadata)||void 0===t?void 0:t.urn)||(null===(n=this.updateMetadata)||void 0===n?void 0:n.backendUrn)}`,c=(null===(o=this.update)||void 0===o?void 0:o.dashEntityUrn)??(null===(i=this.update)||void 0===i?void 0:i.entityUrn),u=null===(a=this.updateMetadata)||void 0===a||null===(r=a.trackingData)||void 0===r?void 0:r.trackingId;(0,p.getUpdateAttachments)(this.graphql,{actionType:e,attachmentUrn:d,relatedUrns:s,updateEntityUrn:c,sourceTrackingId:u},!0).then((e=>{var t
if(!(0,h.isDestroying)(this))return null==e||null===(t=e.data)||void 0===t?void 0:t.feedDashAttachmentsByRelated})).then((e=>{var t,n
if((0,h.isDestroying)(this))return
const o=null==e||null===(t=e.elements)||void 0===t?void 0:t[0]
if(o){var i,a,r
this.attachment=o
const e=null==o||null===(i=o.update)||void 0===i||null===(a=i.carouselContent)||void 0===a||null===(r=a.items)||void 0===r?void 0:r.map((e=>e.updateV2))
this.socialCountsService.registerElementsList(e)}!(0,h.isDestroying)(this)&&o&&"CONVERSATION_STARTERS"===o.type?this.conversationStarters=o.content:!(0,h.isDestroying)(this)&&null!=o&&null!==(n=o.content)&&void 0!==n&&n.conversationStartersComponent&&(this.conversationStarters=o.content.conversationStartersComponent)})).catch((e=>{if((0,h.isDestroying)(this))throw e
if(!(0,g.isHttpErrorStatus)(e))throw e}))}},$=(0,o.default)(Q.prototype,"storeShim",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,o.default)(Q.prototype,"socialCountsService",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,o.default)(Q.prototype,"graphql",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,o.default)(Q.prototype,"lix",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,o.default)(Q.prototype,"conversationStarters",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,o.default)(Q.prototype,"isEditingShare",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ne=(0,o.default)(Q.prototype,"isEditingCaptions",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),oe=(0,o.default)(Q.prototype,"activeImageIndex",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ie=(0,o.default)(Q.prototype,"isReshareButtonShareboxOpen",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ae=(0,o.default)(Q.prototype,"isUpdateDetailViewerOpen",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.openUpdateDetailViewerOnPageLoad}}),re=(0,o.default)(Q.prototype,"triggerAction",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),se=(0,o.default)(Q.prototype,"attachment",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),le=(0,o.default)(Q.prototype,"isUpdateHiddenByControlMenuAction",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),de=(0,o.default)(Q.prototype,"surveyDisplayContent",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ce=(0,o.default)(Q.prototype,"isConversationStartersAnimating",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ue=(0,o.default)(Q.prototype,"conversationStartersUnavailable",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),pe=(0,o.default)(Q.prototype,"hasRequestedConversationStarters",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),me=(0,o.default)(Q.prototype,"shouldHideVideoCaptionBanners",[y.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,o.default)(Q.prototype,"onRemoveCaptionsBanner",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"onRemoveCaptionsBanner"),Q.prototype),(0,o.default)(Q.prototype,"handleUpdateAttachments",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"handleUpdateAttachments"),Q.prototype),(0,o.default)(Q.prototype,"handleFetchConversationStarters",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"handleFetchConversationStarters"),Q.prototype),(0,o.default)(Q.prototype,"toggleUpdateDetailViewer",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"toggleUpdateDetailViewer"),Q.prototype),(0,o.default)(Q.prototype,"toggleReshareButtonSharebox",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"toggleReshareButtonSharebox"),Q.prototype),(0,o.default)(Q.prototype,"transitionFromUpdateDetailToMessageDrawer",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"transitionFromUpdateDetailToMessageDrawer"),Q.prototype),(0,o.default)(Q.prototype,"addCommentUrnToReportedUrns",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"addCommentUrnToReportedUrns"),Q.prototype),(0,o.default)(Q.prototype,"onHideUpdateAttachment",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"onHideUpdateAttachment"),Q.prototype),(0,o.default)(Q.prototype,"setEditingShareState",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"setEditingShareState"),Q.prototype),(0,o.default)(Q.prototype,"setEditingCaptionsState",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"setEditingCaptionsState"),Q.prototype),(0,o.default)(Q.prototype,"setIsUpdateHiddenByControlMenuAction",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"setIsUpdateHiddenByControlMenuAction"),Q.prototype),(0,o.default)(Q.prototype,"setSurveyDisplayContent",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"setSurveyDisplayContent"),Q.prototype),(0,o.default)(Q.prototype,"onConversationStartersAnimationEnd",[u.action],Object.getOwnPropertyDescriptor(Q.prototype,"onConversationStartersAnimationEnd"),Q.prototype),Q))}))
define("feed-shared/components/update/update-detail-viewer",["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","@ember/object","dash-interop-helper/utils/get-graphql-value-with-dash-fallback","@ember/object/internals","@ember/service","@ember/destroyable","@ember/runloop","ember-batcher","feed-requests/update-actions","global-utils/utils/array/remove","@glimmer/tracking","artdeco-modal/components/artdeco-modal","ember-semaphore/components/block-profile","social-details/components/comments/comment-item","social-details/components/comments/dash/comment-item","@glimmer/component","feed-components-shared/components/image-viewer","global-utils/utils/is-browser","comments/components/kindness-reminders-content","comments/components/kindness-reminders-footer","trust/components/reporting-flow-modal","trust-intervention/components/intervention-page","ember-set-helper/helpers/set","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/helpers/tracked-action","vector/utils/pem-tracking"],(function(e,t,n,o,i,a,r,s,l,d,c,u,p,m,h,g,f,b,v,y,C,T,k,S,O,w,E,A,M,P,I,D,_,U){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var x,R,N,j,F,L,z,B,G,V,H,q,K,W,Y,Q,$,X,Z,J,ee,te,ne,oe,ie,ae
e.default=(0,l.setComponentTemplate)((0,s.createTemplateFactory)({id:"Ak8bUomR",block:'[[[1,"\\n"],[41,[30,1],[[[1,"      "],[8,[32,0],null,[["@modalClasses","@size","@isOpen","@dismissModal","@overlayClasses"],[[30,0,["modalClassName"]],[30,0,["modalSize"]],[30,1],[28,[32,1],null,[["controlName","action"],["close",[30,0,["handleCloseModalClick"]]]]],"display-flex flex-column"]],[["default"],[[[[1,"\\n        "],[8,[30,2,["artdeco-modal-header"]],[[24,0,"hidden"]],null,[["default"],[[[[1,"\\n          "],[10,"h2"],[14,0,"a11y-text"],[14,1,"feed-shared-update-detail-viewer__header"],[12],[1,[28,[32,2],["i18n_caption","feed-shared/components/update/update-detail-viewer"],null]],[13],[1,"\\n        "]],[]]]]],[1,"\\n        "],[8,[30,2,["artdeco-modal-content"]],[[24,"role","group"],[24,"aria-labelledby","feed-shared-update-detail-viewer__header"]],[["@classNames"],["feed-shared-update-detail-viewer__modal-content full-height p0"]],[["default"],[[[[1,"\\n          "],[10,0],[15,0,[52,[30,0,["isKindnessRemindersContentOpen"]],"hidden","feed-shared-update-detail-viewer__content"]],[12],[1,"\\n            "],[10,0],[14,0,"feed-shared-update-detail-viewer__left-panel"],[12],[1,"\\n"],[41,[48,[30,17]],[[[1,"                "],[18,17,null],[1,"\\n"]],[]],[[[41,[30,3],[[[1,"                "],[8,[32,3],[[24,0,"display-flex align-items-center full-height full-width relative"]],[["@startingIndex","@hasTags","@images","@onCloseModalClick","@onUntagClickAction","@showTags","@updateTrackingObj"],[[30,4],true,[30,3],[30,5],[30,0,["onUntagClick"]],true,[30,6]]],null],[1,"\\n              "]],[]],null]],[]]],[1,"            "],[13],[1,"\\n            "],[10,0],[14,0,"feed-shared-update-detail-viewer__right-panel"],[12],[1,"\\n              "],[8,[30,7],null,[["@isInModal"],[true]],null],[1,"\\n              "],[10,0],[14,0,"feed-shared-update-detail-viewer__overflow-content"],[15,1,[30,0,["elementId"]]],[12],[1,"\\n"],[41,[30,8],[[[1,"                  "],[8,[30,8],null,[["@isInModal","@isExpanded","@numLinesBeforeTruncation"],[true,false,15]],null],[1,"\\n"]],[]],null],[41,[30,9],[[[1,"                  "],[8,[30,9],null,[["@classNames","@handleReportCommentFlow","@handleBlockCommenterFlow","@handleKindnessRemindersFlow","@isAdminFeed","@isReshareButtonShareboxOpen","@isUpdateDetailViewer","@loadCommentsOnRender","@reportedCommentUrns","@shouldShowContentAdminIdentityToggle","@shouldShowReshare","@showCommentBox","@showQuickCommentsOverride","@showReactorsFacepileOverride","@toggleReshareButtonSharebox","@transitionFromUpdateDetailToMessageDrawer","@useUpdateDetailViewer","@onShareDropdownOpenOrWindowResize","@handleInterventionFlow"],["ph2",[30,0,["handleReportCommentFlow"]],[30,0,["handleBlockCommenterFlow"]],[30,0,["handleKindnessRemindersFlow"]],[30,10],[30,11],true,true,[30,12],false,[30,13],true,false,false,[30,14],[30,15],[30,16],[30,0,["onShareDropdownOpenOrWindowResize"]],[30,0,["handleInterventionFlow"]]]],null],[1,"\\n"]],[]],null],[1,"              "],[13],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n"],[41,[30,0,["isKindnessRemindersContentOpen"]],[[[1,"            "],[10,0],[14,0,"kindness-reminders-modal"],[12],[1,"\\n              "],[8,[32,4],null,[["@modalTitle","@modalDescription"],[[30,0,["modalTitle"]],[30,0,["modalDescription"]]]],null],[1,"\\n              "],[8,[30,2,["artdeco-modal-footer"]],[[24,0,"kindness-reminders-modal__footer"]],null,[["default"],[[[[1,"\\n                "],[8,[32,5],null,[["@onEditModalClick","@onCloseModalClick","@onPostModalClick","@updateTrackingObj"],[[30,0,["onKindnessRemindersEditModalClick"]],[28,[32,6],[[30,0],"isKindnessRemindersContentOpen",false],null],[30,0,["onKindnessRemindersPostModalClick"]],[30,6]]],null],[1,"\\n              "]],[]]]]],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[1,"        "]],[]]]]],[1,"\\n      "]],[2]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isReportingComment"]],[[[1,"      "],[8,[32,7],null,[["@authorProfileId","@authorUrn","@cancel","@contentSource","@entityUrn","@failure","@success","@track"],[[30,0,["reportedComment","commenterProfileId"]],[30,0,["reportedComment","commenter","urn"]],[30,0,["semaphoreClose"]],"USCP_COMMENT",[30,0,["reportedComment","urn"]],[30,0,["semaphoreFailure"]],[30,0,["semaphoreSuccess"]],[30,0,["semaphoreTrack"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isBlockingCommenter"]],[[[1,"      "],[8,[32,8],null,[["@profileUrn","@cancel","@failure","@success","@track"],[[30,0,["blockedCommenterUrn"]],[30,0,["blockModalClose"]],[30,0,["blockModalFailure"]],[30,0,["blockModalSuccess"]],[30,0,["semaphoreTrack"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isInterventionsModalOpen"]],[[[1,"      "],[8,[32,9],null,[["@shouldShowInterventionPage","@isOpen","@interventionPageModel","@onInterventionAcknowledgeSuccess","@onInterventionDismiss","@useSharedComponents"],[[30,0,["isInterventionsModalOpen"]],[30,0,["isInterventionsModalOpen"]],[30,0,["interventionModal"]],[30,0,["handleCloseInterventionModal"]],[30,0,["handleCloseInterventionModal"]],false]],null],[1,"\\n"]],[]],null],[1,"  "]],["@isUpdateDetailViewerOpen","modal","@displayImages","@activeImageIndex","@onCloseModalClick","@updateTrackingObj","@actorComponent","@commentaryComponent","@socialDetailComponent","@isAdminFeed","@isReshareButtonShareboxOpen","@reportedCommentUrns","@shouldShowReshare","@toggleReshareButtonSharebox","@transitionFromUpdateDetailToMessageDrawer","@useUpdateDetailViewer","&mediaContent"],false,["if","has-block","yield"]]',moduleName:"feed-shared/components/update/update-detail-viewer.gjs",scope:()=>[y.default,_.default,D.default,O.default,E.default,A.default,I.default,M.default,C.default,P.default],isStrictMode:!0}),(x=(0,p.inject)("i18n"),R=(0,p.inject)("comments@blocked-commenters"),N=(0,p.inject)("feed-tracking@feed-action-event"),j=(0,p.inject)("persistent-toast-manager@persistent-toast-manager"),F=(0,p.inject)("global-services@store-shim"),L=(0,p.inject)("tracking"),z=(0,p.inject)("scaffold-layout@reflow"),B=(0,p.inject)("pem-tracking"),G=(ae=new WeakMap,class extends S.default{constructor(){super(...arguments);(0,t.default)(this,"i18n",V,this);(0,t.default)(this,"blockedCommenters",H,this);(0,t.default)(this,"feedActionEvent",q,this);(0,t.default)(this,"persistentToastManager",K,this);(0,t.default)(this,"storeShim",W,this);(0,t.default)(this,"tracking",Y,this);(0,t.default)(this,"reflow",Q,this);(0,t.default)(this,"pemTracking",$,this);(0,t.default)(this,"reportedComment",X,this);(0,t.default)(this,"isReportingComment",Z,this);(0,t.default)(this,"blockedComment",J,this);(0,t.default)(this,"isBlockingCommenter",ee,this);(0,t.default)(this,"isKindnessRemindersContentOpen",te,this);(0,t.default)(this,"onKindnessRemindersSubmitComment",ne,this);(0,n.default)(this,"elementId",(0,u.guidFor)(this));(0,t.default)(this,"interventionModal",oe,this);(0,t.default)(this,"isInterventionsModalOpen",ie,this)
ae.set(this,{writable:!0,value:void 0})}get currentBreakpoint(){return this.reflow.currentBreakpoint}get modalClassName(){if(this.isKindnessRemindersContentOpen)return"kindness-reminders-modal"
return["feed-shared-update-detail-viewer",`feed-shared-update-detail-viewer--reflow-${this.currentBreakpoint}`].join(" ")}get modalSize(){return this.isKindnessRemindersContentOpen?"medium":"x-large"}get blockedCommenter(){return this.blockedComment.commenter}get blockedCommenterUrn(){var e,t,n
return(null===(e=this.blockedCommenter.actorUnion)||void 0===e?void 0:e.companyUrn)||(null===(t=this.blockedCommenter.actorUnion)||void 0===t?void 0:t.schoolUrn)||(null===(n=this.blockedCommenter.actorUnion)||void 0===n?void 0:n.profileUrn)}get blockedCommenterName(){var e
return null===(e=this.blockedCommenter.title)||void 0===e?void 0:e.text}get updateDetailViewerElement(){w.default&&!(0,i.default)(this,ae)&&(0,o.default)(this,ae,document.getElementById(this.elementId))
return(0,i.default)(this,ae)}closeBlockModal(){this.isBlockingCommenter=!1}closeSemaphore(){this.isReportingComment=!1}handleBlockCommenterFlow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null
this.args.onCloseModalClick();(0,h.next)(this,(()=>{this.blockedComment=e
this.overrideCommentTrackingId=t
this.isBlockingCommenter=!0}))}handleKindnessRemindersFlow(e){let{onKindnessRemindersSubmitComment:t,modalTitle:n,modalDescription:o}=e
this.isKindnessRemindersContentOpen=!0
this.modalTitle=n
this.modalDescription=o
this.onKindnessRemindersSubmitComment=t}onKindnessRemindersPostModalClick(){this.onKindnessRemindersSubmitComment()}setFocusEditorHandler(e){this.focusCommentBoxCallback=e}onKindnessRemindersEditModalClick(){var e
this.isKindnessRemindersContentOpen=!1
null===(e=this.focusCommentBoxCallback)||void 0===e||e.call(this)}handleCloseModalClick(){var e
null===(e=this.args)||void 0===e||e.onCloseModalClick()
this.isKindnessRemindersContentOpen=!1}blockModalClose(){(0,h.once)(this,"closeBlockModal")}blockModalSuccess(){(0,h.once)(this,"closeBlockModal")
this.blockedCommenters.addCommenter(this.blockedCommenterUrn)
this.tracking.fireInteractionEvent("comment_submit_block_commenter_button")
const e={actionCategory:"MUTE",actionType:"blockCommenter",controlName:"comment_submit_block_commenter_button"},{updateMetadata:t}=this.args
t&&this.feedActionEvent.fireCommentAction({updateMetadata:t,feedCommentModel:this.blockedComment,trackingPayload:e,overrideCommentTrackingId:this.overrideCommentTrackingId})
this.feedActionEvent.fireFAE(t,e)
const n=this.i18n.lookupTranslation(k.default,"block_commenter_success")([{commenterName:this.blockedCommenterName}])
this.persistentToastManager.success({message:n})
this.args.onCloseModalClick()}blockModalFailure(){(0,h.once)(this,"closeBlockModal")
const e=this.i18n.lookupTranslation(k.default,"block_commenter_failure")([{commenterName:this.blockedCommenterName}])
this.persistentToastManager.error({message:e})
this.args.onCloseModalClick()}handleReportCommentFlow(e){this.args.onCloseModalClick();(0,h.next)(this,(()=>{this.reportedComment=e
this.isReportingComment=!0}))}handleInterventionFlow(e){this.args.onCloseModalClick();(0,h.next)(this,(()=>{this.interventionModal=e
this.isInterventionsModalOpen=!0}))}handleCloseInterventionModal(){this.isInterventionsModalOpen=!1}semaphoreClose(){(0,h.once)(this,"closeSemaphore")}semaphoreTrack(e){const t=e&&e.moduleKey
t&&this.tracking.fireInteractionEvent(t)}semaphoreSuccess(e){(0,h.once)(this,"closeSemaphore")
e.includes("HIDE_CONTENT")&&this.args.addCommentUrnToReportedUrns(this.reportedComment.urn)
this.args.onCloseModalClick()}semaphoreFailure(){(0,h.once)(this,"closeSemaphore")
const e=this.i18n.lookupTranslation(T.default,"save_like_error")()
this.persistentToastManager.error({message:e})
this.args.onCloseModalClick()}onUntagClick(e,t){const{shareUrn:n}=this.args.updateMetadata,o=t.urn
let{mediaUrn:i}=e
if(!i){var a
const t=(0,c.getGraphQlValueWithDashFallback)(e,"detailData")
i=null==t||null===(a=t.vectorImage)||void 0===a?void 0:a.digitalmediaAsset}(0,b.removeValue)(e.tapTargets,t)
const[r,s,l]=(0,f.removeTagRequest)(n,i,o),d=this.storeShim.adapterFor("-ember-m3").ajax(r,s,l)
this.pemTracking.trackFeatureDegradations(r,[],[U.DEGRADATION_TRACKING_METADATA.MEDIA_TAG_REMOVAL],d)
return d.catch((n=>{if((0,m.isDestroying)(this))throw n
e.tapTargets.push(t)
const o=this.i18n.lookupTranslation(this.constructor,"remove_tag_failed")()
this.persistentToastManager.error({message:o})
throw n}))}onShareDropdownOpenOrWindowResize(e){let{shareButtonContainer:t,dropdownContainer:n}=e
if(!this.updateDetailViewerElement)return;(0,g.readDOM)((()=>{const e=t.getBoundingClientRect().left-this.updateDetailViewerElement.getBoundingClientRect().left-4,o=this.updateDetailViewerElement.getBoundingClientRect().width-8;(0,g.mutateDOM)((()=>{n.style.left=`-${e}px`
n.style.width=`${o}px`}))}))}}),V=(0,a.default)(G.prototype,"i18n",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,a.default)(G.prototype,"blockedCommenters",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,a.default)(G.prototype,"feedActionEvent",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,a.default)(G.prototype,"persistentToastManager",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,a.default)(G.prototype,"storeShim",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,a.default)(G.prototype,"tracking",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,a.default)(G.prototype,"reflow",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,a.default)(G.prototype,"pemTracking",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,a.default)(G.prototype,"reportedComment",[v.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,a.default)(G.prototype,"isReportingComment",[v.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,a.default)(G.prototype,"blockedComment",[v.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,a.default)(G.prototype,"isBlockingCommenter",[v.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,a.default)(G.prototype,"isKindnessRemindersContentOpen",[v.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ne=(0,a.default)(G.prototype,"onKindnessRemindersSubmitComment",[v.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),oe=(0,a.default)(G.prototype,"interventionModal",[v.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=(0,a.default)(G.prototype,"isInterventionsModalOpen",[v.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,a.default)(G.prototype,"handleBlockCommenterFlow",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"handleBlockCommenterFlow"),G.prototype),(0,a.default)(G.prototype,"handleKindnessRemindersFlow",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"handleKindnessRemindersFlow"),G.prototype),(0,a.default)(G.prototype,"onKindnessRemindersPostModalClick",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"onKindnessRemindersPostModalClick"),G.prototype),(0,a.default)(G.prototype,"setFocusEditorHandler",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"setFocusEditorHandler"),G.prototype),(0,a.default)(G.prototype,"onKindnessRemindersEditModalClick",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"onKindnessRemindersEditModalClick"),G.prototype),(0,a.default)(G.prototype,"handleCloseModalClick",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"handleCloseModalClick"),G.prototype),(0,a.default)(G.prototype,"blockModalClose",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"blockModalClose"),G.prototype),(0,a.default)(G.prototype,"blockModalSuccess",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"blockModalSuccess"),G.prototype),(0,a.default)(G.prototype,"blockModalFailure",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"blockModalFailure"),G.prototype),(0,a.default)(G.prototype,"handleReportCommentFlow",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"handleReportCommentFlow"),G.prototype),(0,a.default)(G.prototype,"handleInterventionFlow",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"handleInterventionFlow"),G.prototype),(0,a.default)(G.prototype,"handleCloseInterventionModal",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"handleCloseInterventionModal"),G.prototype),(0,a.default)(G.prototype,"semaphoreClose",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"semaphoreClose"),G.prototype),(0,a.default)(G.prototype,"semaphoreTrack",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"semaphoreTrack"),G.prototype),(0,a.default)(G.prototype,"semaphoreSuccess",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"semaphoreSuccess"),G.prototype),(0,a.default)(G.prototype,"semaphoreFailure",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"semaphoreFailure"),G.prototype),(0,a.default)(G.prototype,"onUntagClick",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"onUntagClick"),G.prototype),(0,a.default)(G.prototype,"onShareDropdownOpenOrWindowResize",[d.action],Object.getOwnPropertyDescriptor(G.prototype,"onShareDropdownOpenOrWindowResize"),G.prototype),G))}))
define("feed-shared/config/environment",["exports"],(function(e){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
let t
try{const e="feed-shared/config/environment",n=document.querySelector('meta[name="'+e+'"]').getAttribute("content")
t=JSON.parse(unescape(n))}catch(e){t={}}e.default=t}))
define.alias("ember-truth-helpers/helpers/and","feed-shared/helpers/and")
define.alias("artdeco-datepicker/helpers/artdeco-adjust-date-for-timezone","feed-shared/helpers/artdeco-adjust-date-for-timezone")
define.alias("artdeco-datepicker/helpers/artdeco-is-between-dates","feed-shared/helpers/artdeco-is-between-dates")
define.alias("ember-media-player/helpers/autoplay-media","feed-shared/helpers/autoplay-media")
define.alias("artdeco-datepicker/helpers/cal-dates-equal","feed-shared/helpers/cal-dates-equal")
define.alias("ember-element-helper/helpers/element","feed-shared/helpers/element")
define.alias("ember-holy-futuristic-template-namespacing-batman/helpers/-translate-dynamic-2","feed-shared/helpers/ember-holy-futuristic-template-namespacing-batman-translate-dynamic-2")
define("feed-shared/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-shared/helpers/eq")
define.alias("ember-media-player/helpers/format-autoplay","feed-shared/helpers/format-autoplay")
define.alias("ember-cli-pemberly-i18n/helpers/format-number","feed-shared/helpers/format-number")
define.alias("ember-semaphore/helpers/format-title","feed-shared/helpers/format-title")
define.alias("ember-truth-helpers/helpers/gt","feed-shared/helpers/gt")
define.alias("ember-truth-helpers/helpers/gte","feed-shared/helpers/gte")
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-name","feed-shared/helpers/hue-web-artdeco-icon-migration-runtime")
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-v2","feed-shared/helpers/hue-web-artdeco-li-icon-migration-runtime-v2")
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-path","feed-shared/helpers/hue-web-artdeco-li-icon-migration-runtime")
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-argument","feed-shared/helpers/hue-web-artdeco-migration-runtime")
define.alias("helpcenter-in-product-ember/helpers/includes","feed-shared/helpers/includes")
define.alias("ember-truth-helpers/helpers/is-array","feed-shared/helpers/is-array")
define.alias("ember-truth-helpers/helpers/is-empty","feed-shared/helpers/is-empty")
define.alias("ember-truth-helpers/helpers/is-equal","feed-shared/helpers/is-equal")
define.alias("artdeco-icons-web/helpers/li-icon","feed-shared/helpers/li-icon")
define.alias("ember-async-data/helpers/load","feed-shared/helpers/load")
define.alias("ember-truth-helpers/helpers/lt","feed-shared/helpers/lt")
define.alias("ember-truth-helpers/helpers/lte","feed-shared/helpers/lte")
define.alias("ember-truth-helpers/helpers/not-eq","feed-shared/helpers/not-eq")
define.alias("ember-truth-helpers/helpers/not","feed-shared/helpers/not")
define.alias("ember-truth-helpers/helpers/or","feed-shared/helpers/or")
define("feed-shared/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-app-scheduler/helpers/route-idle","feed-shared/helpers/route-idle")
define.alias("ember-media-player/helpers/seek-media","feed-shared/helpers/seek-media")
define.alias("ember-set-helper/helpers/set","feed-shared/helpers/set")
define.alias("ember-cli-pemberly-i18n/helpers/t","feed-shared/helpers/t")
define.alias("ember-truth-helpers/helpers/xor","feed-shared/helpers/xor")
define.alias("ember-uuid","feed-shared/index")
define("feed-shared/initializers/coordinator-setup",["exports","feed-shared/models/coordinator"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.default={name:"setup coordinator",initialize:function(){(arguments[1]||arguments[0]).register("drag:coordinator",t.default)}}}))
define("feed-shared/initializers/icons",["exports","artdeco-icons-web/src/icons","feed-shared/config/environment"],(function(e,t,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
function o(e){throw e}e.default={name:"icons",initialize:function(){const{environment:e,APP:i}=n.default
let a,r
i&&({artdecoCustomSpriteUrl:a,artdecoCustomSpriteName:r}=i)
const s="test"!==e
t.default.load(s,a,r).catch(o)}}}))
define.alias("ember-cli-pemberly-lix/initializers/lix","feed-shared/initializers/lix")
define.alias("ember-m3/initializers/m3-store","feed-shared/initializers/m3-store")
define("feed-shared/instance-initializers/artdeco",["exports","artdeco-eyeglass"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.initialize=i
const n=[t.default.contextClasses,t.default.floatingLabel,t.default.focusOutline]
function o(e,t){const o=e[t]
e[t]=function(){n.forEach((e=>e&&"function"==typeof e.teardown&&e.teardown()))
o&&"function"==typeof o&&o.call(e)}}function i(e){if("undefined"!=typeof document){n.forEach((e=>e.install()))
"function"==typeof e.willDestroy?o(e,"willDestroy"):"function"==typeof e.destroy&&o(e,"destroy")}}e.default={name:"artdeco",initialize:i}}))
define.alias("ember-ref-bucket/instance-initializers/global-ref-cleanup","feed-shared/instance-initializers/global-ref-cleanup")
define.alias("video/instance-initializers/media-plugins","feed-shared/instance-initializers/media-plugins")
define.alias("tracking-overlay-service/instance-initializers/tracking-overlay","feed-shared/instance-initializers/tracking-overlay")
define("feed-shared/models/coordinator",["exports","@ember/object","@ember/object/evented","feed-shared/models/obj-hash","ember-drag-drop/utils/proxy-unproxy-objects"],(function(e,t,n,o,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.default=t.default.extend(n.default,{objectMap:(0,t.computed)((function(){return o.default.create()})),getObject:function(e,t){t=t||{}
var n=this.get("objectMap").getObj(e)
if(n.ops.source&&!n.ops.source.isDestroying&&!n.ops.source.isDestroyed){const e=n.ops.source.action
"function"==typeof e&&e(n.obj)
"string"==typeof e&&"function"==typeof n.ops.source.target[e]&&n.ops.source.target[e](n.obj)}if(n.ops.target&&!n.ops.target.isDestroying&&!n.ops.target.isDestroyed){const e=n.ops.target.action
"function"==typeof e&&e(n.obj)
"string"==typeof e&&"function"==typeof n.ops.target.source[e]&&n.ops.target.source[e](n.obj)}this.trigger("objectMoved",{obj:(0,i.unwrapper)(n.obj),source:n.ops.source,target:t.target})
return(0,i.unwrapper)(n.obj)},setObject:function(e,t){t=t||{}
return this.get("objectMap").add({obj:e,ops:t})}})}))
define("feed-shared/models/obj-hash",["exports","@ember/object","@ember/object/computed","@ember/array"],(function(e,t,n,o){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.default=t.default.extend({contentLength:0,length:(0,n.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,o.A)(e)}})}))
define.alias("artdeco-datepicker/modifiers/artdeco-calendar-click-watcher","feed-shared/modifiers/artdeco-calendar-click-watcher")
define("feed-shared/modifiers/carousel-focus-handler",["exports","@babel/runtime/helpers/esm/defineProperty","ember-modifier","ember-lifeline"],(function(e,t,n,o){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class i extends n.default{constructor(){super(...arguments);(0,t.default)(this,"focusableCarouselItems",[])}didInstall(){this.setFocusableCarouselItems()
this.configureItems()}didUpdateArguments(){this.setFocusableCarouselItems();(0,o.runTask)(this,(()=>this.configureItems()),250)}setFocusableCarouselItems(){const e=this.element.querySelector(".artdeco-carousel__slider")
this.focusableCarouselItems=function(e){const t=["a","button","[tabindex]"].map((e=>`${e}:not([disabled]):not([tabindex="-1"])`)).join()
return Array.from(e.querySelectorAll(t))}(e)}configureItems(){var e
const t=this.element.getBoundingClientRect()
null===(e=this.focusableCarouselItems)||void 0===e||e.forEach((e=>{const n=e.getBoundingClientRect().x,o=e.getBoundingClientRect().width,i=n>=t.x&&n+o<=t.x+t.width
e.setAttribute("tabindex",i?0:-2)}))}}e.default=i}))
define.alias("ember-ref-bucket/modifiers/create-ref","feed-shared/modifiers/create-ref")
define.alias("ember-css-transitions/modifiers/css-transition","feed-shared/modifiers/css-transition")
define.alias("@ember/render-modifiers/modifiers/did-insert","feed-shared/modifiers/did-insert")
define.alias("ember-scroll-modifiers/modifiers/did-intersect","feed-shared/modifiers/did-intersect")
define.alias("ember-resize-modifier/modifiers/did-resize","feed-shared/modifiers/did-resize")
define.alias("@ember/render-modifiers/modifiers/did-update","feed-shared/modifiers/did-update")
define.alias("ember-finite-scroll/modifiers/ember-finite-scroll/focus","feed-shared/modifiers/ember-finite-scroll/focus")
define.alias("image-editor/modifiers/fabric","feed-shared/modifiers/fabric")
define("feed-shared/modifiers/on-dom-insert",["exports","ember-modifier"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.default=(0,t.modifier)((function(e,t){let[n]=t
n(e)
return()=>{}}))}))
define.alias("ember-prop-modifier","feed-shared/modifiers/prop")
define.alias("ember-scroll-modifiers/modifiers/scroll-into-view","feed-shared/modifiers/scroll-into-view")
define.alias("ember-sortable/modifiers/sortable-group","feed-shared/modifiers/sortable-group")
define.alias("ember-sortable/modifiers/sortable-handle","feed-shared/modifiers/sortable-handle")
define.alias("ember-sortable/modifiers/sortable-item","feed-shared/modifiers/sortable-item")
define.alias("@ember/render-modifiers/modifiers/will-destroy","feed-shared/modifiers/will-destroy")
define.alias("ember-cloud-filepicker/providers/base-provider","feed-shared/providers/base-provider")
define.alias("ember-cloud-filepicker/providers/dropbox-provider","feed-shared/providers/dropbox-provider")
define.alias("ember-cloud-filepicker/providers/onedrive-provider","feed-shared/providers/onedrive-provider")
define("feed-shared/providers/slideshare-provider",["exports","ember-cloud-filepicker/providers/slideshare-provider"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
var n={}
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
Object.keys(t).forEach((function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(n,o)||o in e&&e[o]===t[o]||Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[o]}}))}))}))
define.alias("@embroider/util/services/ensure-registered","feed-shared/services/-ensure-registered")
define.alias("artdeco-hoverables/services/artdeco-hoverable","feed-shared/services/artdeco-hoverable")
define.alias("artdeco-modal/services/artdeco-modal","feed-shared/services/artdeco-modal")
define.alias("artdeco-toast/services/artdeco-toast","feed-shared/services/artdeco-toast")
define.alias("client-sensor-web/services/client-sensor","feed-shared/services/client-sensor")
define.alias("ember-date-service/services/date","feed-shared/services/date")
define("feed-shared/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-sortable/services/ember-sortable-internal-state","feed-shared/services/ember-sortable-internal-state")
define.alias("@linkedin/ember-restli-graphql/services/graphql","feed-shared/services/graphql")
define.alias("image-editor/services/image-editor-loader","feed-shared/services/image-editor-loader")
define.alias("@linkedin/ember-pem/services/internal-event-utils","feed-shared/services/internal-event-utils")
define.alias("@linkedin/ember-pem/services/internal-pem-tracking","feed-shared/services/internal-pem-tracking")
define.alias("helpcenter-in-product-ember/services/iph-service","feed-shared/services/iph-service")
define.alias("ember-cli-pemberly-lix/services/lix","feed-shared/services/lix")
define.alias("ember-m3/services/m3-schema-manager","feed-shared/services/m3-schema-manager")
define.alias("ember-media-player/services/media-player","feed-shared/services/media-player")
define.alias("@linkedin/ember-pem/services/pem-response-metadata","feed-shared/services/pem-response-metadata")
define.alias("@linkedin/ember-pem/services/pem-tracking","feed-shared/services/pem-tracking")
define.alias("persistent-toast-manager/services/persistent-toast-manager","feed-shared/services/persistent-toast-manager")
define.alias("@linkedin/ember-qualtrics/services/qualtrics-surveys","feed-shared/services/qualtrics-surveys")
define.alias("ember-media-player/services/static-asset-loader","feed-shared/services/static-asset-loader")
define.alias("ember-cli-pemberly-m3/services/store","feed-shared/services/store")
define.alias("ember-cli-pemberly-litms/services/tag-manager","feed-shared/services/tag-manager")
define.alias("@linkedin/ember-pem/services/tracer","feed-shared/services/tracer")
define.alias("ember-cli-pemberly-litms/services/tracking-adapter-for-tag-manager","feed-shared/services/tracking-adapter-for-tag-manager")
define("feed-shared/template-registry",[],(function(){}))
define.alias("ember-async-data/tracked-async-data","feed-shared/tracked-async-data")
define("feed-shared/utils/asset-utils",["exports","ember-cloud-filepicker/utils/asset-utils"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
var n={}
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
Object.keys(t).forEach((function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(n,o)||o in e&&e[o]===t[o]||Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[o]}}))}))}))
define.alias("ember-highcharts/utils/build-options","feed-shared/utils/build-options")
define("feed-shared/utils/file-error",["exports","ember-cloud-filepicker/utils/file-error"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
var n={}
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
Object.keys(t).forEach((function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(n,o)||o in e&&e[o]===t[o]||Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[o]}}))}))}))
define("feed-shared/utils/file-result",["exports","ember-cloud-filepicker/utils/file-result"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
var n={}
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
Object.keys(t).forEach((function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(n,o)||o in e&&e[o]===t[o]||Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[o]}}))}))}))
define("feed-shared/utils/get-app-config",["exports","ember-cloud-filepicker/utils/get-app-config"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
var n={}
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
Object.keys(t).forEach((function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(n,o)||o in e&&e[o]===t[o]||Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[o]}}))}))}))
define.alias("ember-cli-artdeco-tabs/utils/get-box-model-width","feed-shared/utils/get-box-model-width")
define.alias("client-sensor-web/utils/helpers","feed-shared/utils/helpers")
define.alias("@linkedin/hue-web-artdeco-migration-runtime/utils/mapping-data","feed-shared/utils/mapping-data")
define("feed-shared/utils/mime-type-utils",["exports","ember-cloud-filepicker/utils/mime-type-utils"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
var n={}
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
Object.keys(t).forEach((function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(n,o)||o in e&&e[o]===t[o]||Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[o]}}))}))}))
define("feed-shared/utils/promo",["exports"],(function(e){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.FEED_PROMO_STYLES=void 0
e.FEED_PROMO_STYLES=Object.freeze({PromoComponent:"com.linkedin.voyager.feed.render.PromoComponent"})}))
define("feed-shared/utils/promos/abi",["exports","ember-cli-pemberly-tracking/utils/tracking"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.ROUTE_MAP=void 0
const n=(0,t.generateTrackingId)()
e.ROUTE_MAP={CONNECTION_COUNT_ABI:{route:"mynetwork.abi",queryParams:{afterRoute:"feed.index",transactionId:n}},ABI:{route:"mynetwork.abi",queryParams:{afterRoute:"feed.index",transactionId:n}},ABI_NUX:{route:"mynetwork.abi",queryParams:{afterRoute:"feed.index",transactionId:n}},ABI_WYLO:{route:"abi.results",queryParams:{afterRoute:"abi.intro",transactionId:n}}}}))
define("feed-shared/utils/promos/index",["exports","feed-shared/utils/promos/abi"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.PROMOS_ROUTE_MAP=void 0
e.PROMOS_ROUTE_MAP={...t.ROUTE_MAP}}))
define("feed-shared/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-shared/utils/validation-helpers",["exports","ember-cloud-filepicker/utils/validation-helpers"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
var n={}
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
Object.keys(t).forEach((function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(n,o)||o in e&&e[o]===t[o]||Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[o]}}))}))}))
define.alias("ember-vector-images/utils/vector-url","feed-shared/utils/vector-url")
define("feed-shared/utils/window-helpers",["exports","ember-cloud-filepicker/utils/window-helpers"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
var n={}
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
Object.keys(t).forEach((function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(n,o)||o in e&&e[o]===t[o]||Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[o]}}))}))}))

//# sourceMappingURL=engine.map