PageSourceSearch

https://www.ulta.com/ux/assets/js/ulta-modules-PromoGroup-PromoGroup-js.a9dd3882.chunk.js

js ulta.com collected 2026-10-01 08:04:52 UTC 5,046 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[8761,163],{82351:(e,i,t)=>{t.d(i,{Ay:()=>L});var l=t(55462),r=t(44545),n=t(19115),s=t(65682),a=t(19747),c=t(45112),o=t(83058);var m=t(86710),d=t(21365);function b(){return b=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var l in t)({}).hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},b.apply(null,arguments)}const u=function(e){const{alignment:i,backgroundColor:t,items:n,listPriceAccessibilityLabel:c,salePriceAccessibilityLabel:u,subtitle:A,title:g}=e,{breakpoint:P}=(0,d.bT)(),p=P?.isLargeDevice(),y=(e,i)=>{let t=i;const l=2===n.length,r=5===n.length&&(3===e||4===e),s=6===n.length&&(0===e||1===e);switch(!0){case!p:case l:case r:case s:t="vertical"}return t};return n?l.createElement("div",{className:r("PromotionalGrid",{PromotionalGrid__withBackgroundColor:t})},l.createElement(a.Ay,(0,o.iU)({fullBleedContentBackgroundColor:t}),g&&l.createElement("div",{className:r("PromotionalGrid__title",{"PromotionalGrid__title--noSubtitle":!A})},l.createElement(m.Ay,{textStyle:"title-4",htmlTag:"h2"},g)),A&&l.createElement("div",{className:"PromotionalGrid__subTitle"},l.createElement(m.Ay,{textStyle:"subtitle-1",htmlTag:"h3"},A)),n.map((e,t)=>l.createElement("div",{className:"PromotionalGrid__items",key:`PromotionalGridItems${t}`},l.createElement(s.Ay,b({},(0,o.iU)({...e}),{alignment:y(t,i),listPriceAccessibilityLabel:c,salePriceAccessibilityLabel:u})))))):null},A={title:n.string,subtitle:n.string,items:n.array,backgroundColor:n.string,alignment:n.string};u.propTypes=A;const g=u;function P(){return P=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var l in t)({}).hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},P.apply(null,arguments)}const p=function(e){const{dataCapture:i,items:t,alignment:n=y.alignment,backgroundColor:m,isGrid:d,sliderConfig:b=y.sliderConfig,spaceBetween:u,subtitle:A,title:p,viewAllAction:_,listPriceAccessibilityLabel:L,nextClickAction:C,previousClickAction:G,salePriceAccessibilityLabel:h,_railADAmeta:v,_railMeta:k}=e;return t?l.createElement("div",{className:r("PromotionalRailGrid",{PromotionalRailGrid__withBackgroundColor:m})},d&&l.createElement(g,{backgroundColor:m,title:p,subtitle:A,items:t,alignment:n}),!d&&l.createElement(a.Ay,(0,o.iU)({fullBleedContentBackgroundColor:m}),l.createElement(c.Ay,P({items:t,viewAllAction:_,previousClickAction:G,nextClickAction:C,spaceBetween:u,dataCapture:i,_railADAmeta:v,_railMeta:k},(0,o.iU)(b)),t?.length>0&&t?.map((e,i)=>l.createElement(c.q7,{key:`Rail${i+1} `},l.createElement(s.Ay,P({},(0,o.iU)({...e}),{listPriceAccessibilityLabel:L,salePriceAccessibilityLabel:h}))))))):null},y={alignment:"bottom",sliderConfig:{sliderPerViewXL:4,slidesPerGroupXL:4,sliderPerViewLG:3,slidesPerGroupLG:3,sliderPerViewMD:3,slidesPerGroupMD:3,sliderPerViewSM:1,slidesPerGroupSM:1}},_={alignment:n.string,backgroundColor:n.string,isGrid:n.bool,items:n.array,listPriceAccessibilityLabel:n.string,nextClickAction:n.object,previousClickAction:n.object,salePriceAccessibilityLabel:n.string,spaceBetween:n.number,subtitle:n.string,title:n.oneOfType([n.string,n.object]),viewAllAction:n.object,_railADAmeta:n.object,_railMeta:n.object};p.propTypes=_,p.defaultProps=y;const L=p},63677:(e,i,t)=>{t.r(i),t.d(i,{default:()=>A});var l=t(55462),r=t(19115),n=t(52696),s=t(99369),a=t(82351);const c=function(e){const{modules:i,railADAMeta:t,railMeta:r,title:c={},countLabel:m,isGrid:d,previousClickAction:b,nextClickAction:u,salePriceAccessibilityLabel:A,listPriceAccessibilityLabel:g}=e,{headline:P,subheadline:p,headlineTag:y="h2",linkAction:_,textAlignment:L}=c;return(0,n.Pb)(i)?l.createElement("div",{className:"PromoGroup"},l.createElement("div",{className:"PromoGroup__content"},P&&l.createElement("div",{className:"PromoGroup__titleSection"},l.createElement(s.default,{headline:P,subheadline:p,headlineTag:y,linkAction:_,textAlignment:L,countLabel:m}))),l.createElement(a.Ay,{items:i,isGrid:d,previousClickAction:b,nextClickAction:u,_railADAmeta:t,_railMeta:r,sliderConfig:o,salePriceA
1ccessibilityLabel:A,listPriceAccessibilityLabel:g})):null},o={sliderPerViewXL:6,slidesPerGroupXL:6,sliderPerViewLG:4,slidesPerGroupLG:4,sliderPerViewMD:4,slidesPerGroupMD:4,sliderPerViewSM:1.5,slidesPerGroupSM:1},m="grid",d="rail",b={[m]:{xl:"18.875rem",lg:"13.688rem",md:"10.75rem",sm:"10.563rem"},[d]:{xl:"13.813rem",lg:"14.313rem",md:"11.25rem",sm:"14rem"}},u={title:r.shape({headline:r.string,subheadline:r.string,headlineTag:r.string,linkAction:r.object,textAlignment:r.string}),countLabel:r.string,modules:r.array,isGrid:r.bool,railADAmeta:r.object,railMeta:r.object,previousClickAction:r.object,nextClickAction:r.object,listPriceAccessibilityLabel:r.string,salePriceAccessibilityLabel:r.string};c.propTypes=u,c.minHeights=b;const A=c},99369:(e,i,t)=>{t.r(i),t.d(i,{default:()=>l});const l=t(31109).Ay}}]);
2//# sourceMappingURL=ulta-modules-PromoGroup-PromoGroup-js.a9dd3882.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.