tion","card","@onCardClick"],false,["if","each","-track-array"]]',moduleName:"profile-goals/components/goal-section.gts",scope:()=>[s.on,o.default,r.default,l.default],isStrictMode:!0}),(c=class extends a.default{onSectionTitleClick(){var e,t
null===(e=(t=this.args).setActiveSection)||void 0===e||e.call(t)}},(0,t.default)(c.prototype,"onSectionTitleClick",[u.action],Object.getOwnPropertyDescriptor(c.prototype,"onSectionTitleClick"),c.prototype),c))}))
define("profile-goals/components/profile-hub-modal",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@glimmer/tracking","@ember/object","@glimmer/component","artdeco-modal/components/artdeco-modal","text-view-model/components/text-view-model-v2","profile-goals/components/goal-section","global-helpers/helpers/eq","@ember/helper","@ember/service","ember-cli-pemberly-i18n/helpers/t","profile-tetris-shared/components/profile-component/prompt","profile-tetris-shared/utils/constant/render-actions"],(function(e,t,i,n,o,r,l,a,s,u,c,d,p,m,g,f,h,b,y){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var v,_,w,k,P
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"5JdzzMep",block:'[[[1,"\\n"],[1,"    "],[8,[32,0],null,[["@isOpen","@size","@dismissModal"],[[30,1],"medium",[30,2]]],[["default"],[[[[1,"\\n      "],[8,[30,3,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n        "],[10,"h2"],[14,1,"profile-hub"],[12],[1,"\\n          "],[8,[32,1],null,[["@tvm"],[[30,0,["profileGoalsMetadataTitle"]]]],null],[1,"\\n        "],[13],[1,"\\n      "]],[]]]]],[1,"\\n\\n      "],[8,[30,3,["artdeco-modal-content"]],null,[["@hasPadding"],[false]],[["default"],[[[[1,"\\n"],[41,[30,0,["showProfileSetupPrompt"]],[[[1,"          "],[10,0],[14,0,"ph5 pt4 pb3"],[12],[1,"\\n            "],[8,[32,2],null,[["@tetrisComponentModel","@handleAction"],[[30,0,["profileSetupPrompt"]],[30,0,["handlePromptAction"]]]],null],[1,"\\n          "],[13],[1,"\\n          "],[10,"h3"],[14,0,"text-heading-large ph5 pt2 pb3"],[12],[1,[28,[32,3],["manual_setup_title","profile-goals/components/profile-hub-modal"],null]],[13],[1,"\\n"]],[]],null],[42,[28,[31,2],[[28,[31,2],[[30,0,["profileGoalsElements"]]],null]],null],null,[[[1,"          "],[8,[32,4],null,[["@sectionIndex","@section","@isActiveSection","@setActiveSection","@onCardClick"],[[30,5],[30,4],[28,[32,5],[[30,0,["activeSectionIndex"]],[30,5]],null],[28,[32,6],[[30,0,["setActiveSection"]],[30,5]],null],[30,2]]],null],[1,"\\n"]],[4,5]],null],[1,"      "]],[]]]]],[1,"\\n    "]],[3]]]]],[1,"\\n  "]],["@isHubOpen","@closeModal","modal","section","idx"],false,["if","each","-track-array"]]',moduleName:"profile-goals/components/profile-hub-modal.gts",scope:()=>[c.default,d.default,b.default,h.default,p.default,m.default,g.fn],isStrictMode:!0}),(v=(0,f.inject)("tracking"),_=class extends u.default{constructor(e,i){super(e,i);(0,t.default)(this,"tracking",w,this);(0,t.default)(this,"hideProfileSetupPrompt",k,this);(0,t.default)(this,"activeSectionIndex",P,this)
this.tracking.firePageViewEvent("flagship3_profile_self_hub")}get profileGoalsElements(){var e,t,i
return(null===(e=this.args.profileGoals)||void 0===e||null===(t=e.data)||void 0===t||null===(i=t.identityDashProfileGoalsByViewee)||void 0===i?void 0:i.elements)??[]}get profileGoalsMetadataTitle(){var e,t,i,n
return null===(e=this.args.profileGoals)||void 0===e||null===(t=e.data)||void 0===t||null===(i=t.identityDashProfileGoalsByViewee)||void 0===i||null===(n=i.metadata)||void 0===n?void 0:n.title}get showProfileSetupPrompt(){return!this.hideProfileSetupPrompt&&!!this.profileSetupPrompt}get profileSetupPrompt(){var e,t,i,n
return null===(e=this.args.profileGoals)||void 0===e||null===(t=e.data)||void 0===t||null===(i=t.identityDashProfileGoalsByViewee)||void 0===i||null===(n=i.metadata)||void 0===n?void 0:n.profileSetupPrompt}setActiveSection(e){e===this.activeSectionIndex?this.activeSectionIndex=-1:this.activeSectionIndex=e}handlePromptAction(e){let{type:t}=e
t===y.RENDER_ACTIONS.DISMISS&&(this.hideProfileSetupPrompt=!0)}},w=(0,n.default)(_.prototype,"tracking",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,n.default)(_.prototype,"hideProfileSetupPrompt",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),P=(0,n.default)(_.prototype,"activeSectionIndex",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e,t,i
return[...(null===(e=this.args.profileGoals)||void 0===e||null===(t=e.data)||void 0===t||null===(i=t.identityDashProfileGoalsByViewee)||void 0===i?void 0:i.elements)??[]].findIndex((e=>null==e?void 0:e.expanded))}}),(0,n.default)(_.prototype,"setActiveSection",[s.action],Object.getOwnPropertyDescriptor(_.prototype,"setActiveSection"),_.prototype),(0,n.default)(_.prototype,"handlePromptAction",[s.action],Object.getOwnPropertyDescriptor(_.prototype,"handlePromptAction"),_.prototype),_))}))
define("profile-goals/components/profile-hub",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@glimmer/tracking","@ember/object","@glimmer/component","artdeco-button/components/artdeco-button","ember-cli-pemberly-i18n/helpers/t","@ember/modifier","profile-goals/components/profile-hub-modal","@ember/service","global-modifiers/modifiers/focus"],(function(e,t,i,n,o,r,l,a,s,u,c,d,p,m,g,f){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var h,b,y,v
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"wKCIgef6",block:'[[[1,"\\n"],[41,[30,0,["shouldShowProfileHub"]],[[[1,"      "],[8,[32,0],[[24,0,"m0 mr2"],[4,[32,2],["click",[30,0,["onHubClick"]]],null],[4,[32,3],null,[["when"],[[30,0,["shouldFocusProfileHubBtn"]]]]]],[["@type","@text"],["secondary",[28,[32,1],["add_profile_headline","profile-goals/components/profile-hub"],null]]],null],[1,"\\n\\n"],[41,[30,0,["isHubOpen"]],[[[1,"        "],[8,[32,4],null,[["@profileGoals","@isHubOpen","@closeModal"],[[30,1],[30,0,["isHubOpen"]],[30,0,["closeModal"]]]],null],[1,"\\n"]],[]],null]],[]],null],[1,"  "]],["@profileGoals"],false,["if"]]',moduleName:"profile-goals/components/profile-hub.gts",scope:()=>[c.default,d.default,p.on,f.default,m.default],isStrictMode:!0}),(h=(0,g.inject)("profile-services@profile"),b=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"profile",y,this);(0,t.default)(this,"isHubOpen",v,this)}get profileGoalsElements(){var e,t,i
return(null===(e=this.args.profileGoals)||void 0===e||null===(t=e.data)||void 0===t||null===(i=t.identityDashProfileGoalsByViewee)||void 0===i?void 0:i.elements)??[]}get shouldShowProfileHub(){return!!this.profileGoalsElements.length}closeModal(){this.isHubOpen=!1}onHubClick(){this.isHubOpen=!this.isHubOpen}get shouldFocusProfileHubBtn(){return this.profile.shouldFocusProfileHubBtn}},y=(0,n.default)(b.prototype,"profile",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,n.default)(b.prototype,"isHubOpen",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(b.prototype,"closeModal",[s.action],Object.getOwnPropertyDescriptor(b.prototype,"closeModal"),b.prototype),(0,n.default)(b.prototype,"onHubClick",[s.action],Object.getOwnPropertyDescriptor(b.prototype,"onHubClick"),b.prototype),b))}))
define("profile-goals/template-registry",[],(function(){}))
define("profile-opportunities-shared/components/confirmation-dialogs",["exports","@ember/template-factory","@ember/component/template-only","@ember/component"],(function(e,t,i,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const o=(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"CKSpb1gB",block:'[[[1,"\\n"],[1,"  "]],[],false,[]]',moduleName:"profile-opportunities-shared/components/confirmation-dialogs.gts",isStrictMode:!0}),(0,i.default)("confirmation-dialogs","ConfirmationDialogs"))
e.default=o}))
define("profile-opportunities-shared/components/open-to-layout",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","artdeco-modal/components/artdeco-modal","dummy-yield-wrapper/components/dummy-yield-wrapper","artdeco-modal/components/artdeco-confirmation-dialog","@ember/helper"],(function(e,t,i,n,o,r,l,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const s=(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"ZeCcTLal",block:'[[[1,"\\n  "],[11,0],[17,1],[12],[1,"\\n    "],[8,[32,0],null,[["@modalClasses","@size","@isOpen","@dismissModal"],[[28,[32,1],["po-route-modal ",[30,2]],null],[52,[30,3],"medium","large"],true,[30,4]]],[["default"],[[[[1,"\\n      "],[8,[30,5,["artdeco-modal-header"]],[[16,0,[28,[32,1],["relative ",[30,6]],null]],[16,"aria-hidden",[52,[30,7],"true"]]],null,[["default"],[[[[1,"\\n        "],[18,21,[[28,[32,2],null,[["header"],[[50,[32,3],0,null,null]]]]]],[1,"\\n      "]],[]]]]],[1,"\\n\\n      "],[8,[30,5,["artdeco-modal-content"]],[[16,0,[28,[32,1],["relative ",[30,8]],null]]],null,[["default"],[[[[1,"\\n        "],[18,21,[[28,[32,2],null,[["content"],[[50,[32,3],0,null,null]]]]]],[1,"\\n      "]],[]]]]],[1,"\\n\\n"],[41,[30,9],[[[1,"        "],[8,[30,5,["artdeco-modal-footer"]],[[16,0,[30,10]]],null,[["default"],[[[[1,"\\n          "],[18,21,[[28,[32,2],null,[["footer"],[[50,[32,3],0,null,null]]]]]],[1,"\\n        "]],[]]]]],[1,"\\n"]],[]],null],[1,"    "]],[5]]]]],[1,"\\n    "],[8,[32,4],null,[["@isOpen","@title","@content","@primaryControlName","@primaryActionText","@secondaryControlName","@secondaryActionText","@onPrimary","@onSecondary","@onEscape"],[[30,11],[30,12],[30,13],[52,[30,14],[30,14],"modal_primary"],[30,15],[52,[30,16],[30,16],"modal_secondary"],[30,17],[30,18],[30,19],[28,[32,5],[[30,20],false],null]]],null],[1,"\\n  "],[13],[1,"\\n"]],["&attrs","@modalClasses","@isMediumSizeModal","@onDismiss","modal","@headerClasses","@hideHeader","@contentClasses","@hasFooter","@footerClasses","@isConfirmationDialogOpen","@confirmationDialogTitle","@confirmationDialogContent","@confirmationDialogPrimaryActionControlName","@confirmationDialogPrimaryActionText","@confirmationDialogSecondaryActionControlName","@confirmationDialogSecondaryActionText","@confirmationDialogPrimaryAction","@confirmationDialogSecondaryAction","@setIsConfirmationDialogOpen","&default"],false,["if","yield","component"]]',moduleName:"profile-opportunities-shared/components/open-to-layout.gts",scope:()=>[o.default,a.concat,a.hash,r.default,l.default,a.fn],isStrictMode:!0}),(0,i.default)("open-to-layout","OpenToLayout"))
e.default=s}))
define("profile-opportunities-shared/template-registry",[],(function(){}))
define("profile-opportunities-shared/utils/build-confirmation-modal-config",["exports","@ember/debug","global-utils/utils/trusted-html-safe","profile-opportunities-shared/components/confirmation-dialogs"],(function(e,t,i,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.buildConfirmationModalConfig=o
e.buildDeleteConfirmationModalConfig=a
e.buildDiscardDraftConfirmationModalConfig=l
e.buildNetworkErrorConfirmationModalConfig=r
e.default=void 0
function o(e){let{i18n:t,confirmationDialogTitleKey:o,confirmationDialogContentKey:r,confirmationDialogPrimaryActionTextKey:l,confirmationDialogSecondaryActionTextKey:a,confirmationDialogPrimaryAction:s,confirmationDialogSecondaryAction:u,confirmationDialogPrimaryActionControlName:c="modal_primary",confirmationDialogSecondaryActionControlName:d="modal_secondary",isConfirmationDialogOpen:p=!0}=e
return{confirmationDialogTitle:(0,i.default)(t.lookupTranslation(n.default,o)()),confirmationDialogContent:(0,i.default)(t.lookupTranslation(n.default,r)()),confirmationDialogPrimaryActionText:(0,i.default)(t.lookupTranslation(n.default,l)()),confirmationDialogSecondaryActionText:(0,i.default)(t.lookupTranslation(n.default,a)()),confirmationDialogPrimaryAction:s,confirmationDialogSecondaryAction:u,confirmationDialogPrimaryActionControlName:c,confirmationDialogSecondaryActionControlName:d,isConfirmationDialogOpen:p}}function r(e){let{i18n:t,confirmationDialogTitleKey:i="network_error_confirmation_modal_title",confirmationDialogContentKey:n="network_error_confirmation_modal_content",confirmationDialogPrimaryActionTextKey:r="try_again",confirmationDialogSecondaryActionTextKey:l="cancel",confirmationDialogPrimaryAction:a,confirmationDialogSecondaryAction:s,confirmationDialogPrimaryActionControlName:u="modal_primary",confirmationDialogSecondaryActionControlName:c="modal_secondary",isConfirmationDialogOpen:d=!0}=e
return o({i18n:t,confirmationDialogTitleKey:i,confirmationDialogContentKey:n,confirmationDialogPrimaryActionTextKey:r,confirmationDialogSecondaryActionTextKey:l,confirmationDialogPrimaryAction:a,confirmationDialogSecondaryAction:s,confirmationDialogPrimaryActionControlName:u,confirmationDialogSecondaryActionControlName:c,isConfirmationDialogOpen:d})}function l(e){let{i18n:t,confirmationDialogTitleKey:i="discard_changes_confirmation_modal_title",confirmationDialogContentKey:n="discard_changes_confirmation_modal_content",confirmationDialogPrimaryActionTextKey:r="discard",confirmationDialogSecondaryActionTextKey:l="cancel",confirmationDialogPrimaryAction:a,confirmationDialogSecondaryAction:s,confirmationDialogPrimaryActionControlName:u="modal_primary",confirmationDialogSecondaryActionControlName:c="modal_secondary",isConfirmationDialogOpen:d=!0}=e
return o({i18n:t,confirmationDialogTitleKey:i,confirmationDialogContentKey:n,confirmationDialogPrimaryActionTextKey:r,confirmationDialogSecondaryActionTextKey:l,confirmationDialogPrimaryAction:a,confirmationDialogSecondaryAction:s,confirmationDialogPrimaryActionControlName:u,confirmationDialogSecondaryActionControlName:c,isConfirmationDialogOpen:d})}function a(e){let{i18n:t,confirmationDialogTitleKey:i="delete_confirmation_modal_title",confirmationDialogContentKey:n="delete_confirmation_modal_content",confirmationDialogPrimaryActionTextKey:r="delete",confirmationDialogSecondaryActionTextKey:l="cancel",confirmationDialogPrimaryAction:a,confirmationDialogSecondaryAction:s,confirmationDialogPrimaryActionControlName:u="modal_primary",confirmationDialogSecondaryActionControlName:c="modal_secondary",isConfirmationDialogOpen:d=!0}=e
return o({i18n:t,confirmationDialogTitleKey:i,confirmationDialogContentKey:n,confirmationDialogPrimaryActionTextKey:r,confirmationDialogSecondaryActionTextKey:l,confirmationDialogPrimaryAction:a,confirmationDialogSecondaryAction:s,confirmationDialogPrimaryActionControlName:u,confirmationDialogSecondaryActionControlName:c,isConfirmationDialogOpen:d})}const s={buildConfirmationModalConfig:o,buildDeleteConfirmationModalConfig:a,buildDiscardDraftConfirmationModalConfig:l,buildNetworkErrorConfirmationModalConfig:r}
e.default=s}))
define("profile-opportunities-shared/utils/reload-opportunity-cards",["exports","rsvp","profile-opportunities-shared/utils/requests/opportunity-cards","@ember/utils"],(function(e,t,i,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=function(e){let{graphql:o,authenticatedUser:r,reloadTopCard:l=!0,reloadGoalsCard:a=!0}=e
if((0,n.isEmpty)(o)||(0,n.isEmpty)(r))return(0,t.reject)(`Missing required param for reloadOpportunityCards. graphql: ${o}, authenticatedUser: ${r}`)
const s=r.miniProfile.get("dashEntityUrn")??"",u=[]
l&&u.push((0,i.getOpenToCardsWithTopCardGraphql)(o,s))
a&&u.push((0,i.getOpenToCardsWithButtonGraphql)(o))
return(0,t.allSettled)(u)}}))
define("profile-opportunities-shared/utils/requests/opportunity-cards",["exports","@linkedin/ember-pem/utils/failure-tracking-metadata","profile-opportunities-shared/utils/requests/pem","graphql-queries/queries/profile/organized-queries/view/open-to/open-to-cards-by-top-card.graphql","graphql-queries/queries/profile/organized-queries/view/open-to/open-to-cards-by-button.graphql"],(function(e,t,i,n,o){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.DEGRADATION_TRACKING_METADATA=void 0
e.getOpenToCardsWithButtonGraphql=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]
return e.executeQuery(o.default,{},{reload:t,adapterOptions:{failures:[r],degradedEntityIDsToRemove:[]}}).then((e=>{var t
return null==e||null===(t=e.data)||void 0===t?void 0:t.identityDashOpenToCardsByButton}))}
e.getOpenToCardsWithTopCardGraphql=function(e,t){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2]
const l={}
l.failures=[r]
l.degradedEntityIDsToRemove=[]
l.targetViewNames=[i.VIEW_NAMES.PROFILE_OPPORTUNITY_CARD]
return e.executeQuery(n.default,{profileUrn:t},{reload:o,adapterOptions:l}).then((e=>{var t
return null==e||null===(t=e.data)||void 0===t?void 0:t.identityDashOpenToCardsByTopCard}))}
const r=e.DEGRADATION_TRACKING_METADATA=new t.default("open-to-section","open-to-section-missing",{productName:"Voyager - Profile Non Critical"})}))
define("profile-opportunities-shared/utils/requests/pem",["exports"],(function(e){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.VIEW_NAMES=void 0
e.VIEW_NAMES={PROFILE_OPPORTUNITY_CARD:"profile-opportunity-card"}}))
define("profile-opportunities-shared/utils/tracking-helpers",["exports","@ember/debug"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=function(e){let{tracking:t,controlName:i,interactionType:n="SHORT_PRESS"}=e
t.fireInteractionEvent(i,n)}}))
define("profile-premium/components/custom-button-form-view",["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/debug","@ember/destroyable","@ember/object","@ember/service","@glimmer/component","@glimmer/tracking","@linkedin/ember-restli-graphql","artdeco-loader/components/artdeco-loader","artdeco-modal/components/artdeco-confirmation-dialog","artdeco-modal/components/artdeco-modal","booking-events/components/booking-event-preview","button-appearance/components/button-appearance","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-tracking/modifiers/track-view","form-builder-v2/components/dash-form-section","form-builder-v2/utils/dash-form-utils-v2","form-builder-v2/utils/validation/base-validator","graphql-queries/mutations/premium/do-submit-form-custom-button-form-views.graphql","graphql-queries/mutations/premium/do-delete-custom-button-form-views.graphql","hue-web-icons/components/icon","profile-premium/utils/request-utils","rsvp","tracked-toolbox"],(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){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var M,A,N,j,R,F,B,V,z,L,U,G,q,W,H,Q
const K="CUSTOM_BUTTON_TYPE",$="PROVIDER_TYPE",Y=(e,t)=>{if(!t)return
let i
e.formElementGroupViewModels.find((e=>{i=e.formElementViewModels.find((e=>e.formElement.entityUrn.includes(t)))
return i}))
return i}
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"7Okv7GpJ",block:'[[[1,"\\n"],[1,"    "],[8,[32,0],null,[["@isOpen","@dismissModal","@size","@modalClasses"],[true,[30,0,["onExitClick"]],"large",[29,["profile-premium-custom-button-form-view\\n        ",[52,[30,0,["isBookingEventCustomButton"]],"profile-premium-custom-button-form-view--tall"],"\\n      "]]]],[["default"],[[[[1,"\\n      "],[8,[30,1,["artdeco-modal-header"]],[[24,0,"bb0 pl6 pt5"],[24,"data-view-name","premium-custom-button-add-edit-form"],[4,[32,1],null,[["viewName","routeName","currentRoute"],["premium-custom-button-add-edit-form",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]]],null,[["default"],[[[[1,"\\n"],[1,"        "],[8,[32,3],[[24,0,"mt4"]],[["@type","@name","@size","@a11yText"],["logo","premium-badge-v2","xsmall","Premium"]],null],[1,"\\n        "],[10,"h2"],[14,1,"profile-premium-custom-button-form-view-header"],[12],[1,"\\n          "],[10,1],[14,0,"text-display-medium-bold"],[12],[1,"\\n            "],[1,[30,2,["title"]]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n      "]],[]]]]],[1,"\\n      "],[8,[30,1,["artdeco-modal-content"]],[[16,0,[29,["overflow-auto flex-grow-1 ph6\\n          ",[52,[30,0,["isSaving"]],"display-flex align-items-center"],"\\n          "]]]],null,[["default"],[[[[1,"\\n"],[41,[30,0,["isSaving"]],[[[1,"          "],[8,[32,4],null,[["@size"],["small"]],null],[1,"\\n"]],[]],[[[1,"          "],[8,[32,5],null,[["@viewModel"],[[30,0,["formSectionViewModel"]]]],null],[1,"\\n"],[41,[30,2,["bookingEventPreview"]],[[[41,[30,0,["shouldShowBookingEventPreview"]],[[[1,"              "],[8,[32,6],[[24,0,"mt5"]],[["@model","@onDelete"],[[30,2,["bookingEventPreview"]],[30,0,["onDeleteClick"]]]],null],[1,"\\n"]],[]],null]],[]],null]],[]]],[1,"      "]],[]]]]],[1,"\\n      "],[8,[30,1,["artdeco-modal-footer"]],[[24,0,"display-flex justify-space-between ph5 pb5 bt0"]],null,[["default"],[[[[1,"\\n        "],[10,1],[12],[1,"\\n"],[41,[30,2,["deleteButton"]],[[[41,[30,0,["shouldShowDeleteButton"]],[[[1,"              "],[8,[32,7],[[24,0,"mr4"],[4,[52,[30,0,["deleteButtonControlName"]],[50,[32,8],2,[[30,0,["deleteButtonControlName"]]],null]],null,null]],[["@onClick","@appearance","@a11yText","@disabled"],[[30,0,["onDeleteClick"]],[30,2,["deleteButton","appearance"]],[52,[30,2,["deleteButton","accessibilityText"]],[30,2,["deleteButton","accessibilityText"]]],[30,0,["isSaving"]]]],null],[1,"\\n"]],[]],null]],[]],null],[1,"        "],[13],[1,"\\n        "],[10,1],[12],[1,"\\n"],[41,[30,0,["shouldShowIntermediateCta"]],[[[41,[30,2,["intermediateCta"]],[[[1,"              "],[8,[32,7],[[24,0,"ml4"],[4,[52,[30,0,["intermediateCtaControlName"]],[50,[32,8],2,[[30,0,["intermediateCtaControlName"]]],null]],null,null]],[["@onClick","@appearance","@a11yText","@disabled"],[[30,0,["onContinueClick"]],[30,2,["intermediateCta","appearance"]],[52,[30,2,["intermediateCta","accessibilityText"]],[30,2,["intermediateCta","accessibilityText"]]],[30,0,["isSaving"]]]],null],[1,"\\n"]],[]],null]],[]],[[[41,[30,2,["terminalCta"]],[[[1,"              "],[8,[32,7],[[24,0,"ml4"],[4,[52,[30,0,["terminalCtaControlName"]],[50,[32,8],2,[[30,0,["terminalCtaControlName"]]],null]],null,null]],[["@onClick","@appearance","@a11yText","@disabled"],[[30,0,["onTerminalCtaClick"]],[30,2,["terminalCta","appearance"]],[52,[30,2,["terminalCta","accessibilityText"]],[30,2,["terminalCta","accessibilityText"]]],[30,0,["isSaving"]]]],null],[1,"\\n"]],[]],null]],[]]],[1,"        "],[13],[1,"\\n      "]],[]]]]],[1,"\\n    "]],[1]]]]],[1,"\\n\\n    "],[8,[32,9],null,[["@testId","@isOpen","@title","@content","@primaryActionText","@secondaryActionText","@primaryControlName","@secondaryControlName","@onPrimary","@onSecondary","@onEscape"],["delete-confirmation-modal",[30,0,["isDeleteConfirmationDialogOpen"]],[28,[32,10],["i18n_delete_confirmation_title","profile-premium/components/custom-button-form-view"],null],[28,[32,10],["i18n_delete_confirmation_content","profile-premium/components/custom-button-form-view"],null],[28,[32,10],["i18n_delete_confirmation_yes","profile-premium/components/custom-button-form-view"],null],[28,[32,10],["i18n_delete_confirmation_no","profile-premium/components/custom-button-form-view"],null],"ca_form_delete_confirm_btn","ca_form_delete_cancel_btn",[30,0,["confirmDelete"]],[30,0,["cancelDelete"]],[30,0,["cancelDelete"]]]],null],[1,"\\n\\n    "],[8,[32,9],null,[["@testId","@isOpen","@title","@content","@primaryActionText","@secondaryActionText","@primaryControlName","@secondaryControlName","@onPrimary","@onSecondary","@onEscape"],["exit-confirmation-modal",[30,0,["isExitConfirmationDialogOpen"]],[28,[32,10],["i18n_exit_confirmation_title","profile-premium/components/custom-button-form-view"],null],[28,[32,10],["i18n_exit_confirmation_content","profile-premium/components/custom-button-form-view"],null],[28,[32,10],["i18n_delete_confirmation_yes","profile-premium/components/custom-button-form-view"],null],[28,[32,10],["i18n_delete_confirmation_no","profile-premium/components/custom-button-form-view"],null],"ca_form_exit_confirm_btn","ca_form_exit_cancel_btn",[30,0,["confirmExit"]],[30,0,["cancelExit"]],[30,0,["cancelExit"]]]],null],[1,"\\n  "]],["modal","@model"],false,["if","-get-dynamic-var","modifier"]]',moduleName:"profile-premium/components/custom-button-form-view.gts",scope:()=>[b.default,k.default,l.get,O.default,f.default,P.default,y.default,v.default,w.default,h.default,_.default],isStrictMode:!0}),(M=(0,d.inject)("form-builder-v2@dependency-handler"),A=(0,d.inject)("tracking"),N=(0,d.inject)("@linkedin/ember-restli-graphql@graphql"),j=(0,d.inject)("i18n"),R=(0,d.inject)("persistent-toast-manager@persistent-toast-manager"),F=(0,d.inject)("router"),B=class e extends p.default{constructor(e,i){super(e,i);(0,t.default)(this,"dependencyHandler",V,this);(0,t.default)(this,"tracking",z,this);(0,t.default)(this,"graphql",L,this);(0,t.default)(this,"i18n",U,this);(0,t.default)(this,"persistentToastManager",G,this);(0,t.default)(this,"router",q,this);(0,t.default)(this,"isSaving",W,this);(0,t.default)(this,"isDeleteConfirmationDialogOpen",H,this);(0,t.default)(this,"isExitConfirmationDialogOpen",Q,this)}get formSectionViewModel(){const{form:e}=this.args.model
return new C.FormSectionViewModel(e,"customButtonForm",this.dependencyHandler,{})}get isBookingEventCustomButton(){var e,t,i
return"SEE_DEMO"===(null===(e=Y(this.formSectionViewModel,K))||void 0===e||null===(t=e.inputValues)||void 0===t||null===(i=t.value)||void 0===i?void 0:i.inputEntityName)}get isCustomUrlBookingProviderType(){var e,t,i
return"CUSTOM_URL"===(null===(e=Y(this.formSectionViewModel,$))||void 0===e||null===(t=e.inputValues)||void 0===t||null===(i=t.value)||void 0===i?void 0:i.inputEntityName)}get shouldShowBookingEventPreview(){return this.isBookingEventCustomButton&&!this.isCustomUrlBookingProviderType}get shouldShowDeleteButton(){const e=Y(this.formSectionViewModel,K)
return e&&!e.isUpdated&&!this.isBookingEventCustomButton}get shouldShowIntermediateCta(){const e=!!Y(this.formSectionViewModel,$)
return this.isBookingEventCustomButton&&(e?!this.isCustomUrlBookingProviderType:!this.args.model.bookingEventPreview)}get deleteButtonControlName(){var e
return null!==(e=this.args.model.deleteButton)&&void 0!==e&&e.controlName?this.args.model.deleteButton.controlName:void 0}get intermediateCtaControlName(){var e
return null!==(e=this.args.model.intermediateCta)&&void 0!==e&&e.controlName?this.args.model.intermediateCta.controlName:void 0}get terminalCtaControlName(){var e
return null!==(e=this.args.model.terminalCta)&&void 0!==e&&e.controlName?this.args.model.terminalCta.controlName:void 0}cancelDelete(){this.isDeleteConfirmationDialogOpen=!1}cancelExit(){this.isExitConfirmationDialogOpen=!1}confirmDelete(){this._deleteCustomButton()
this.isDeleteConfirmationDialogOpen=!1}confirmExit(){this._exit()
this.isExitConfirmationDialogOpen=!1}onContinueClick(){this.router.transitionTo("profile.common.profile.overlay-booking-event-setup",{queryParams:{edit:!0}})}onDeleteClick(){this.isDeleteConfirmationDialogOpen=!0}onExitClick(){var e,t
null!==(e=this.args.model.exitButton)&&void 0!==e&&e.controlName&&this.tracking.fireInteractionEvent(this.args.model.exitButton.controlName)
null!==(t=this.formSectionViewModel.updatedFormElementInputs)&&void 0!==t&&t.length?this.isExitConfirmationDialogOpen=!0:this._exit()}onTerminalCtaClick(){if(!(0,x.validateFormSection)(this.formSectionViewModel).length){this.isSaving=!0
this._saveCustomButtonForm(this.formSectionViewModel.formElementInputsForApi).finally((()=>{(0,u.isDestroying)(this)||(this.isSaving=!1)}))}}_deleteCustomButton(){this.isSaving=!0
return this.graphql.executeMutation(T.default).then((e=>{let{data:t}=e
if(!(0,u.isDestroying)(this)){var i
const{successMessage:e}=(null==t||null===(i=t.doDeleteCustomButtonPremiumDashCustomButtonFormViews)||void 0===i?void 0:i.result)??{}
e&&this.persistentToastManager.success({message:e})
this._exit()}})).catch((t=>{if((0,u.isDestroying)(this))throw t
if(!(t instanceof g.GraphQLQueryError))throw t
{const i=(0,S.getVoyagerUserVisibleExceptionMessage)(t)??this.i18n.lookupTranslation(e,"i18n_generic_delete_error")()
this.persistentToastManager.error({message:i})}})).finally((()=>{(0,u.isDestroying)(this)||(this.isSaving=!1)}))}_exit(){this.formSectionViewModel.reset()
this.args.onExit()}_saveCustomButtonForm(t){return t.length?this.graphql.executeMutation(D.default,{formInputs:t}).then((e=>{let{data:t}=e
if(!(0,u.isDestroying)(this)){var i,n
const e=null==t||null===(i=t.doSubmitFormPremiumDashCustomButtonFormViews)||void 0===i||null===(n=i.result)||void 0===n?void 0:n.successMessage
e&&this.persistentToastManager.success({message:e})
this._exit()}})).catch((t=>{if((0,u.isDestroying)(this))throw t
if(!(t instanceof g.GraphQLQueryError))throw t
{const i=(0,S.getVoyagerUserVisibleExceptionMessage)(t)??this.i18n.lookupTranslation(e,"i18n_generic_save_error")()
this.persistentToastManager.error({message:i})}})):(0,I.resolve)().then((()=>{(0,u.isDestroying)(this)||this._exit()}))}},V=(0,n.default)(B.prototype,"dependencyHandler",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,n.default)(B.prototype,"tracking",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,n.default)(B.prototype,"graphql",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,n.default)(B.prototype,"i18n",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,n.default)(B.prototype,"persistentToastManager",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,n.default)(B.prototype,"router",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,n.default)(B.prototype,"isSaving",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),H=(0,n.default)(B.prototype,"isDeleteConfirmationDialogOpen",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Q=(0,n.default)(B.prototype,"isExitConfirmationDialogOpen",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(B.prototype,"formSectionViewModel",[E.cached],Object.getOwnPropertyDescriptor(B.prototype,"formSectionViewModel"),B.prototype),(0,n.default)(B.prototype,"cancelDelete",[c.action],Object.getOwnPropertyDescriptor(B.prototype,"cancelDelete"),B.prototype),(0,n.default)(B.prototype,"cancelExit",[c.action],Object.getOwnPropertyDescriptor(B.prototype,"cancelExit"),B.prototype),(0,n.default)(B.prototype,"confirmDelete",[c.action],Object.getOwnPropertyDescriptor(B.prototype,"confirmDelete"),B.prototype),(0,n.default)(B.prototype,"confirmExit",[c.action],Object.getOwnPropertyDescriptor(B.prototype,"confirmExit"),B.prototype),(0,n.default)(B.prototype,"onContinueClick",[c.action],Object.getOwnPropertyDescriptor(B.prototype,"onContinueClick"),B.prototype),(0,n.default)(B.prototype,"onDeleteClick",[c.action],Object.getOwnPropertyDescriptor(B.prototype,"onDeleteClick"),B.prototype),(0,n.default)(B.prototype,"onExitClick",[c.action],Object.getOwnPropertyDescriptor(B.prototype,"onExitClick"),B.prototype),(0,n.default)(B.prototype,"onTerminalCtaClick",[c.action],Object.getOwnPropertyDescriptor(B.prototype,"onTerminalCtaClick"),B.prototype),B))}))
define("profile-premium/components/generated-suggestions/entity-checkbox-list",["exports","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/template-factory","@ember/component","@ember/debug","@ember/helper","@ember/modifier","@ember/object","@glimmer/component","artdeco-entity-lockup/components/artdeco-entity-lockup","image-view-model/components/image-view-model","text-view-model/components/text-view-model-v2"],(function(e,t,i,n,o,r,l,a,s,u,c,d,p){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var m
e.default=(0,o.setComponentTemplate)((0,n.createTemplateFactory)({id:"LQMCKP1z",block:'[[[1,"\\n    "],[11,"ul"],[24,0,"ph5"],[17,1],[12],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,2]],null]],null],null,[[[1,"        "],[10,"li"],[14,0,"profile-premium-entity-checkbox-list__item"],[12],[1,"\\n          "],[10,0],[14,0,"mr2"],[12],[1,"\\n            "],[11,"input"],[16,"checked",[28,[32,0],[[30,0,["typedInputState"]],[30,4]],null]],[16,1,[29,["entity-checkbox-",[30,5],"-",[30,4]]]],[24,4,"checkbox"],[4,[32,1],["change",[28,[32,2],[[30,0,["toggleCheckbox"]],[30,4]],null]],null],[12],[13],[1,"\\n            "],[10,"label"],[15,"for",[29,["entity-checkbox-",[30,5],"-",[30,4]]]],[14,0,"m0"],[12],[1,"\\n              "],[10,1],[14,0,"visually-hidden"],[12],[1,[30,3,["entity","title","text"]]],[13],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n          "],[10,0],[12],[1,"\\n"],[41,[30,3,["heading"]],[[[1,"              "],[10,"h4"],[14,0,"text-body-small-bold t-black--light mb3"],[12],[1,"\\n                "],[1,[30,3,["heading"]]],[1,"\\n              "],[13],[1,"\\n"]],[]],null],[1,"            "],[8,[32,3],[[24,0,"mb1"]],[["@size"],[3]],[["default"],[[[[1,"\\n"],[41,[30,3,["entity","image"]],[[[1,"                "],[8,[30,6,["image"]],null,[["@type"],[[29,[[52,[28,[32,0],[[30,3,["entity","image"]],"attributes.0.detailData.companyLogo"],null],"square","circle"]]]]],[["default"],[[[[1,"\\n                  "],[8,[32,4],null,[["@entitySize","@images"],[3,[30,3,["entity","image"]]]],null],[1,"\\n                "]],[]]]]],[1,"\\n"]],[]],null],[1,"              "],[8,[30,6,["content"]],null,null,[["default"],[[[[1,"\\n                "],[8,[30,6,["title"]],[[24,0,"text-body-medium"]],null,[["default"],[[[[1,"\\n                  "],[8,[32,5],null,[["@tvm"],[[30,3,["entity","title"]]]],null],[1,"\\n                "]],[]]]]],[1,"\\n"],[41,[30,3,["entity","label","text"]],[[[1,"                  "],[8,[30,6,["badge"]],null,[["@degreeText","@degreeA11yText"],[[30,3,["entity","label","text"]],[52,[30,3,["entity","label","accessibilityText"]],[30,3,["entity","label","accessibilityText"]]]]],null],[1,"\\n"]],[]],null],[41,[30,3,["entity","subtitle"]],[[[1,"                  "],[8,[30,6,["subtitle"]],[[24,0,"text-body-xsmall t-black--light"]],null,[["default"],[[[[1,"\\n                    "],[8,[32,5],null,[["@tvm"],[[30,3,["entity","subtitle"]]]],null],[1,"\\n                  "]],[]]]]],[1,"\\n"]],[]],null],[1,"              "]],[]]]]],[1,"\\n            "]],[6]]]]],[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,3,["descriptions"]]],null]],null],null,[[[1,"              "],[10,2],[15,0,[29,["text-body-small profile-premium-entity-checkbox-list__description\\n                  ",[52,[30,3,["descriptionNumInitialLinesToShow"]],[28,[32,0],[[30,0,["descriptionTruncationClassMap"]],[30,3,["descriptionNumInitialLinesToShow"]]],null],"profile-premium-entity-checkbox-list__description--2-lines"],"\\n                  "]]],[12],[1,"\\n                "],[8,[32,5],null,[["@tvm"],[[30,7]]],null],[1,"\\n              "],[13],[1,"\\n"]],[7,8]],null],[1,"          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[3,4]],null],[1,"    "],[13],[1,"\\n  "]],["&attrs","@model","checkbox","checkboxIndex","@index","element","description","descriptionIndex"],false,["each","-track-array","if"]]',moduleName:"profile-premium/components/generated-suggestions/entity-checkbox-list.gts",scope:()=>[l.get,a.on,l.fn,c.default,d.default,p.default],isStrictMode:!0}),(m=class extends u.default{constructor(e,i){super(e,i);(0,t.default)(this,"descriptionTruncationClassMap",{1:"profile-premium-entity-checkbox-list__description--1-line",2:"profile-premium-entity-checkbox-list__description--2-lines",3:"profile-premium-entity-checkbox-list__description--3-lines"})
this._initializeInputState()}get typedInputState(){return void 0===this.args.componentInputState?new Array(this.args.model.length).fill(!0):this.args.componentInputState}toggleCheckbox(e){this.args.updateComponentInputState(this.typedInputState.map(((t,i)=>e===i?!t:t)))}_initializeInputState(){this.args.updateComponentInputState(new Array(this.args.model.length).fill(!0))}},(0,i.default)(m.prototype,"toggleCheckbox",[s.action],Object.getOwnPropertyDescriptor(m.prototype,"toggleCheckbox"),m.prototype),m))}))
define("profile-premium/components/generated-suggestions/generated-suggestion-edit-view",["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","form-builder-v2/utils/dash-form-utils-v2","profile-premium/utils/profile-generated-suggestion-tracking-util","graphql-queries/mutations/profile/edit/profile-edit-save-form.graphql","@ember/service","global-utils/utils/is-browser","global-utils/utils/locale-helpers","tracked-toolbox","@glimmer/tracking","@ember/debug","@ember/object","@glimmer/component","@ember/destroyable","profile-premium/components/generated-suggestions/inline-modal","@ember/helper","button-appearance/components/button-appearance","global-helpers/helpers/or","ember-cli-pemberly-i18n/helpers/t","text-view-model/components/text-view-model-v2","artdeco-text-input/components/artdeco-text-input","profile-premium/components/generated-suggestions/loader","profile-premium/components/generated-suggestions/typing-animation","profile-shared/modifiers/scroll-textarea-to-bottom","profile-shared/modifiers/auto-resize-textarea","form-builder-v2/components/dash-form-element","profile-shared/modifiers/focus-child-element","ember-scroll-modifiers/modifiers/did-intersect","artdeco-inline-feedback/components/artdeco-inline-feedback","global-helpers/helpers/gt","artdeco-button/components/artdeco-button","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-tracking/modifiers/track-view","profile-premium/components/generated-suggestions/generated-suggestion-feedback-panel","artdeco-modal/components/artdeco-confirmation-dialog","@ember/modifier","ember-batcher","hue-web-icons/components/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){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var G,q,W,H,Q,K,$,Y,X,J,Z,ee,te,ie,ne,oe,re,le,ae,se,ue
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"/y5DIgcB",block:'[[[1,"\\n"],[1,"    "],[8,[32,0],null,[["@onDismiss","@paddingPx","@onScrollEnd"],[[30,0,["exit"]],[30,0,["inlineModalPaddingPx"]],[30,0,["handleScrollEnd"]]]],[["default"],[[[[1,"\\n      "],[10,0],[15,0,[28,[32,1],["pv-shared-generated-suggestion-edit-view",[52,[30,0,["isOriginalVisible"]]," pv-shared-generated-suggestion-edit-view--showing-original"]],null]],[12],[1,"\\n        "],[10,"section"],[14,0,"pv-shared-generated-suggestion-edit-view__header"],[12],[1,"\\n          "],[10,0],[12],[1,"\\n"],[1,"            "],[8,[32,2],null,[["@type","@name","@size","@a11yText"],["logo","premium-badge","xxxsmall","Premium"]],null],[1,"\\n            "],[10,"h2"],[14,0,"text-display-small-bold"],[12],[1,"\\n              "],[1,[30,1,["title"]]],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n"],[41,[30,2],[[[1,"            "],[8,[32,3],[[24,0,"pv-shared-generated-suggestion-edit-view__exit-button"]],[["@a11yText","@onClick","@appearance"],[[28,[32,4],[[30,2,["accessibilityText"]],[28,[32,5],["i18n_dismiss","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null]],null],[30,0,["exit"]],[30,2,["appearance"]]]],null],[1,"\\n"]],[]],null],[1,"        "],[13],[1,"\\n\\n        "],[10,"section"],[14,0,"pv-shared-generated-suggestion-edit-view__content"],[12],[1,"\\n          "],[10,0],[14,0,"pv-shared-generated-suggestion-edit-view__form"],[12],[1,"\\n"],[41,[30,1,["description"]],[[[1,"              "],[10,2],[14,0,"pv-shared-generated-suggestion-edit-view__description"],[12],[1,"\\n                "],[8,[32,6],null,[["@tvm"],[[30,1,["description"]]]],null],[1,"\\n              "],[13],[1,"\\n"]],[]],null],[41,[30,3,["isPending"]],[[[1,"              "],[10,0],[14,0,"pv-shared-generated-suggestion-edit-view__loader-container"],[14,"data-profile-inline-modal-vertical-anchor-point",""],[12],[1,"\\n                "],[8,[32,7],[[24,"aria-hidden","true"]],[["@class","@type","@rows","@aria-label"],["pv-shared-generated-suggestion-edit-view__disabled-input","multiline",[30,0,["minTextareaRows"]],[30,1,["title"]]]],null],[1,"\\n                "],[10,0],[14,0,"pv-shared-generated-suggestion-edit-view__loader"],[12],[1,"\\n                  "],[8,[32,8],null,[["@onCancel","@texts"],[[30,0,["abortLoading"]],[30,0,["loadingStateTexts"]]]],null],[1,"\\n                "],[13],[1,"\\n              "],[13],[1,"\\n"]],[]],[[[41,[30,0,["suggestionsDataError"]],[[[1,"              "],[8,[32,7],[[24,"data-profile-inline-modal-vertical-anchor-point",""],[24,"aria-hidden","true"]],[["@class","@type","@rows","@aria-label"],["pv-shared-generated-suggestion-edit-view__disabled-input","multiline",[30,0,["minTextareaRows"]],[30,1,["title"]]]],null],[1,"\\n"]],[]],[[[41,[30,0,["isTypingAnimationRunning"]],[[[1,"              "],[8,[32,9],[[24,0,"pv-shared-generated-suggestion-edit-view__typing-animation"],[24,"data-profile-inline-modal-vertical-anchor-point",""]],[["@string","@onUpdate","@onAnimationEnd"],[[30,0,["currentInputValue"]],[30,0,["handleTypingAnimationUpdate"]],[30,0,["handleTypingAnimationEnd"]]]],[["default"],[[[[1,"\\n                "],[8,[32,7],[[24,"aria-busy","true"],[4,[32,10],null,[["shouldScrollOnInput"],[true]]],[4,[32,11],null,[["minRows"],[[30,0,["minTextareaRows"]]]]]],[["@inputId","@type","@value","@rows","@alignTop"],["pv-shared-generated-suggestion-edit-view__animation-input","multiline",[30,4],[30,0,["minTextareaRows"]],true]],null],[1,"\\n              "]],[4]]]]],[1,"\\n"]],[]],[[[1,"              "],[8,[32,12],[[24,0,"pv-shared-generated-suggestion-edit-view__form-element"],[24,"data-profile-inline-modal-vertical-anchor-point",""],[24,"data-view-name","profile-generated-suggestions"],[4,[32,13],null,[["selector","shouldSelectText"],["textarea",true]]],[4,[32,10],null,null],[4,[32,11],null,[["minRows"],[[30,0,["minTextareaRows"]]]]],[4,[32,14],null,[["onEnter"],[[30,0,["fireImpressionEvent"]]]]],[4,[32,15],null,[["viewName","view","routeName","currentRoute"],["profile-generated-suggestions",[30,0],[28,[32,16],[[53,"outletState"],"render.name"],null],[28,[32,16],[[53,"outletState"],"render"],null]]]]],[["@viewModel","@formElementA11yLabel"],[[30,0,["suggestionFormViewModel"]],[30,1,["title"]]]],null],[1,"\\n            "]],[]]]],[]]]],[]]],[1,"\\n            "],[10,0],[14,0,"pv-shared-generated-suggestion-edit-view__form-element-footer"],[12],[1,"\\n"],[41,[30,0,["suggestionsDataError"]],[[[1,"                "],[8,[32,17],null,[["@type","@message","@linkText","@onClick"],["error",[30,0,["suggestionsDataError","errorMessage"]],[52,[30,0,["suggestionsDataError","canRetry"]],[28,[32,5],["i18n_retry","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null]],[52,[30,0,["suggestionsDataError","canRetry"]],[30,0,["handleRetry"]]]]],null],[1,"\\n"]],[]],null],[41,[28,[32,18],[[30,0,["numSuggestions"]],1],null],[[[1,"                "],[8,[32,19],[[4,[32,20],["click",[30,0,["onRefreshClick"]]],null],[4,[32,21],["profile_generated_suggestion_refresh"],null]],[["@icon","@text","@color","@type","@size"],["refresh-icon",[28,[32,5],["i18n_show_option","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],[["num"],[[30,0,["nextOptionNum"]]]]],"muted","tertiary","1"]],null],[1,"\\n"]],[]],null],[1,"              "],[8,[32,22],[[24,0,"pv-shared-generated-suggestion-edit-view__feedback-buttons"]],[["@generatedContentTrackingId","@isDisabled","@onFeedbackSubmit"],[[30,0,["suggestion","trackingId"]],[30,0,["areButtonsDisabled"]],[30,0,["onFeedbackSubmit"]]]],null],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n\\n"],[41,[30,0,["isOriginalVisible"]],[[[1,"            "],[10,0],[14,0,"pv-shared-generated-suggestion-edit-view__original-container"],[12],[1,"\\n              "],[10,0],[14,0,"pv-shared-generated-suggestion-edit-view__original"],[12],[1,"\\n"],[41,[30,1,["originalTextHeader"]],[[[1,"                  "],[10,"h3"],[14,0,"pv-shared-generated-suggestion-edit-view__original-title"],[12],[1,"\\n                    "],[8,[32,6],null,[["@tvm"],[[30,1,["originalTextHeader"]]]],null],[1,"\\n                  "],[13],[1,"\\n"]],[]],null],[41,[30,1,["originalText"]],[[[1,"                  "],[10,2],[14,0,"pv-shared-generated-suggestion-edit-view__original-text"],[12],[1,"\\n                    "],[8,[32,6],null,[["@tvm","@userGenerated"],[[30,1,["originalText"]],true]],null],[1,"\\n                  "],[13],[1,"\\n"]],[]],null],[1,"              "],[13],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[1,"        "],[13],[1,"\\n\\n        "],[10,"section"],[14,0,"pv-shared-generated-suggestion-edit-view__footer"],[12],[1,"\\n"],[41,[30,0,["originalOrSuggestion"]],[[[1,"            "],[8,[32,3],[[24,"data-js-generated-suggestion-edit-view-toggle-original-button",""],[4,[32,21],[[30,0,["toggleButtonControlName"]]],null]],[["@onClick","@appearance","@disabled"],[[30,0,["toggleOriginal"]],[52,[30,0,["isOriginalVisible"]],[30,1,["viewSuggestionButton","appearance"]],[30,1,["viewOriginalButton","appearance"]]],[30,0,["areButtonsDisabled"]]]],null],[1,"\\n"]],[]],null],[1,"\\n          "],[10,0],[14,0,"pv-shared-generated-suggestion-edit-view__cta-container"],[12],[1,"\\n"],[41,[30,1,["skipButtonV2"]],[[[1,"              "],[8,[32,3],[[24,0,"pv-shared-generated-suggestion-edit-view__cta"],[24,"data-js-generated-suggestion-edit-view-skip-cta",""]],[["@onClick","@appearance","@a11yText","@disabled"],[[30,0,["skip"]],[30,1,["skipButtonV2","appearance"]],[30,1,["skipButtonV2","accessibilityText"]],[30,0,["isSaving"]]]],null],[1,"\\n"]],[]],null],[41,[30,1,["saveButtonV2"]],[[[1,"              "],[8,[32,3],[[24,0,"pv-shared-generated-suggestion-edit-view__cta"],[24,"data-js-generated-suggestion-edit-view-accept-cta",""]],[["@onClick","@appearance","@a11yText","@disabled"],[[30,0,["save"]],[30,1,["saveButtonV2","appearance"]],[30,1,["saveButtonV2","accessibilityText"]],[30,0,["areButtonsDisabled"]]]],null],[1,"\\n"]],[]],null],[1,"          "],[13],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n    "]],[]]]]],[1,"\\n\\n"],[1,"    "],[8,[32,23],null,[["@testId","@isOpen","@title","@content","@primaryActionText","@secondaryActionText","@primaryControlName","@secondaryControlName","@onPrimary","@onSecondary","@onEscape"],["exit-confirmation-modal",[30,0,["isExitConfirmationDialogOpen"]],[28,[32,5],["i18n_exit_confirmation_title","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null],[28,[32,5],["i18n_exit_confirmation_content","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null],[28,[32,5],["i18n_exit_confirmation_yes","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null],[28,[32,5],["i18n_exit_confirmation_no","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null],"generated-suggestion-exit-confirm","generated-suggestion-exit-cancel",[30,0,["confirmExit"]],[30,0,["cancelExit"]],[30,0,["cancelExit"]]]],null],[1,"\\n    "],[8,[32,23],null,[["@testId","@isOpen","@title","@content","@primaryActionText","@secondaryActionText","@primaryControlName","@secondaryControlName","@onPrimary","@onSecondary","@onEscape"],["generated-suggestion-refresh-warning-modal",[30,0,["isRefreshWarningDialogOpen"]],[28,[32,5],["i18n_refresh_confirmation_title","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null],[28,[32,5],["i18n_refresh_confirmation_content","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null],[28,[32,5],["i18n_refresh_confirmation_yes","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null],[28,[32,5],["i18n_refresh_confirmation_no","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null],"profile_generated_suggestion_refresh_confirm","profile_generated_suggestion_refresh_cancel",[30,0,["confirmRefresh"]],[30,0,["cancelRefresh"]],[30,0,["cancelRefresh"]]]],null],[1,"\\n    "],[8,[32,23],null,[["@testId","@isOpen","@title","@content","@primaryActionText","@secondaryActionText","@primaryControlName","@secondaryControlName","@onPrimary","@onSecondary","@onEscape"],["abort-loading-confirmation-dialog",[30,0,["isAbortLoadingDialogOpen"]],[28,[32,5],["i18n_abort_loading_confirmation_title","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null],[28,[32,5],["i18n_abort_loading_confirmation_content","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null],[28,[32,5],["i18n_abort_loading_confirmation_yes","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null],[28,[32,5],["i18n_abort_loading_confirmation_no","profile-premium/components/generated-suggestions/generated-suggestion-edit-view"],null],"profile_generated_suggestion_abort_loading_confirm","profile_generated_suggestion_abort_loading_cancel",[30,0,["confirmAbortLoading"]],[30,0,["cancelAbortLoading"]],[30,0,["cancelAbortLoading"]]]],null],[1,"\\n  "]],["@model","@exitButton","@suggestionsAsyncData","animatedString"],false,["if","-get-dynamic-var"]]',moduleName:"profile-premium/components/generated-suggestions/generated-suggestion-edit-view.gjs",scope:()=>[v.default,_.concat,U.default,w.default,k.default,P.default,C.default,x.default,D.default,T.default,O.default,S.default,I.default,E.default,M.default,F.default,_.get,A.default,N.default,j.default,z.on,R.default,B.default,V.default],isStrictMode:!0}),(G=(0,c.inject)("tracking"),q=(0,c.inject)("@linkedin/ember-restli-graphql@graphql"),W=(0,c.inject)("i18n"),H=(0,c.inject)("persistent-toast-manager@persistent-toast-manager"),Q=(0,c.inject)("form-builder-v2@dependency-handler"),K=(0,m.trackedReset)("args.targetDelegateUrn"),$=(0,m.trackedReset)("args.targetDelegateUrn"),Y=class e extends b.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",X,this);(0,t.default)(this,"graphql",J,this);(0,t.default)(this,"i18n",Z,this);(0,t.default)(this,"persistentToastManager",ee,this);(0,t.default)(this,"dependencyHandler",te,this);(0,t.default)(this,"isInitialLoad",ie,this);(0,t.default)(this,"isTypingAnimationRunning",ne,this);(0,t.default)(this,"currentSuggestionIdx",oe,this);(0,t.default)(this,"isSaving",re,this);(0,t.default)(this,"isOriginalVisible",le,this);(0,t.default)(this,"isExitConfirmationDialogOpen",ae,this);(0,t.default)(this,"isRefreshWarningDialogOpen",se,this);(0,t.default)(this,"isAbortLoadingDialogOpen",ue,this);(0,i.default)(this,"inlineModalPaddingPx",{left:24,right:24,bottom:16})}get loadingStateTexts(){return this.args.model.loadingText}get suggestionsDataError(){var t,i
const{suggestionsAsyncData:n}=this.args,o=this.i18n.lookupTranslation(e,"i18n_fallback_error_message")()
return null!==(t=n.value)&&void 0!==t&&null!==(i=t.metadata)&&void 0!==i&&i.errorMessage?{errorMessage:n.value.metadata.errorMessage,canRetry:!!n.value.metadata.retryCta}:n.isResolved&&0===this.numSuggestions||n.isRejected?{errorMessage:o,canRetry:!0}:void 0}get numSuggestions(){var e,t,i
return null===(e=this.args.suggestionsAsyncData)||void 0===e||null===(t=e.value)||void 0===t||null===(i=t.elements)||void 0===i?void 0:i.length}get suggestion(){var e,t,i
return null===(e=this.args.suggestionsAsyncData)||void 0===e||null===(t=e.value)||void 0===t||null===(i=t.elements)||void 0===i?void 0:i[this.currentSuggestionIdx]}get suggestionFormViewModel(){var e
const t=null===(e=this.suggestion)||void 0===e?void 0:e.suggestionForm
if(!t)return null
t.title={accessibilityText:this.args.model.title}
return new a.FormElementViewModel(t,this.dependencyHandler)}get currentInputValue(){var e,t,i
return null===(e=this.suggestionFormViewModel)||void 0===e||null===(t=e.inputValues)||void 0===t||null===(i=t.values)||void 0===i?void 0:i[0]}get minTextareaRows(){return this.args.model.numVisibleLines??3}get toggleButtonControlName(){return this.isOriginalVisible?"profile_generated_suggestions_edit_return_to_suggestion":"profile_generated_suggestions_edit_view_original"}get nextOptionNum(){return(this.currentSuggestionIdx+1)%this.numSuggestions+1}get areButtonsDisabled(){return this.isSaving||!this.numSuggestions}get contentTrackingId(){return this.args.suggestionViewTrackingId}abortLoading(){this.tracking.fireInteractionEvent("profile_generated_suggestion_abort_loading")
this.isAbortLoadingDialogOpen=!0}confirmAbortLoading(){this.isAbortLoadingDialogOpen=!1
this.args.onSkip()}cancelAbortLoading(){this.isAbortLoadingDialogOpen=!1}handleRetry(){this.tracking.fireInteractionEvent("profile_generated_suggestions_error_retry")
this.isInitialLoad=!1
this.args.onRetry()}handleScrollEnd(){this.isTypingAnimationRunning=!0}exit(){this.isExitConfirmationDialogOpen=!0}cancelExit(){this.isExitConfirmationDialogOpen=!1}confirmExit(){this._fireActionTrackingEvent(s.profileGeneratedSuggestionActionType.EXIT)
this.args.onExit()}handleTypingAnimationEnd(){this.isTypingAnimationRunning=!1
this.isInitialLoad=!1}handleTypingAnimationUpdate(){if(d.default){const e=document.getElementById("pv-shared-generated-suggestion-edit-view__animation-input")
null==e||e.dispatchEvent(new Event("input"))}}toggleOriginal(){this.isOriginalVisible=!this.isOriginalVisible}skip(){this._fireActionTrackingEvent(s.profileGeneratedSuggestionActionType.SKIP)
this.args.onSkip()}save(){var e
this._fireActionTrackingEvent(s.profileGeneratedSuggestionActionType.SAVE)
const t=null===(e=this.suggestionFormViewModel)||void 0===e?void 0:e.formElementInput
if(!t)return
this.isSaving=!0
const i={formElementInputs:[t]},{locale:n}=this.args
n&&(i.locale=(0,p.stringToLocale)(n))
return this.graphql.executeMutation(u.default,i,{reload:!0}).then((e=>{if(!(0,y.isDestroying)(this)){this._showSuccessToast("success_toast")
this.args.onSkip()
return e}})).catch((e=>{if((0,y.isDestroying)(this))throw e
this._showErrorToast("failure_toast")
throw e})).finally((()=>{this.isDestroying||(this.isSaving=!1)}))}_showSuccessToast(t){const i=this.i18n.lookupTranslation(e,t)()
this.persistentToastManager.success({message:i})}_showErrorToast(t){const i=this.i18n.lookupTranslation(e,t)()
this.persistentToastManager.error({message:i})}_refreshSuggestion(){var e
null===(e=this.suggestionFormViewModel)||void 0===e||e.reset()
if(!(this.numSuggestions<=1)){this.currentSuggestionIdx===this.numSuggestions-1?this.currentSuggestionIdx=0:this.currentSuggestionIdx++
this.isTypingAnimationRunning=!0}}fireImpressionEvent(){var e
const{suggestionViewTrackingId:t}=this.args,i=null===(e=this.suggestion)||void 0===e?void 0:e.trackingId
i&&(0,s.fireProfileGeneratedSuggestionViewImpressionEvent)(this.tracking,t,i)}_fireActionTrackingEvent(e){var t
const{suggestionViewTrackingId:i,model:{originalText:n}}=this.args,o={actionType:e,suggestionViewTrackingId:i,suggestionTrackingId:null===(t=this.suggestion)||void 0===t?void 0:t.trackingId,originalProfileContentValue:(null==n?void 0:n.text)??"",currentProfileContentFormValue:this.currentInputValue};(0,s.fireProfileGeneratedSuggestionViewActionEvent)(this.tracking,o)}onRefreshClick(){var e;(null===(e=this.suggestionFormViewModel)||void 0===e?void 0:e.isUpdated)?this.isRefreshWarningDialogOpen=!0:this._refreshSuggestion()}confirmRefresh(){this.isRefreshWarningDialogOpen=!1
this._refreshSuggestion()}cancelRefresh(){this.isRefreshWarningDialogOpen=!1}get originalOrSuggestion(){const{originalText:e,viewOriginalButton:t,viewSuggestionButton:i}=this.args.model
return e&&(null==t?void 0:t.appearance)&&(null==i?void 0:i.appearance)}onFeedbackSubmit(){let e
this.originalOrSuggestion?e="[data-js-generated-suggestion-edit-view-toggle-original-button]":this.args.model.skipButtonV2?e="[data-js-generated-suggestion-edit-view-skip-cta]":this.args.model.saveButtonV2&&(e="[data-js-generated-suggestion-edit-view-accept-cta]");(0,L.mutateDOM)((()=>{var t
null===(t=document.querySelector(e))||void 0===t||t.focus()}))}},X=(0,n.default)(Y.prototype,"tracking",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,n.default)(Y.prototype,"graphql",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,n.default)(Y.prototype,"i18n",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,n.default)(Y.prototype,"persistentToastManager",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,n.default)(Y.prototype,"dependencyHandler",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=(0,n.default)(Y.prototype,"isInitialLoad",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),ne=(0,n.default)(Y.prototype,"isTypingAnimationRunning",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),oe=(0,n.default)(Y.prototype,"currentSuggestionIdx",[$],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),re=(0,n.default)(Y.prototype,"isSaving",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),le=(0,n.default)(Y.prototype,"isOriginalVisible",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ae=(0,n.default)(Y.prototype,"isExitConfirmationDialogOpen",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),se=(0,n.default)(Y.prototype,"isRefreshWarningDialogOpen",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ue=(0,n.default)(Y.prototype,"isAbortLoadingDialogOpen",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(Y.prototype,"suggestionFormViewModel",[m.cached],Object.getOwnPropertyDescriptor(Y.prototype,"suggestionFormViewModel"),Y.prototype),(0,n.default)(Y.prototype,"abortLoading",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"abortLoading"),Y.prototype),(0,n.default)(Y.prototype,"confirmAbortLoading",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"confirmAbortLoading"),Y.prototype),(0,n.default)(Y.prototype,"cancelAbortLoading",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"cancelAbortLoading"),Y.prototype),(0,n.default)(Y.prototype,"handleRetry",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"handleRetry"),Y.prototype),(0,n.default)(Y.prototype,"handleScrollEnd",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"handleScrollEnd"),Y.prototype),(0,n.default)(Y.prototype,"exit",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"exit"),Y.prototype),(0,n.default)(Y.prototype,"cancelExit",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"cancelExit"),Y.prototype),(0,n.default)(Y.prototype,"confirmExit",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"confirmExit"),Y.prototype),(0,n.default)(Y.prototype,"handleTypingAnimationEnd",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"handleTypingAnimationEnd"),Y.prototype),(0,n.default)(Y.prototype,"handleTypingAnimationUpdate",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"handleTypingAnimationUpdate"),Y.prototype),(0,n.default)(Y.prototype,"toggleOriginal",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"toggleOriginal"),Y.prototype),(0,n.default)(Y.prototype,"skip",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"skip"),Y.prototype),(0,n.default)(Y.prototype,"save",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"save"),Y.prototype),(0,n.default)(Y.prototype,"fireImpressionEvent",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"fireImpressionEvent"),Y.prototype),(0,n.default)(Y.prototype,"_fireActionTrackingEvent",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"_fireActionTrackingEvent"),Y.prototype),(0,n.default)(Y.prototype,"onRefreshClick",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"onRefreshClick"),Y.prototype),(0,n.default)(Y.prototype,"confirmRefresh",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"confirmRefresh"),Y.prototype),(0,n.default)(Y.prototype,"cancelRefresh",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"cancelRefresh"),Y.prototype),(0,n.default)(Y.prototype,"onFeedbackSubmit",[h.action],Object.getOwnPropertyDescriptor(Y.prototype,"onFeedbackSubmit"),Y.prototype),Y))}))
define("profile-premium/components/generated-suggestions/generated-suggestion-feedback-panel",["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","form-builder-v2/utils/dash-form-utils-v2","form-builder-v2/utils/dash-form-utils","profile-shared/utils/tetris-api-helpers","profile-premium/utils/profile-generated-suggestion-tracking-util","tracked-toolbox","@ember/service","@glimmer/component","@glimmer/tracking","@ember/object","@ember/render-modifiers/modifiers/did-update","artdeco-inline-feedback/comp