eResolutionResult.url")}get coverPhotoVectorImageArray(){return(this.args.dashMember.coverPhotoItems||[]).map((e=>{var t,i,n
return null==e||null===(t=e.background)||void 0===t||null===(i=t.image)||void 0===i||null===(n=i.displayImageReferenceResolutionResult)||void 0===n?void 0:n.vectorImage}))}get coverPhotoItems(){const e=this.args.dashMember||this.storeShim.peekRecord((0,m.get)(this.args.dashMember,"$type"),(0,m.get)(this.args.dashMember,"entityUrn"))
return(0,m.get)(e,"coverPhotoItems")}get showTetrisCallout(){return"BACKGROUND_IMAGE"===(0,m.get)(this.args,"topcardCallout.calloutType")}get isUSLocale(){return"us"===this.locale.requestIpCountryCode}closeBackgroundImageCropper(){this.isImageCropperOpen=!1
this.fileToUpload=void 0}editPhoto(){const{tracking:e}=this
if(this.coverPhotoItems.length){this.isCarouselEditorOpen=!0
e.fireInteractionEvent("cover_photo_edit_carousel_click")}else if(this.displayImage){this.isImageCropperOpen=!0
e.fireInteractionEvent("background_image_edit")}else{e.fireInteractionEvent("background_image_upload")
this.isBackgroundImageWithSocialCauseEnabled?this.isBackgroundImageChooserOpen=!0:this.isImageEducationOpen=!0}}openImageChooser(){this.isImageEducationOpen=!1
this.isImageCropperOpen=!1
this.isCarouselEditorOpen=!1;(0,d.readDOM)((()=>{this.isBackgroundImageChooserOpen=!0}))}openImageEducationModal(){this.isImageEducationOpen=!1
this.isImageCropperOpen=!1
this.isBackgroundImageChooserOpen=!1;(0,d.readDOM)((()=>{this.isImageEducationOpen=!0}))}openCarouselEditor(){this.isImageEducationOpen=!1
this.isImageCropperOpen=!1
this.isBackgroundImageChooserOpen=!1;(0,d.readDOM)((()=>{this.isCarouselEditorOpen=!0}))}dismissTooltip(){const e=this.showTetrisCallout&&(0,m.get)(this.args.topcardCallout,"callout.legoTrackingId")
e&&this.legoTracking.sendLegoAction(e,this.legoTracking.LEGO_ACTION_DISMISS,1)}chooseFile(e){const t=(0,g.isInValidImageFile)(e.target.files)
if(t){const e=this.i18n.lookupTranslation(s.default,t)()
this.persistentToastManager.error({message:e})}else{const[t]=e.target.files
this.fileToUpload=t
this.isBackgroundImageChooserOpen=!1
this.isImageEducationOpen=!1
this.isImageCropperOpen=!0}e.target.value=null}deleteBackgroundImage(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0]
this.identityStore.save(this.args.dashMember).then((()=>{if(!(0,v.isDestroying)(this))return e?(0,R.fetchProfileViewResponseByUseCase)(this.graphql,"EDIT_PROFILE_PHOTO"):void 0})).then((()=>{if(!(0,v.isDestroying)(this)){this.closeBackgroundImageCropper()
this.isCarouselEditorOpen=!1}}))}applyBackgroundImage(){this.tracking.fireInteractionEvent("background_image_save")
this.identityStore.save(this.args.dashMember).then((()=>{if(!(0,v.isDestroying)(this)){(0,R.fetchProfileViewResponseByUseCase)(this.graphql,"EDIT_PROFILE_PHOTO")
this.closeBackgroundImageCropper()
this.isBackgroundImageChooserOpen=!1
this.isCarouselEditorOpen=!1}})).catch((e=>{if((0,v.isDestroying)(this))throw e
const t=jSecure.htmlEncode(this.i18n.lookupTranslation(s.default,"submission_failed")())
this.persistentToastManager.error({message:t})
throw e}))}onEnhanceButtonImpression(){const e=this.premiumCoverPhotosCTA.legoTrackingId
e&&this.legoTracking.sendLegoImpression(e,this.legoTracking.LEGO_IMPRESSION_VISIBILITY_SHOW)}onDropdownTriggerCallback(e){if(this.isPremiumCoverPhotoEntryPointEnabled&&this.isPremiumCoverPhotosOwnerImprovementsEnabled){const{tracking:e}=this
this.coverPhotoItems.length?e.fireInteractionEvent("cover_photo_edit_carousel_click"):this.displayImage?e.fireInteractionEvent("background_image_edit"):e.fireInteractionEvent("background_image_upload")}else{e.stopPropagation()
this.editPhoto()}}onAddEditCoverImage(){const{tracking:e}=this
if(!this.coverPhotoItems.length&&this.displayImage){this.isImageCropperOpen=!0
e.fireInteractionEvent("edit_cover_image")}else{this.coverPhotoItems.length?e.fireInteractionEvent("replace_with_cover_image"):e.fireInteractionEvent("add_cover_image")
this.isBackgroundImageWithSocialCauseEnabled?this.isBackgroundImageChooserOpen=!0:this.isImageEducationOpen=!0}}onAddEditCarousel(){const{tracking:e}=this
this.coverPhotoItems.length?e.fireInteractionEvent("edit_slideshow"):e.fireInteractionEvent("cover_photo_create_slideshow_click")
this.isCarouselEditorOpen=!0}},K=(0,n.default)(Q.prototype,"identityStore",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,n.default)(Q.prototype,"tracking",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,n.default)(Q.prototype,"legoTracking",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,n.default)(Q.prototype,"persistentToastManager",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,n.default)(Q.prototype,"i18n",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,n.default)(Q.prototype,"locale",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,n.default)(Q.prototype,"lix",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,n.default)(Q.prototype,"graphql",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=(0,n.default)(Q.prototype,"storeShim",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ne=(0,n.default)(Q.prototype,"isImageCropperOpen",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),oe=(0,n.default)(Q.prototype,"fileToUpload",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),re=(0,n.default)(Q.prototype,"isBackgroundImageChooserOpen",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),le=(0,n.default)(Q.prototype,"isImageEducationOpen",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ae=(0,n.default)(Q.prototype,"isCarouselEditorOpen",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),se=(0,n.default)(Q.prototype,"isUpsellModalOpen",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(Q.prototype,"closeBackgroundImageCropper",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"closeBackgroundImageCropper"),Q.prototype),(0,n.default)(Q.prototype,"editPhoto",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"editPhoto"),Q.prototype),(0,n.default)(Q.prototype,"openImageChooser",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"openImageChooser"),Q.prototype),(0,n.default)(Q.prototype,"openImageEducationModal",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"openImageEducationModal"),Q.prototype),(0,n.default)(Q.prototype,"openCarouselEditor",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"openCarouselEditor"),Q.prototype),(0,n.default)(Q.prototype,"dismissTooltip",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"dismissTooltip"),Q.prototype),(0,n.default)(Q.prototype,"chooseFile",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"chooseFile"),Q.prototype),(0,n.default)(Q.prototype,"deleteBackgroundImage",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"deleteBackgroundImage"),Q.prototype),(0,n.default)(Q.prototype,"applyBackgroundImage",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"applyBackgroundImage"),Q.prototype),(0,n.default)(Q.prototype,"onEnhanceButtonImpression",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"onEnhanceButtonImpression"),Q.prototype),(0,n.default)(Q.prototype,"onDropdownTriggerCallback",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"onDropdownTriggerCallback"),Q.prototype),(0,n.default)(Q.prototype,"onAddEditCoverImage",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"onAddEditCoverImage"),Q.prototype),(0,n.default)(Q.prototype,"onAddEditCarousel",[m.action],Object.getOwnPropertyDescriptor(Q.prototype,"onAddEditCarousel"),Q.prototype),Q))}))
define("profile-top-card/components/subscribe-button",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/helper","@ember/component","@ember/service","@ember/object","profile-shared/utils/edge-setting-helpers","@glimmer/component","@ember/destroyable","artdeco-hoverables/components/artdeco-hoverable-trigger","artdeco-button/components/artdeco-button","nt-edgesetting/components/nt-edgesetting","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-interaction","@ember/modifier","@glimmer/tracking"],(function(e,t,i,n,o,r,l,a,s,u,c,d,p,m,g,f,h,b,y,v){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var _,w,k,P,C,x,D,T,O,S
const I="HIGHLIGHTS",E="success",M="components/profile-top-card@subscribe-button"
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"jFeSpCVW",block:'[[[1,"\\n"],[1,"\\n"],[41,[30,0,["isToggleButton"]],[[[1,"      "],[8,[32,0],[[24,0,"profile-top-card__subscribe-button"],[4,[32,2],["click",[30,0,["toggleSubscribe"]]],null],[4,[32,3],["notify_bell"],null]],[["@aria-label","@circle","@color","@controlType","@icon","@size","@type","@text"],[[28,[32,1],["i18n_subscribe_highlights_label","profile-top-card/components/subscribe-button"],[["member"],[[30,1]]]],true,"muted","button",[30,0,["bellIcon"]],3,"tertiary","test"]],null],[1,"\\n"]],[]],[[[1,"      "],[8,[32,4],null,[["@edgeSettingUrn","@settingChangeSuccessCallback"],[[30,0,["edgeSettingUrn"]],[30,0,["triggerRefreshEdgeSetting"]]]],[["default"],[[[[1,"\\n        "],[8,[32,5],null,[["@on","@placement"],["hover","bottom"]],[["default"],[[[[1,"\\n          "],[8,[32,0],[[24,0,"profile-top-card__subscribe-button"],[4,[32,2],["click",[30,2]],null],[4,[32,3],["notify_bell"],null]],[["@aria-describedby","@aria-label","@circle","@color","@controlType","@icon","@size","@type","@text"],[[30,3,["ariaId"]],[52,[30,0,["subscribed"]],[28,[32,1],["i18n_subscribe_highlights_label","profile-top-card/components/subscribe-button"],[["member"],[[30,1]]]],[28,[32,1],["i18n_subscribe_all_label","profile-top-card/components/subscribe-button"],[["member"],[[30,1]]]]],true,"muted","button",[30,0,["bellIcon"]],3,"tertiary","test"]],null],[1,"\\n        "]],[3]]]]],[1,"\\n      "]],[2]]]]],[1,"\\n"]],[]]],[1,"  "]],["@memberName","openSettingModal","trigger"],false,["if"]]',moduleName:"profile-top-card/components/subscribe-button.gjs",scope:()=>[g.default,h.default,y.on,b.default,f.default,m.default],isStrictMode:!0}),(_=(0,s.inject)("i18n"),w=(0,s.inject)("persistent-toast-manager@persistent-toast-manager"),k=(0,s.inject)("global-services@store-shim"),P=(0,s.inject)("tracking"),C=class extends d.default{get isToggleButton(){return!this.args.isFollowing&&"NONE"===this.args.selectedOption}get subscribed(){switch(this.args.selectedOption){case"ALL":this.bellIcon="bell-double-fill"
return!0
case I:this.bellIcon="bell-fill"
return!1
default:this.bellIcon="bell-off"
return!1}}get edgeSettingUrn(){return(0,c.generateEdgeSettingUrn)(this.args.memberEntityUrn)}constructor(){super(...arguments);(0,t.default)(this,"i18n",x,this);(0,t.default)(this,"persistentToastManager",D,this);(0,t.default)(this,"storeShim",T,this);(0,t.default)(this,"tracking",O,this);(0,t.default)(this,"bellIcon",S,this)
this._firePageViewEventIfNotSubscribed()}toggleSubscribe(){const e={member:this.args.memberName},t=I;(0,c.updateEdgeSetting)(this.storeShim,this.args.memberEntityUrn,t).then((()=>{if(!this.isDestroying){this._firePageViewEventIfNotSubscribed()
this._showToast(this._translateMessage("i18n_subscribe_highlights_label",M,e),E)}})).catch((t=>{if((0,p.isDestroying)(this))throw t
this._showToast(this._translateMessage("i18n_subscribe_highlights_error_message",M,e),"error")
throw t})).then((()=>(0,c.refreshEdgeSetting)(this.storeShim,this.args.memberEntityUrn)))}triggerRefreshEdgeSetting(){(0,c.refreshEdgeSetting)(this.storeShim,this.args.memberEntityUrn)}_firePageViewEventIfNotSubscribed(){this.subscribed||this.tracking.firePageViewEvent("flagship3_profile_notify_bell")}_showToast(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:E)===E?this.persistentToastManager.success({message:e}):this.persistentToastManager.error({message:e})}_translateMessage(e,t,i){return this.i18n.lookupTranslation(t,e)([i])}},x=(0,n.default)(C.prototype,"i18n",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,n.default)(C.prototype,"persistentToastManager",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,n.default)(C.prototype,"storeShim",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,n.default)(C.prototype,"tracking",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,n.default)(C.prototype,"bellIcon",[v.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),(0,n.default)(C.prototype,"toggleSubscribe",[u.action],Object.getOwnPropertyDescriptor(C.prototype,"toggleSubscribe"),C.prototype),(0,n.default)(C.prototype,"triggerRefreshEdgeSetting",[u.action],Object.getOwnPropertyDescriptor(C.prototype,"triggerRefreshEdgeSetting"),C.prototype),C))}))
define("profile-top-card/components/supplementary-action",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","dash-interop-helper/utils/get-graphql-value-with-dash-fallback","@ember/service","profile-actions-v2/utils/profile-actions-builder","profile-actions-v2/utils/constants","@glimmer/component","artdeco-card/components/artdeco-card","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,i,n,o,r,l,a,s,u,c,d,p,m){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var g,f,h
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"yCvcUkUS",block:'[[[1,"\\n"],[1,"    "],[11,0],[24,0,"display-flex"],[17,1],[12],[1,"\\n      "],[8,[32,0],[[24,0,"pv-supplementary-action display-flex align-items-center mt5 p3"]],null,[["default"],[[[[1,"\\n        "],[10,0],[14,0,"t-bold mr3"],[12],[1,"\\n          "],[1,[28,[32,1],["i18n_connect_if_you_know","profile-top-card/components/supplementary-action"],null]],[1,"\\n        "],[13],[1,"\\n\\n"],[44,[[50,[30,0,["supplementaryAction","componentType"]],0,null,null]],[[[1,"          "],[8,[30,2],null,[["@dashMember","@actionCTA","@actionModel","@source"],[[30,3],"supplementaryAction",[30,0,["supplementaryAction","actionModel"]],[30,4]]],null],[1,"\\n"]],[2]]],[1,"      "]],[]]]]],[1,"\\n    "],[13],[1,"\\n  "]],["&attrs","ProfileActionComponent","@dashMember","@source"],false,["let","component"]]',moduleName:"profile-top-card/components/supplementary-action.gjs",scope:()=>[p.default,m.default],isStrictMode:!0}),(g=(0,s.inject)("global-services@store-shim"),f=class extends d.default{constructor(){super(...arguments);(0,t.default)(this,"storeShim",h,this)}get supplementaryAction(){const e=(0,a.getGraphQlValueWithDashFallback)(this.args.profileActions,"supplementaryAction")
return e?(0,u.buildProfileAction)(e,c.SUPPORTED_ACTION_CTA.SUPPLEMENTARY_ACTION,this.storeShim,!0):null}},h=(0,n.default)(f.prototype,"storeShim",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f))}))
define("profile-top-card/components/text-details",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","profile-tetris-shared/utils/tetris-card-helpers","global-utils/utils/is-browser","dash-interop-helper/utils/get-graphql-value-with-dash-fallback","pronouns/utils/helpers","@ember/debug","profile-actions-v2/utils/member-relationships-utils","@ember/service","@ember/object","@glimmer/component","ember-cli-pemberly-i18n/helpers/t","pronouns/components/pronouns","profile-top-card/components/memorialized-badge","distance-badge/components/distance-badge","global-helpers/helpers/eq","profile-tetris-shared/components/profile-component/inline-callout","profile-shared/modifiers/register-generated-suggestion-target","profile-top-voice/components/profile-top-voice-badge","text-view-model/components/text-view-model-v2","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-tracking/modifiers/track-render","@ember/modifier","ember-vector-images/components/custom-image","inline-show-more-text/components/inline-show-more-text","@ember/helper","ember-engines/components/link-to-external","hue-web-icons/components/icon","artdeco-hoverables/components/artdeco-hoverable-trigger","global-helpers/helpers/and","global-helpers/helpers/not","global-helpers/helpers/get-class-hash","global-helpers/helpers/first-last-name","system-image/utils/icon","app-aware-link/components/app-aware-link","@glimmer/tracking","trust/components/verifications/entry-points/verification-entry-point-card","trust/utils/verifications/constants","image-view-model/utils/artdeco-icon"],(function(e,t,i,n,o,r,l,a,s,u,c,d,p,m,g,f,h,b,y,v,_,w,k,P,C,x,D,T,O,S,I,E,M,A,N,j,R,F,B,V,z,L,U,G){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var q,W,H,Q,K,$,Y,X,J,Z,ee,te
const ie=["connection","noConnection","self"]
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"a8jn1unZ",block:'[[[1,"\\n"],[1,"    "],[10,0],[14,0,"mt2 relative"],[12],[1,"\\n      "],[10,0],[15,0,[29,[[28,[32,0],["pv-text-details__left-panel"],null],"\\n          ",[52,[51,[30,0,["shouldShowDetailsPanel"]]],[28,[32,0],["pv-text-details__left-panel--full-width"],null]]]]],[12],[1,"\\n        "],[10,0],[15,0,[28,[32,0],["pv-text-details__title"],null]],[12],[1,"\\n          "],[8,[32,1],null,[["@on","@placement","@disableHoverable"],["hover","bottom",[28,[32,2],[[30,0,["showVerificationBadge"]]],null]]],[["default"],[[[[1,"\\n            "],[8,[32,3],[[16,"aria-label",[28,[32,4],["viewee_name","profile-top-card/components/text-details"],[["name"],[[52,[28,[32,5],[[30,0,["topCardAdditionalNameUpdatesEnabled"]],[30,2]],null],[28,[32,6],[[30,3]],null],[30,3]]]]]],[16,"aria-describedby",[29,[[30,1,["ariaId"]]]]],[16,0,[29,[[28,[32,0],["pv-text-details__about-this-profile-entrypoint"],null]]]],[4,[32,7],["profile_verification_icon"],null]],[["@route"],["profile.common.profile.overlay-about"]],[["default"],[[[[1,"\\n              "],[10,"h1"],[15,0,[29,[[28,[32,0],["text-heading-xlarge"],null],"\\n                  inline t-24 v-align-middle break-words"]]],[12],[1,[28,[32,4],["viewee_name","profile-top-card/components/text-details"],[["name"],[[52,[28,[32,5],[[30,0,["topCardAdditionalNameUpdatesEnabled"]],[30,2]],null],[28,[32,6],[[30,3]],null],[30,3]]]]]],[13],[1,"\\n"],[41,[30,0,["verificationBadgeIcon"]],[[[1,"                "],[8,[32,8],[[16,0,[29,[[30,0,["verifiedBadgeIconTintClass"]]," v-align-middle"]]]],[["@name","@type","@size"],[[30,0,["verificationBadgeIcon","name"]],"system",[30,0,["verificationBadgeIcon","size"]]]],null],[1,"\\n"]],[]],null],[41,[30,0,["showAdditionalName"]],[[[1,"                "],[10,1],[15,0,[29,[[28,[32,0],["pv-text-details__additional-name text-body-small v-align-middle break-words t-black--light"],null]]]],[12],[1,[28,[32,4],["viewee_maiden_name","profile-top-card/components/text-details"],[["name"],[[30,3]]]]],[13],[1,"\\n"]],[]],null],[41,[30,4],[[[1,"                "],[8,[32,8],[[24,0,"v-align-middle t-black--light"]],[["@name","@type","@size"],["volume-high","system","medium"]],null],[1,"\\n"]],[]],null],[1,"            "]],[]]]]],[1,"\\n            "],[8,[30,1,["artdeco-hoverable-content"]],null,[["@theme"],["inverse"]],[["default"],[[[[1,"\\n              "],[1,[28,[32,4],["verifications_badge_title","profile-top-card/components/text-details"],[["name"],[[30,3]]]]],[1,"\\n            "]],[]]]]],[1,"\\n          "]],[1]]]]],[1,"\\n"],[41,[30,0,["showPronouns"]],[[[1,"            "],[8,[32,9],[[24,0,"text-body-small v-align-middle break-words t-black--light"]],[["@pronounsObject","@disableCache","@useBraces"],[[30,5],true,[28,[32,2],[[30,0,["topCardAdditionalNameUpdatesEnabled"]]],null]]],null],[1,"\\n"]],[]],null],[41,[30,0,["verifyAction"]],[[[1,"            "],[8,[32,10],[[16,"target",[52,[30,0,["verifyAction","openExternally"]],"_blank","_self"]],[24,0,"pv-text-details__verify-action artdeco-button artdeco-button--secondary artdeco-button--1 ml1 t-12 t-normal"],[4,[32,7],[[30,0,["verifyAction","controlName"]]],null],[4,[32,11],null,[["pageKey","routeName","currentRoute"],["flagship3_profile_top_card_verification_button",[28,[32,12],[[53,"outletState"],"render.name"],null],[28,[32,12],[[53,"outletState"],"render"],null]]]]],[["@href"],[[30,0,["verifyAction","navigationUrl"]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["verifyActionIcon"]],[[[1,"                "],[8,[32,8],[[24,0,"pv-text-details__verify-action-icon"]],[["@name","@type","@size"],[[30,0,["verifyActionIcon","name"]],"system","small"]],null],[1,"\\n"]],[]],null],[1,"              "],[1,[30,0,["verifyAction","text"]]],[1,"\\n            "]],[]]]]],[1,"\\n"]],[]],null],[41,[30,6],[[[1,"            "],[8,[32,13],null,null,null],[1,"\\n"]],[]],null],[41,[30,0,["showDistance"]],[[[1,"            "],[8,[32,14],[[16,0,[29,[[28,[32,0],["pv-text-details__separator"],null],"\\n                text-body-small v-align-middle"]]]],[["@distanceEnum"],[[30,0,["memberDistance"]]]],null],[1,"\\n"]],[]],null],[1,"        "],[13],[1,"\\n"],[41,[30,0,["arePronounEditsEnabled"]],[[[41,[28,[32,15],[[30,7,["calloutType"]],"PRONOUNS"],null],[[[1,"            "],[8,[32,16],null,[["@tetrisComponentModel","@horizontalPlacement","@verticalPlacement"],[[30,7,["callout"]],"left","top"]],null],[1,"\\n"]],[]],null]],[]],null],[1,"        "],[11,0],[24,0,"text-body-medium break-words"],[4,[32,17],null,[["targetUrn","componentModel"],[[30,8],[30,9]]]],[12],[1,"\\n          "],[1,[30,10]],[1,"\\n        "],[13],[1,"\\n"],[41,[30,0,["shouldShowAboutTopicsCallout"]],[[[1,"          "],[8,[32,16],[[24,0,"mt2"]],[["@tetrisComponentModel","@horizontalPlacement","@verticalPlacement"],[[30,7,["callout"]],"left","top"]],null],[1,"\\n"]],[]],null],[41,[30,11],[[[1,"          "],[10,0],[14,0,"mt2"],[12],[1,"\\n            "],[8,[32,18],null,[["@name","@isInfluencer","@topVoiceBadge","@onClickCallback"],[[30,3],[30,12],[30,11],[30,0,["onProfileTopVoiceBadgeClick"]]]],null],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[41,[30,13],[[[1,"          "],[10,0],[14,0,"text-body-small t-black--light break-words mt2"],[12],[1,"\\n            "],[8,[32,19],null,[["@tvm"],[[30,13]]],null],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n"],[41,[30,0,["shouldShowDetailsPanel"]],[[[1,"        "],[10,"ul"],[15,0,[28,[32,0],["pv-text-details__right-panel"],null]],[12],[1,"\\n"],[41,[30,0,["showCurrentPosition"]],[[[1,"            "],[10,"li"],[15,0,[28,[32,0],["pv-text-details__right-panel-item"],null]],[12],[1,"\\n              "],[11,"button"],[16,0,[28,[32,0],["pv-text-details__right-panel-item-link text-align-left"],null]],[16,"aria-label",[28,[32,4],["position_aria_label","profile-top-card/components/text-details"],[["companyName"],[[30,0,["currentPositionCompanyName"]]]]]],[24,4,"button"],[4,[32,7],["position_see_more"],null],[4,[32,20],["click",[28,[32,21],[[30,0,["scrollToCard"]],"experience"],null]],null],[12],[1,"\\n                "],[8,[32,22],[[16,0,[28,[32,0],["pv-text-details__right-panel-item-text-image EntityPhoto-square-1"],null]]],[["@image","@alt","@desiredWidth","@ghostType"],[[30,0,["currentPositionImage"]],"",100,[30,0,["currentPositionGhostType"]]]],null],[1,"\\n                "],[10,1],[15,0,[28,[32,0],["pv-text-details__right-panel-item-text hoverable-link-text break-words text-body-small t-black"],null]],[12],[1,"\\n                  "],[8,[32,23],null,[["@lines","@showMoreButton","@showLessButton","@text"],[2,false,false,[30,0,["currentPositionCompanyName"]]]],null],[1,"\\n                "],[13],[1,"\\n              "],[13],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[41,[30,0,["recentEducation"]],[[[1,"            "],[10,"li"],[15,0,[28,[32,0],["pv-text-details__right-panel-item"],null]],[12],[1,"\\n              "],[11,"button"],[16,0,[28,[32,0],["pv-text-details__right-panel-item-link text-align-left"],null]],[16,"aria-label",[28,[32,4],["education_aria_label","profile-top-card/components/text-details"],[["schoolName"],[[30,0,["schoolName"]]]]]],[24,4,"button"],[4,[32,7],["education_see_more"],null],[4,[32,20],["click",[28,[32,21],[[30,0,["scrollToCard"]],"education"],null]],null],[12],[1,"\\n                "],[8,[32,22],[[16,0,[28,[32,0],["pv-text-details__right-panel-item-text-image EntityPhoto-square-1"],null]]],[["@image","@alt","@desiredWidth","@ghostType"],[[30,0,["schoolImage"]],"",100,"school"]],null],[1,"\\n                "],[10,1],[15,0,[28,[32,0],["pv-text-details__right-panel-item-text hoverable-link-text break-words text-body-small t-black"],null]],[12],[1,"\\n                  "],[8,[32,23],null,[["@lines","@showMoreButton","@showLessButton","@text"],[2,false,false,[30,0,["schoolName"]]]],null],[1,"\\n                "],[13],[1,"\\n              "],[13],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[1,"        "],[13],[1,"\\n"]],[]],null],[1,"      "],[10,0],[15,0,[28,[32,0],["pv-text-details__left-panel mt2"],null]],[12],[1,"\\n"],[41,[30,0,["shouldShowVerificationPromo"]],[[[1,"          "],[10,0],[14,0,"pv-text-details__verification-non-self-promo"],[12],[1,"\\n            "],[8,[32,24],null,[["@isVerificationCardDismissed","@verificationCard","@shouldShowProfilePicture","@renderType","@colorScheme","@onDismiss"],[[30,0,["isVerificationCardDismissed"]],[30,14],false,[30,14,["renderType"]],[30,0,["verificationEntryPointColorScheme"]],[30,0,["dismissVerificationCard"]]]],null],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"        "],[10,1],[14,0,"text-body-small inline t-black--light break-words"],[12],[1,"\\n          "],[1,[30,0,["geoLocationName"]]],[1,"\\n        "],[13],[1,"\\n"],[41,[51,[30,6]],[[[1,"          "],[10,1],[15,0,[29,[[28,[32,0],["pv-text-details__separator"],null]," t-black--light"]]],[12],[1,"\\n            "],[8,[32,3],[[24,0,"link-without-visited-state cursor-pointer text-heading-small inline-block break-words"],[24,1,"top-card-text-details-contact-info"],[4,[32,7],["contact_see_more"],null]],[["@route"],["profile.common.profile.detail-contact-info"]],[["default"],[[[[1,"\\n              "],[1,[28,[32,4],["contact_info","profile-top-card/components/text-details"],null]],[1,"\\n            "]],[]]]]],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n    "],[13],[1,"\\n  "]],["trigger","@idvAdditionalNameConsent","@name","@namePronunciationAudio","@pronounUnion","@showMemorialization","@topcardCallout","@headlineGeneratedSuggestionDelegateUrn","@headlinePseudoTetrisModel","@headline","@topVoiceBadge","@influencer","@displayingHashtags","@verificationEntryPointCard"],false,["unless","if","-get-dynamic-var"]]',moduleName:"profile-top-card/components/text-details.gjs",scope:()=>[R.default,A.default,j.default,E.default,h.default,N.default,F.default,x.default,M.default,b.default,V.default,D.default,I.get,y.default,v.default,_.default,w.default,k.default,P.default,C.default,T.on,I.fn,O.default,S.default,L.default],isStrictMode:!0}),(q=(0,m.inject)("locale"),W=(0,m.inject)("global-services@store-shim"),H=(0,m.inject)("tracking"),Q=(0,m.inject)("router"),K=(0,m.inject)("lix"),$=class extends f.default{constructor(){super(...arguments);(0,t.default)(this,"locale",Y,this);(0,t.default)(this,"storeShim",X,this);(0,t.default)(this,"tracking",J,this);(0,t.default)(this,"router",Z,this);(0,t.default)(this,"lix",ee,this);(0,t.default)(this,"isVerificationCardDismissed",te,this)}get shouldShowDetailsPanel(){return this.showCurrentPosition||this.recentEducation}get isSelfView(){return!!(0,u.getGraphQlValueWithDashFallback)(this.args.memberRelationship,"memberRelationship.self")}get memberRelationshipUnion(){return(0,p.getMemberRelationshipData)(this.storeShim,(0,g.get)(this.args,"memberRelationship"),"memberRelationship")}get memberDistance(){switch(ie.find((e=>!!(0,p.getMemberRelationshipData)(this.storeShim,this.memberRelationshipUnion,e)))){case"connection":return"DISTANCE_1"
case"noConnection":return(0,p.getMemberRelationshipData)(this.storeShim,this.memberRelationshipUnion,"noConnection.memberDistance")
case"self":return"SELF"
default:return""}}get showDistance(){return!(this.isSelfView||!this.memberRelationshipUnion||"OUT_OF_NETWORK"===this.memberDistance)}get showPronouns(){return(0,g.get)(this.args,"pronounUnion.standardizedPronoun")||(0,g.get)(this.args,"pronounUnion.customPronoun")}get showVerificationBadge(){return(0,u.getGraphQlValueWithDashFallback)(this.args.verificationData,"verificationStateResolutionResult.verified")}get verificationBadgeIcon(){return(0,B.getSystemImageIcon)((0,u.getGraphQlValueWithDashFallback)(this.args.verificationData,"verificationStateResolutionResult.verified.badge"))}get verifiedBadgeIconTintClass(){if(!this.lix.getTreatmentIsEnabled("voyager.web.profile-blue-badge-top-card"))return"pv-text-details__verified-badge-icon"
const e=(0,u.getGraphQlValueWithDashFallback)(this.args.verificationData,"verificationStateResolutionResult.verified.badgeTintColor")
return e?(0,G.getIconTint)(e):"pv-text-details__verified-badge-icon"}get verifyAction(){return null==this.args.verificationEntryPointCard||this.isVerificationCardDismissed?(0,u.getGraphQlValueWithDashFallback)(this.args.verificationData,"verificationStateResolutionResult.unverified.verifyAction"):null}get verifyActionIcon(){return(0,B.getSystemImageIcon)((0,u.getGraphQlValueWithDashFallback)(this.args.verificationData,"verificationStateResolutionResult.unverified.verifyAction.icon"))}get currentPosition(){if((0,g.get)(this.args,"positions.elements.0.dateRange.end"))return""
const e=(0,g.get)(this.args,"positions.elements.0")
return e&&(0,g.get)(e,"$type")?this.storeShim.peekRecord((0,g.get)(e,"$type"),(0,g.get)(e,"entityUrn")):e}get showCurrentPosition(){return this.currentPosition&&this.currentPositionCompanyName}get recentEducation(){const e=(0,g.get)(this.args,"educations.elements.0")
return e&&(0,g.get)(e,"$type")?this.storeShim.peekRecord((0,g.get)(e,"$type"),(0,g.get)(e,"entityUrn")):e}get currentPositionCompanyName(){return(0,g.get)(this.currentPosition,"companyName")||(0,g.get)(this.currentPosition,"company.name")}get currentPositionImage(){return(0,u.getGraphQlValueWithDashFallback)(this.currentPosition,"company.logoResolutionResult.vectorImage")}get currentPositionGhostType(){return this.currentPositionCompanyName?"company":"freelance-experience"}get geoLocationName(){return(0,g.get)(this.args,"geoLocation.geo.defaultLocalizedName")||(0,g.get)(this.args,"geoLocation.geo.defaultLocalizedNameWithoutCountryName")||(0,g.get)(this.args,"geoLocation.geo.country.defaultLocalizedName")}get schoolImage(){return(0,u.getGraphQlValueWithDashFallback)(this.recentEducation,"company.logoResolutionResult.vectorImage")}get schoolName(){return(0,g.get)(this.recentEducation,"schoolName")||(0,g.get)(this.recentEducation,"school.name")}get arePronounEditsEnabled(){return(0,c.arePronounEditsEnabled)((0,g.get)(this.args,"countryCode"),this.locale)}get shouldShowAboutTopicsCallout(){return"ABOUT_CARD_TOPICS"===(0,g.get)(this.args,"topcardCallout.calloutType")}get topVoiceBadgeControlName(){return this.args.influencer?"top_voice_executive_click":"top_voice_community_click"}get shouldShowVerificationPromo(){return!!this.args.verificationEntryPointCard}get verificationEntryPointColorScheme(){return this.isSelfView?U.ENTRY_POINT_CARD_COLOR_SCHEME.FIF_COLORS_WITH_ICON:U.ENTRY_POINT_CARD_COLOR_SCHEME.FIF_COLORS}get topCardAdditionalNameUpdatesEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.profile-top-card-additional-name-updates")}get showAdditionalName(){var e,t,i
return this.topCardAdditionalNameUpdatesEnabled&&(null===(e=this.args)||void 0===e?void 0:e.idvAdditionalNameConsent)&&(null===(t=this.args)||void 0===t||null===(i=t.name)||void 0===i?void 0:i.maidenName)}dismissVerificationCard(){this.isVerificationCardDismissed=!0}scrollToCard(e){if(s.default){const t=document.getElementById(e)
t&&(0,a.scrollToCardAndFocus)(t)}}onProfileTopVoiceBadgeClick(){this.tracking.fireInteractionEvent(this.topVoiceBadgeControlName)
const e={profileUrn:this.args.vieweeUrn}
this.router.transitionTo("profile.common.profile.overlay-top-voice-detail",{queryParams:e})}},Y=(0,n.default)($.prototype,"locale",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,n.default)($.prototype,"storeShim",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,n.default)($.prototype,"tracking",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,n.default)($.prototype,"router",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,n.default)($.prototype,"lix",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,n.default)($.prototype,"isVerificationCardDismissed",[z.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)($.prototype,"dismissVerificationCard",[g.action],Object.getOwnPropertyDescriptor($.prototype,"dismissVerificationCard"),$.prototype),(0,n.default)($.prototype,"scrollToCard",[g.action],Object.getOwnPropertyDescriptor($.prototype,"scrollToCard"),$.prototype),(0,n.default)($.prototype,"onProfileTopVoiceBadgeClick",[g.action],Object.getOwnPropertyDescriptor($.prototype,"onProfileTopVoiceBadgeClick"),$.prototype),$))}))
define("profile-top-card/components/top-card-ctas",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","global-helpers/helpers/and","global-helpers/helpers/or","profile-top-card/components/add-goals","profile-goals/components/profile-hub","profile-actions-v2/components/profile-page/profile-actions","dash-interop-helper/helpers/get-graphql-value-with-dash-fallback","profile-top-card/components/supplementary-action","global-helpers/helpers/get-class-hash"],(function(e,t,i,n,o,r,l,a,s,u,c,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const p=(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"Ahr93h2b",block:'[[[1,"\\n  "],[10,0],[15,0,[29,[[28,[32,0],["pv-top-card-v2-ctas"],null],"\\n      ",[52,[28,[32,1],[[30,1],[30,2],[30,3]],null],"pv-top-card-v2-ctas__custom"]]]],[12],[1,"\\n"],[41,[28,[32,2],[[30,4,["elements","length"]],[30,5]],null],[[[1,"      "],[8,[32,3],[[24,0,"mr2"]],[["@triggerId","@opportunitiesGoals","@vieweeUrn"],["top-card-ctas-add-goals-trigger",[30,4],[30,6,["entityUrn"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,5],[[[1,"      "],[8,[32,4],null,[["@profileGoals"],[[30,7]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,8],[[[1,"      "],[8,[32,5],null,[["@profileActions","@customAction","@customActionEntryPointEnabled","@customActionUpsellEnabled","@dashProfile"],[[30,8],[30,1],[30,2],[30,3],[30,6]]],null],[1,"\\n"]],[]],null],[1,"\\n  "],[13],[1,"\\n\\n"],[41,[28,[32,6],[[30,8],"supplementaryAction"],null],[[[1,"    "],[8,[32,7],null,[["@profileActions","@dashMember","@source"],[[30,8],[30,6],"TOPCARD"]],null],[1,"\\n"]],[]],null]],["@customAction","@customActionEntryPointEnabled","@customActionUpsellEnabled","@opportunitiesGoals","@isSelfView","@dashMember","@profileGoals","@profileActions"],false,["if"]]',moduleName:"profile-top-card/components/top-card-ctas.gjs",scope:()=>[d.default,r.default,o.default,l.default,a.default,s.default,u.default,c.default],isStrictMode:!0}),(0,i.default)("top-card-ctas","TopCardCtas"))
e.default=p}))
define("profile-top-card/components/top-card-edit",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","ember-engines/components/link-to-external","@ember/helper","ember-cli-pemberly-tracking/modifiers/track-interaction","artdeco-button/components/artdeco-button","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,i,n,o,r,l,a,s){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const u=(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"ZbgVy9pX",block:'[[[1,"\\n"],[1,"  "],[11,0],[17,1],[12],[1,"\\n    "],[8,[32,0],[[24,"tabIndex","-1"],[4,[32,2],["edit_top_card"],null]],[["@route","@query"],["profile-edit.topcard",[28,[32,1],null,[["editLocale","profileFormEntryPoint"],[[30,2],"PROFILE_SECTION"]]]]],[["default"],[[[[1,"\\n      "],[8,[32,3],[[16,"aria-label",[28,[32,4],["a11y_topcard_edit_profile","profile-top-card/components/top-card-edit"],null]],[24,0,"mh1"]],[["@circle","@color","@controlType","@icon","@type"],[true,"muted","button","edit","tertiary"]],null],[1,"\\n    "]],[]]]]],[1,"\\n  "],[13],[1,"\\n"]],["&attrs","@viewLocale"],false,[]]',moduleName:"profile-top-card/components/top-card-edit.gjs",scope:()=>[o.default,r.hash,l.default,a.default,s.default],isStrictMode:!0}),(0,i.default)("top-card-edit","TopCardEdit"))
e.default=u}))
define("profile-top-card/components/top-card-non-self-profile-photo",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","dash-interop-helper/utils/get-graphql-value-with-dash-fallback","@ember/service","profile-locale-helpers/utils/secondary-locale-helpers","@glimmer/component","@ember/object","profile-top-card/components/profile-picture","@ember/helper"],(function(e,t,i,n,o,r,l,a,s,u,c,d,p,m){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var g,f,h
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"EBIrRV4D",block:'[[[1,"\\n    "],[10,0],[14,0,"pv-top-card__non-self-photo-wrapper ml0"],[12],[1,"\\n      "],[8,[32,0],null,[["@containerClasses","@photoSize","@altText","@dashProfile","@onClick","@isNonSelfView"],[[28,[32,1],["pv-top-card__photo presence-entity__image EntityPhoto-circle-",[30,0,["size"]]],null],"200",[30,1],[30,2],[30,0,["openMemberPictureModal"]],true]],null],[1,"\\n    "],[13],[1,"\\n  "]],["@altText","@dashProfile"],false,[]]',moduleName:"profile-top-card/components/top-card-non-self-profile-photo.gjs",scope:()=>[p.default,m.concat],isStrictMode:!0}),(g=(0,s.inject)("router"),f=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"router",h,this)}get size(){return this.args.size?this.args.size:this.args.isLargePicture?9:8}get formattedProfilePicture(){const e=(0,d.get)(this.args.dashProfile,"profilePicture")
return e&&(0,a.getGraphQlValueWithDashFallback)(e,"displayImageWithFrameReference")?{displayImageReference:(0,a.getGraphQlValueWithDashFallback)(e,"displayImageWithFrameReference")}:e}get miniProfileData(){const{entityUrn:e,multiLocaleFirstName:t,multiLocaleLastName:i}=(0,d.getProperties)(this.args.dashProfile,"entityUrn","multiLocaleFirstName","multiLocaleLastName"),{viewingLocale:n,primaryLocale:o}=(0,d.getProperties)(this.args,"viewingLocale","primaryLocale"),r=(0,u.getLocalizedStringFromMultiLocaleString)(t,{viewingLocale:n,primaryLocale:o}),l=(0,u.getLocalizedStringFromMultiLocaleString)(i,{viewingLocale:n,primaryLocale:o})
return{emberEntityName:"identity/shared/mini-profile",entityUrn:e,profilePicture:this.formattedProfilePicture,firstName:r,lastName:l}}openMemberPictureModal(){this.args.dashProfile&&!(0,a.getGraphQlValueWithDashFallback)(this.args.dashProfile,"profilePicture.displayImageReferenceResolutionResult.vectorImage")||this.router.transitionTo("profile.common.profile.photo")}},h=(0,n.default)(f.prototype,"router",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(f.prototype,"openMemberPictureModal",[d.action],Object.getOwnPropertyDescriptor(f.prototype,"openMemberPictureModal"),f.prototype),f))}))
define("profile-top-card/components/top-card-self-profile-photo",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/helper","@ember/component","@glimmer/tracking","dash-interop-helper/utils/get-graphql-value-with-dash-fallback","profile-locale-helpers/utils/secondary-locale-helpers","@ember/service","@ember/utils","profile-shared/utils/tetris-api-helpers","@glimmer/component","@ember/debug","@ember/object","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-i18n/helpers/t","image-edit/components/profile-photo-edit","@ember/modifier","image-edit/components/image-selector/image-selector-modal-v2","profile-shared/components/profile-photo-empty-state","hue-web-icons/components/illustration"],(function(e,t,i,n,o,r,l,a,s,u,c,d,p,m,g,f,h,b,y,v,_,w,k,P){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var C,x,D,T,O,S,I,E,M,A,N,j,R
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"D6AhHN5G",block:'[[[1,"\\n"],[1,"    "],[10,0],[12],[1,"\\n      "],[10,0],[14,0,"pv-top-card__photo-wrapper ml0"],[12],[1,"\\n"],[41,[30,0,["hasPhoto"]],[[[1,"          "],[8,[32,0],[[24,0,"pv-top-card__edit-photo"]],[["@launchPhotoModal","@dashMember","@locales","@photoSize","@highQuality"],[[30,0,["launchPhotoModalUpload"]],[30,1],[30,2],200,true]],null],[1,"\\n"]],[]],[[[41,[30,0,["useEmptyStateProfilePhoto"]],[[[1,"          "],[8,[32,1],null,null,[["default"],[[[[1,"\\n            "],[11,"button"],[16,"aria-label",[28,[32,2],["edit_photo","profile-top-card/components/top-card-self-profile-photo"],null]],[24,0,"pv-top-card__edit-photo-button"],[24,4,"button"],[4,[32,3],["add_profile_photo_topcard"],null],[4,[32,4],["click",[30,0,["launchPhotoGuidedEdit"]]],null],[12],[13],[1,"\\n          "]],[]]]]],[1,"\\n"]],[]],[[[1,"          "],[10,0],[14,0,"pv-top-card__edit-photo profile-photo-edit"],[12],[1,"\\n"],[1,"            "],[11,"button"],[16,"aria-label",[28,[32,2],["edit_photo","profile-top-card/components/top-card-self-profile-photo"],null]],[24,0,"pv-top-card__edit-photo-button"],[24,4,"button"],[4,[32,3],[[52,[30,0,["hasPhoto"]],"edit_profile_photo_topcard","add_profile_photo_topcard"]],null],[4,[32,4],["click",[30,0,["launchPhotoGuidedEdit"]]],null],[12],[1,"\\n              "],[8,[32,5],null,[["@type","@name","@size"],["microspot","camera","small"]],null],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n        "]],[]]]],[]]],[1,"      "],[13],[1,"\\n    "],[13],[1,"\\n\\n"],[41,[30,0,["shouldDisplayPhotoViewEditModal"]],[[[1,"      "],[8,[32,6],null,[["@fileToUpload","@dashMember","@privacySettings","@initScreen","@photoFrames","@onComplete","@onCloseModal"],[[30,0,["newPhoto"]],[30,1],[30,0,["privacySettings"]],[52,[30,0,["shouldShowFramesModal"]],"FRAMES"],[30,3,["elements"]],[30,0,["onPhotoModalUploadComplete"]],[30,0,["onPhotoModalClose"]]]],null],[1,"\\n"]],[]],null],[1,"  "]],["@dashMember","@locales","@photoFrames"],false,["if"]]',moduleName:"profile-top-card/components/top-card-self-profile-photo.gjs",scope:()=>[v.default,k.default,y.default,b.default,_.on,P.default,w.default],isStrictMode:!0}),(C=(0,d.inject)("formatter"),x=(0,d.inject)("@linkedin/ember-restli-graphql@graphql"),D=(0,d.inject)("global-services@store-shim"),T=(0,d.inject)("lix"),O=class extends g.default{constructor(){super(...arguments);(0,t.default)(this,"formatter",S,this);(0,t.default)(this,"graphql",I,this);(0,t.default)(this,"storeShim",E,this);(0,t.default)(this,"lix",M,this);(0,t.default)(this,"newPhoto",A,this);(0,t.default)(this,"shouldDisplayPhotoViewEditModal",N,this);(0,t.default)(this,"isProfilePictureDropdownOpen",j,this);(0,t.default)(this,"shouldShowFramesModal",R,this)}get useEmptyStateProfilePhoto(){return!this.hasPhoto&&this.lix.getTreatmentIsEnabled("voyager.web.profile-qp-holdout")}get frameType(){var e,t
return null===(e=this.args.dashMember)||void 0===e||null===(t=e.profilePicture)||void 0===t?void 0:t.frameType}get name(){return(0,c.getMemberName)(this.args.dashMember,this.args.locales)}get cachedProfile(){return this.args.dashMember||this.storeShim.peekRecord(this.args.dashMember.$type,this.args.dashMember.entityUrn)}get hasFrame(){return!!(0,u.getGraphQlValueWithDashFallback)(this.cachedProfile,"profilePicture.displayImageWithFrameReference.vectorImage")}get profilePictureA11yText(){return this.hasFrame?`${this.formatter.formatName(this.name,"full")}, #${this.frameType}`:this.formatter.formatName(this.name,"full")}get profilePicture(){return(0,u.getGraphQlValueWithDashFallback)(this.cachedProfile,"profilePicture.displayImageWithFrameReference.vectorImage")||(0,u.getGraphQlValueWithDashFallback)(this.cachedProfile,"profilePicture.displayImageReferenceResolutionResult.vectorImage")}get hasPhoto(){return!(0,p.isEmpty)(this.profilePicture)}get privacySettings(){var e
return null===(e=this.args.dashMember)||void 0===e?void 0:e.privacySettings}launchPhotoModalUpload(){this.shouldDisplayPhotoViewEditModal=!0}launchPhotoGuidedEdit(){this.shouldDisplayPhotoViewEditModal=!0}onPhotoModalClose(){this.shouldDisplayPhotoViewEditModal=!1
this.shouldShowFramesModal=!1
return!1}onPhotoModalUploadComplete(){if(this.args.profileGoals){var e
const t=null===(e=this.args.dashMember)||void 0===e?void 0:e.entityUrn;(0,m.fetchProfileGoals)(this.graphql,t,{reload:!0})}return this.onPhotoModalClose()}},S=(0,n.default)(O.prototype,"formatter",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,n.default)(O.prototype,"graphql",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,n.default)(O.prototype,"storeShim",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,n.default)(O.prototype,"lix",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,n.default)(O.prototype,"newPhoto",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,n.default)(O.prototype,"shouldDisplayPhotoViewEditModal",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),j=(0,n.default)(O.prototype,"isProfilePictureDropdownOpen",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),R=(0,n.default)(O.prototype,"shouldShowFramesModal",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(O.prototype,"launchPhotoModalUpload",[h.action],Object.getOwnPropertyDescriptor(O.prototype,"launchPhotoModalUpload"),O.prototype),(0,n.default)(O.prototype,"launchPhotoGuidedEdit",[h.action],Object.getOwnPropertyDescriptor(O.prototype,"launchPhotoGuidedEdit"),O.prototype),(0,n.default)(O.prototype,"onPhotoModalClose",[h.action],Object.getOwnPropertyDescriptor(O.prototype,"onPhotoModalClose"),O.prototype),(0,n.default)(O.prototype,"onPhotoModalUploadComplete",[h.action],Object.getOwnPropertyDescriptor(O.prototype,"onPhotoModalUploadComplete"),O.prototype),O))}))
define("profile-top-card/components/top-card-v2",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","profile-shared/utils/profile-sticky-header-utils","profile-shared/utils/tetris-api-helpers","dash-interop-helper/utils/get-graphql-value-with-dash-fallback","@ember/utils","@ember/service","@glimmer/tracking","profile-locale-helpers/utils/secondary-locale-helpers","@ember/object","@glimmer/component","artdeco-card/components/artdeco-card","@ember/render-modifiers/modifiers/did-insert","coach-shared/components/guide-entry-point-container","profile-top-card/components/profile-topcard-background-image-edit","image-edit/components/profile-background-image-octane","profile-top-card/components/top-card-self-profile-photo","profile-top-card/components/top-card-non-self-profile-photo","ember-cli-pemberly-tracking/modifiers/track-interaction","global-helpers/helpers/or","profile-top-card/components/member-badge","profile-top-card/components/top-card-edit","profile-top-card/components/subscribe-button","profile-top-card/components/text-details","text-view-model/components/text-view-model-v2","profile-top-card/components/network-highlight","profile-top-card/components/insight","profile-top-card/components/top-card-ctas","profile-top-card/components/premium-banner","ember-scroll-modifiers/modifiers/did-intersect","@ember/helper","profile-top-card/components/open-to-carousel","profile-tetris-shared/components/profile-component/inline-callout","image-edit/components/image-selector/image-selector-modal-v2","tracked-toolbox","global-helpers/helpers/get-class-hash","live/modifiers/sync-height"],(function(e,t,i,n,o,r,l,a,s,u,c,d,p,m,g,f,h,b,y,v,_,w,k,P,C,x,D,T,O,S,I,E,M,A,N,j,R,F,B,V,z,L){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var U,G,q,W,H,Q,K,$,Y,X,J,Z,ee,te,ie,ne,oe,re,le,ae,se,ue,ce,de,pe
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"Cwq4BT1B",block:'[[[1,"\\n"],[1,"    "],[8,[32,0],[[16,0,[29,[[28,[32,1],["pv-top-card"],null],"\\n        ",[52,[30,1],"pv-top-card--extended"]]]],[16,"data-member-id",[30,0,["profileMemberNumberId"]]],[17,2],[4,[32,2],[[30,0,["fireTopcardSensor"]]],null]],null,[["default"],[[[[1,"\\n"],[1,"      "],[11,0],[24,0,"top-card-background-hero-image"],[4,[32,3],[[30,0,["backgroundImageSelector"]],[30,0,["profileBackgroundImageHeight"]]],null],[12],[1,"\\n        "],[10,0],[14,0,"top-card-background-hero-image__bg-image"],[12],[1,"\\n"],[41,[30,0,["isSelfView"]],[[[1,"            "],[8,[32,4],null,[["@dashMember","@topcardCallout","@onProfileBackgroundImageResize"],[[30,3],[30,0,["topcardCallout"]],[30,0,["onProfileBackgroundImageResize"]]]],null],[1,"\\n"]],[]],[[[1,"            "],[8,[32,5],null,[["@backgroundImage","@coverPhotoItems","@shouldOpenBackgroundModal","@onProfileBackgroundImageResize"],[[30,0,["backgroundImage"]],[30,0,["coverPhotoItems"]],true,[30,0,["onProfileBackgroundImageResize"]]]],null],[1,"\\n"]],[]]],[1,"        "],[13],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[15,0,[29,["ph5 ",[52,[30,0,["showCTABottomPadding"]],"pb5"]]]],[12],[1,"\\n"],[1,"        "],[10,0],[14,0,"display-flex"],[12],[1,"\\n"],[1,"          "],[10,0],[15,0,[29,[[28,[32,1],["pv-top-card--photo"],null],"\\n              text-align-left pv-top-card--photo-resize"]]],[12],[1,"\\n"],[41,[30,0,["isSelfView"]],[[[1,"              "],[8,[32,6],null,[["@dashMember","@locales","@photoFrames","@profileGoals"],[[30,3],[30,4],[30,5],[30,6]]],null],[1,"\\n"]],[]],[[[1,"              "],[8,[32,7],null,[["@dashProfile","@viewingLocale","@primaryLocale","@isLargePicture","@highQuality","@altText"],[[30,3],[30,4,["viewingLocale"]],[30,4,["primaryLocale"]],true,true,[30,0,["profilePictureA11yText"]]]],null],[1,"\\n"]],[]]],[1,"          "],[13],[1,"\\n"],[1,"          "],[10,0],[14,0,"flex-1 flex-column"],[12],[1,"\\n            "],[10,0],[15,0,[28,[32,1],["pv-top-card__badge-wrap"],null]],[12],[1,"\\n"],[41,[28,[32,8],[[30,0,["shouldShowPremiumSubscriberBadge"]],[30,0,["shouldShowMemberBadges"]]],null],[[[1,"                "],[8,[32,9],[[24,0,"pv-member-badge--for-top-card"]],[["@dashMember"],[[30,3]]],null],[1,"\\n"]],[]],null],[41,[30,0,["isSelfView"]],[[[1,"                "],[8,[32,10],null,[["@viewLocale","@vanityName"],[[30,4,["viewLocale"]],[30,3,["publicIdentifier"]]]],null],[1,"\\n"]],[]],null],[41,[30,0,["showSubscribeButton"]],[[[1,"                "],[8,[32,11],null,[["@isFollowing","@memberEntityUrn","@memberName","@selectedOption"],[[30,0,["isFollowing"]],[30,3,["entityUrn"]],[30,0,["name"]],[30,7,["edgeSetting","selectedOptionType"]]]],null],[1,"\\n"]],[]],null],[1,"            "],[13],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n\\n"],[1,"        "],[8,[32,12],null,[["@name","@namePronunciationAudio","@displayingHashtags","@pronounUnion","@memberRelationship","@headline","@headlineGeneratedSuggestionDelegateUrn","@headlinePseudoTetrisModel","@showMemorialization","@geoLocation","@countryCode","@positions","@educations","@vanityName","@topcardCallout","@influencer","@topVoiceBadge","@vieweeUrn","@verificationData","@verificationEntryPointCard","@idvAdditionalNameConsent"],[[30,0,["name"]],[30,0,["namePronunciationAudio"]],[30,0,["displayingHashtags"]],[30,0,["profilePronoun"]],[30,0,["memberRelationship"]],[30,0,["headline"]],[30,3,["headlineGeneratedSuggestionDelegateUrn"]],[30,0,["headlinePseudoTetrisModel"]],[30,3,["memorialized"]],[30,0,["geoLocation"]],[30,0,["countryCode"]],[30,0,["topcardPositions"]],[30,0,["topcardEducations"]],[30,3,["publicIdentifier"]],[30,0,["topcardCallout"]],[30,3,["influencer"]],[30,3,["topVoiceBadge"]],[30,3,["entityUrn"]],[30,7,["verificationData"]],[30,8],[30,7,["idvAdditionalNameConsent"]]]],null],[1,"\\n"],[41,[30,0,["creatorWebsite"]],[[[1,"          "],[11,"section"],[24,0,"pv-top-card--website text-body-small"],[4,[32,13],["topcard_creator_link"],null],[12],[1,"\\n            "],[8,[32,14],null,[["@tvm","@userGenerated"],[[30,0,["creatorWebsite"]],true]],null],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[1,"        "],[8,[32,15],null,[["@dashMember","@memberRelationship","@connections","@followingState","@isSelfView","@isCreatorModeOn","@isInfluence