define.alias("@glimmer/component/-private/ember-component-manager","feed-shared/component-managers/glimmer")
define("feed-shared/components/-dynamic-element-alt",["exports","@ember/component"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var n=t.default.extend()
e.default=n}))
define("feed-shared/components/-dynamic-element",["exports","@ember/component"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var n=t.default.extend()
e.default=n}))
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-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-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-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("feed-shared/components/buttons/see-translation-button",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@ember/object","@glimmer/component","@glimmer/tracking","tracked-toolbox"],(function(e,t,n,a,o,i,r,s,l,d,c){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var u,p,m,h
const g=(0,r.createTemplateFactory)({id:"Dkgq6B1K",block:'[[[10,0],[14,0,"feed-shared-see-translation-button"],[12],[1,"\\n  "],[8,[39,0],[[16,0,[52,[30,1],"feed-shared-see-translation-button--on-dark"]]],[["@type","@color","@size","@text","@click"],["tertiary",[52,[30,0,["translateButtonClicked"]],[52,[30,1],"default","muted"],"default"],1,[52,[30,0,["translateFailed"]],[28,[37,2],["translate_failed","feed-shared/components/buttons/see-translation-button"],null],[28,[37,2],["see_translation","feed-shared/components/buttons/see-translation-button"],null]],[30,0,["onClick"]]]],null],[1,"\\n\\n"],[41,[30,0,["shouldShowLoader"]],[[[1,"    "],[8,[39,3],null,[["@size","@class"],["small","feed-shared-see-translation-button__loader mv4"]],null],[1,"\\n"]],[]],null],[13]],["@onDark"],false,["artdeco-button@artdeco-button","if","t","artdeco-loader@artdeco-loader"]]',moduleName:"feed-shared/components/buttons/see-translation-button.hbs",isStrictMode:!1})
let f=(u=(0,c.localCopy)("args.translateFailed",!1),p=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"translateButtonClicked",m,this);(0,t.default)(this,"translateFailed",h,this)}get shouldShowLoader(){const{translateButtonClicked:e,translateFailed:t}=this
return e&&!t}onClick(){var e,t
null===(e=(t=this.args).onTranslationClick)||void 0===e||e.call(t)
this.translateButtonClicked=!0}},m=(0,a.default)(p.prototype,"translateButtonClicked",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h=(0,a.default)(p.prototype,"translateFailed",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(p.prototype,"onClick",[s.action],Object.getOwnPropertyDescriptor(p.prototype,"onClick"),p.prototype),p)
e.default=f;(0,i.setComponentTemplate)(g,f)}))
define("feed-shared/components/buttons/service-request-details-message-button",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@ember/object","@ember/service","@glimmer/component","ember-async-data/tracked-async-data","global-helpers/helpers/name","global-utils/utils/get-location","rsvp","tracked-toolbox","urn-utils"],(function(e,t,n,a,o,i,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,y,T,_,E,C
const O=(0,r.createTemplateFactory)({id:"tlaYp6ud",block:'[[[11,0],[17,1],[12],[1,"\\n"],[41,[30,0,["hasUpsellLink"]],[[[1,"    "],[8,[39,1],null,[["@to"],[[30,2]]],[["default"],[[[[1,"\\n      "],[10,0],[15,"aria-describedby",[30,3,["ariaId"]]],[12],[1,"\\n        "],[8,[39,2],null,[["@customAnchorClass","@upsellName","@extraQueryParams","@useBlueButton"],["artdeco-button--2","SERVICE_REQUEST_DETAILS",[30,0,["upsellExtraQueryParams"]],true]],[["default"],[[[[1,"\\n          "],[1,[28,[35,3],null,[["type","size","class"],["lock-icon","small","artdeco-button__icon"]]]],[1,"\\n          "],[10,1],[15,"aria-hidden",[29,[[52,[30,0,["recipientNames","isRejected"]],"false","true"]]]],[12],[1,"\\n            "],[1,[28,[35,4],["i18n_message","feed-shared/components/buttons/service-request-details-message-button"],null]],[1,"\\n          "],[13],[1,"\\n"],[41,[30,0,["recipientNames","isResolved"]],[[[1,"            "],[10,1],[14,0,"visually-hidden"],[12],[1,"\\n              "],[1,[28,[35,4],["i18n_message_a11y","feed-shared/components/buttons/service-request-details-message-button"],[["names","count"],[[30,0,["recipientNames","value"]],[30,0,["messageComposeOptionRecipientUrns","length"]]]]]],[1,"\\n            "],[13],[1,"\\n\\n            "],[8,[30,3,["artdeco-hoverable-content"]],null,[["@to","@theme"],[[30,2],"inverse"]],[["default"],[[[[1,"\\n              "],[10,1],[14,"aria-live","polite"],[12],[1,"\\n                "],[1,[28,[35,4],["unlock_premium_tooltip","feed-shared/components/buttons/service-request-details-message-button"],[["names"],[[30,0,["recipientNames","value"]]]]]],[1,"\\n              "],[13],[1,"\\n            "]],[]]]]],[1,"\\n"]],[]],null],[1,"        "]],[]]]]],[1,"\\n      "],[13],[1,"\\n    "]],[3]]]]],[1,"\\n"]],[]],[[[1,"    "],[8,[39,5],null,[["@isGraphQLEnabled","@recipientUrns","@dashComposeOption","@body","@subject","@onMessagingOpened","@controlUrn","@referringModuleKey"],[[30,4],[30,0,["messageComposeOptionRecipientUrns"]],[30,5,["messageComposeOption"]],[30,5,["prefilledMessageBody"]],[30,5,["prefilledMessageSubject"]],[30,6],"requestor_message_button","marketplaces:request_details"]],[["default"],[[[[1,"\\n      "],[8,[39,6],null,[["@controlType","@type","@size","@click"],["button","primary",2,[30,7]]],[["default"],[[[[1,"\\n        "],[8,[39,7],null,[["@tvm"],[[30,5,["messageComposeOption","displayText"]]]],null],[1,"\\n      "]],[]]]]],[1,"\\n    "]],[7]]]]],[1,"\\n"]],[]]],[13]],["&attrs","@hoverableOutletId","card","@isGraphQLEnabled","@serviceRequestDetails","@closeServiceDetailsModal","openMessaging"],false,["if","artdeco-hoverables@artdeco-hoverable-trigger","s-upsell@upsell-link","artdeco-icons-web@li-icon","t","message-button@entry-point","artdeco-button@artdeco-button","text-view-model@text-view-model-v2"]]',moduleName:"feed-shared/components/buttons/service-request-details-message-button.hbs",isStrictMode:!1})
let v=(f=(0,l.inject)("formatter"),b=(0,l.inject)("profile-services@identity-store"),y=(0,l.inject)("router"),T=class extends d.default{constructor(){super(...arguments);(0,t.default)(this,"formatter",_,this);(0,t.default)(this,"identityStore",E,this);(0,t.default)(this,"router",C,this)}get recipientNames(){const e=this._getRecipientModels().then((e=>e.map((e=>{const t=(0,u.getName)(e)
return t?this.formatter.formatName(t,"full"):""}))))
return new c.default(e)}get hasUpsellLink(){return"UPSELL"===(0,s.get)(this.args,"serviceRequestDetails.messageComposeOption.composeOptionType")}get messageComposeOptionRecipientUrns(){var e
if(this.args.isGraphQLEnabled){const e=(0,s.get)(this.args,"serviceRequestDetails.messageComposeOption.composeNavigationContext.recipient")
return e?e.map((e=>(0,s.get)(e,"entityUrn"))):[]}return(null===(e=(0,s.get)(this.args,"serviceRequestDetails.messageComposeOption.composeNavigationContext.recipientUrns"))||void 0===e?void 0:e.toArray())||[]}get upsellExtraQueryParams(){const e=(0,p.default)(),t=this.router.urlFor("feed.update",{updateId:this.args.feedUpdateUrn}),n=e&&e.origin?`${e.origin}${t}`:t,a=(0,s.get)(this.args,"serviceRequestDetails.requesterMiniProfileUrn")||this.messageComposeOptionRecipientUrns[0],o=(0,g.extractEntityInfoFromUrn)(a).id
return{contextUrn:this.args.marketplaceRequestUrn,destRedirectURL:n,otmid:o}}_fetchRecipientByUrn(e){return this.identityStore.findRecord("com.linkedin.voyager.identity.shared.MiniProfile",(0,g.extractEntityInfoFromUrn)(e).id)}_getRecipientModels(){return(0,m.all)(this.messageComposeOptionRecipientUrns.map((e=>this._fetchRecipientByUrn(e))))}},_=(0,a.default)(T.prototype,"formatter",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,a.default)(T.prototype,"identityStore",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,a.default)(T.prototype,"router",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(T.prototype,"recipientNames",[h.cached],Object.getOwnPropertyDescriptor(T.prototype,"recipientNames"),T.prototype),T)
e.default=v;(0,i.setComponentTemplate)(O,v)}))
define("feed-shared/components/buttons/unstyled-button",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,n,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const o=(0,n.createTemplateFactory)({id:"l4k+IO0z",block:'[[[11,"button"],[24,4,"button"],[17,1],[4,[38,0],["click",[28,[37,1],[[30,2]],null]],null],[12],[1,"\\n  "],[18,3,null],[1,"\\n"],[13]],["&attrs","@invokeAction","&default"],false,["on","global-helpers@optional","yield"]]',moduleName:"feed-shared/components/buttons/unstyled-button.hbs",isStrictMode:!1})
var i=(0,t.setComponentTemplate)(o,(0,a.default)())
e.default=i}))
define("feed-shared/components/carousel-video-container",["exports","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","feed-shared/utils/constants"],(function(e,t,n,a,o,i,r){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var s
const l=(0,a.createTemplateFactory)({id:"bditgLHJ",block:'[[[11,0],[24,0,"full-width relative"],[17,1],[4,[38,0],null,[["property","isCarouselUpdate","heightHelper"],["height",true,[30,0,["getAdjustedHeight"]]]]],[12],[1,"\\n  "],[8,[30,2],[[24,0,"absolute full-height full-width"],[4,[38,1],["click",[30,0,["onClickThumbnail"]]],null]],null,[["default"],[[[[1,"\\n    "],[8,[39,2],[[24,0,"absolute full-height full-width feed-shared-linkedin-video__thumbnail"]],[["@alt","@image","@desiredWidth","@objectFitType"],[[30,3],[30,4],"400","cover"]],null],[1,"\\n    "],[8,[39,3],null,[["@showFrosted","@tabIndex"],[true,"-1"]],null],[1,"\\n  "]],[]]]]],[1,"\\n"],[13]],["&attrs","@linkToComponent","@accessibilityText","@thumbnailImage"],false,["feed-shared@content-height","on","ember-vector-images@lazy-image","video@video-loader-overlay"]]',moduleName:"feed-shared/components/carousel-video-container.hbs",isStrictMode:!1}),{MAX_CAROUSEL_CONTENT_HEIGHT:d}=r.CAROUSEL_IMAGE_SIZE_CONSTANTS
let c=(s=class extends o.default{getAdjustedHeight(e){return e?d-e.offsetHeight:d}onClickThumbnail(){var e,t
null===(e=this.args.updateTrackingObj)||void 0===e||e.fireFeedActionAndSponsoredTrackingEvents({controlName:"update_video_image",actionType:"viewUpdateDetail",actionCategory:"VIEW"})
null===(t=this.args.updateTrackingObj)||void 0===t||t.fireControlInteractionEvent("update_video_image")}},(0,t.default)(s.prototype,"getAdjustedHeight",[i.action],Object.getOwnPropertyDescriptor(s.prototype,"getAdjustedHeight"),s.prototype),(0,t.default)(s.prototype,"onClickThumbnail",[i.action],Object.getOwnPropertyDescriptor(s.prototype,"onClickThumbnail"),s.prototype),s)
e.default=c;(0,n.setComponentTemplate)(l,c)}))
define("feed-shared/components/celebration-image",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@ember/service","@glimmer/component","@ember/object","feed-shared/utils/constants","@glimmer/tracking"],(function(e,t,n,a,o,i,r,s,l,d,c,u){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var p,m,h,g
const f=(0,r.createTemplateFactory)({id:"un1fHnjA",block:'[[[11,0],[24,0,"feed-shared-celebration-image text-align-center"],[17,1],[12],[1,"\\n  "],[10,0],[14,0,"feed-shared-celebration-image__image-container"],[12],[1,"\\n"],[41,[30,2],[[[1,"      "],[8,[39,1],null,[["@images","@imgWidth","@imgClasses"],[[30,2],[30,0,["scaledImageSize"]],"feed-shared-celebration-image__image"]],null],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n\\n"],[41,[30,2],[[[1,"    "],[11,"button"],[24,0,"feed-shared-celebration-image__image-viewer-trigger"],[16,"aria-label",[28,[37,2],["view_larger_image","feed-shared/components/celebration-image"],null]],[24,4,"button"],[4,[38,3],["click",[30,0,["openImageViewer"]]],null],[4,[38,4],["update_image"],null],[12],[1,"\\n      "],[10,"figure"],[14,0,"feed-shared-celebration-image__curve"],[12],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n\\n"],[41,[51,[30,3]],[[[1,"      "],[8,[39,6],null,[["@isOpen","@headerId","@dismissModal","@modalClasses","@overlayClasses"],[[30,0,["isImageViewerOpen"]],"image-viewer-modal-label",[28,[37,7],[[30,0,["closeImageViewer"]],true],null],"feed-shared-image-viewer","display-flex flex-column justify-center"]],[["default"],[[[[1,"\\n        "],[8,[30,4,["artdeco-modal-header"]],null,[["@classNames"],["visually-hidden"]],[["default"],[[[[1,"\\n          "],[10,"h2"],[14,1,"image-viewer-modal-label"],[12],[1,"\\n            "],[1,[28,[35,2],["image_viewer_modal","feed-shared/components/celebration-image"],null]],[1,"\\n          "],[13],[1,"\\n        "]],[]]]]],[1,"\\n\\n        "],[8,[30,4,["artdeco-modal-content"]],null,[["@classNames"],["feed-shared-image-viewer__content"]],[["default"],[[[[1,"\\n          "],[8,[39,8],null,[["@images","@updateTrackingObj","@onCloseModalClick"],[[30,0,["images"]],[30,5],[28,[37,7],[[30,0,["closeImageViewer"]],false],null]]],null],[1,"\\n        "]],[]]]]],[1,"\\n      "]],[4]]]]],[1,"\\n"]],[]],null]],[]],[[[1,"    "],[10,"figure"],[14,0,"feed-shared-celebration-image__curve"],[12],[1,"\\n    "],[13],[1,"\\n"]],[]]],[13]],["&attrs","@backgroundImage","@useUpdateDetailViewer","modal","@updateTrackingObj"],false,["if","image-view-model@image-view-model","t","on","ember-cli-pemberly-tracking@track-interaction","unless","artdeco-modal@artdeco-modal","fn","update-components@image-viewer"]]',moduleName:"feed-shared/components/celebration-image.hbs",isStrictMode:!1})
let b=(p=(0,s.inject)("tracking"),m=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",h,this);(0,t.default)(this,"isImageViewerOpen",g,this);(0,n.default)(this,"scaledImageSize",c.IMAGE_SIZES.EXTENDED)}get images(){return[this.args.backgroundImage]}openImageViewer(){this.tracking.firePageViewEvent("flagship3_feed_richmedia_viewer.page")
const{updateTrackingObj:e}=this.args
e&&e.fireFeedActionAndSponsoredTrackingEvents({controlName:"update_image",actionType:"viewImage",actionCategory:"VIEW"})
if(this.args.useUpdateDetailViewer){var t,n
null===(t=(n=this.args).toggleUpdateDetailViewer)||void 0===t||t.call(n)}else this.isImageViewerOpen=!0}closeImageViewer(e){e&&this.tracking.fireInteractionEvent("close")
if(this.isImageViewerOpen)this.isImageViewerOpen=!1
else{var t,n
null===(t=(n=this.args).toggleUpdateDetailViewer)||void 0===t||t.call(n)}}},h=(0,a.default)(m.prototype,"tracking",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,a.default)(m.prototype,"isImageViewerOpen",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,a.default)(m.prototype,"openImageViewer",[d.action],Object.getOwnPropertyDescriptor(m.prototype,"openImageViewer"),m.prototype),(0,a.default)(m.prototype,"closeImageViewer",[d.action],Object.getOwnPropertyDescriptor(m.prototype,"closeImageViewer"),m.prototype),m)
e.default=b;(0,i.setComponentTemplate)(f,b)}))
define.alias("ember-vector-images/components/custom-image","feed-shared/components/custom-image")
define.alias("ember-cloud-filepicker/components/dropbox-file-picker","feed-shared/components/dropbox-file-picker")
define("feed-shared/components/embed-code-textarea",["exports","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/component","@ember/template-factory","@glimmer/component","@ember/object"],(function(e,t,n,a,o,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var r
const s=(0,a.createTemplateFactory)({id:"7qAv5Twv",block:'[[[8,[39,0],[[17,1],[4,[38,1],[[30,0,["selectAll"]]],null],[4,[38,2],["focusin",[30,0,["handleFocus"]]],null]],[["@value"],[[30,2]]],null]],["&attrs","@value"],false,["textarea","did-insert","on"]]',moduleName:"feed-shared/components/embed-code-textarea.hbs",isStrictMode:!1})
let l=(r=class extends o.default{handleFocus(e){e.target.select()}selectAll(e){e.select()}},(0,t.default)(r.prototype,"handleFocus",[i.action],Object.getOwnPropertyDescriptor(r.prototype,"handleFocus"),r.prototype),(0,t.default)(r.prototype,"selectAll",[i.action],Object.getOwnPropertyDescriptor(r.prototype,"selectAll"),r.prototype),r)
e.default=l;(0,n.setComponentTemplate)(s,l)}))
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("feed-shared/components/feed-video-container",["exports","@ember/component","@ember/template-factory","@glimmer/component"],(function(e,t,n,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const o=(0,n.createTemplateFactory)({id:"Z494VbPd",block:'[[[41,[30,1],[[[1,"  "],[8,[39,1],null,[["@additionalPlugins","@aspectRatio","@contentUrl","@isAutoPlayEnabled","@isPlayable","@preload","@shouldSuppressTracking","@updateTrackingId","@updateMetadata","@updateTrackingObj","@videoPlayMetadata","@videoSources"],[[30,0,["plugins"]],[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8,["model","trackingData","trackingId"]],[30,9],[30,8],[30,10,["videoPlayMetadata"]],[30,11]]],null],[1,"\\n"]],[]],[[[1,"  "],[8,[39,2],null,[["@additionalPlugins","@aspectRatio","@isAutoPlayEnabled","@isPlayable","@preload","@updateTrackingId","@videoPlayMetadata","@videoSources","@enableImmersivePlayerControls"],[[30,0,["plugins"]],[30,2],[30,4],[30,5],[30,6],[30,8,["model","trackingData","trackingId"]],[30,10,["videoPlayMetadata"]],[30,11],true]],null],[1,"\\n"]],[]]]],["@isSponsored","@aspectRatio","@contentTrackedUrl","@canAutoPlayVideo","@isPlayable","@preload","@shouldSuppressTracking","@updateTrackingObj","@updateMetadata","@model","@videoSources"],false,["if","video@sponsored-video-loader","video@native-video-loader"]]',moduleName:"feed-shared/components/feed-video-container.hbs",isStrictMode:!1})
class i extends a.default{constructor(){super(...arguments)
this.plugins={feedAction:{onFeedAction:e=>this.args.fireCustomTracking(e)}}}}e.default=i;(0,t.setComponentTemplate)(o,i)}))
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-cloud-filepicker/components/google-drive-file-picker","feed-shared/components/google-drive-file-picker")
define.alias("ember-highcharts/components/high-charts","feed-shared/components/high-charts")
define("feed-shared/components/images/avatar-image",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/utils","global-utils/utils/urn-converter"],(function(e,t,n,a,o,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const r=(0,n.createTemplateFactory)({id:"kpv+WPiU",block:'[[[11,0],[16,0,[29,["feed-shared-avatar-image b0 ",[30,1]]]],[16,"data-entity-hovercard-id",[30,0,["entityHovercardId"]]],[17,2],[12],[1,"\\n"],[41,[30,0,["showPresence"]],[[[1,"    "],[8,[39,1],null,[["@imageClasses","@miniProfile","@size","@shouldNotSubscribe","@a11yText"],[[30,0,["imageClass"]],[30,3],[30,0,["entitySize"]],true,[30,4]]],null],[1,"\\n"]],[]],[[[1,"    "],[8,[39,2],null,[["@image","@alt","@desiredWidth","@desiredHeight","@ghostType","@class"],[[30,5],[30,4],100,100,[30,0,["ghostType"]],[30,0,["imageClass"]]]],null],[1,"\\n"]],[]]],[13]],["@avatarType","&attrs","@miniProfile","@alt","@avatar"],false,["if","presence@entity-with-presence","ember-vector-images@custom-image"]]',moduleName:"feed-shared/components/images/avatar-image.hbs",isStrictMode:!1}),s={channel:"group",company:"company",influencer:"person",member:"person",topic:"group"},l={member:"circle",influencer:"circle",channel:"circle",company:"square",topic:"square"},d={"EntityPhoto-circle-1":"EntityPhoto-circle-1","EntityPhoto-circle-2":"EntityPhoto-circle-2","EntityPhoto-circle-3":"EntityPhoto-circle-3","EntityPhoto-circle-4":"EntityPhoto-circle-4","EntityPhoto-circle-5":"EntityPhoto-circle-5","EntityPhoto-square-1":"EntityPhoto-square-1","EntityPhoto-square-2":"EntityPhoto-square-2","EntityPhoto-square-3":"EntityPhoto-square-3","EntityPhoto-square-5":"EntityPhoto-square-5"}
class c extends a.default{get imageClass(){const{avatarType:e}=this.args,t=function(e){return d[`EntityPhoto-${arguments.length>1&&void 0!==arguments[1]?arguments[1]:"circle"}-${e}`]}(this.entitySize,l[e])
return`avatar ${e} ${t}`}get entitySize(){var e
return null!==(e=this.args.avatarEntityClassSize)&&void 0!==e?e:3}get entityHovercardId(){return(0,i.isUrn)(this.args.entityUrn)?this.args.entityUrn:void 0}get ghostType(){return s[this.args.avatarType]}get showPresence(){const{avatarType:e,miniProfile:t,showPresence:n}=this.args
return n||"member"===e&&(0,o.isPresent)(t)}}e.default=c;(0,t.setComponentTemplate)(r,c)}))
define("feed-shared/components/inline-show-more-text",["exports","@babel/runtime/helpers/esm/objectSpread2","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@ember/service","@ember/object","@glimmer/tracking","@glimmer/component","tracked-toolbox","@ember/runloop"],(function(e,t,n,a,o,i,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,y,T,_,E,C
const O=(0,s.createTemplateFactory)({id:"nlmLs8Hb",block:'[[[11,0],[16,0,[29,["feed-shared-inline-show-more-text\\n    ",[30,1],"\\n    ",[52,[30,0,["isEmpty"]],"is-empty"],"\\n    ",[30,0,["numLinesClass"]],"\\n    ",[52,[30,0,["isExpanded"]],"feed-shared-inline-show-more-text--expanded"],"\\n    ",[52,[30,0,["showSeeLess"]],"feed-shared-inline-show-more-text--on-newline"]]]],[24,"tabindex","-1"],[17,2],[4,[38,1],null,[["shouldExpand","cb"],[[30,0,["isExpanded"]],[30,0,["afterTruncate"]]]]],[4,[38,2],null,[["when"],[[30,0,["isFocused"]]]]],[12],[1,"\\n  "],[18,4,null],[41,[30,0,["showSeeMore"]],[[[11,"button"],[16,"role",[52,[30,3],"link","button"]],[24,0,"feed-shared-inline-show-more-text__see-more-less-toggle see-more t-14 t-black--light t-normal hoverable-link-text"],[16,"aria-label",[28,[37,4],["see_more_label","feed-shared/components/inline-show-more-text"],null]],[16,4,[52,[30,3],"link","button"]],[4,[38,5],["click",[30,0,["seeMoreText"]]],null],[12],[1,[28,[35,4],["see_more","feed-shared/components/inline-show-more-text"],null]],[13]],[]],null],[41,[30,0,["showSeeLess"]],[[[1,"    "],[11,"button"],[24,0,"feed-shared-inline-show-more-text__see-less feed-shared-inline-show-more-text__see-more-less-toggle t-14 t-black--light t-normal hoverable-link-text"],[24,"aria-hidden","true"],[24,4,"button"],[4,[38,6],[[30,0,["trackingMap","collapseControlName"]]],null],[4,[38,5],["click",[30,0,["seeLessText"]]],null],[12],[1,[28,[35,4],["i18n_see_less","feed-shared/components/inline-show-more-text"],null]],[13],[1,"\\n"]],[]],null],[13]],["@class","&attrs","@seeMoreTextIsLink","&default"],false,["if","feed-shared@truncate-text","global-modifiers@focus","yield","t","on","ember-cli-pemberly-tracking@track-interaction"]]',moduleName:"feed-shared/components/inline-show-more-text.hbs",isStrictMode:!1}),v={lines_1:"feed-shared-inline-show-more-text--1-lines",lines_2:"feed-shared-inline-show-more-text--2-lines",lines_5:"feed-shared-inline-show-more-text--5-lines",lines_7:"feed-shared-inline-show-more-text--7-lines",lines_8:"feed-shared-inline-show-more-text--8-lines",lines_15:"feed-shared-inline-show-more-text--15-lines"}
let k=(h=(0,l.inject)("tracking"),g=(0,p.trackedReset)("args.isExpanded"),f=class extends u.default{constructor(){super(...arguments);(0,n.default)(this,"tracking",b,this);(0,n.default)(this,"isExpanded",y,this);(0,n.default)(this,"isEmpty",T,this);(0,n.default)(this,"isFocused",_,this);(0,n.default)(this,"isSeeMoreEnabled",E,this);(0,n.default)(this,"hasHiddenContent",C,this)}get numLinesClass(){return v[`lines_${this.args.numLinesBeforeTruncation}`]||""}get trackingMap(){return(0,t.default)({expandControlName:"expand",expandActionName:"expandSeeMore",collapseControlName:"collapse",collapseActionName:"collapseSeeMore",actionCategory:"EXPAND"},this.args.trackingOverrides)}get showSeeLess(){return this.args.enableSeeLess&&this.isExpanded}get showSeeMore(){return this.hasHiddenContent&&!this.isExpanded}afterTruncate(e,t){this.isEmpty=e
this.hasHiddenContent=t}seeMoreText(e){e.stopPropagation()
e.preventDefault()
if(!this.args.disableToggleShowMore){this.isExpanded=!0
this.isFocused=!0}this.args.disableCIE||this.tracking.fireInteractionEvent(this.trackingMap.expandControlName);(0,m.run)((()=>{var e,t
const{expandControlName:n,expandActionName:a,actionCategory:o}=this.trackingMap
this._fireTrackingEvents({actionCategory:o,actionType:a,controlName:n})
null===(e=(t=this.args).onShowMore)||void 0===e||e.call(t)}))}seeLessText(){var e,t
if(!this.args.disableToggleShowMore){this.isExpanded=!1
this.isFocused=!0}null===(e=(t=this.args).onShowLess)||void 0===e||e.call(t)}_fireTrackingEvents(e){if(this.args.updateTrackingObj)this.args.updateTrackingObj.fireFeedActionAndSponsoredTrackingEvents(e)
else{var t,n
null===(t=(n=this.args).fireCustomTracking)||void 0===t||t.call(n,e)}}},b=(0,o.default)(f.prototype,"tracking",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,o.default)(f.prototype,"isExpanded",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.isExpanded||!1}}),T=(0,o.default)(f.prototype,"isEmpty",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),_=(0,o.default)(f.prototype,"isFocused",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),E=(0,o.default)(f.prototype,"isSeeMoreEnabled",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),C=(0,o.default)(f.prototype,"hasHiddenContent",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,o.default)(f.prototype,"afterTruncate",[d.action],Object.getOwnPropertyDescriptor(f.prototype,"afterTruncate"),f.prototype),(0,o.default)(f.prototype,"seeMoreText",[d.action],Object.getOwnPropertyDescriptor(f.prototype,"seeMoreText"),f.prototype),(0,o.default)(f.prototype,"seeLessText",[d.action],Object.getOwnPropertyDescriptor(f.prototype,"seeLessText"),f.prototype),f)
e.default=k;(0,r.setComponentTemplate)(O,k)}))
define("feed-shared/components/insights-modal",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@ember/service","@glimmer/component","@ember/object"],(function(e,t,n,a,o,i,r,s,l,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var c,u,p
const m=(0,r.createTemplateFactory)({id:"OP423jxY",block:'[[[8,[39,0],null,[["@isOpen","@headerId","@dismissModal","@modalClasses","@size"],[[30,1],"insights-modal-label",[30,0,["onCloseModalClick"]],"feed-shared-insights-modal","medium"]],[["default"],[[[[1,"\\n  "],[8,[30,2,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n    "],[10,"h2"],[14,1,"insights-modal-label"],[14,0,"text-align-left"],[12],[1,"\\n      "],[10,1],[14,0,"visually-hidden"],[12],[1,"\\n        "],[1,[28,[35,1],["a11y_tagged_people_header","feed-shared/components/insights-modal"],null]],[1,"\\n      "],[13],[1,"\\n      "],[10,1],[14,"aria-hidden","true"],[12],[1,"\\n        "],[1,[28,[35,1],["tagged_people","feed-shared/components/insights-modal"],null]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "]],[]]]]],[1,"\\n  "],[8,[30,2,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n    "],[8,[39,2],null,[["@taggedEntities","@updateTrackingObj"],[[30,3],[30,4]]],null],[1,"\\n  "]],[]]]]],[1,"\\n"]],[2]]]]]],["@isOpen","modal","@taggedEntities","@updateTrackingObj"],false,["artdeco-modal@artdeco-modal","t","feed-shared@tagged-entities"]]',moduleName:"feed-shared/components/insights-modal.hbs",isStrictMode:!1})
let h=(c=(0,s.inject)("tracking"),u=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",p,this)}onCloseModalClick(){this.args.closeModal()
this.tracking.firePageViewEvent("flagship3_feed_updates")
this.tracking.fireInteractionEvent("close")}},p=(0,a.default)(u.prototype,"tracking",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(u.prototype,"onCloseModalClick",[d.action],Object.getOwnPropertyDescriptor(u.prototype,"onCloseModalClick"),u.prototype),u)
e.default=h;(0,i.setComponentTemplate)(m,h)}))
define("feed-shared/components/interstitial-container",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/service"],(function(e,t,n,a,o,i,r,s,l,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var c,u,p
const m=(0,r.createTemplateFactory)({id:"ZNDVFcxO",block:'[[[41,[30,0,["isContentOnly"]],[[[41,[48,[30,4]],[[[1,"    "],[18,4,null],[1,"\\n"]],[]],null]],[]],null],[11,0],[16,0,[29,["feed-shared-interstitial-container\\n    ",[52,[30,0,["showClickThroughOverlay"]],[52,[30,0,["isSmallInterstitial"]],"feed-shared-interstitial-container__overlay-open--small","feed-shared-interstitial-container__overlay-open"]]]]],[17,1],[4,[38,3],null,[["registerOnImpression","routeName","currentRoute"],[[30,0,["handleImpressionTracking"]],[28,[37,4],[[53,"outletState"],"render.name"],null],[28,[37,4],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n"],[41,[30,0,["isClickThrough"]],[[[1,"    "],[8,[39,6],null,[["@clickThroughAction","@explanatoryLinkAction","@explanatoryLinkControlName","@isSmallInterstitial","@isPreviewMode","@model","@showClickThroughOverlay","@showInlineExplanatoryLink"],[[30,0,["clickThroughAction"]],[30,0,["explanatoryLinkAction"]],"trust_sign_post_learn_more",[30,0,["isSmallInterstitial"]],[30,2],[30,3],[30,0,["showClickThroughOverlay"]],true]],[["default"],[[[[1,"\\n"],[41,[30,0,["isCommentaryAndContent"]],[[[41,[48,[30,4]],[[[1,"          "],[18,4,null],[1,"\\n"]],[]],null],[41,[48,[30,5]],[[[1,"          "],[18,5,null],[1,"\\n"]],[]],null],[41,[48,[30,6]],[[[1,"          "],[18,6,null],[1,"\\n"]],[]],null]],[]],[[[41,[30,0,["isContentOnly"]],[[[41,[48,[30,5]],[[[1,"          "],[18,5,null],[1,"\\n"]],[]],null],[41,[48,[30,6]],[[[1,"          "],[18,6,null],[1,"\\n"]],[]],null],[1,"      "]],[]],null]],[]]],[1,"    "]],[]]]]],[1,"\\n"]],[]],[[[1,"    "],[8,[39,7],null,[["@explanatoryLinkAction","@explanatoryLinkControlName","@model"],[[30,0,["explanatoryLinkAction"]],"trust_sign_post_learn_more",[30,3]]],null],[1,"\\n"]],[]]],[13],[1,"\\n"],[41,[30,0,["isCommentaryOnly"]],[[[1,"  "],[18,5,null],[1,"\\n"]],[]],null]],["&attrs","@isPreviewMode","@model","&commentary","&content","&reshare"],false,["if","has-block","yield","ember-cli-pemberly-tracking@track-impression","get","-get-dynamic-var","interstitial-view-model@click-through-interstitial","interstitial-view-model@non-click-through-interstitial"]]',moduleName:"feed-shared/components/interstitial-container.hbs",isStrictMode:!1}),h=Object.freeze({BOTH:"COMMENTARY_AND_CONTENT",COMMENTARY:"COMMENTARY",CONTENT:"CONTENT"})
let g=(c=(0,d.inject)("tracking"),u=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",p,this)}get showClickThroughOverlay(){return this.isClickThrough&&(this.args.isPreviewMode||(0,l.get)(this.args.model,"shouldShowInterstitial"))}get isClickThrough(){return(0,l.get)(this.args.model,"shouldBlurContent")}get isCommentaryAndContent(){return this.args.coverage===h.BOTH}get isCommentaryOnly(){return this.args.coverage===h.COMMENTARY}get isContentOnly(){return this.args.coverage===h.CONTENT}get isSmallInterstitial(){return"SMALL"===this.args.size}get trackingControlUrn(){const e=this.isClickThrough?"click_through_interstitial":"non_click_through_interstitial"
return this.tracking.generateControlUrn(e)}clickThroughAction(){var e;(0,l.set)(this.args.model,"shouldShowInterstitial",!1)
null===(e=this.args.updateTrackingObj)||void 0===e||e.fireFeedActionEvent({controlName:"trust_sign_post_view_anyway",actionType:"viewContent",actionCategory:"VIEW",accessoryTrackingId:(0,l.get)(this.args.model,"trackingId")})}explanatoryLinkAction(){var e
null===(e=this.args.updateTrackingObj)||void 0===e||e.fireFeedActionEvent({controlName:"trust_sign_post_learn_more",actionType:"learnMore",actionCategory:"LEARN_MORE",accessoryTrackingId:(0,l.get)(this.args.model,"trackingId")})}handleImpressionTracking(){var e
const t=(0,l.get)(this.args.model,"trackingId"),n=null===(e=this.args.updateTrackingObj)||void 0===e?void 0:e.generateFeedAccessoryImpressionEventBody([{accessoryEntityUrn:this.args.entityUrn,accessoryTrackingId:t,controlUrn:this.trackingControlUrn}],t)
return()=>n?{name:"FeedAccessoryImpressionEvent",body:n}:[]}},p=(0,a.default)(u.prototype,"tracking",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(u.prototype,"clickThroughAction",[l.action],Object.getOwnPropertyDescriptor(u.prototype,"clickThroughAction"),u.prototype),(0,a.default)(u.prototype,"explanatoryLinkAction",[l.action],Object.getOwnPropertyDescriptor(u.prototype,"explanatoryLinkAction"),u.prototype),(0,a.default)(u.prototype,"handleImpressionTracking",[l.action],Object.getOwnPropertyDescriptor(u.prototype,"handleImpressionTracking"),u.prototype),u)
e.default=g;(0,i.setComponentTemplate)(m,g)}))
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/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/object","global-utils/utils/url","ember-cli-pemberly-tracking/utils/tracking","fetch","global-utils/utils/custom-tracking-transporters"],(function(e,t,n,a,o,i,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,y,T,_
const E=(0,r.createTemplateFactory)({id:"0lu6Il1e",block:'[[[8,[39,0],null,[["@bundle","@retryLimit"],["lead-gen",1]],[["default"],[[[[1,"\\n"],[41,[30,2],[[[41,[30,1,["state","fulfilled"]],[[[1,"      "],[8,[39,2],null,[["@channelId","@closeModal","@fireCustomTracking","@isOpen","@leadGenForm","@isRequestSourceLAN","@leadTrackingParams","@shouldDisableSubmit","@shouldSuppressTracking"],[[30,3],[30,4],[30,0,["fireCustomTracking"]],[30,2],[30,5],[30,6],[30,0,["leadTrackingParams"]],[30,7],[30,8]]],null],[1,"\\n"]],[]],[[[1,"      "],[8,[39,3],null,[["@isOpen","@size","@dismissModal"],[[30,2],"medium",[30,4]]],[["default"],[[[[1,"\\n        "],[8,[30,9,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n          "],[10,"h3"],[14,1,"lead-gen-modal-header"],[12],[1,"\\n"],[41,[30,5,["header"]],[[[1,"              "],[1,[30,5,["header","text"]]],[1,"\\n"]],[]],[[[1,"              "],[1,[30,5,["actor","miniCompany","name"]]],[1,"\\n"]],[]]],[1,"          "],[13],[1,"\\n        "]],[]]]]],[1,"\\n        "],[8,[30,9,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,1,["state","pending"]],[[[1,"            "],[8,[39,4],[[24,0,"mv6"]],[["@size"],["small"]],null],[1,"\\n"]],[]],[[[41,[30,1,["state","rejected"]],[[[1,"            "],[8,[39,5],[[24,0,"mv5"]],[["@message","@type"],[[28,[37,6],["i18n_lead_gen_loading_error","feed-shared/components/lead-gen-modal-wrapper"],null],"error"]],null],[1,"\\n          "]],[]],null]],[]]],[1,"        "]],[]]]]],[1,"\\n      "]],[9]]]]],[1,"\\n"]],[]]]],[]],null]],[1]]]]]],["asset","@isOpen","@channelId","@closeModal","@leadGenForm","@isRequestSourceLAN","@shouldDisableSubmit","@shouldSuppressTracking","modal"],false,["asset-loader@deferred-asset-loader","if","lead-gen@lead-gen-v2/lead-gen-modal","artdeco-modal@artdeco-modal","artdeco-loader@artdeco-loader","artdeco-inline-feedback@artdeco-inline-feedback","t"]]',moduleName:"feed-shared/components/lead-gen-modal-wrapper.hbs",isStrictMode:!1}),C="voyager.web.feed-revenue-leadgen-ostc-tracking",O={DUAL_WRITE:"dual-write",TFE_ONLY:"tfe-only",CONTROL:"control"}
let v=(h=(0,l.inject)("lix"),g=(0,l.inject)("tracking"),f=(0,l.inject)("global-services@global-http-headers"),b=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"lix",y,this);(0,t.default)(this,"tracking",T,this);(0,t.default)(this,"globalHttpHeaders",_,this)}get channelId(){return this.args.channelId||2}get pageKey(){return this.args.pageKey}get shouldSendTrackingEventToTscp(){return this.leadGenSponsoredTrackingMode===O.CONTROL||this.leadGenSponsoredTrackingMode===O.DUAL_WRITE}get shouldSendTrackingEventToTfe(){return this.leadGenSponsoredTrackingMode===O.DUAL_WRITE||this.leadGenSponsoredTrackingMode===O.TFE_ONLY}get leadGenSponsoredTrackingMode(){return this.lix.getTreatment(C)}get isOstcTrackingEnabled(){return this.lix.getTreatmentIsEnabled(C)}get leadTrackingParams(){return(0,d.get)(this.args,"sponsoredMetadata.leadTrackingParams")}get leadTrackingCode(){return(0,d.get)(this.args,"sponsoredMetadata.leadTrackingCode")}fireCustomTracking(e){let{actionType:t,controlName:n}=e
if((0,d.get)(this.args,"shouldSuppressTracking.sponsored")||!this.leadTrackingParams&&!this.leadTrackingCode)return
let a=this._getTscpTrackingUrl(this.leadTrackingParams,t,n)
const o={transporterKey:m.SPONSORED_TRACKING_TRANSPORTER_KEYS.TFE_TRANSPORTER}
if(this.shouldSendTrackingEventToTscp&&this.shouldSendTrackingEventToTfe){const e=(0,u.generateTrackingId)()
a=(0,c.addQueryParam)(a,"testId",e,!0)
o.header={testId:e}}this.shouldSendTrackingEventToTscp&&(0,p.default)((0,c.getUrlWithProtocol)(a),{method:"GET",headers:this.globalHttpHeaders.getGlobalHeaders()})
this.shouldSendTrackingEventToTfe&&this.tracking.fireTrackingPayload("SponsoredLeadgenFormActionEvent",{controlUrn:(0,u.createControlUrn)(this.pageKey?this.pageKey:this.tracking.getCurrentPageKey(),n),sponsoredEventHeader:{actionType:t,activityType:"SPONSORED",adTrackingCode:this.leadTrackingCode,deviceType:"DESKTOP",feedPosition:this.args.updatePosition||-1,version:(0,d.get)(this.args,"sponsoredMetadata.version")}},o)}_getTscpTrackingUrl(e,t,n){if(!e)return null
let a=(0,c.addQueryParams)(e,{c:this.channelId,action:t,activityType:"sponsored"},!1)
n&&(a=(0,c.addQueryParam)(a,"control",n,!1))
return a}},y=(0,a.default)(b.prototype,"lix",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,a.default)(b.prototype,"tracking",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,a.default)(b.prototype,"globalHttpHeaders",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(b.prototype,"fireCustomTracking",[d.action],Object.getOwnPropertyDescriptor(b.prototype,"fireCustomTracking"),b.prototype),b)
e.default=v;(0,i.setComponentTemplate)(E,v)}))
define("feed-shared/components/learning-feed-video-container",["exports","@babel/runtime/helpers/esm/objectSpread2","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@ember/object","@ember/service","@glimmer/tracking","feed-shared/components/feed-video-container","video/utils/requests/video-play-metadata","video-utils/utils/video-helpers","data-layer/utils/global/get-setting","video-utils/utils/video-constants"],(function(e,t,n,a,o,i,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,y,T,_,E,C
const O=(0,s.createTemplateFactory)({id:"xU7rW1kZ",block:'[[[8,[39,0],[[16,0,[52,[30,0,["isLoadingNextMedia"]],"feed-shared-learning-video-container--is-loading-next-video"]]],[["@additionalPlugins","@isAutoPlayEnabled","@isLiked","@isPlayable","@updateTrackingId","@videoPlayMetadata","@onPlayerEnd","@onPlayerPlay","@withPoster"],[[30,0,["plugins"]],[30,1],[30,2],[30,3],[30,4,["model","trackingData","trackingId"]],[30,5,["videoPlayMetadata"]],[30,0,["handlePlayerEnd"]],[30,0,["handlePlayerPlay"]],[28,[37,2],[[30,0,["isVerticalVideo"]]],null]]],[["default"],[[[[1,"\\n"],[41,[30,0,["isLastVideo"]],[[[1,"    "],[8,[30,6,["end-screen"]],null,null,[["default"],[[[[1,"\\n      "],[8,[39,3],[[4,[38,4],["click",[30,0,["handlePlayerEndCardClick"]]],null]],[["@class","@href","@target"],["feed-shared-learning-video-container__endcard display-flex align-items-center",[30,5,["descriptionContainerNavigationContext","actionTarget"]],"_blank"]],[["default"],[[[[1,"\\n        "],[8,[39,5],null,[["@class","@image","@alt","@desiredWidth"],["feed-shared-learning-video-container__endcard-img",[30,0,["poster"]],[30,5,["title","accessibilityText"]],150]],null],[1,"\\n        "],[10,0],[14,0,"flex-grow-zero text-align-left ml4"],[12],[1,"\\n          "],[10,"h2"],[14,0,"t-14 t-bold t-white--light"],[12],[1,"\\n            "],[1,[28,[35,6],["i18n_watch_more_on_linkedin_learning","feed-shared/components/learning-feed-video-container"],null]],[1,"\\n          "],[13],[1,"\\n          "],[10,"h3"],[14,0,"t-16 t-bold t-white"],[12],[1,"\\n            "],[1,[30,5,["title","text"]]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n      "]],[]]]]],[1,"\\n    "]],[]]]]],[1,"\\n"]],[]],null]],[6]]]]]],["@canAutoPlayVideo","@isLiked","@isPlayable","@updateTrackingObj","@model","player"],false,["video@native-video-loader","if","not","ember-cli-pemberly-tracking@shared/external-link","on","ember-vector-images@custom-image","t"]]',moduleName:"feed-shared/components/learning-feed-video-container.hbs",isStrictMode:!1})
let v=(f=(0,d.inject)("lix"),b=(0,d.inject)("store"),y=class extends u.default{get isLastVideo(){return!(0,l.get)(this.args,"model.videoPlayMetadata.nextMedia")}get isVerticalVideo(){return.5625===(0,l.get)(this.args,"model.videoPlayMetadata.aspectRatio")}constructor(){super(...arguments);(0,n.default)(this,"lix",T,this);(0,n.default)(this,"store",_,this);(0,n.default)(this,"poster",E,this);(0,n.default)(this,"isLoadingNextMedia",C,this);(0,a.default)(this,"isAutoplaySettingEnabled",!1)
this.poster=(0,m.getVideoPosterUrl)((0,l.get)(this.args,"model.videoPlayMetadata"))
this.plugins=(0,t.default)((0,t.default)({},this.plugins),{},{posterBackground:!1,smoothMediaChange:!0})
this.setVideoAutoplaySetting()}handlePlayerEnd(){const e=(0,l.get)(this.args,"model.videoPlayMetadata.nextMedia")
this.isLoadingNextMedia=!1
if(e){this.isAutoplaySettingEnabled&&(this.isLoadingNextMedia=!0)
const t=this.lix.getTreatmentIsEnabled("voyager.web.learning-feed-video-container.next-video-dash-request")
let n
n=t?this.store.queryURL("voyagerLearningDashLearningVideoPlayMetadata",{recipe:"com.linkedin.voyager.dash.learning.DecoratedLearningVideoPlayMetadata",params:{q:"nextVideo",videoUrn:e}}):this.store.findRecord(...(0,p.default)(e))
n.then((e=>{if(this.isDestroying)return
let n=e
this.poster=null
t&&(n=(0,l.get)(e,"elements.firstObject.videoPlayMetadata"));(0,l.set)(this.args,"model.videoPlayMetadata",n)}))}}handlePlayerEndCardClick(){this.args.fireCustomTracking({actionCategory:"VIEW",actionType:"viewCourse",controlName:"video_endplate"})}handlePlayerPlay(){this.isLoadingNextMedia=!1}setVideoAutoplaySetting(){(0,h.getSetting)(this.store,"videoAutoPlay").then((e=>{this.isDestroying||(this.isAutoplaySettingEnabled=e===g.AUTOPLAY_SETTINGS.ALWAYS)}))}},T=(0,o.default)(y.prototype,"lix",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,o.default)(y.prototype,"store",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,o.default)(y.prototype,"poster",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,o.default)(y.prototype,"isLoadingNextMedia",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,o.default)(y.prototype,"handlePlayerEnd",[l.action],Object.getOwnPropertyDescriptor(y.prototype,"handlePlayerEnd"),y.prototype),(0,o.default)(y.prototype,"handlePlayerEndCardClick",[l.action],Object.getOwnPropertyDescriptor(y.prototype,"handlePlayerEndCardClick"),y.prototype),(0,o.default)(y.prototype,"handlePlayerPlay",[l.action],Object.getOwnPropertyDescriptor(y.prototype,"handlePlayerPlay"),y.prototype),y)
e.default=v;(0,r.setComponentTemplate)(O,v)}))
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.alias("ember-media-player/components/media-player/big-play-button","feed-shared/components/media-player/big-play-button")
define.alias("ember-media-player/components/media-player/caption","feed-shared/components/media-player/caption")
define.alias("ember-media-player/components/media-player/control/back-to-start","feed-shared/components/media-player/control/back-to-start")
define.alias("ember-media-player/components/media-player/control/captions-menu","feed-shared/components/media-player/control/captions-menu")
define.alias("ember-media-player/components/media-player/control/custom","feed-shared/components/media-player/control/custom")
define.alias("ember-media-player/components/media-player/control/fullscreen","feed-shared/components/media-player/control/fullscreen")
define.alias("ember-media-player/components/media-player/control/next","feed-shared/components/media-player/control/next")
define.alias("ember-media-player/components/media-player/control/playback-rate","feed-shared/components/media-player/control/playback-rate")
define.alias("ember-media-player/components/media-player/control/previous","feed-shared/components/media-player/control/previous")
define.alias("ember-media-player/components/media-player/control/settings","feed-shared/components/media-player/control/settings")
define.alias("ember-media-player/components/media-player/control/settings/auto-advance","feed-shared/components/media-player/control/settings/auto-advance")
define.alias("ember-media-player/components/media-player/control/settings/autoplay","feed-shared/components/media-player/control/settings/autoplay")
define.alias("ember-media-player/components/media-player/control/settings/quality","feed-shared/components/media-player/control/settings/quality")
define.alias("ember-media-player/components/media-player/control/skipahead","feed-shared/components/media-player/control/skipahead")
define.alias("ember-media-player/components/media-player/control/skipback","feed-shared/components/media-player/control/skipback")
define.alias("ember-media-player/components/media-player/control/theater-mode","feed-shared/components/media-player/control/theater-mode")
define.alias("ember-media-player/components/media-player/end-screen","feed-shared/components/media-player/end-screen")
define.alias("ember-media-player/components/media-player/error-screen","feed-shared/components/media-player/error-screen")
define("feed-shared/components/modals/decision-modal",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@ember/service","@ember/object","@glimmer/component"],(function(e,t,n,a,o,i,r,s,l,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var c,u,p
const m=(0,r.createTemplateFactory)({id:"EILPLxdY",block:'[[[11,0],[17,1],[4,[38,0],[[30,0,["handleTracking"]]],null],[12],[1,"\\n  "],[8,[39,1],null,[["@size","@isOpen","@dismissModal","@modalClasses"],[[52,[30,2,["modalSize"]],[30,2,["modalSize"]],"small"],[30,3],[30,0,["dismissModal"]],"feed-shared-decision-modal"]],[["default"],[[[[1,"\\n    "],[8,[30,4,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,2,["illustrationCSS"]],[[[1,"        "],[10,0],[15,0,[29,[[30,2,["illustrationCSS"]]]]],[12],[13],[1,"\\n"]],[]],null],[1,"      "],[10,"h2"],[14,1,"decision-modal-header"],[14,0,"feed-shared-decision-modal__header t-18 t-black t-bold mt1 ph2"],[12],[1,"\\n        "],[1,[30,2,["modalTitle"]]],[1,"\\n      "],[13],[1,"\\n    "]],[]]]]],[1,"\\n    "],[8,[30,4,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,2,["isLoading"]],[[[1,"        "],[8,[39,3],null,[["@size","@allyText"],["small",[28,[37,4],["i18n_accessibility_loading_text","feed-shared/components/modals/decision-modal"],null]]],null],[1,"\\n"]],[]],null],[1,"\\n      "],[10,2],[14,0,"feed-shared-decision-modal__description t-14 t-black--light t-normal"],[12],[1,"\\n        "],[1,[30,2,["modalDescription"]]],[1,"\\n      "],[13],[1,"\\n    "]],[]]]]],[1,"\\n    "],[8,[30,4,["artdeco-modal-footer"]],null,null,[["default"],[[[[1,"\\n      "],[10,0],[15,0,[28,[37,5],["feed-shared-decision-modal__buttons-container display-flex justify-flex-end ",[30,2,["buttonsContainerCSS"]]],null]],[12],[1,"\\n"],[41,[30,2,["learnMoreLink"]],[[[1,"          "],[11,3],[16,6,[30,2,["learnMoreLink"]]],[16,0,[29,["feed-shared-decision-modal__button-with-border-right artdeco-button artdeco-button--tertiary artdeco-button--2 link-without-hover-visited mrA\\n              ",[30,2,["learnMoreCSS"]]]]],[24,"target","_blank"],[24,"rel","noopener noreferrer"],[4,[38,6],[[30,0,["learnMoreControlName"]]],null],[12],[1,"\\n            "],[1,[28,[35,4],["learn_more","feed-shared/components/modals/decision-modal"],null]],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["cancelKeyText"]],[[[1,"          "],[11,"button"],[24,0,"feed-shared-decision-modal__cancel-button artdeco-button artdeco-button--2 artdeco-button--secondary artdeco-button--muted mr1"],[24,4,"button"],[4,[38,7],["click",[30,0,["cancel"]]],null],[4,[38,6],[[30,0,["cancelControlName"]]],null],[12],[1,"\\n            "],[1,[30,2,["cancelKeyText"]]],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["confirmKeyText"]],[[[1,"          "],[11,"button"],[16,0,[29,["feed-shared-decision-modal__confirm-button artdeco-button artdeco-button--primary artdeco-button--2\\n              ",[30,2,["confirmCSS"]]]]],[24,4,"button"],[4,[38,7],["click",[30,0,["confirm"]]],null],[4,[38,6],[[30,0,["confirmControlName"]]],null],[12],[1,"\\n            "],[1,[30,2,["confirmKeyText"]]],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n    "]],[]]]]],[1,"\\n  "]],[4]]]]],[1,"\\n"],[13]],["&attrs","@modalContext","@isModalOpen","modal"],false,["did-insert","artdeco-modal@artdeco-modal","if","artdeco-loader@artdeco-loader","t","concat","ember-cli-pemberly-tracking@track-interaction","on"]]',moduleName:"feed-shared/components/modals/decision-modal.hbs",isStrictMode:!1})
let h=(c=(0,s.inject)("tracking"),u=class extends d.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",p,this)}get confirmControlName(){const e=(0,l.get)(this.args,"modalContext.confirmTrackingKey")
return this.trackingPrefix?`${this.trackingPrefix}${e}`:e}get cancelControlName(){const e=(0,l.get)(this.args,"modalContext.cancelTrackingKey")
return this.trackingPrefix?`${this.trackingPrefix}${e}`:e}get learnMoreControlName(){const e=(0,l.get)(this.args,"modalContext.learnMoreTrackingKey")
return this.trackingPrefix?`${this.trackingPrefix}${e}`:e}get trackingPrefix(){return(0,l.get)(this.args,"modalContext.trackingPrefix")}dismissModal(){var e
null===(e=this.args)||void 0===e||e.closeDecisionModal()}handleTracking(){this.tracking.firePageViewEvent((0,l.get)(this.args,"modalContext.pageTrackingKey"))}confirm(){var e,t
const n=(0,l.get)(this.args,"modalContext.confirmAction")
if(n)n()
else{var a,o
null===(a=(o=this.args).confirmAction)||void 0===a||a.call(o)}null===(e=(t=this.args).closeDecisionModal)||void 0===e||e.call(t)}cancel(){var e,t
const n=(0,l.get)(this.args,"modalContext.cancelAction")
if(n)n()
else{var a,o
null===(a=(o=this.args).cancelAction)||void 0===a||a.call(o)}null===(e=(t=this.args).closeDecisionModal)||void 0===e||e.call(t)}},p=(0,a.default)(u.prototype,"tracking",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(u.prototype,"dismissModal",[l.action],Object.getOwnPropertyDescriptor(u.prototype,"dismissModal"),u.prototype),(0,a.default)(u.prototype,"handleTracking",[l.action],Object.getOwnPropertyDescriptor(u.prototype,"handleTracking"),u.prototype),(0,a.default)(u.prototype,"confirm",[l.action],Object.getOwnPropertyDescriptor(u.prototype,"confirm"),u.prototype),(0,a.default)(u.prototype,"cancel",[l.action],Object.getOwnPropertyDescriptor(u.prototype,"cancel"),u.prototype),u)
e.default=h;(0,i.setComponentTemplate)(m,h)}))
define("feed-shared/components/modals/disinterest-modal",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/object","@glimmer/tracking","@ember/debug","feed-requests/update-actions"],(function(e,t,n,a,o,i,r,s,l,d,c,u,p){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var m,h,g,f,b,y,T
const _=(0,r.createTemplateFactory)({id:"XvqRQfhm",block:'[[[8,[39,0],[[4,[38,1],[[30,0,["onComponentInsert"]]],null]],[["@isOpen","@size","@dismissModal"],[[30,1],"medium",[30,0,["onDismiss"]]]],[["default"],[[[[1,"\\n  "],[8,[30,2,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n    "],[10,"h1"],[14,1,"feed-shared-disinterest-modal-header"],[12],[1,"\\n      "],[1,[28,[35,2],["i18n_title","feed-shared/components/modals/disinterest-modal"],null]],[1,"\\n    "],[13],[1,"\\n  "]],[]]]]],[1,"\\n\\n  "],[8,[30,2,["artdeco-modal-content"]],null,[["@classNames"],["pt0 relative"]],[["default"],[[[[1,"\\n    "],[10,"h2"],[14,0,"t-16 t-bold t-black mt4"],[12],[1,"\\n      "],[1,[28,[35,3],[[30,3,["title"]]],null]],[1,"\\n    "],[13],[1,"\\n\\n"],[41,[30,3,["subtitle"]],[[[1,"      "],[10,1],[14,0,"t-12 t-black block mt2"],[12],[1,"\\n        "],[1,[28,[35,3],[[30,3,["subtitle"]]],null]],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"\\n    "],[10,"fieldset"],[14,0,"mt5 mb7"],[12],[1,"\\n"],[42,[28,[37,6],[[28,[37,6],[[30,3,["feedbackOption"]]],null]],null],null,[[[1,"        "],[11,"input"],[16,1,[29,["feedback-option-",[30,5]]]],[24,3,"feedback-option"],[16,2,[30,5]],[24,4,"radio"],[4,[38,7],["change",[30,0,["onOptionSelect"]]],null],[4,[38,8],["feedback_select_option"],null],[12],[13],[1,"\\n        "],[10,"label"],[15,"for",[29,["feedback-option-",[30,5]]]],[14,0,"t-14 t-black t-normal mt4"],[12],[1,"\\n          "],[1,[28,[35,3],[[30,4,["text"]]],null]],[1,"\\n        "],[13],[1,"\\n\\n"],[41,[30,4,["supplementaryInfo"]],[[[41,[28,[37,9],[[30,0,["selectedOptionIndex"]],[30,5]],null],[[[1,"            "],[10,0],[14,0,"feed-shared-disinterest-modal__option-supplementary-info ml6 mt2 p3 t-14 t-black--light"],[12],[1,"\\n              "],[8,[39,10],null,[["@model","@openLinksExternally","@textAttributeControlNames","@textDirection","@updateTrackingObj"],[[28,[37,11],[[30,4,["supplementaryInfo"]]],null],true,[28,[37,12],null,[["hyperlink"],["learn_more_link"]]],[28,[37,13],[[30,4,["supplementaryInfo","text"]]],null],[30,6]]],null],[1,"\\n            "],[13],[1,"\\n"]],[]],null]],[]],null]],[4,5]],null],[1,"    "],[13],[1,"\\n\\n"],[41,[28,[37,14],[[30,3,["reportOfframpText"]],[30,7]],null],[[[1,"      "],[10,1],[14,0,"t-14 t-black mt1 block"],[12],[1,"\\n        "],[1,[28,[35,3],[[30,3,["reportOfframpText"]]],null]],[1,"\\n      "],[13],[1,"\\n\\n      "],[8,[39,15],[[24,0,"pl0 mt1"],[4,[38,8],["feedback_report_post"],null]],[["@click","@size","@text","@type"],[[30,0,["onReport"]],2,[30,3,["reportCtaText","text"]],"tertiary"]],null],[1,"\\n"]],[]],null],[1,"  "]],[]]]]],[1,"\\n\\n  "],[8,[30,2,["artdeco-modal-footer"]],null,[["@classNames"],["display-flex justify-flex-end"]],[["default"],[[[[1,"\\n"],[41,[30,0,["isSubmitting"]],[[[1,"      "],[8,[39,16],[[24,0,"mr2"]],[["@size"],["xsmall"]],null],[1,"\\n"]],[]],null],[1,"    "],[8,[39,15],[[4,[38,8],["feedback_submit_option"],null]],[["@click","@text","@type","@disabled"],[[30,0,["onSubmit"]],[28,[37,2],["i18n_submit","feed-shared/components/modals/disinterest-modal"],null],"primary",[30,0,["isSubmitDisabled"]]]],null],[1,"\\n  "]],[]]]]],[1,"\\n"]],[2]]]]]],["@isOpen","modal","@model","feedbackOption","idx","@updateTrackingObj","@shouldShowReportOfframp"],false,["artdeco-modal@artdeco-modal","did-insert","t","text-view-model@text-view-model","if","each","-track-array","on","ember-cli-pemberly-tracking@track-interaction","global-helpers@eq","update-components@text","feed-shared@render-models/convert-tvm-to-text-comp","hash","ember-cli-pemberly-i18n@bidi-dir","global-helpers@and","artdeco-button@artdeco-button","artdeco-loader@artdeco-loader"]]',moduleName:"feed-shared/components/modals/disinterest-modal.hbs",isStrictMode:!1})
let E=(m=(0,l.inject)("store"),h=(0,l.inject)("tracking"),g=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"store",f,this);(0,t.default)(this,"tracking",b,this);(0,t.default)(this,"selectedOptionIndex",y,this);(0,t.default)(this,"isSubmitting",T,this)}get isSubmitDisabled(){return void 0===this.selectedOptionIndex||this.isSubmitting}onComponentInsert(){this.tracking.firePageViewEvent("flagship3_feed_feedback")}onDismiss(){var e,t
this.tracking.fireInteractionEvent("feedback_dismiss")
this.tracking.firePageViewEvent("flagship3_feed")
null===(e=(t=this.args).onDismissModal)||void 0===e||e.call(t)}onSubmit(){const{targetUrn:e,model:t,updateTrackingObj:n}=this.args,a=(t&&(0,d.get)(t,"feedbackOption")||[]).objectAt(this.selectedOptionIndex),{trackingActionType:o,confirmationAction:i,associatedSettingType:r}=(0,d.getProperties)(a,"trackingActionType","confirmationAction","associatedSettingType"),[s,l]=(0,p.updateActionRequestV2)(e,"feedback"),c=r?{data:{associatedSettingType:r}}:void 0
if(!this.isSubmitDisabled){(0,d.set)(this,"isSubmitting",!0)
this.store.adapterFor("-ember-m3").ajax(s,l,c).then((()=>{var e,t
null===(e=(t=this.args).onDisinterestSuccess)||void 0===e||e.call(t,i)})).catch((e=>{var t,n
null===(t=(n=this.args).onDisinterestError)||void 0===t||t.call(n)
throw e})).finally((()=>{(0,d.set)(this,"isSubmitting",!1)}))
o&&n&&n.fireFeedActionAndSponsoredTrackingEvents({actionCategory:"SHARE_FEEDBACK",actionType:o,controlName:"feedback_submit_option"})}}onReport(){var e,t
null===(e=(t=this.args).onReportClick)||void 0===e||e.call(t)}onOptionSelect(e){var t
const n=null==e||null===(t=e.currentTarget)||void 0===t?void 0:t.value
n&&(this.selectedOptionIndex=parseInt(n,10))}},f=(0,a.default)(g.prototype,"store",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,a.default)(g.prototype,"tracking",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,a.default)(g.prototype,"selectedOptionIndex",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){}}),T=(0,a.default)(g.prototype,"isSubmitting",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,a.default)(g.prototype,"onComponentInsert",[d.action],Object.getOwnPropertyDescriptor(g.prototype,"onComponentInsert"),g.prototype),(0,a.default)(g.prototype,"onDismiss",[d.action],Object.getOwnPropertyDescriptor(g.prototype,"onDismiss"),g.prototype),(0,a.default)(g.prototype,"onSubmit",[d.action],Object.getOwnPropertyDescriptor(g.prototype,"onSubmit"),g.prototype),(0,a.default)(g.prototype,"onReport",[d.action],Object.getOwnPropertyDescriptor(g.prototype,"onReport"),g.prototype),(0,a.default)(g.prototype,"onOptionSelect",[d.action],Object.getOwnPropertyDescriptor(g.prototype,"onOptionSelect"),g.prototype),g)
e.default=E;(0,i.setComponentTemplate)(_,E)}))
define("feed-shared/components/modals/embed-modal",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@ember/service","@glimmer/component","global-utils/utils/is-browser","feed-shared/utils/constants","global-utils/utils/url","@ember/object","@glimmer/tracking","global-utils/utils/keyboard-utils","ember"],(function(e,t,n,a,o,i,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,y,T,_,E,C,O,v,k,S,A,P,N,I,w,D,M,U
const R=(0,r.createTemplateFactory)({id:"XECFJKRr",block:'[[[8,[39,0],[[17,1]],[["@isOpen","@modalClasses","@dismissModal","@size","@returnFocusTo"],[[30,2],"feed-shared-embed-modal feed-fe-modal",[30,0,["onCloseModalClick"]],"medium",[30,3]]],[["default"],[[[[1,"\\n  "],[8,[30,4,["artdeco-modal-header"]],null,[["@classNames"],["feed-shared-embed-modal__header feed-fe-modal__header"]],[["default"],[[[[1,"\\n    "],[10,"h2"],[14,1,"embed-modal-label"],[14,0,"feed-fe-modal__header-label t-20 t-black--light t-normal"],[12],[1,"\\n      "],[1,[28,[35,1],["embed_modal_title","feed-shared/components/modals/embed-modal"],null]],[1,"\\n    "],[13],[1,"\\n  "]],[]]]]],[1,"\\n  "],[8,[30,4,["artdeco-modal-content"]],[[4,[38,2],null,[["iframeSrc","setIframeLoadedData","useLiveEmbedRoute","includeFullPost"],[[30,0,["iframeSrc"]],[30,0,["setIframeLoadedData"]],[30,5],[30,0,["includeFullPost"]]]]],[4,[38,3],null,[["pageKey","routeName","currentRoute"],["flagship3_embed_create",[28,[37,4],[[53,"outletState"],"render.name"],null],[28,[37,4],[[53,"outletState"],"render"],null]]]]],[["@classNames"],["feed-shared-embed-modal__content feed-fe-modal__content"]],[["default"],[[[[1,"\\n"],[41,[30,0,["hasIframeLoaded"]],[[[1,"      "],[10,"label"],[14,"for","feed-shared-embed-modal__embed-code-textarea"],[14,0,"t-14 t-black--light t-normal mt0"],[12],[1,"\\n        "],[1,[28,[35,1],["copy_and_paste_embed","feed-shared/components/modals/embed-modal"],null]],[1,"\\n      "],[13],[1,"\\n\\n      "],[8,[39,7],[[16,"autofocus",true],[24,0,"feed-shared-embed-modal__embed-code"],[24,1,"feed-shared-embed-modal__embed-code-textarea"],[16,"readonly",true],[16,"spellcheck",false],[16,"title",[28,[37,1],["embed_code","feed-shared/components/modals/embed-modal"],null]],[4,[38,8],["keyup",[30,0,["handleA11yButtonKeydown"]]],null]],[["@value"],[[30,0,["embedCode"]]]],null],[1,"\\n\\n      "],[10,0],[14,0,"feed-shared-embed-modal__actions"],[12],[1,"\\n"],[41,[30,0,["showToggleFullPost"]],[[[1,"          "],[11,"input"],[16,"checked",[30,0,["includeFullPost"]]],[16,"onchange",[30,0,["toggleIncludeFullPost"]]],[24,1,"embed-include-full-post"],[24,4,"checkbox"],[4,[38,8],["keyup",[30,0,["handleA11yButtonKeydown"]]],null],[4,[38,9],["include_original"],null],[12],[13],[1,"\\n\\n          "],[10,"label"],[14,"for","embed-include-full-post"],[14,0,"feed-shared-embed-modal__label t-14 t-black--light t-normal"],[12],[1,"\\n            "],[1,[28,[35,1],["include_full_post","feed-shared/components/modals/embed-modal"],null]],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"\\n        "],[8,[39,10],[[16,"aria-label",[28,[37,1],["copy_code_a11y","feed-shared/components/modals/embed-modal"],null]],[24,0,"mlA"],[4,[38,9],["embed_post"],null],[4,[38,8],["keyup",[30,0,["handleA11yButtonKeydown"]]],null]],[["@controlType","@size","@click","@text"],["button",1,[30,0,["copyEmbedCode"]],[28,[37,1],["copy_code","feed-shared/components/modals/embed-modal"],null]]],null],[1,"\\n\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"mt4"],[12],[1,"\\n        "],[10,2],[14,0,"t-12 t-black--light t-normal"],[12],[1,"\\n          "],[1,[28,[35,1],["by_clicking_copy_terms","feed-shared/components/modals/embed-modal"],[["termsUrl"],[[28,[37,11],null,[["target","href","class"],["_blank",[30,0,["legalTermsUrl"]],"feed-shared-embed-modal__terms-url"]]]]]]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,"hr"],[14,0,"feed-shared-embed-modal__divider divider"],[12],[13],[1,"\\n\\n      "],[10,"h3"],[14,0,"t-14 t-black--light t-normal"],[12],[1,"\\n        "],[1,[28,[35,1],["preview","feed-shared/components/modals/embed-modal"],null]],[1,"\\n      "],[13],[1,"\\n"]],[]],[[[1,"      "],[8,[39,12],null,[["@size"],["small"]],null],[1,"\\n"]],[]]],[1,"\\n    "],[10,"iframe"],[15,0,[29,["feed-shared-embed-modal__iframe\\n        ",[52,[51,[30,0,["hasIframeLoaded"]]],"feed-shared-embed-modal__iframe--loading"]]]],[15,"height",[30,0,["iframeHeight"]]],[15,"width",[30,0,["iframeWidth"]]],[14,"tabindex","0"],[15,"title",[28,[37,1],["i18n_embed_iframe","feed-shared/components/modals/embed-modal"],null]],[12],[1,"\\n    "],[13],[1,"\\n\\n"],[1,"    "],[8,[39,10],[[16,0,[28,[37,14],["mt1",[52,[51,[30,0,["isNavigatingViaKeyboard"]]]," visually-hidden"]],null]],[16,"aria-label",[28,[37,1],["i18n_close_modal_a11y","feed-shared/components/modals/embed-modal"],null]],[4,[38,8],["keyup",[30,0,["handleA11yButtonKeydown"]]],null],[4,[38,8],["click",[30,0,["onCloseModalClick"]]],null]],[["@text","@size","@stretch"],[[28,[37,1],["i18n_close_modal_a11y","feed-shared/components/modals/embed-modal"],null],1,"full"]],null],[1,"\\n  "]],[]]]]],[1,"\\n"]],[4]]]]]],["&attrs","@isOpen","@returnFocusTo","modal","@useLiveEmbedRoute"],false,["artdeco-modal@artdeco-modal","t","feed-shared@manage-embed-modal-iframe","ember-cli-pemberly-tracking@track-render","get","-get-dynamic-var","if","feed-shared@embed-code-textarea","on","ember-cli-pemberly-tracking@track-interaction","artdeco-button@artdeco-button","hash","artdeco-loader@artdeco-loader","unless","concat"]]',moduleName:"feed-shared/components/modals/embed-modal.hbs",isStrictMode:!1}),L=`${(0,u.getDomainUrl)()}/embed/feed/update/`,x=`${(0,u.getDomainUrl)()}/video/embed/live`
let j=(f=(0,s.inject)("global-services@clipboard"),b=(0,s.inject)("feed-tracking@feed-action-event"),y=(0,s.inject)("i18n"),T=(0,s.inject)("lix"),_=(0,s.inject)("persistent-toast-manager@persistent-toast-manager"),E=(0,s.inject)("tracking"),C=(0,s.inject)("global-services@a11y-notification"),O=class extends l.default{get iframeSrc(){const e=(0,p.get)(this.args.model,"targetUrn")
if(this.args.useLiveEmbedRoute)return`${x}/${e}`
const t=this.includeFullPost?"":"?compact=1"
return`${L}${e}${t}`}get embedCode(){if(d.default){const e=document.createElement("iframe")
e.src=jSecure.sanitizeUrl(this.iframeSrc)
e.height=this.iframeHeight
e.width=this.iframeWidth
e.frameBorder=0
e.allowFullscreen=!0
e.title=this.i18n.lookupTranslation("components/feed-shared@modals/embed-modal","embed_post_title")()
return e.outerHTML}return""}get hasIframeLoaded(){return g.default.testing?this.args._has_Iframe_Loaded_For_Testing:this._hasIframeLoaded}get showToggleFullPost(){return!this.args.useLiveEmbedRoute&&(this._isNativeVideo||this._isNativeDocument)}get _isNativeVideo(){return this.args.hasLinkedInVideo||(0,p.get)(this.args.model,"value.content.shareType")===c.ContentTypes.NATIVE_VIDEO}get _isNativeDocument(){return this.args.hasDocument}constructor(){super(...arguments);(0,t.default)(this,"clipboard",v,this);(0,t.default)(this,"feedActionEvent",k,this);(0,t.default)(this,"i18n",S,this);(0,t.default)(this,"lix",A,this);(0,t.default)(this,"persistentToastManager",P,this);(0,t.default)(this,"tracking",N,this);(0,t.default)(this,"a11yNotification",I,this);(0,n.default)(this,"iframeWidth",504);(0,n.default)(this,"legalTermsUrl",`https://developer.${(0,u.getDomainWithoutWWW)()}/legal/embed-terms-of-use`);(0,t.default)(this,"isNavigatingViaKeyboard",w,this);(0,t.default)(this,"_hasIframeLoaded",D,this);(0,t.default)(this,"includeFullPost",M,this);(0,t.default)(this,"iframeHeight",U,this)
this.args.useLiveEmbedRoute&&(this.includeFullPost=!1)}copyEmbedCode(){const{i18n:e}=this,{clipboard:t}=this,n=this.persistentToastManager,{updateTrackingObj:a}=this.args
a&&a.fireFeedActionAndSponsoredTrackingEvents({controlName:"embed_post",actionType:"embedPost",actionCategory:"EMBED"})
if(t.canCopyToClipboard){const a=document&&document.activeElement
t.copyToClipboard(this.embedCode)
a&&a.focus()
const o=e.lookupTranslation("components/feed-shared@modals/embed-modal","i18n_embed_code_copied")()
this.a11yNotification.setTextInLiveRegion(o)
n.success({message:o})}else{const t=e.lookupTranslation("components/feed-shared@modals/embed-modal","i18n_embed_code_copied_unsuccessful")()
this.a11yNotification.setTextInLiveRegion(t)
n.error({message:t})}}handleA11yButtonKeydown(e){(0,h.isTabKey)(e)&&(this.isNavigatingViaKeyboard=!0);(0,h.isEnterKey)(e)&&this.onCloseModalClick()}onCloseModalClick(){var e,t
null===(e=(t=this.args).onDismissModal)||void 0===e||e.call(t)
this.tracking.fireInteractionEvent("embed_modal_close")
this._hasIframeLoaded=!1}setIframeLoadedData(e){this.iframeHeight=e
this._hasIframeLoaded=!0}toggleIncludeFullPost(){this.includeFullPost=!this.includeFullPost
this._hasIframeLoaded=!1}},v=(0,a.default)(O.prototype,"clipboard",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,a.default)(O.prototype,"feedActionEvent",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,a.default)(O.prototype,"i18n",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,a.default)(O.prototype,"lix",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,a.default)(O.prototype,"persistentToastManager",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,a.default)(O.prototype,"tracking",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,a.default)(O.prototype,"a11yNotification",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,a.default)(O.prototype,"isNavigatingViaKeyboard",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),D=(0,a.default)(O.prototype,"_hasIframeLoaded",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),M=(0,a.default)(O.prototype,"includeFullPost",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),U=(0,a.default)(O.prototype,"iframeHeight",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(O.prototype,"copyEmbedCode",[p.action],Object.getOwnPropertyDescriptor(O.prototype,"copyEmbedCode"),O.prototype),(0,a.default)(O.prototype,"handleA11yButtonKeydown",[p.action],Object.getOwnPropertyDescriptor(O.prototype,"handleA11yButtonKeydown"),O.prototype),(0,a.default)(O.prototype,"onCloseModalClick",[p.action],Object.getOwnPropertyDescriptor(O.prototype,"onCloseModalClick"),O.prototype),(0,a.default)(O.prototype,"setIframeLoadedData",[p.action],Object.getOwnPropertyDescriptor(O.prototype,"setIframeLoadedData"),O.prototype),(0,a.default)(O.prototype,"toggleIncludeFullPost",[p.action],Object.getOwnPropertyDescriptor(O.prototype,"toggleIncludeFullPost"),O.prototype),O)
e.default=j;(0,i.setComponentTemplate)(R,j)}))
define("feed-shared/components/modals/service-request-details",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@ember/debug","@ember/object","@ember/service","@ember/utils","@glimmer/component","@glimmer/tracking"],(function(e,t,n,a,o,i,r,s,l,d,c,u,p){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var m,h,g,f
const b=(0,r.createTemplateFactory)({id:"29y2dxGa",block:'[[[8,[39,0],[[4,[38,1],null,[["pageKey","routeName","currentRoute"],["flagship3_marketplaces_chipotle_service_request_detail",[28,[37,2],[[53,"outletState"],"render.name"],null],[28,[37,2],[[53,"outletState"],"render"],null]]]]],[["@isOpen","@size","@dismissModal"],[[30,1],"medium",[30,2]]],[["default"],[[[[1,"\\n  "],[8,[30,3,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n    "],[10,"h1"],[14,1,"srd-modal-title"],[12],[1,"\\n"],[41,[30,4,["pageTitle"]],[[[1,"        "],[1,[30,4,["pageTitle"]]],[1,"\\n"]],[]],[[[1,"        "],[1,[28,[35,5],["i18n_service_request_details","feed-shared/components/modals/service-request-details"],null]],[1,"\\n"]],[]]],[1,"    "],[13],[1,"\\n  "]],[]]]]],[1,"\\n\\n  "],[8,[30,3,["artdeco-modal-content"]],null,[["@classNames"],["pt0 relative"]],[["default"],[[[[1,"\\n"],[41,[30,0,["isLoading"]],[[[1,"      "],[10,0],[14,0,"display-flex justify-center pt6 pb5"],[12],[1,"\\n        "],[8,[39,6],null,null,null],[1,"\\n      "],[13],[1,"\\n"]],[]],[[[41,[30,5],[[[1,"      "],[8,[39,7],null,[["@headline","@illustration","@message","@size","@actionText","@onButtonClick","@class"],[[28,[37,5],["i18n_service_request_details_error","feed-shared/components/modals/service-request-details"],null],"sad-browser",[52,[30,0,["allowRetryRequest"]],[28,[37,5],["i18n_service_request_details_try_again","feed-shared/components/modals/service-request-details"],null],[28,[37,5],["i18n_service_request_details_try_again_later","feed-shared/components/modals/service-request-details"],null]],1,[52,[30,0,["allowRetryRequest"]],[28,[37,5],["i18n_service_request_details_error_retry","feed-shared/components/modals/service-request-details"],null]],[30,0,["retryDetailsRequest"]],"pb4 full-width"]],null],[1,"\\n"]],[]],[[[41,[30,4,["pageImage"]],[[[1,"        "],[10,"figure"],[14,0,"feed-shared-service-request-details__image-container"],[12],[1,"\\n          "],[8,[39,8],null,[["@images","@imgClasses","@imgWidth"],[[30,4,["pageImage"]],"full-width full-height",130]],null],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,4,["marketplaceRequestDetailsSections"]],[[[1,"        "],[10,"dl"],[14,0,"feed-shared-service-request-details__list t-14 t-black"],[12],[1,"\\n"],[42,[28,[37,10],[[28,[37,10],[[30,4,["marketplaceRequestDetailsSections"]]],null]],null],null,[[[1,"            "],[10,"dt"],[14,0,"t-bold"],[12],[1,"\\n              "],[8,[39,11],null,[["@tvm"],[[30,6,["question"]]]],null],[1,"\\n            "],[13],[1,"\\n            "],[10,"dd"],[14,0,"feed-shared-service-request-details__answer"],[12],[1,"\\n              "],[8,[39,11],null,[["@tvm"],[[30,6,["answer"]]]],null],[1,"\\n            "],[13],[1,"\\n"]],[6]],null],[1,"        "],[13],[1,"\\n"]],[]],null],[1,"    "]],[]]]],[]]],[1,"  "]],[]]]]],[1,"\\n\\n"],[41,[30,4,["messageComposeOption","composeNavigationContext"]],[[[1,"    "],[8,[30,3,["artdeco-modal-footer"]],null,[["@classNames"],["display-flex justify-flex-end"]],[["default"],[[[[1,"\\n"],[1,"      "],[8,[39,12],null,[["@isGraphQLEnabled","@serviceRequestDetails","@marketplaceRequestUrn","@feedUpdateUrn","@closeServiceDetailsModal","@hoverableOutletId"],[[30,7],[30,4],[30,8],[30,9],[30,2],"service-request-details-hoverable-outlet"]],null],[1,"\\n    "]],[]]]]],[1,"\\n"]],[]],null],[1,"  "],[10,0],[14,1,"service-request-details-hoverable-outlet"],[12],[13],[1,"\\n"]],[3]]]]]],["@isOpen","@closeServiceDetailsModal","modal","@serviceRequestDetails","@showRequestError","marketplaceRequestDetailsSection","@isGraphQLEnabled","@marketplaceRequestUrn","@feedUpdateUrn"],false,["artdeco-modal@artdeco-modal","ember-cli-pemberly-tracking@track-render","get","-get-dynamic-var","if","t","artdeco-loader@artdeco-loader","artdeco-empty-state@artdeco-empty-state","image-view-model@image-view-model","each","-track-array","text-view-model@text-view-model-v2","feed-shared@buttons/service-request-details-message-button"]]',moduleName:"feed-shared/components/modals/service-request-details.hbs",isStrictMode:!1})
let y=(m=(0,d.inject)("tracking"),h=class extends u.default{get isLoading(){return(0,c.isEmpty)(this.args.serviceRequestDetails)&&!this.args.showRequestError}constructor(){super(...arguments);(0,t.default)(this,"tracking",g,this);(0,t.default)(this,"allowRetryRequest",f,this)}retryDetailsRequest(){var e,t
this.allowRetryRequest=!1
null===(e=(t=this.args).retryServiceRequestDetailsRequest)||void 0===e||e.call(t)}},g=(0,a.default)(h.prototype,"tracking",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,a.default)(h.prototype,"allowRetryRequest",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),(0,a.default)(h.prototype,"retryDetailsRequest",[l.action],Object.getOwnPropertyDescriptor(h.prototype,"retryDetailsRequest"),h.prototype),h)
e.default=y;(0,i.setComponentTemplate)(b,y)}))
define.alias("ember-cloud-filepicker/components/onedrive-file-picker","feed-shared/components/onedrive-file-picker")
define("feed-shared/components/photo-tag",["exports","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/component","@ember/template-factory","@glimmer/component","@ember/object"],(function(e,t,n,a,o,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var r
const s=(0,a.createTemplateFactory)({id:"EmeDnGkl",block:'[[[11,0],[24,0,"feed-shared-photo-tag"],[16,5,[30,1]],[17,2],[12],[1,"\\n  "],[10,0],[14,0,"feed-shared-photo-tag__content"],[12],[1,"\\n    "],[8,[39,0],[[24,0,"feed-shared-photo-tag__link t-12 t-white t-normal link-without-visited"],[16,"data-entity-hovercard-id",[30,3,["urn"]]],[4,[38,1],["tagging_nametag"],null]],[["@href","@invokeAction"],[[30,3,["url"]],[30,0,["onTagAction"]]]],[["default"],[[[[1,"\\n      "],[1,[30,3,["text"]]],[1,"\\n    "]],[]]]]],[1,"\\n\\n"],[41,[30,3,["untaggable"]],[[[1,"      "],[11,"button"],[24,0,"feed-shared-photo-tag__untag-cta"],[24,4,"button"],[4,[38,3],["click",[30,0,["onUntagAction"]]],null],[4,[38,1],["tagging_delete_tag"],null],[12],[1,"\\n        "],[1,[28,[35,4],null,[["type","size","a11y-text"],["cancel-icon","small",[28,[37,5],["remove_tag","feed-shared/components/photo-tag"],null]]]]],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"],[13]],["@style","&attrs","@tag"],false,["app-aware-link@app-aware-link","ember-cli-pemberly-tracking@track-interaction","if","on","artdeco-icons-web@li-icon","t"]]',moduleName:"feed-shared/components/photo-tag.hbs",isStrictMode:!1})
let l=(r=class extends o.default{onTagAction(e){var t,n
e.stopPropagation()
null===(t=(n=this.args).onTagClick)||void 0===t||t.call(n)}onUntagAction(e){var t,n
e.stopPropagation()
null===(t=(n=this.args).onUntagClick)||void 0===t||t.call(n,this.args.tag)}},(0,t.default)(r.prototype,"onTagAction",[i.action],Object.getOwnPropertyDescriptor(r.prototype,"onTagAction"),r.prototype),(0,t.default)(r.prototype,"onUntagAction",[i.action],Object.getOwnPropertyDescriptor(r.prototype,"onUntagAction"),r.prototype),r)
e.default=l;(0,n.setComponentTemplate)(s,l)}))
define("feed-shared/components/render-models/update-v2-octane",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@glimmer/component","@ember/debug","@ember/object","tracked-toolbox","@ember/service","@glimmer/tracking","@ember/utils","comments/utils/constants","ember","@ember/object/internals","ember-lifeline","feed-requests/update-actions","feed-requests/updates","feed-shared/helpers/render-model-path","feed-shared/utils/client-sensor-constants","feed-shared/utils/constants","feed-tracking/utils/update-tracking-obj","global-utils/utils/api-compat","global-utils/utils/is-browser","global-utils/utils/scroller","global-utils/utils/url","global-utils/utils/urn-converter","feed-utils/utils/authenticated-member-actor","rsvp","@ember/runloop"],(function(e,t,n,a,o,i,r,s,l,d,c,u,p,m,h,g,f,b,y,T,_,E,C,O,v,k,S,A,P,N,I,w){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var D,M,U,R,L,x,j,F,G,V,z,H,B,q,Y,W,K,Q,$,X,Z,J,ee,te,ne,ae,oe,ie,re,se,le,de,ce,ue,pe,me,he,ge,fe,be,ye,Te
const _e=(0,r.createTemplateFactory)({id:"7ZKq3G25",block:'[[[11,0],[16,0,[29,["feed-shared-update-v2 feed-shared-update-v2--minimal-padding full-height relative\\n    ",[52,[30,0,["update","isHighlighted"]],"feed-shared-update-v2--highlighted"],"\\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--wrapped"],"\\n    ",[52,[30,0,["hasElevation"]],"artdeco-card"],"\\n    ",[52,[30,0,["hasBottomPadding"]],"pb4"],"\\n    "]]],[16,1,[30,0,["elementId"]]],[16,"data-urn",[30,0,["updateMetadata","urn"]]],[17,2],[4,[38,1],[[30,0,["handleDidInsert"]]],null],[4,[38,2],[[30,0,["handleHiddenSponsoredUpdates"]]],null],[4,[38,3],null,[["onEnter","onExit","options"],[[52,[30,0,["didIntersectOptions","onEnter"]],[30,0,["didIntersectOptions","onEnter"]],[28,[37,4],null,null]],[52,[30,0,["didIntersectOptions","onExit"]],[30,0,["didIntersectOptions","onExit"]],[28,[37,4],null,null]],[30,0,["didIntersectOptions","options"]]]]],[4,[38,5],[[30,0,["onResizeWindow"]]],null],[4,[38,6],null,[["registerOnImpression","thresholdMillisecondsInViewport","thresholdPercentageInViewport","routeName","currentRoute"],[[30,0,["onTrackImpression"]],0,50,[28,[37,7],[[53,"outletState"],"render.name"],null],[28,[37,7],[[53,"outletState"],"render"],null]]]],[4,[38,9],null,[["rumComponentId","elementId"],[[30,0,["rumComponentId"]],[30,0,["elementId"]]]]],[12],[1,"\\n  "],[10,0],[15,0,[30,3]],[12],[1,"\\n"],[1,"    "],[10,0],[14,"role","status"],[12],[1,"\\n"],[41,[30,0,["update","isHidden"]],[[[1,"        "],[8,[39,10],null,[["@hideOrUnhideUpdateOnAction","@isCenteredLayout","@update","@updateTrackingObj"],[[30,0,["hideOrUnhideUpdateOnAction"]],[30,4],[30,0,["update"]],[30,0,["updateTrackingObj"]]]],null],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n"],[41,[51,[30,0,["update","isHidden"]]],[[[1,"      "],[18,28,[[28,[37,13],null,[["controlMenu","header","contextualHeader","detailHeader","actor","contextualDescriptionV2","shareEdit","inlineShowMoreText","interstitial","commentary","commentaryContainer","content","carouselContent","footer","resharedUpdate","aggregatedContent","inlineFeedback","updateV2SocialActivity","leadGenModal","leadGenCTA","leadGenThankYou"],[[50,"update-components@control-menu",0,null,[["actor","class","hasDocument","hasLinkedInVideo","hideOrUnhideUpdateOnAction","menuActions","onEdit","onToggleCommenting","reloadUpdate","removeUpdate","update","updateCommentRestrictionSetting","updateMetadata","updateTrackingObj"],[[30,0,["update","actor"]],"feed-shared-update-v2__control-menu absolute text-align-right",[30,0,["hasDocument"]],[30,0,["hasLinkedInVideo"]],[30,0,["hideOrUnhideUpdateOnAction"]],[30,0,["updateMetadata","actions"]],[28,[37,15],[[28,[37,16],[[30,5]],null],true],null],[30,0,["onToggleCommenting"]],[30,0,["reloadUpdate"]],[30,6],[30,0,["update"]],[30,0,["updateCommentRestrictionSetting"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]],[52,[30,0,["update","header"]],[50,"update-components@header",0,null,[["class","model","openLinksExternally","updateMetadata","updateTrackingObj"],[[52,[30,7],[30,7],[28,[37,17],["t-12 t-black--light t-normal ",[30,0,["headerPaddingClass"]]],null]],[30,0,["update","header"]],[30,0,["openLinksExternally"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","contextualHeader"]],[50,"update-components@contextual-header",0,null,[["model","updateTrackingObj"],[[30,0,["update","contextualHeader"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","detailHeader"]],[50,"update-components@header",0,null,[["class","model","openLinksExternally","testSelector","updateMetadata","updateTrackingObj"],[[52,[30,8],[30,8],[28,[37,17],["t-12 t-black--light t-normal ",[30,0,["detailHeaderPaddingClass"]]],null]],[30,0,["update","detailHeader"]],[30,0,["openLinksExternally"]],"data-test-feed-shared-detail-header",[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","actor"]],[50,"update-components@actor",0,null,[["class","model","onTriggerUpdateAttachment","openLinksExternally","updateMetadata","updateTrackingObj"],[[52,[30,9],"hidden"],[30,0,["update","actor"]],[30,10],[30,0,["openLinksExternally"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","contextualDescriptionV2"]],[50,"update-components@contextual-description-v2",0,null,[["containsActorComponent","model","openLinksExternally","updateMetadata","updateTrackingObj"],[[28,[37,18],[[30,0,["update","actor"]]],null],[30,0,["update","contextualDescriptionV2"]],[30,0,["openLinksExternally"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[50,"sharing-entry@share-box-modal",0,null,[["actorsOverride","groupId","isShareboxModalOpen","onCloseShareboxModal","onEditShareSuccess","shareUrn","updateV2","returnFocusTo"],[[30,0,["actorsOverride"]],[30,0,["groupId"]],[30,9],[28,[37,15],[[28,[37,16],[[30,5]],null],false],null],[30,0,["onEditShareSuccess"]],[30,0,["updateMetadata","shareUrn"]],[30,0,["update"]],[28,[37,19],[[30,11],[28,[37,17],["#",[30,0,["elementId"]]," .feed-shared-update-v2__control-menu button"],null]],null]]]],[50,"feed-shared@inline-show-more-text",0,null,[["class","numLinesBeforeTruncation","trackingOverrides","updateTrackingObj"],["feed-shared-inline-show-more-text--minimal-padding",[30,0,["commentaryNumLines"]],[30,0,["commentaryInlineSeeMoreTrackingOverrides"]],[30,0,["updateTrackingObj"]]]]],[50,"feed-shared@interstitial-container",0,null,[["model","coverage","size","updateTrackingObj","entityUrn"],[[30,0,["update","interstitial","interstitial"]],[30,0,["update","interstitial","coverageType"]],[30,0,["update","interstitial","templateType"]],[30,0,["updateTrackingObj"]],[30,0,["updateMetadata","urn"]]]]],[52,[30,0,["normalizedCommentary"]],[50,"update-components@text",0,null,[["class","testSelector","ignoreNavigationContext","model","openLinksExternally","textAttributeControlNames","textDirection","updateMetadata","updateTrackingObj"],["feed-shared-update-v2__commentary","data-test-feed-shared-commentary",true,[30,0,["normalizedCommentary"]],[30,0,["openLinksExternally"]],[28,[37,20],null,[["companyMention","email","hashtag","hyperlink","profileMention"],["commentary_mention","commentary_link","commentary_hashtag","commentary_link","commentary_mention"]]],[28,[37,21],[[30,0,["normalizedCommentary","text","text"]]],null],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["normalizedCommentary"]],[50,"update-components@commentary-container",0,null,[["class","commentary","commentaryInlineSeeMoreTrackingOverrides","ignoreNavigationContext","isCarouselUpdate","isExpanded","isTextOnly","isTranslationSupported","numLinesBeforeTruncation","openLinksExternally","updateMetadata","updateTrackingObj"],["feed-shared-update-v2__description-wrapper",[30,0,["normalizedCommentary"]],[30,0,["commentaryInlineSeeMoreTrackingOverrides"]],[28,[37,22],[[30,4]],null],[30,4],[30,0,["shouldExpandCommentaryText"]],[30,0,["isTextOnlyPost"]],[30,0,["showTranslateButton"]],[30,0,["commentaryNumLines"]],[30,0,["openLinksExternally"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[28,[37,23],[[30,0,["normalizedContent"]]],null],[50,[28,[37,24],[[28,[37,23],[[30,0,["normalizedContent"]]],null]],null],0,null,[["class","authenticatedActor","hasActor","hideOrUnhideUpdateOnAction","isCarouselUpdate","isEditingShare","isLeadGenFormUpdate","model","onEdit","onTriggerUpdateAttachment","openLinksExternally","shouldSuppressTracking","update","updateMetadata","updateModelWithProperties","updateTrackingObj"],[[28,[37,17],["feed-shared-update-v2__content",[52,[30,9]," feed-shared-update-v2--is-editing-share hidden"]],null],[30,0,["actor"]],[30,0,["hasActor"]],[30,0,["hideOrUnhideUpdateOnAction"]],[30,4],[30,9],[30,0,["isLeadGenFormUpdate"]],[30,0,["normalizedContent"]],[28,[37,15],[[28,[37,16],[[30,5]],null],true],null],[30,10],[30,0,["openLinksExternally"]],[30,12],[30,0,["update"]],[30,0,["updateMetadata"]],[30,0,["updateModelWithProperties"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["normalizedCarouselContent"]],[50,"update-components@carousel",0,null,[["hideCaEntryPoint","impressionRowPosition","model","openLinksExternally","organizationUniversalName","pageSize","shouldSuppressTracking","showADNavigationButtons","updateMetadata","updateTrackingObj"],[[30,13],[30,0,["update","updatePosition"]],[30,0,["normalizedCarouselContent"]],[30,0,["openLinksExternally"]],[30,14],[30,15],[30,12],[30,16],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[28,[37,23],[[30,0,["update","footer"]]],null],[50,[28,[37,24],[[28,[37,23],[[30,0,["update","footer"]]],null]],null],0,null,[["actor","class","commentary","content","data-test-update-v2-footer","model","updateMetadata","updateTrackingObj"],[[30,0,["update","actor"]],"feed-shared-footer",[30,0,["update","commentary"]],[30,0,["update","content"]],true,[30,0,["update","footer"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","resharedUpdate"]],[50,"update-components@mini-update-v2",0,null,[["authenticatedActor","isReshareContent","update","navigateToDetailTracking","onTriggerUpdateAttachment","updateTrackingObj"],[[30,0,["actor"]],true,[30,0,["update","resharedUpdate"]],[30,0,["navigateToDetailTracking"]],[30,10],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","aggregatedContent"]],[50,"update-components@aggregated-content",0,null,[["model","updateMetadata","updateTrackingObj"],[[30,0,["update","aggregatedContent"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","annotation","inlineFeedBack"]],[50,"artdeco-inline-feedback@artdeco-inline-feedback",0,null,[["classNames","data-test-update-annotation","linkText","message","onClick","type"],["pv2 ph3","true",[30,0,["update","annotation","inlineFeedBack","link","text"]],[30,0,["update","annotation","inlineFeedBack","text"]],[28,[37,15],[[30,0,["onClickInlineFeedbackLink"]],[30,0,["update","annotation"]]],null],[28,[37,25],[[30,0,["update","annotation","inlineFeedBack","type"]]],null]]]]],[50,"social-details@social-activity-types/update-v2-social-activity",0,null,[["a11yContext","authenticatedActor","caEngineName","canRequestConversationStarters","commentingAtActor","commentingAtActors","commentNetworkErrorMessage","conversationStarters","conversationStartersUseCase","commentSortType","entityUrn","fireCustomTracking","groupId","hasLinkedInVideo","hideCaEntryPoint","hideDetourButtons","hideReactionsMenu","hideReshare","initialTextAndMentions","isCarouselResharedUpdate","isCarouselUpdate","disableCommentButton","isCommentingDisabled","isCurrentUserAuthor","isDetailView","isLoadingComments","isOutOfNetworkUpdate","isVideoAnalyticsV2Enabled","loadCommentsOnSocialActions","maxQuickReplies","onTriggerUpdateAttachment","shareAudience","shouldDisableAllSocialActions","shouldFocusTexteditor","socialCountClassNames","shouldOpenCommentsList","shouldShowContentAdminIdentityToggle","socialDetail","sponsoredMetadata","switchActorIdentity","update","updateAuthor","updateId","updateTrackingObj","videoAnalyticsRouteName"],[[30,0,["a11yContext"]],[30,0,["actor"]],[30,0,["caEngineName"]],[30,0,["canRequestConversationStarters"]],[30,0,["commentingAtActor"]],[30,0,["commentingAtActors"]],[30,0,["commentNetworkErrorMessage"]],[30,17],[30,0,["conversationStartersUseCase"]],[30,0,["commentSortType"]],[30,0,["updateMetadata","urn"]],[30,0,["fireCustomTracking"]],[30,0,["groupId"]],[30,0,["hasLinkedInVideo"]],[30,13],[30,0,["isLegacyGroupPost"]],[30,18],[30,19],[30,20],[30,0,["isCarouselResharedUpdate"]],[30,4],[30,21],[30,0,["isCommentingDisabled"]],[30,0,["isCurrentUserAuthor"]],[30,22],[30,23],[30,0,["isOutOfNetworkUpdate"]],[30,0,["hasLinkedInVideo"]],true,[52,[30,4],1],[30,10],[30,0,["updateMetadata","shareAudience"]],[30,0,["shouldDisableAllSocialActions"]],[30,24],[30,25],[30,0,["shouldOpenCommentsList"]],[30,0,["shouldShowContentAdminIdentityToggle"]],[30,0,["update","socialDetail"]],[30,0,["sponsoredMetadata"]],[30,0,["switchActorIdentity"]],[30,0,["update"]],[30,0,["updateAuthor"]],[30,0,["updateMetadata","urn"]],[30,0,["updateTrackingObj"]],[30,26]]]],[52,[30,0,["isLeadGenFormUpdate"]],[50,"feed-shared@lead-gen-modal-wrapper",0,null,[["channelId","closeModal","isOpen","isRequestSourceLAN","leadGenForm","sponsoredMetadata","updatePosition"],[[30,0,["channelId"]],[30,0,["closeLeadGenForm"]],[30,0,["isLeadGenFormOpen"]],[30,27],[30,0,["leadGenFormContent","leadGenForm"]],[30,0,["updateMetadata","trackingData","sponsoredTracking"]],[30,0,["update","updatePosition"]]]]]],[52,[30,0,["leadGenFormContent","ctaButton"]],[50,"update-components@button",0,null,[["controlName","model","updateMetadata","updateTrackingObj"],["call_to_action",[30,0,["leadGenFormContent","ctaButton"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["isLeadGenFormUpdate"]],[50,"lead-gen@lead-gen-v2/lead-gen-gated-content",0,null,[["leadGenForm","openLinksExternally","updateTrackingObj","shouldFocus"],[[30,0,["leadGenFormContent","leadGenForm"]],[30,0,["openLinksExternally"]],[30,0,["updateTrackingObj"]],true]]]]]]],[28,[37,20],null,[["navigateToDetailTracking"],[[30,0,["navigateToDetailTracking"]]]]],[28,[37,20],null,[["hasContent","hasResharedUpdate","hasSocialDetail","isActionsPositionInContent","isCommentingDisabled","isEditingShare","isLeadGenSubmitted","showHeader","sortCommentsByRelevance","updateTrackingObj"],[[30,0,["hasContent"]],[30,0,["hasResharedUpdate"]],[30,0,["hasSocialDetail"]],[30,0,["isActionsPositionInContent"]],[30,0,["isCommentingDisabled"]],[30,9],[30,0,["isLeadGenSubmitted"]],[30,0,["showHeader"]],[30,0,["sortCommentsByRelevance"]],[30,0,["updateTrackingObj"]]]]]]],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"],[13]],["@isWrapped","&attrs","@wrapperClass","@isCarouselUpdate","@setEditingShareState","@removeUpdate","@headerClasses","@detailHeaderClasses","@isEditingShare","@onTriggerUpdateAttachment","@editModalReturnToFocus","@shouldSuppressTracking","@hideCaEntryPoint","@organizationUniversalName","@carouselPageSize","@showADCarouselNavigationButtons","@conversationStarters","@hideReactionsMenu","@hideReshare","@initialTextAndMentions","@disableCommentButton","@isDetailView","@isLoadingComments","@shouldFocusTexteditor","@socialCountClassNames","@videoAnalyticsRouteName","@isRequestSourceLAN","&default"],false,["if","did-insert","will-destroy","ember-scroll-modifiers@did-intersect","global-helpers@noop","global-modifiers@on-resize-window","ember-cli-pemberly-tracking@track-impression","get","-get-dynamic-var","ember-cli-pemberly-tracking@rum-render-event","update-components@hidden-update-v2","unless","yield","global-helpers@lazy-hash","component","fn","global-helpers@optional","concat","feed-shared@exists","global-helpers@or","hash","ember-cli-pemberly-i18n@bidi-dir","global-helpers@not","feed-shared@render-model-path","ember-holy-futuristic-template-namespacing-batman-translate-dynamic-2","global-helpers@map-inline-feedback-type"]]',moduleName:"feed-shared/components/render-models/update-v2-octane.hbs",isStrictMode:!1}),Ee=["feed.sponsored-update","feed.live-preview"],Ce=["com.linkedin.voyager.feed.render.PollComponent"],Oe=["com.linkedin.voyager.feed.render.FeedDividerComponent"],ve=["article","image","external-video"],ke=g.default.testing?0:1e4,Se=Object.freeze({LINES_2:2,LINES_3:3,LINES_5:5,LINES_15:15})
function Ae(e){let{elementId:t,duration:n,isUpdateHidden:a,updateTrackingObj:o}=e
if(n>=(g.default.testing?0:1e3)){const e=a||function(e){if(k.default){const t=document.querySelector(`#${e}`)
return t&&("none"===t.style.display||"none"===window.getComputedStyle(t).display)}return!1}(t)
if(!e){o.fireSponsoredTrackingEvent({actionType:"impression"},{duration:n})
return!0}}return!1}let Pe=(D=(0,u.inject)("authentication@authenticated-user"),M=(0,u.inject)("client-sensor-web@client-sensor"),U=(0,u.inject)("app-aware-link@custom-navigation-context-router"),R=(0,u.inject)("feed-utils@content-admin-identities"),L=(0,u.inject)("feed-tracking@feed-action-event"),x=(0,u.inject)("i18n"),j=(0,u.inject)("jet"),F=(0,u.inject)("lix"),G=(0,u.inject)("persistent-toast-manager@persistent-toast-manager"),V=(0,u.inject)("router"),z=(0,u.inject)("feed-tracking@sponsored-action-tracking"),H=(0,u.inject)("store"),B=(0,u.inject)("tracking"),q=(0,u.inject)("global-services@window"),Y=(0,u.inject)("social-counts-service@social-counts"),W=(0,c.localCopy)("args.authenticatedActor"),K=(0,c.localCopy)("args.update"),Q=class extends s.default{get a11yContext(){return{actor:(0,d.get)(this,"update.actor.name.attributes.firstObject"),context:"update"}}get actor(){return this.localAuthenticatedActor||(0,N.default)(this.store,this.authenticatedUser)}get actorsOverride(){const e=(0,d.get)(this.args,"authenticatedActor.miniCompany")
return e?[e]:void 0}get caEngineName(){return this.args.caEngineName||"feed.update.feed-ca"}get canRequestConversationStarters(){return!this.args.isDetailView&&!this.isSponsored&&!(0,m.isPresent)(this.args.conversationStarters)&&(0,d.get)(this,"updateMetadata.actionTriggerEnabled")}get channelId(){return this.args.isRequestSourceLAN?C.FeedConstants.REQUEST_SOURCE_LAN_SU_CHANNELID:(0,d.get)(this.update,"channelId")}get commentaryNumLines(){const{isTextOnlyPost:e,isSponsored:t}=this,{isCarouselUpdate:n,hasInterstitial:a}=this.args
if(a)return Se.LINES_3
switch((0,d.get)(this,"normalizedCommentary.templateType")){case"VISUAL_BASED":return Se.LINES_5
case"TEXT_BASED":return Se.LINES_3}return n?e?Se.LINES_15:Se.LINES_2:e&&!t?Se.LINES_5:t?(0,d.get)(this,"normalizedCommentary.numLines")||2:void 0}get shouldExpandCommentaryText(){return!this.args.hasInterstitial&&this.args.isDetailView}get commentingAtActor(){return(0,d.get)(this,"update.actor")}get commentingAtActors(){return[(0,d.get)(this,"update.actor")]}get didIntersectOptions(){let e,t,n
if(!this.isSponsored){e=this.onEnterIntersectionDesktopZoom
t=this.onExitIntersectionDesktopZoom
n=this.impressionPercentageThresholdDesktopZoom}if(this.canRequestConversationStarters&&(!g.default.testing||this.args._isTestingDwellTimeRequest)){e=this.onEnterIntersectionConversationStarters
t=this.onExitIntersectionConversationStarters
n=.8}return{onEnter:e,onExit:t,options:{threshold:n}}}get commentSortType(){return this.args.commentSort||C.FeedConstants.RELEVANCE}get groupId(){return(0,d.get)(this,"updateMetadata.miniGroup.entityUrn")?(0,P.fromUrn)((0,d.get)(this,"updateMetadata.miniGroup.entityUrn")).id:null}get hasActor(){return!!(0,d.get)(this,"update.actor")}get hasBottomPadding(){const e=(0,v.classNameOf)((0,d.get)(this,"update.content"))
return!this.hasSocialDetail&&Ce.includes(e)}get hasContent(){return!!this.normalizedContent}get hasDocument(){const e=this.normalizedContent
return"document"===(0,_.getComponentType)(e)}get hasElevation(){if(this.args.isWrapped)return!1
const e=(0,v.classNameOf)((0,d.get)(this,"update.content"))
return!Oe.includes(e)}get hasLinkedInVideo(){const e=this.normalizedContent
return"linkedin-video"===(0,_.getComponentType)(e)}get hasResharedUpdate(){return!!(0,d.get)(this,"update.resharedUpdate")}get isShareAudiencePublic(){return"PUBLIC"===(0,d.get)(this,"updateMetadata.shareAudience")}get hasSocialDetail(){const e=!(0,m.isPresent)((0,d.get)(this,"update.showSocialDetail"))||(0,d.get)(this,"update.showSocialDetail")
return(0,m.isPresent)((0,d.get)(this,"update.socialDetail"))&&e}get headerPaddingClass(){return(0,d.get)(this,"update.header.image")?"pt2":"pt3"}get detailHeaderPaddingClass(){return(0,d.get)(this,"update.detailHeader.image")?"pt2":"pt3"}get isAccuratePreview(){const e=(0,d.get)(this,"router.currentRouteName")
return Ee.includes(e)}get isActionsPositionInContent(){const e="promo"===(0,_.getComponentType)(this.normalizedContent),t=(0,d.get)(this,"updateMetadata.actionsPosition")
return e||t===C.ACTIONS_POSITION.ANNOUNCEMENT_COMPONENT||t===C.ACTIONS_POSITION.PROMO_COMPONENT_V2||t===C.ACTIONS_POSITION.SURVEY_COMPONENT||this.normalizedCarouselContent&&this.args.showADCarouselNavigationButtons}get isCarouselResharedUpdate(){return this.args.isCarouselUpdate&&this.hasResharedUpdate}get isCommentingDisabled(){return(0,d.get)(this,"update.socialDetail.socialPermissions")?!(0,d.get)(this,"update.socialDetail.socialPermissions.canPostComments"):(0,d.get)(this,"update.socialDetail.commentingDisabled")}get isCurrentUserAuthor(){const{update:e}=this
if(e){const t=(0,d.get)(e,"actor.image.attributes.firstObject.miniProfile.objectUrn")||(0,d.get)(e,"actor.name.attributes.firstObject.miniProfile.objectUrn")
return(0,d.get)(this,"authenticatedUser.miniProfile.objectUrn")===t}return!1}get isEdgeToEdge(){const e=(0,_.getComponentType)(this.normalizedContent)
return ve.includes(e)}get isLeadGenFormUpdate(){return!!(0,d.get)(this,"update.leadGenFormContentV2")}get leadGenFormContent(){return this.isLeadGenFormUpdate?(0,d.get)(this,"update.leadGenFormContentV2"):{}}get isLegacyGroupPost(){return!!(0,d.get)(this,"update.socialDetail.legacyGroupPost")}get isOutOfNetworkUpdate(){return(0,d.get)(this,"update.contextualHeader")&&!(0,d.get)(this,"update.actor")}get isSponsored(){return!!this.sponsoredMetadata}get isTextOnlyPost(){return this.normalizedCommentary&&!this.normalizedContent&&(!(0,d.get)(this,"update.resharedUpdate")&&!this.normalizedCarouselContent||this.isCarouselResharedUpdate)}get normalizedCarouselContent(){if(!this.normalizedContent)return this.isLeadGenFormUpdate?(0,d.get)(this.leadGenFormContent,"carouselContent"):(0,d.get)(this,"update.carouselContent")}get normalizedCommentary(){var e
return this.isCarouselResharedUpdate?(0,d.get)(this,"update.resharedUpdate.commentary"):null!==(e=(0,d.get)(this.leadGenFormContent,"commentary"))&&void 0!==e?e:(0,d.get)(this,"update.commentary")}get normalizedContent(){return this.isLeadGenFormUpdate?(0,d.get)(this.leadGenFormContent,"content"):this.isCarouselResharedUpdate?(0,d.get)(this,"update.resharedUpdate.content"):(0,d.get)(this,"update.content")||(0,d.get)(this,"update.contentUnion.articleComponent")||(0,d.get)(this,"update.contentUnion.actorComponent")||(0,d.get)(this,"update.contentUnion.imageComponent")||(0,d.get)(this,"update.contentUnion.commentaryComponent")||(0,d.get)(this,"update.contentUnion.entityComponent")||(0,d.get)(this,"update.contentUnion.buttonComponent")||(0,d.get)(this,"update.contentUnion.announcementComponent")||(0,d.get)(this,"update.contentUnion.textOverlayImageComponent")||(0,d.get)(this,"update.contentUnion.externalVideoComponent")||(0,d.get)(this,"update.contentUnion.jobComponent")||(0,d.get)(this,"update.contentUnion.celebrationComponent")||(0,d.get)(this,"update.contentUnion.callToActionComponent")||(0,d.get)(this,"update.contentUnion.pollComponent")||(0,d.get)(this,"update.contentUnion.eventComponent")||(0,d.get)(this,"update.contentUnion.postCtaComponent")||(0,d.get)(this,"update.contentUnion.showcaseComponent")||(0,d.get)(this,"update.contentUnion.surveyComponent")||(0,d.get)(this,"update.contentUnion.insightComponent")||(0,d.get)(this,"update.contentUnion.reviewComponent")}get openLinksExternally(){return this.isAccuratePreview}get rumComponentId(){const{normalizedContent:e,hasResharedUpdate:t,isLegacyGroupPost:n,isLeadGenFormUpdate:a,isSponsored:o}=this,i=(0,m.isPresent)(this.groupId),r=(0,d.get)(this,"update.resharedUpdate.content"),s=(0,d.get)(this,"update.highlightedComments.length"),l=(0,d.get)(this,"update.aggregatedContent"),c=(0,_.getComponentType)(this.normalizedCarouselContent),u=(0,_.getComponentType)(e)||(0,_.getComponentType)(r),p=["feed/update-v2"]
n&&p.push("legacy-group")
a&&p.push("lead-gen")
i&&p.push("group")
o?p.push("sponsored"):s?p.push("viral-comment"):t?p.push("reshare"):l?p.push("aggregated"):c&&p.push("carousel")
u&&p.push(u)
return p.join("/")}get shouldDisableAllSocialActions(){return(0,d.get)(this,"update.interstitial.interstitial.shouldShowInterstitial")}get shouldOpenCommentsList(){return!!(0,d.get)(this,"update.highlightedComments.length")}get shouldSuppressImpressionEvents(){var e
return(null===(e=this.args.shouldSuppressTracking)||void 0===e?void 0:e.feed)||(0,d.get)(this,"update.aggregatedContent")}get showHeader(){return(0,d.get)(this,"update.header")&&(!this.normalizedCarouselContent||this.normalizedCarouselContent&&!this.args.showADCarouselNavigationButtons)}get showPremiumBranding(){return(0,d.get)(this,"update.header.showPremiumBranding")}get showTranslateButton(){return(0,d.get)(this,"update.commentary.translationUrn")&&!this.isCurrentUserAuthor&&"SPONSORED"!==(0,d.get)(this,"updateMetadata.trackingData.sponsoredTracking.activityType")}get socialDetail(){return(0,d.get)(this,"update.socialDetail")}get sortCommentsByRelevance(){return this.commentSortType===C.FeedConstants.RELEVANCE}get sponsoredMetadata(){return(0,d.get)(this,"updateMetadata.trackingData.sponsoredTracking")}get updateAuthor(){return(0,d.get)(this,"update.actor")}get updateMetadata(){return(0,d.get)(this,"update.metadata")||(0,d.get)(this,"update.updateMetadata")}get updateTrackingObj(){return this.updateMetadata?new O.default(this.updateMetadata,this.feedActionEvent,this.sponsoredActionTracking,this.tracking,(0,d.get)(this,"update.updatePosition"),this.channelId,this.args.shouldSuppressTracking,this.args.customModuleKey):null}get windowHeight(){return k.default?this.windowService.window.innerHeight-52:0}get shouldShowContentAdminIdentityToggle(){return this.isShareAudiencePublic&&this.lix.getTreatmentIsEnabled("voyager.web.organization-admin-contributions-feed")&&this.contentAdminIdentities.identities.length}constructor(){super(...arguments);(0,t.default)(this,"authenticatedUser",$,this);(0,t.default)(this,"clientSensor",X,this);(0,t.default)(this,"cncRouter",Z,this);(0,t.default)(this,"contentAdminIdentities",J,this);(0,t.default)(this,"feedActionEvent",ee,this);(0,t.default)(this,"i18n",te,this);(0,t.default)(this,"jet",ne,this);(0,t.default)(this,"lix",ae,this);(0,t.default)(this,"persistentToastManager",oe,this);(0,t.default)(this,"router",ie,this);(0,t.default)(this,"sponsoredActionTracking",re,this);(0,t.default)(this,"store",se,this);(0,t.default)(this,"tracking",le,this);(0,t.default)(this,"windowService",de,this);(0,t.default)(this,"socialCountsService",ce,this);(0,n.default)(this,"commentaryInlineSeeMoreTrackingOverrides",{expandActionName:"expandCommentaryText",expandControlName:"commentary_expand"});(0,n.default)(this,"commentNetworkErrorMessage",this.i18n.lookupTranslation("components/feed-shared@render-models/update-v2-octane","save_comment_error")());(0,n.default)(this,"elementId",(0,f.guidFor)(this));(0,n.default)(this,"enterTime",0);(0,t.default)(this,"localAuthenticatedActor",ue,this);(0,t.default)(this,"update",pe,this);(0,t.default)(this,"_hasRequestedConversationStarters",me,this);(0,t.default)(this,"conversationStartersUseCase",he,this);(0,t.default)(this,"hasAnchored",ge,this);(0,t.default)(this,"impressionPercentageThresholdDesktopZoom",fe,this);(0,t.default)(this,"isLeadGenFormOpen",be,this);(0,t.default)(this,"isLeadGenSubmitted",ye,this);(0,t.default)(this,"isUpdateHidden",Te,this)
if(this.args.isRequestSourceLAN){this.isLeadGenFormOpen=!0
this.fireSponsoredViewFormTracking()}this.isLeadGenFormUpdate&&this._registerLeadGenFormURL()}willDestroy(){super.willDestroy(...arguments)
this.isLeadGenFormUpdate&&this._deregisterLeadGenFormURL()}constructImpressionEvent(){let e,t
if(this.args.isCarouselUpdate)t={row:this.args.impressionRowPosition||0,column:this.args.impressionColumnPosition||0}
else{const t=(0,d.get)(this,"update.updatePosition")
e=(0,m.isPresent)(t)?{index:t}:{index:1}}const n=(0,d.get)(this,"updateMetadata.trackingData.searchId"),a={timeZoneOffsetMinutes:-1*(new Date).getTimezoneOffset(),entities:[{urn:(0,d.get)(this,"updateMetadata.urn")||(0,d.get)(this,"update.urn"),trackingId:(0,d.get)(this,"updateMetadata.trackingData.trackingId")||(0,d.get)(this,"update.tracking.trackingId"),listPosition:e,gridPosition:t}]}
n&&(a.searchId=n)
return a}fireSponsoredViewFormTracking(){this.updateTrackingObj.fireFeedActionAndSponsoredTrackingEvents({actionCategory:"VIEW",actionType:"viewForm",controlName:"call_to_action"})}handleDidInsert(e){var t,n,a,o
null===(t=(n=this.args).onUpdateInserted)||void 0===t||t.call(n)
null===(a=(o=this.args).onUpdateInsertedForViewState)||void 0===a||a.call(o,e)
if(!g.default.testing&&k.default&&this.args.updateIsAnchored&&!this.hasAnchored){const t=e.getBoundingClientRect().top-120,n=!1
if(t>0){S.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"===(0,d.get)(this.sponsoredMetadata,"activityType")&&this.clientSensor.incrementMetricCounter({groupName:E.CLIENT_SENSOR_GROUP_NAME,metricName:E.SponsoredClientSensorMetrics.SPONSORED_HIDDEN_UPDATES})}}onResizeWindow(e){const{offsetHeight:t}=e,n=t?this.windowHeight/2/t:0
this.impressionPercentageThresholdDesktopZoom=n>1?1: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"),C.JET_TAGS.FEED_CUSTOM_TRACKING)
return}const{actionCategory:t,actionType:n,controlName:a}=e
t&&n&&a?this.updateTrackingObj.fireFeedActionAndSponsoredTrackingEvents(e):this.jet.logError(new Error(`fireCustomTracking called with invalid trackingPayload ${t} ${n} ${a}`),C.JET_TAGS.FEED_CUSTOM_TRACKING)}hideOrUnhideUpdateOnAction(e){let{shouldHide:t,menuAction:n,shouldReloadFeed:a}=e
if(a&&this.args.onRequestReload){var o,i
null===(o=(i=this.args).onRequestReload)||void 0===o||o.call(i)}(0,d.setProperties)(this.update,{menuAction:n,isHidden:t})}onToggleCommenting(e){const t="DISABLE_COMMENTS"===(0,d.get)(e,"actionType"),[n,a]=(0,y.toggleCommentingRequest)((0,d.get)(e,"targetUrn"),t?"disableComments":"enableComments")
return this.store.adapterFor("-ember-m3").ajax(n,a).then((()=>{(0,d.setProperties)(this.update,{"socialDetail.commentingDisabled":t,"socialDetail.socialPermissions.canPostComments":!t})
t&&(0,d.setProperties)(this.update,{"socialDetail.totalSocialActivityCounts.numComments":0})}),(e=>{const t=this.i18n.lookupTranslation("components/feed-shared@render-models/update-v2","network_error_occurred")()
t&&this.persistentToastManager.error({message:t})
throw e}))}updateCommentRestrictionSetting(e,t){const[n,a,o]=(0,y.updateCommentRestrictionSettingRequest)(e,t)
return this.store.adapterFor("-ember-m3").ajax(n,a,o).then((()=>{(0,d.setProperties)(this.update,{"socialDetail.allowedCommentersScope":t})
t===h.ALLOWED_COMMENTERS_SCOPE.NONE?(0,d.setProperties)(this.update,{"socialDetail.commentingDisabled":!0,"socialDetail.socialPermissions.canPostComments":!1,"socialDetail.totalSocialActivityCounts.numComments":0}):(0,d.setProperties)(this.update,{"socialDetail.commentingDisabled":!1,"socialDetail.socialPermissions.canPostComments":!0})
const e=this.i18n.lookupTranslation("components/update-components@control-menu/comment-restriction-settings-modal",{ALL:"comment_restriction_success_ALL",CONNECTIONS_ONLY:"comment_restriction_success_CONNECTIONS_ONLY",NONE:"comment_restriction_success_NONE"}[t])()
this.persistentToastManager.success({message:e})}),(e=>{const t=this.i18n.lookupTranslation("components/update-components@control-menu/comment-restriction-settings-modal","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,d.setProperties)(this.update,e)}switchActorIdentity(e){const t=this.feedActionEvent.getModuleKeyForCurrentPage(),n=(0,d.get)(this,"updateMetadata.shareUrn")||(0,d.get)(this,"updateMetadata.urn"),a="company"===(0,d.get)(e,"actorType")&&(0,P.fromUrn)((0,d.get)(e,"miniCompany.entityUrn")).id,o=a?(0,T.findRequestV2)(n,t,a):(0,T.findRequestV2)(n,t)
return this.store.queryURL(o,{reload:!0}).then((t=>{if(!this.isDestroying){const n=(0,d.get)(t,"elements.firstObject")
this.update=n
this.socialCountsService.registerSocialCounts((0,d.get)(this.update,"socialDetail"))
this.localAuthenticatedActor=e
this._updateCommentBoxEditorPlaceholder()
return(0,I.resolve)()}return null})).catch((e=>{if(e&&e.isAdapterError)throw e}))}reloadUpdate(){const e=this.feedActionEvent.getModuleKeyForCurrentPage(),t=(0,d.get)(this,"updateMetadata.urn"),n=(0,T.getUpdateByUpdateIdRequest)(t,e),{store:a}=this
return a.adapterFor("-ember-m3").ajax(...n).then((e=>{a.serializerFor("-ember-m3").pushPayload(a,e)}))}onEditShareSuccess(e){(0,m.isPresent)(e)&&(this.update=e)}openLeadGenForm(){this.isLeadGenFormOpen=!0}closeLeadGenForm(e){const{clientSensor:t}=this
e?e.then((()=>{t.incrementMetricCounter({groupName:E.CLIENT_SENSOR_GROUP_NAME,metricName:E.SponsoredClientSensorMetrics.SPONSORED_LEADGEN_V2_SUBMISSION_SUCCESS})
this.isDestroying||(this.isLeadGenSubmitted=!0)})).catch((e=>{t.incrementMetricCounter({groupName:E.CLIENT_SENSOR_GROUP_NAME,metricName:E.SponsoredClientSensorMetrics.SPONSORED_LEADGEN_V2_SUBMISSION_FAILURE})
const n=e&&(0,d.get)(e,"errors.firstObject.status"),a=n&&parseInt(n,10)
if(403!==a&&500!==a)throw e})):this.isLeadGenFormOpen=!1}onClickInlineFeedbackLink(e){const t=(0,d.get)(e,"inlineFeedBack.link.url"),n=(0,d.get)(e,"inlineFeedBack.controlName")
this.windowService.open(jSecure.sanitizeUrl((0,A.generateUrlByDomain)(t)),"_blank")
this.updateTrackingObj.fireControlInteractionEvent(n)
this.updateTrackingObj.fireFeedActionAndSponsoredTrackingEvents({actionType:(0,d.get)(e,"actionType"),actionCategory:"VIEW",controlName:n})}onTrackImpression(){if(!this.update)return()=>[]
if(!this.isDestroying){var e
if(this.shouldSuppressImpressionEvents)return()=>[]
const t=this.constructImpressionEvent(),{isUpdateHidden:n,updateTrackingObj:a,clientSensor:o,elementId:i}=this,r=this.isSponsored&&!(null!==(e=this.args.shouldSuppressTracking)&&void 0!==e&&e.sponsored)
return e=>{r&&Ae({elementId:i,isUpdateHidden:n,updateTrackingObj:a,duration:e.duration})
const s=t.entities[0]
e.boundingClientRect&&(s.size={width:Math.round(e.boundingClientRect.width),height:Math.round(e.boundingClientRect.height)})
s.visibleTime=e.visibleTime||0
s.visibleHeight=e.visibleHeight
s.duration=e.duration
s.duration<0&&o.incrementMetricCounter({groupName:E.CLIENT_SENSOR_GROUP_NAME,metricName:E.FeedTrackingClientSensorMetrics.NEGATIVE_FEED_IMPRESSION_DURATION})
return{body:t,name:"FeedImpressionEvent"}}}return()=>[]}onEnterIntersectionConversationStarters(){if(this.isDestroying||!k.default)return
const e=ke
this.requestConversationStartersTask=(0,b.runTask)(this,(()=>{const e=(0,d.get)(this,"update.socialDetail.urn")
if(e){var t,n
null===(t=(n=this.args).onTriggerUpdateAttachment)||void 0===t||t.call(n,C.UPDATE_ATTACHMENT_TRIGGER_ACTIONS.VIEW_POST,[e])}this.conversationStartersUseCase="VIEW_POST"}),e)}onExitIntersectionConversationStarters(){if(!this.isDestroying&&k.default&&(0,m.isPresent)(this.requestConversationStartersTask)){(0,b.cancelTask)(this,this.requestConversationStartersTask)
this.requestConversationStartersTask=null}}onEnterIntersectionDesktopZoom(e){if(this.isDestroying||!k.default)return
const{offsetHeight:t}=e.target
if(t&&t>2*this.windowHeight){e.isIntersecting&&e.intersectionRatio>this.impressionPercentageThresholdDesktopZoom&&!this.enterTime&&(this.enterTime=e.time)}}onExitIntersectionDesktopZoom(e){if(this.isDestroying||!k.default)return
const t=e.target,{offsetHeight:n}=t
if(n&&n>2*this.windowHeight){if(!(e.isIntersecting&&e.intersectionRatio>this.impressionPercentageThresholdDesktopZoom)&&this.enterTime){const n=this.constructImpressionEvent(),a=n.entities[0]
a.duration=e.time-this.enterTime
a.visibleTime=e.time||0
a.size={width:t.clientWidth,height:t.clientHeight}
a.duration<0&&this.clientSensor.incrementMetricCounter({groupName:E.CLIENT_SENSOR_GROUP_NAME,metricName:E.FeedTrackingClientSensorMetrics.NEGATIVE_FEED_IMPRESSION_DURATION})
this.tracking.fireTrackingPayload("FeedImpressionEvent",n)}}}_registerLeadGenFormURL(){this.leadGenFormURL=`${(0,A.getDomainUrl)()}/leadGenForm/${(0,d.get)(this.leadGenFormContent,"leadGenForm.entityUrn")}`
this.cncRouter.registerHandler(this.leadGenFormURL,this.openLeadGenForm)}_deregisterLeadGenFormURL(){k.default&&this.cncRouter.deleteHandler(this.leadGenFormURL)}_updateCommentBoxEditorPlaceholder(){k.default&&(0,w.later)((()=>{const e=document.querySelector(`#${this.elementId} .ql-editor`)
if(e){let t
t="company"===(0,d.get)(this.actor,"actorType")?this.i18n.lookupTranslation("components/comments@comment-box","admin_placeholder_comment")([{actorName:(0,d.get)(this.actor,"miniCompany.name")}]):this.i18n.lookupTranslation("components/comments@comment-box","placeholder_comment")()
null==e||e.setAttribute("data-placeholder",t)
null==e||e.setAttribute("aria-placeholder",t)}}))}},$=(0,a.default)(Q.prototype,"authenticatedUser",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,a.default)(Q.prototype,"clientSensor",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,a.default)(Q.prototype,"cncRouter",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,a.default)(Q.prototype,"contentAdminIdentities",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,a.default)(Q.prototype,"feedActionEvent",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,a.default)(Q.prototype,"i18n",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ne=(0,a.default)(Q.prototype,"jet",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ae=(0,a.default)(Q.prototype,"lix",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),oe=(0,a.default)(Q.prototype,"persistentToastManager",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=(0,a.default)(Q.prototype,"router",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),re=(0,a.default)(Q.prototype,"sponsoredActionTracking",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),se=(0,a.default)(Q.prototype,"store",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),le=(0,a.default)(Q.prototype,"tracking",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),de=(0,a.default)(Q.prototype,"windowService",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ce=(0,a.default)(Q.prototype,"socialCountsService",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ue=(0,a.default)(Q.prototype,"localAuthenticatedActor",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pe=(0,a.default)(Q.prototype,"update",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),me=(0,a.default)(Q.prototype,"_hasRequestedConversationStarters",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),he=(0,a.default)(Q.prototype,"conversationStartersUseCase",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ge=(0,a.default)(Q.prototype,"hasAnchored",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),fe=(0,a.default)(Q.prototype,"impressionPercentageThresholdDesktopZoom",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),be=(0,a.default)(Q.prototype,"isLeadGenFormOpen",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ye=(0,a.default)(Q.prototype,"isLeadGenSubmitted",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Te=(0,a.default)(Q.prototype,"isUpdateHidden",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,a.default)(Q.prototype,"handleDidInsert",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"handleDidInsert"),Q.prototype),(0,a.default)(Q.prototype,"handleHiddenSponsoredUpdates",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"handleHiddenSponsoredUpdates"),Q.prototype),(0,a.default)(Q.prototype,"onResizeWindow",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"onResizeWindow"),Q.prototype),(0,a.default)(Q.prototype,"navigateToDetailTracking",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"navigateToDetailTracking"),Q.prototype),(0,a.default)(Q.prototype,"fireCustomTracking",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"fireCustomTracking"),Q.prototype),(0,a.default)(Q.prototype,"hideOrUnhideUpdateOnAction",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"hideOrUnhideUpdateOnAction"),Q.prototype),(0,a.default)(Q.prototype,"onToggleCommenting",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"onToggleCommenting"),Q.prototype),(0,a.default)(Q.prototype,"updateCommentRestrictionSetting",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"updateCommentRestrictionSetting"),Q.prototype),(0,a.default)(Q.prototype,"updateModelWithProperties",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"updateModelWithProperties"),Q.prototype),(0,a.default)(Q.prototype,"switchActorIdentity",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"switchActorIdentity"),Q.prototype),(0,a.default)(Q.prototype,"reloadUpdate",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"reloadUpdate"),Q.prototype),(0,a.default)(Q.prototype,"onEditShareSuccess",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"onEditShareSuccess"),Q.prototype),(0,a.default)(Q.prototype,"openLeadGenForm",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"openLeadGenForm"),Q.prototype),(0,a.default)(Q.prototype,"closeLeadGenForm",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"closeLeadGenForm"),Q.prototype),(0,a.default)(Q.prototype,"onClickInlineFeedbackLink",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"onClickInlineFeedbackLink"),Q.prototype),(0,a.default)(Q.prototype,"onTrackImpression",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"onTrackImpression"),Q.prototype),(0,a.default)(Q.prototype,"onEnterIntersectionConversationStarters",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"onEnterIntersectionConversationStarters"),Q.prototype),(0,a.default)(Q.prototype,"onExitIntersectionConversationStarters",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"onExitIntersectionConversationStarters"),Q.prototype),(0,a.default)(Q.prototype,"onEnterIntersectionDesktopZoom",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"onEnterIntersectionDesktopZoom"),Q.prototype),(0,a.default)(Q.prototype,"onExitIntersectionDesktopZoom",[d.action],Object.getOwnPropertyDescriptor(Q.prototype,"onExitIntersectionDesktopZoom"),Q.prototype),Q)
e.default=Pe;(0,i.setComponentTemplate)(_e,Pe)}))
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/component","@ember/template-factory","@ember-decorators/component","@ember/debug","@ember/object","@ember/object/computed","@ember/service","@ember/utils","comments/utils/constants","ember","ember-batcher","ember-lifeline","feed-requests/update-actions","feed-requests/updates","feed-shared/helpers/render-model-path","feed-shared/utils/client-sensor-constants","feed-shared/utils/constants","feed-tracking/utils/update-tracking-obj","global-utils/utils/api-compat","global-utils/utils/intersection-observer","global-utils/utils/is-browser","global-utils/utils/scroll-to-element","global-utils/utils/scroller","global-utils/utils/url","global-utils/utils/urn-converter","@ember/object/internals","feed-utils/utils/authenticated-member-actor","rsvp","@ember/runloop"],(function(e,t,n,a,o,i,r,s,l,d,c,u,p,m,h,g,f,b,y,T,_,E,C,O,v,k,S,A,P,N,I,w,D,M){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var U,R,L,x,j,F,G,V,z,H,B,q,Y,W,K,Q,$,X,Z,J,ee,te,ne,ae,oe,ie,re,se,le,de,ce,ue,pe,me,he,ge,fe,be,ye,Te,_e,Ee,Ce,Oe,ve,ke,Se,Ae,Pe,Ne,Ie,we,De,Me,Ue,Re,Le,xe,je,Fe,Ge,Ve,ze,He,Be,qe,Ye,We,Ke,Qe,$e,Xe,Ze,Je,et,tt,nt,at,ot,it,rt,st,lt,dt,ct,ut,pt,mt
const ht=(0,r.createTemplateFactory)({id:"d6Ux8wLY",block:'[[[11,0],[16,0,[30,1]],[4,[38,0],null,[["registerOnImpression","thresholdMillisecondsInViewport","thresholdPercentageInViewport","routeName","currentRoute"],[[30,0,["onTrackImpression"]],0,50,[28,[37,1],[[53,"outletState"],"render.name"],null],[28,[37,1],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n"],[1,"  "],[10,0],[14,"role","status"],[12],[1,"\\n"],[41,[30,0,["update","isHidden"]],[[[1,"      "],[8,[39,4],null,[["@hideOrUnhideUpdateOnAction","@isCenteredLayout","@update","@updateTrackingObj"],[[28,[37,5],[[30,0],"hideOrUnhideUpdateOnAction"],null],[30,0,["isCarouselUpdate"]],[30,0,["update"]],[30,0,["updateTrackingObj"]]]],null],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"],[41,[51,[30,0,["update","isHidden"]]],[[[1,"    "],[18,4,[[28,[37,8],null,[["controlMenu","header","contextualHeader","detailHeader","actor","contextualDescriptionV2","shareEdit","inlineShowMoreText","interstitial","commentary","commentaryContainer","content","carouselContent","footer","resharedUpdate","aggregatedContent","inlineFeedback","updateV2SocialActivity","leadGenModal","leadGenCTA","leadGenThankYou"],[[50,"update-components@control-menu",0,null,[["actor","class","hasDocument","hasLinkedInVideo","hideOrUnhideUpdateOnAction","menuActions","onEdit","onToggleCommenting","reloadUpdate","removeUpdate","update","updateCommentRestrictionSetting","updateMetadata","updateTrackingObj"],[[30,0,["update","actor"]],"feed-shared-update-v2__control-menu absolute text-align-right",[30,0,["hasDocument"]],[30,0,["hasLinkedInVideo"]],[28,[37,5],[[30,0],"hideOrUnhideUpdateOnAction"],null],[30,0,["updateMetadata","actions"]],[28,[37,5],[[30,0],"toggleIsEditingShare",true],null],[28,[37,5],[[30,0],"onToggleCommenting"],null],[28,[37,5],[[30,0],"reloadUpdate"],null],[30,0,["removeUpdate"]],[30,0,["update"]],[28,[37,5],[[30,0],"updateCommentRestrictionSetting"],null],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]],[52,[30,0,["update","header"]],[50,"update-components@header",0,null,[["class","model","openLinksExternally","updateMetadata","updateTrackingObj"],[[52,[30,0,["headerClasses"]],[30,0,["headerClasses"]],[28,[37,10],["t-12 t-black--light t-normal ",[30,0,["headerPaddingClass"]]],null]],[30,0,["update","header"]],[30,0,["openLinksExternally"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","contextualHeader"]],[50,"update-components@contextual-header",0,null,[["model","updateTrackingObj"],[[30,0,["update","contextualHeader"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","detailHeader"]],[50,"update-components@header",0,null,[["class","model","openLinksExternally","testSelector","updateMetadata","updateTrackingObj"],[[52,[30,0,["detailHeaderClasses"]],[30,0,["detailHeaderClasses"]],[28,[37,10],["t-12 t-black--light t-normal ",[30,0,["detailHeaderPaddingClass"]]],null]],[30,0,["update","detailHeader"]],[30,0,["openLinksExternally"]],"data-test-feed-shared-detail-header",[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","actor"]],[50,"update-components@actor",0,null,[["class","model","onTriggerUpdateAttachment","openLinksExternally","updateMetadata","updateTrackingObj"],[[52,[30,0,["isEditingShare"]],"hidden"],[30,0,["update","actor"]],[30,0,["onTriggerUpdateAttachment"]],[30,0,["openLinksExternally"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","contextualDescriptionV2"]],[50,"update-components@contextual-description-v2",0,null,[["containsActorComponent","model","openLinksExternally","updateMetadata","updateTrackingObj"],[[28,[37,11],[[30,0,["update","actor"]]],null],[30,0,["update","contextualDescriptionV2"]],[30,0,["openLinksExternally"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[50,"sharing-entry@share-box-modal",0,null,[["actorsOverride","groupId","isShareboxModalOpen","onCloseShareboxModal","onEditShareSuccess","shareUrn","updateV2","returnFocusTo"],[[30,0,["actorsOverride"]],[30,0,["groupId"]],[30,0,["isEditingShare"]],[28,[37,5],[[30,0],"toggleIsEditingShare",false],null],[28,[37,5],[[30,0],"onEditShareSuccess"],null],[30,0,["updateMetadata","shareUrn"]],[30,0,["update"]],[28,[37,12],[[30,0,["editModalReturnToFocus"]],[28,[37,10],["#",[30,0,["element","id"]]," .feed-shared-update-v2__control-menu button"],null]],null]]]],[50,"feed-shared@inline-show-more-text",0,null,[["class","numLinesBeforeTruncation","trackingOverrides","updateTrackingObj"],["feed-shared-inline-show-more-text--minimal-padding",[30,0,["commentaryNumLines"]],[30,0,["commentaryInlineSeeMoreTrackingOverrides"]],[30,0,["updateTrackingObj"]]]]],[50,"feed-shared@interstitial-container",0,null,[["model","coverage","size","updateTrackingObj","entityUrn"],[[30,0,["update","interstitial","interstitial"]],[30,0,["update","interstitial","coverageType"]],[30,0,["update","interstitial","templateType"]],[30,0,["updateTrackingObj"]],[30,0,["updateMetadata","urn"]]]]],[52,[30,0,["normalizedCommentary"]],[50,"update-components@text",0,null,[["class","testSelector","ignoreNavigationContext","model","openLinksExternally","textAttributeControlNames","textDirection","updateMetadata","updateTrackingObj"],["feed-shared-update-v2__commentary","data-test-feed-shared-commentary",true,[30,0,["normalizedCommentary"]],[30,0,["openLinksExternally"]],[28,[37,13],null,[["companyMention","email","hashtag","hyperlink","profileMention"],["commentary_mention","commentary_link","commentary_hashtag","commentary_link","commentary_mention"]]],[28,[37,14],[[30,0,["normalizedCommentary","text","text"]]],null],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["normalizedCommentary"]],[50,"update-components@commentary-container",0,null,[["class","commentary","commentaryInlineSeeMoreTrackingOverrides","ignoreNavigationContext","isCarouselUpdate","isExpanded","isTextOnly","isTranslationSupported","numLinesBeforeTruncation","openLinksExternally","updateMetadata","updateTrackingObj"],["feed-shared-update-v2__description-wrapper",[30,0,["normalizedCommentary"]],[30,0,["commentaryInlineSeeMoreTrackingOverrides"]],[28,[37,15],[[30,0,["isCarouselUpdate"]]],null],[30,0,["isCarouselUpdate"]],[30,0,["shouldExpandCommentaryText"]],[30,0,["isTextOnlyPost"]],[30,0,["showTranslateButton"]],[30,0,["commentaryNumLines"]],[30,0,["openLinksExternally"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[28,[37,16],[[30,0,["normalizedContent"]]],null],[50,[28,[37,17],[[28,[37,16],[[30,0,["normalizedContent"]]],null]],null],0,null,[["class","authenticatedActor","hasActor","hideOrUnhideUpdateOnAction","isCarouselUpdate","isEditingShare","isLeadGenFormUpdate","model","onEdit","onTriggerUpdateAttachment","openLinksExternally","shouldSuppressTracking","update","updateMetadata","updateModelWithProperties","updateTrackingObj"],[[28,[37,10],["feed-shared-update-v2__content",[52,[30,0,["isEditingShare"]]," feed-shared-update-v2--is-editing-share hidden"]],null],[30,0,["actor"]],[30,0,["hasActor"]],[30,0,["hideOrUnhideUpdateOnAction"]],[30,0,["isCarouselUpdate"]],[30,0,["isEditingShare"]],[30,0,["isLeadGenFormUpdate"]],[30,0,["normalizedContent"]],[28,[37,18],[[30,0,["toggleIsEditingShare"]],true],null],[30,0,["onTriggerUpdateAttachment"]],[30,0,["openLinksExternally"]],[30,0,["shouldSuppressTracking"]],[30,0,["update"]],[30,0,["updateMetadata"]],[30,0,["updateModelWithProperties"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["normalizedCarouselContent"]],[50,"update-components@carousel",0,null,[["hideCaEntryPoint","impressionRowPosition","model","openLinksExternally","organizationUniversalName","pageSize","shouldSuppressTracking","showADNavigationButtons","updateMetadata","updateTrackingObj"],[[30,2],[30,0,["update","updatePosition"]],[30,0,["normalizedCarouselContent"]],[30,0,["openLinksExternally"]],[30,0,["organizationUniversalName"]],[30,0,["carouselPageSize"]],[30,0,["shouldSuppressTracking"]],[30,0,["showADCarouselNavigationButtons"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[28,[37,16],[[30,0,["update","footer"]]],null],[50,[28,[37,17],[[28,[37,16],[[30,0,["update","footer"]]],null]],null],0,null,[["actor","class","commentary","content","data-test-update-v2-footer","model","updateMetadata","updateTrackingObj"],[[30,0,["update","actor"]],"feed-shared-footer",[30,0,["update","commentary"]],[30,0,["update","content"]],true,[30,0,["update","footer"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","resharedUpdate"]],[50,"update-components@mini-update-v2",0,null,[["authenticatedActor","isReshareContent","update","navigateToDetailTracking","onTriggerUpdateAttachment","updateTrackingObj"],[[30,0,["actor"]],true,[30,0,["update","resharedUpdate"]],[30,0,["navigateToDetailTracking"]],[30,0,["onTriggerUpdateAttachment"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","aggregatedContent"]],[50,"update-components@aggregated-content",0,null,[["model","updateMetadata","updateTrackingObj"],[[30,0,["update","aggregatedContent"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["update","annotation","inlineFeedBack"]],[50,"artdeco-inline-feedback@artdeco-inline-feedback",0,null,[["classNames","data-test-update-annotation","linkText","message","onClick","type"],["pv2 ph3","true",[30,0,["update","annotation","inlineFeedBack","link","text"]],[30,0,["update","annotation","inlineFeedBack","text"]],[28,[37,5],[[30,0],"onClickInlineFeedbackLink",[30,0,["update","annotation"]]],null],[28,[37,19],[[30,0,["update","annotation","inlineFeedBack","type"]]],null]]]]],[50,"social-details@social-activity-types/update-v2-social-activity",0,null,[["a11yContext","authenticatedActor","caEngineName","canRequestConversationStarters","commentingAtActor","commentingAtActors","commentNetworkErrorMessage","conversationStarters","conversationStartersUseCase","currentCommentSortType","entityUrn","fireCustomTracking","groupId","hasLinkedInVideo","hideCaEntryPoint","hideDetourButtons","hideReactionsMenu","hideReshare","initialTextAndMentions","isCarouselResharedUpdate","isCarouselUpdate","disableCommentButton","isCommentingDisabled","isCurrentUserAuthor","isDetailView","isLegacyGroupPost","isLoadingComments","isOutOfNetworkUpdate","isVideoAnalyticsV2Enabled","legoTrackingToken","likersModalSocialDetail","loadCommentsOnSocialActions","maxQuickReplies","mediaData","memberSkills","onReplyButtonClick","onTriggerUpdateAttachment","shareAudience","shouldDirectToDetailPage","shouldDisableAllSocialActions","shouldFocusTexteditor","shouldOpenCommentsList","shouldPaginate","shouldShowCommentBoxAvatar","shouldShowContentAdminIdentityToggle","showLikersModal","socialCountClassNames","socialDetail","sponsoredMetadata","switchActorIdentity","update","updateAuthor","updateId","updateTrackingObj","videoAnalyticsRouteName"],[[30,0,["a11yContext"]],[30,0,["actor"]],[30,0,["caEngineName"]],[30,0,["canRequestConversationStarters"]],[30,0,["commentingAtActor"]],[30,0,["commentingAtActors"]],[30,0,["commentNetworkErrorMessage"]],[30,0,["conversationStarters"]],[30,0,["conversationStartersUseCase"]],[30,0,["currentCommentSortType"]],[30,0,["updateMetadata","urn"]],[28,[37,5],[[30,0],"fireCustomTracking"],null],[30,0,["groupId"]],[30,0,["hasLinkedInVideo"]],[30,2],[30,0,["isLegacyGroupPost"]],[30,0,["hideReactionsMenu"]],[30,0,["hideReshare"]],[30,0,["initialTextAndMentions"]],[30,0,["isCarouselResharedUpdate"]],[30,0,["isCarouselUpdate"]],[30,0,["disableCommentButton"]],[30,0,["isCommentingDisabled"]],[30,0,["isCurrentUserAuthor"]],[30,0,["isDetailView"]],[30,0,["isLegacyGroupPost"]],[30,0,["isLoadingComments"]],[30,0,["isOutOfNetworkUpdate"]],[30,0,["hasLinkedInVideo"]],[30,0,["legoTrackingToken"]],[30,0,["likersModalSocialDetail"]],true,[52,[30,0,["isCarouselUpdate"]],1],[30,0,["mediaData"]],[30,0,["update","updateTargetingMatchInfo","skills"]],[30,0,["onReplyButtonClick"]],[30,0,["onTriggerUpdateAttachment"]],[30,0,["updateMetadata","shareAudience"]],[30,0,["shouldDirectToDetailPage"]],[30,0,["shouldDisableAllSocialActions"]],[30,0,["shouldFocusTexteditor"]],[30,0,["shouldOpenCommentsList"]],true,true,[30,0,["shouldShowContentAdminIdentityToggle"]],[30,0,["showLikersModal"]],[30,3],[30,0,["update","socialDetail"]],[30,0,["sponsoredMetadata"]],[30,0,["switchActorIdentity"]],[30,0,["update"]],[30,0,["updateAuthor"]],[30,0,["updateMetadata","urn"]],[30,0,["updateTrackingObj"]],[30,0,["videoAnalyticsRouteName"]]]]],[52,[30,0,["isLeadGenFormUpdate"]],[50,"feed-shared@lead-gen-modal-wrapper",0,null,[["channelId","closeModal","isOpen","isRequestSourceLAN","leadGenForm","sponsoredMetadata","updatePosition"],[[30,0,["channelId"]],[28,[37,5],[[30,0],"closeLeadGenForm"],null],[30,0,["isLeadGenFormOpen"]],[30,0,["isRequestSourceLAN"]],[30,0,["leadGenFormContent","leadGenForm"]],[30,0,["updateMetadata","trackingData","sponsoredTracking"]],[30,0,["update","updatePosition"]]]]]],[52,[30,0,["leadGenFormContent","ctaButton"]],[50,"update-components@button",0,null,[["controlName","model","updateMetadata","updateTrackingObj"],["call_to_action",[30,0,["leadGenFormContent","ctaButton"]],[30,0,["updateMetadata"]],[30,0,["updateTrackingObj"]]]]]],[52,[30,0,["isLeadGenFormUpdate"]],[50,"lead-gen@lead-gen-v2/lead-gen-gated-content",0,null,[["leadGenForm","openLinksExternally","updateTrackingObj","shouldFocus"],[[30,0,["leadGenFormContent","leadGenForm"]],[30,0,["openLinksExternally"]],[30,0,["updateTrackingObj"]],true]]]]]]],[28,[37,13],null,[["navigateToDetailTracking"],[[30,0,["navigateToDetailTracking"]]]]],[28,[37,13],null,[["hasContent","hasResharedUpdate","hasSocialDetail","isActionsPositionInContent","isCommentingDisabled","isEditingShare","isLeadGenSubmitted","showHeader","sortCommentsByRelevance","updateTrackingObj"],[[30,0,["hasContent"]],[30,0,["hasResharedUpdate"]],[30,0,["hasSocialDetail"]],[30,0,["isActionsPositionInContent"]],[30,0,["isCommentingDisabled"]],[30,0,["isEditingShare"]],[30,0,["isLeadGenSubmitted"]],[30,0,["showHeader"]],[30,0,["sortCommentsByRelevance"]],[30,0,["updateTrackingObj"]]]]]]],[1,"\\n"]],[]],null],[13]],["@wrapperClass","@hideCaEntryPoint","@socialCountClassNames","&default"],false,["ember-cli-pemberly-tracking@track-impression","get","-get-dynamic-var","if","update-components@hidden-update-v2","action","unless","yield","global-helpers@lazy-hash","component","concat","feed-shared@exists","global-helpers@or","hash","ember-cli-pemberly-i18n@bidi-dir","global-helpers@not","feed-shared@render-model-path","ember-holy-futuristic-template-namespacing-batman-translate-dynamic-2","fn","global-helpers@map-inline-feedback-type"]]',moduleName:"feed-shared/components/render-models/update-v2.hbs",isStrictMode:!1}),gt=["feed.sponsored-update","feed.live-preview"],ft=["com.linkedin.voyager.feed.render.PollComponent"],bt=["com.linkedin.voyager.feed.render.FeedDividerComponent"],yt=["article","image","external-video"]
let Tt=(U=(0,s.attributeBindings)("updateMetadata.urn:data-urn","elementId:id"),R=(0,s.classNames)("feed-shared-update-v2","feed-shared-update-v2--minimal-padding","full-height","relative"),L=(0,s.classNameBindings)("update.isHighlighted:feed-shared-update-v2--highlighted","showPremiumBranding:premium-accent-bar","isEdgeToEdge:feed-shared-update-v2--e2e","isWrapped:feed-shared-update-v2--wrapped","hasElevation:artdeco-card","hasBottomPadding:pb4"),x=(0,u.inject)("store"),j=(0,u.inject)("i18n"),F=(0,u.inject)("authentication@authenticated-user"),G=(0,u.inject)("feed-utils@content-admin-identities"),V=(0,u.inject)("lix"),z=(0,u.inject)("feed-tracking@feed-action-event"),H=(0,u.inject)("feed-tracking@sponsored-action-tracking"),B=(0,u.inject)("persistent-toast-manager@persistent-toast-manager"),q=(0,u.inject)("tracking"),Y=(0,u.inject)("router"),W=(0,u.inject)("app-aware-link@custom-navigation-context-router"),K=(0,u.inject)("jet"),Q=(0,u.inject)("global-services@window"),$=(0,u.inject)("client-sensor-web@client-sensor"),X=(0,u.inject)("social-counts-service@social-counts"),Z=(0,d.computed)("isDetailView","conversationStarters","isSponsored","updateMetadata.actionTriggerEnabled"),J=(0,d.computed)("isCarouselUpdate","hasResharedUpdate"),ee=(0,d.computed)("update.header","normalizedCarouselContent","showADCarouselNavigationButtons"),te=(0,d.computed)("update.header.image"),ne=(0,d.computed)("update.detailHeader.image"),ae=(0,d.computed)("update.content","isWrapped"),oe=(0,d.computed)("updateMetadata.actionsPosition","normalizedContent","normalizedCarouselContent","showADCarouselNavigationButtons").readOnly(),ie=(0,d.computed)("update.leadGenFormContentV2").readOnly(),re=(0,d.computed)("isLeadGenFormUpdate","update.leadGenFormContentV2").readOnly(),se=(0,d.computed)("update.contextualHeader","update.actor").readOnly(),le=(0,d.computed)("leadGenFormContent.commentary","update.commentary","isCarouselResharedUpdate","update.resharedUpdate.commentary"),de=(0,d.computed)("isLeadGenFormUpdate","leadGenFormContent.content","update.content","update.contentUnion","isCarouselResharedUpdate","update.resharedUpdate.content"),ce=(0,d.computed)("isLeadGenFormUpdate","leadGenFormContent.carouselContent","update.carouselContent","normalizedContent"),ue=(0,c.or)("shouldSuppressTracking.feed","update.aggregatedContent").readOnly(),pe=(0,c.bool)("isAccuratePreview"),me=(0,d.computed)("isRequestSourceLAN","update.channelId"),he=(0,d.computed)("update.updateMetadata","update.metadata"),ge=(0,d.computed)("updateMetadata","feedActionEvent","sponsoredActionTracking","tracking","update.updatePosition","channelId"),fe=(0,d.computed)("update.commentary.translationUrn","isCurrentUserAuthor","updateMetadata.trackingData.sponsoredTracking.activityType"),be=(0,c.equal)("currentCommentSortType",E.FeedConstants.RELEVANCE).readOnly(),ye=(0,d.computed)("update.socialDetail.socialPermissions.canPostComments","update.socialDetail.commentingDisabled"),Te=(0,d.computed)("authenticatedUser.memberId","update.actor").readOnly(),_e=(0,d.computed)("authenticatedActor").readOnly(),Ee=(0,c.alias)("update.socialDetail.comments"),Ce=(0,d.computed)("updateMetadata.miniGroup.entityUrn").readOnly(),Oe=(0,c.bool)("normalizedContent").readOnly(),ve=(0,c.bool)("update.resharedUpdate").readOnly(),ke=(0,d.computed)("updateMetadata.shareAudience").readOnly(),Se=(0,d.computed)("update.socialDetail","update.showSocialDetail").readOnly(),Ae=(0,d.computed)("hasSocialDetail","update.content").readOnly(),Pe=(0,c.bool)("update.actor").readOnly(),Ne=(0,d.computed)("isCarouselResharedUpdate","normalizedCarouselContent","normalizedCommentary","normalizedContent","update.resharedUpdate").readOnly(),Ie=(0,d.computed)("isTextOnlyPost","hasLinkedInVideo","isSponsored","isCarouselUpdate","normalizedCommentary.templateType","normalizedCommentary.numLines").readOnly(),we=(0,d.computed)("isDetailView","hasInterstitial").readOnly(),De=(0,d.computed)("normalizedContent","normalizedCarouselContent","hasResharedUpdate","isLegacyGroupPost","isLeadGenFormUpdate","isSponsored","groupId","update.{resharedUpdate,highlightedComments,aggregatedContent}").readOnly(),Me=(0,d.computed)("normalizedContent"),Ue=(0,d.computed)("normalizedContent"),Re=(0,c.alias)("updateMetadata.trackingData.sponsoredTracking"),Le=(0,c.reads)("update.socialDetail"),xe=(0,c.readOnly)("update.socialDetail"),je=(0,d.computed)("update.interstitial.interstitial.shouldShowInterstitial"),Fe=(0,d.computed)("lix","contentAdminIdentities.identities","isShareAudiencePublic"),Ge=(0,d.computed)("authenticatedActor","localAuthenticatedActor"),U(Ve=R(Ve=L(Ve=(ze=class extends i.default{constructor(){super(...arguments);(0,t.default)(this,"store",He,this);(0,t.default)(this,"i18n",Be,this);(0,t.default)(this,"authenticatedUser",qe,this);(0,t.default)(this,"contentAdminIdentities",Ye,this);(0,t.default)(this,"lix",We,this);(0,t.default)(this,"feedActionEvent",Ke,this);(0,t.default)(this,"sponsoredActionTracking",Qe,this);(0,t.default)(this,"persistentToastManager",$e,this);(0,t.default)(this,"tracking",Xe,this);(0,t.default)(this,"router",Ze,this);(0,t.default)(this,"cncRouter",Je,this);(0,t.default)(this,"jet",et,this);(0,t.default)(this,"windowService",tt,this);(0,t.default)(this,"clientSensor",nt,this);(0,t.default)(this,"socialCountsService",at,this);(0,n.default)(this,"data-test-feed-shared-update-v2",!0);(0,n.default)(this,"localAuthenticatedActor",null);(0,n.default)(this,"isEditingShare",!1);(0,n.default)(this,"isLeadGenFormOpen",!1);(0,n.default)(this,"isLeadGenSubmitted",!1);(0,n.default)(this,"conversationStartersDwellValue",h.default.testing?0:1e4);(0,n.default)(this,"legoTrackingToken","");(0,n.default)(this,"isWrapped",!1);(0,t.default)(this,"shouldSuppressImpressionEvents",ot,this);(0,t.default)(this,"openLinksExternally",it,this);(0,t.default)(this,"sortCommentsByRelevance",rt,this);(0,t.default)(this,"comments",st,this);(0,t.default)(this,"hasContent",lt,this);(0,t.default)(this,"hasResharedUpdate",dt,this);(0,t.default)(this,"hasActor",ct,this);(0,t.default)(this,"sponsoredMetadata",ut,this);(0,t.default)(this,"likersModalSocialDetail",pt,this);(0,t.default)(this,"socialDetail",mt,this)}get canRequestConversationStarters(){return!this.isDetailView&&!this.isSponsored&&!(0,d.get)(this,"conversationStarters.length")&&(0,d.get)(this,"updateMetadata.actionTriggerEnabled")}get isCarouselResharedUpdate(){return this.isCarouselUpdate&&this.hasResharedUpdate}get showHeader(){return(0,d.get)(this,"update.header")&&(!this.normalizedCarouselContent||this.normalizedCarouselContent&&!this.showADCarouselNavigationButtons)}get headerPaddingClass(){return(0,d.get)(this,"update.header.image")?"pt2":"pt3"}get detailHeaderPaddingClass(){return(0,d.get)(this,"update.detailHeader.image")?"pt2":"pt3"}get hasElevation(){if(this.isWrapped)return!1
const e=(0,O.classNameOf)((0,d.get)(this,"update.content"))
return!bt.includes(e)}get isActionsPositionInContent(){const e="promo"===(0,T.getComponentType)(this.normalizedContent),t=(0,d.get)(this,"updateMetadata.actionsPosition")
return e||t===E.ACTIONS_POSITION.ANNOUNCEMENT_COMPONENT||t===E.ACTIONS_POSITION.PROMO_COMPONENT_V2||t===E.ACTIONS_POSITION.SURVEY_COMPONENT||this.normalizedCarouselContent&&this.showADCarouselNavigationButtons}get isLeadGenFormUpdate(){return!!(0,d.get)(this,"update.leadGenFormContentV2")}get leadGenFormContent(){return this.isLeadGenFormUpdate?(0,d.get)(this,"update.leadGenFormContentV2"):{}}get isOutOfNetworkUpdate(){return(0,d.get)(this,"update.contextualHeader")&&!(0,d.get)(this,"update.actor")}get normalizedCommentary(){var e
return this.isCarouselResharedUpdate?(0,d.get)(this,"update.resharedUpdate.commentary"):null!==(e=(0,d.get)(this.leadGenFormContent,"commentary"))&&void 0!==e?e:(0,d.get)(this,"update.commentary")}get normalizedContent(){return this.isLeadGenFormUpdate?(0,d.get)(this.leadGenFormContent,"content"):this.isCarouselResharedUpdate?(0,d.get)(this,"update.resharedUpdate.content"):(0,d.get)(this,"update.content")||(0,d.get)(this,"update.contentUnion.articleComponent")||(0,d.get)(this,"update.contentUnion.actorComponent")||(0,d.get)(this,"update.contentUnion.imageComponent")||(0,d.get)(this,"update.contentUnion.commentaryComponent")||(0,d.get)(this,"update.contentUnion.entityComponent")||(0,d.get)(this,"update.contentUnion.buttonComponent")||(0,d.get)(this,"update.contentUnion.announcementComponent")||(0,d.get)(this,"update.contentUnion.textOverlayImageComponent")||(0,d.get)(this,"update.contentUnion.externalVideoComponent")||(0,d.get)(this,"update.contentUnion.jobComponent")||(0,d.get)(this,"update.contentUnion.celebrationComponent")||(0,d.get)(this,"update.contentUnion.callToActionComponent")||(0,d.get)(this,"update.contentUnion.pollComponent")||(0,d.get)(this,"update.contentUnion.eventComponent")||(0,d.get)(this,"update.contentUnion.postCtaComponent")||(0,d.get)(this,"update.contentUnion.showcaseComponent")||(0,d.get)(this,"update.contentUnion.surveyComponent")||(0,d.get)(this,"update.contentUnion.insightComponent")||(0,d.get)(this,"update.contentUnion.reviewComponent")}get normalizedCarouselContent(){if(!this.normalizedContent)return this.isLeadGenFormUpdate?(0,d.get)(this.leadGenFormContent,"carouselContent"):(0,d.get)(this,"update.carouselContent")}get channelId(){return this.isRequestSourceLAN?E.FeedConstants.REQUEST_SOURCE_LAN_SU_CHANNELID:(0,d.get)(this,"update.channelId")}get updateMetadata(){return(0,d.get)(this,"update.metadata")||(0,d.get)(this,"update.updateMetadata")}get updateTrackingObj(){return this.updateMetadata?new C.default(this.updateMetadata,this.feedActionEvent,this.sponsoredActionTracking,this.tracking,(0,d.get)(this,"update.updatePosition"),this.channelId,this.shouldSuppressTracking,this.customModuleKey):null}get showTranslateButton(){return(0,d.get)(this,"update.commentary.translationUrn")&&!this.isCurrentUserAuthor&&"SPONSORED"!==(0,d.get)(this,"updateMetadata.trackingData.sponsoredTracking.activityType")}get isCommentingDisabled(){return(0,d.get)(this,"update.socialDetail.socialPermissions")?!(0,d.get)(this,"update.socialDetail.socialPermissions.canPostComments"):(0,d.get)(this,"update.socialDetail.commentingDisabled")}get isCurrentUserAuthor(){const{update:e}=this
if(e){const t=(0,d.get)(e,"actor.image.attributes.firstObject.miniProfile.objectUrn")||(0,d.get)(e,"actor.name.attributes.firstObject.miniProfile.objectUrn")
return(0,d.get)(this,"authenticatedUser.miniProfile.objectUrn")===t}return!1}get actorsOverride(){const e=(0,d.get)(this,"authenticatedActor.miniCompany")
return e?[e]:void 0}get groupId(){return(0,d.get)(this,"updateMetadata.miniGroup.entityUrn")?(0,N.fromUrn)((0,d.get)(this,"updateMetadata.miniGroup.entityUrn")).id:null}get isShareAudiencePublic(){return"PUBLIC"===(0,d.get)(this,"updateMetadata.shareAudience")}get hasSocialDetail(){const e=!(0,p.isPresent)((0,d.get)(this,"update.showSocialDetail"))||(0,d.get)(this,"update.showSocialDetail")
return(0,p.isPresent)((0,d.get)(this,"update.socialDetail"))&&e}get hasBottomPadding(){const e=(0,O.classNameOf)((0,d.get)(this,"update.content"))
return!this.hasSocialDetail&&ft.includes(e)}get isTextOnlyPost(){return this.normalizedCommentary&&!this.normalizedContent&&(!(0,d.get)(this,"update.resharedUpdate")&&!this.normalizedCarouselContent||this.isCarouselResharedUpdate)}get commentaryNumLines(){const{isTextOnlyPost:e,isSponsored:t,isCarouselUpdate:n,hasInterstitial:a}=this
if(a)return 3
switch((0,d.get)(this,"normalizedCommentary.templateType")){case"VISUAL_BASED":return 5
case"TEXT_BASED":return 3}return n?e?15:2:e&&!t?5:t?(0,d.get)(this,"normalizedCommentary.numLines")||2:void 0}get shouldExpandCommentaryText(){return!this.hasInterstitial&&this.isDetailView}get rumComponentId(){const{normalizedContent:e,hasResharedUpdate:t,isLegacyGroupPost:n,isLeadGenFormUpdate:a,isSponsored:o}=this,i=(0,p.isPresent)(this.groupId),r=(0,d.get)(this,"update.resharedUpdate.content"),s=(0,d.get)(this,"update.highlightedComments.length"),l=(0,d.get)(this,"update.aggregatedContent"),c=(0,T.getComponentType)(this.normalizedCarouselContent),u=(0,T.getComponentType)(e)||(0,T.getComponentType)(r),m=["feed/update-v2"]
n&&m.push("legacy-group")
a&&m.push("lead-gen")
i&&m.push("group")
o?m.push("sponsored"):s?m.push("viral-comment"):t?m.push("reshare"):l?m.push("aggregated"):c&&m.push("carousel")
u&&m.push(u)
return m.join("/")}get hasLinkedInVideo(){const e=this.normalizedContent
return"linkedin-video"===(0,T.getComponentType)(e)}get hasDocument(){const e=this.normalizedContent
return"document"===(0,T.getComponentType)(e)}get shouldDisableAllSocialActions(){return(0,d.get)(this,"update.interstitial.interstitial.shouldShowInterstitial")}get shouldShowContentAdminIdentityToggle(){return this.isShareAudiencePublic&&this.lix.getTreatmentIsEnabled("voyager.web.organization-admin-contributions-feed")&&this.contentAdminIdentities.identities.length}get actor(){return this.localAuthenticatedActor||this.authenticatedActor||(0,w.default)(this.store,this.authenticatedUser)}init(){super.init(...arguments)
const e=(0,d.get)(this,"router.currentRouteName"),t=gt.includes(e),n=this.i18n.lookupTranslation("components/feed-shared@render-models/update-v2","save_comment_error")()
this.isRequestSourceLAN&&this.fireSponsoredViewFormTracking();(0,d.setProperties)(this,{commentaryInlineSeeMoreTrackingOverrides:{expandActionName:"expandCommentaryText",expandControlName:"commentary_expand"},commentNetworkErrorMessage:n,isAccuratePreview:t,updateAuthor:(0,d.get)(this,"update.actor"),a11yContext:{actor:(0,d.get)(this,"update.actor.name.attributes.firstObject"),context:"update"},caEngineName:this.caEngineName||"feed.update.feed-ca",currentCommentSortType:this.commentSort||E.FeedConstants.RELEVANCE,isHidden:!1,isLeadGenFormOpen:this.isRequestSourceLAN,isLegacyGroupPost:!!(0,d.get)(this,"update.socialDetail.legacyGroupPost"),isSponsored:!!this.sponsoredMetadata,newlyPostedComments:[],shouldOpenCommentsList:!!(0,d.get)(this,"update.highlightedComments.length"),showPremiumBranding:(0,d.get)(this,"update.header.showPremiumBranding"),commentingAtActor:(0,d.get)(this,"update.actor"),commentingAtActors:[(0,d.get)(this,"update.actor")],isEdgeToEdge:this._isEdgeToEdge(),elementId:(0,I.guidFor)(this)})}didInsertElement(){var e,t
super.didInsertElement(...arguments)
const{isSponsored:n}=this
null===(e=this.onUpdateInserted)||void 0===e||e.call(this)
null===(t=this.onUpdateInsertedForViewState)||void 0===t||t.call(this,this.element)
this.isLeadGenFormUpdate&&this._registerLeadGenFormURL()
n||this._addFIEObserver()
!this.canRequestConversationStarters||h.default.testing&&!this._isTestingDwellTimeRequest||this._setupUAFRequestViewportTrigger()}didRender(){super.didRender(...arguments)
if(!h.default.testing&&k.default&&this.updateIsAnchored&&!this.hasAnchored){const e=this.element.getBoundingClientRect().top-120,t=!1
if(e>0){A.default.scrollTo(window,{top:e,animate:t});(0,d.set)(this,"hasAnchored",!0)}}}willDestroyElement(){var e,t
super.willDestroyElement(...arguments)
null===(e=this._observer)||void 0===e||e.disconnect()
this.isLeadGenFormUpdate&&this._deregisterLeadGenFormURL()
if(this.element&&null===this.element.offsetParent){(0,d.set)(this,"isUpdateHidden",!0)
this.sponsoredMetadata&&"SPONSORED"===(0,d.get)(this.sponsoredMetadata,"activityType")&&this.clientSensor.incrementMetricCounter({groupName:_.CLIENT_SENSOR_GROUP_NAME,metricName:_.SponsoredClientSensorMetrics.SPONSORED_HIDDEN_UPDATES})}null===(t=this._observer)||void 0===t||t.disconnect()}onRequestReload(){}onImpressionHandler(e){let{cardIndex:t,event:n,associatedInputControlUrn:a}=e
if(this.slideIndex===t){const{element:e,tracking:t}=this
if(e){const o=this.constructImpressionEvent(n,e,a)
o.entities[0].duration<0&&this.clientSensor.incrementMetricCounter({groupName:_.CLIENT_SENSOR_GROUP_NAME,metricName:_.FeedTrackingClientSensorMetrics.NEGATIVE_FEED_IMPRESSION_DURATION})
t.fireTrackingPayload("FeedImpressionEvent",o)}}}constructImpressionEvent(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,d.get)(this,"updateMetadata.urn")||(0,d.get)(this,"update.urn"),r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:(0,d.get)(this,"updateMetadata.trackingData.trackingId")||(0,d.get)(this,"update.tracking.trackingId")
if(this.shouldFireCarouselImpressionTracking)t={row:this.impressionRowPosition||0,column:this.impressionColumnPosition||0}
else{const t=(0,d.get)(this,"update.updatePosition")
e=(0,p.isPresent)(t)?{index:t}:{index:1}}const s=(0,d.get)(this,"updateMetadata.trackingData.searchId"),l={timeZoneOffsetMinutes:-1*(new Date).getTimezoneOffset(),entities:[{urn:i,trackingId:r,visibleTime:n.visibleTime||0,visibleHeight:n.visibleHeight,duration:n.duration,listPosition:e,gridPosition:t,size:{width:a.clientWidth,height:a.clientHeight},associatedInputControlUrn:o}]}
s&&(l.searchId=s)
return l}fireSponsoredImpressionEvent(e,t,n,a,o){let{duration:i}=e
if(i>=(h.default.testing?0:1e3)&&k.default){const e=document.querySelector(`#${a}`)
e&&null===e.offsetParent?n.logError(new Error(`fireSponsoredImpressionEvent called even for hidden updates. Duration - ${i}. Update Position - ${o}`),E.JET_TAGS.UPDATEV2_INVALID_IMPRESSION_TRACKING,!1):t.fireSponsoredTrackingEvent({actionType:"impression"},{duration:i})}}fireSponsoredViewFormTracking(){this.updateTrackingObj.fireFeedActionAndSponsoredTrackingEvents({actionCategory:"VIEW",actionType:"viewForm",controlName:"call_to_action"})}navigateToDetailTracking(){const e=this.isSponsored?"commentary_text":"object_description"
this.updateTrackingObj.fireFeedActionAndSponsoredTrackingEvents({controlName:e,actionType:"viewUpdateDetail",actionCategory:"VIEW"})}onEditShareSuccess(e){(0,p.isPresent)(e)&&(0,d.set)(this,"update",e)}fireCustomTracking(e){if(!e){this.jet.logError(new Error("fireCustomTracking called without a trackingPayload"),E.JET_TAGS.FEED_CUSTOM_TRACKING)
return}const{actionCategory:t,actionType:n,controlName:a}=e
t&&n&&a?this.updateTrackingObj.fireFeedActionAndSponsoredTrackingEvents(e):this.jet.logError(new Error(`fireCustomTracking called with invalid trackingPayload ${t} ${n} ${a}`),E.JET_TAGS.FEED_CUSTOM_TRACKING)}hideOrUnhideUpdateOnAction(e){let{shouldHide:t,menuAction:n,shouldReloadFeed:a}=e
a&&this.onRequestReload();(0,d.setProperties)(this.update,{menuAction:n,isHidden:t})}onCommentsTotalClick(){(0,g.readDOM)((()=>{if(!this.isDestroying){const e=this.element.querySelector(".comments-comments-list")
e&&(0,S.default)(e)}}))}onToggleCommenting(e){const t="DISABLE_COMMENTS"===(0,d.get)(e,"actionType"),[n,a]=(0,b.toggleCommentingRequest)((0,d.get)(e,"targetUrn"),t?"disableComments":"enableComments")
return this.store.adapterFor("-ember-m3").ajax(n,a).then((()=>{(0,d.set)(this,"update.socialDetail.commentingDisabled",t);(0,d.set)(this,"update.socialDetail.socialPermissions.canPostComments",!t)
t&&(0,d.set)(this,"update.socialDetail.totalSocialActivityCounts.numComments",0)}),(e=>{const t=this.i18n.lookupTranslation("components/feed-shared@render-models/update-v2","network_error_occurred")()
t&&this.persistentToastManager.error({message:t})
throw e}))}updateCommentRestrictionSetting(e,t){const[n,a,o]=(0,b.updateCommentRestrictionSettingRequest)(e,t)
return this.store.adapterFor("-ember-m3").ajax(n,a,o).then((()=>{(0,d.set)(this,"update.socialDetail.allowedCommentersScope",t)
if(t===m.ALLOWED_COMMENTERS_SCOPE.NONE){(0,d.set)(this,"update.socialDetail.commentingDisabled",!0);(0,d.set)(this,"update.socialDetail.socialPermissions.canPostComments",!1);(0,d.set)(this,"update.socialDetail.totalSocialActivityCounts.numComments",0)}else{(0,d.set)(this,"update.socialDetail.commentingDisabled",!1);(0,d.set)(this,"update.socialDetail.socialPermissions.canPostComments",!0)}const e=this.i18n.lookupTranslation("components/update-components@control-menu/comment-restriction-settings-modal",{ALL:"comment_restriction_success_ALL",CONNECTIONS_ONLY:"comment_restriction_success_CONNECTIONS_ONLY",NONE:"comment_restriction_success_NONE"}[t])()
this.persistentToastManager.success({message:e})}),(e=>{const t=this.i18n.lookupTranslation("components/update-components@control-menu/comment-restriction-settings-modal","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]:{}
const t=this.update;(0,d.setProperties)(t,e)}switchActorIdentity(e){const t=this.feedActionEvent.getModuleKeyForCurrentPage(),n=(0,d.get)(this,"updateMetadata.shareUrn")||(0,d.get)(this,"updateMetadata.urn"),a="company"===(0,d.get)(e,"actorType")&&(0,N.fromUrn)((0,d.get)(e,"miniCompany.entityUrn")).id,o=a?(0,y.findRequestV2)(n,t,a):(0,y.findRequestV2)(n,t)
return this.store.queryURL(o,{reload:!0}).then((t=>{if(!this.isDestroying){const n=(0,d.get)(t,"elements.firstObject");(0,d.set)(this,"update",n)
this.socialCountsService.registerSocialCounts((0,d.get)(this.update,"socialDetail"));(0,d.set)(this,"localAuthenticatedActor",e)
this._updateCommentBoxEditorPlaceholder()
return(0,D.resolve)()}return null})).catch((e=>{if(e&&e.isAdapterError)throw e}))}reloadUpdate(){const e=this.feedActionEvent.getModuleKeyForCurrentPage(),t=(0,d.get)(this,"updateMetadata.urn"),n=(0,y.getUpdateByUpdateIdRequest)(t,e),{store:a}=this
return a.adapterFor("-ember-m3").ajax(...n).then((e=>{a.serializerFor("-ember-m3").pushPayload(a,e)}))}toggleIsEditingShare(e){(0,d.set)(this,"isEditingShare",e)}openLeadGenForm(){(0,d.set)(this,"isLeadGenFormOpen",!0)}closeLeadGenForm(e){if(e){const{clientSensor:t}=this
e.then((()=>{t.incrementMetricCounter({groupName:_.CLIENT_SENSOR_GROUP_NAME,metricName:_.SponsoredClientSensorMetrics.SPONSORED_LEADGEN_V2_SUBMISSION_SUCCESS})
this.isDestroying||(0,d.set)(this,"isLeadGenSubmitted",!0)})).catch((e=>{t.incrementMetricCounter({groupName:_.CLIENT_SENSOR_GROUP_NAME,metricName:_.SponsoredClientSensorMetrics.SPONSORED_LEADGEN_V2_SUBMISSION_FAILURE})
const n=e&&(0,d.get)(e,"errors.firstObject.status"),a=n&&parseInt(n,10)
if(403!==a&&500!==a)throw e}))}else(0,d.set)(this,"isLeadGenFormOpen",!1)}onClickInlineFeedbackLink(e){const t=(0,d.get)(e,"inlineFeedBack.link.url"),n=(0,d.get)(e,"inlineFeedBack.controlName"),{updateTrackingObj:a}=this
this.windowService.open(jSecure.sanitizeUrl((0,P.generateUrlByDomain)(t)),"_blank")
a.fireControlInteractionEvent(n)
a.fireFeedActionAndSponsoredTrackingEvents({actionType:(0,d.get)(e,"actionType"),actionCategory:"VIEW",controlName:n})}onTrackImpression(){if(!this.update)return()=>[]
if(!this.isDestroying){if(this.shouldSuppressImpressionEvents)return()=>[]
const e=this.constructImpressionEvent(void 0,this.element),{updateTrackingObj:t,jet:n,fireSponsoredImpressionEvent:a,clientSensor:o,elementId:i}=this,r=this.isSponsored&&!(0,d.get)(this,"shouldSuppressTracking.sponsored"),s=(0,d.get)(this,"update.updatePosition")
return l=>{r&&a(l,t,n,i,s)
const d=e.entities[0]
e.entities[0]=Object.assign(d,{visibleTime:l.visibleTime,visibleHeight:l.visibleHeight,duration:l.duration,urn:d.urn,trackingId:d.trackingId})
e.entities[0].duration<0&&o.incrementMetricCounter({groupName:_.CLIENT_SENSOR_GROUP_NAME,metricName:_.FeedTrackingClientSensorMetrics.NEGATIVE_FEED_IMPRESSION_DURATION})
return{body:e,name:"FeedImpressionEvent"}}}return()=>[]}_setupUAFRequestViewportTrigger(){const e=this.conversationStartersDwellValue
this._observer=new v.default((t=>{this.isDestroying||t.forEach((t=>{t.isIntersecting&&(t.intersectionRatio>=.8?this.requestTask=(0,f.runTask)(this,(()=>{const e=(0,d.get)(this,"update.socialDetail.urn")
if(e){var t
null===(t=this.onTriggerUpdateAttachment)||void 0===t||t.call(this,E.UPDATE_ATTACHMENT_TRIGGER_ACTIONS.VIEW_POST,[e])}(0,d.set)(this,"conversationStartersUseCase","VIEW_POST")}),e):(0,f.cancelTask)(this,this.requestTask))}))}),{threshold:[0,.8]})
this._observer.observe(this.element)}_registerLeadGenFormURL(){const e=(0,d.set)(this,"leadGenFormURL",`${(0,P.getDomainUrl)()}/leadGenForm/${(0,d.get)(this.leadGenFormContent,"leadGenForm.entityUrn")}`)
this.cncRouter.registerHandler(e,(0,d.get)(this,"actions.openLeadGenForm").bind(this))}_deregisterLeadGenFormURL(){k.default&&this.cncRouter.deleteHandler(this.leadGenFormURL)}_isEdgeToEdge(){const e=(0,T.getComponentType)(this.normalizedContent)
return yt.includes(e)}_addFIEObserver(){k.default&&this.element&&(0,g.readDOM)((()=>{if(this.isDestroying)return
const e=this.element.offsetHeight,t=this.windowService.window.innerHeight-52,n=t/2/e,a=h.default.testing?0:300
if(e>2*t){let e=0
const t=t=>t.forEach((t=>{const o=t.isIntersecting&&t.intersectionRatio>n
if(o&&!e)e=t.time
else if(!o&&e>=a){const n=this.constructImpressionEvent({duration:t.time-e,visibleTime:t.time},this.element)
n.entities[0].duration<0&&this.clientSensor.incrementMetricCounter({groupName:_.CLIENT_SENSOR_GROUP_NAME,metricName:_.FeedTrackingClientSensorMetrics.NEGATIVE_FEED_IMPRESSION_DURATION})
this.tracking.fireTrackingPayload("FeedImpressionEvent",n)}}))
this._observer=new v.default(t,{threshold:n})
this._observer.observe(this.element)}}))}_isUpdateHidden(){return this.isUpdateHidden||this.element&&null===this.element.offsetParent}_updateCommentBoxEditorPlaceholder(){k.default&&(0,M.later)((()=>{const e=document.querySelector(`#${this.elementId} .ql-editor`)
if(e){let t
t="company"===(0,d.get)(this.actor,"actorType")?this.i18n.lookupTranslation("components/comments@comment-box","admin_placeholder_comment")([{actorName:(0,d.get)(this.actor,"miniCompany.name")}]):this.i18n.lookupTranslation("components/comments@comment-box","placeholder_comment")()
null==e||e.setAttribute("data-placeholder",t)
null==e||e.setAttribute("aria-placeholder",t)}}))}},He=(0,a.default)(ze.prototype,"store",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Be=(0,a.default)(ze.prototype,"i18n",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),qe=(0,a.default)(ze.prototype,"authenticatedUser",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ye=(0,a.default)(ze.prototype,"contentAdminIdentities",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),We=(0,a.default)(ze.prototype,"lix",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ke=(0,a.default)(ze.prototype,"feedActionEvent",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Qe=(0,a.default)(ze.prototype,"sponsoredActionTracking",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$e=(0,a.default)(ze.prototype,"persistentToastManager",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Xe=(0,a.default)(ze.prototype,"tracking",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ze=(0,a.default)(ze.prototype,"router",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Je=(0,a.default)(ze.prototype,"cncRouter",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),et=(0,a.default)(ze.prototype,"jet",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),tt=(0,a.default)(ze.prototype,"windowService",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),nt=(0,a.default)(ze.prototype,"clientSensor",[$],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),at=(0,a.default)(ze.prototype,"socialCountsService",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(ze.prototype,"canRequestConversationStarters",[Z],Object.getOwnPropertyDescriptor(ze.prototype,"canRequestConversationStarters"),ze.prototype),(0,a.default)(ze.prototype,"isCarouselResharedUpdate",[J],Object.getOwnPropertyDescriptor(ze.prototype,"isCarouselResharedUpdate"),ze.prototype),(0,a.default)(ze.prototype,"showHeader",[ee],Object.getOwnPropertyDescriptor(ze.prototype,"showHeader"),ze.prototype),(0,a.default)(ze.prototype,"headerPaddingClass",[te],Object.getOwnPropertyDescriptor(ze.prototype,"headerPaddingClass"),ze.prototype),(0,a.default)(ze.prototype,"detailHeaderPaddingClass",[ne],Object.getOwnPropertyDescriptor(ze.prototype,"detailHeaderPaddingClass"),ze.prototype),(0,a.default)(ze.prototype,"hasElevation",[ae],Object.getOwnPropertyDescriptor(ze.prototype,"hasElevation"),ze.prototype),(0,a.default)(ze.prototype,"isActionsPositionInContent",[oe],Object.getOwnPropertyDescriptor(ze.prototype,"isActionsPositionInContent"),ze.prototype),(0,a.default)(ze.prototype,"isLeadGenFormUpdate",[ie],Object.getOwnPropertyDescriptor(ze.prototype,"isLeadGenFormUpdate"),ze.prototype),(0,a.default)(ze.prototype,"leadGenFormContent",[re],Object.getOwnPropertyDescriptor(ze.prototype,"leadGenFormContent"),ze.prototype),(0,a.default)(ze.prototype,"isOutOfNetworkUpdate",[se],Object.getOwnPropertyDescriptor(ze.prototype,"isOutOfNetworkUpdate"),ze.prototype),(0,a.default)(ze.prototype,"normalizedCommentary",[le],Object.getOwnPropertyDescriptor(ze.prototype,"normalizedCommentary"),ze.prototype),(0,a.default)(ze.prototype,"normalizedContent",[de],Object.getOwnPropertyDescriptor(ze.prototype,"normalizedContent"),ze.prototype),(0,a.default)(ze.prototype,"normalizedCarouselContent",[ce],Object.getOwnPropertyDescriptor(ze.prototype,"normalizedCarouselContent"),ze.prototype),ot=(0,a.default)(ze.prototype,"shouldSuppressImpressionEvents",[ue],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),it=(0,a.default)(ze.prototype,"openLinksExternally",[pe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(ze.prototype,"channelId",[me],Object.getOwnPropertyDescriptor(ze.prototype,"channelId"),ze.prototype),(0,a.default)(ze.prototype,"updateMetadata",[he],Object.getOwnPropertyDescriptor(ze.prototype,"updateMetadata"),ze.prototype),(0,a.default)(ze.prototype,"updateTrackingObj",[ge],Object.getOwnPropertyDescriptor(ze.prototype,"updateTrackingObj"),ze.prototype),(0,a.default)(ze.prototype,"showTranslateButton",[fe],Object.getOwnPropertyDescriptor(ze.prototype,"showTranslateButton"),ze.prototype),rt=(0,a.default)(ze.prototype,"sortCommentsByRelevance",[be],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(ze.prototype,"isCommentingDisabled",[ye],Object.getOwnPropertyDescriptor(ze.prototype,"isCommentingDisabled"),ze.prototype),(0,a.default)(ze.prototype,"isCurrentUserAuthor",[Te],Object.getOwnPropertyDescriptor(ze.prototype,"isCurrentUserAuthor"),ze.prototype),(0,a.default)(ze.prototype,"actorsOverride",[_e],Object.getOwnPropertyDescriptor(ze.prototype,"actorsOverride"),ze.prototype),st=(0,a.default)(ze.prototype,"comments",[Ee],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(ze.prototype,"groupId",[Ce],Object.getOwnPropertyDescriptor(ze.prototype,"groupId"),ze.prototype),lt=(0,a.default)(ze.prototype,"hasContent",[Oe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),dt=(0,a.default)(ze.prototype,"hasResharedUpdate",[ve],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(ze.prototype,"isShareAudiencePublic",[ke],Object.getOwnPropertyDescriptor(ze.prototype,"isShareAudiencePublic"),ze.prototype),(0,a.default)(ze.prototype,"hasSocialDetail",[Se],Object.getOwnPropertyDescriptor(ze.prototype,"hasSocialDetail"),ze.prototype),(0,a.default)(ze.prototype,"hasBottomPadding",[Ae],Object.getOwnPropertyDescriptor(ze.prototype,"hasBottomPadding"),ze.prototype),ct=(0,a.default)(ze.prototype,"hasActor",[Pe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(ze.prototype,"isTextOnlyPost",[Ne],Object.getOwnPropertyDescriptor(ze.prototype,"isTextOnlyPost"),ze.prototype),(0,a.default)(ze.prototype,"commentaryNumLines",[Ie],Object.getOwnPropertyDescriptor(ze.prototype,"commentaryNumLines"),ze.prototype),(0,a.default)(ze.prototype,"shouldExpandCommentaryText",[we],Object.getOwnPropertyDescriptor(ze.prototype,"shouldExpandCommentaryText"),ze.prototype),(0,a.default)(ze.prototype,"rumComponentId",[De],Object.getOwnPropertyDescriptor(ze.prototype,"rumComponentId"),ze.prototype),(0,a.default)(ze.prototype,"hasLinkedInVideo",[Me],Object.getOwnPropertyDescriptor(ze.prototype,"hasLinkedInVideo"),ze.prototype),(0,a.default)(ze.prototype,"hasDocument",[Ue],Object.getOwnPropertyDescriptor(ze.prototype,"hasDocument"),ze.prototype),ut=(0,a.default)(ze.prototype,"sponsoredMetadata",[Re],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pt=(0,a.default)(ze.prototype,"likersModalSocialDetail",[Le],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),mt=(0,a.default)(ze.prototype,"socialDetail",[xe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(ze.prototype,"shouldDisableAllSocialActions",[je],Object.getOwnPropertyDescriptor(ze.prototype,"shouldDisableAllSocialActions"),ze.prototype),(0,a.default)(ze.prototype,"shouldShowContentAdminIdentityToggle",[Fe],Object.getOwnPropertyDescriptor(ze.prototype,"shouldShowContentAdminIdentityToggle"),ze.prototype),(0,a.default)(ze.prototype,"actor",[Ge],Object.getOwnPropertyDescriptor(ze.prototype,"actor"),ze.prototype),(0,a.default)(ze.prototype,"navigateToDetailTracking",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"navigateToDetailTracking"),ze.prototype),(0,a.default)(ze.prototype,"onEditShareSuccess",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"onEditShareSuccess"),ze.prototype),(0,a.default)(ze.prototype,"fireCustomTracking",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"fireCustomTracking"),ze.prototype),(0,a.default)(ze.prototype,"hideOrUnhideUpdateOnAction",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"hideOrUnhideUpdateOnAction"),ze.prototype),(0,a.default)(ze.prototype,"onCommentsTotalClick",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"onCommentsTotalClick"),ze.prototype),(0,a.default)(ze.prototype,"onToggleCommenting",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"onToggleCommenting"),ze.prototype),(0,a.default)(ze.prototype,"updateCommentRestrictionSetting",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"updateCommentRestrictionSetting"),ze.prototype),(0,a.default)(ze.prototype,"updateModelWithProperties",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"updateModelWithProperties"),ze.prototype),(0,a.default)(ze.prototype,"switchActorIdentity",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"switchActorIdentity"),ze.prototype),(0,a.default)(ze.prototype,"reloadUpdate",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"reloadUpdate"),ze.prototype),(0,a.default)(ze.prototype,"toggleIsEditingShare",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"toggleIsEditingShare"),ze.prototype),(0,a.default)(ze.prototype,"openLeadGenForm",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"openLeadGenForm"),ze.prototype),(0,a.default)(ze.prototype,"closeLeadGenForm",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"closeLeadGenForm"),ze.prototype),(0,a.default)(ze.prototype,"onClickInlineFeedbackLink",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"onClickInlineFeedbackLink"),ze.prototype),(0,a.default)(ze.prototype,"onTrackImpression",[d.action],Object.getOwnPropertyDescriptor(ze.prototype,"onTrackImpression"),ze.prototype),ze))||Ve)||Ve)||Ve)
e.default=Tt;(0,i.setComponentTemplate)(ht,Tt)}))
define.alias("ember-finite-scroll/components/sentinel","feed-shared/components/sentinel")
define.alias("ember-cloud-filepicker/components/slideshare-file-picker","feed-shared/components/slideshare-file-picker")
define("feed-shared/components/sortable-group",["exports","ember-sortable/components/sortable-group"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var n=t.default
e.default=n}))
define("feed-shared/components/sortable-handle",["exports","ember-sortable/components/sortable-handle"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var n=t.default
e.default=n}))
define("feed-shared/components/sortable-item",["exports","ember-sortable/components/sortable-item"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var n=t.default
e.default=n}))
define("feed-shared/components/sponsored-external-video-container",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/service","@ember/object","feed-shared/components/video-container","feed-tracking/utils/sponsored-video-view-tracker","video-utils/utils/video-constants","tracked-toolbox"],(function(e,t,n,a,o,i,r,s,l,d,c){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var u,p,m,h,g,f,b,y,T
let _=(u=(0,i.inject)("global-services@xhr"),p=(0,i.inject)("date"),m=(0,i.inject)("client-sensor-web@client-sensor"),h=(0,i.inject)("lix"),g=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"xhr",f,this);(0,t.default)(this,"dateService",b,this);(0,t.default)(this,"clientSensorService",y,this);(0,t.default)(this,"lixService",T,this);(0,n.default)(this,"isSponsoredContainer",!0)}get sponsoredVideoViewTracker(){return new l.default((0,r.get)(this.args,"updateTrackingObj.updatePosition")||-1,(0,r.get)(this.args,"updateMetadata.trackingData"),(0,r.get)(this.args,"updateTrackingObj.sponsoredTrackingService.channelId"),this.xhr,this.dateService,this.clientSensorService,this.lixService,this.shouldSuppressTracking)}handleThumbnailClick(){super.handleThumbnailClick(...arguments)
const e=(0,r.get)(this.args.model,"navigationContext.trackingActionType")
this.sponsoredVideoViewTracker.fireVideoActionEvent(e,d.VIDEO_CONTROL_NAMES.EXTERNAL_VIDEO_IMAGE)}},f=(0,a.default)(g.prototype,"xhr",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,a.default)(g.prototype,"dateService",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,a.default)(g.prototype,"clientSensorService",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,a.default)(g.prototype,"lixService",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(g.prototype,"sponsoredVideoViewTracker",[c.cached],Object.getOwnPropertyDescriptor(g.prototype,"sponsoredVideoViewTracker"),g.prototype),(0,a.default)(g.prototype,"handleThumbnailClick",[r.action],Object.getOwnPropertyDescriptor(g.prototype,"handleThumbnailClick"),g.prototype),g)
e.default=_}))
define("feed-shared/components/tagged-entities",["exports","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/component","@ember/template-factory","@glimmer/component","@ember/object"],(function(e,t,n,a,o,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var r
const s=(0,a.createTemplateFactory)({id:"Bx8jKjWv",block:'[[[10,0],[14,0,"full-width"],[12],[1,"\\n  "],[10,"ul"],[14,0,"artdeco-list artdeco-list--offset-1"],[12],[1,"\\n"],[42,[28,[37,1],[[28,[37,1],[[30,1]],null]],null],null,[[[1,"      "],[10,"li"],[14,0,"artdeco-list__item artdeco-list__item--offset-1 ph0"],[12],[1,"\\n        "],[8,[39,2],[[24,0,"feed-shared-celebration__meta-link link-without-hover-state"],[24,"target","_self"],[4,[38,3],["click",[28,[37,4],[[30,0,["onTaggedPeopleClick"]],[30,2,["navigationContext","trackingActionType"]]],null]],null]],[["@href","@useDefaultLinkBehavior"],[[30,2,["navigationContext","actionTarget"]],false]],[["default"],[[[[1,"\\n          "],[8,[39,5],null,[["@size"],[4]],[["default"],[[[[1,"\\n            "],[8,[30,3,["image"]],null,[["@type"],["circle"]],[["default"],[[[[1,"\\n              "],[8,[39,6],null,[["@images","@entitySize"],[[30,2,["image"]],4]],null],[1,"\\n            "]],[]]]]],[1,"\\n            "],[8,[30,3,["content"]],null,[["@class"],["pl2"]],[["default"],[[[[1,"\\n              "],[8,[30,3,["title"]],null,null,[["default"],[[[[1,"\\n                "],[1,[28,[35,7],[[30,2,["name"]]],null]],[1,"\\n              "]],[]]]]],[1,"\\n              "],[8,[30,3,["badge"]],null,[["@degreeText"],[[30,2,["supplementaryActorInfo","text"]]]],null],[1,"\\n              "],[8,[30,3,["caption"]],null,null,[["default"],[[[[1,"\\n                "],[1,[28,[35,7],[[30,2,["description"]]],null]],[1,"\\n              "]],[]]]]],[1,"\\n            "]],[]]]]],[1,"\\n          "]],[3]]]]],[1,"\\n        "]],[]]]]],[1,"\\n      "],[13],[1,"\\n"]],[2]],[[[1,"      "],[8,[39,8],null,[["@class"],["block mhA"]],null],[1,"\\n"]],[]]],[1,"  "],[13],[1,"\\n"],[13]],["@taggedEntities","entity","elements"],false,["each","-track-array","app-aware-link@navigation-context-link","on","fn","artdeco-entity-lockup@artdeco-entity-lockup","image-view-model@image-view-model","text-view-model@text-view-model","artdeco-loader@artdeco-loader"]]',moduleName:"feed-shared/components/tagged-entities.hbs",isStrictMode:!1})
let l=(r=class extends o.default{onTaggedPeopleClick(e){var t
const n=null===(t=this.args)||void 0===t?void 0:t.updateTrackingObj
if(n){n.fireControlInteractionEvent("celebrations_tagged_list_actor")
n.fireFeedActionAndSponsoredTrackingEvents({controlName:"celebrations_tagged_list_actor",actionType:e,actionCategory:"VIEW"})}}},(0,t.default)(r.prototype,"onTaggedPeopleClick",[i.action],Object.getOwnPropertyDescriptor(r.prototype,"onTaggedPeopleClick"),r.prototype),r)
e.default=l;(0,n.setComponentTemplate)(s,l)}))
define("feed-shared/components/tap-target-overlay",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","ember-batcher","feed-shared/utils/constants","global-utils/utils/html-safe","feed-utils/utils/orient-tags","ember-lifeline","@glimmer/tracking","tracked-toolbox"],(function(e,t,n,a,o,i,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,y,T,_
const E=(0,r.createTemplateFactory)({id:"UWU3II5+",block:'[[[11,"button"],[16,0,[52,[30,0,["hideTags"]],"feed-shared-tap-target-overlay--hidden-tags"]],[24,"tabindex","-1"],[24,4,"button"],[4,[38,1],["click",[30,0,["toggleShowTags"]]],null],[12],[1,"\\n  "],[18,3,null],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[30,0,["tags"]]],null]],null],null,[[[1,"    "],[8,[39,5],[[16,0,[29,[[30,0,["tagClass"]]," fixed"]]],[16,"data-tag-id",[30,2]],[4,[38,6],[[30,0,["handleDidInsertTag"]],[30,2]],null]],[["@tag","@onTagClick","@onUntagClick"],[[30,1],[30,0,["onTagClick"]],[30,0,["onUntagClick"]]]],null],[1,"\\n"]],[1,2]],null],[1,"\\n"],[41,[30,0,["tags","length"]],[[[1,"    "],[10,0],[14,0,"feed-shared-tap-target-overlay__toggle-button fixed inline-block"],[15,5,[30,0,["tagToggleButtonStyles"]]],[12],[1,"\\n      "],[8,[39,7],[[16,0,[52,[30,0,["showTags"]],"feed-shared-tap-target-overlay__toggle-button--on","feed-shared-tap-target-overlay__toggle-button--off"]]],[["@type","@color","@circle","@icon","@size","@click"],["primary",[52,[30,0,["showTags"]],"default","inverse"],true,"tag-icon",1,[30,0,["toggleShowTags"]]]],null],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[13]],["tag","index","&default"],false,["if","on","yield","each","-track-array","feed-shared@photo-tag","did-insert","artdeco-button@artdeco-button"]]',moduleName:"feed-shared/components/tap-target-overlay.hbs",isStrictMode:!1}),{TAP_TARGET_ATTRIBUTE_TYPES:C}=c.FeedConstants
let O=(f=(0,g.localCopy)("args.showTags"),b=class extends s.default{constructor(){super(...arguments);(0,n.default)(this,"tagClass","feed-shared-tap-target-overlay__tag");(0,t.default)(this,"showTags",y,this);(0,t.default)(this,"hasPositionedElements",T,this);(0,t.default)(this,"tagToggleButtonStyles",_,this)}get hideTags(){return!this.showTags||!this.hasPositionedElements}get tags(){var e
return(null!==(e=this.args.tapTargets)&&void 0!==e?e:[]).filter((e=>(0,l.get)(e,"type")===C.tags))}handleDidInsertTag(e,t){let[n]=t
0===n&&(this.hasPositionedElements=!1)
if(n===this.tags.length-1){const t=e.parentElement;(0,d.readDOM)((()=>{const e=t.querySelector("img"),n=t.querySelector("div")
e?e.complete?this.handlePositioning(e,t):["load","error"].forEach((n=>{const a=()=>{this.handlePositioning(e,t);(0,m.removeEventListener)(this,e,n,a)};(0,m.addEventListener)(this,e,n,a)})):n&&this.handlePositioning(n,t)}))
this.showTags=this.args.showTags}}toggleShowTags(e){this.showTags=!this.showTags
this._fireTagsTracking(this.showTags)
e.stopPropagation()}onTagClick(){var e
null===(e=this.args.updateTrackingObj)||void 0===e||e.fireFeedActionAndSponsoredTrackingEvents({controlName:"photo_tag",actionCategory:"VIEW",actionType:"viewMember"})}onUntagClick(e){var t,n
const{updateTrackingObj:a}=this.args
a&&a.fireFeedActionAndSponsoredTrackingEvents({controlName:"photo_tag",actionType:"removeTag",actionCategory:"DELETE"})
null===(t=(n=this.args).onUntagClickAction)||void 0===t||t.call(n,e)}handlePositioning(e,t){(0,d.readDOM)((()=>{const n=`.${this.tagClass}`,a=t.querySelectorAll(n),o=e.getBoundingClientRect();(0,d.mutateDOM)((()=>{this.positionTagToggle(o)
this.positionTags(o,a);(0,p.orientTags)(e,a)
this.hasPositionedElements=!0}))}))}positionTagToggle(e){let{x:t,y:n}=e
const a=t+8,o=n+8
this.tagToggleButtonStyles=(0,u.default)(`bottom: ${o}px; left: ${a}px`)}positionTags(e){let{x:t,y:n,width:a,height:o}=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]
if(!i.length)return
const{tags:r}=this
i.forEach((e=>{const i=e.dataset.tagId,s=r[i],d=o*(0,l.get)(s,"firstCornerYOffsetPercentage")+n,c=a*(0,l.get)(s,"firstCornerXOffsetPercentage")+t
e.style=(0,u.default)(`top: ${d}px; left: ${c}px`)}))}_fireTagsTracking(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0]
const{updateTrackingObj:t}=this.args
if(t){t.fireControlInteractionEvent("tagging_tags_toggle")
t.fireFeedActionAndSponsoredTrackingEvents({controlName:"object",actionCategory:e?"VIEW":"HIDE",actionType:e?"toggleOnNametags":"toggleOffNametags"})}}},y=(0,a.default)(b.prototype,"showTags",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,a.default)(b.prototype,"hasPositionedElements",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),_=(0,a.default)(b.prototype,"tagToggleButtonStyles",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(b.prototype,"handleDidInsertTag",[l.action],Object.getOwnPropertyDescriptor(b.prototype,"handleDidInsertTag"),b.prototype),(0,a.default)(b.prototype,"toggleShowTags",[l.action],Object.getOwnPropertyDescriptor(b.prototype,"toggleShowTags"),b.prototype),(0,a.default)(b.prototype,"onTagClick",[l.action],Object.getOwnPropertyDescriptor(b.prototype,"onTagClick"),b.prototype),(0,a.default)(b.prototype,"onUntagClick",[l.action],Object.getOwnPropertyDescriptor(b.prototype,"onUntagClick"),b.prototype),b)
e.default=O;(0,i.setComponentTemplate)(E,O)}))
define("feed-shared/components/translation-menu",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@ember/service","@glimmer/tracking","@ember/object","@glimmer/component"],(function(e,t,n,a,o,i,r,s,l,d,c){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var u,p,m,h,g,f
const b=(0,r.createTemplateFactory)({id:"oSONxalK",block:'[[[11,0],[17,1],[12],[1,"\\n  "],[8,[39,0],null,[["@on","@onClick"],["click",[30,2]]],[["default"],[[[[1,"\\n    "],[8,[39,1],[[16,"aria-controls",[30,3,["ariaId"]]],[16,"aria-expanded",[30,3,["ariaExpanded"]]],[16,"aria-describedby",[30,3,["ariaId"]]]],[["@class","@type","@color","@size"],[[52,[30,4],"feed-shared-translation-menu__trigger--on-dark"],"tertiary","default",1]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"feed-shared-translation-menu__header"],[12],[1,[28,[35,3],["rate_translation","feed-shared/components/translation-menu"],null]],[13],[1,[28,[35,4],null,[["class","size","type"],["feed-shared-translation-menu__rate-icon","small","language-icon"]]]]],[]]]]],[1,"\\n\\n    "],[8,[30,3,["artdeco-hoverable-content"]],null,[["@contentClass","@theme"],[[28,[37,5],["feed-shared-translation-menu",[52,[30,5]," feed-shared-translation-menu--in-modal"]],null],"inverse"]],[["default"],[[[[1,"\\n      "],[10,0],[14,0,"text-align-center pb4 t-14 t-black t-normal"],[12],[1,"\\n        "],[1,[52,[30,6],[30,6],[28,[37,3],["rate_translation","feed-shared/components/translation-menu"],null]]],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"feed-shared-translation-menu__stars display-flex justify-center"],[12],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,7]],null]],null],null,[[[1,"          "],[10,"button"],[15,"onclick",[28,[37,8],[[30,9],[30,8]],null]],[15,"onmouseenter",[28,[37,8],[[30,10],[30,8]],null]],[15,"onmouseleave",[30,11]],[14,4,"button"],[12],[1,"\\n            "],[1,[28,[35,4],null,[["type","class"],[[52,[30,8,["empty"]],"star-icon","star-filled-icon"],[28,[37,5],["feed-shared-translation-menu__star-icon",[52,[51,[30,8,["empty"]]]," feed-shared-translation-menu__star-icon--filled"]],null]]]]],[1,"\\n          "],[13],[1,"\\n"]],[8]],null],[1,"      "],[13],[1,"\\n      "],[10,"hr"],[14,0,"artdeco-divider mv0"],[12],[13],[1,"\\n      "],[10,0],[14,0,"feed-shared-translation-menu__actions"],[12],[1,"\\n"],[41,[30,12],[[[1,"          "],[8,[39,1],[[4,[38,10],["never_translate_click"],null]],[["@class","@click","@type","@color"],["t-14 p3 full-width justify-flex-start",[30,0,["fireTrackingAndOpenConfirmationModal"]],"tertiary","muted"]],[["default"],[[[[1,[28,[35,4],null,[["type","size","class"],["speech-bubble-slash-icon","large","v-align-bottom mr3"]]]],[1,[28,[35,3],["do_not_translate","feed-shared/components/translation-menu"],[["language"],[[30,12]]]]]],[]]]]],[1,"\\n"]],[]],null],[1,"        "],[8,[39,11],[[4,[38,10],["language_settings_click"],null]],[["@href","@class","@onclick","@target"],["/psettings/select-language-for-translation","t-14 p3 mb3 full-width justify-flex-start artdeco-button artdeco-button--muted artdeco-button--tertiary",[28,[37,8],[[30,13],"VIEW","languageSettingsClick","language_settings_click"],null],"_blank"]],[["default"],[[[[1,[28,[35,4],null,[["type","size","class"],["language-icon","large","v-align-bottom mr3"]]]],[1,[28,[35,3],["language_settings","feed-shared/components/translation-menu"],null]]],[]]]]],[1,"\\n      "],[13],[1,"\\n    "]],[]]]]],[1,"\\n  "]],[3]]]]],[1,"\\n\\n"],[41,[30,12],[[[1,"    "],[8,[39,12],null,[["@overlayClasses","@isOpen","@dismissModal","@size"],["display-flex flex-column justify-center",[30,0,["isConfirmationModalOpen"]],[28,[37,13],[[30,0],"isConfirmationModalOpen",false],null],"medium"]],[["default"],[[[[1,"\\n      "],[8,[30,14,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n        "],[10,"h2"],[14,1,"feed-shared-translation-menu__confirm-header"],[14,0,"feed-shared-translation-menu__confirm-header"],[12],[1,"\\n"],[41,[30,12],[[[1,[28,[35,3],["do_not_translate","feed-shared/components/translation-menu"],[["language"],[[30,12]]]]]],[]],null],[1,"        "],[13],[1,"\\n      "]],[]]]]],[1,"\\n      "],[8,[30,14,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n        "],[10,2],[12],[1,"\\n"],[41,[30,12],[[[1,[28,[35,3],["do_not_translate_explanation","feed-shared/components/translation-menu"],[["language"],[[30,12]]]]]],[]],null],[1,"        "],[13],[1,"\\n      "]],[]]]]],[1,"\\n      "],[8,[30,14,["artdeco-modal-footer"]],null,[["@classNames"],["text-align-right"]],[["default"],[[[[1,"\\n        "],[8,[39,1],[[4,[38,10],["never_translate_cancel"],null]],[["@type","@class","@click","@text"],["secondary","mr1",[30,0,["cancelNeverTranslateAction"]],[28,[37,3],["cancel","feed-shared/components/translation-menu"],null]]],null],[1,"\\n        "],[8,[39,1],[[4,[38,10],["never_translate_submit"],null]],[["@click","@text"],[[30,0,["submitNeverTranslateAction"]],[28,[37,3],["submit","feed-shared/components/translation-menu"],null]]],null],[1,"\\n      "]],[]]]]],[1,"\\n    "]],[14]]]]],[1,"\\n"]],[]],null],[13]],["&attrs","@onOpenTranslationMenu","trigger","@onDark","@isInModal","@currentStarDescription","@stars","star","@setStarRating","@setInterimStarRating","@unsetInterimStarRating","@language","@fireCustomFeedTracking","modal"],false,["artdeco-hoverables@artdeco-hoverable-trigger","artdeco-button@artdeco-button","if","t","artdeco-icons-web@li-icon","concat","each","-track-array","fn","unless","ember-cli-pemberly-tracking@track-interaction","ember-cli-pemberly-tracking@shared/external-link","artdeco-modal@artdeco-modal","ember-set-helper@set"]]',moduleName:"feed-shared/components/translation-menu.hbs",isStrictMode:!1})
let y=(u=(0,s.inject)("i18n"),p=(0,s.inject)("persistent-toast-manager@persistent-toast-manager"),m=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"i18n",h,this);(0,t.default)(this,"persistentToastManager",g,this);(0,t.default)(this,"isConfirmationModalOpen",f,this)}cancelNeverTranslateAction(){var e,t
null===(e=(t=this.args).fireCustomFeedTracking)||void 0===e||e.call(t,"SELECT","neverTranslateCancel","never_translate_cancel")
this.isConfirmationModalOpen=!1}fireTrackingAndOpenConfirmationModal(){var e,t
null===(e=(t=this.args).fireCustomFeedTracking)||void 0===e||e.call(t,"VIEW","neverTranslateClick","never_translate_click")
this.isConfirmationModalOpen=!0}submitNeverTranslateAction(){var e,t
null===(e=(t=this.args).fireCustomFeedTracking)||void 0===e||e.call(t,"SELECT","neverTranslateSubmit","never_translate_submit")
if(this.args.neverTranslateLanguage){this.args.neverTranslateLanguage().then((()=>{var e,t
null===(e=(t=this.args).dismissTranslations)||void 0===e||e.call(t)})).catch((e=>{const t=this.i18n.lookupTranslation("components/feed-shared@translation-menu","do_not_translate_error")()
this.persistentToastManager.error({message:t})
throw e}))
this.isConfirmationModalOpen=!1}}},h=(0,a.default)(m.prototype,"i18n",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,a.default)(m.prototype,"persistentToastManager",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,a.default)(m.prototype,"isConfirmationModalOpen",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,a.default)(m.prototype,"cancelNeverTranslateAction",[d.action],Object.getOwnPropertyDescriptor(m.prototype,"cancelNeverTranslateAction"),m.prototype),(0,a.default)(m.prototype,"fireTrackingAndOpenConfirmationModal",[d.action],Object.getOwnPropertyDescriptor(m.prototype,"fireTrackingAndOpenConfirmationModal"),m.prototype),(0,a.default)(m.prototype,"submitNeverTranslateAction",[d.action],Object.getOwnPropertyDescriptor(m.prototype,"submitNeverTranslateAction"),m.prototype),m)
e.default=y;(0,i.setComponentTemplate)(b,y)}))
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/component","@ember/template-factory","@ember/object","@ember/service","@glimmer/component","feed-tracking/utils/update-tracking-obj"],(function(e,t,n,a,o,i,r,s,l,d,c){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var u,p,m,h,g
const f=(0,r.createTemplateFactory)({id:"7piCouhw",block:'[[[41,[30,0,["showUpdateAttachments"]],[[[1,"  "],[10,0],[14,0,"feed-shared-update-attachments"],[12],[1,"\\n"],[41,[30,0,["relatedContent"]],[[[44,[[50,[28,[37,3],[[28,[37,4],[[30,0,["relatedContent"]]],null]],null],0,null,null]],[[[41,[30,1],[[[1,"          "],[8,[30,1],null,[["@model","@updateTrackingObj","@triggerAction"],[[30,0,["relatedContent"]],[30,0,["updateTrackingObj"]],[30,2]]],null],[1,"\\n"]],[]],null]],[1]]]],[]],[[[41,[30,0,["relatedUpdate"]],[[[1,"      "],[8,[39,5],null,[["@model"],[[30,0,["relatedUpdate"]]]],null],[1,"\\n"]],[]],[[[41,[30,0,["relatedCarouselContent"]],[[[41,[30,0,["relatedCarouselContent","items","length"]],[[[1,"        "],[8,[39,6],null,null,[["default"],[[[[1,"\\n"],[41,[30,3,["relatedContent","headerText"]],[[[1,"            "],[10,"header"],[14,0,"pt3 ph3 pb1 bb0"],[12],[1,"\\n              "],[10,"h2"],[14,0,"text-body-xsmall"],[12],[1,"\\n                "],[1,[28,[35,7],[[30,3,["relatedContent","headerText"]]],null]],[1,"\\n              "],[13],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[1,"          "],[8,[39,8],null,[["@class","@model","@updateTrackingObj","@impressionRowPosition"],["ph2 pb2",[30,0,["relatedCarouselContent"]],[30,0,["updateTrackingObj"]],[28,[37,9],[[30,3,["updatePosition"]],1],null]]],null],[1,"\\n        "]],[]]]]],[1,"\\n"]],[]],null],[1,"    "]],[]],null]],[]]]],[]]],[1,"  "],[13],[1,"\\n"]],[]],null]],["RelatedContentComponent","@triggerAction","@update"],false,["if","let","component","ember-holy-futuristic-template-namespacing-batman-translate-dynamic-2","feed-shared@render-model-path","feed-shared@update/generic-update","artdeco-card@artdeco-card","text-view-model@text-view-model","update-components@carousel","global-helpers@sum"]]',moduleName:"feed-shared/components/update-attachments.hbs",isStrictMode:!1})
let b=(u=(0,l.inject)("feed-tracking@feed-action-event"),p=(0,l.inject)("tracking"),m=class extends d.default{constructor(){super(...arguments);(0,t.default)(this,"feedActionEvent",h,this);(0,t.default)(this,"tracking",g,this)}get relatedUpdate(){return(0,s.get)(this.args,"update.relatedContent.update")}get relatedCarouselContent(){return(0,s.get)(this.args,"update.relatedContent.carouselContent")}get relatedContent(){return(0,s.get)(this.args,"update.relatedContent.content")}get showUpdateAttachments(){return!(0,s.get)(this.args.update,"isHidden")&&(this.relatedUpdate||this.relatedCarouselContent||this.relatedContent)}get updateTrackingObj(){const e=(0,s.get)(this.args.update,"updateMetadata")
return e?new c.default(e,this.feedActionEvent,void 0,this.tracking,void 0,void 0,this.args.shouldSuppressTracking):null}},h=(0,a.default)(m.prototype,"feedActionEvent",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,a.default)(m.prototype,"tracking",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m)
e.default=b;(0,i.setComponentTemplate)(f,b)}))
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/component","@ember/template-factory","@ember/service","@ember/debug","@ember/object","@glimmer/component","global-utils/utils/api-compat","feed-shared/utils/constants","feed-requests/utils/collection-queries","@ember/utils","feed-utils/utils/error-parsing","@glimmer/tracking","tracked-built-ins","tracked-toolbox"],(function(e,t,n,a,o,i,r,s,l,d,c,u,p,m,h,g,f,b,y){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var T,_,E,C,O,v,k,S,A,P,N,I,w,D,M
const U=(0,r.createTemplateFactory)({id:"n0n/LDGS",block:'[[[44,[[50,[28,[37,2],[[52,[30,1,["shouldAutofocus"]],"div",""]],null],0,null,[["tagName"],[[52,[30,1,["shouldAutofocus"]],"div",""]]]]],[[[1,"  "],[8,[30,2],[[16,"tabindex",[52,[30,1,["shouldAutofocus"]],"-1",null]],[4,[38,4],null,[["when"],[[30,1,["shouldAutofocus"]]]]]],null,[["default"],[[[[1,"\\n"],[44,[[50,[28,[37,5],[[28,[37,6],null,null]],null],0,null,null]],[[[1,"      "],[8,[30,3],null,[["@class","@hintClassName","@occlusionEnabled","@rootMarginBottomBuffer"],["occludable-update","occludable-update-hint",[30,4],600]],[["default"],[[[[1,"\\n"],[41,[30,0,["isUpdateV2OctaneMigrationEnabled"]],[[[1,"          "],[8,[39,7],null,[["@authenticatedActor","@caEngineName","@carouselPageSize","@commentSort","@conversationStarters","@customModuleKey","@detailHeaderClasses","@editModalReturnToFocus","@hasInterstitial","@headerClasses","@hideCaEntryPoint","@hideReshare","@highlightedComments","@initialTextAndMentions","@isDetailView","@isEditingShare","@isRequestSourceLAN","@isWrapped","@onRequestReload","@onTriggerUpdateAttachment","@onUpdateInserted","@onUpdateInsertedForViewState","@organizationUniversalName","@removeUpdate","@setEditingShareState","@shouldFocusTexteditor","@shouldSuppressTracking","@showADCarouselNavigationButtons","@socialEventNotifier","@update","@updateIsAnchored","@videoAnalyticsRouteName"],[[30,5],[30,6],[30,7],[30,8],[30,0,["conversationStarters"]],[30,9],[30,10],[30,11],[30,0,["hasInterstitial"]],[30,12],[30,13],[30,14],[30,0,["highlightedComments"]],[30,15],[30,16],[30,0,["isEditingShare"]],[30,17],[30,18],[30,19],[30,0,["handleUpdateAttachments"]],[30,20],[30,21],[30,22],[30,23],[30,0,["setEditingShareState"]],[30,24],[30,25],[30,26],[30,27],[30,1],[30,28],[30,29]]],[["default"],[[[[1,"\\n            "],[10,"h2"],[14,0,"visually-hidden"],[12],[1,"\\n"],[41,[30,33],[[[1,"                "],[1,[28,[35,8],["update_a11y_landmark_with_index","feed-shared/components/update/generic-update"],[["updateIndex"],[[30,33]]]]],[1,"\\n"]],[]],[[[1,"                "],[1,[28,[35,8],["update_a11y_landmark","feed-shared/components/update/generic-update"],null]],[1,"\\n"]],[]]],[1,"            "],[13],[1,"\\n"],[41,[30,32,["showHeader"]],[[[1,"              "],[8,[30,30,["header"]],null,null,null],[1,"\\n              "],[8,[30,30,["controlMenu"]],null,[["@controlMenuTooltipText"],[[30,34]]],null],[1,"\\n"],[41,[30,0,["showDetailHeader"]],[[[1,"                "],[8,[30,30,["detailHeader"]],null,null,null],[1,"\\n"]],[]],null],[41,[30,30,["contextualHeader"]],[[[1,"                "],[8,[30,30,["contextualHeader"]],null,null,null],[1,"\\n"]],[]],null],[1,"              "],[8,[30,30,["actor"]],null,null,null],[1,"\\n"]],[]],[[[41,[30,30,["contextualHeader"]],[[[41,[30,0,["showDetailHeader"]],[[[1,"                "],[8,[30,30,["detailHeader"]],null,null,null],[1,"\\n                "],[8,[30,30,["controlMenu"]],null,null,null],[1,"\\n"]],[]],null],[1,"              "],[8,[30,30,["contextualHeader"]],null,null,null],[1,"\\n"],[41,[51,[30,0,["showDetailHeader"]]],[[[1,"                "],[8,[30,30,["controlMenu"]],null,null,null],[1,"\\n"]],[]],null],[1,"              "],[8,[30,30,["actor"]],null,null,null],[1,"\\n"]],[]],[[[41,[30,0,["showDetailHeader"]],[[[1,"              "],[8,[30,30,["detailHeader"]],null,null,null],[1,"\\n              "],[8,[30,30,["controlMenu"]],null,null,null],[1,"\\n              "],[8,[30,30,["actor"]],null,null,null],[1,"\\n"]],[]],[[[1,"              "],[8,[30,30,["actor"]],null,null,null],[1,"\\n"],[41,[51,[30,32,["isActionsPositionInContent"]]],[[[1,"                "],[8,[30,30,["controlMenu"]],null,[["@controlMenuTooltipText"],[[30,34]]],null],[1,"\\n"]],[]],null],[1,"            "]],[]]]],[]]]],[]]],[1,"\\n"],[41,[30,30,["contextualDescriptionV2"]],[[[1,"              "],[8,[30,30,["contextualDescriptionV2"]],null,null,null],[1,"\\n"]],[]],null],[1,"\\n            "],[8,[30,30,["leadGenModal"]],null,[["@shouldDisableSubmit","@shouldSuppressTracking"],[[30,35],[30,25]]],null],[1,"\\n\\n"],[41,[30,32,["isLeadGenSubmitted"]],[[[1,"              "],[1,[30,30,["leadGenThankYou"]]],[1,"\\n"]],[]],[[[41,[30,32,["isEditingShare"]],[[[1,"                "],[1,[30,30,["shareEdit"]]],[1,"\\n"]],[]],null],[41,[28,[37,10],[[30,32,["isEditingShare"]]],null],[[[41,[30,0,["hasInterstitial"]],[[[1,"                  "],[8,[30,30,["interstitial"]],null,null,[["commentary","content","reshare"],[[[[1,"\\n"],[41,[30,30,["commentaryContainer"]],[[[1,"                        "],[8,[30,30,["commentaryContainer"]],null,[["@onShowMore"],[[30,36]]],null],[1,"\\n"]],[]],null],[1,"                    "]],[]],[[[1,"\\n"],[41,[30,32,["hasContent"]],[[[1,"                        "],[8,[30,30,["content"]],null,[["@controlMenuComponent","@hasInterstitial","@toggleUpdateDetailViewer","@useUpdateDetailViewer"],[[52,[30,32,["isActionsPositionInContent"]],[30,30,["controlMenu"]]],[30,0,["hasInterstitial"]],[30,0,["toggleUpdateDetailViewer"]],[30,0,["useUpdateDetailViewer"]]]],null],[1,"\\n"]],[]],null],[1,"                    "]],[]],[[[1,"\\n"],[41,[30,32,["hasResharedUpdate"]],[[[1,"                        "],[8,[30,30,["resharedUpdate"]],[[24,0,"feed-shared-update-v2__update-content-wrapper artdeco-card"]],[["@isDetailView"],[[30,16]]],null],[1,"\\n"]],[]],null],[1,"                    "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,30,["commentaryContainer"]],[[[1,"                    "],[8,[30,30,["commentaryContainer"]],null,[["@onShowMore"],[[30,36]]],null],[1,"\\n"]],[]],null],[41,[30,32,["hasContent"]],[[[1,"                    "],[8,[30,30,["content"]],null,[["@controlMenuComponent","@toggleUpdateDetailViewer","@useUpdateDetailViewer"],[[52,[30,32,["isActionsPositionInContent"]],[30,30,["controlMenu"]]],[30,0,["toggleUpdateDetailViewer"]],[30,0,["useUpdateDetailViewer"]]]],null],[1,"\\n"]],[]],null],[41,[30,32,["hasResharedUpdate"]],[[[1,"                    "],[8,[30,30,["resharedUpdate"]],[[24,0,"feed-shared-update-v2__update-content-wrapper artdeco-card"]],[["@isDetailView"],[[30,16]]],null],[1,"\\n"]],[]],null]],[]]],[1,"\\n"],[41,[30,30,["leadGenCTA"]],[[[1,"                  "],[10,0],[14,0,"feed-shared-update-v2__lead-gen-cta-wrapper"],[12],[1,"\\n                    "],[8,[30,30,["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,30,["aggregatedContent"]],null,null,null],[1,"\\n                "],[8,[30,30,["carouselContent"]],null,[["@controlMenuComponent","@headerComponent"],[[52,[30,26],[30,30,["controlMenu"]]],[52,[30,26],[30,30,["header"]]]]],null],[1,"\\n"]],[]],null]],[]]],[1,"\\n            "],[1,[30,30,["inlineFeedback"]]],[1,"\\n\\n"],[41,[30,37],[[[1,"              "],[8,[39,11],null,null,[["default"],[[[[1,"\\n                "],[1,[30,38,["likeButton"]]],[1,"\\n                "],[1,[30,38,["commentButton"]]],[1,"\\n                "],[1,[30,38,["reshareButton"]]],[1,"\\n              "]],[38]]]]],[1,"\\n              "],[8,[39,12],null,[["@socialActivityCounts"],[[30,0,["update","socialDetail","totalSocialActivityCounts"]]]],null],[1,"\\n"]],[]],[[[41,[30,32,["hasSocialDetail"]],[[[1,"              "],[8,[30,30,["updateV2SocialActivity"]],null,[["@hasNonClickThroughInterstitial","@hideComments","@hideFirstPrompt","@hideReshare","@hideSocialActions","@highlightedComments","@initialComments","@isAdminFeed","@isReshareButtonShareboxOpen","@isUpdateDetailViewerOpen","@onAddCommentClick","@onCommentsTotalClick","@onReshareClick","@onSendPrivatelyClick","@onReactionsTotalClick","@reportedCommentUrns","@shouldShowReshare","@shouldShowReshareModal","@socialCountClassNames","@toggleReshareButtonSharebox","@useUpdateDetailViewer"],[[30,0,["hasNonClickThroughInterstitial"]],[30,39],[30,0,["hideFirstPrompt"]],[30,14],[30,40],[30,0,["highlightedComments"]],[30,0,["initialComments"]],[30,41],[30,0,["isReshareButtonShareboxOpen"]],[30,0,["isUpdateDetailViewerOpen"]],[30,42],[30,43],[30,44],[30,45],[30,46],[30,0,["reportedCommentUrns"]],[30,47],[30,48],[30,49],[30,0,["toggleReshareButtonSharebox"]],[30,0,["useUpdateDetailViewer"]]]],null],[1,"\\n            "]],[]],null]],[]]],[41,[30,30,["footer"]],[[[1,"              "],[1,[30,30,["footer"]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,30,["followPrompt"]],[[[1,"              "],[8,[30,30,["followPrompt"]],null,[["@updateMetadata","@updateTrackingObj"],[[30,0,["updateMetadata"]],[30,32,["updateTrackingObj"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["useUpdateDetailViewer"]],[[[1,"              "],[8,[39,13],null,[["@activeImageIndex","@actorComponent","@addCommentUrnToReportedUrns","@commentaryComponent","@displayImages","@isAdminFeed","@isReshareButtonShareboxOpen","@isUpdateDetailViewerOpen","@onCloseModalClick","@reportedCommentUrns","@shouldShowReshare","@socialDetailComponent","@toggleReshareButtonSharebox","@transitionFromUpdateDetailToMessageDrawer","@updateMetadata","@updateTrackingObj"],[[30,0,["activeImageIndex"]],[30,30,["actor"]],[30,0,["addCommentUrnToReportedUrns"]],[30,30,["commentaryContainer"]],[30,0,["displayImages"]],[30,41],[30,0,["isReshareButtonShareboxOpen"]],[30,0,["isUpdateDetailViewerOpen"]],[30,0,["toggleUpdateDetailViewer"]],[30,0,["reportedCommentUrns"]],[30,47],[52,[30,32,["hasSocialDetail"]],[30,30,["updateV2SocialActivity"]]],[30,0,["toggleReshareButtonSharebox"]],[30,0,["transitionFromUpdateDetailToMessageDrawer"]],[30,0,["updateMetadata"]],[30,32,["updateTrackingObj"]]]],null],[1,"\\n"]],[]],null],[41,[28,[37,14],[[30,0,["shouldShowUpdateAttachment"]],[30,0,["updateAttachmentIsFollowPrompt"]]],null],[[[1,"              "],[8,[39,15],null,[["@shouldSuppressTracking","@update","@triggerAction"],[[30,25],[30,0,["update"]],[30,0,["triggerAction"]]]],null],[1,"\\n"]],[]],null],[1,"          "]],[30,31,32]]]]],[1,"\\n"]],[]],[[[1,"          "],[8,[39,16],null,[["@authenticatedActor","@caEngineName","@carouselPageSize","@commentSort","@conversationStarters","@customModuleKey","@detailHeaderClasses","@editModalReturnToFocus","@hasInterstitial","@headerClasses","@hideCaEntryPoint","@hideReshare","@highlightedComments","@initialTextAndMentions","@isDetailView","@isEditingShare","@isRequestSourceLAN","@isWrapped","@onRequestReload","@onTriggerUpdateAttachment","@onUpdateInserted","@onUpdateInsertedForViewState","@organizationUniversalName","@removeUpdate","@shouldFocusTexteditor","@shouldSuppressTracking","@showADCarouselNavigationButtons","@update","@updateIsAnchored","@videoAnalyticsRouteName"],[[30,5],[30,6],[30,7],[30,8],[30,0,["conversationStarters"]],[30,9],[30,10],[30,11],[30,0,["hasInterstitial"]],[30,12],[30,13],[30,14],[30,0,["highlightedComments"]],[30,15],[30,16],[30,0,["isEditingShare"]],[30,17],[30,18],[30,19],[30,0,["handleUpdateAttachments"]],[30,20],[30,21],[30,22],[30,23],[30,24],[30,25],[30,26],[30,1],[30,28],[30,29]]],[["default"],[[[[1,"\\n            "],[10,"h2"],[14,0,"visually-hidden"],[12],[1,"\\n"],[41,[30,33],[[[1,"                "],[1,[28,[35,8],["update_a11y_landmark_with_index","feed-shared/components/update/generic-update"],[["updateIndex"],[[30,33]]]]],[1,"\\n"]],[]],[[[1,"                "],[1,[28,[35,8],["update_a11y_landmark","feed-shared/components/update/generic-update"],null]],[1,"\\n"]],[]]],[1,"            "],[13],[1,"\\n"],[41,[30,52,["showHeader"]],[[[1,"              "],[8,[30,50,["header"]],null,null,null],[1,"\\n              "],[8,[30,50,["controlMenu"]],null,[["@controlMenuTooltipText"],[[30,34]]],null],[1,"\\n"],[41,[30,0,["showDetailHeader"]],[[[1,"                "],[8,[30,50,["detailHeader"]],null,null,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,null,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,null,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,34]]],null],[1,"\\n"]],[]],null],[1,"            "]],[]]]],[]]]],[]]],[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,35],[30,25]]],null],[1,"\\n\\n"],[41,[30,52,["isLeadGenSubmitted"]],[[[1,"              "],[1,[30,50,["leadGenThankYou"]]],[1,"\\n"]],[]],[[[41,[30,52,["isEditingShare"]],[[[1,"                "],[1,[30,50,["shareEdit"]]],[1,"\\n"]],[]],null],[41,[28,[37,10],[[30,52,["isEditingShare"]]],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,[["@onShowMore"],[[30,36]]],null],[1,"\\n"]],[]],null],[1,"                    "]],[]],[[[1,"\\n"],[41,[30,52,["hasContent"]],[[[1,"                        "],[8,[30,50,["content"]],null,[["@controlMenuComponent","@toggleUpdateDetailViewer","@useUpdateDetailViewer"],[[52,[30,52,["isActionsPositionInContent"]],[30,50,["controlMenu"]]],[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,16]]],null],[1,"\\n"]],[]],null],[1,"                    "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,50,["commentaryContainer"]],[[[1,"                    "],[8,[30,50,["commentaryContainer"]],null,[["@onShowMore"],[[30,36]]],null],[1,"\\n"]],[]],null],[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],[41,[30,52,["hasResharedUpdate"]],[[[1,"                    "],[8,[30,50,["resharedUpdate"]],[[24,0,"feed-shared-update-v2__update-content-wrapper artdeco-card"]],[["@isDetailView"],[[30,16]]],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                "],[8,[30,50,["carouselContent"]],null,[["@controlMenuComponent","@headerComponent"],[[52,[30,26],[30,50,["controlMenu"]]],[52,[30,26],[30,50,["header"]]]]],null],[1,"\\n"]],[]],null]],[]]],[1,"\\n            "],[1,[30,50,["inlineFeedback"]]],[1,"\\n\\n"],[41,[30,37],[[[1,"              "],[8,[39,11],null,null,[["default"],[[[[1,"\\n                "],[1,[30,53,["likeButton"]]],[1,"\\n                "],[1,[30,53,["commentButton"]]],[1,"\\n                "],[1,[30,53,["reshareButton"]]],[1,"\\n              "]],[53]]]]],[1,"\\n              "],[8,[39,12],null,[["@socialActivityCounts"],[[30,0,["update","socialDetail","totalSocialActivityCounts"]]]],null],[1,"\\n"]],[]],[[[41,[30,52,["hasSocialDetail"]],[[[1,"              "],[8,[30,50,["updateV2SocialActivity"]],null,[["@hasNonClickThroughInterstitial","@hideComments","@hideFirstPrompt","@hideReshare","@hideSocialActions","@highlightedComments","@initialComments","@isAdminFeed","@isReshareButtonShareboxOpen","@isUpdateDetailViewerOpen","@onAddCommentClick","@onReshareClick","@onSendPrivatelyClick","@onCommentsTotalClick","@onReactionsTotalClick","@reportedCommentUrns","@shouldShowReshare","@shouldShowReshareModal","@socialCountClassNames","@toggleReshareButtonSharebox","@useUpdateDetailViewer"],[[30,0,["hasNonClickThroughInterstitial"]],[30,39],[30,0,["hideFirstPrompt"]],[30,14],[30,40],[30,0,["highlightedComments"]],[30,0,["initialComments"]],[30,41],[30,0,["isReshareButtonShareboxOpen"]],[30,0,["isUpdateDetailViewerOpen"]],[30,42],[30,44],[30,45],[30,43],[30,46],[30,0,["reportedCommentUrns"]],[30,47],[30,48],[30,49],[30,0,["toggleReshareButtonSharebox"]],[30,0,["useUpdateDetailViewer"]]]],null],[1,"\\n            "]],[]],null]],[]]],[41,[30,50,["footer"]],[[[1,"              "],[1,[30,50,["footer"]]],[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,[39,13],null,[["@activeImageIndex","@actorComponent","@addCommentUrnToReportedUrns","@commentaryComponent","@displayImages","@isAdminFeed","@isReshareButtonShareboxOpen","@isUpdateDetailViewerOpen","@onCloseModalClick","@reportedCommentUrns","@shouldShowReshare","@socialDetailComponent","@toggleReshareButtonSharebox","@transitionFromUpdateDetailToMessageDrawer","@updateMetadata","@updateTrackingObj"],[[30,0,["activeImageIndex"]],[30,50,["actor"]],[30,0,["addCommentUrnToReportedUrns"]],[30,50,["commentaryContainer"]],[30,0,["displayImages"]],[30,41],[30,0,["isReshareButtonShareboxOpen"]],[30,0,["isUpdateDetailViewerOpen"]],[30,0,["toggleUpdateDetailViewer"]],[30,0,["reportedCommentUrns"]],[30,47],[52,[30,52,["hasSocialDetail"]],[30,50,["updateV2SocialActivity"]]],[30,0,["toggleReshareButtonSharebox"]],[30,0,["transitionFromUpdateDetailToMessageDrawer"]],[30,0,["updateMetadata"]],[30,52,["updateTrackingObj"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,14],[[30,0,["shouldShowUpdateAttachment"]],[30,0,["updateAttachmentIsFollowPrompt"]]],null],[[[1,"              "],[8,[39,15],null,[["@shouldSuppressTracking","@update","@triggerAction"],[[30,25],[30,0,["update"]],[30,0,["triggerAction"]]]],null],[1,"\\n"]],[]],null],[1,"          "]],[50,51,52]]]]],[1,"\\n"]],[]]],[1,"      "]],[]]]]],[1,"\\n"]],[3]]],[1,"\\n"],[41,[28,[37,14],[[30,0,["shouldShowUpdateAttachment"]],[28,[37,10],[[30,0,["updateAttachmentIsFollowPrompt"]]],null]],null],[[[1,"      "],[8,[39,15],null,[["@shouldSuppressTracking","@update","@triggerAction"],[[30,25],[30,0,["update"]],[30,0,["triggerAction"]]]],null],[1,"\\n"]],[]],null],[1,"  "]],[]]]]],[1,"\\n"]],[2]]]],["@model","Tag","OccludableArea","@occlusionEnabled","@authenticatedActor","@caEngineName","@carouselPageSize","@commentSort","@customModuleKey","@detailHeaderClasses","@editModalReturnToFocus","@headerClasses","@hideCaEntryPoint","@hideReshare","@initialTextAndMentions","@isDetailView","@isRequestSourceLAN","@isWrapped","@onRequestReload","@onUpdateInserted","@onUpdateInsertedForViewState","@organizationUniversalName","@removeUpdate","@shouldFocusTexteditor","@shouldSuppressTracking","@showADCarouselNavigationButtons","@socialEventNotifier","@updateIsAnchored","@videoAnalyticsRouteName","components","actions","properties","@updateIndex","@controlMenuTooltipText","@isAdsTransparency","@onShowMoreCommentaryText","@isAccuratePreview","saComponents","@hideComments","@hideSocialActions","@isAdminFeed","@onAddCommentClick","@onCommentsTotalClick","@onReshareClick","@onSendPrivatelyClick","@onReactionsTotalClick","@shouldShowReshare","@shouldShowReshareModal","@socialCountClassNames","components","actions","properties","saComponents"],false,["let","component","-element","if","global-modifiers@focus","ember-holy-futuristic-template-namespacing-batman-translate-dynamic-2","occludable-area@lixed","feed-shared@render-models/update-v2-octane","t","unless","global-helpers@not","social-details@social-actions","social-details@social-counts","feed-shared@update/update-detail-viewer","global-helpers@and","feed-shared@update-attachments","feed-shared@render-models/update-v2"]]',moduleName:"feed-shared/components/update/generic-update.hbs",isStrictMode:!1}),R={"com.linkedin.voyager.feed.render.ImageComponent":"images","com.linkedin.voyager.feed.render.CelebrationComponent":"image"}
let L=(T=(0,s.inject)("lix"),_=(0,s.inject)("store"),E=(0,s.inject)("social-counts-service@social-counts"),C=(0,y.localCopy)("args.conversationStarters"),O=(0,y.localCopy)("args.isEditingShare",!1),v=class extends c.default{get displayImages(){if(!this.update||!(0,d.get)(this.update,"actor"))return[]
const e=(0,d.get)(this.update,"content"),t=R[(0,u.classNameOf)(e)]
if(t){const n=(0,d.get)(e,t)
if(n)return void 0===n.length?[n]:n}return[]}get hasInterstitial(){return(0,h.isPresent)((0,d.get)(this,"update.interstitial"))}get hasNonClickThroughInterstitial(){return this.hasInterstitial&&!(0,d.get)(this,"update.interstitial.interstitial.shouldBlurContent")}get highlightedComments(){var e
return(null===(e=(0,d.get)(this,"update.highlightedComments"))||void 0===e?void 0:e.toArray())||[]}get isUpdateV2OctaneMigrationEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-update-v2-octane-migration")}get shouldShowUpdateAttachment(){return!!(0,d.get)(this,"update.relatedContent")&&"CONVERSATION_STARTERS"!==(0,d.get)(this,"update.relatedContent.type")}get updateAttachmentIsFollowPrompt(){return"FOLLOW_PROMPT"===(0,d.get)(this,"update.relatedContent.type")}get hideFirstPrompt(){return this.updateAttachmentIsFollowPrompt||this.args.hideFirstPrompt}get showDetailHeader(){return this.args.isDetailView&&(0,d.get)(this.update,"detailHeader")}get update(){return this.args.model}get updateMetadata(){return(0,d.get)(this,"update.metadata")||(0,d.get)(this,"update.updateMetadata")}get useUpdateDetailViewer(){return!(0,h.isEmpty)(this.displayImages)}constructor(){var e
super(...arguments);(0,t.default)(this,"lix",k,this);(0,t.default)(this,"store",S,this);(0,t.default)(this,"socialCountsService",A,this);(0,n.default)(this,"reportedCommentUrns",new b.TrackedArray);(0,t.default)(this,"conversationStarters",P,this);(0,t.default)(this,"isEditingShare",N,this);(0,t.default)(this,"activeImageIndex",I,this);(0,t.default)(this,"isReshareButtonShareboxOpen",w,this);(0,t.default)(this,"isUpdateDetailViewerOpen",D,this);(0,t.default)(this,"triggerAction",M,this)
this.args.isDetailView||this._getDisplayedComments()
const a=(null!==(e=(0,d.get)(this,"update.socialDetail.comments.elements"))&&void 0!==e?e:[]).toArray(),{anchoredComment:o}=this.args;(0,h.isPresent)(o)&&(a.includes(o)?(0,d.set)(o,"isAnchored",!0):a.unshiftObject(o))
this.initialComments=a}_getDisplayedComments(){const e=(0,d.get)(this,"update.highlightedComments"),t=(0,d.get)(this,"update.highlightedComments.length"),n=(0,d.get)(this,"update.socialDetail.comments"),a=(0,d.get)(this,"update.socialDetail.comments.elements.length"),o=(0,d.get)(this,"update.socialDetail.comments.elements"),i=(0,d.get)(this,"update.socialDetail.comments.paging.total")
if(t){e.forEach((e=>{(0,d.get)(e,"isHighlighted")||(0,d.set)(e,"isHighlighted",!0)}))
const a=this._reduceCommentsReplies(e);(0,d.set)(n,"elements",a);(0,d.set)(n,"paging.count",a.length)
i>t&&(0,d.set)(n,"paging.count",0)}else if(a){const e=this._reduceCommentsReplies(o);(0,d.set)(n,"paging.count",e.length)}}_commentHasReplies(e){return!!(0,d.get)(e,"socialDetail.comments.elements.length")}_reduceCommentsReplies(e){const t=e,n=(0,d.get)(t,"firstObject"),a=(0,d.get)(t,"lastObject"),o=this._commentHasReplies(n)
if(this._commentHasReplies(a)){const t=(0,d.get)(a,"socialDetail.comments")
this._reduceRepliesToOne(t)
2===(0,d.get)(e,"length")&&e.shiftObject()}else if(o){const e=(0,d.get)(n,"socialDetail.comments")
this._reduceRepliesToOne(e)}return t}_reduceRepliesToOne(e){if(1===(0,d.get)(e,"length"))return e
const t=(0,d.get)(e,"elements.lastObject");(0,d.setProperties)(e,{elements:[t],"paging.count":1})
return e}handleUpdateAttachments(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";(0,d.get)(this,"update.relatedContent")||this._fetchUpdateAttachments(e,t,n)}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)}setEditingShareState(e){this.isEditingShare=e}_fetchUpdateAttachments(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:""
this.triggerAction=e
const a={q:"related",actionType:e,attachmentUrn:`urn:li:fs_updateAttachment:${n||(0,d.get)(this,"updateMetadata.urn")}`,relatedUrns:t,supportedAttachmentTypes:["CONVERSATION_STARTERS","RECOMMENDED_FOLLOWS","RELATED_UPDATE","FOLLOW_PROMPT"]},{update:o}=this;(0,m.getUpdateAttachments)(this.store,a,!0).then((e=>{const t=(0,d.get)(e,"elements.firstObject")
if(t){var n
const e=null===(n=(0,d.get)(t,"update.carouselContent.items"))||void 0===n?void 0:n.map((e=>(0,d.get)(e,"updateV2")))
this.socialCountsService.registerElementsList(e)}o&&(0,d.set)(o,"relatedContent",t)
!this.isDestroying&&t&&"CONVERSATION_STARTERS"===(0,d.get)(t,"type")&&(this.conversationStarters=(0,d.get)(t,"content"))})).catch((e=>{if(!(0,g.isHttpErrorStatus)(e))throw e}))}},k=(0,a.default)(v.prototype,"lix",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,a.default)(v.prototype,"store",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,a.default)(v.prototype,"socialCountsService",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,a.default)(v.prototype,"conversationStarters",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,a.default)(v.prototype,"isEditingShare",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,a.default)(v.prototype,"activeImageIndex",[f.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),w=(0,a.default)(v.prototype,"isReshareButtonShareboxOpen",[f.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),D=(0,a.default)(v.prototype,"isUpdateDetailViewerOpen",[f.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),M=(0,a.default)(v.prototype,"triggerAction",[f.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),(0,a.default)(v.prototype,"handleUpdateAttachments",[d.action],Object.getOwnPropertyDescriptor(v.prototype,"handleUpdateAttachments"),v.prototype),(0,a.default)(v.prototype,"toggleUpdateDetailViewer",[d.action],Object.getOwnPropertyDescriptor(v.prototype,"toggleUpdateDetailViewer"),v.prototype),(0,a.default)(v.prototype,"toggleReshareButtonSharebox",[d.action],Object.getOwnPropertyDescriptor(v.prototype,"toggleReshareButtonSharebox"),v.prototype),(0,a.default)(v.prototype,"transitionFromUpdateDetailToMessageDrawer",[d.action],Object.getOwnPropertyDescriptor(v.prototype,"transitionFromUpdateDetailToMessageDrawer"),v.prototype),(0,a.default)(v.prototype,"addCommentUrnToReportedUrns",[d.action],Object.getOwnPropertyDescriptor(v.prototype,"addCommentUrnToReportedUrns"),v.prototype),(0,a.default)(v.prototype,"setEditingShareState",[d.action],Object.getOwnPropertyDescriptor(v.prototype,"setEditingShareState"),v.prototype),v)
e.default=L;(0,i.setComponentTemplate)(U,L)}))
define("feed-shared/components/update/update-detail-viewer",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","feed-requests/update-actions","@ember/object","@glimmer/tracking","@ember/runloop"],(function(e,t,n,a,o,i,r,s,l,d,c,u,p){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var m,h,g,f,b,y,T,_,E,C,O,v,k
const S=(0,r.createTemplateFactory)({id:"PPs7Tcrv",block:'[[[41,[30,1],[[[1,"  "],[8,[39,1],null,[["@modalClasses","@size","@isOpen","@dismissModal","@overlayClasses"],["feed-shared-update-detail-viewer","x-large",[30,1],[28,[37,2],null,[["controlName","action"],["close",[30,2]]]],"display-flex flex-column"]],[["default"],[[[[1,"\\n    "],[8,[30,3,["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,[35,3],["i18n_caption","feed-shared/components/update/update-detail-viewer"],null]],[13],[1,"\\n    "]],[]]]]],[1,"\\n    "],[8,[30,3,["artdeco-modal-content"]],[[24,"aria-labelledby","feed-shared-update-detail-viewer__header"]],[["@classNames"],["full-height p0"]],[["default"],[[[[1,"\\n      "],[10,0],[14,0,"feed-shared-update-detail-viewer__content"],[12],[1,"\\n        "],[10,0],[14,0,"feed-shared-update-detail-viewer__left-panel"],[12],[1,"\\n"],[41,[30,4],[[[1,"            "],[8,[39,4],[[24,0,"display-flex align-items-center full-height full-width relative"]],[["@startingIndex","@hasTags","@images","@onCloseModalClick","@onUntagClickAction","@showTags","@updateTrackingObj"],[[30,5],true,[30,4],[30,2],[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"],[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","@hideFirstPrompt","@isAdminFeed","@isReshareButtonShareboxOpen","@isUpdateDetailViewer","@loadCommentsOnRender","@reportedCommentUrns","@shouldShowContentAdminIdentityToggle","@shouldShowReshare","@showCommentBox","@showQuickCommentsOverride","@showReactorsFacepileOverride","@toggleReshareButtonSharebox","@transitionFromUpdateDetailToMessageDrawer","@useUpdateDetailViewer"],["ph2",[30,0,["handleReportCommentFlow"]],true,[30,10],[30,11],true,[30,0,["loadCommentsOnRender"]],[30,12],false,[30,13],true,false,false,[30,14],[30,15],[30,16]]],null],[1,"\\n"]],[]],null],[1,"          "],[13],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n    "]],[]]]]],[1,"\\n  "]],[3]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isReportingComment"]],[[[1,"  "],[8,[39,5],null,[["@authorProfileId","@authorUrn","@cancel","@contentSource","@entityUrn","@failure","@success","@track"],[[30,0,["reportedComment","commenterProfileId"]],[30,0,["reportedComment","commenter","urn"]],"semaphoreClose","USCP_COMMENT",[30,0,["reportedComment","urn"]],"semaphoreFailure","semaphoreSuccess","semaphoreTrack"]],null],[1,"\\n"]],[]],null]],["@isUpdateDetailViewerOpen","@onCloseModalClick","modal","@displayImages","@activeImageIndex","@updateTrackingObj","@actorComponent","@commentaryComponent","@socialDetailComponent","@isAdminFeed","@isReshareButtonShareboxOpen","@reportedCommentUrns","@shouldShowReshare","@toggleReshareButtonSharebox","@transitionFromUpdateDetailToMessageDrawer","@useUpdateDetailViewer"],false,["if","artdeco-modal@artdeco-modal","ember-cli-pemberly-tracking@tracked-action","t","update-components@image-viewer","ember-semaphore@ember-semaphore"]]',moduleName:"feed-shared/components/update/update-detail-viewer.hbs",isStrictMode:!1})
let A=(m=(0,l.inject)("i18n"),h=(0,l.inject)("lix"),g=(0,l.inject)("persistent-toast-manager@persistent-toast-manager"),f=(0,l.inject)("store"),b=(0,l.inject)("tracking"),y=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"i18n",T,this);(0,t.default)(this,"lix",_,this);(0,t.default)(this,"persistentToastManager",E,this);(0,t.default)(this,"store",C,this);(0,t.default)(this,"tracking",O,this);(0,t.default)(this,"reportedComment",v,this);(0,t.default)(this,"isReportingComment",k,this)}get loadCommentsOnRender(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-experience-load-comments-in-detail-viewer")}closeSemaphore(){this.isReportingComment=!1}openSemaphore(){this.isReportingComment=!0}handleReportCommentFlow(e){this.args.onCloseModalClick();(0,p.next)(this,(()=>{this.reportedComment=e
this.isReportingComment=!0}))}semaphoreClose(){(0,p.once)(this,"closeSemaphore")}semaphoreTrack(e){const t=e&&e.moduleKey
t&&this.tracking.fireInteractionEvent(t)}semaphoreSuccess(e){(0,p.once)(this,"closeSemaphore")
e.includes("HIDE_CONTENT")&&this.args.addCommentUrnToReportedUrns((0,c.get)(this.reportedComment,"urn"))
this.args.onCloseModalClick()}semaphoreFailure(){(0,p.once)(this,"closeSemaphore")
const e=this.i18n.lookupTranslation("components/comments@comment-item","save_like_error")()
this.persistentToastManager.error({message:e})
this.args.onCloseModalClick()}onUntagClick(e,t){const n=(0,c.get)(this.args.updateMetadata,"shareUrn"),a=(0,c.get)(e,"mediaUrn"),o=(0,c.get)(t,"urn");(0,c.get)(e,"tapTargets").removeObject(t)
this.store.adapterFor("-ember-m3").ajax(...(0,d.removeTagRequest)(n,a,o)).catch((n=>{(0,c.get)(e,"tapTargets").pushObject(t)
const a=this.i18n.lookupTranslation("components/feed-shared@update/update-detail-viewer`","remove_tag_failed")()
this.persistentToastManager.error({message:a})
throw n}))}},T=(0,a.default)(y.prototype,"i18n",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,a.default)(y.prototype,"lix",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,a.default)(y.prototype,"persistentToastManager",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,a.default)(y.prototype,"store",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,a.default)(y.prototype,"tracking",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,a.default)(y.prototype,"reportedComment",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,a.default)(y.prototype,"isReportingComment",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.default)(y.prototype,"handleReportCommentFlow",[c.action],Object.getOwnPropertyDescriptor(y.prototype,"handleReportCommentFlow"),y.prototype),(0,a.default)(y.prototype,"semaphoreClose",[c.action],Object.getOwnPropertyDescriptor(y.prototype,"semaphoreClose"),y.prototype),(0,a.default)(y.prototype,"semaphoreTrack",[c.action],Object.getOwnPropertyDescriptor(y.prototype,"semaphoreTrack"),y.prototype),(0,a.default)(y.prototype,"semaphoreSuccess",[c.action],Object.getOwnPropertyDescriptor(y.prototype,"semaphoreSuccess"),y.prototype),(0,a.default)(y.prototype,"semaphoreFailure",[c.action],Object.getOwnPropertyDescriptor(y.prototype,"semaphoreFailure"),y.prototype),(0,a.default)(y.prototype,"onUntagClick",[c.action],Object.getOwnPropertyDescriptor(y.prototype,"onUntagClick"),y.prototype),y)
e.default=A;(0,i.setComponentTemplate)(S,A)}))
define("feed-shared/components/video-container",["exports","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/classPrivateFieldSet","@babel/runtime/helpers/esm/classPrivateFieldGet","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/component","@ember/template-factory","@ember/object","@glimmer/component","@ember/utils","ember-lifeline"],(function(e,t,n,a,o,i,r,s,l,d,c){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var u,p
const m=(0,r.createTemplateFactory)({id:"YuVWXjKV",block:'[[[11,0],[17,1],[12],[1,"\\n  "],[8,[39,0],null,[["@contentUrl","@onThumbnailClick","@thumbnailImage","@videoTitle"],[[30,2],[30,0,["handleThumbnailClick"]],[30,3,["thumbnail","attributes","firstObject","vectorImage"]],[30,3,["title","text"]]]],null],[1,"\\n"],[13]],["&attrs","@contentUrl","@model"],false,["video@external-video-viewer"]]',moduleName:"feed-shared/components/video-container.hbs",isStrictMode:!1})
let h=(u=(p=new WeakMap,class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"persistThumbnail",!0)
p.set(this,{writable:!0,value:void 0})}fireFAE(e){var t,n
null===(t=(n=this.args).fireCustomTracking)||void 0===t||t.call(n,e)}_startAutoPlayInterval(){if(!this._autoPlayVideoFired){const e=this._autoPlayTimeElapsed||0
this._autoPlayTimeStarted=Date.now()
this._autoPlayTimeout=(0,c.runTask)(this,(()=>{this.fireFAE({actionCategory:"PLAY",actionType:"autoPlayVideo",controlName:"object"})
this._autoPlayVideoFired=!0}),this._autoPlayTimeoutInterval-e)}}_cancelAutoPlayTimer(){(0,d.isBlank)(this._autoPlayTimeout)||(0,c.cancelTask)(this,this._autoPlayTimeout)
this._autoPlayTimeout=null}_getAutoPlayTrackingTimeout(){const e=1e3*(0,a.default)(this,p)
return 0===e?9e3:Math.min(.9*e,9e3)}_updateAutoPlayTimeElapsed(){this._autoPlayTimeElapsed=Date.now()-this._autoPlayTimeStarted}_handlePlayerAutoPlay(){if((0,a.default)(this,p))if(this._autoPlayTimeoutInterval)this._startAutoPlayInterval()
else{this._autoPlayTimeoutInterval=this._getAutoPlayTrackingTimeout()
this._startAutoPlayInterval()}}_isReplay(e){const t=(0,a.default)(this,p),n=(0,d.isBlank)(t)||Math.abs(t-e)>.5
return this._hasVideoEnded&&!n}handleUserInteraction(){this._cancelAutoPlayTimer()}handlePlayerEnd(){this._hasVideoEnded=!0}handlePlayerTimeupdate(){let{playerState:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
const{userInteracted:t,duration:o}=e;(0,a.default)(this,p)!==o&&(0,n.default)(this,p,o)
t||this._autoPlayTimeout||this._handlePlayerAutoPlay()}handlePlayerPlaying(){let{playerState:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
const{userInteracted:t,duration:o}=e;(0,a.default)(this,p)!==o&&(0,n.default)(this,p,o)
t||this._autoPlayTimeout||this._handlePlayerAutoPlay()}handlePlayerPlay(){let{playerState:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
const{duration:t,userInteracted:a,isAutoLooping:o}=e
if(o){this._hasVideoEnded=!1
return}(0,n.default)(this,p,t)
this._isReplay(t)?this.fireFAE({actionCategory:"PLAY",actionType:"replayVideo",controlName:"object"}):a&&this.fireFAE({actionCategory:"PLAY",actionType:"playVideo",controlName:"object"})
this._hasVideoEnded=!1}handlePlayerPause(){let{playerState:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
const{userInteracted:t,isAutoLooping:n}=e,a=!t
this._cancelAutoPlayTimer()
a?this._updateAutoPlayTimeElapsed():n||this.fireFAE({actionCategory:"PAUSE",actionType:"pauseVideo",controlName:"video_toolbar_play_pause"})}handlePlayerFullScreenChange(){let{playerState:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
const{isFullscreen:t}=e
this.fireFAE({actionCategory:t?"EXPAND":"UNDO",actionType:t?"fullscreenVideo":"unfullscreenVideo",controlName:"video_toolbar_fullscreen_toggle"})}handlePlayerVolumeChange(){let{playerState:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
const{volume:t,userInteracted:n}=e
let a="changeVolume",o="EXPAND"
0===this._previousVolume&&t>0?a="unmuteVideo":0===t&&this._previousVolume>0&&(o="MUTE")
n&&this.fireFAE({actionCategory:o,actionType:a,controlName:"video_toolbar_volume_slider"})
this._previousVolume=t}handlePlayerSeek(){let{playerState:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
const{isAutoLooping:t}=e
t||this.fireFAE({actionCategory:"EXPAND",actionType:"seekVideo",controlName:"video_toolbar_scrubber"})}handleThumbnailClick(){this.fireFAE({actionCategory:"VIEW",actionType:"viewLink",controlName:"object"})}}),(0,o.default)(u.prototype,"handleUserInteraction",[s.action],Object.getOwnPropertyDescriptor(u.prototype,"handleUserInteraction"),u.prototype),(0,o.default)(u.prototype,"handlePlayerEnd",[s.action],Object.getOwnPropertyDescriptor(u.prototype,"handlePlayerEnd"),u.prototype),(0,o.default)(u.prototype,"handlePlayerTimeupdate",[s.action],Object.getOwnPropertyDescriptor(u.prototype,"handlePlayerTimeupdate"),u.prototype),(0,o.default)(u.prototype,"handlePlayerPlaying",[s.action],Object.getOwnPropertyDescriptor(u.prototype,"handlePlayerPlaying"),u.prototype),(0,o.default)(u.prototype,"handlePlayerPlay",[s.action],Object.getOwnPropertyDescriptor(u.prototype,"handlePlayerPlay"),u.prototype),(0,o.default)(u.prototype,"handlePlayerPause",[s.action],Object.getOwnPropertyDescriptor(u.prototype,"handlePlayerPause"),u.prototype),(0,o.default)(u.prototype,"handlePlayerFullScreenChange",[s.action],Object.getOwnPropertyDescriptor(u.prototype,"handlePlayerFullScreenChange"),u.prototype),(0,o.default)(u.prototype,"handlePlayerVolumeChange",[s.action],Object.getOwnPropertyDescriptor(u.prototype,"handlePlayerVolumeChange"),u.prototype),(0,o.default)(u.prototype,"handlePlayerSeek",[s.action],Object.getOwnPropertyDescriptor(u.prototype,"handlePlayerSeek"),u.prototype),(0,o.default)(u.prototype,"handleThumbnailClick",[s.action],Object.getOwnPropertyDescriptor(u.prototype,"handleThumbnailClick"),u.prototype),u)
e.default=h;(0,i.setComponentTemplate)(m,h)}))
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={}}var n=t
e.default=n}))
define.alias("ember-element-helper/helpers/-element","feed-shared/helpers/-element")
define.alias("ember-number-formatting/helpers/abbreviate-number","feed-shared/helpers/abbreviate-number")
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("artdeco-datepicker/helpers/cal-dates-equal","feed-shared/helpers/cal-dates-equal")
define("feed-shared/helpers/carousel-render-model-path",["exports","@ember/component/helper","global-utils/utils/api-compat"],(function(e,t,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const a=Object.freeze({"com.linkedin.voyager.feed.render.ArticleComponent":"update-components@article","com.linkedin.voyager.feed.render.CreativeComponent":"update-components@creative","com.linkedin.voyager.feed.render.EventComponent":"update-components@carousel/event","com.linkedin.voyager.feed.render.FeedDiscoveryEntityComponent":"update-components@carousel/discovery-entity","com.linkedin.voyager.feed.render.JobComponent":"update-components@carousel/job","com.linkedin.voyager.feed.render.PromoComponent":"update-components@promo","com.linkedin.voyager.feed.render.SeeMoreComponent":"update-components@see-more-card"}),o=Object.freeze({"com.linkedin.voyager.dash.feed.component.creative.CreativeComponent":"update-components@creative","com.linkedin.voyager.dash.feed.component.event.EventComponent":"update-components@carousel/event","com.linkedin.voyager.dash.feed.component.discoveryentity.FeedDiscoveryEntityComponent":"update-components@carousel/discovery-entity","com.linkedin.voyager.dash.feed.component.job.JobComponent":"update-components@carousel/job","com.linkedin.voyager.dash.feed.component.seemore.SeeMoreComponent":"update-components@see-more-card"})
var i=(0,t.helper)((function(e){let[t]=e
if(void 0===t)return
const i=(0,n.classNameOf)(t)
return a[i]?a[i]:o[i]?o[i]:null}))
e.default=i}))
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.alias("ember-truth-helpers/helpers/equal","feed-shared/helpers/eq")
define("feed-shared/helpers/exists",["exports","@ember/component/helper"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var n=(0,t.helper)((e=>{let[t]=e
return Boolean(t)}))
e.default=n}))
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("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-number-formatting/helpers/localized-format-currency","feed-shared/helpers/localized-format-currency")
define.alias("ember-number-formatting/helpers/localized-format-number","feed-shared/helpers/localized-format-number")
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-media-player/helpers/media-action-autoplay","feed-shared/helpers/media-action-autoplay")
define.alias("ember-media-player/helpers/media-action-seekto","feed-shared/helpers/media-action-seekto")
define.alias("ember-truth-helpers/helpers/not-equal","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.alias("data-layer/helpers/feed/profile-id","feed-shared/helpers/profile-id")
define("feed-shared/helpers/render-model-path",["exports","@ember/component/helper","global-utils/utils/api-compat"],(function(e,t,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.getComponentPath=r
e.getComponentType=i
e.isRenderModel=function(e){return null!==i(e)}
const a=Object.freeze({"com.linkedin.voyager.feed.render.ActorComponent":"actor","com.linkedin.voyager.feed.render.AnnouncementComponent":"announcement","com.linkedin.voyager.feed.render.ArticleComponent":"article","com.linkedin.voyager.feed.render.ButtonComponent":"button","com.linkedin.voyager.feed.render.CallToActionComponent":"call-to-action","com.linkedin.voyager.feed.render.CelebrationComponent":"celebration","com.linkedin.voyager.feed.render.ContextualActionComponent":"contextual-action","com.linkedin.voyager.feed.render.ContextualHeaderComponent":"contextual-header","com.linkedin.voyager.feed.render.CreativeComponent":"creative","com.linkedin.voyager.feed.render.DocumentComponent":"document","com.linkedin.voyager.feed.render.EntityComponent":"entity","com.linkedin.voyager.feed.render.EventComponent":"event","com.linkedin.voyager.feed.render.ExternalVideoComponent":"external-video","com.linkedin.voyager.feed.render.FeedDiscoveryGridComponent":"feed-discovery-grid","com.linkedin.voyager.feed.render.FeedDividerComponent":"divider","com.linkedin.voyager.feed.render.FollowPromptComponent":"follow-prompt","com.linkedin.voyager.feed.render.HeaderComponent":"header","com.linkedin.voyager.feed.render.ImageComponent":"image","com.linkedin.voyager.feed.render.JobComponent":"job","com.linkedin.voyager.feed.render.LinkedInVideoComponent":"linkedin-video","com.linkedin.voyager.feed.render.NewsletterComponent":"newsletter","com.linkedin.voyager.feed.render.PollComponent":"poll","com.linkedin.voyager.feed.render.PromoComponent":"promo","com.linkedin.voyager.feed.render.PromoComponentV2":"promo","com.linkedin.voyager.feed.render.ReviewComponent":"review","com.linkedin.voyager.feed.render.ScheduledLiveContentComponent":"scheduled-live-content","com.linkedin.voyager.feed.render.SeeMoreComponent":"see-more-card","com.linkedin.voyager.feed.render.ShareComponent":"share","com.linkedin.voyager.feed.render.ShowcaseComponent":"showcase","com.linkedin.voyager.feed.render.SlideshowComponent":"slideshows","com.linkedin.voyager.feed.render.SurveyComponent":"survey","com.linkedin.voyager.feed.render.TextComponent":"text","com.linkedin.voyager.feed.render.TextOverlayImageComponent":"text-overlay-image","com.linkedin.voyager.feed.render.UpdateV2":"update-v2"}),o=Object.freeze({"com.linkedin.voyager.dash.feed.component.actor.ActorComponent":"actor","com.linkedin.voyager.dash.feed.component.announcement.AnnouncementComponent":"announcement","com.linkedin.voyager.dash.feed.component.article.ArticleComponent":"article","com.linkedin.voyager.dash.feed.component.button.ButtonComponent":"button","com.linkedin.voyager.dash.feed.component.celebration.CelebrationComponent":"celebration","com.linkedin.voyager.dash.feed.component.commentary.CommentaryComponent":"text","com.linkedin.voyager.dash.feed.component.contextualheader.ContextualHeaderComponent":"contextual-header","com.linkedin.voyager.dash.feed.component.creative.CreativeComponent":"creative","com.linkedin.voyager.dash.feed.component.ctaComponent.CallToActionComponent":"call-to-action","com.linkedin.voyager.dash.feed.component.entity.EntityComponent":"entity","com.linkedin.voyager.dash.feed.component.event.EventComponent":"event","com.linkedin.voyager.dash.feed.component.externalvideo.ExternalVideoComponent":"external-video","com.linkedin.voyager.dash.feed.component.followprompt.followPromptComponent":"follow-prompt","com.linkedin.voyager.dash.feed.component.header.HeaderComponent":"header","com.linkedin.voyager.dash.feed.component.image.ImageComponent":"image","com.linkedin.voyager.dash.feed.component.job.JobComponent":"job","com.linkedin.voyager.dash.feed.component.newsletter.NewsletterComponent":"newsletter","com.linkedin.voyager.dash.feed.component.polls.PollComponent":"poll","com.linkedin.voyager.dash.feed.component.postcta.PostCtaComponent":"post-cta","com.linkedin.voyager.dash.feed.component.review.ReviewComponent":"review","com.linkedin.voyager.dash.feed.component.seemore.SeeMoreComponent":"see-more-card","com.linkedin.voyager.dash.feed.component.showcase.ShowcaseComponent":"showcase","com.linkedin.voyager.dash.feed.component.survey.SurveyComponent":"survey","com.linkedin.voyager.dash.feed.component.textoverlayimage.TextOverlayImageComponent":"text-overlay-image","com.linkedin.voyager.dash.feed.Update":"update-v2"})
function i(e){if(!e)return null
const t=(0,n.classNameOf)(e)
return a[t]?a[t]:o[t]?o[t]:null}function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"update-components"
const n=i(e)
return n?`${t}@${n}`:null}var s=(0,t.helper)((function(e){let[t,n]=e
return void 0===t?null:r(t,n)}))
e.default=s}))
define("feed-shared/helpers/render-models/convert-tvm-to-text-comp",["exports","@ember/component/helper"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.convertToTextComponent=n
e.default=void 0
function n(e){return{text:e}}var a=(0,t.helper)((function(e){if(!(e.length<1))return n(e[0])}))
e.default=a}))
define("feed-shared/helpers/render-models/detail-page-info",["exports","@ember/component/helper","@ember/object","@ember/debug"],(function(e,t,n,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=e.DETAIL_PAGE_TYPE_TO_ROUTE_MAP=void 0
e.getDetailPageInfo=r
const o=Object.freeze({FEED_DETAIL:"FEED_DETAIL",LIVE_EVENT:"LIVE_EVENT",LIVE_VIDEO:"LIVE_VIDEO",EMPLOYEE_BROADCAST:"EMPLOYEE_BROADCAST",NONE:"NONE"}),i=Object.freeze({FEED_DETAIL:"feed.update",LIVE_EVENT:"video-engine.event",LIVE_VIDEO:"video-engine.live",EMPLOYEE_BROADCAST:"mycompany.top-level.broadcasts-detail",NONE:null})
e.DETAIL_PAGE_TYPE_TO_ROUTE_MAP=i
function r(e,t){const{detailPageType:a,shareUrn:r,urn:s}=(0,n.getProperties)(e,"detailPageType","shareUrn","urn"),l=[]
switch(a){case o.FEED_DETAIL:l.push(s)
break
case o.LIVE_EVENT:case o.LIVE_VIDEO:l.push(r)
break
case o.EMPLOYEE_BROADCAST:l.push(t,s)}return{models:l,route:i[a]}}const s=(0,t.helper)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
return e.length<1?void 0:r(...e)}))
var l=s
e.default=l}))
define("feed-shared/helpers/render-models/image/is-constrained",["exports","@ember/component/helper","@ember/object"],(function(e,t,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.isConstrained=a
function a(e){if(!e)return
return!((0,n.get)(e,"attributes.firstObject.useCropping")||"ASPECT_FILL"===(0,n.get)(e,"attributes.firstObject.scalingType"))}var o=(0,t.helper)((function(e){if(!(e.length<1))return a(e[0])}))
e.default=o}))
define("feed-shared/helpers/render-models/image/padding-top",["exports","@ember/component/helper","global-utils/utils/html-safe","@ember/object"],(function(e,t,n,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.getPaddingTopStyle=o
function o(e){if(!e)return
const t=(0,a.get)(e,"attributes.firstObject.displayAspectRatio")||.523,o=Math.round(1e4*t)/100
return(0,n.default)(`padding-top: ${o}%;`)}var i=(0,t.helper)((function(e){if(!(e.length<1))return o(e[0])}))
e.default=i}))
define.alias("ember-app-scheduler/helpers/route-idle","feed-shared/helpers/route-idle")
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-cli-pemberly-litms/helpers/tag-manager-test-helper","feed-shared/helpers/tag-manager-test-helper")
define.alias("ember-number-formatting/helpers/trim-fractional-numbers","feed-shared/helpers/trim-fractional-numbers")
define.alias("ember-truth-helpers/helpers/xor","feed-shared/helpers/xor")
define("feed-shared/initializers/artdeco",["exports","artdeco-eyeglass"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.initialize=o
const n=[t.default.contextClasses,t.default.floatingLabel,t.default.focusOutline]
function a(e,t){const a=e[t]
e[t]=function(){n.forEach((e=>e&&"function"==typeof e.teardown&&e.teardown()))
a&&"function"==typeof a&&a.call(e)}}function o(e){if("undefined"!=typeof document){n.forEach((e=>e.install()))
"function"==typeof e.willDestroy?a(e,"willDestroy"):"function"==typeof e.destroy&&a(e,"destroy")}}var i={name:"artdeco",initialize:o}
e.default=i}))
define("feed-shared/initializers/ember-faker",["exports"],(function(e){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.initialize=t
function t(){}var n={name:"ember-faker",initialize:t}
e.default=n}))
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 a(e){throw e}var o={name:"icons",initialize:function(){const{environment:e,APP:o}=n.default
let i,r
o&&({artdecoCustomSpriteUrl:i,artdecoCustomSpriteName:r}=o)
const s="test"!==e
t.default.load(s,i,r).catch(a)}}
e.default=o}))
define.alias("ember-m3/initializers/m3-store","feed-shared/initializers/m3-store")
define("feed-shared/initializers/override-safestring",["exports","ember"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.initialize=i
const n="ember-glimmer",a="ember-htmlbars/utils/string",o="@ember/-internals/glimmer"
function i(){let e,i=t.default.__loader.require.has
if(i(o))e=t.default.__loader.require(o).SafeString
else if(i(n))e=t.default.__loader.require(n).SafeString
else{if(!i(a))throw new Error("Cannot locate SafeString class for overriding")
e=t.default.__loader.require(a).SafeString}e.prototype.toHTML=function(){return jSecure.sanitizeHTML(this.toString())}
e.prototype.toString=function(){return`${this.string}`}}var r={name:"override-safestring",initialize:i}
e.default=r}))
define.alias("video/instance-initializers/media-plugins","feed-shared/instance-initializers/media-plugins")
define.alias("artdeco-datepicker/modifiers/artdeco-calendar-click-watcher","feed-shared/modifiers/artdeco-calendar-click-watcher")
define("feed-shared/modifiers/content-height",["exports","ember-modifier","global-utils/utils/html-safe"],(function(e,t,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var a=(0,t.modifier)(((e,t,a)=>{let{property:o,isCarouselUpdate:i,heightHelper:r}=a
if(i){const t=e.closest(".feed-shared-update-v2"),a=null==t?void 0:t.querySelector(".feed-shared-update-v2__description-wrapper"),i=null==r?void 0:r(a,e)
i&&o&&e.setAttribute("style",(0,n.default)(`${o}: ${i}px`))}}),{eager:!0})
e.default=a}))
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("feed-shared/modifiers/manage-embed-modal-iframe",["exports","@babel/runtime/helpers/esm/defineProperty","ember-modifier","ember-lifeline"],(function(e,t,n,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const o=["https://www.linkedin.com","https://pemberly.www.linkedin.com:4443","https://www.linkedin-ei.com","https://pemberly.www.linkedin-ei.com:4443","https://www.linkedin.cn","https://pemberly.www.linkedin.cn:4443","https://www.linkedin-ei.cn","https://pemberly.www.linkedin-ei.cn:4443"],i=".feed-shared-embed-modal__iframe"
class r extends n.default{constructor(){super(...arguments);(0,t.default)(this,"hasIframeListener",!1);(0,t.default)(this,"currentLoadedSrc","")}didReceiveArguments(){this.args.named.iframeSrc!==this.currentLoadedSrc&&this._refreshIframeSrc()
if(!this.hasIframeListener){const e=this.element.querySelector(i)
this.args.named.useLiveEmbedRoute?(0,a.addEventListener)(this,e,"load",this._onIframeMessage):(0,a.addEventListener)(this,window,"message",this._onIframeMessage)
this.hasIframeListener=!0}}willDestroy(){const e=this.element.querySelector(i);(0,a.removeEventListener)(this,window,"message",this._onIframeMessage);(0,a.removeEventListener)(this,e,"load",this._onIframeMessage)
this.hasIframeListener=!1}_refreshIframeSrc(){this.element.querySelector(i).setAttribute("src",jSecure.sanitizeUrl(this.args.named.iframeSrc))
this.currentLoadedSrc=this.args.named.iframeSrc}_onIframeMessage(e){const t=e.data||{}
if(o.includes(e.origin)&&"public-post"===t.context||this.args.named.useLiveEmbedRoute){var n,a
const e=t.height,o=this.args.named.includeFullPost?e+20:284
null===(n=(a=this.args.named).setIframeLoadedData)||void 0===n||n.call(a,o)}}}e.default=r}))
define.alias("ember-prop-modifier","feed-shared/modifiers/prop")
define.alias("ember-ref-modifier/modifiers/ref","feed-shared/modifiers/ref")
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("feed-shared/modifiers/truncate-text",["exports","ember-modifier"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var n=(0,t.modifier)(((e,t,n)=>{let{shouldExpand:a,cb:o}=n
if(a){e.style["max-height"]="none"
e.style.display="block"}else{e.style.removeProperty("max-height")
e.style.removeProperty("display")}const i=e.scrollHeight-e.clientHeight>1
o(e.scrollHeight<=0,i)}),{eager:!1})
e.default=n}))
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(a){"default"!==a&&"__esModule"!==a&&(Object.prototype.hasOwnProperty.call(n,a)||a in e&&e[a]===t[a]||Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[a]}}))}))}))
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.alias("@linkedin/ember-restli-graphql/services/graphql","feed-shared/services/graphql")
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("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("ember-number-formatting/services/number-formatter","feed-shared/services/number-formatter")
define.alias("ember-number-formatting/services/number-locale","feed-shared/services/number-locale")
define.alias("@linkedin/ember-pem/services/pem-tracking","feed-shared/services/pem-tracking")
define.alias("ember-cli-realtime/services/realtime-api","feed-shared/services/realtime-api")
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("ember-cli-pemberly-litms/services/tracking-adapter-for-tag-manager","feed-shared/services/tracking-adapter-for-tag-manager")
define.alias("ember-singularity/services/unified-event-handler","feed-shared/services/unified-event-handler")
define.alias("artdeco-datepicker/templates/components/artdeco-calendar","feed-shared/templates/components/artdeco-calendar")
define.alias("artdeco-datepicker/templates/components/artdeco-datepicker-embedded-cal","feed-shared/templates/components/artdeco-datepicker-embedded-cal")
define.alias("artdeco-datepicker/templates/components/artdeco-datepicker","feed-shared/templates/components/artdeco-datepicker")
define.alias("artdeco-datepicker/templates/components/artdeco-daterange-embedded-cal","feed-shared/templates/components/artdeco-daterange-embedded-cal")
define.alias("artdeco-datepicker/templates/components/artdeco-daterange","feed-shared/templates/components/artdeco-daterange")
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(a){"default"!==a&&"__esModule"!==a&&(Object.prototype.hasOwnProperty.call(n,a)||a in e&&e[a]===t[a]||Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[a]}}))}))}))
define.alias("ember-highcharts/utils/build-options","feed-shared/utils/build-options")
define("feed-shared/utils/client-sensor-constants",["exports"],(function(e){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.SponsoredClientSensorMetrics=e.MainFeedClientSensorMetrics=e.HashtagFeedClientSensorMetrics=e.FeedTrackingClientSensorMetrics=e.CelebrationsClientSensorMetrics=e.CLIENT_SENSOR_GROUP_NAME=void 0
e.CLIENT_SENSOR_GROUP_NAME="feed"
const t=Object.freeze({INITIAL_UPDATE_REQUEST:"initial-update-request",INITIAL_UPDATE_REQUEST_FAILED:"initial-update-request-failed",REFRESHED_UPDATE_REQUEST:"refreshed-update-request",REFRESHED_UPDATE_REQUEST_FAILED:"refreshed-update-request-failed",REFRESHED_UPDATE_REQUEST_403:"refreshed-update-request-403",SUBSEQUENT_REQUEST:"subsequent-pagination-request",SUBSEQUENT_REQUEST_FAILED:"subsequent-pagination-request-failed",SUBSEQUENT_REQUEST_404:"subsequent-pagination-request-404",SUBSEQUENT_REQUEST_403:"subsequent-pagination-request-403",DUPLICATE_FEED_UPDATE:"duplicate-feed-update",DUPLICATE_FEED_UPDATE_COMPANY:"company-duplicate-updates-found-failure",STALE_FEED:"stale-first-page",STALE_FEED_COMPANY:"company-stale-first-page-updates-found-failure",STALE_FEED_FIRST_UPDATE:"stale-first-update",STALE_FEED_FIRST_UPDATE_COMPANY:"company-stale-first-update-found-failure",RETRY_FETCHING_SINGLE_UPDATE:"single-update-retry-fetch-success",MAIN_FEED_INITIAL_FETCH_RETRY_SUCCESS:"main-feed-initial-fetch-retry-success",MAIN_FEED_INITIAL_FETCH_RETRY:"main-feed-initial-fetch-retry-count",REFRESHED_UPDATE_REQUEST_NETWORK_FAILURE:"main-feed-refreshed-update-request-network-failure"})
e.MainFeedClientSensorMetrics=t
const n=Object.freeze({HASHTAG_BY_ID_INITIAL_UPDATE_REQUEST_SUCCESS:"hashtag-by-id-initial-update-request-success",HASHTAG_BY_ID_INITIAL_UPDATE_REQUEST_FAILED:"hashtag-by-id-initial-update-request-failed",HASHTAG_BY_ID_SUBSEQUENT_UPDATE_REQUEST_SUCCESS:"hashtag-by-id-subsequent-pagination-request-success",HASHTAG_BY_ID_SUBSEQUENT_UPDATE_REQUEST_FAILED:"hashtag-by-id-subsequent-pagination-request-failed",HASHTAG_BY_KEYWORD_INITIAL_UPDATE_REQUEST_SUCCESS:"hashtag-by-keyword-initial-update-request-success",HASHTAG_BY_KEYWORD_INITIAL_UPDATE_REQUEST_FAILED:"hashtag-by-keyword-initial-update-request-failed",HASHTAG_BY_KEYWORD_SUBSEQUENT_UPDATE_REQUEST_SUCCESS:"hashtag-by-keyword-subsequent-pagination-request-success",HASHTAG_BY_KEYWORD_SUBSEQUENT_UPDATE_REQUEST_FAILED:"hashtag-by-keyword-subsequent-pagination-request-failed",HASHTAG_TOGGLE_FOLLOW_REQUEST_SUCCESS:"hashtag-toggle-follow-request-success",HASHTAG_TOGGLE_FOLLOW_REQUEST_FAILED:"hashtag-toggle-follow-request-failed"})
e.HashtagFeedClientSensorMetrics=n
const a=Object.freeze({OCCASIONS_COLLECTION_REQUEST_SUCCESS:"occasions-collection-request-success",OCCASIONS_COLLECTION_REQUEST_FAILED:"occasions-collection-request-failed",OCCASIONS_COLLECTION_VIEWER_TYPE_REQUEST_SUCCESS:"occasions-collection-viewer-type-request-success",OCCASIONS_COLLECTION_VIEWER_TYPE_REQUEST_FAILED:"occasions-collection-viewer-type-request-failed",OCCASION_BY_TYPE_REQUEST_SUCCESS:"occasion-by-type-request-success",OCCASION_BY_TYPE_REQUEST_FAILED:"occasion-by-type-request-failed",OCCASIONS_COLELCTION_FIND_OCCASION_BY_TYPE_REQUEST_SUCCESS:"occasions-collection-find-occasion-by-type-request-success",OCCASIONS_COLELCTION_FIND_OCCASION_BY_TYPE_REQUEST_FAILED:"occasions-collection-find-occasion-by-type-request-failed",CELEBRATION_CREATION_REQUEST_SUCCESS:"celebration-creation-request-success",CELEBRATION_CREATION_REQUEST_FAILED:"celebration-creation-request-failed",CELEBRATION_CREATION_IMAGE_TOO_LARGE:"celebration-creation-image-too-large"})
e.CelebrationsClientSensorMetrics=a
const o=Object.freeze({SPONSORED_HIDDEN_UPDATES:"sponsored-hidden-updates",SPONSORED_LEADGEN_V2_SUBMISSION_SUCCESS:"sponsored-lgfv2-submission-success",SPONSORED_LEADGEN_V2_SUBMISSION_FAILURE:"sponsored-lgfv2-submission-failure"})
e.SponsoredClientSensorMetrics=o
const i=Object.freeze({NEGATIVE_FEED_IMPRESSION_DURATION:"negative-feed-impression-duration"})
e.FeedTrackingClientSensorMetrics=i}))
define("feed-shared/utils/constants",["exports","@linkedin/ember-pem/utils/degradation-tracking-metadata","global-utils/utils/url","feed-shared/utils/client-sensor-constants","rich-text/utils/constants"],(function(e,t,n,a,o){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.HASHTAG_MARKED_AS_SPAM_ERROR_CODE=e.FeedConstants=e.ENTITY_DATA_MAP_TETRIS=e.ENTITY_DATA_MAP=e.DEGRADATION_TRACKING_METADATA=e.ContentTypes=e.CHARTBEAT_CONSTANTS=e.CAROUSEL_IMAGE_SIZE_CONSTANTS=e.ADS_CONSTANTS=e.ACTIONS_POSITION=e.ACCESSORY_TRIGGER_TYPE_MAP=void 0
Object.defineProperty(e,"HASHTAG_REGEX",{enumerable:!0,get:function(){return o.HASHTAG_REGEX}})
e.controlMenuMap=e.consentFormTypes=e.UPDATE_ATTACHMENT_TRIGGER_ACTIONS=e.TEXT_DIRECTIONS=e.SHOWCASE_BACKGROUND_CLASS=e.SHARE_JOB_MODAL_URL=e.PEM_PRODUCT_NAMES=e.PEM_FEATURE_KEYS=e.MYNETWORK_URL=e.JET_TAGS=e.IMAGE_SIZES=void 0
Object.defineProperty(e,"getHashtagMatchRegex",{enumerable:!0,get:function(){return o.getHashtagMatchRegex}})
e.FeedConstants={PAGING_LIKES_COUNT_DETAIL:10,PAGING_UPDATES_COUNT_FEED:9,PAGING_CONTENT_TOPIC_FEED:6,INDEX_EXTENDED_ROUTE_MODULE_KEY:"home-feed:desktop",INDEX_EXTENDED_ROUTE_GFE_MODULE_KEY:"group-feed:desktop",INITIAL_UPDATE_COUNT_EXTENDED:10,INITIAL_FETCH_UPDATE_COUNT:3,PONCHO_ARTICLE_TYPE:"PONCHO",FOLLOW_RECOMMENDATIONS_FETCH_COUNT:6,NUM_FOLLOW_RECOMMENDATIONS_TO_SHOW:3,CHRON_FEED_FINDER:"chronFeed",CHRON_GROUPS_FEED_FINDER:"groupsFeed",FIND_FEED_FINDER:"findFeed",FEED_FINDER:"feed",UPDATE_SORT_COOKIE_KEY:"feed-sort",TOPIC_FEED_FINDER_BY_URN:"interestFeedByUrn",TOPIC_FEED_FINDER_BY_KEYWORDS:"interestFeedByKeywords",HIGHLIGHTED_FEED_FINDER:"highlightedFeed",JOBS_ENGINE_EXT:"jobs",FEED_REFRESH_QUERY_PARAM:"doFeedRefresh",FEED_REFRESH_BYPASS_RESTRAINT:"bypassRefreshTimingRestraint",FOLLOW:"FOLLOW",UNFOLLOW:"UNFOLLOW",FOLLOW_RECOMMENDATION_CARDS_PER_ROW_DESKTOP:5,TAP_TARGET_ATTRIBUTE_TYPES:{tags:"PHOTO_TAG"},TRACKING_URLS:{CONVERSION:"//www.googleadservices.com/pagead/conversion/869970373/?label=5Jy1CNG8qG8QxePqngM&guid=ON&script=0",RETARGETING:"//googleads.g.doubleclick.net/pagead/viewthroughconversion/869970373/?guid=ON&script=0",FACEBOOK:"//www.facebook.com/tr?id=1064772166942435&ev=PageView&noscript=1"},SHARE_UPDATE_MAX_HERO_IMAGES:5,RELEVANCE:"RELEVANCE",CHRON:"CHRON",NUM_STORYLINES_TO_FETCH:10,PAGES_ADMIN_ENTRYPOINT_ORGANIZATION_COUNT:3,FEED_UPDATES_ENDPOINT:"feed/updates",FEED_UPDATES_V2_ENDPOINT:"feed/updatesV2",CONTROL_MENU_ACTIONS_ENDPOINT:"voyagerFeedUpdateV2Actions",INCREASED_SAVED_ITEMS_FETCH_COUNT:10,SAVED_ITEMS_FETCH_COUNT:5,DESKTOP_MAIN_FEED_SU_CHANNELID:2,DESKTOP_HASHTAG_FEED_SU_CHANNELID:5001,REQUEST_SOURCE_LAN_SU_CHANNELID:27,REQUEST_SOURCE_LAN:"LAN"}
e.ContentTypes={ARTICLE:"article",IMAGE:"image",JOB:"job",MULTI_IMAGE:"multiImage",NATIVE_VIDEO:"nativeVideo",TEXT:"text",VIDEO:"video",STORYLINE:"storyline",CAROUSEL:"carousel"}
e.controlMenuMap={BLOCK_GROUP_MEMBER:{action:"onBlockMemberFromGroup",className:"option-block-member-from-group",iconType:"block-icon",role:"button"},DELETE:{action:"onDeleteUpdate",className:"option-delete",iconType:"trash-icon",role:"button"},DISABLE_COMMENTS:{action:"onDisableComments",className:"option-disable-comments",iconType:"speech-bubble-slash-icon",role:"button"},EDIT_SHARE:{action:"onEditAction",className:"option-edit-share",controlName:"control_menu_share_edit",iconType:"pencil-icon",role:"button"},EMBED:{action:"onEmbed",className:"option-embed",controlName:"control_menu_embed",iconType:"embed-icon",role:"button"},ENABLE_COMMENTS:{action:"onEnableComments",className:"option-enable-comments",iconType:"speech-bubble-icon",role:"button"},HIDE_UPDATE:{action:"onFeedback",className:"option-hide-update",controlName:"control_menu_hide",iconType:"visibility-off-icon",role:"button"},IMPROVE_MY_FEED:{action:"onImproveMyFeed",className:"option-improve-my-feed",iconType:"filter-icon",role:"link"},VISIBILITY:{action:"onVisibility",className:"option-visibility",controlName:"control_menu_post_visibility",iconType:"visibility-icon",role:"link"},INCORRECTLY_MENTIONED_COMPANY:{action:"onIncorrectlyMentionedInTheNews",className:"option-incorrectly-mentioned-in-news",iconType:"question-pebble-icon",role:"button"},INCORRECTLY_MENTIONED_PERSON:{action:"onIncorrectlyMentionedInTheNews",className:"option-incorrectly-mentioned-in-news",iconType:"question-pebble-icon",role:"button"},LEAVE_GROUP:{action:"onLeaveGroup",className:"option-leave-group",iconType:"leave-icon",role:"button"},RECOMMEND_GROUP_POST:{action:"onRecommendGroupPost",className:"option-recommend-group-post",controlName:"control_menu_recommend_group_post",iconType:"bell-icon",role:"button"},RECOMMEND_EVENT_POST:{action:"onRecommendEventPost",className:"option-recommend-event-post",controlName:"control_menu_recommend_event_post",iconType:"bell-icon",role:"button"},REMOVE_MENTION:{iconType:"at-pebble-icon",action:"onRemoveMention",className:"option-remove-mention",role:"button"},REPORT:{action:"onReport",className:"option-report",controlName:"control_menu_report",iconType:"flag-icon",role:"button"},REPORT_HASHTAG:{action:"onReport",className:"option-report",controlName:"control_menu_report",iconType:"flag-icon",role:"button"},DISCOVER_HASHTAG:{action:"onDiscover",className:"option-discover",controlName:"control_menu_discover",iconType:"plus-icon",role:"button"},MANAGE_HASHTAG:{action:"onManage",className:"option-manage",controlName:"control_menu_manage",iconType:"filter-icon",role:"button"},MESSAGE_MEMBER_ACTOR:{className:"option-message-member-actor",controlName:"control_menu_message_member_actor",iconType:"send-privately-icon",role:"button",customComponent:"update-components$control-menu/message-button"},PROMO_IRRELEVANT:{action:"onPromoIrrelevant",className:"promoIrrelevant",controlName:"control_menu_irrelevant_promo",iconType:"flag-icon",role:"button"},PROMO_LATER:{action:"onPromoLater",className:"promoLater",controlName:"control_menu_skip_promo",iconType:"clipboard-check-icon",role:"button"},SAVE:{action:"onSave",className:"option-save",controlName:"control_menu_save",iconType:"ribbon-icon",role:"button"},UNSAVE:{action:"onUnsave",className:"option-unsave",controlName:"control_menu_unsave",iconType:"ribbon-filled-icon",role:"button"},SHARE_VIA:{action:"onShareVia",className:"option-share-via",controlName:"control_menu_copy_link",iconType:"link-icon",role:"button"},UNFOLLOW_CHANNEL:{action:"onUnfollow",className:"option-unfollow-channel",controlName:"control_menu_unfollow",iconType:"clear-icon",role:"button"},UNFOLLOW_COMPANY:{action:"onUnfollow",className:"option-unfollow-company",controlName:"control_menu_unfollow",iconType:"clear-icon",role:"button"},UNFOLLOW_MEMBER:{action:"onUnfollow",className:"option-unfollow-member",controlName:"control_menu_unfollow",iconType:"clear-icon",role:"button"},UNFOLLOW_TOPIC:{action:"onUnfollow",className:"option-unfollow-topic",controlName:"control_menu_unfollow",iconType:"clear-icon",role:"button"},AD_CHOICE:{action:"onAdChoice",className:"option-ad_choice",controlName:"control_menu_ad_choice",iconType:"adchoices-icon",role:"button"},FEATURE:{action:"onFeature",className:"option-feature",controlName:"control_menu_featured_post_add",iconType:"star-icon",role:"button"},UNFEATURE:{action:"onUnfeature",className:"option-unfeature",controlName:"control_menu_featured_post_remove",iconType:"star-filled-icon",role:"button"},LEARN_MORE:{action:"onLearnMore",className:"option-learn_more",controlName:"control_menu_learn_more",iconType:"notify-pebble-icon",role:"link"},COMMENTS_RESTRICTIONS_SETTINGS:{action:"onCommentRestrictionSettingsClick",className:"option-comments-restriction-settings",controlName:"control_menu_comments_restrictions_settings",iconType:"speech-bubble-icon",role:"button"},MUTE_ACTOR:{action:"onMute",className:"option-mute_actor",controlName:"control_menu_mute",iconType:"mute-icon",role:"button"},DISINTEREST:{action:"onDisinterest",className:"option-disinterest",controlName:"control_menu_feedback",iconType:"eyeball-slash-icon",role:"button"},REMOVE_CONNECTION:{action:"onRemoveConnection",className:"option-remove-connection",controlName:"control_menu_remove_connection_expand",iconType:"person-remove-icon",role:"button"},NAVIGATION_ACTION:{action:"onNavigationAction",className:"option-navigation-action",iconType:"person-icon",role:"link",customComponent:"update-components$control-menu/navigation-action-link"}}
const i=Object.freeze({COMMENT_COUNT:"COMMENT_COUNT",COMMENT_CTA:"COMMENT_CTA",FOLLOW:"FOLLOW",MESSAGE_CTA:"MESSAGE_CTA",POLL_VOTE:"POLL_VOTE",REACT:"REACT",REACTION_COUNT:"REACTION_COUNT",RESHARE_CTA:"RESHARE_CTA",VIEW_POST:"VIEW_POST",VIEW_COMMENTARY:"VIEW_COMMENTARY"})
e.UPDATE_ATTACHMENT_TRIGGER_ACTIONS=i
const r=Object.freeze({COMMENT_COUNT:"COMMENT_COUNT",COMMENT_CTA:"COMMENT_CALL_TO_ACTION",FOLLOW:"FOLLOW",MESSAGE_CTA:"MESSAGE_CALL_TO_ACTION",POLL_VOTE:"POLL_VOTE",REACT:"REACT",REACTION_COUNT:"REACTION_COUNT",RESHARE_CTA:"RESHARE_CALL_TO_ACTION",VIEW_POST:"VIEW_POST",VIEW_COMMENTARY:"VIEW_COMMENTARY"})
e.ACCESSORY_TRIGGER_TYPE_MAP=r
const s=Object.freeze({LEFT_TO_RIGHT:"ltr",RIGHT_TO_LEFT:"rtl"})
e.TEXT_DIRECTIONS=s
const l=Object.freeze({MINI_COMPANY:{ROUTE:"companies.company",TITLE:"company_actor",ID_KEY:"miniCompany.id",ENTITY_URN:"miniCompany.entityUrn"},MINI_GROUP:{ROUTE:"groups.groups-entity.index",ENTITY_URN:"miniGroup.entityUrn"},MINI_PROFILE:{ROUTE:"profile.view",TITLE:"member_actor",ID_KEY:"miniProfile.id",ENTITY_URN:"miniProfile.entityUrn"}})
e.ENTITY_DATA_MAP=l
const d=Object.freeze({MINI_COMPANY:{ROUTE:"companies.company",TITLE:"company_actor",ID_KEY:"miniCompany.id",ENTITY_URN:"miniCompany.entityUrn"},MINI_GROUP:{ROUTE:"groups.groups-entity.index",ENTITY_URN:"miniGroup.entityUrn"},MINI_PROFILE:{ROUTE:"profile.common.profile",TITLE:"member_actor",ID_KEY:"miniProfile.id",ENTITY_URN:"miniProfile.entityUrn"}})
e.ENTITY_DATA_MAP_TETRIS=d
e.consentFormTypes={MODAL:"MODAL",INLINE:"INLINE"}
const c={AD_CHOICES_URL:`${(0,n.getDomainUrl)()}/help/linkedin/answer/62931`}
e.ADS_CONSTANTS=c
const u=Object.freeze({iframeId:"chartbeat-iframe",assetUrl:"assets/src/chartbeat.js",uid:29139})
e.CHARTBEAT_CONSTANTS=u
e.HASHTAG_MARKED_AS_SPAM_ERROR_CODE=403
const p=Object.freeze({DELETE_COMMENT:"feed-delete-comment",FEED_CUSTOM_TRACKING:"feed-custom-tracking",GET_ADMIN_ACTOR:"feed-get-admin-actor",GET_ANCHORED_COMMENT:"feed-get-anchored-comment",GET_ANCHORED_REPLY:"feed-get-anchored-reply",GET_COMMENTS:"feed-get-comments",GET_CONTENT_TOPIC_DATA:"feed-get-content-topic-data",GET_FOLLOWED_MEMBER:"feed-get-followed-member",GET_FOLLOWING_RECOMMENDATIONS:"feed-get-following-recommendations",GET_GDPR_CONSENT:"feed-get-gdpr-consent",GET_IDENTITY_MODULE:"feed-get-identity-module",GET_OCCASION:"feed-get-occasion",GET_OCCASIONS:"feed-get-occasions",GET_PACKAGE_RECOMMENDATIONS:"feed-get-package-recommendations",GET_PAGES_ADMIN_WIDGET:"feed-get-pages-admin-widget",GET_PREMIUM_WELCOME_BANNER:"feed-get-premium-welcome-banner",GET_PROFILE:"feed-get-profile",GET_REPLIES:"feed-get-replies",GET_SHARES:"feed-get-shares",GET_SIMILAR_ORGANIZATIONS:"feed-get-similar-organizations",GET_STORYLINE_FEED:"feed-get-storyline-feed",GET_UPDATE:"feed-get-update",GET_UPDATES:"feed-get-updates",GET_UPDATES_V2:"feed-get-updates-v2",GET_WELCOMEBACK_INTEREST_UPDATES:"feed-get-welcomeback-interest-updates",GET_CONVERSATION_STARTERS:"feed-get-conversation-starters",JOB_ALERT:"job-alert",LIKING_SOCIAL_ACTIVITY:"feed-liking-social-activity",PAGINATION_TOKEN_EXPIRED:"feed-pagination-token-expired",UNLIKING_SOCIAL_ACTIVITY:"feed-unliking-social-activity",GET_PROFILE_FOLLOWING_INFO:"feed-get-profile-following-info",GET_PROFILE_MEMBER_BADGES:"feed-get-profile-member-badges",UPDATEV2_INVALID_IMPRESSION_TRACKING:"updatev2-invalid-impression-tracking"})
e.JET_TAGS=p
const m=`${(0,n.getDomainUrl)()}/hiring/jobs/create`
e.SHARE_JOB_MODAL_URL=m
const h=`${(0,n.getDomainUrl)()}/mynetwork`
e.MYNETWORK_URL=h
e.IMAGE_SIZES={EXTENDED:600}
const g=Object.freeze({ACTOR_COMPONENT:"ACTOR_COMPONENT",ANNOUNCEMENT_COMPONENT:"ANNOUNCEMENT_COMPONENT",CONTEXTUAL_HEADER_COMPONENT:"CONTEXTUAL_HEADER_COMPONENT",HEADER_COMPONENT:"HEADER_COMPONENT",PROMO_COMPONENT_V2:"PROMO_COMPONENT_V2",SURVEY_COMPONENT:"SURVEY_COMPONENT"})
e.ACTIONS_POSITION=g
const f=Object.freeze({VOYAGER_FEED:"Voyager - Feed",VOYAGER_FEED_COMMENTS:"Voyager - Feed - Comments",VOYAGER_FEED_POSTS:"Voyager - Feed - Posts",VOYAGER_FEED_POLLS:"Voyager - Feed - Polls",VOYAGER_FEED_REACTIONS:"Voyager - Feed - Reactions",VOYAGER_HOMEPAGE:"Voyager - Homepage",VOYAGER_FEED_FOLLOWS:"Voyager - Feed - Follows"})
e.PEM_PRODUCT_NAMES=f
const b=Object.freeze({CONTROL_MENU:"update-control-menu",IDENTITY_MODULE:"feed-identity-module",INTEREST_PANEL:"feed-interest-panel",FOLLOW_RECOMMENDATIONS:"feed-follow-recommendations-module",STORYLINES:"feed-storyline-module",SUBSEQUENT_UPDATES:"subsequent-feed-updates",UPDATES:"feed-updates",POLL_PARTICIPATION:"participate-in-polls",POST_DELETE:"delete-post",FOLLOW_ACTOR:"follow-actor-toggle",HASHTAG_FEED_LOAD:"load-hashtag-feed",FOLLOWS_MODULE:"follows-module-toggle"})
e.PEM_FEATURE_KEYS=b
const y=Object.freeze({CONTROL_MENU:new t.default(b.CONTROL_MENU,"missing-update-control-menu",{productName:f.VOYAGER_HOMEPAGE,clientSensorGroupName:a.CLIENT_SENSOR_GROUP_NAME}),IDENTITY_MODULE:new t.default(b.IDENTITY_MODULE,"empty-identity-module",{productName:f.VOYAGER_HOMEPAGE,clientSensorGroupName:a.CLIENT_SENSOR_GROUP_NAME}),HASHTAG_FEED_LOAD:new t.default(b.HASHTAG_FEED_LOAD,"no-post-for-hashtag",{productName:f.VOYAGER_FEED,clientSensorGroupName:a.CLIENT_SENSOR_GROUP_NAME}),POST_DELETE:new t.default(b.POST_DELETE,"post-delete-error-toast",{productName:f.VOYAGER_FEED_POSTS,clientSensorGroupName:a.CLIENT_SENSOR_GROUP_NAME}),UPDATES:new t.default(b.UPDATES,"missing-feed-updates",{productName:f.VOYAGER_FEED}),SUBSEQUENT_UPDATES:new t.default(b.SUBSEQUENT_UPDATES,"missing-subsequent-feed-updates",{productName:f.VOYAGER_FEED}),FOLLOW_RECOMMENDATIONS:new t.default(b.FOLLOW_RECOMMENDATIONS,"missing-follow-recommendations-module",{productName:f.VOYAGER_HOMEPAGE,clientSensorGroupName:a.CLIENT_SENSOR_GROUP_NAME}),STORYLINES:new t.default(b.STORYLINES,"missing-storylines-module",{productName:f.VOYAGER_HOMEPAGE,clientSensorGroupName:a.CLIENT_SENSOR_GROUP_NAME}),FOLLOWS_MODULE:new t.default(b.FOLLOWS_MODULE,"follows-module-toggle-fails-silently",{productName:f.VOYAGER_FEED_FOLLOWS,clientSensorGroupName:a.CLIENT_SENSOR_GROUP_NAME}),POLL_PARTICIPATION:new t.default(b.POLL_PARTICIPATION,"polls-error-toast",{productName:f.VOYAGER_FEED_POLLS,clientSensorGroupName:a.CLIENT_SENSOR_GROUP_NAME}),FOLLOW_ACTOR:new t.default(b.FOLLOW_ACTOR,"follow-actor-toggle-fails-silently",{productName:f.VOYAGER_FEED_FOLLOWS,clientSensorGroupName:a.CLIENT_SENSOR_GROUP_NAME}),MARKETPLACE_REQUEST_DETAILS:new t.default("marketplace-request-details","failed-marketplace-request-details",{productName:"Voyager - Services Marketplace",clientSensorGroupName:"service-marketplace"})})
e.DEGRADATION_TRACKING_METADATA=y
const T=Object.freeze({MAX_COMMENTARY_2_LINES:40,MAX_ARTICLE_COMPONENT:263,MAX_CAROUSEL_CONTENT_HEIGHT:303})
e.CAROUSEL_IMAGE_SIZE_CONSTANTS=T
const _=Object.freeze({BACKGROUND_BRAND_ACCENT_3:"feed-shared-showcase__background--brand-accent-3",BACKGROUND_BRAND_ACCENT_4:"feed-shared-showcase__background--brand-accent-4",BACKGROUND_CONTAINER:"feed-shared-showcase__background--container"})
e.SHOWCASE_BACKGROUND_CLASS=_}))
define.alias("ember-cli-realtime/utils/eventsource-polyfill","feed-shared/utils/eventsource-polyfill")
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(a){"default"!==a&&"__esModule"!==a&&(Object.prototype.hasOwnProperty.call(n,a)||a in e&&e[a]===t[a]||Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[a]}}))}))}))
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(a){"default"!==a&&"__esModule"!==a&&(Object.prototype.hasOwnProperty.call(n,a)||a in e&&e[a]===t[a]||Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[a]}}))}))}))
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(a){"default"!==a&&"__esModule"!==a&&(Object.prototype.hasOwnProperty.call(n,a)||a in e&&e[a]===t[a]||Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[a]}}))}))}))
define("feed-shared/utils/get-text-attribute-type",["exports","rich-text/utils/constants","dash-interop-helper/utils/get-graphql-value-with-dash-fallback"],(function(e,t,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=function(e){let t;(0,n.getGraphQlValueWithDashFallback)(e,"detailData.hashtag")?t=r.TYPE:(0,n.getGraphQlValueWithDashFallback)(e,"detailData.companyName")?t=l.TYPE:(0,n.getGraphQlValueWithDashFallback)(e,"detailData.profileFullName")?t=o.TYPE:(0,n.getGraphQlValueWithDashFallback)(e,"detailData.profileFamiliarName")?t=i.TYPE:(0,n.getGraphQlValueWithDashFallback)(e,"detailData.profileMention")?t=a.TYPE:(0,n.getGraphQlValueWithDashFallback)(e,"detailDataUnion.hyperlink")&&(t=s.TYPE)
return t}
const{PROFILE_MENTION:a,PROFILE_FULLNAME:o,PROFILE_FAMILIARNAME:i,HASHTAG:r,HYPERLINK:s,COMPANY_NAME:l}=t.TEXT_ATTRIBUTE_TYPES}))
define.alias("client-sensor-web/utils/helpers","feed-shared/utils/helpers")
define("feed-shared/utils/like-handler",["exports","@ember/debug","@ember/utils","@ember/object","feed-utils/utils/authenticated-member-actor","feed-utils/utils/gdpr","feed-requests/likes","feed-utils/utils/error-parsing","feed-shared/utils/constants","restli-utils"],(function(e,t,n,a,o,i,r,s,l,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.default=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
const{authenticatedUser:n,gdprNotice:a,i18n:o,jet:i,store:r,persistentToastManager:s,tracking:l}=e,{authenticatedActor:d=null,likeNetworkErrorMessage:c=null}=t
this.authenticatedUser=n
this.gdprNotice=a
this.i18n=o
this.jet=i
this.store=r
this.persistentToastManager=s
this.tracking=l
this.authenticatedActor=d
this.likeNetworkErrorMessage=c}_shouldHideLikeError(e){if("string"==typeof e){const t="Not Modified"
return!(!e||e!==t)}return!1}_shouldHideUnlikeError(e){const t=e&&(0,a.get)(e,"errors.firstObject.status"),n=t&&parseInt(t,10)
return!(!n||n!==d.httpStatus.S_404_NOT_FOUND)}like(e,t){const d=this.authenticatedActor||(0,o.default)(this.store,this.authenticatedUser),c=(0,a.get)(e,"socialDetailEntityUrn"),u=this.store.peekAll("com.linkedin.voyager.feed.SocialDetail").filterBy("entityUrn",c)[0],p=(0,a.get)(e,"urn")
if((0,n.isPresent)((0,a.get)(d,"miniCompany"))){if(!(0,a.get)(e,"likedByOrganizationActor")){(0,a.set)(e,"likedByOrganizationActor",!0);(0,a.set)(e,"numLikes",(0,a.get)(e,"numLikes")+1)}}else if(!(0,a.get)(e,"liked")){(0,a.set)(e,"liked",!0);(0,a.set)(e,"numLikes",(0,a.get)(e,"numLikes")+1)}u&&(0,a.set)(u,"likes.paging.total",(0,a.get)(u,"likes.paging.total")+1)
const m={},h=(0,a.get)(t||{},"sponsoredTracking")
h&&(m.sponsoredMetadata=h)
const g=this.store.createRecord("com.linkedin.voyager.feed.Like",{threadId:p,actor:d})
u&&g&&(0,a.get)(u,"likes.elements").pushObject(g)
return this.store.adapterFor("-ember-m3").ajax(...(0,r.likeRequest)(p,d,m)).then((()=>{/groupPost/.test(c)?(0,i.showGdprGroupSocialCreatedNotice)(this.i18n,this.gdprNotice):(0,i.showGdprLikeCreatedNotice)(this.i18n,this.gdprNotice)})).catch((t=>{if(this._shouldHideLikeError(t))this.jet.logError(new Error("Network request failed due to liking an existing liked comment"),l.JET_TAGS.LIKING_SOCIAL_ACTIVITY,!1)
else{this.showLikeNetworkErrorMessage(t)
if((0,n.isPresent)((0,a.get)(d,"miniCompany"))){if((0,a.get)(e,"likedByOrganizationActor")){(0,a.set)(e,"likedByOrganizationActor",!1);(0,a.set)(e,"numLikes",(0,a.get)(e,"numLikes")-1)}}else if((0,a.get)(e,"liked")){(0,a.set)(e,"liked",!1);(0,a.set)(e,"numLikes",(0,a.get)(e,"numLikes")-1)}u&&(0,a.set)(u,"likes.paging.total",(0,a.get)(u,"likes.paging.total")-1)
u&&(0,a.get)(u,"likes.elements").removeObject(g)
if(!(0,s.isHttpErrorStatus)(t))throw t
this.jet.logError(new Error("Network request failed while liking a social activity"),l.JET_TAGS.LIKING_SOCIAL_ACTIVITY,!1)}}))}unlike(e){const t=this.authenticatedActor||(0,o.default)(this.store,this.authenticatedUser),n=!(!t||!(0,a.get)(t,"miniCompany")),i=(0,a.get)(e,"socialDetailEntityUrn"),d=this.store.peekAll("com.linkedin.voyager.feed.SocialDetail").filterBy("entityUrn",i)[0],c=(0,a.get)(e,"urn")
let u
if(n){if((0,a.get)(e,"likedByOrganizationActor")){(0,a.set)(e,"likedByOrganizationActor",!1);(0,a.set)(e,"numLikes",(0,a.get)(e,"numLikes")-1)}}else if((0,a.get)(e,"liked")){(0,a.set)(e,"liked",!1);(0,a.set)(e,"numLikes",(0,a.get)(e,"numLikes")-1)}if(d){(0,a.set)(d,"likes.paging.total",(0,a.get)(d,"likes.paging.total")-1)
u=n?(0,a.get)(d,"likes.elements").findBy("actor.miniCompany.entityUrn",(0,a.get)(t,"miniCompany.entityUrn")):(0,a.get)(d,"likes.elements").findBy("actor.miniProfile.entityUrn",(0,a.get)(t,"miniProfile.entityUrn"))}u&&u.unloadRecord()
return this.store.adapterFor("-ember-m3").ajax(...(0,r.unlikeRequest)(c,t)).catch((t=>{if(this._shouldHideUnlikeError(t))this.jet.logError(new Error("Network request failed due to unliking an existing unliked comment"),l.JET_TAGS.UNLIKING_SOCIAL_ACTIVITY,!1)
else{this.showLikeNetworkErrorMessage(t)
if(n){if(!(0,a.get)(e,"likedByOrganizationActor")){(0,a.set)(e,"likedByOrganizationActor",!0);(0,a.set)(e,"numLikes",(0,a.get)(e,"numLikes")+1)}}else if(!(0,a.get)(e,"liked")){(0,a.set)(e,"liked",!0);(0,a.set)(e,"numLikes",(0,a.get)(e,"numLikes")+1)}d&&(0,a.set)(d,"likes.paging.total",(0,a.get)(d,"likes.paging.total")+1)
u&&u.rollbackAttributes()
if(!(0,s.isHttpErrorStatus)(t))throw t
this.jet.logError(new Error("Network request failed while unliking a social activity"),l.JET_TAGS.UNLIKING_SOCIAL_ACTIVITY,!1)}}))}toggleLike(e,t){const o=(0,n.isPresent)(this.authenticatedActor)&&!!(0,a.get)(this.authenticatedActor,"miniCompany")?"likedByOrganizationActor":"liked"
return(0,a.get)(e,o)?this.unlike(e):this.like(e,t)}showLikeNetworkErrorMessage(e){const t=(0,s.isValidVoyagerUserVisibleException)(e)?(0,a.get)(e,"errors.firstObject.message"):this.likeNetworkErrorMessage
t&&this.persistentToastManager.error({message:t})}}}))
define("feed-shared/utils/log-negative-duration",["exports","feed-shared/utils/client-sensor-constants"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.logNegativeDuration=function(e){e.incrementMetricCounter({groupName:t.CLIENT_SENSOR_GROUP_NAME,metricName:t.FeedTrackingClientSensorMetrics.NEGATIVE_FEED_IMPRESSION_DURATION})}}))
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(a){"default"!==a&&"__esModule"!==a&&(Object.prototype.hasOwnProperty.call(n,a)||a in e&&e[a]===t[a]||Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[a]}}))}))}))
define("feed-shared/utils/parse-artdeco-icon-name",["exports","@ember/string"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=function(e){const n=/^IC_(.+)_(\d+)DP$/.exec(e)
if(n){const[,e,a]=n
return{size:function(e){switch(e){case"16":return"small"
case"24":return"large"
default:throw new Error("Icon size was an unexpected value.")}}(a),name:`${(0,t.dasherize)(e)}-icon`}}throw new Error("ArtDecoIconName string did not match expected format.")}}))
define("feed-shared/utils/promo",["exports"],(function(e){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.FEED_PROMO_STYLES=void 0
const t=Object.freeze({PromoComponent:"com.linkedin.voyager.feed.render.PromoComponent",PromoComponentV2:"com.linkedin.voyager.feed.render.PromoComponentV2"})
e.FEED_PROMO_STYLES=t}))
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=e.IMPRESSION_TRACKING_HOOKS=void 0
const n=(0,t.generateTrackingId)()
function a(e){const t={CONNECTION_COUNT_ABI:"HOMEPAGE_FEED_RAIL",ABI:"HOMEPAGE_FEED_ABI_PROMO",ABI_NUX:"HOMEPAGE_FEED_NUX_PROMO",ABI_WYLO:"HOMEPAGE_FEED_ABI_PROMO"}
this.heathrow.organicAbiShouldSkipImport().then((a=>{var o
const{tracking:i}=this
i.fireTrackingPayload("AbookImportEntryImpressionEvent",{abookImportTransactionId:n,entryPoint:t[e],suggestedRoute:a?"RESULT_LANDING":"INTRO"})
i.fireTrackingPayload("AbookImportImpressionEvent",{source:i.getCurrentPageKey(),abookImportTransactionId:n,autoFilledEmail:this.prefillEmail&&"true",autoSelectedEmailProvider:"OTHERS",orderOfEmailProviderss:[],socialProofCount:null!==(o=this.socialProofCount)&&void 0!==o?o:0})}))}const o={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}}}
e.ROUTE_MAP=o
const i={CONNECTION_COUNT_ABI:a,ABI:a,ABI_NUX:a,ABI_WYLO:a}
e.IMPRESSION_TRACKING_HOOKS=i}))
define("feed-shared/utils/promos/index",["exports","@babel/runtime/helpers/esm/objectSpread2","feed-shared/utils/promos/abi"],(function(e,t,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.PROMOS_ROUTE_MAP=e.PROMOS_IMPRESSION_TRACKING_HOOKS=void 0
const a=(0,t.default)({},n.ROUTE_MAP)
e.PROMOS_ROUTE_MAP=a
const o=(0,t.default)({},n.IMPRESSION_TRACKING_HOOKS)
e.PROMOS_IMPRESSION_TRACKING_HOOKS=o}))
define("feed-shared/utils/realtime-social-event-notifier",["exports","@ember/object"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
e.default=class{constructor(e){let{lix:n,realtimeEvents:a,updateList:o,component:i,singleUpdateUrns:r={}}=e;(0,t.setProperties)(this,{lix:n,realtimeEvents:a,updateList:o,component:i,singleUpdateUrns:r,realtimeTopics:[],notifierDataArray:[]})}_getRealtimeTopics(e){return e.forEach((e=>{e.threadUrn.includes("urn:li:activity")&&this.realtimeTopics.push(`urn:li-realtime:reactionSummariesTopic:${e.threadUrn}`)}))}_getThreadUrns(e){const n=[]
e.forEach((e=>(0,t.get)(e,"elements").toArray().forEach((e=>{const a=(0,t.get)(e,"socialDetail.urn")
a&&n.push({updateUrn:(0,t.get)(e,"updateMetadata.urn"),threadUrn:a,displayNotifier:!1,realtimeTopic:`urn:li-realtime:reactionSummariesTopic:${a}`,notifierPayload:void 0})}))))
return n}setupRealtimeSocialEvents(){this.notifierDataArray=this._getThreadUrns(this.updateList)
this._getRealtimeTopics(this.notifierDataArray)
this.realtimeEvents.subscribe(this.component,this.realtimeTopics)}setupForSingleSubscription(){const{threadUrn:e,updateUrn:t}=this.singleUpdateUrns,n=`urn:li-realtime:reactionSummariesTopic:${e}`
this.notifierDataArray=[{updateUrn:t,threadUrn:e,displayNotifier:!1,realtimeTopic:n,notifierPayload:void 0}]
this.realtimeEvents.subscribe(this.component,[n])}handleSubscriptionFailure(e){const t=[]
this.notifierDataArray.forEach(((n,a)=>{n.realtimeTopic===e&&t.push(a)}))}formatRealtimeSocialEvent(e,t){const{payload:n}=t
let a
this.notifierDataArray.forEach((t=>{if(t.realtimeTopic===e){t.displayNotifier=!0
t.notifierPayload=n.data.value
a=t}}))
return a}clearNotifier(e){e.displayNotifier=!1}cleanupRealtimeSubscription(){this.realtimeEvents.unsubscribe(this.component,this.realtimeTopics)}}}))
define("feed-shared/utils/text-view",["exports","@ember/object","@ember/array","rich-text/utils/constants"],(function(e,t,n,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.TextChunk=void 0
e.isNextAttributeAfter=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0
return function(n){return(0,t.get)(n,"start")>=e}}
e.TextChunk=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
this.start=e
this.textValue=t
this.textAttributes=(0,n.A)()
this.addTextAttribute(a)}addTextAttribute(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
const n=(0,t.get)(e,"type")||"TEXT",o=a.TEXT_ATTRIBUTE_TYPES[n]&&a.TEXT_ATTRIBUTE_TYPES[n].PRIORITY||a.TEXT_ATTRIBUTE_TYPES.TEXT.PRIORITY;(0,t.set)(e,"priority",o)
this.textAttributes.pushObject(e)
this.sortedTextAttributes=this.textAttributes.sortBy("priority")}}}))
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(a){"default"!==a&&"__esModule"!==a&&(Object.prototype.hasOwnProperty.call(n,a)||a in e&&e[a]===t[a]||Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[a]}}))}))}))
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(a){"default"!==a&&"__esModule"!==a&&(Object.prototype.hasOwnProperty.call(n,a)||a in e&&e[a]===t[a]||Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[a]}}))}))}))

//# sourceMappingURL=engine.map