",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,n.default)(v.prototype,"locale",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v))})) define("feed/components/sort-toggle",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","artdeco-dropdown/components/artdeco-dropdown","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-i18n/helpers/t","hue-web-icons/components/icon","artdeco-dropdown/components/artdeco-dropdown-item","@ember/helper","global-helpers/helpers/not"],(function(e,t,i,n,r,l,o,a,s,d,u){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const c=(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"dkHHyQPs",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[17,1]],[["@isOpen","@onVisibilityChange","@justification","@class"],[[30,2],[30,3],"right",[30,4]]],[["default"],[[[[1,"\\n "],[8,[30,5,["dropdown-trigger"]],[[4,[32,1],["feed_sort_dropdown_trigger"],null]],[["@class"],["display-flex full-width"]],[["default"],[[[[1,"\\n "],[10,"hr"],[14,0,"flex-grow-1 mr2 mvA feed-index-sort-border"],[12],[13],[1,"\\n "],[10,0],[14,0,"display-flex t-black"],[12],[1,"\\n "],[10,1],[14,0,"t-12 t-black--light t-normal"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_sort_by","feed/components/sort-toggle"],null]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"t-12 t-bold mh1"],[12],[1,"\\n"],[41,[30,6],[[[1," "],[1,[28,[32,2],["i18n_recent","feed/components/sort-toggle"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["i18n_top","feed/components/sort-toggle"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[8,[32,3],null,[["@a11yText","@type","@size","@name"],[[28,[32,2],["a11y_dropdown_button","feed/components/sort-toggle"],null],"system","small","caret"]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,5,["dropdown-content"]],null,null,[["default"],[[[[1,"\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,4],[[4,[32,1],["feed_sort_toggle_relevance"],null]],[["@itemSelected","@selected"],[[28,[32,5],[[30,7],"feed",[30,5,["close"]]],null],[28,[32,6],[[30,6]],null]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["i18n_top","feed/components/sort-toggle"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,4],[[4,[32,1],["feed_sort_toggle_chron"],null]],[["@itemSelected","@selected"],[[28,[32,5],[[30,7],"chronFeed",[30,5,["close"]]],null],[30,6]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["i18n_recent","feed/components/sort-toggle"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[5]]]]],[1,"\\n"]],["&attrs","@isSortDropdownOpen","@onVisibilityChange","@class","dropdown","@isSortByRecent","@onClickFeedSortDropdown"],false,["if"]]',moduleName:"feed/components/sort-toggle.gjs",scope:()=>[r.default,l.default,o.default,a.default,s.default,d.fn,u.default],isStrictMode:!0}),(0,i.default)("sort-toggle","SortToggle")) e.default=c})) define("feed/components/sortable-objects",["exports","ember-drag-drop/components/sortable-objects"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=t.default})) define("feed/components/update-list-item",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/helper","@ember/component","global-utils/utils/trusted-html-safe","global-utils/utils/is-browser","ember-batcher","@ember/object","@glimmer/tracking","@glimmer/component","@ember/service","ember-scroll-modifiers/modifiers/did-intersect","@ember/render-modifiers/modifiers/did-insert","feed/modifiers/set-style","feed-shared/components/update/generic-update"],(function(e,t,i,n,r,l,o,a,s,d,u,c,p,m,f,h,g,b,y){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var _,v,E,w,T,S e.default=(0,a.setComponentTemplate)((0,l.createTemplateFactory)({id:"Venl8L4v",block:'[[[1,"\\n "],[11,0],[16,"data-id",[30,1]],[16,0,[52,[30,0,["hasOccludedHeight"]],"has-occluded-height"]],[17,2],[4,[32,0],null,[["maxEnter","maxExit","onEnter"],[1,1,[30,0,["updateExposed"]]]]],[4,[32,1],[[30,0,["wedgeHeightOnInsert"]]],null],[4,[32,2],["height"],[["to"],[[30,0,["renderedHeightStyle"]]]]],[12],[1,"\\n "],[8,[32,3],null,[["@channelId","@commentSort","@conversationStarters","@customModuleKey","@hideCaEntryPoint","@isDashEnabled","@isHighlighted","@model","@occlusionEnabled","@onRequestReload","@onUpdateInsertedForViewState","@shouldPaginateComments","@shouldTriggerUpdateAttachments","@showCommentBox","@updateIndex","@updatesPaginationPVETracker"],[[30,3],[30,4],[30,5],[30,6],true,[30,7],[30,0,["isHighlightedUpdate"]],[30,8],[30,9],[30,10],[30,0,["onUpdateInsertedForViewState"]],[30,11],true,[30,0,["showCommentBox"]],[30,12],[30,13]]],null],[1,"\\n "],[13],[1,"\\n "]],["@updateUrn","&attrs","@channelId","@commentSort","@conversationStarters","@customModuleKey","@isDashEnabled","@model","@occlusionEnabled","@onRequestReload","@shouldPaginateComments","@updateIndex","@updatesPaginationPVETracker"],false,["if"]]',moduleName:"feed/components/update-list-item.gjs",scope:()=>[h.default,g.default,b.default,y.default],isStrictMode:!0}),(_=(0,f.inject)("router"),v=(0,f.inject)("feed-utils@view-state"),E=class extends m.default{constructor(){super(...arguments);(0,t.default)(this,"router",w,this);(0,t.default)(this,"viewState",T,this);(0,t.default)(this,"renderedHeight",S,this)}get hasOccludedHeight(){return this.renderedHeight&&""!==this.renderedHeight}get isFirstUpdate(){return this.args.isFirstUpdate||this.args.updateUrn===this.args.firstUpdateUrn}get isHighlightedUpdate(){return this.args.isHighlighted||this.args.updateUrn===this.args.highlightedUpdateUrn||this.args.shareUrn===this.args.highlightedUpdateUrn}get showCommentBox(){return this.isFirstUpdate&&this.isHighlightedUpdate&&this.args.showCommentBox}get renderedHeightStyle(){return this.renderedHeight?(0,s.default)(`${this.renderedHeight}px`):""}onUpdateInsertedForViewState(e){this.args.saveScrollPosition&&this._handlePostUpdateInsertion(e)}updateExposed(){var e,t null===(e=(t=this.args).registerUpdate)||void 0===e||e.call(t) if(this.args.saveScrollPosition){var i const e=null===(i=this.router)||void 0===i?void 0:i.currentRouteName this.viewState.setExposedUpdate(this.args.updateUrn,e)}}wedgeHeightOnInsert(){this.args.saveScrollPosition&&this._wedgeHeight()}_handlePostUpdateInsertion(e){var t const i=null===(t=this.router)||void 0===t?void 0:t.currentRouteName,n=this.viewState.getInitialRenderStateForUpdate(this.args.updateUrn,i) n&&n.height?(0,u.mutateDOM)((()=>{this.isDestroying||this._restoreListItemState()})):(0,u.readDOM)((()=>{this.isDestroying||this._setRenderedState(e)}))}_restoreListItemState(){this.hasOccludedHeight&&(this.renderedHeight="")}_setRenderedState(e){if(d.default){var t const i=null===(t=this.router)||void 0===t?void 0:t.currentRouteName,n=window.getComputedStyle(e),r=e.offsetHeight+parseInt(n.marginTop,10)+parseInt(n.marginBottom,10) this.viewState.setInitialRenderStateForUpdate(this.args.updateUrn,i,{height:r})}}_wedgeHeight(){var e const t=null===(e=this.router)||void 0===e?void 0:e.currentRouteName,i=this.viewState.getInitialRenderStateForUpdate(this.args.updateUrn,t) i&&i.height&&(this.renderedHeight=i.height)}},w=(0,n.default)(E.prototype,"router",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,n.default)(E.prototype,"viewState",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,n.default)(E.prototype,"renderedHeight",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(E.prototype,"onUpdateInsertedForViewState",[c.action],Object.getOwnPropertyDescriptor(E.prototype,"onUpdateInsertedForViewState"),E.prototype),(0,n.default)(E.prototype,"updateExposed",[c.action],Object.getOwnPropertyDescriptor(E.prototype,"updateExposed"),E.prototype),(0,n.default)(E.prototype,"wedgeHeightOnInsert",[c.action],Object.getOwnPropertyDescriptor(E.prototype,"wedgeHeightOnInsert"),E.prototype),E))})) define("feed/components/update-list",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component/template-only","@ember/component","@ember/object","artdeco-button/components/artdeco-button","artdeco-loader/components/artdeco-loader","feed-utils/utils/client-sensor-constants","rsvp","@ember/helper","global-helpers/helpers/name","@ember/object/internals","@ember/service","@ember/destroyable","@ember/modifier","@ember/debug","feed-utils/utils/constants","@glimmer/tracking","global-helpers/helpers/and","artdeco-empty-state/components/artdeco-empty-state","@glimmer/component","international/utils/country-utils","@ember/render-modifiers/modifiers/did-update","feed/components/end-of-feed-dsa","global-helpers/helpers/eq","feed-shared/components/shimmer-loader","feed/components/feed-skip-link","scaffold-finite-scroll/components/finite-scroll","global-helpers/helpers/gt","feed/helpers/is-dash-update","feed/helpers/is-occlusion-enabled","feed/components/new-update-pill","global-helpers/helpers/not","ember-cli-pemberly-tracking/modifiers/rum-render-event","global-helpers/helpers/sum","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-interaction","feed/components/update-list-item"],(function(e,t,i,n,r,l,o,a,s,d,u,c,p,m,f,h,g,b,y,_,v,E,w,T,S,P,k,O,C,D,I,A,M,U,N,x,R,F,j,L,z,H){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var G,q,B,W,V,K,Y,Q,$,J,X,Z,ee,te,ie const ne=(0,a.setComponentTemplate)((0,l.createTemplateFactory)({id:"kAg0MrRq",block:'[[[1,"\\n "],[8,[32,0],null,null,null],[1,"\\n "],[8,[32,0],null,null,null],[1,"\\n "],[8,[32,0],null,null,null],[1,"\\n"]],[],false,[]]',moduleName:"feed/components/update-list.gjs",scope:()=>[D.default],isStrictMode:!0}),(0,o.default)("update-list","ThreeShimmers")) e.default=(0,a.setComponentTemplate)((0,l.createTemplateFactory)({id:"N57Xw5zg",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"relative"],[17,1],[4,[32,0],null,[["rumComponentId","elementId"],[[30,0,["rumComponentId"]],[30,0,["elementId"]]]]],[4,[32,1],[[30,0,["refreshData"]],[30,2]],null],[12],[1,"\\n "],[10,"h1"],[14,0,"visually-hidden"],[12],[1,"\\n "],[1,[28,[32,2],["feed_updates","feed/components/update-list"],null]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["newUpdateIndicator","isIndicatorVisible"]],[[[1," "],[8,[32,3],null,[["@pushDown"],[[30,3]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,4],null,[["@hotkeyContext","@isDisabled","@isHotkeyEnabled","@items","@onTrigger","@resultType","@rootMargin","@maxAutoloadsReflow"],["FEED",[28,[32,5],[[30,0,["canInfiniteScroll"]]],null],true,[30,0,["items"]],[30,0,["onInfiniteScroll"]],[28,[32,2],["feed_updates","feed/components/update-list"],null],"1500px",1]],[["content","loader","empty"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,5]],null]],null],null,[[[44,[[28,[32,6],[[30,6]],null]],[[[41,[28,[32,7],[[30,7],0],null],[[[1," "],[8,[32,8],null,null,null],[1,"\\n"]],[]],null],[1," "],[8,[30,4],null,[["@index"],[[30,7]]],[["default"],[[[[1,"\\n "],[8,[32,9],[[24,0,"relative"],[16,"data-finite-scroll-hotkey-item",[30,7]]],[["@channelId","@commentSort","@conversationStarters","@customModuleKey","@firstUpdateUrn","@highlightedUpdateUrn","@isDashEnabled","@isFirstUpdate","@isHighlighted","@model","@occlusionEnabled","@onRequestReload","@registerUpdate","@saveScrollPosition","@shareUrn","@shouldPaginateComments","@shouldTriggerUpdateAttachments","@showCommentBox","@updateIndex","@updatesPaginationPVETracker","@updateUrn"],[[30,9],[30,10],[52,[30,8],[30,6,["attachment","content","conversationStartersComponent"]],[30,6,["relatedContent","content"]]],[52,[28,[32,10],[[30,6,["metadata","backendUrn"]],[30,11]],null],[30,12],[52,[28,[32,11],[[30,0,["showHighlightedUpdate"]],[28,[32,10],[[30,7],0],null]],null],"highlighted-update-home-feed:desktop"]],[30,0,["firstUpdateUrn"]],[52,[30,0,["showHighlightedUpdate"]],[30,13,["metadata","backendUrn"]],[30,14]],[30,8],[28,[32,10],[[30,7],0],null],[28,[32,10],[[30,13,["metadata","backendUrn"]],[30,6,["metadata","backendUrn"]]],null],[30,6],[28,[32,12],[[30,0,["pageCount"]],[30,7],[30,15]],null],[30,16],[28,[32,13],[[30,0,["checkForDuplicateUpdate"]],[52,[30,8],[30,6,["metadata","backendUrn"]],[30,6,["updateMetadata","urn"]]]],null],[30,17],[52,[30,8],[30,6,["metadata","shareUrn"]],[30,6,["updateMetadata","shareUrn"]]],[30,0,["shouldPaginateComments"]],true,[30,18],[28,[32,14],[[30,7],1],null],[30,19],[52,[30,8],[30,6,["metadata","backendUrn"]],[30,6,["updateMetadata","urn"]]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[8]]],[1,"\\n"],[41,[28,[32,11],[[28,[32,10],[[30,5,["length"]],1],null],[30,13]],null],[[[1," "],[8,[32,15],null,null,null],[1,"\\n"]],[]],null],[1,"\\n"]],[6,7]],null],[1," "]],[4,5]],[[[1,"\\n"],[41,[30,13],[[[1," "],[8,[32,15],null,null,null],[1,"\\n"]],[]],[[[1," "],[8,[32,16],null,[["@size"],["small"]],null],[1,"\\n"]],[]]],[1," "]],[]],[[[1,"\\n"],[41,[51,[30,20]],[[[41,[30,13],[[[1," "],[8,[32,15],null,null,null],[1,"\\n"]],[]],[[[1," "],[8,[32,17],null,null,null],[1,"\\n"]],[]]]],[]],null],[1," "]],[]]]]],[1,"\\n"],[41,[30,0,["showErrorLoadingMainFeedButNotLychee"]],[[[1," "],[10,0],[14,0,"feed-update-list__error-performance-feed-wrapper"],[12],[1,"\\n "],[10,2],[14,0,"feed-update-list__error-performance-feed-description text-align-center"],[12],[1,[28,[32,2],["error_description_non_highlighted_update_feed","feed/components/update-list"],null]],[13],[1,"\\n "],[8,[32,18],[[4,[32,19],["click",[30,0,["onReloadFeedCTAClick"]]],null]],[["@class","@type","@color","@size","@text"],["feed-update-list__reload-performance-feed","secondary","muted",2,[28,[32,2],["error_page_action","feed/components/update-list"],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["showErrorLoadingHighlightedUpdateFeed"]],[[[1," "],[8,[32,20],null,[["@class","@headline","@message","@illustration","@actionText","@onButtonClick"],["pv5",[28,[32,2],["error_page_headline_highlighted_update_feed","feed/components/update-list"],null],[28,[32,2],["error_page_description_highlighted_update_feed","feed/components/update-list"],null],"empty-room",[28,[32,2],["error_page_action_highlighted_update_feed","feed/components/update-list"],null],[30,0,["onReloadFeedCTAClick"]]]],null],[1,"\\n"]],[]],[[[41,[30,0,["showErrorLoadingUpdates"]],[[[1," "],[8,[32,20],null,[["@class","@headline","@message","@illustration","@actionText","@onButtonClick"],["pv5",[28,[32,2],["error_page_headline","feed/components/update-list"],null],[28,[32,2],["error_page_description","feed/components/update-list"],null],"error-server",[28,[32,2],["error_page_action","feed/components/update-list"],null],[30,0,["onReloadFeedCTAClick"]]]],null],[1,"\\n"]],[]],[[[41,[30,0,["showEndOfFeedDSA"]],[[[1," "],[8,[32,21],null,[["@onButtonClick"],[[30,21]]],null],[1,"\\n"]],[]],[[[41,[30,0,["showReloadFeedButton"]],[[[1," "],[10,0],[14,0,"text-align-center"],[12],[1,"\\n "],[11,"button"],[24,0,"artdeco-button artdeco-button--secondary mv5 t-14 t-black t-normal"],[24,4,"button"],[4,[32,19],["click",[30,0,["onReloadFeedCTAClick"]]],null],[4,[32,22],["end_refresh"],null],[12],[1,"\\n "],[1,[28,[32,2],["i18n_reload_feed_button","feed/components/update-list"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]]],[]]]],[]]]],[]]],[1," "],[13],[1,"\\n "]],["&attrs","@model","@pushDown","ItemContainer","items","update","updateIndex","isDashUpdate","@channelId","@commentSort","@interestPickerFeedUpdateUrn","@interestPickerCustomModuleKey","@singleHighlightedUpdate","@highlightedUpdateUrn","@isFetchFewerUpdatesEnabled","@onRequestReload","@saveScrollPosition","@showCommentBox","@updatesPaginationPVETracker","@caughtErrorLoadingUpdates","@switchToRelevanceFeed"],false,["if","each","-track-array","let","unless"]]',moduleName:"feed/components/update-list.gjs",scope:()=>[F.default,k.default,L.default,x.default,A.default,R.default,U.default,M.default,I.default,H.default,C.default,w.default,N.default,m.fn,j.default,ne,u.default,D.default,d.default,y.on,T.default,O.default,z.default],isStrictMode:!0}),(G=(0,g.inject)("authentication@authenticated-user"),q=(0,g.inject)("client-sensor-web@client-sensor"),B=(0,g.inject)("lix"),W=(0,g.inject)("locale"),V=(0,g.inject)("new-update-indicator@new-update-indicator"),K=(0,g.inject)("rum"),Y=class extends S.default{get rumComponentId(){return this.args.rumComponentId||"render-update-list"}get firstUpdateUrn(){var e,t,i,n,r const l=this.args.singleHighlightedUpdate||(null===(e=this.args.model)||void 0===e||null===(t=e[0])||void 0===t||null===(i=t.elements)||void 0===i?void 0:i[0]) return(0,U.isDashUpdate)([l])?null==l||null===(n=l.metadata)||void 0===n?void 0:n.backendUrn:null==l||null===(r=l.updateMetadata)||void 0===r?void 0:r.urn}get memberName(){var e return(0,f.getName)(null===(e=this.authenticatedUser)||void 0===e?void 0:e.miniProfile)}get showReloadFeedButton(){let e=!1 void 0!==this.args.showReloadFeedButtonOverride?e=this.args.showReloadFeedButtonOverride:(this.caughtErrorLoadingSubsequentUpdates||this.args.endOfFeed)&&(e=!0) return e}get showEndOfFeedDSA(){return this.args.endOfFeed&&this.args.feedSortOrder===v.SortOrder.REV_CHRON&&P.default.isEuropeanLocale(this.locale)}get showErrorLoadingMainFeedButNotLychee(){return this.args.caughtErrorLoadingUpdates&&this.args.singleHighlightedUpdate&&!this.args.caughtErrorLoadingHighlightedUpdate}get showErrorLoadingHighlightedUpdateFeed(){return this.args.caughtErrorLoadingHighlightedFeedUpdates||this.args.caughtErrorLoadingUpdates&&this.args.caughtErrorLoadingHighlightedUpdate}get showErrorLoadingUpdates(){return this.args.caughtErrorLoadingUpdates&&!this.args.caughtErrorLoadingHighlightedFeedUpdates&&!this.args.caughtErrorLoadingHighlightedUpdate}get items(){const{model:e=[]}=this.args,t=e.flatMap((e=>[...e.elements??[]])) this.showHighlightedUpdate&&t.unshift(this.args.singleHighlightedUpdate) return t}get pageCount(){var e return((null===(e=this.args.model)||void 0===e?void 0:e.length)||1)-1}get showHighlightedUpdate(){return!this.args.isLoadingHighlightedUpdate&&this.args.singleHighlightedUpdate&&!this.args.changedFeedType}constructor(){super(...arguments);(0,t.default)(this,"authenticatedUser",Q,this);(0,t.default)(this,"clientSensor",$,this);(0,t.default)(this,"lix",J,this);(0,t.default)(this,"locale",X,this);(0,t.default)(this,"newUpdateIndicator",Z,this);(0,t.default)(this,"rum",ee,this);(0,i.default)(this,"elementId",(0,h.guidFor)(this));(0,i.default)(this,"registeredUpdateUrns",new Set);(0,t.default)(this,"canInfiniteScroll",te,this);(0,t.default)(this,"caughtErrorLoadingSubsequentUpdates",ie,this) this.newUpdateIndicator.on("refreshData",this,this.refreshData)}willDestroy(){super.willDestroy(...arguments) this.newUpdateIndicator.off("refreshData",this,this.refreshData)}onInfiniteScroll(){const e=this.rum.startPerfMeasurement("feed_updates"),t=(0,p.defer)() this.args.onNextPage(t) return t.promise.then((e=>{(0,b.isDestroying)(this)||e||(this.canInfiniteScroll=!1)})).catch((e=>{if((0,b.isDestroying)(this))throw e;(0,_.runInDebug)((()=>{console.error("Error occurred trying to fetch next page",e.stack)})) this.canInfiniteScroll=!1 this.caughtErrorLoadingSubsequentUpdates=!0})).finally((()=>{this.isDestroying||this.rum.endPerfMeasurement(e)}))}checkForDuplicateUpdate(e){const t=this.registeredUpdateUrns,i=this.lix.getTreatmentIsEnabled("voyager.client.staff") let n if(t.has(e))n=i?c.MainFeedClientSensorMetrics.DUPLICATE_FEED_UPDATE_COMPANY:c.MainFeedClientSensorMetrics.DUPLICATE_FEED_UPDATE else{t.add(e) n=i?c.MainFeedClientSensorMetrics.DISTINCT_FEED_UPDATE_COMPANY:c.MainFeedClientSensorMetrics.DISTINCT_FEED_UPDATE}this.clientSensor.incrementMetricCounter({groupName:c.CLIENT_SENSOR_GROUP_NAME,metricName:n})}onReloadFeedCTAClick(){var e,t this.canInfiniteScroll=!0 this._resetErrorState() null===(e=(t=this.args).onRequestReload)||void 0===e||e.call(t)}refreshData(){this.canInfiniteScroll||(this.canInfiniteScroll=!0) this._resetErrorState()}_resetErrorState(){this.caughtErrorLoadingSubsequentUpdates&&(this.caughtErrorLoadingSubsequentUpdates=!1)}},Q=(0,n.default)(Y.prototype,"authenticatedUser",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,n.default)(Y.prototype,"clientSensor",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,n.default)(Y.prototype,"lix",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,n.default)(Y.prototype,"locale",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,n.default)(Y.prototype,"newUpdateIndicator",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,n.default)(Y.prototype,"rum",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,n.default)(Y.prototype,"canInfiniteScroll",[E.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),ie=(0,n.default)(Y.prototype,"caughtErrorLoadingSubsequentUpdates",[E.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(Y.prototype,"onInfiniteScroll",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"onInfiniteScroll"),Y.prototype),(0,n.default)(Y.prototype,"checkForDuplicateUpdate",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"checkForDuplicateUpdate"),Y.prototype),(0,n.default)(Y.prototype,"onReloadFeedCTAClick",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"onReloadFeedCTAClick"),Y.prototype),(0,n.default)(Y.prototype,"refreshData",[s.action],Object.getOwnPropertyDescriptor(Y.prototype,"refreshData"),Y.prototype),Y))})) define("feed/components/x-collaborative-article-card",["exports","@ember/template-factory","@ember/component","ember-cli-pemberly-tracking/components/shared/external-link","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-i18n/helpers/t","artdeco-entity-pile/components/artdeco-entity-pile","ember-cli-pemberly-i18n/helpers/format-name","ember-vector-images/components/lazy-image","dash-interop-helper/helpers/get-graphql-value-with-dash-fallback","@glimmer/component","global-utils/utils/url","@ember/helper","global-helpers/helpers/gt"],(function(e,t,i,n,r,l,o,a,s,d,u,c,p,m){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const f=`${(0,c.getDomainUrl)()}/advice/`,h="?trk=SB" class g extends u.default{get fullUrl(){var e,t return`${f}${null===(e=this.args.article)||void 0===e||null===(t=e.article)||void 0===t?void 0:t.permalink}${h}`}}e.default=g;(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"pNjJTaaf",block:'[[[1,"\\n"],[1," "],[10,0],[14,0,"feed-x-collaborative-article-card"],[12],[1,"\\n "],[10,0],[14,0,"feed-x-collaborative-article-card__ctn"],[12],[1,"\\n "],[8,[32,0],[[24,0,"link-without-hover-visited"],[4,[32,3],["x_sharebox_navigate_x_skill_author_page"],null]],[["@href","@target"],[[28,[32,1],[[30,1,["skillPage","url"]],[32,2]],null],"_blank"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"feed-x-collaborative-article-card__skill-author t-bold t-12"],[12],[1,"\\n "],[1,[30,1,["skillPage","name"]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[32,0],[[24,0,"link-without-hover-visited"],[4,[32,3],["x_sharebox_navigate_x_article_page"],null]],[["@href","@target"],[[30,0,["fullUrl"]],"_blank"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,""],[12],[1,"\\n "],[10,0],[14,0,"feed-x-collaborative-article-card__article-title t-14 t-bold"],[12],[1,"\\n "],[1,[30,1,["article","title"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"display-flex align-items-center"],[12],[1,"\\n"],[41,[30,1,["recentContributors"]],[[[1," "],[8,[32,4],[[24,"tabindex","-1"]],[["@entities","@size","@stacked","@maxEntities","@shape","@class"],[[30,1,["recentContributors"]],1,true,3,"circle","feed-x-collaborative-article-card__facepile"]],[["default"],[[[[1,"\\n "],[8,[32,5],null,[["@image","@alt","@class","@title","@ghostType","@desiredWidth","@desiredHeight"],[[28,[32,6],[[30,2],"profilePicture.displayImageReferenceResolutionResult.vectorImage"],null],[28,[32,7],null,[["firstName","lastName","type"],[[30,2,["firstName"]],[30,2,["lastName"]],"full"]]],[29,["artdeco-entity-pile__image artdeco-entity-pile__image--",[30,3]," artdeco-entity-pile__image--0"]],[28,[32,7],null,[["firstName","lastName","type"],[[30,2,["firstName"]],[30,2,["lastName"]],"full"]]],"person",32,32]],null],[1,"\\n "]],[2,3]]]]],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"feed-x-collaborative-article-card__article-contribution-count inline-flex t-normal t-12"],[12],[1,"\\n"],[41,[28,[32,8],[[30,1,["totalContributionCount"]],0],null],[[[1," "],[1,[28,[32,9],["i18n_expert_contributions_count","feed/components/x-collaborative-article-card"],[["expertCount"],[[30,1,["totalContributionCount"]]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,9],["i18n_be_first_to_contribute","feed/components/x-collaborative-article-card"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[8,[32,0],[[24,0,"feed-x-collaborative-article-card__contribute-cta artdeco-button artdeco-button--secondary artdeco-button--1 display-flex align-self-center"],[4,[32,3],["x_sharebox_navigate_x_article_page"],null]],[["@href","@target"],[[30,0,["fullUrl"]],"_blank"]],[["default"],[[[[1,[28,[32,9],["i18n_contribute","feed/components/x-collaborative-article-card"],null]]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],["@article","entity","shape"],false,["if"]]',moduleName:"feed/components/x-collaborative-article-card.gjs",scope:()=>[n.default,p.concat,h,r.default,o.default,s.default,d.default,a.default,m.default,l.default],isStrictMode:!0}),g)})) define("feed/components/x-collaborative-articles-loading",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","artdeco-loader/components/artdeco-loader","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,i,n,r,l){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const o=(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"bqAdmFMF",block:'[[[1,"\\n"],[1," "],[10,0],[14,0,"feed-x-collaborative-articles__loader-ctn display-flex align-items-center"],[12],[1,"\\n "],[8,[32,0],null,[["@a11yText","@size","@class"],[[28,[32,1],["i18n_saving","feed/components/x-collaborative-articles-loading"],null],"small","feed-x-collaborative-articles__loader"]],null],[1,"\\n "],[13],[1,"\\n"]],[],false,[]]',moduleName:"feed/components/x-collaborative-articles-loading.gjs",scope:()=>[r.default,l.default],isStrictMode:!0}),(0,i.default)("x-collaborative-articles-loading","XCollaborativeArticlesLoading")) e.default=o})) define("feed/components/x-contribute-collaborative-articles-modal",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/classPrivateMethodGet","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/object","@glimmer/component","artdeco-modal/components/artdeco-modal","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/components/shared/external-link","ember-cli-pemberly-tracking/modifiers/track-interaction","global-utils/utils/url","@ember/service","artdeco-empty-state/components/artdeco-empty-state","ember-cli-pemberly-tracking/modifiers/track-render","@ember/helper","global-helpers/helpers/or","feed/components/x-collaborative-article-card","@ember/destroyable","@glimmer/tracking","feed/components/x-collaborative-articles-loading","graphql-queries/queries/feed/collaborative-article.graphql","@linkedin/ember-pem/utils/degradation-tracking-metadata","hue-web-icons/components/icon","@linkedin/ember-restli-graphql"],(function(e,t,i,n,r,l,o,a,s,d,u,c,p,m,f,h,g,b,y,_,v,E,w,T,S,P,k,O){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var C,D,I,A,M,U,N,x,R,F,j const L=`${(0,f.getDomainUrl)()}/pulse/topics/home?trk=SB` e.default=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"L4d0pd2z",block:'[[[1,"\\n"],[1," "],[8,[32,0],null,[["@isOpen","@size","@dismissModal","@modalClasses"],[true,"medium",[30,0,["dismissModal"]],"feed-x-contribute-collaborative-articles-modal"]],[["default"],[[[[1,"\\n "],[8,[30,1,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n "],[10,"h2"],[14,1,"feed-x-contribute-collaborative-article-modal-header t-20"],[15,0,[28,[32,1],["feed-x-contribute-collaborative-article-modal-header__",[52,[28,[32,2],[[30,0,["isLoading"]],[30,0,["hasError"]]],null],"empty-state"]],null]],[12],[1,"\\n"],[41,[51,[28,[32,2],[[30,0,["isLoading"]],[30,0,["hasError"]]],null]],[[[1," "],[1,[28,[32,3],["i18n_contribute_articles_modal_modal_header","feed/components/x-contribute-collaborative-articles-modal"],null]],[1,"\\n "],[10,2],[14,0,"feed-x-contribute-collaborative-article-modal-subtitle t-12"],[12],[1,"\\n "],[1,[28,[32,3],["i18n_x_contribute_articles_modal_subtitle_v2","feed/components/x-contribute-collaborative-articles-modal"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,1,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["isLoading"]],[[[1," "],[8,[32,4],null,null,null],[1,"\\n"]],[]],[[[41,[30,0,["hasError"]],[[[1," "],[10,0],[14,0,"error-message"],[12],[1,"\\n "],[8,[32,5],[[24,0,"mv5"],[4,[32,6],null,[["pageKey","routeName","currentRoute"],["flagship3_x_sharebox_contribute_collaborative_articles_error",[28,[32,7],[[53,"outletState"],"render.name"],null],[28,[32,7],[[53,"outletState"],"render"],null]]]]],[["@headline","@message","@illustration","@actionText","@onButtonClick"],[[28,[32,3],["i18n_feed_x_collaborative_articles_error_headline","feed/components/x-contribute-collaborative-articles-modal"],null],[28,[32,3],["i18n_feed_x_collaborative_articles_error_message","feed/components/x-contribute-collaborative-articles-modal"],null],"error-server",[28,[32,3],["i18n_feed_x_collaborative_articles_error_refresh_message","feed/components/x-contribute-collaborative-articles-modal"],null],[30,0,["reloadPage"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["collaborativeArticles"]],[[[1," "],[10,0],[14,0,"feed-x-contribute-collaborative-articles-modal__icon-legend-message-ctn"],[12],[1,"\\n "],[10,1],[14,0,"display-flex"],[12],[1,"\\n "],[8,[32,8],[[24,0,"feed-x-contribute-collaborative-articles-modal__icon"]],[["@name","@type","@size"],["signal-notice","system","small"]],null],[1,"\\n "],[13],[1,"\\n "],[10,2],[14,0,"feed-x-contribute-collaborative-articles-modal__legend-message t-12"],[12],[1,"\\n "],[1,[28,[32,3],["i18n_feed_x_collaborative_articles_legend_message_v2","feed/components/x-contribute-collaborative-articles-modal"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,4],[[28,[31,4],[[30,0,["collaborativeArticles"]]],null]],null],null,[[[1," "],[10,"li"],[14,0,"feed-x-contribute-collaborative-articles-modal__article"],[12],[8,[32,9],null,[["@article"],[[30,2]]],null],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[8,[32,10],[[24,0,"link-without-hover-visited feed-x-contribute-collaborative-articles-modal__footer"],[4,[32,12],["x_sharebox_navigate_x_article_hub"],null]],[["@href","@target"],[[32,11],"_blank"]],[["default"],[[[[1,[28,[32,3],["i18n_x_view_all_collaborative_articles","feed/components/x-contribute-collaborative-articles-modal"],null]]],[]]]]],[1,"\\n "]],[]],null]],[]]]],[]]],[1," "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "]],["modal","article"],false,["if","unless","-get-dynamic-var","each","-track-array"]]',moduleName:"feed/components/x-contribute-collaborative-articles-modal.gjs",scope:()=>[u.default,y.concat,_.default,c.default,T.default,g.default,b.default,y.get,k.default,v.default,p.default,L,m.default],isStrictMode:!0}),(C=(0,h.inject)("global-services@window"),D=(0,h.inject)("@linkedin/ember-restli-graphql@graphql"),I=(0,h.inject)("tracking"),A=(j=new WeakSet,class extends d.default{constructor(){super(...arguments) j.add(this);(0,t.default)(this,"windowService",M,this);(0,t.default)(this,"graphql",U,this);(0,t.default)(this,"tracking",N,this);(0,t.default)(this,"isLoading",x,this);(0,t.default)(this,"hasError",R,this);(0,t.default)(this,"collaborativeArticles",F,this) this.isLoading=!0;(0,n.default)(this,j,z).call(this)}dismissModal(){var e,t null===(e=(t=this.args).onDismiss)||void 0===e||e.call(t)}reloadPage(){this.windowService.getLocation().reload()}}),M=(0,r.default)(A.prototype,"windowService",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,r.default)(A.prototype,"graphql",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,r.default)(A.prototype,"tracking",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,r.default)(A.prototype,"isLoading",[w.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),R=(0,r.default)(A.prototype,"hasError",[w.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),F=(0,r.default)(A.prototype,"collaborativeArticles",[w.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),(0,r.default)(A.prototype,"dismissModal",[s.action],Object.getOwnPropertyDescriptor(A.prototype,"dismissModal"),A.prototype),(0,r.default)(A.prototype,"reloadPage",[s.action],Object.getOwnPropertyDescriptor(A.prototype,"reloadPage"),A.prototype),A)) function z(){this.graphql.executeQuery(S.default,{start:0,count:10},{adapterOptions:{degradations:[new P.default("get-x-sharebox-article-cards","failed-get-x-sharebox-article-cards",{productName:"Voyager - Collaborative Articles",clientSensorGroupName:"collaborative-articles",nonDegradedResponseCodes:[]})],degradedEntityIDsToRemove:[]}}).then((e=>{if(!(0,E.isDestroying)(this)){var t const i=null===(t=e.data.publishingDashCollaborativeArticleCardByViewer)||void 0===t?void 0:t.elements this.collaborativeArticles=[...i] this.tracking.firePageViewEvent("flagship3_x_sharebox_contribute_collaborative_articles")}})).catch((e=>{if((0,E.isDestroying)(this))throw e e&&e instanceof O.GraphQLQueryError&&(this.hasError=!0) throw e})).finally((()=>{(0,E.isDestroying)(this)||(this.isLoading=!1)}))}})) define("feed/components/x-skills-preference-modal",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/classPrivateMethodGet","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/helper","@ember/component","graphql-queries/mutations/profile/edit/profile-edit-save-form.graphql","@glimmer/tracking","form-builder-v2/utils/dash-form-utils-v2","@ember/object","@ember/service","@glimmer/component","artdeco-modal/components/artdeco-modal","ember-cli-pemberly-i18n/helpers/t","artdeco-loader/components/artdeco-loader","form-builder-v2/components/dash-form-element-group","artdeco-button/components/artdeco-button","global-helpers/helpers/not","@ember/modifier"],(function(e,t,i,n,r,l,o,a,s,d,u,c,p,m,f,h,g,b,y,_,v,E){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var w,T,S,P,k,O,C,D,I,A,M,U,N,x,R,F,j,L,z,H,G,q e.default=(0,s.setComponentTemplate)((0,o.createTemplateFactory)({id:"rXoywUDb",block:'[[[1,"\\n"],[1," "],[8,[32,0],null,[["@isOpen","@size","@dismissModal","@modalClasses"],[true,"medium",[30,0,["dismissModal"]],"feed-x-skills-preference-modal"]],[["default"],[[[[1,"\\n"],[41,[30,0,["isLoading"]],[[[1," "],[10,0],[14,0,"feed-x-skills-preference-modal__loader-scrim"],[12],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[8,[30,1,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n "],[10,"h2"],[14,1,"x-skills-preference-modal-header"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_x_skills_preferences_modal_header","feed/components/x-skills-preference-modal"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,1,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["isLoading"]],[[[1," "],[10,0],[14,0,"feed-x-skills-preference-modal__loader-wrapper"],[12],[1,"\\n "],[8,[32,2],null,[["@a11yText","@size"],[[28,[32,1],["i18n_saving","feed/components/x-skills-preference-modal"],null],"small"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["skillsPrefElementGroupViewModel"]],[[[1," "],[10,0],[12],[1,"\\n "],[8,[32,3],null,[["@viewModel"],[[30,0,["skillsPrefElementGroupViewModel"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "],[8,[30,1,["artdeco-modal-footer"]],null,[["@classNames"],["display-flex justify-flex-end"]],[["default"],[[[[1,"\\n"],[41,[30,0,["skillsPrefElementGroupViewModel"]],[[[1," "],[8,[32,4],[[4,[32,5],["click",[30,0,["dismissModal"]]],null]],[["@class","@type","@controlType","@text"],["mr2","secondary","button",[28,[32,1],["i18n_cancel","feed/components/x-skills-preference-modal"],null]]],null],[1,"\\n "],[8,[32,4],[[24,0,"x-skills-preference-modal__save-btn"],[4,[32,5],["click",[30,0,["onSave"]]],null]],[["@controlType","@text","@disabled"],["button",[28,[32,1],["i18n_save","feed/components/x-skills-preference-modal"],null],[28,[32,6],[[30,0,["changeDetected"]]],null]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "]],["modal"],false,["if"]]',moduleName:"feed/components/x-skills-preference-modal.gjs",scope:()=>[h.default,g.default,b.default,y.default,_.default,E.on,v.default],isStrictMode:!0}),(w=(0,m.inject)("tracking"),T=(0,m.inject)("i18n"),S=(0,m.inject)("profile-services@identity-store"),P=(0,m.inject)("form-builder-v2@dependency-handler"),k=(0,m.inject)("@linkedin/ember-restli-graphql@graphql"),O=(0,m.inject)("persistent-toast-manager@persistent-toast-manager"),C=(0,m.inject)("launchpad-services@launchpad-v2"),D=(H=new WeakSet,G=new WeakSet,q=new WeakSet,z=class extends f.default{constructor(){super(...arguments) q.add(this) G.add(this) H.add(this);(0,t.default)(this,"tracking",I,this);(0,t.default)(this,"i18n",A,this);(0,t.default)(this,"identityStore",M,this);(0,t.default)(this,"dependencyHandler",U,this);(0,t.default)(this,"graphql",N,this);(0,t.default)(this,"persistentToastManager",x,this);(0,t.default)(this,"launchpadV2",R,this);(0,t.default)(this,"skillsPrefElementGroupViewModel",F,this);(0,t.default)(this,"isSaving",j,this);(0,t.default)(this,"isFetchingFormData",L,this) this.isFetchingFormData=!0;(0,n.default)(this,H,B).call(this)}get isLoading(){return this.isSaving||this.isFetchingFormData}get changeDetected(){return!!this.skillsPrefElementGroupViewModel.updatedFormElementInputs.length}dismissModal(){var e,t null===(e=(t=this.args).onDismiss)||void 0===e||e.call(t)}onSave(){if(!this.isSaving){this.isSaving=!0;(0,n.default)(this,q,V).call(this).then((()=>{if(!this.isDestroying){this.launchpadV2.getLaunchpadData("FEED") const e=(0,n.default)(this,G,W).call(this,"i18n_x_skills_preferences_modal_success_message") this.persistentToastManager.success({message:e}) this.dismissModal()}})).catch((e=>{if(this.isDestroying)throw e const t=(0,n.default)(this,G,W).call(this,"i18n_x_skills_preferences_modal_error_message") this.persistentToastManager.error({message:t}) throw e})).finally((()=>{this.isDestroying||(this.isSaving=!1)}))}}}),I=(0,r.default)(D.prototype,"tracking",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,r.default)(D.prototype,"i18n",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,r.default)(D.prototype,"identityStore",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,r.default)(D.prototype,"dependencyHandler",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,r.default)(D.prototype,"graphql",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,r.default)(D.prototype,"persistentToastManager",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,r.default)(D.prototype,"launchpadV2",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,r.default)(D.prototype,"skillsPrefElementGroupViewModel",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=(0,r.default)(D.prototype,"isSaving",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),L=(0,r.default)(D.prototype,"isFetchingFormData",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,r.default)(D.prototype,"dismissModal",[p.action],Object.getOwnPropertyDescriptor(D.prototype,"dismissModal"),D.prototype),(0,r.default)(D.prototype,"onSave",[p.action],Object.getOwnPropertyDescriptor(D.prototype,"onSave"),D.prototype),D)) function B(){this.identityStore.queryURL("com.linkedin.voyager.dash.identity.profile.forms.ProfileEditFormPage","",{reload:!0,params:{q:"profileEditFormType",recipe:"com.linkedin.voyager.dash.deco.identity.profile.ProfileEditFormPage",profileEditFormType:"SKILLS_PREFERENCE_FOR_COLLABORATIVE_ARTICLES"}}).then((e=>{if(!this.isDestroying){const t=e.elements.filter((e=>{var t,i return!(null===(t=e.profileForm)||void 0===t||null===(i=t.basicProfileForm)||void 0===i||!i.formElementGroups)})).map((e=>{var t,i return null===(t=e.profileForm)||void 0===t||null===(i=t.basicProfileForm)||void 0===i?void 0:i.formElementGroups}))[0]||[] if(t[0]){this.skillsPrefElementGroupViewModel=new c.FormElementGroupViewModel(t[0],this.dependencyHandler) this.tracking.firePageViewEvent("d_flagship3_article_skills_preference")}}})).finally((()=>{this.isDestroying||(this.isFetchingFormData=!1)}))}function W(e,t){return this.i18n.lookupTranslation(z,e)([t])}function V(){const e={formElementInputs:this.skillsPrefElementGroupViewModel.updatedFormElementInputs} return this.graphql.executeQuery(d.default,e,{reload:!0})}})) define("feed/config/environment",["exports"],(function(e){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 let t try{const e="feed/config/environment",i=document.querySelector('meta[name="'+e+'"]').getAttribute("content") t=JSON.parse(unescape(i))}catch(e){t={sparkPlaceholders:{includeHashes:["assets/media-player.amd.js"]}}}e.default=t})) define("feed/controllers/hashtag-feed/by-id",["exports","feed/controllers/hashtag-feed/hashtag-base"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 class i extends t.default{}e.default=i})) define("feed/controllers/hashtag-feed/by-keyword",["exports","@babel/runtime/helpers/esm/defineProperty","feed/controllers/hashtag-feed/hashtag-base"],(function(e,t,i){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 class n extends i.default{constructor(){super(...arguments);(0,t.default)(this,"queryParams",["keywords"]);(0,t.default)(this,"keywords",null)}}e.default=n})) define("feed/controllers/hashtag-feed/hashtag-base",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/controller","@ember/object","@ember/service","global-utils/utils/api-compat"],(function(e,t,i,n,r,l,o,a,s){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var d,u,c e.default=(d=(0,a.inject)("feed@content-topic-feed"),u=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"contentTopicFeedService",c,this)}getFollowImpressionEvent(){var e return this.contentTopicFeedService.getFollowImpressionEvent(null===(e=this.model)||void 0===e?void 0:e.contentTopicData)}onPrependRecordToFeed(e){const{updateCollections:t}=this.model let i=e if("com.linkedin.voyager.contentcreation.ShareStatus"===(0,s.classNameOf)(e)){var n i=e.updateV2||(null===(n=e.update)||void 0===n?void 0:n.value)}const r=(0,s.classNameOf)(i);("com.linkedin.voyager.feed.render.UpdateV2"===r||"com.linkedin.voyager.dash.feed.Update"===r)&&t[0].elements.unshift(i)}},c=(0,n.default)(u.prototype,"contentTopicFeedService",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(u.prototype,"getFollowImpressionEvent",[o.action],Object.getOwnPropertyDescriptor(u.prototype,"getFollowImpressionEvent"),u.prototype),(0,n.default)(u.prototype,"onPrependRecordToFeed",[o.action],Object.getOwnPropertyDescriptor(u.prototype,"onPrependRecordToFeed"),u.prototype),u)})) define("feed/controllers/index",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/object","@ember/service","@ember/destroyable","@ember/utils","lego/utils/constants","@glimmer/tracking","sharing-entry/utils/query-param-utils","@ember/controller","international/utils/country-utils","feed-utils/utils/constants","feed-utils/utils/client-sensor-constants"],(function(e,t,i,n,r,l,o,a,s,d,u,c,p,m,f,h){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var g,b,y,_,v,E,w,T,S,P,k,O,C,D,I,A,M,U,N,x,R,F,j,L,z,H,G,q,B,W,V,K,Y,Q e.default=(g=(0,o.inject)("app-aware-link@custom-navigation-context-router"),b=(0,o.inject)("client-sensor-web@client-sensor"),y=(0,o.inject)("tracking"),_=(0,o.inject)("launchpad-services@launchpad-v2"),v=(0,o.inject)("lix"),E=(0,o.inject)("new-update-indicator@new-update-indicator"),w=(0,o.inject)("lego@tracking"),T=(0,o.inject)("locale"),S=class extends p.default{get organizationsToShow(){var e const t=null===(e=this.model.pagesAdminOrganization)||void 0===e?void 0:e.elements return(null==t?void 0:t.length)>3?t.slice(0,3):t}get isLaunchpadV2Shown(){return this.launc