зеркало из
https://github.com/jlind0/multiplex.studio.web.git
synced 2025-10-28 20:54:22 +02:00
687 строки
128 KiB
Plaintext
687 строки
128 KiB
Plaintext
define.alias("@glimmer/component/-private/ember-component-manager","notifications/component-managers/glimmer")
|
|
define("notifications/components/-dynamic-element-alt",["exports","@glimmer/component"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class n extends t.default{}e.default=n}))
|
|
define("notifications/components/-dynamic-element",["exports","@glimmer/component"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class n extends t.default{}e.default=n}))
|
|
define.alias("helpcenter-in-product-ember/components/announcement-list-view","notifications/components/announcement-list-view")
|
|
define.alias("helpcenter-in-product-ember/components/announcement-view","notifications/components/announcement-view")
|
|
define.alias("artdeco-button/components/artdeco-button","notifications/components/artdeco-button")
|
|
define.alias("artdeco-datepicker/components/artdeco-calendar","notifications/components/artdeco-calendar")
|
|
define.alias("artdeco-card/components/artdeco-card-image","notifications/components/artdeco-card-image")
|
|
define.alias("artdeco-card/components/artdeco-card","notifications/components/artdeco-card")
|
|
define.alias("artdeco-carousel/components/artdeco-carousel-item","notifications/components/artdeco-carousel-item")
|
|
define.alias("artdeco-carousel/components/artdeco-carousel-slider","notifications/components/artdeco-carousel-slider")
|
|
define.alias("artdeco-carousel/components/artdeco-carousel-title","notifications/components/artdeco-carousel-title")
|
|
define.alias("artdeco-carousel/components/artdeco-carousel","notifications/components/artdeco-carousel")
|
|
define.alias("artdeco-completeness-meter-linear/components/artdeco-completeness-meter-linear","notifications/components/artdeco-completeness-meter-linear")
|
|
define.alias("artdeco-modal/components/artdeco-confirmation-dialog","notifications/components/artdeco-confirmation-dialog")
|
|
define.alias("artdeco-datepicker/components/artdeco-datepicker-embedded-cal","notifications/components/artdeco-datepicker-embedded-cal")
|
|
define.alias("artdeco-datepicker/components/artdeco-datepicker","notifications/components/artdeco-datepicker")
|
|
define.alias("artdeco-datepicker/components/artdeco-daterange-embedded-cal","notifications/components/artdeco-daterange-embedded-cal")
|
|
define.alias("artdeco-datepicker/components/artdeco-daterange","notifications/components/artdeco-daterange")
|
|
define.alias("artdeco-dropdown/components/artdeco-dropdown-content","notifications/components/artdeco-dropdown-content")
|
|
define.alias("artdeco-dropdown/components/artdeco-dropdown-header","notifications/components/artdeco-dropdown-header")
|
|
define.alias("artdeco-dropdown/components/artdeco-dropdown-item","notifications/components/artdeco-dropdown-item")
|
|
define.alias("artdeco-dropdown/components/artdeco-dropdown-trigger","notifications/components/artdeco-dropdown-trigger")
|
|
define.alias("artdeco-dropdown/components/artdeco-dropdown","notifications/components/artdeco-dropdown")
|
|
define.alias("artdeco-empty-state/components/artdeco-empty-state","notifications/components/artdeco-empty-state")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-badge","notifications/components/artdeco-entity-lockup-badge")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-caption","notifications/components/artdeco-entity-lockup-caption")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-content","notifications/components/artdeco-entity-lockup-content")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-image","notifications/components/artdeco-entity-lockup-image")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-metadata","notifications/components/artdeco-entity-lockup-metadata")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-subtitle","notifications/components/artdeco-entity-lockup-subtitle")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-title","notifications/components/artdeco-entity-lockup-title")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup","notifications/components/artdeco-entity-lockup")
|
|
define.alias("artdeco-entity-pile/components/artdeco-entity-pile","notifications/components/artdeco-entity-pile")
|
|
define.alias("artdeco-hoverables/components/artdeco-hoverable-content","notifications/components/artdeco-hoverable-content")
|
|
define.alias("artdeco-hoverables/components/artdeco-hoverable-trigger","notifications/components/artdeco-hoverable-trigger")
|
|
define.alias("artdeco-inline-feedback/components/artdeco-inline-feedback","notifications/components/artdeco-inline-feedback")
|
|
define.alias("artdeco-loader/components/artdeco-loader","notifications/components/artdeco-loader")
|
|
define.alias("artdeco-modal/components/container","notifications/components/artdeco-modal-container")
|
|
define.alias("artdeco-modal/components/artdeco-modal-content","notifications/components/artdeco-modal-content")
|
|
define.alias("artdeco-modal/components/artdeco-modal-footer","notifications/components/artdeco-modal-footer")
|
|
define.alias("artdeco-modal/components/artdeco-modal-header","notifications/components/artdeco-modal-header")
|
|
define.alias("artdeco-modal/components/artdeco-modal","notifications/components/artdeco-modal")
|
|
define.alias("artdeco-notification-badge/components/artdeco-notification-badge","notifications/components/artdeco-notification-badge")
|
|
define.alias("artdeco-pagination/components/artdeco-pagination-ellipsis","notifications/components/artdeco-pagination-ellipsis")
|
|
define.alias("artdeco-pagination/components/artdeco-pagination-indicator","notifications/components/artdeco-pagination-indicator")
|
|
define.alias("artdeco-pagination/components/artdeco-pagination","notifications/components/artdeco-pagination")
|
|
define.alias("artdeco-pill/components/artdeco-pill-choice-group","notifications/components/artdeco-pill-choice-group")
|
|
define.alias("artdeco-pill/components/artdeco-pill-choice","notifications/components/artdeco-pill-choice")
|
|
define.alias("artdeco-pill/components/artdeco-pill-dismiss","notifications/components/artdeco-pill-dismiss")
|
|
define.alias("artdeco-pill/components/artdeco-pill-input","notifications/components/artdeco-pill-input")
|
|
define.alias("artdeco-pill/components/artdeco-pill-link","notifications/components/artdeco-pill-link")
|
|
define.alias("artdeco-pill/components/artdeco-pill-toggle","notifications/components/artdeco-pill-toggle")
|
|
define.alias("artdeco-slider/components/artdeco-slider","notifications/components/artdeco-slider")
|
|
define.alias("ember-cli-artdeco-tabs/components/artdeco-spotlight-tab","notifications/components/artdeco-spotlight-tab")
|
|
define.alias("ember-cli-artdeco-tabs/components/artdeco-spotlight-tablist","notifications/components/artdeco-spotlight-tablist")
|
|
define.alias("ember-cli-artdeco-tabs/components/artdeco-tab","notifications/components/artdeco-tab")
|
|
define.alias("ember-cli-artdeco-tabs/components/artdeco-tablist","notifications/components/artdeco-tablist")
|
|
define.alias("ember-cli-artdeco-tabs/components/artdeco-tabpanel","notifications/components/artdeco-tabpanel")
|
|
define.alias("ember-cli-artdeco-tabs/components/artdeco-tabs","notifications/components/artdeco-tabs")
|
|
define.alias("artdeco-text-input/components/artdeco-text-input-multi","notifications/components/artdeco-text-input-multi")
|
|
define.alias("artdeco-text-input/components/artdeco-text-input-single","notifications/components/artdeco-text-input-single")
|
|
define.alias("artdeco-text-input/components/artdeco-text-input","notifications/components/artdeco-text-input")
|
|
define.alias("artdeco-toast/components/artdeco-toast-item","notifications/components/artdeco-toast-item")
|
|
define.alias("artdeco-toast/components/artdeco-toasts","notifications/components/artdeco-toasts")
|
|
define.alias("artdeco-toggle/components/artdeco-toggle","notifications/components/artdeco-toggle")
|
|
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-input","notifications/components/artdeco-typeahead-input")
|
|
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-result","notifications/components/artdeco-typeahead-result")
|
|
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-results-list","notifications/components/artdeco-typeahead-results-list")
|
|
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead","notifications/components/artdeco-typeahead")
|
|
define.alias("helpcenter-in-product-ember/components/article-link","notifications/components/article-link")
|
|
define.alias("helpcenter-in-product-ember/components/article-view","notifications/components/article-view")
|
|
define.alias("ember-semaphore/components/block-profile","notifications/components/block-profile")
|
|
define.alias("ember-semaphore/components/cleared-content-modal-v2","notifications/components/cleared-content-modal-v2")
|
|
define.alias("ember-semaphore/components/cleared-content-modal","notifications/components/cleared-content-modal")
|
|
define.alias("helpcenter-in-product-ember/components/contextual-help","notifications/components/contextual-help")
|
|
define.alias("ember-vector-images/components/custom-image","notifications/components/custom-image")
|
|
define("notifications/components/draggable-object-target",["exports","ember-drag-drop/components/draggable-object-target"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=t.default}))
|
|
define("notifications/components/draggable-object",["exports","ember-drag-drop/components/draggable-object"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=t.default}))
|
|
define.alias("ember-cloud-filepicker/components/dropbox-file-picker","notifications/components/dropbox-file-picker")
|
|
define.alias("ember-semaphore/components/ember-semaphore","notifications/components/ember-semaphore")
|
|
define.alias("ember-wormhole/components/ember-wormhole","notifications/components/ember-wormhole")
|
|
define.alias("helpcenter-in-product-ember/components/external-link","notifications/components/external-link")
|
|
define.alias("helpcenter-in-product-ember/components/feature-launcher","notifications/components/feature-launcher")
|
|
define.alias("ember-cloud-filepicker/components/file-picker","notifications/components/file-picker")
|
|
define.alias("ember-finite-scroll/components/finite-scroll","notifications/components/finite-scroll")
|
|
define.alias("ember-cloud-filepicker/components/google-drive-file-picker","notifications/components/google-drive-file-picker")
|
|
define.alias("helpcenter-in-product-ember/components/header","notifications/components/header")
|
|
define.alias("ember-highcharts/components/high-charts","notifications/components/high-charts")
|
|
define.alias("image-editor/components/image-editor-loader","notifications/components/image-editor-loader")
|
|
define.alias("image-editor/components/image-editor","notifications/components/image-editor")
|
|
define.alias("helpcenter-in-product-ember/components/iph-widget-container","notifications/components/iph-widget-container")
|
|
define.alias("helpcenter-in-product-ember/components/iph-widget-trigger","notifications/components/iph-widget-trigger")
|
|
define.alias("helpcenter-in-product-ember/components/iph-widget","notifications/components/iph-widget")
|
|
define.alias("ember-finite-scroll/components/item-container","notifications/components/item-container")
|
|
define("notifications/components/lazy-ad-renderer",["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-app-scheduler","@glimmer/component"],(function(e,t,n,i,o,a,r,l,s,c){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var d,u
|
|
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"mU8bSJDV",block:'[[[1,"\\n "],[18,1,[[30,0,["renderAdSection"]]]],[1,"\\n "]],["&default"],false,["yield"]]',moduleName:"notifications/components/lazy-ad-renderer.gjs",isStrictMode:!0}),(d=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"renderAdSection",u,this);(0,s.whenRouteIdle)().then((()=>{this.isDestroying||(this.renderAdSection=!0)}))}},u=(0,i.default)(d.prototype,"renderAdSection",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),d))}))
|
|
define.alias("ember-vector-images/components/lazy-background","notifications/components/lazy-background")
|
|
define.alias("ember-vector-images/components/lazy-image","notifications/components/lazy-image")
|
|
define.alias("ember-line-clamp/components/line-clamp","notifications/components/line-clamp")
|
|
define.alias("artdeco-icons-web/components/linkedin-logo","notifications/components/linkedin-logo")
|
|
define("notifications/components/loaders/nt-aggregate-landing-skeleton",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","notifications/components/loaders/nt-card-list-skeleton","scaffold-skeleton/components/bones/container","scaffold-skeleton/components/bones/text","scaffold-skeleton/components/bones/icon"],(function(e,t,n,i,o,a,r,l){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const s=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"spPuZqHJ",block:'[[[1,"\\n "],[8,[32,0],null,[["@numCards"],[8]],[["header"],[[[[1,"\\n "],[8,[32,1],[[24,0,"nt-aggregate-landing-skeleton__header"]],[["@gap"],["small"]],[["default"],[[[[1,"\\n "],[8,[32,2],null,null,null],[1,"\\n "],[8,[32,3],[[24,0,"nt-aggregate-landing-skeleton__text--height-medium"]],[["@size"],["medium"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[],false,[]]',moduleName:"notifications/components/loaders/nt-aggregate-landing-skeleton.gts",scope:()=>[o.default,a.default,l.default,r.default],isStrictMode:!0}),(0,n.default)("nt-aggregate-landing-skeleton","NtAggregateLandingSkeleton"))
|
|
e.default=s}))
|
|
define("notifications/components/loaders/nt-card-list-skeleton",["exports","@ember/template-factory","@ember/component","artdeco-card/components/artdeco-card","scaffold-skeleton/components/skeleton","notifications/components/loaders/nt-card-skeleton","@glimmer/component","ember-cli-pemberly-i18n/helpers/t","global-helpers/helpers/is-even"],(function(e,t,n,i,o,a,r,l,s){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class c extends r.default{get numCardsArray(){return new Array(this.args.numCards).fill(void 0)}}e.default=c;(0,n.setComponentTemplate)((0,t.createTemplateFactory)({id:"EgHbwYiv",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[17,1]],null,[["default"],[[[[1,"\\n "],[18,4,null],[1,"\\n\\n "],[8,[32,1],null,[["@a11yText"],[[28,[32,2],["i18n_loading_main_card_list","notifications/components/loaders/nt-card-list-skeleton"],null]]],[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["numCardsArray"]]],null]],null],null,[[[1," "],[8,[32,3],null,[["@type"],[[52,[28,[32,4],[[30,3]],null],"circle","square"]]],null],[1,"\\n"]],[2,3]],null],[1," "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","unusedData","index","&header"],false,["yield","each","-track-array","if"]]',moduleName:"notifications/components/loaders/nt-card-list-skeleton.gts",scope:()=>[i.default,o.default,l.default,a.default,s.default],isStrictMode:!0}),c)}))
|
|
define("notifications/components/loaders/nt-card-skeleton",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","scaffold-skeleton/components/bones/container","scaffold-skeleton/components/bones/entity","scaffold-skeleton/components/bones/icon","scaffold-skeleton/components/bones/text"],(function(e,t,n,i,o,a,r,l){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const s=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"6b02e5I+",block:'[[[1,"\\n "],[10,"article"],[14,0,"nt-card-skeleton display-flex flex-row p4"],[12],[1,"\\n "],[8,[32,0],null,[["@type","@size"],[[30,1],"large"]],null],[1,"\\n "],[8,[32,1],[[24,0,"ml2 mr4 align-self-center"]],[["@gap"],["small"]],[["default"],[[[[1,"\\n "],[8,[32,2],null,[["@size"],["large"]],null],[1,"\\n "],[8,[32,2],null,[["@size"],["medium"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[10,0],[14,0,"align-self-center"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mb2"]],[["@size"],["full"]],null],[1,"\\n "],[8,[32,3],null,null,null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"align-self-center"],[12],[13],[1,"\\n "],[13],[1,"\\n"]],["@type"],false,[]]',moduleName:"notifications/components/loaders/nt-card-skeleton.gts",scope:()=>[a.default,o.default,l.default,r.default],isStrictMode:!0}),(0,n.default)("nt-card-skeleton","NtCardSkeleton"))
|
|
e.default=s}))
|
|
define("notifications/components/loaders/nt-homepage-skeleton",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","scaffold-layout/components/layout","scaffold-skeleton/components/shared/global/ad","notifications/components/loaders/nt-left-subnav-skeleton","notifications/components/loaders/nt-card-list-skeleton","notifications/components/loaders/nt-pill-list-skeleton","@ember/helper","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,n,i,o,a,r,l,s,c,d){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const u=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"rLSQV+Yt",block:'[[[1,"\\n"],[1," "],[8,[32,0],null,[["@template","@aria-label"],[[32,1,["SidebarMainAside"]],[28,[32,2],null,[["sidebar","main","aside"],[[28,[32,3],["i18n_aria_label_left_sidebar","notifications/components/loaders/nt-homepage-skeleton"],null],[28,[32,3],["i18n_aria_label_main_content","notifications/components/loaders/nt-homepage-skeleton"],null],[28,[32,3],["i18n_aria_label_right_sidebar","notifications/components/loaders/nt-homepage-skeleton"],null]]]]]],[["sidebar","main","aside"],[[[[1,"\\n "],[8,[32,4],null,null,null],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,5],null,null,null],[1,"\\n "],[8,[32,6],null,[["@numCards"],[8]],null],[1,"\\n "]],[]],[[[1,"\\n "],[8,[32,7],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n"]],[],false,[]]',moduleName:"notifications/components/loaders/nt-homepage-skeleton.gts",scope:()=>[o.default,o.Template,c.hash,d.default,r.default,s.default,l.default,a.default],isStrictMode:!0}),(0,n.default)("nt-homepage-skeleton","NtHomepageSkeleton"))
|
|
e.default=u}))
|
|
define("notifications/components/loaders/nt-left-subnav-skeleton",["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/component","artdeco-card/components/artdeco-card","scaffold-skeleton/components/skeleton","ember-cli-pemberly-i18n/helpers/t","@ember/service","global-utils/utils/is-browser"],(function(e,t,n,i,o,a,r,l,s,c,d,u,p){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var f,m,b
|
|
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"CRoqdl5L",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[24,0,"nt-left-subnav-skeleton__container"],[17,1]],null,[["default"],[[[[1,"\\n "],[8,[32,1],[[24,0,"full-height"]],[["@a11yText"],[[28,[32,2],["i18n_loading_left_subnav","notifications/components/loaders/nt-left-subnav-skeleton"],null]]],[["default"],[[[[1,"\\n"],[41,[30,0,["isReflowBreakpointNone"]],[[[1," "],[8,[30,2,["Container"]],[[24,0,"full-height align-items-center"]],null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"nt-left-subnav-skeleton__reflow-text-container"],[12],[1,"\\n "],[8,[30,2,["Text"]],[[24,0,"nt-left-subnav-skeleton__text--height-medium nt-left-subnav-skeleton__left-reflow-text"]],[["@align","@size"],["left","large"]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"nt-left-subnav-skeleton__reflow-text-container"],[12],[1,"\\n "],[8,[30,2,["Text"]],[[24,0,"nt-left-subnav-skeleton__text--height-medium"]],[["@align","@size"],["right","small"]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[30,2,["Container"]],[[24,0,"flex-column"]],[["@gap"],["medium"]],[["default"],[[[[1,"\\n "],[8,[30,2,["Text"]],[[24,0,"nt-left-subnav-skeleton__text--height-medium"]],[["@size"],["large"]],null],[1,"\\n "],[8,[30,2,["Text"]],[[24,0,"nt-left-subnav-skeleton__text--height-medium"]],[["@size"],["medium"]],null],[1,"\\n "],[8,[30,2,["Text"]],[[24,0,"nt-left-subnav-skeleton__text--height-medium"]],[["@size"],["small"]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1," "]],[2]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","Bones"],false,["if"]]',moduleName:"notifications/components/loaders/nt-left-subnav-skeleton.gts",scope:()=>[s.default,c.default,d.default],isStrictMode:!0}),(f=(0,u.inject)("scaffold-layout@reflow"),m=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"reflow",b,this)}get isReflowBreakpointNone(){return!!p.default&&"none"===this.reflow.currentBreakpoint}},b=(0,i.default)(m.prototype,"reflow",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m))}))
|
|
define("notifications/components/loaders/nt-pill-list-skeleton",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","artdeco-card/components/artdeco-card","scaffold-skeleton/components/skeleton","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,n,i,o,a,r){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const l=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"KZVGvPiQ",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[17,1]],null,[["default"],[[[[1,"\\n "],[8,[32,1],null,[["@a11yText"],[[28,[32,2],["i18n_loading_pill_list","notifications/components/loaders/nt-pill-list-skeleton"],null]]],[["default"],[[[[1,"\\n "],[8,[30,2,["Container"]],[[24,0,"mb3 p4"]],[["@gap"],["medium"]],[["default"],[[[[1,"\\n "],[8,[30,2,["Pill"]],null,null,null],[1,"\\n "],[8,[30,2,["Pill"]],null,null,null],[1,"\\n "],[8,[30,2,["Pill"]],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],["&attrs","Bones"],false,[]]',moduleName:"notifications/components/loaders/nt-pill-list-skeleton.gts",scope:()=>[o.default,a.default,r.default],isStrictMode:!0}),(0,n.default)("nt-pill-list-skeleton","NtPillListSkeleton"))
|
|
e.default=l}))
|
|
define.alias("ember-cloud-filepicker/components/local-file-input","notifications/components/local-file-input")
|
|
define.alias("ember-media-player/components/media-player","notifications/components/media-player")
|
|
define("notifications/components/nt-banner",["exports","@ember/template-factory","@ember/helper","@ember/component/template-only","@ember/component","app-aware-link/components/app-aware-link","ember-cli-pemberly-tracking/modifiers/track-interaction","image-view-model/components/image-view-model","text-view-model/components/text-view-model-v2","hue-web-icons/components/icon"],(function(e,t,n,i,o,a,r,l,s,c){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const d=(0,o.setComponentTemplate)((0,t.createTemplateFactory)({id:"4SrGyBgX",block:'[[[1,"\\n "],[11,0],[17,1],[12],[1,"\\n "],[8,[32,0],[[24,0,"nt-banner__link display-flex flex-row"],[4,[32,1],["nav_notif_banner"],null]],[["@href"],[[30,2,["targetUrl"]]]],[["default"],[[[[1,"\\n"],[41,[30,2,["image"]],[[[1," "],[8,[32,2],[[24,0,"nt-banner__img"]],[["@images","@entitySize"],[[30,2,["image"]],4]],null],[1,"\\n "],[10,0],[14,0,"mt1 full-width"],[12],[1,"\\n "],[10,"h5"],[14,0,"t-12 t-bold mv1"],[12],[1,"\\n "],[8,[32,3],null,[["@tvm"],[[30,2,["headline"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,2],[14,0,"t-14"],[12],[1,"\\n "],[8,[32,3],null,[["@tvm"],[[30,2,["description"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"nt-banner__one-liner"],[12],[1,"\\n "],[10,"h5"],[14,0,"t-12 t-bold mb1 mr1"],[12],[1,"\\n "],[8,[32,3],null,[["@tvm"],[[30,2,["headline"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,2],[14,0,"t-12 t-bold t-black--light mb1"],[12],[1,"\\n "],[8,[32,3],null,[["@tvm"],[[30,2,["description"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[10,1],[14,0,"nt-banner__icon"],[12],[1,"\\n "],[8,[32,4],null,[["@type","@size","@name"],["system","small","chevron-right"]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],["&attrs","@banner"],false,["if"]]',moduleName:"notifications/components/nt-banner.gjs",scope:()=>[a.default,r.default,l.default,s.default,c.default],isStrictMode:!0}),(0,i.default)("nt-banner","NtBanner"))
|
|
e.default=d}))
|
|
define("notifications/components/nt-empty-state",["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","nt-card/breadcrumbs/me-notification-action-breadcrumb","nt-card/breadcrumbs/me-notification-impression-breadcrumb","@ember/object","@glimmer/component","@ember/service","global-helpers/helpers/eq","ember-cli-pemberly-tracking/modifiers/track-impression","ember-cli-pemberly-tracking/modifiers/track-view","artdeco-empty-state/components/artdeco-empty-state","global-helpers/helpers/and","app-aware-link/components/app-aware-link","ember-cli-pemberly-tracking/modifiers/track-interaction","text-view-model/components/text-view-model-v2","image-view-model/components/image-view-model"],(function(e,t,n,i,o,a,r,l,s,c,d,u,p,f,m,b,g,h,y,v,k,_){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var w,P,T
|
|
e.default=(0,l.setComponentTemplate)((0,a.createTemplateFactory)({id:"E8t/OU8v",block:'[[[1,"\\n "],[11,"article"],[16,0,[29,["nt-empty-state__container\\n ",[52,[28,[32,0],[[30,1],"EXPANDED"],null],"nt-empty-state__container--expanded","nt-empty-state__container--collapsed"]]]],[17,2],[24,"data-view-name","notification-empty-state"],[4,[32,1],[[30,0,["fireImpressionEvent"]]],[["genericTrackingLixKey","routeName","currentRoute"],["voyager.web.notifications-track-view-impression",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[4,[32,3],null,[["viewName","view","getImpressionBreadcrumbs","genericTrackingLixKey","routeName","currentRoute"],["notification-empty-state",[30,0],[30,0,["getBreadcrumbs"]],"voyager.web.notifications-track-view-impression",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n"],[41,[28,[32,0],[[30,1],"EXPANDED"],null],[[[1," "],[8,[32,4],[[24,0,"nt-empty-state__empty-state"]],[["@headline","@illustration","@mercadoSize","@message"],[[30,3,["headline","text"]],"empty-waiting",2,[30,3,["subHeadline","text"]]]],null],[1,"\\n"],[41,[28,[32,5],[[30,3,["cardAction","actionTarget"]],[30,3,["cardAction","displayText","text"]]],null],[[[1," "],[8,[32,6],[[24,0,"artdeco-button artdeco-button--secondary"],[4,[32,7],["empty_state_redirect"],[["onInteract"],[[30,0,["fireActionTracking"]]]]]],[["@href"],[[30,3,["cardAction","actionTarget"]]]],[["default"],[[[[1,"\\n "],[8,[32,8],null,[["@tvm"],[[30,3,["cardAction","displayText"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null]],[]],[[[41,[30,3,["headerImage"]],[[[1," "],[8,[32,9],null,[["@entitySize","@images"],[4,[30,3,["headerImage"]]]],null],[1,"\\n"]],[]],null],[41,[30,3,["headline"]],[[[1," "],[10,0],[14,0,"ml4"],[12],[1,"\\n "],[8,[32,8],null,[["@tvm"],[[30,3,["headline"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]]],[1," "],[13],[1,"\\n "]],["@emptySectionStyle","&attrs","@card"],false,["if","-get-dynamic-var"]]',moduleName:"notifications/components/nt-empty-state.gjs",scope:()=>[f.default,m.default,r.get,b.default,g.default,h.default,y.default,v.default,k.default,_.default],isStrictMode:!0}),(w=(0,p.inject)("tracking"),P=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",T,this);(0,n.default)(this,"rowPosition",1)}get contentTrackingId(){return(0,d.get)(this.args,"card.trackingId")}get trackingObject(){return{objectUrn:(0,d.get)(this.args,"card.objectUrn"),trackingId:(0,d.get)(this.args,"card.trackingId")}}fireImpressionEvent(e){const t=this.getBreadcrumbs()
|
|
return this.tracking.genericImpressionEventBuilder(this,t)(e)}fireActionTracking(e){let{controlUrn:t,interactionType:n}=e
|
|
const i=this._getActionBreadcrumbs()
|
|
return this.tracking.buildGenericActionEvent(this,t,"VIEW",n,i)}getBreadcrumbs(){const e=(0,d.get)(this.args,"card.objectUrn"),{topLevelFilterName:t}=this.args,{builder:n}=new c.MeNotificationImpressionBreadcrumb
|
|
e&&n.objectUrn(e)
|
|
t&&n.topLevelFilterName(t)
|
|
return[n.build()]}_getActionBreadcrumbs(){const{topLevelFilterName:e}=this.args,t=this.trackingObject,{builder:n}=new s.MeNotificationActionBreadcrumb
|
|
t&&n.notification(t)
|
|
e&&n.topLevelFilterName(e)
|
|
return[n.build()]}},T=(0,i.default)(P.prototype,"tracking",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(P.prototype,"fireImpressionEvent",[d.action],Object.getOwnPropertyDescriptor(P.prototype,"fireImpressionEvent"),P.prototype),(0,i.default)(P.prototype,"fireActionTracking",[d.action],Object.getOwnPropertyDescriptor(P.prototype,"fireActionTracking"),P.prototype),(0,i.default)(P.prototype,"getBreadcrumbs",[d.action],Object.getOwnPropertyDescriptor(P.prototype,"getBreadcrumbs"),P.prototype),P))}))
|
|
define("notifications/components/nt-error-state",["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/object","@ember/service","@glimmer/component","global-helpers/helpers/eq","artdeco-empty-state/components/artdeco-empty-state","ember-cli-pemberly-i18n/helpers/t","artdeco-button/components/artdeco-button","@ember/modifier"],(function(e,t,n,i,o,a,r,l,s,c,d,u,p,f,m,b){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var g,h,y,v,k
|
|
e.default=(0,l.setComponentTemplate)((0,a.createTemplateFactory)({id:"9eDBJG1k",block:'[[[1,"\\n"],[1," "],[11,"article"],[16,0,[29,["display-flex\\n ",[52,[28,[32,0],[[30,1],"EXPANDED"],null],"pv6","ph4 pv5"]]]],[17,2],[12],[1,"\\n"],[41,[28,[32,0],[[30,1],"EXPANDED"],null],[[[1," "],[8,[32,1],null,[["@actionText","@headline","@illustration","@mercadoSize","@message","@onButtonClick"],[[28,[32,2],["i18n_refresh_CTA","notifications/components/nt-error-state"],null],[28,[32,2],["i18n_something_went_wrong","notifications/components/nt-error-state"],null],"error-server",2,[28,[32,2],["i18n_try_refreshing","notifications/components/nt-error-state"],null],[30,0,["refreshPage"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"nt-error-state__illustration"],[12],[13],[1,"\\n "],[10,0],[14,0,"ml4"],[12],[1,"\\n "],[10,2],[14,0,"t-16"],[12],[1,[28,[32,2],["i18n_wrong_refresh_combined","notifications/components/nt-error-state"],null]],[13],[1,"\\n "],[8,[32,3],[[24,0,"mt4"],[4,[32,4],["click",[30,0,["refreshPage"]]],null]],[["@size","@text","@type"],[2,[28,[32,2],["i18n_refresh_CTA","notifications/components/nt-error-state"],null],"secondary"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@errorSectionStyle","&attrs"],false,["if"]]',moduleName:"notifications/components/nt-error-state.gjs",scope:()=>[u.default,p.default,f.default,m.default,b.on],isStrictMode:!0}),(g=(0,c.inject)("tracking"),h=(0,c.inject)("global-services@window"),y=class extends d.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",v,this);(0,t.default)(this,"windowService",k,this)}refreshPage(){this.tracking.fireInteractionEvent("error_refresh")
|
|
this.windowService.getLocation().reload()}},v=(0,i.default)(y.prototype,"tracking",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,i.default)(y.prototype,"windowService",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(y.prototype,"refreshPage",[s.action],Object.getOwnPropertyDescriptor(y.prototype,"refreshPage"),y.prototype),y))}))
|
|
define("notifications/components/nt-filter-dropdown-group",["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","tracked-toolbox","@glimmer/component","artdeco-dropdown/components/artdeco-dropdown-item","ember-set-helper/helpers/set","global-helpers/helpers/not","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-interaction","@ember/helper","text-view-model/components/text-view-model-v2","hue-web-icons/components/icon"],(function(e,t,n,i,o,a,r,l,s,c,d,u,p,f,m,b,g){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var h,y,v
|
|
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"s/XOpRqz",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[16,"aria-label",[52,[30,0,["expanded"]],[28,[32,1],["i18n_a11y_hide_subfilters","notifications/components/nt-filter-dropdown-group"],[["filterName"],[[30,1,["title","text"]]]]],[28,[32,1],["i18n_a11y_see_subfilters","notifications/components/nt-filter-dropdown-group"],[["filterName"],[[30,1,["title","text"]]]]]]],[24,0,"display-flex align-items-center justify-space-between"],[17,2],[4,[32,4],["subfilter_group"],[["onInteract"],[[28,[32,5],[[30,3],[27],[30,1,["trackingVanityName"]],[52,[30,0,["expanded"]],"COLLAPSE","EXPAND"]],null]]]]],[["@itemSelected"],[[28,[32,2],[[30,0],"expanded",[28,[32,3],[[30,0,["expanded"]]],null]],null]]],[["default"],[[[[1,"\\n "],[8,[32,6],null,[["@tvm"],[[30,1,["title"]]]],null],[1,"\\n "],[8,[32,7],null,[["@name","@type","@size"],[[52,[30,0,["expanded"]],"chevron-up","chevron-down"],"system","small"]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,0],[15,0,[52,[51,[30,0,["expanded"]]],"hidden"]],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,1,["filters"]]],null]],null],null,[[[1," "],[8,[32,0],[[24,0,"ml4"],[4,[32,4],["subfilter"],[["onInteract"],[[28,[32,5],[[30,3],[30,6,["trackingVanityName"]],[30,4,["vanityName"]],"SELECT"],null]]]]],[["@itemSelected","@selected"],[[28,[32,5],[[30,5],[30,4,["entityUrn"]]],null],[30,4,["selected"]]]],[["default"],[[[[1,"\\n "],[8,[32,6],null,[["@tvm"],[[30,4,["name"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[4]],null],[1," "],[13],[1,"\\n "]],["@filterGroup","&attrs","@fireNotificationFilterCustomTracking","filter","@handleChoice","@pill"],false,["if","unless","each","-track-array"]]',moduleName:"notifications/components/nt-filter-dropdown-group.gjs",scope:()=>[c.default,p.default,d.default,u.default,f.default,m.fn,b.default,g.default],isStrictMode:!0}),(h=(0,l.localCopy)("args.filterGroup.selected"),y=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"expanded",v,this)}},v=(0,i.default)(y.prototype,"expanded",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y))}))
|
|
define("notifications/components/nt-filter-dropdown",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/service","rsvp","nt-requests/utils/pem-tracking","@glimmer/tracking","@ember/object","@glimmer/component","@ember/destroyable","artdeco-dropdown/components/artdeco-dropdown","ember-cli-pemberly-tracking/modifiers/track-interaction","@ember/helper","notifications/components/nt-pill","artdeco-loader/components/artdeco-loader","hue-web-icons/components/icon","artdeco-dropdown/components/artdeco-dropdown-header","text-view-model/components/text-view-model-v2","notifications/components/nt-filter-dropdown-group","artdeco-dropdown/components/artdeco-dropdown-item"],(function(e,t,n,i,o,a,r,l,s,c,d,u,p,f,m,b,g,h,y,v,k,_,w,P){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var T,x,O,C,S,j,M,E,I,N
|
|
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"luUwD3QP",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[17,1]],[["@isOpen","@onVisibilityChange"],[[30,0,["isDropdownOpen"]],[30,0,["handleTrigger"]]]],[["default"],[[[[1,"\\n "],[8,[30,2,["dropdown-trigger"]],[[24,0,"nt-filter-dropdown__trigger"],[4,[32,1],["pill"],[["onInteract"],[[28,[32,2],[[30,3],[27],[27],"VIEW"],null]]]]],null,[["default"],[[[[1,"\\n "],[8,[32,3],null,[["@isNotFocusable","@disabled","@pillElement","@pill"],[true,[30,4],[30,5],[30,6]]],[["default"],[[[[1,"\\n"],[41,[30,0,["isLoadingContent"]],[[[1," "],[8,[32,4],[[24,0,"mv0 ml1"]],[["@size","@type"],["xsmall","inverse"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,5],[[24,0,"nt-filter-dropdown__icon"]],[["@type","@size","@name"],["system","small","caret"]],null],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,2,["dropdown-content"]],[[24,0,"nt-filter-dropdown__content"]],null,[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,0,["filterSheets"]]],null]],null],null,[[[1," "],[8,[32,6],null,null,[["default"],[[[[1,"\\n "],[8,[32,7],null,[["@tvm"],[[30,7,["title"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[42,[28,[31,2],[[28,[31,2],[[30,7,["filterAttributes"]]],null]],null],null,[[[41,[30,8,["filterGroup"]],[[[1," "],[8,[32,8],null,[["@filterGroup","@fireNotificationFilterCustomTracking","@handleChoice","@pill"],[[30,8,["filterGroup"]],[30,3],[30,0,["handleChoice"]],[30,6]]],null],[1,"\\n"]],[]],[[[41,[30,8,["filter"]],[[[1," "],[8,[32,9],[[4,[32,1],["subfilter"],[["onInteract"],[[28,[32,2],[[30,3],[30,6,["trackingVanityName"]],[30,8,["filter","vanityName"]],"SELECT"],null]]]]],[["@itemSelected","@selected"],[[28,[32,2],[[30,0,["handleChoice"]],[30,8,["filter","entityUrn"]]],null],[30,8,["filter","selected"]]]],[["default"],[[[[1,"\\n "],[8,[32,7],null,[["@tvm"],[[30,8,["filter","name"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[]],null]],[]]]],[8]],null]],[7]],null],[1," "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n "]],["&attrs","dropdown","@fireNotificationFilterCustomTracking","@isRefreshing","@pillElement","@pill","filterSheet","filterAttribute"],false,["if","each","-track-array"]]',moduleName:"notifications/components/nt-filter-dropdown.gjs",scope:()=>[m.default,b.default,g.fn,h.default,y.default,v.default,k.default,_.default,w.default,P.default],isStrictMode:!0}),(T=(0,l.inject)("i18n"),x=(0,l.inject)("persistent-toast-manager@persistent-toast-manager"),O=(0,l.inject)("global-services@store-shim"),C=class e extends p.default{constructor(){super(...arguments);(0,t.default)(this,"i18n",S,this);(0,t.default)(this,"persistentToastManager",j,this);(0,t.default)(this,"storeShim",M,this);(0,t.default)(this,"filterSheets",E,this);(0,t.default)(this,"isDropdownOpen",I,this);(0,t.default)(this,"isLoadingContent",N,this)
|
|
this._filterSheetPromise=this._getFilterSheet((0,u.get)(this.args,"pill.notificationFilterUrn"))}handleChoice(e){this.args.handleChoice(e)
|
|
this.isDropdownOpen=!1
|
|
e!==(0,u.get)(this.args,"pill.notificationFilterUrn")&&(this._filterSheetPromise=this._getFilterSheet(e))}handleTrigger(e){if(!e||this.filterSheets){this.isDropdownOpen=e
|
|
return(0,s.resolve)()}this._filterSheetPromise||(this._filterSheetPromise=this._getFilterSheet((0,u.get)(this.args,"pill.notificationFilterUrn")))
|
|
this.isLoadingContent=!0
|
|
return this._filterSheetPromise}_getFilterSheet(t){return this.storeShim.queryURL("/voyager/api/voyagerNotificationsDashFilterSheet",{params:{selectedFilterUrn:t,q:"filterForAll",recipe:"com.linkedin.voyager.dash.deco.notifications.FullNotificationFilterSheet"},reload:!0,adapterOptions:{failures:[c.FAILURE_TRACKING_METADATA.NOTIFICATIONS_FILTER_SHEET_FETCH],degradedEntityIDsToRemove:[]}}).then((e=>{if(!this.isDestroying){this.filterSheets=(0,u.get)(e,"elements")
|
|
this.isLoadingContent&&(this.isDropdownOpen=!0)}})).catch((t=>{if((0,f.isDestroying)(this))throw t
|
|
if(this.isLoadingContent){const t=this.i18n.lookupTranslation(e,"i18n_error")()
|
|
this.persistentToastManager.error({message:t})}throw t})).finally((()=>{if(!this.isDestroying){this.isLoadingContent=!1
|
|
this._filterSheetPromise=null}}))}},S=(0,i.default)(C.prototype,"i18n",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,i.default)(C.prototype,"persistentToastManager",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,i.default)(C.prototype,"storeShim",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(C.prototype,"filterSheets",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,i.default)(C.prototype,"isDropdownOpen",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),N=(0,i.default)(C.prototype,"isLoadingContent",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(C.prototype,"handleChoice",[u.action],Object.getOwnPropertyDescriptor(C.prototype,"handleChoice"),C.prototype),(0,i.default)(C.prototype,"handleTrigger",[u.action],Object.getOwnPropertyDescriptor(C.prototype,"handleTrigger"),C.prototype),C))}))
|
|
define("notifications/components/nt-main-content",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","ember","nt-card/utils/tracking-utils","rsvp","tracked-toolbox","@ember/runloop","global-utils/utils/is-browser","nt-card/utils/constants","ember-app-scheduler","@ember/service","@ember/object","@glimmer/tracking","@glimmer/component","@ember/destroyable","notifications/components/nt-pill-list","notifications/components/nt-new-pill","artdeco-loader/components/artdeco-loader","artdeco-card/components/artdeco-card","notifications/components/nt-banner","notifications/components/nt-setting-banner","global-helpers/helpers/or","global-helpers/helpers/not","global-helpers/helpers/and","nt-card/components/nt-card-list","nt-card/components/nt-card","@ember/helper","ember-cli-pemberly-i18n/helpers/t","artdeco-button/components/artdeco-button","ember-cli-pemberly-tracking/modifiers/track-interaction","text-view-model/components/text-view-model-v2","notifications/components/nt-empty-state","notifications/components/nt-error-state","notifications/modifiers/initialize-badges","@ember/modifier","notifications/components/loaders/nt-card-list-skeleton","notifications/utils/scroll-helpers"],(function(e,t,n,i,o,a,r,l,s,c,d,u,p,f,m,b,g,h,y,v,k,_,w,P,T,x,O,C,S,j,M,E,I,N,A,z,D,F,R,L,U,B){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var H,G,q,V,W,K,Y,J,X,Q,$,Z,ee,te
|
|
const{TURN_OFF:ne,UNFOLLOW:ie,LEAVE_GROUP:oe,DELETE:ae}=f.CARD_SETTING_OPTIONS,{MAIN:re}=f.PILL_ATTRIBUTES,le="notifications"
|
|
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"k1fhEmVn",block:'[[[1,"\\n"],[1," "],[11,0],[4,[32,0],null,[["onRender"],[[30,0,["initializeBadges"]]]]],[12],[1,"\\n"],[41,[30,0,["pills"]],[[[1," "],[8,[32,1],[[24,0,"mb3"]],[["@fireNotificationFilterCustomTracking","@handleChoice","@isRefreshing","@pills","@productEducation"],[[30,0,["fireNotificationFilterCustomTracking"]],[30,0,["handleFilterChoice"]],[28,[32,2],[[30,0,["isRefreshing"]],[30,1]],null],[30,0,["pills"]],[30,2]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showNewPill"]],[[[1," "],[8,[32,3],[[24,0,"mb1"]],[["@handlePillClick"],[[30,0,["refreshCardsAndScrollToTop"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,2],[[30,0,["isRefreshing"]],[30,1]],null],[[[1," "],[8,[32,4],null,[["@numCards"],[8]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,5],null,null,[["default"],[[[[1,"\\n"],[41,[28,[32,6],[[30,0,["isNtSettingBannerEnabled"]],[30,0,["banner"]],[30,0,["isBannerWithCta"]]],null],[[[1," "],[8,[32,7],null,[["@banner"],[[30,0,["banner"]]]],null],[1,"\\n"]],[]],[[[41,[28,[32,6],[[30,0,["banner"]],[28,[32,8],[[30,0,["isBannerWithCta"]]],null]],null],[[[1," "],[8,[32,9],[[24,0,"artdeco-card__header p0"]],[["@banner"],[[30,0,["banner"]]]],null],[1,"\\n "]],[]],null]],[]]],[1,"\\n"],[41,[28,[32,2],[[30,0,["ntCardIterator","hasMoreCards"]],[30,0,["ntCardIterator","cards"]]],null],[[[41,[30,0,["ntCardIterator","paginationText"]],[[[1," "],[8,[32,10],null,[["@cards","@hasHeader","@hasPaginationButton","@occlusionEnabled"],[[30,0,["ntCardIterator","cards"]],[30,0,["banner"]],[30,0,["ntCardIterator","hasMoreCards"]],false]],[["default"],[[[[1,"\\n "],[8,[32,11],null,[["@actionTargetHandler","@afterSettingClick","@card","@markCardAsRead","@ntSettingsHandler","@openFeedbackModal","@topLevelFilterName","@zeroBasedIndex"],[[30,5],[30,0,["afterSettingClick"]],[30,3],[28,[32,12],[[30,6],[30,3]],null],[30,7],[30,8],[30,0,["currentPill","trackingVanityName"]],[30,4]]],null],[1,"\\n "]],[3,4]]]]],[1,"\\n"],[41,[30,0,["ntCardIterator","hasMoreCards"]],[[[41,[30,0,["isFetchingMore"]],[[[1," "],[10,0],[14,0,"nt-main-content__pagination-loader"],[12],[1,"\\n "],[8,[32,13],null,[["@size","@a11yText"],["xsmall",[28,[32,14],["i18n_loading_more_notifications","notifications/components/nt-main-content"],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"artdeco-card__actions"],[12],[1,"\\n "],[8,[32,15],[[24,0,"nt-main-content__show-more-btn pv3"],[4,[32,16],["click",[30,0,["fetchMoreCards"]]],null],[4,[32,17],["show_next_page"],[["onInteract"],[[28,[32,12],[[30,0,["fireNotificationFilterCustomTracking"]],[27],[27],"SCROLL"],null]]]]],[["@color","@controlType","@icon","@iconRight","@size","@stretch","@type"],["muted","button","chevron-down",true,3,"fluid","tertiary"]],[["default"],[[[[1,"\\n "],[8,[32,18],null,[["@tvm"],[[30,0,["ntCardIterator","paginationText"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]]]],[]],null]],[]],[[[1," "],[8,[32,10],null,[["@cards","@canInfiniteScroll","@hasHeader","@occlusionEnabled","@onGetNextCardPage","@isNotificationHotkeysEnabled"],[[30,0,["ntCardIterator","cards"]],[30,0,["ntCardIterator","hasMoreCards"]],[30,0,["banner"]],false,[30,0,["fetchMoreCards"]],[30,0,["isHotkeysEnabled"]]]],[["default"],[[[[1,"\\n "],[8,[32,11],null,[["@actionTargetHandler","@afterSettingClick","@card","@markCardAsRead","@ntSettingsHandler","@openFeedbackModal","@topLevelFilterName","@zeroBasedIndex"],[[30,5],[30,0,["afterSettingClick"]],[30,9],[28,[32,12],[[30,6],[30,9]],null],[30,7],[30,8],[30,0,["currentPill","trackingVanityName"]],[30,10]]],null],[1,"\\n "]],[9,10]]]]],[1,"\\n"]],[]]],[1,"\\n"]],[]],[[[41,[30,0,["ntCardIterator","emptyCard"]],[[[1," "],[8,[32,19],null,[["@card","@emptySectionStyle","@topLevelFilterName"],[[30,0,["ntCardIterator","emptyCard"]],[30,0,["ntCardIterator","emptySectionStyle"]],[30,0,["currentPill","trackingVanityName"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,20],null,[["@errorSectionStyle"],["EXPANDED"]],null],[1,"\\n "]],[]]]],[]]],[1," "]],[]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["@isModelRefreshing","@productEducation","card","index","@actionTargetHandler","@markCardAsRead","@ntSettingsHandler","@openFeedbackModal","card","index"],false,["if"]]',moduleName:"notifications/components/nt-main-content.gjs",scope:()=>[R.default,k.default,O.default,_.default,U.default,P.default,S.default,x.default,C.default,T.default,j.default,M.default,E.fn,w.default,I.default,N.default,L.on,A.default,z.default,D.default,F.default],isStrictMode:!0}),(H=(0,b.inject)("global-nav-shared@badge"),G=(0,b.inject)("nt-card@nt-card-iterator"),q=(0,b.inject)("lix"),V=(0,d.localCopy)("args.banner"),W=(0,d.localCopy)("args.pills"),K=class extends y.default{get currentPill(){var e
|
|
return null===(e=this.pills)||void 0===e?void 0:e.find((e=>(0,g.get)(e,"selected")))}get isBannerWithCta(){var e,t
|
|
return(null===(e=this.banner)||void 0===e||null===(t=e.actions)||void 0===t?void 0:t.length)>0}get isNtSettingBannerEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.notifications-nt-setting-banner")}get isHotkeysEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.feed-enable-hotkeys")}constructor(){super(...arguments);(0,t.default)(this,"badge",Y,this);(0,t.default)(this,"ntCardIterator",J,this);(0,t.default)(this,"lix",X,this);(0,t.default)(this,"isFetchingMore",Q,this);(0,t.default)(this,"isRefreshing",$,this);(0,t.default)(this,"showNewPill",Z,this);(0,t.default)(this,"banner",ee,this);(0,t.default)(this,"pills",te,this)
|
|
this.initializing=!0;(0,m.whenRouteIdle)().then((()=>{(0,v.isDestroying)(this)||this.badge.on("badgeCountChanged",this,this._handleNewBadgeCount)}))}willDestroy(){super.willDestroy(...arguments)
|
|
this.badge.off("badgeCountChanged",this,this._handleNewBadgeCount)}afterSettingClick(e,t,n){this.isDestroying||(n===ne?this.ntCardIterator.deleteCard(e,{isTurnOffSetting:!0}):n===ie||n===oe?this.refreshCards():n===ae&&(t?this.ntCardIterator.undoDeleteCard(e):this.ntCardIterator.deleteCard(e)))}fetchMoreCards(){this.isFetchingMore=!0
|
|
const e=this.ntCardIterator.cards.length
|
|
return this.ntCardIterator.next().then((()=>{if(!this.isDestroying){this.ntCardIterator.paginationText&&(t=e+1,(0,u.schedule)("afterRender",(()=>{const e=p.default?document.querySelector(`.nt-card:nth-child(${t}) a`):void 0
|
|
null==e||e.focus()})))
|
|
var t}})).finally((()=>{this.isDestroying||(this.isFetchingMore=!1)}))}fireNotificationFilterCustomTracking(e,t,n,i){let{controlUrn:o}=i
|
|
return this.currentPill?(0,s.buildNotificationFilterCustomTrackingInfo)({originSubfilterName:this.args.filterVanityName,newSubfilterName:t,originTopLevelFilterName:(0,g.get)(this,"currentPill.trackingVanityName"),newTopLevelFilterName:e,controlUrn:o,actionCategory:n}):[]}handleFilterChoice(e,t){const n=t||e.notificationFilterUrn
|
|
if(n===(0,g.get)(this,"currentPill.notificationFilterUrn"))return(0,c.resolve)()
|
|
if(e!==this.currentPill){this.currentPill&&(0,g.set)(this.currentPill,"selected",!1);(0,g.set)(e,"selected",!0)}return this._refresh(n)}refreshCards(){return this._refresh()}refreshCardsAndScrollToTop(){return this._refresh().then((()=>{(0,B.scrollToPosition)(this,0)}))}_handleNewBadgeCount(e){var t
|
|
if(!e)return;(null===(t=(0,g.get)(this,"currentPill.attributes"))||void 0===t?void 0:t.includes(re))&&this.badge.getBadgeCount(le)>0&&!this.isRefreshing&&(this.showNewPill=!0)}_markAllItemsAsSeen(e){e?this.badge.markAllItemsAsSeen({badgeName:le,forceAPI:!0,additionalData:{notificationFilterUrn:e}}):this.badge.markAllItemsAsSeen({badgeName:le,forceAPI:!0})}initializeBadges(){if(this.initializing){this._markAllItemsAsSeen((0,g.get)(this,"currentPill.notificationFilterUrn"))
|
|
this.initializing=!1}}_refresh(e,t){this.showNewPill=!1
|
|
this.isRefreshing=!0
|
|
if(p.default&&this.ntCardIterator.filterUrn!==e){const e=l.default.testing?document.querySelector("#ember-testing-container"):document.scrollingElement||document.body
|
|
this.ntCardIterator.setLastScrollPosition(e.scrollTop)
|
|
this.ntCardIterator.cacheCurrentState()}return this.ntCardIterator.refresh(e,t).then((t=>{let{cardsCollection:n,pillsCollection:i}=t
|
|
if((0,v.isDestroying)(this))return
|
|
this._markAllItemsAsSeen(e)
|
|
const o=(0,g.get)(n,"metadata.notificationFilter")
|
|
if(o){this.args.updateIsChangingFilter()
|
|
this.args.updateFilterParam((0,g.get)(o,"vanityName"))
|
|
this.banner=(0,g.get)(o,"banners.elements.0")
|
|
i||(this.pills=(0,g.get)(o,"pills.elements"))}i&&(this.pills=(0,g.get)(i,"elements"))
|
|
return n})).finally((()=>{this.isDestroying||(this.isRefreshing=!1)}))}},Y=(0,i.default)(K.prototype,"badge",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,i.default)(K.prototype,"ntCardIterator",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,i.default)(K.prototype,"lix",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,i.default)(K.prototype,"isFetchingMore",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),$=(0,i.default)(K.prototype,"isRefreshing",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Z=(0,i.default)(K.prototype,"showNewPill",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ee=(0,i.default)(K.prototype,"banner",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,i.default)(K.prototype,"pills",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(K.prototype,"afterSettingClick",[g.action],Object.getOwnPropertyDescriptor(K.prototype,"afterSettingClick"),K.prototype),(0,i.default)(K.prototype,"fetchMoreCards",[g.action],Object.getOwnPropertyDescriptor(K.prototype,"fetchMoreCards"),K.prototype),(0,i.default)(K.prototype,"fireNotificationFilterCustomTracking",[g.action],Object.getOwnPropertyDescriptor(K.prototype,"fireNotificationFilterCustomTracking"),K.prototype),(0,i.default)(K.prototype,"handleFilterChoice",[g.action],Object.getOwnPropertyDescriptor(K.prototype,"handleFilterChoice"),K.prototype),(0,i.default)(K.prototype,"refreshCards",[g.action],Object.getOwnPropertyDescriptor(K.prototype,"refreshCards"),K.prototype),(0,i.default)(K.prototype,"refreshCardsAndScrollToTop",[g.action],Object.getOwnPropertyDescriptor(K.prototype,"refreshCardsAndScrollToTop"),K.prototype),(0,i.default)(K.prototype,"initializeBadges",[g.action],Object.getOwnPropertyDescriptor(K.prototype,"initializeBadges"),K.prototype),K))}))
|
|
define("notifications/components/nt-new-pill",["exports","@ember/template-factory","@ember/helper","@ember/component/template-only","@ember/component","sticky/components/sticky-container","artdeco-button/components/artdeco-button","ember-cli-pemberly-i18n/helpers/t","@ember/modifier"],(function(e,t,n,i,o,a,r,l,s){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const c=(0,o.setComponentTemplate)((0,t.createTemplateFactory)({id:"cE/V+E4/",block:'[[[1,"\\n"],[1," "],[10,0],[14,0,"full-width display-flex justify-center absolute"],[12],[1,"\\n "],[8,[32,0],null,[["@offset"],[76]],[["default"],[[[[1,"\\n "],[11,0],[24,0,"nt-new-pill__container"],[17,1],[12],[1,"\\n "],[8,[32,1],[[24,0,"full-height white-space-nowrap Elevation-6dp"],[4,[32,3],["click",[30,2]],null]],[["@icon","@type","@text","@aria-label"],["arrow-up","primary",[28,[32,2],["i18n_new_notifications","notifications/components/nt-new-pill"],null],[28,[32,2],["i18n_new_notifications_a11y","notifications/components/nt-new-pill"],null]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],["&attrs","@handlePillClick"],false,[]]',moduleName:"notifications/components/nt-new-pill.gjs",scope:()=>[a.default,r.default,l.default,s.on],isStrictMode:!0}),(0,i.default)("nt-new-pill","NtNewPill"))
|
|
e.default=c}))
|
|
define("notifications/components/nt-pill-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","nt-card/utils/constants","lego/utils/constants","@ember/service","@ember/object","@glimmer/tracking","@glimmer/component","artdeco-card/components/artdeco-card","artdeco-pill/components/artdeco-pill-choice-group","global-helpers/helpers/and","global-helpers/helpers/eq","product-education/components/coachmark","ember-cli-pemberly-tracking/modifiers/track-impression","notifications/components/nt-pill","global-helpers/helpers/includes","notifications/components/nt-filter-dropdown","@ember/helper","ember-cli-pemberly-tracking/modifiers/track-interaction","notifications/components/nt-product-education-modal","ember-set-helper/helpers/set"],(function(e,t,n,i,o,a,r,l,s,c,d,u,p,f,m,b,g,h,y,v,k,_,w,P,T,x){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var O,C,S,j,M
|
|
e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"lUWfbE7J",block:'[[[1,"\\n "],[8,[32,0],[[24,0,"nt-pill-list"],[17,1]],null,[["default"],[[[[1,"\\n "],[8,[32,1],[[24,0,"nt-pill-list__pill-choice-group"]],[["@onSelect","@default"],[[30,0,["handleSelectPill"]],[30,0,["initialPill","notificationFilterUrn"]]]],[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,3]],null]],null],null,[[[41,[28,[32,2],[[30,0,["showCoachmarkOnPill"]],[28,[32,3],[[30,5],1],null]],null],[[[1," "],[8,[32,4],[[24,0,"nt-pill-list__coachmark inline-block"],[4,[32,5],[[30,0,["handleCoachmarkImpression"]]],[["thresholdPercentageInViewport","thresholdMillisecondsInViewport","eager","routeName","currentRoute"],[0,0,true,[28,[32,6],[[53,"outletState"],"render.name"],null],[28,[32,6],[[53,"outletState"],"render"],null]]]]],[["@isVisible"],[[30,0,["showCoachmarkOnPill"]]]],[["default"],[[[[1,"\\n "],[8,[32,7],null,[["@disabled","@pillElement","@hasCoachmark","@pill"],[[30,6],[30,2,["choice-pill"]],[30,0,["showCoachmarkOnPill"]],[30,4]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[41,[28,[32,2],[[28,[32,8],[[30,4,["attributes"]],[30,0,["filterSheetAttribute"]]],null],[30,4,["selected"]]],null],[[[1," "],[8,[32,9],null,[["@fireNotificationFilterCustomTracking","@pillElement","@handleChoice","@isRefreshing","@pill"],[[30,7],[30,2,["choice-pill"]],[28,[32,10],[[30,8],[30,4]],null],[30,6],[30,4]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,7],[[4,[32,11],["pill"],[["onInteract"],[[28,[32,10],[[30,7],[30,4,["trackingVanityName"]],[27],"SELECT"],null]]]]],[["@disabled","@pillElement","@pill"],[[30,6],[30,2,["choice-pill"]],[30,4]]],null],[1,"\\n "]],[]]]],[]]]],[4,5]],null],[1," "]],[2]]]]],[1,"\\n\\n "]],[]]]]],[1,"\\n\\n "],[8,[32,12],null,[["@isOpen","@onDismiss","@pills","@productEducationModel"],[[30,0,["isPEModalOpen"]],[28,[32,13],[[30,0],"isPEModalOpen",false],null],[30,3],[30,9]]],null],[1,"\\n "]],["&attrs","group","@pills","pill","idx","@isRefreshing","@fireNotificationFilterCustomTracking","@handleChoice","@productEducation"],false,["each","-track-array","if","-get-dynamic-var"]]',moduleName:"notifications/components/nt-pill-list.gjs",scope:()=>[f.default,m.default,b.default,g.default,h.default,y.default,w.get,v.default,k.default,_.default,w.fn,P.default,T.default,x.default],isStrictMode:!0}),(O=(0,c.inject)("lego@tracking"),C=class extends p.default{constructor(){super(...arguments);(0,t.default)(this,"legoTracking",S,this);(0,t.default)(this,"isPEModalOpen",j,this);(0,t.default)(this,"_coachmarkPillClicked",M,this);(0,n.default)(this,"_pillInfo",this._createPillInfo());(0,n.default)(this,"filterSheetAttribute",l.PILL_ATTRIBUTES.SUPPORT_FILTER_SHEET)}_createPillInfo(){const e={}
|
|
this.args.pills.forEach(((t,n)=>{e[t.notificationFilterUrn]={pill:t,idx:n}}))
|
|
return e}get initialPill(){return this.args.pills.find((e=>(0,d.get)(e,"selected")))}get _productEducationTrackingToken(){return(0,d.get)(this,"args.productEducation.legoTrackingToken")}get showCoachmarkOnPill(){return!this._coachmarkPillClicked&&!!this._productEducationTrackingToken}handleCoachmarkImpression(){this._productEducationTrackingToken&&this.legoTracking.sendLegoImpression(this._productEducationTrackingToken,s.LEGO_ENUM_CONSTANTS.LEGO_IMPRESSION_VISIBILITY_SHOW)
|
|
return[]}openOnboardingModal(){this.isPEModalOpen=!0
|
|
this._coachmarkPillClicked=!0
|
|
this._handlePEInteraction()}handleSelectPill(e){const t=this._pillInfo[e]
|
|
this.showCoachmarkOnPill&&1===t.idx?this.openOnboardingModal():this.args.handleChoice(t.pill)}_handlePEInteraction(){this._productEducationTrackingToken&&this.legoTracking.sendLegoAction(this._productEducationTrackingToken,s.LEGO_ENUM_CONSTANTS.LEGO_ACTION_PRIMARY,1)}},S=(0,i.default)(C.prototype,"legoTracking",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,i.default)(C.prototype,"isPEModalOpen",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),M=(0,i.default)(C.prototype,"_coachmarkPillClicked",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(C.prototype,"handleCoachmarkImpression",[d.action],Object.getOwnPropertyDescriptor(C.prototype,"handleCoachmarkImpression"),C.prototype),(0,i.default)(C.prototype,"openOnboardingModal",[d.action],Object.getOwnPropertyDescriptor(C.prototype,"openOnboardingModal"),C.prototype),(0,i.default)(C.prototype,"handleSelectPill",[d.action],Object.getOwnPropertyDescriptor(C.prototype,"handleSelectPill"),C.prototype),C))}))
|
|
define("notifications/components/nt-pill",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","global-helpers/helpers/or","global-helpers/helpers/and","text-view-model/components/text-view-model-v2","ember-cli-pemberly-i18n/helpers/t","global-helpers/helpers/not"],(function(e,t,n,i,o,a,r,l,s){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const c=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"n0rqNjQu",block:'[[[1,"\\n"],[1,"\\n"],[44,[[28,[32,0],[[30,1,["accessibilityText"]],[30,1,["name","text"]]],null]],[[[41,[30,2],[[[41,[28,[32,1],[[30,1,["selected"]],[30,3]],null],[[[1," "],[11,0],[16,0,[29,["nt-pill--unfocusable artdeco-pill artdeco-pill--slate artdeco-pill--3 artdeco-pill--choice artdeco-pill--selected\\n ",[52,[30,4],"artdeco-pill--disabled"]]]],[16,"aria-label",[30,2]],[17,5],[12],[1,"\\n "],[8,[32,2],null,[["@tvm"],[[30,1,["name"]]]],null],[1,"\\n"],[41,[48,[30,8]],[[[1," "],[18,8,null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[8,[30,6],[[24,0,"nt-pill"],[17,5]],[["@a11yText","@size","@value","@disabled"],[[52,[30,7],[28,[32,3],["i18n_pill_with_coachmark","notifications/components/nt-pill"],[["pillDescription"],[[30,2]]]],[30,2]],3,[30,1,["notificationFilterUrn"]],[30,4]]],[["default"],[[[[1,"\\n "],[8,[32,2],null,[["@tvm"],[[30,1,["name"]]]],null],[1,"\\n"],[41,[48,[30,8]],[[[1," "],[18,8,null],[1,"\\n"]],[]],[[[41,[28,[32,1],[[30,1,["unseenCount"]],[28,[32,4],[[30,1,["selected"]]],null]],null],[[[1," "],[10,"figure"],[14,0,"ml1 display-flex align-items-center justify-content-center"],[12],[1,"\\n "],[10,"svg"],[14,"viewBox","0 0 100 100"],[14,0,"nt-card__blue-dot"],[12],[1,"\\n "],[10,"circle"],[14,"cx","50"],[14,"cy","50"],[14,"r","50"],[14,"fill","currentColor"],[12],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]],[1," "]],[]]]]],[1,"\\n"]],[]]]],[]],null]],[2]]]],["@pill","pillA11yText","@isNotFocusable","@disabled","&attrs","@pillElement","@hasCoachmark","&default"],false,["let","if","has-block","yield"]]',moduleName:"notifications/components/nt-pill.gjs",scope:()=>[o.default,a.default,r.default,l.default,s.default],isStrictMode:!0}),(0,n.default)("nt-pill","NtPill"))
|
|
e.default=c}))
|
|
define("notifications/components/nt-product-education-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/helper","@ember/component","@ember/service","tracked-toolbox","@ember/object","@glimmer/component","product-education/components/onboarding-modal","ember-set-helper/helpers/set","ember-vector-images/components/lazy-image","ember-cli-pemberly-i18n/helpers/t","ember-css-transitions/modifiers/css-transition","notifications/components/nt-product-education-pill-list"],(function(e,t,n,i,o,a,r,l,s,c,d,u,p,f,m,b,g,h){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var y,v,k,_,w,P,T
|
|
e.default=(0,l.setComponentTemplate)((0,a.createTemplateFactory)({id:"dlpQbZ5O",block:'[[[1,"\\n"],[41,[30,1],[[[1," "],[8,[32,0],null,[["@isOpen","@displayDoneButton","@onDismiss","@a11yTitle","@onboardingData","@position","@onNext","@onPrevious","@contentClasses"],[[30,2],true,[30,0,["dismissModal"]],[30,0,["modalA11yText"]],[30,1,["items"]],"center-rail",[28,[32,1],[[30,0],"selectedIndex"],null],[28,[32,1],[[30,0],"selectedIndex"],null],"nt-product-education-modal__content"]],[["default"],[[[[1,"\\n "],[8,[30,3,["onboarding-modal-highlight"]],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"nt-product-education-modal__highlight"],[12],[1,"\\n"],[41,[30,0,["isProfileElement"]],[[[1," "],[8,[32,2],[[4,[32,4],null,[["enterClass","enterActiveClass","enterToClass","leaveClass","leaveActiveClass","leaveToClass"],["nt-product-education-modal__profile-image--enter","nt-product-education-modal__profile-image--enter-active","nt-product-education-modal__profile-image--enter-to","nt-product-education-modal__profile-image--leave","nt-product-education-modal__profile-image--leave-active","nt-product-education-modal__profile-image--leave-to"]]]],[["@image","@alt","@desiredHeight","@desiredWidth","@ghostType","@class"],[[30,0,["viewerProfileImage"]],[28,[32,3],["i18n_profile_photo","notifications/components/nt-product-education-modal"],null],48,48,"person","EntityPhoto-circle-3 absolute"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,5],[[24,0,"nt-product-education-modal__pills"],[4,[32,4],null,[["enterClass","enterActiveClass","enterToClass","leaveClass","leaveActiveClass","leaveToClass"],["nt-product-education-modal__pills--enter","nt-product-education-modal__pills--enter-active","nt-product-education-modal__pills--enter-to","nt-product-education-modal__pills--leave","nt-product-education-modal__pills--leave-active","nt-product-education-modal__pills--leave-to"]]]],[["@currentValue","@pills"],[[30,0,["currentElement","educatingContextUnion","notificationPillUrn"]],[30,4]]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n"]],[]],null],[1," "]],["@productEducationModel","@isOpen","modal","@pills"],false,["if"]]',moduleName:"notifications/components/nt-product-education-modal.gjs",scope:()=>[p.default,f.default,m.default,b.default,g.default,h.default],isStrictMode:!0}),(y=(0,s.inject)("authentication@authenticated-user"),v=(0,s.inject)("i18n"),k=(0,c.trackedReset)("args.productEducationModel.items.length"),_=class e extends u.default{constructor(){super(...arguments);(0,t.default)(this,"authenticatedUser",w,this);(0,t.default)(this,"i18n",P,this);(0,t.default)(this,"selectedIndex",T,this)}get currentElement(){const e=(0,d.get)(this.args,"productEducationModel.items")
|
|
return e&&e[this.selectedIndex]}get isProfileElement(){return null==(e=(0,d.get)(this,"currentElement.educatingContextUnion.viewerProfileUrn"))?void 0:e.startsWith("urn:li:fsd_profile:")
|
|
var e}get modalA11yText(){if(this.isProfileElement)return this.i18n.lookupTranslation(e,"i18n_profile_photo")()
|
|
const t=this.i18n.lookupTranslation(e,"i18n_selected")()
|
|
return this.i18n.lookupTranslation(e,"i18n_modal_a11y_text")([{pillLabels:this.args.pills.map((e=>{const n=(0,d.get)(e,"name.text")
|
|
return(0,d.get)(e,"entityUrn")===(0,d.get)(this,"currentElement.educatingContextUnion")?`${n} ${t}`:n}))}])}get viewerProfileImage(){return(0,d.get)(this,"authenticatedUser.miniProfile.picture")}dismissModal(){var e
|
|
this.selectedIndex=0
|
|
null===(e=this.args)||void 0===e||e.onDismiss()}},w=(0,i.default)(_.prototype,"authenticatedUser",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(_.prototype,"i18n",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,i.default)(_.prototype,"selectedIndex",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),(0,i.default)(_.prototype,"dismissModal",[d.action],Object.getOwnPropertyDescriptor(_.prototype,"dismissModal"),_.prototype),_))}))
|
|
define("notifications/components/nt-product-education-pill-list",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","artdeco-pill/components/artdeco-pill-choice-group","global-helpers/helpers/noop","global-helpers/helpers/or","text-view-model/components/text-view-model-v2"],(function(e,t,n,i,o,a,r,l){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const s=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"QB1XUkeJ",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"nt-product-education-pill-list"],[17,1],[12],[1,"\\n "],[8,[32,0],null,[["@onSelect"],[[28,[32,1],null,null]]],[["default"],[[[[1,"\\n"],[42,[28,[31,1],[[28,[31,1],[[30,3]],null]],null],null,[[[1," "],[8,[30,2,["choice-pill"]],[[24,0,"nt-product-education-pill-list__pill"],[24,"tabindex","-1"]],[["@a11yText","@value","@size","@selection","@disabled"],[[28,[32,2],[[30,4,["name","accessibilityText"]],[30,4,["name","text"]]],null],[30,4,["entityUrn"]],3,[30,5],true]],[["default"],[[[[1,"\\n "],[8,[32,3],null,[["@tvm"],[[30,4,["name"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[4]],null],[1," "]],[2]]]]],[1,"\\n "],[13],[1,"\\n"]],["&attrs","group","@pills","pill","@currentValue"],false,["each","-track-array"]]',moduleName:"notifications/components/nt-product-education-pill-list.gjs",scope:()=>[o.default,a.default,r.default,l.default],isStrictMode:!0}),(0,n.default)("nt-product-education-pill-list","NtProductEducationPillList"))
|
|
e.default=s}))
|
|
define("notifications/components/nt-setting-banner-cta",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","app-aware-link/components/app-aware-link","artdeco-button/components/artdeco-button","@ember/modifier","@ember/helper"],(function(e,t,n,i,o,a,r,l){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const s=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"VIqG10HH",block:'[[[1,"\\n"],[41,[30,1,["actionUnion","navigationalAction"]],[[[1," "],[8,[32,0],[[24,"target","_blank"],[24,0,"display-block"]],[["@href"],[[30,1,["actionUnion","navigationalAction"]]]],[["default"],[[[[1,"\\n "],[8,[32,1],[[16,"aria-label",[30,1,["displayText","text"]]],[24,0,"mt3"],[4,[32,2],["click",[28,[32,3],[[30,2],[30,1]],null]],null]],[["@color","@icon","@size","@text","@type"],["muted","bell",2,[29,[[30,1,["displayText","text"]]]],"secondary"]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[41,[30,1,["actionUnion","settingEnablementAction"]],[[[1," "],[8,[32,1],[[16,"aria-label",[30,1,["displayText","text"]]],[24,0,"mt3"],[4,[32,2],["click",[28,[32,3],[[30,2],[30,1]],null]],null]],[["@color","@icon","@size","@text","@type"],["muted","bell",2,[29,[[30,1,["displayText","text"]]]],"secondary"]],null],[1,"\\n "]],[]],null]],[]]]],["@bannerAction","@handlePromptResponse"],false,["if"]]',moduleName:"notifications/components/nt-setting-banner-cta.gts",scope:()=>[o.default,a.default,r.on,l.fn],isStrictMode:!0}),(0,n.default)("nt-setting-banner-cta","NtSettingBannerCta"))
|
|
e.default=s}))
|
|
define("notifications/components/nt-setting-banner",["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","@glimmer/component","@ember/object","text-view-model/components/text-view-model-v2","artdeco-button/components/artdeco-button","notifications/components/nt-setting-banner-cta","artdeco-inline-feedback/components/artdeco-inline-feedback","ember-cli-pemberly-i18n/helpers/t","@glimmer/tracking","@ember/service","ember-cli-pemberly-tracking/modifiers/track-impression","notifications/constants/banner-constants","@ember/modifier"],(function(e,t,n,i,o,a,r,l,s,c,d,u,p,f,m,b,g,h,y,v,k){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var _,w,P,T,x,O,C,S,j,M,E,I
|
|
e.default=(0,s.setComponentTemplate)((0,r.createTemplateFactory)({id:"yQiO342u",block:'[[[1,"\\n"],[41,[30,0,["isBannerOpen"]],[[[1," "],[11,"article"],[24,0,"ph5 pv4"],[4,[32,0],null,[["registerOnImpression","eager","routeName","currentRoute"],[[30,0,["fireImpressionEvents"]],true,[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n "],[10,0],[14,0,"nt-setting-banner__container"],[12],[1,"\\n "],[10,0],[14,0,"nt-setting-banner__content"],[12],[1,"\\n "],[10,2],[14,0,"t-bold"],[12],[1,"\\n "],[8,[32,2],null,[["@tvm"],[[30,1,["headline"]]]],null],[1,"\\n "],[13],[1,"\\n "],[10,2],[14,0,"pt1 text-body-small"],[12],[1,"\\n "],[8,[32,2],null,[["@tvm"],[[30,1,["description"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["isPrimaryActionVisible"]],[[[42,[28,[31,3],[[28,[31,3],[[30,1,["actions"]]],null]],null],null,[[[41,[30,2,["displayText","text"]],[[[1," "],[8,[32,3],null,[["@bannerAction","@handlePromptResponse"],[[30,2],[30,0,["handlePromptResponse"]]]],null],[1,"\\n"]],[]],null]],[2]],null]],[]],[[[1," "],[8,[32,4],[[24,0,"mt4"]],[["@linkText","@message","@onClick","@type"],[[28,[32,5],["i18n_undo_text","notifications/components/nt-setting-banner"],null],[30,0,["promptSuccessMessage"]],[30,0,["handleUndoAction"]],"success"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n\\n "],[8,[32,6],[[24,0,"m2 flex-shrink-zero"],[4,[32,7],["click",[30,0,["handleCloseBanner"]]],null]],[["@circle","@color","@icon","@size","@type"],[true,"muted","cancel-icon",1,"tertiary"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["@banner","bannerAction"],false,["if","-get-dynamic-var","each","-track-array"]]',moduleName:"notifications/components/nt-setting-banner.gts",scope:()=>[y.default,l.get,u.default,f.default,m.default,b.default,p.default,k.on],isStrictMode:!0}),(_=(0,h.inject)("lego@tracking"),w=(0,h.inject)("global-services@store-shim"),P=(0,h.inject)("tracking"),T=(E=new WeakSet,I=new WeakSet,class extends c.default{constructor(){super(...arguments)
|
|
I.add(this)
|
|
E.add(this);(0,t.default)(this,"legoTracking",x,this);(0,t.default)(this,"storeShim",O,this);(0,t.default)(this,"tracking",C,this);(0,t.default)(this,"promptSuccessMessage",S,this);(0,t.default)(this,"isPrimaryActionVisible",j,this);(0,t.default)(this,"isBannerOpen",M,this);(0,n.default)(this,"selectedBannerAction",void 0)}handlePromptResponse(e){var t,n,o
|
|
this.selectedBannerAction=e
|
|
const a=null===(t=this.selectedBannerAction)||void 0===t||null===(n=t.actionUnion)||void 0===n||null===(o=n.settingEnablementAction)||void 0===o?void 0:o.settingUrn
|
|
if(a){const t=`/voyager/api/voyagerNotificationsDashSettings/${a}`
|
|
this.storeShim.adapterFor("-ember-m3").ajax(t,"POST",{data:JSON.stringify({patch:{$set:{enabled:!0}}})});(0,i.default)(this,E,N).call(this,v.PROMPT_ACTION_CATEGORIES.CLICK_CTA,e.actionUnion.settingEnablementAction.trackingActionName)
|
|
this.promptSuccessMessage=e.actionUnion.settingEnablementAction.inlineFeedback.text
|
|
this.isPrimaryActionVisible=!1}(0,i.default)(this,I,A).call(this,this.legoTracking.LEGO_ACTION_PRIMARY)}handleCloseBanner(){(0,i.default)(this,I,A).call(this,this.legoTracking.LEGO_ACTION_DISMISS);(0,i.default)(this,E,N).call(this,v.PROMPT_ACTION_CATEGORIES.DISMISS)
|
|
this.isBannerOpen=!1}handleUndoAction(){var e,t,n,o
|
|
const a=`/voyager/api/voyagerNotificationsDashSettings/${null===(e=this.selectedBannerAction)||void 0===e||null===(t=e.actionUnion)||void 0===t||null===(n=t.settingEnablementAction)||void 0===n?void 0:n.settingUrn}`
|
|
this.storeShim.adapterFor("-ember-m3").ajax(a,"POST",{data:JSON.stringify({patch:{$set:{enabled:!1}}})});(0,i.default)(this,E,N).call(this,v.PROMPT_ACTION_CATEGORIES.UNDO,null===(o=this.selectedBannerAction)||void 0===o?void 0:o.actionUnion.settingEnablementAction.trackingActionName)
|
|
this.isPrimaryActionVisible=!0}fireImpressionEvents(){this.legoTracking.sendLegoImpression(this.args.banner.legoTrackingToken??"",this.legoTracking.LEGO_IMPRESSION_VISIBILITY_SHOW)
|
|
return()=>({name:"NotificationPromptImpressionEvent",body:{promptName:this.args.banner.trackingBannerName??void 0}})}}),x=(0,o.default)(T.prototype,"legoTracking",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,o.default)(T.prototype,"storeShim",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,o.default)(T.prototype,"tracking",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,o.default)(T.prototype,"promptSuccessMessage",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),j=(0,o.default)(T.prototype,"isPrimaryActionVisible",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),M=(0,o.default)(T.prototype,"isBannerOpen",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),(0,o.default)(T.prototype,"handlePromptResponse",[d.action],Object.getOwnPropertyDescriptor(T.prototype,"handlePromptResponse"),T.prototype),(0,o.default)(T.prototype,"handleCloseBanner",[d.action],Object.getOwnPropertyDescriptor(T.prototype,"handleCloseBanner"),T.prototype),(0,o.default)(T.prototype,"handleUndoAction",[d.action],Object.getOwnPropertyDescriptor(T.prototype,"handleUndoAction"),T.prototype),(0,o.default)(T.prototype,"fireImpressionEvents",[d.action],Object.getOwnPropertyDescriptor(T.prototype,"fireImpressionEvents"),T.prototype),T))
|
|
function N(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0
|
|
const n={promptName:this.args.banner.trackingBannerName??"",actionCategory:e}
|
|
t&&(n.actionName=t)
|
|
this.tracking.fireTrackingPayload("NotificationPromptActionEvent",n)}function A(e){this.legoTracking.sendLegoAction(this.args.banner.legoTrackingToken??"",e,1)}}))
|
|
define("notifications/components/nt-settings-summary",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/components/shared/external-link"],(function(e,t,n,i,o,a,r){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const l=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"Pdd3FBC3",block:'[[[1,"\\n"],[1," "],[10,0],[14,0,"nt-settings-summary"],[12],[1,"\\n "],[10,1],[14,0,"nt-settings-summary__description t-14 t-black--light t-normal"],[12],[1,"\\n "],[10,1],[14,0,"nt-settings-summary__icon"],[12],[1,"\\n "],[8,[32,0],null,[["@type","@size","@name"],["system","medium","bell-outline"]],null],[1,"\\n "],[13],[1,"\\n "],[1,[28,[32,1],["i18n_notifications_improve_your_notifications","notifications/components/nt-settings-summary"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,2],null,[["@href","@target","@class"],["/mypreferences/d/categories/notifications","_blank","link-without-hover-visited t-16 t-bold"]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],["i18n_notifications_view_settings","notifications/components/nt-settings-summary"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[],false,[]]',moduleName:"notifications/components/nt-settings-summary.gjs",scope:()=>[o.default,a.default,r.default],isStrictMode:!0}),(0,n.default)("nt-settings-summary","NtSettingsSummary"))
|
|
e.default=l}))
|
|
define("notifications/components/object-bin",["exports","ember-drag-drop/components/object-bin"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=t.default}))
|
|
define.alias("ember-cloud-filepicker/components/onedrive-file-picker","notifications/components/onedrive-file-picker")
|
|
define.alias("helpcenter-in-product-ember/components/search-bar","notifications/components/search-bar")
|
|
define.alias("helpcenter-in-product-ember/components/search-results-list","notifications/components/search-results-list")
|
|
define.alias("ember-self-focused/components/self-focused","notifications/components/self-focused")
|
|
define.alias("ember-finite-scroll/components/sentinel","notifications/components/sentinel")
|
|
define.alias("ember-cloud-filepicker/components/slideshare-file-picker","notifications/components/slideshare-file-picker")
|
|
define("notifications/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("notifications/config/environment",["exports"],(function(e){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
let t
|
|
try{const e="notifications/config/environment",n=document.querySelector('meta[name="'+e+'"]').getAttribute("content")
|
|
t=JSON.parse(unescape(n))}catch(e){t={sparkPlaceholders:{includeHashes:["assets/media-player.amd.js"]}}}e.default=t}))
|
|
define("notifications/constants/banner-constants",["exports"],(function(e){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.PROMPT_ACTION_CATEGORIES=void 0
|
|
e.PROMPT_ACTION_CATEGORIES=Object.freeze({CLICK_CTA:"CLICK_CTA",DISMISS:"DISMISS",UNDO:"UNDO"})}))
|
|
define("notifications/controllers/aggregate-landing",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/object","@ember/controller","@glimmer/tracking","nt-card/utils/constants"],(function(e,t,n,i,o,a,r,l,s){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var c,d
|
|
e.default=(c=class extends r.default{constructor(){super(...arguments);(0,n.default)(this,"queryParams",["groupBy","notificationType"]);(0,n.default)(this,"pageViewKey",s.PAGE_KEYS.AGGREGATE_LIST);(0,t.default)(this,"actionTargetHandler",d,this)}backToIndex(){this.transitionToRoute("index",{queryParams:{filter:"all"}})}},d=(0,i.default)(c.prototype,"actionTargetHandler",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),(0,i.default)(c.prototype,"backToIndex",[a.action],Object.getOwnPropertyDescriptor(c.prototype,"backToIndex"),c.prototype),c)}))
|
|
define("notifications/controllers/aggregate-landing_loading",["exports","@ember/controller","global-utils/utils/is-browser"],(function(e,t,n){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class i extends t.default{get isGlobalNavRendered(){return!!n.default&&!!document.getElementById("global-nav")}}e.default=i}))
|
|
define("notifications/controllers/aggregated",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/object","@ember/controller","@glimmer/tracking"],(function(e,t,n,i,o,a,r,l){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var s,c
|
|
e.default=(s=class extends r.default{constructor(){super(...arguments);(0,t.default)(this,"actionTargetHandler",c,this)}backToIndex(){this.transitionToRoute("index")}},c=(0,i.default)(s.prototype,"actionTargetHandler",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),(0,i.default)(s.prototype,"backToIndex",[a.action],Object.getOwnPropertyDescriptor(s.prototype,"backToIndex"),s.prototype),s)}))
|
|
define("notifications/controllers/application",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/controller","@ember/service","nt-card/utils/action-target-handler","@glimmer/tracking","nt-card/utils/nt-settings-handler"],(function(e,t,n,i,o,a,r,l,s,c){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var d,u,p,f,m,b,g,h,y,v,k,_,w,P,T,x,O,C,S,j
|
|
e.default=(d=(0,r.inject)("authentication@authenticated-user"),u=(0,r.inject)("profile-services@identity-store"),p=(0,r.inject)("i18n"),f=(0,r.inject)("lix"),m=(0,r.inject)("pem-tracking"),b=(0,r.inject)("persistent-toast-manager@persistent-toast-manager"),g=(0,r.inject)("router"),h=(0,r.inject)("global-services@store-shim"),y=(0,r.inject)("global-services@window"),v=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"authenticatedUser",k,this);(0,t.default)(this,"identityStore",_,this);(0,t.default)(this,"i18n",w,this);(0,t.default)(this,"lix",P,this);(0,t.default)(this,"pemTracking",T,this);(0,t.default)(this,"persistentToastManager",x,this);(0,t.default)(this,"router",O,this);(0,t.default)(this,"storeShim",C,this);(0,t.default)(this,"windowService",S,this);(0,t.default)(this,"isLoading",j,this)}get actionTargetHandler(){if(!this._actionTargetHandler){const e={i18n:this.i18n,identityStore:this.identityStore,pemTracking:this.pemTracking,persistentToastManager:this.persistentToastManager,router:this.router,store:this.storeShim,windowService:this.windowService}
|
|
this._actionTargetHandler=new l.default(e)}return this._actionTargetHandler}get ntSettingsHandler(){this._ntSettingsHandler||(this._ntSettingsHandler=new c.default(this.authenticatedUser,this.i18n,this.lix,this.pemTracking,this.persistentToastManager,this.storeShim))
|
|
return this._ntSettingsHandler}},k=(0,i.default)(v.prototype,"authenticatedUser",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,i.default)(v.prototype,"identityStore",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(v.prototype,"i18n",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(v.prototype,"lix",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,i.default)(v.prototype,"pemTracking",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,i.default)(v.prototype,"persistentToastManager",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,i.default)(v.prototype,"router",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,i.default)(v.prototype,"storeShim",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,i.default)(v.prototype,"windowService",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,i.default)(v.prototype,"isLoading",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),v)}))
|
|
define("notifications/controllers/index",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/service","@ember/object","@ember/controller","@glimmer/tracking"],(function(e,t,n,i,o,a,r,l,s){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var c,d,u,p,f,m,b,g,h,y,v,k,_,w
|
|
e.default=(c=(0,a.inject)("lix"),d=(0,a.inject)("global-services@store-shim"),u=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"lix",p,this);(0,t.default)(this,"storeShim",f,this);(0,n.default)(this,"queryParams",["filter"]);(0,t.default)(this,"actionTargetHandler",m,this);(0,t.default)(this,"filter",b,this);(0,t.default)(this,"isChangingFilter",g,this);(0,t.default)(this,"isRefreshing",h,this);(0,t.default)(this,"ntSettingsHandler",y,this);(0,t.default)(this,"showFeedbackModal",v,this);(0,t.default)(this,"feedbackTeamName",k,this);(0,t.default)(this,"feedbackAdditionalEmails",_,this);(0,t.default)(this,"feedbackAdditionalLabels",w,this)}get isStaff(){return this.lix.getTreatmentIsEnabled("voyager.client.staff")}updateFilterParam(e){this.filter=e}markCardAsRead(e){if(!(0,r.get)(e,"read")){(0,r.set)(e,"read",!0)
|
|
this.storeShim.adapterFor("-ember-m3").ajax("/voyager/api/voyagerNotificationsDashBadge?action=markItemAsRead","POST",{data:{item:(0,r.get)(e,"entityUrn")}})}}openFeedbackModal(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null
|
|
if(e){const{partnerTeamName:t,partnerTeamEmailAddress:n,jiraLabel:i}=(0,r.getProperties)(e,"partnerTeamName","partnerTeamEmailAddress","jiraLabel")
|
|
this.feedbackTeamName=t
|
|
this.feedbackAdditionalEmails=n
|
|
this.feedbackAdditionalLabels=i}this.showFeedbackModal=!0}closeFeedbackModal(){this.showFeedbackModal=!1
|
|
this.feedbackTeamName=""
|
|
this.feedbackAdditionalEmails=""
|
|
this.feedbackAdditionalLabels=""}},p=(0,i.default)(u.prototype,"lix",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,i.default)(u.prototype,"storeShim",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,i.default)(u.prototype,"actionTargetHandler",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=(0,i.default)(u.prototype,"filter",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,i.default)(u.prototype,"isChangingFilter",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h=(0,i.default)(u.prototype,"isRefreshing",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),y=(0,i.default)(u.prototype,"ntSettingsHandler",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=(0,i.default)(u.prototype,"showFeedbackModal",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),k=(0,i.default)(u.prototype,"feedbackTeamName",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),_=(0,i.default)(u.prototype,"feedbackAdditionalEmails",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),w=(0,i.default)(u.prototype,"feedbackAdditionalLabels",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),(0,i.default)(u.prototype,"updateFilterParam",[r.action],Object.getOwnPropertyDescriptor(u.prototype,"updateFilterParam"),u.prototype),(0,i.default)(u.prototype,"markCardAsRead",[r.action],Object.getOwnPropertyDescriptor(u.prototype,"markCardAsRead"),u.prototype),(0,i.default)(u.prototype,"openFeedbackModal",[r.action],Object.getOwnPropertyDescriptor(u.prototype,"openFeedbackModal"),u.prototype),(0,i.default)(u.prototype,"closeFeedbackModal",[r.action],Object.getOwnPropertyDescriptor(u.prototype,"closeFeedbackModal"),u.prototype),u)}))
|
|
define("notifications/controllers/loading",["exports","@ember/controller","global-utils/utils/is-browser"],(function(e,t,n){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class i extends t.default{get isGlobalNavRendered(){return!!n.default&&!!document.getElementById("global-nav")}}e.default=i}))
|
|
define("notifications/engine",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/engine","strict-resolver","ember-load-initializers"],(function(e,t,n,i,o){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const a="notifications"
|
|
class r extends n.default{constructor(){super(...arguments);(0,t.default)(this,"modulePrefix",a);(0,t.default)(this,"Resolver",i.default)}}(0,o.default)(r,a)
|
|
e.default=r}))
|
|
define.alias("ember-truth-helpers/helpers/and","notifications/helpers/and")
|
|
define.alias("artdeco-datepicker/helpers/artdeco-adjust-date-for-timezone","notifications/helpers/artdeco-adjust-date-for-timezone")
|
|
define.alias("artdeco-datepicker/helpers/artdeco-is-between-dates","notifications/helpers/artdeco-is-between-dates")
|
|
define.alias("ember-media-player/helpers/autoplay-media","notifications/helpers/autoplay-media")
|
|
define.alias("artdeco-datepicker/helpers/cal-dates-equal","notifications/helpers/cal-dates-equal")
|
|
define.alias("ember-element-helper/helpers/element","notifications/helpers/element")
|
|
define.alias("ember-holy-futuristic-template-namespacing-batman/helpers/-translate-dynamic-2","notifications/helpers/ember-holy-futuristic-template-namespacing-batman-translate-dynamic-2")
|
|
define("notifications/helpers/ensure-safe-component",["exports","@embroider/util"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.EnsureSafeComponentHelper}})}))
|
|
define.alias("ember-truth-helpers/helpers/eq","notifications/helpers/eq")
|
|
define.alias("ember-media-player/helpers/format-autoplay","notifications/helpers/format-autoplay")
|
|
define.alias("ember-cli-pemberly-i18n/helpers/format-number","notifications/helpers/format-number")
|
|
define.alias("ember-semaphore/helpers/format-title","notifications/helpers/format-title")
|
|
define.alias("ember-truth-helpers/helpers/gt","notifications/helpers/gt")
|
|
define.alias("ember-truth-helpers/helpers/gte","notifications/helpers/gte")
|
|
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-name","notifications/helpers/hue-web-artdeco-icon-migration-runtime")
|
|
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-v2","notifications/helpers/hue-web-artdeco-li-icon-migration-runtime-v2")
|
|
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-path","notifications/helpers/hue-web-artdeco-li-icon-migration-runtime")
|
|
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-argument","notifications/helpers/hue-web-artdeco-migration-runtime")
|
|
define.alias("helpcenter-in-product-ember/helpers/includes","notifications/helpers/includes")
|
|
define.alias("ember-truth-helpers/helpers/is-array","notifications/helpers/is-array")
|
|
define.alias("ember-truth-helpers/helpers/is-empty","notifications/helpers/is-empty")
|
|
define.alias("ember-truth-helpers/helpers/is-equal","notifications/helpers/is-equal")
|
|
define.alias("artdeco-icons-web/helpers/li-icon","notifications/helpers/li-icon")
|
|
define.alias("ember-async-data/helpers/load","notifications/helpers/load")
|
|
define.alias("ember-truth-helpers/helpers/lt","notifications/helpers/lt")
|
|
define.alias("ember-truth-helpers/helpers/lte","notifications/helpers/lte")
|
|
define.alias("ember-truth-helpers/helpers/not-eq","notifications/helpers/not-eq")
|
|
define.alias("ember-truth-helpers/helpers/not","notifications/helpers/not")
|
|
define.alias("ember-truth-helpers/helpers/or","notifications/helpers/or")
|
|
define("notifications/helpers/page-title",["exports","ember-page-title/helpers/page-title"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=t.default}))
|
|
define("notifications/helpers/ref-to",["exports","ember-ref-bucket/helpers/ref-to"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.defineProperty(e,"refTo",{enumerable:!0,get:function(){return t.default}})}))
|
|
define.alias("ember-app-scheduler/helpers/route-idle","notifications/helpers/route-idle")
|
|
define.alias("ember-media-player/helpers/seek-media","notifications/helpers/seek-media")
|
|
define.alias("ember-set-helper/helpers/set","notifications/helpers/set")
|
|
define.alias("ember-cli-pemberly-i18n/helpers/t","notifications/helpers/t")
|
|
define.alias("ember-truth-helpers/helpers/xor","notifications/helpers/xor")
|
|
define.alias("ember-uuid","notifications/index")
|
|
define("notifications/initializers/coordinator-setup",["exports","notifications/models/coordinator"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default={name:"setup coordinator",initialize:function(){let e=arguments[1]||arguments[0]
|
|
e.register("drag:coordinator",t.default)}}}))
|
|
define("notifications/initializers/icons",["exports","artdeco-icons-web/src/icons","notifications/config/environment"],(function(e,t,n){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
function i(e){throw e}e.default={name:"icons",initialize:function(){const{environment:e,APP:o}=n.default
|
|
let a,r
|
|
o&&({artdecoCustomSpriteUrl:a,artdecoCustomSpriteName:r}=o)
|
|
const l="test"!==e
|
|
t.default.load(l,a,r).catch(i)}}}))
|
|
define.alias("ember-cli-pemberly-lix/initializers/lix","notifications/initializers/lix")
|
|
define.alias("ember-m3/initializers/m3-store","notifications/initializers/m3-store")
|
|
define("notifications/instance-initializers/artdeco",["exports","artdeco-eyeglass"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.initialize=o
|
|
const n=[t.default.contextClasses,t.default.floatingLabel,t.default.focusOutline]
|
|
function i(e,t){const i=e[t]
|
|
e[t]=function(){n.forEach((e=>e&&"function"==typeof e.teardown&&e.teardown()))
|
|
i&&"function"==typeof i&&i.call(e)}}function o(e){if("undefined"!=typeof document){n.forEach((e=>e.install()))
|
|
"function"==typeof e.willDestroy?i(e,"willDestroy"):"function"==typeof e.destroy&&i(e,"destroy")}}e.default={name:"artdeco",initialize:o}}))
|
|
define.alias("ember-ref-bucket/instance-initializers/global-ref-cleanup","notifications/instance-initializers/global-ref-cleanup")
|
|
define.alias("video/instance-initializers/media-plugins","notifications/instance-initializers/media-plugins")
|
|
define.alias("tracking-overlay-service/instance-initializers/tracking-overlay","notifications/instance-initializers/tracking-overlay")
|
|
define("notifications/models/coordinator",["exports","@ember/object","@ember/object/evented","notifications/models/obj-hash","ember-drag-drop/utils/proxy-unproxy-objects"],(function(e,t,n,i,o){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=t.default.extend(n.default,{objectMap:(0,t.computed)((function(){return i.default.create()})),getObject:function(e,t){t=t||{}
|
|
var n=this.get("objectMap").getObj(e)
|
|
if(n.ops.source&&!n.ops.source.isDestroying&&!n.ops.source.isDestroyed){const e=n.ops.source.action
|
|
"function"==typeof e&&e(n.obj)
|
|
"string"==typeof e&&"function"==typeof n.ops.source.target[e]&&n.ops.source.target[e](n.obj)}if(n.ops.target&&!n.ops.target.isDestroying&&!n.ops.target.isDestroyed){const e=n.ops.target.action
|
|
"function"==typeof e&&e(n.obj)
|
|
"string"==typeof e&&"function"==typeof n.ops.target.source[e]&&n.ops.target.source[e](n.obj)}this.trigger("objectMoved",{obj:(0,o.unwrapper)(n.obj),source:n.ops.source,target:t.target})
|
|
return(0,o.unwrapper)(n.obj)},setObject:function(e,t){t=t||{}
|
|
return this.get("objectMap").add({obj:e,ops:t})}})}))
|
|
define("notifications/models/obj-hash",["exports","@ember/object","@ember/object/computed","@ember/array"],(function(e,t,n,i){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=t.default.extend({contentLength:0,length:(0,n.alias)("contentLength"),init:function(){this._super()
|
|
this.content={}},add:function(e){var t=this.generateId()
|
|
this.get("content")[t]=e
|
|
this.incrementProperty("contentLength")
|
|
return t},getObj:function(e){var t=this.get("content")[e]
|
|
if(!t)throw new Error("no obj for key "+e)
|
|
return t},generateId:function(){var e=1e12*Math.random()
|
|
return e=""+(e=parseInt(e))},keys:function(){var e=[]
|
|
for(var t in this.get("content"))e.push(t)
|
|
return(0,i.A)(e)}})}))
|
|
define.alias("artdeco-datepicker/modifiers/artdeco-calendar-click-watcher","notifications/modifiers/artdeco-calendar-click-watcher")
|
|
define.alias("ember-ref-bucket/modifiers/create-ref","notifications/modifiers/create-ref")
|
|
define.alias("ember-css-transitions/modifiers/css-transition","notifications/modifiers/css-transition")
|
|
define.alias("@ember/render-modifiers/modifiers/did-insert","notifications/modifiers/did-insert")
|
|
define.alias("ember-scroll-modifiers/modifiers/did-intersect","notifications/modifiers/did-intersect")
|
|
define.alias("ember-resize-modifier/modifiers/did-resize","notifications/modifiers/did-resize")
|
|
define.alias("@ember/render-modifiers/modifiers/did-update","notifications/modifiers/did-update")
|
|
define.alias("ember-finite-scroll/modifiers/ember-finite-scroll/focus","notifications/modifiers/ember-finite-scroll/focus")
|
|
define.alias("image-editor/modifiers/fabric","notifications/modifiers/fabric")
|
|
define("notifications/modifiers/initialize-badges",["exports","ember-modifier"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const n=(0,t.modifier)(((e,t,n)=>{let{onRender:i}=n
|
|
null==i||i()}),{eager:!1})
|
|
e.default=n}))
|
|
define("notifications/modifiers/on-dom-insert",["exports","ember-modifier"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.modifier)((function(e,t){let[n]=t
|
|
n(e)
|
|
return()=>{}}))}))
|
|
define.alias("ember-prop-modifier","notifications/modifiers/prop")
|
|
define.alias("ember-scroll-modifiers/modifiers/scroll-into-view","notifications/modifiers/scroll-into-view")
|
|
define.alias("ember-sortable/modifiers/sortable-group","notifications/modifiers/sortable-group")
|
|
define.alias("ember-sortable/modifiers/sortable-handle","notifications/modifiers/sortable-handle")
|
|
define.alias("ember-sortable/modifiers/sortable-item","notifications/modifiers/sortable-item")
|
|
define.alias("@ember/render-modifiers/modifiers/will-destroy","notifications/modifiers/will-destroy")
|
|
define.alias("ember-cloud-filepicker/providers/base-provider","notifications/providers/base-provider")
|
|
define.alias("ember-cloud-filepicker/providers/dropbox-provider","notifications/providers/dropbox-provider")
|
|
define.alias("ember-cloud-filepicker/providers/onedrive-provider","notifications/providers/onedrive-provider")
|
|
define("notifications/providers/slideshare-provider",["exports","ember-cloud-filepicker/providers/slideshare-provider"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define("notifications/routes/aggregate-landing",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/object","@ember/routing/route","nt-card/utils/constants","nt-requests/requests/cards"],(function(e,t,n,i,o,a,r,l,s,c,d){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var u,p,f,m,b
|
|
e.default=(u=(0,r.inject)("global-services@store-shim"),p=(0,r.inject)("tracking"),f=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"storeShim",m,this);(0,t.default)(this,"tracking",b,this);(0,n.default)(this,"pageKey",c.PAGE_KEYS.AGGREGATE)}model(e){if((0,a.isDestroying)(this))return
|
|
const{groupBy:t,notificationType:n}=e
|
|
return this.storeShim.queryURL(...(0,d.buildSecondaryCardsM3Request)(t,n))}afterModel(e){(0,a.isDestroying)(this)||(0,l.get)(e,"elements.length")>0&&this.tracking.firePageViewEvent(c.PAGE_KEYS.AGGREGATE_LIST)}setupController(e,t){if((0,a.isDestroying)(this))return
|
|
super.setupController(e,t)
|
|
const{actionTargetHandler:n}=this.controllerFor("application")
|
|
e.actionTargetHandler=n}buildRouteInfoMetadata(){return{debug:{suggestedTeams:["notifications"],attachments:[{fileName:"notifications-aggregate-landing.txt",blobGenerator:()=>new Blob([JSON.stringify(this.currentModel,null,2)],{type:"application/octet-stream"})}]}}}},m=(0,i.default)(f.prototype,"storeShim",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(f.prototype,"tracking",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f)}))
|
|
define("notifications/routes/aggregated",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/object","@ember/routing/route","nt-card/utils/constants","nt-requests/requests/cards"],(function(e,t,n,i,o,a,r,l,s,c,d){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var u,p,f,m,b
|
|
e.default=(u=(0,r.inject)("global-services@store-shim"),p=(0,r.inject)("tracking"),f=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"storeShim",m,this);(0,t.default)(this,"tracking",b,this);(0,n.default)(this,"pageKey",c.PAGE_KEYS.AGGREGATE)}model(e){if((0,a.isDestroying)(this))return
|
|
const t=decodeURIComponent(e.notificationUrn||"")
|
|
return this.storeShim.queryURL(...(0,d.buildAggregatedCardsM3Request)(t)).then((t=>{if((0,a.isDestroying)(this))return
|
|
const n=decodeURIComponent(e.title||"")
|
|
return{cardCollection:t,pageViewKey:c.PAGE_KEYS.AGGREGATE_LIST,title:jSecure.sanitizeHTML(n)}}))}afterModel(e){(0,a.isDestroying)(this)||(0,l.get)(e,"cardCollection.elements.length")>0&&this.tracking.firePageViewEvent(c.PAGE_KEYS.AGGREGATE_LIST)}setupController(e,t){if((0,a.isDestroying)(this))return
|
|
super.setupController(e,t)
|
|
const{actionTargetHandler:n}=this.controllerFor("application")
|
|
e.actionTargetHandler=n}buildRouteInfoMetadata(){const e=(0,l.get)(this,"currentModel.cardCollection")
|
|
return{debug:{suggestedTeams:["notifications"],attachments:[{fileName:"notifications-aggregated.txt",blobGenerator:()=>new Blob([JSON.stringify(e,null,2)],{type:"application/octet-stream"})}]}}}},m=(0,i.default)(f.prototype,"storeShim",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(f.prototype,"tracking",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f)}))
|
|
define("notifications/routes/index",["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/destroyable","@ember/service","@ember/routing/route","@ember/object","nt-requests/requests/cards","nt-requests/requests/pills","nt-card/utils/constants","data-layer/m3-configs/jobs/jobs-home-prefetch-config","rsvp","global-utils/utils/is-browser","notifications/utils/scroll-helpers","ember","ember-lifeline"],(function(e,t,n,i,o,a,r,l,s,c,d,u,p,f,m,b,g,h,y){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var v,k,_,w,P,T,x,O,C,S,j,M,E,I,N,A
|
|
const z="notifications",{DEFAULT_PAGE_COUNT:D}=p.COUNTS
|
|
e.default=(v=(0,l.inject)("feed-utils@content-admin-identities"),k=(0,l.inject)("global-nav-shared@badge"),_=(0,l.inject)("lix"),w=(0,l.inject)("nt-card@nt-card-iterator"),P=(0,l.inject)("prefetch"),T=(0,l.inject)("global-services@store-shim"),x=(0,l.inject)("global-services@local-storage"),O=(A=new WeakSet,class extends s.default{constructor(){super(...arguments)
|
|
A.add(this);(0,t.default)(this,"contentAdminIdentities",C,this);(0,t.default)(this,"badge",S,this);(0,t.default)(this,"lix",j,this);(0,t.default)(this,"ntCardIterator",M,this);(0,t.default)(this,"prefetch",E,this);(0,t.default)(this,"storeShim",I,this);(0,t.default)(this,"localStorage",N,this);(0,n.default)(this,"_filter",null)}beforeModel(e){this.prefetch.prefetchData((0,f.jobsPrefetchConfig)(this.localStorage,e,this.lix),"notifications-jobs")}model(e){let{filter:t}=e
|
|
if((0,r.isDestroying)(this))return
|
|
const n=this.badge.getBadgeCount(z)>0
|
|
return(0,i.default)(this,A,F).call(this,t,n)}afterModel(e){if(!(0,r.isDestroying)(this)&&e){this.contentAdminIdentities.identities.length||this.contentAdminIdentities.fetchContentAdminIdentities()
|
|
this._scrollToPreviousPosition()}}setupController(e){if((0,r.isDestroying)(this))return
|
|
super.setupController(...arguments)
|
|
const t=this.controllerFor("application")
|
|
e.actionTargetHandler=t.actionTargetHandler
|
|
e.ntSettingsHandler=t.ntSettingsHandler
|
|
e.filter=this._filter}_scrollToPreviousPosition(){const{lastScrollPosition:e}=this.ntCardIterator
|
|
e&&(0,y.scheduleTask)(this,"render",(()=>{(0,g.scrollToPosition)(this,e)}))}loading(e){var t,n
|
|
if((null===(t=e.to)||void 0===t?void 0:t.name.startsWith("notifications"))&&(null===(n=e.from)||void 0===n?void 0:n.name.startsWith("notifications")))return!1
|
|
const i=this.controllerFor("application")
|
|
i.isLoading=!0
|
|
e.promise.finally((()=>{(0,r.isDestroying)(this)||(i.isLoading=!1)}))
|
|
return!0}queryParamsDidChange(e){let{filter:t,refresh:n}=e
|
|
if(!n&&!t||!this.controller||this.controller.isChangingFilter||this.controller.isRefreshing){if(this.controller){if(this.controller.isChangingFilter){this.ntCardIterator.setLastScrollPosition(0)
|
|
this.ntCardIterator.cacheCurrentState()}this.controller.isChangingFilter=!1}}else{if(b.default&&t!==this._filter){const e=h.default.testing?document.querySelector("#ember-testing-container"):document.scrollingElement||document.body
|
|
this.ntCardIterator.setLastScrollPosition(e.scrollTop)
|
|
this.ntCardIterator.cacheCurrentState()}this.controller.isRefreshing=!0;(0,i.default)(this,A,F).call(this,t,n).then((e=>{if(!(0,r.isDestroying)(this)){this.controller.filter=this._filter;(0,c.set)(this,"currentModel",e)
|
|
e&&this._scrollToPreviousPosition()}})).finally((()=>{(0,r.isDestroying)(this)||(this.controller.isRefreshing=!1)}))}}willTransition(){0===this.badge.getBadgeCount(z)&&this.badge.markAllItemsAsSeen({badgeName:z,forceAPI:!0})
|
|
if(b.default){const e=h.default.testing?document.querySelector("#ember-testing-container"):document.scrollingElement||document.body
|
|
this.ntCardIterator.setLastScrollPosition(e.scrollTop)
|
|
this.ntCardIterator.cacheCurrentState()}return!0}buildRouteInfoMetadata(){return{debug:{suggestedTeams:["notifications"],attachments:[{fileName:"notifications-data.txt",blobGenerator:this._getNotificationDebugData.bind(this)}]}}}_getNotificationDebugData(){return new Blob([JSON.stringify(this.ntCardIterator.cards,null,2)],{type:"application/octet-stream"})}}),C=(0,o.default)(O.prototype,"contentAdminIdentities",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,o.default)(O.prototype,"badge",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,o.default)(O.prototype,"lix",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,o.default)(O.prototype,"ntCardIterator",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,o.default)(O.prototype,"prefetch",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,o.default)(O.prototype,"storeShim",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,o.default)(O.prototype,"localStorage",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.default)(O.prototype,"loading",[c.action],Object.getOwnPropertyDescriptor(O.prototype,"loading"),O.prototype),(0,o.default)(O.prototype,"queryParamsDidChange",[c.action],Object.getOwnPropertyDescriptor(O.prototype,"queryParamsDidChange"),O.prototype),(0,o.default)(O.prototype,"willTransition",[c.action],Object.getOwnPropertyDescriptor(O.prototype,"willTransition"),O.prototype),O)
|
|
function F(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
|
|
const n=this.badge.getBadgeCount(z)>0||t,i={pillsReq:this.storeShim.queryURL(...(0,u.buildPillsFilterVanityNameM3Request)(e))}
|
|
let o=!1
|
|
n||(o=this.ntCardIterator.applyCachedState(e))
|
|
o||(i.cardsReq=this.storeShim.queryURL(...(0,d.buildCardsFilterVanityNameM3RequestV2)(e,{DEFAULT_PAGE_COUNT:D,reload:n})))
|
|
return(0,m.hash)(i).then((e=>{let{cardsReq:t,pillsReq:n}=e
|
|
if((0,r.isDestroying)(this))return
|
|
o||this.ntCardIterator.setCollectionResults(t)
|
|
const i={pills:(0,c.get)(n,"elements")},a=o?this.ntCardIterator.notificationFilter:(0,c.get)(t,"metadata.notificationFilter")
|
|
if(a){i.banner=(0,c.get)(a,"banners.elements.firstObject")
|
|
i.productEducation=(0,c.get)(a,"productEducations.elements.firstObject")
|
|
this._filter=(0,c.get)(a,"vanityName")}return i}))}}))
|
|
define("notifications/routes/index/index",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/routing/route"],(function(e,t,n){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class i extends n.default{constructor(){super(...arguments);(0,t.default)(this,"pageKey","flagship3_notifications")}}e.default=i}))
|
|
define.alias("@embroider/util/services/ensure-registered","notifications/services/-ensure-registered")
|
|
define.alias("artdeco-hoverables/services/artdeco-hoverable","notifications/services/artdeco-hoverable")
|
|
define.alias("artdeco-modal/services/artdeco-modal","notifications/services/artdeco-modal")
|
|
define.alias("artdeco-toast/services/artdeco-toast","notifications/services/artdeco-toast")
|
|
define.alias("client-sensor-web/services/client-sensor","notifications/services/client-sensor")
|
|
define.alias("ember-date-service/services/date","notifications/services/date")
|
|
define("notifications/services/drag-coordinator",["exports","ember-drag-drop/services/drag-coordinator"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=t.default}))
|
|
define.alias("ember-self-focused/services/focus-manager","notifications/services/focus-manager")
|
|
define.alias("@linkedin/ember-restli-graphql/services/graphql","notifications/services/graphql")
|
|
define.alias("image-editor/services/image-editor-loader","notifications/services/image-editor-loader")
|
|
define.alias("@linkedin/ember-pem/services/internal-event-utils","notifications/services/internal-event-utils")
|
|
define.alias("@linkedin/ember-pem/services/internal-pem-tracking","notifications/services/internal-pem-tracking")
|
|
define.alias("helpcenter-in-product-ember/services/iph-service","notifications/services/iph-service")
|
|
define.alias("ember-cli-pemberly-lix/services/lix","notifications/services/lix")
|
|
define.alias("ember-m3/services/m3-schema-manager","notifications/services/m3-schema-manager")
|
|
define.alias("ember-media-player/services/media-player","notifications/services/media-player")
|
|
define.alias("ember-page-title/services/page-title-list","notifications/services/page-title-list")
|
|
define.alias("ember-page-title/services/page-title","notifications/services/page-title")
|
|
define.alias("@linkedin/ember-pem/services/pem-response-metadata","notifications/services/pem-response-metadata")
|
|
define.alias("@linkedin/ember-pem/services/pem-tracking","notifications/services/pem-tracking")
|
|
define.alias("persistent-toast-manager/services/persistent-toast-manager","notifications/services/persistent-toast-manager")
|
|
define.alias("@linkedin/ember-qualtrics/services/qualtrics-surveys","notifications/services/qualtrics-surveys")
|
|
define.alias("ember-media-player/services/static-asset-loader","notifications/services/static-asset-loader")
|
|
define.alias("ember-cli-pemberly-m3/services/store","notifications/services/store")
|
|
define.alias("ember-cli-pemberly-litms/services/tag-manager","notifications/services/tag-manager")
|
|
define.alias("@linkedin/ember-pem/services/tracer","notifications/services/tracer")
|
|
define.alias("ember-cli-pemberly-litms/services/tracking-adapter-for-tag-manager","notifications/services/tracking-adapter-for-tag-manager")
|
|
define("notifications/template-registry",[],(function(){}))
|
|
define("notifications/templates/aggregate-landing",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"m54YSKfd",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"artdeco-card__header p2 display-flex align-items-center"],[12],[1,"\\n "],[8,[39,1],[[24,0,"mr2"],[4,[38,3],["click",[30,0,["backToIndex"]]],null]],[["@aria-label","@circle","@color","@controlType","@icon","@type"],[[28,[37,2],["i18n_back","notifications/templates/aggregate-landing"],null],true,"muted","button","arrow-left","tertiary"]],null],[1,"\\n "],[10,"h1"],[14,0,"t-20 t-bold"],[12],[1,[30,0,["model","metadata","title"]]],[13],[1,"\\n "],[13],[1,"\\n "],[8,[39,4],null,[["@cards","@occlusionEnabled"],[[30,0,["model","elements"]],false]],[["default"],[[[[1,"\\n "],[8,[39,5],null,[["@card","@actionTargetHandler","@pageViewKey","@showSettingsDropdown","@zeroBasedIndex"],[[30,1],[30,0,["actionTargetHandler"]],[30,0,["pageViewKey"]],false,[30,2]]],null],[1,"\\n "]],[1,2]]]]],[1,"\\n"]],[]]]]]],["card","index"],false,["artdeco-card@artdeco-card","artdeco-button@artdeco-button","t","on","nt-card@nt-card-list","nt-card@nt-card"]]',moduleName:"notifications/templates/aggregate-landing.hbs",isStrictMode:!1})}))
|
|
define("notifications/templates/aggregate-landing_loading",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"OlEJw+kB",block:'[[[41,[51,[30,0,["isGlobalNavRendered"]]],[[[1," "],[8,[39,1],null,null,null],[1,"\\n"]],[]],null],[8,[39,2],null,null,null]],[],false,["unless","scaffold-skeleton@shared/global/global-nav","notifications@loaders/nt-aggregate-landing-skeleton"]]',moduleName:"notifications/templates/aggregate-landing_loading.hbs",isStrictMode:!1})}))
|
|
define("notifications/templates/aggregated",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"EiG00pmO",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"artdeco-card__header p2 display-flex align-items-center"],[12],[1,"\\n "],[8,[39,1],[[24,0,"mr2"],[4,[38,3],["click",[30,0,["backToIndex"]]],null]],[["@aria-label","@circle","@color","@controlType","@icon","@type"],[[28,[37,2],["i18n_back","notifications/templates/aggregated"],null],true,"muted","button","arrow-left","tertiary"]],null],[1,"\\n "],[10,"h1"],[14,0,"t-16"],[12],[1,[30,0,["model","title"]]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[39,4],null,[["@cards"],[[30,0,["model","cardCollection","elements"]]]],[["default"],[[[[1,"\\n "],[8,[39,5],null,[["@card","@actionTargetHandler","@pageViewKey","@showSettingsDropdown","@zeroBasedIndex"],[[30,1],[30,0,["actionTargetHandler"]],[30,0,["model","pageViewKey"]],false,[30,2]]],null],[1,"\\n "]],[1,2]]]]],[1,"\\n"]],[]]]]]],["card","index"],false,["artdeco-card@artdeco-card","artdeco-button@artdeco-button","t","on","nt-card@nt-card-list","nt-card@nt-card"]]',moduleName:"notifications/templates/aggregated.hbs",isStrictMode:!1})}))
|
|
define("notifications/templates/aggregated_loading",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"91fNOWKS",block:'[[[8,[39,0],[[24,0,"mt9"]],[["@size"],["small"]],null]],[],false,["artdeco-loader@artdeco-loader"]]',moduleName:"notifications/templates/aggregated_loading.hbs",isStrictMode:!1})}))
|
|
define("notifications/templates/application",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"rkcfJLOZ",block:'[[[1,[28,[35,0],[[28,[37,1],["i18n_notifications_title","notifications/templates/application"],null]],null]],[1,"\\n\\n"],[8,[39,2],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["isLoading"]],[[[1," "],[46,[28,[37,5],null,null],null,null,null],[1,"\\n"]],[]],[[[1," "],[8,[39,6],null,null,[["default"],[[[[1,"\\n "],[8,[39,7],null,null,[["sidebar","main","aside"],[[[[1,"\\n "],[8,[30,2,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,8],[[24,0,"nt-application__left-rail-main-card-container"]],null,[["default"],[[[[1,"\\n "],[10,"h1"],[14,0,"nt-application__left-rail-main-card-container-title t-16 t-black t-bold"],[12],[1,"\\n "],[1,[28,[35,1],["i18n_manage_notifications","notifications/templates/application"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[39,9],[[24,0,"link-without-visited-state t-14 t-bold"]],[["@href","@target"],["/mypreferences/d/categories/notifications","_blank"]],[["default"],[[[[1,"\\n "],[1,[28,[35,1],["i18n_view_settings","notifications/templates/application"],null]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]],[[[1,"\\n"],[1," "],[10,0],[14,0,"nt-content relative"],[12],[1,"\\n "],[46,[28,[37,5],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n"],[41,[30,1],[[[1," "],[8,[30,3,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,10],[[24,0,"artdeco-card overflow-hidden"]],[["@pageZone","@slotSize","@zone","@onAdBannerLoaded"],["PAGE_ZONE_BODY_RIGHT","300x250","NOTIFICATIONS",[30,0,["onAdBannerLoaded"]]]],null],[1,"\\n\\n "],[8,[39,11],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"nt-application__right-rail-placeholder"],[12],[13],[1,"\\n"]],[]]],[1," "]],[3]]]]],[1,"\\n "]],[1]]]]],[1,"\\n"]],[]]]],[]]]]]],["renderAdSection","Sidebar","Aside"],false,["ember-page-title@page-title","t","ember-self-focused@self-focused","if","component","-outlet","notifications@lazy-ad-renderer","scaffold-layout@layout","artdeco-card@artdeco-card","ember-cli-pemberly-tracking@shared/external-link","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"notifications/templates/application.hbs",isStrictMode:!1})}))
|
|
define("notifications/templates/components/draggable-object-target",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"20KpmzMG",block:'[[[41,[30,1],[[[1," "],[11,3],[24,6,"#"],[4,[38,1],[[30,0,["acceptForDrop"]]],null],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[18,2,null],[1,"\\n"]],[]]]],["@enableClicking","&default"],false,["if","fn","yield"]]',moduleName:"notifications/templates/components/draggable-object-target.hbs",isStrictMode:!1})}))
|
|
define("notifications/templates/components/draggable-object",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"VGWe3/7O",block:'[[[41,[30,1],[[[1," "],[11,3],[24,6,"#"],[4,[38,1],[[30,0,["selectForDrag"]]],null],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[18,2,null],[1,"\\n"]],[]]]],["@enableClicking","&default"],false,["if","fn","yield"]]',moduleName:"notifications/templates/components/draggable-object.hbs",isStrictMode:!1})}))
|
|
define("notifications/templates/components/sortable-objects",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"SQERbGs+",block:'[[[18,1,null]],["&default"],false,["yield"]]',moduleName:"notifications/templates/components/sortable-objects.hbs",isStrictMode:!1})}))
|
|
define("notifications/templates/index",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"ET20F1Dv",block:'[[[8,[39,0],null,[["@actionTargetHandler","@banner","@filterVanityName","@isModelRefreshing","@markCardAsRead","@ntSettingsHandler","@openFeedbackModal","@pills","@productEducation","@updateFilterParam","@updateIsChangingFilter"],[[30,0,["actionTargetHandler"]],[30,0,["model","banner"]],[30,0,["filter"]],[30,0,["isRefreshing"]],[30,0,["markCardAsRead"]],[30,0,["ntSettingsHandler"]],[30,0,["openFeedbackModal"]],[30,0,["model","pills"]],[30,0,["model","productEducation"]],[30,0,["updateFilterParam"]],[28,[37,1],[[30,0],"isChangingFilter",true],null]]],null],[1,"\\n\\n"],[41,[30,0,["isStaff"]],[[[1," "],[8,[39,3],null,[["@bundle","@retryLimit"],["feedback",2]],[["resolved"],[[[[1,"\\n"],[41,[30,0,["showFeedbackModal"]],[[[44,[[28,[30,1,["component"]],["feedback-submit"],null]],[[[1," "],[8,[30,2],null,[["@isModalOpen","@closeModal","@recipient","@recipientName","@additionalRecipients","@additionalLabels"],[[30,0,["showFeedbackModal"]],[30,0,["closeFeedbackModal"]],"npengineering",[29,["Notifications ",[52,[30,0,["feedbackTeamName"]],"-"]," ",[30,0,["feedbackTeamName"]]]],[30,0,["feedbackAdditionalEmails"]],[30,0,["feedbackAdditionalLabels"]]]],null],[1,"\\n"]],[2]]]],[]],null],[1," "]],[1]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[46,[28,[37,6],null,null],null,null,null]],["resolved","FeedbackSubmit"],false,["notifications@nt-main-content","ember-set-helper@set","if","asset-loader@asset-loader","let","component","-outlet"]]',moduleName:"notifications/templates/index.hbs",isStrictMode:!1})}))
|
|
define("notifications/templates/loading",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"f2mtI7aF",block:'[[[41,[51,[30,0,["isGlobalNavRendered"]]],[[[1," "],[8,[39,1],null,null,null],[1,"\\n"]],[]],null],[8,[39,2],null,null,null]],[],false,["unless","scaffold-skeleton@shared/global/global-nav","notifications@loaders/nt-homepage-skeleton"]]',moduleName:"notifications/templates/loading.hbs",isStrictMode:!1})}))
|
|
define.alias("ember-async-data/tracked-async-data","notifications/tracked-async-data")
|
|
define("notifications/utils/asset-utils",["exports","ember-cloud-filepicker/utils/asset-utils"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define.alias("ember-highcharts/utils/build-options","notifications/utils/build-options")
|
|
define("notifications/utils/file-error",["exports","ember-cloud-filepicker/utils/file-error"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define("notifications/utils/file-result",["exports","ember-cloud-filepicker/utils/file-result"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define("notifications/utils/get-app-config",["exports","ember-cloud-filepicker/utils/get-app-config"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define.alias("ember-cli-artdeco-tabs/utils/get-box-model-width","notifications/utils/get-box-model-width")
|
|
define.alias("client-sensor-web/utils/helpers","notifications/utils/helpers")
|
|
define.alias("@linkedin/hue-web-artdeco-migration-runtime/utils/mapping-data","notifications/utils/mapping-data")
|
|
define("notifications/utils/mime-type-utils",["exports","ember-cloud-filepicker/utils/mime-type-utils"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define("notifications/utils/scroll-helpers",["exports","global-utils/utils/is-browser","ember-batcher","ember","@ember/destroyable"],(function(e,t,n,i,o){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.scrollToPosition=function(e,a){t.default&&(0,n.readDOM)((()=>{if((0,o.isDestroying)(e))return
|
|
const t=i.default.testing?document.getElementById("ember-testing-container"):document.scrollingElement||document.body;(0,n.mutateDOM)((()=>{(0,o.isDestroying)(e)||(t.scrollTop=a)}))}))}}))
|
|
define("notifications/utils/uuid-generator",["exports","ember-uuid/utils/uuid-generator"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return t.parse}})
|
|
Object.defineProperty(e,"unparse",{enumerable:!0,get:function(){return t.unparse}})
|
|
Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return t.v1}})
|
|
Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return t.v4}})}))
|
|
define("notifications/utils/validation-helpers",["exports","ember-cloud-filepicker/utils/validation-helpers"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define.alias("ember-vector-images/utils/vector-url","notifications/utils/vector-url")
|
|
define("notifications/utils/window-helpers",["exports","ember-cloud-filepicker/utils/window-helpers"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
|
|
//# sourceMappingURL=engine.map |