PageSourceSearch

https://www.charlottetilbury.com/_next/static/chunks/3080-9130131586fb8713.js

js charlottetilbury.com collected 2026-09-24 08:40:35 UTC 6,802 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3080,9526],{19526:(e,t,a)=>{"use strict";a.d(t,{A:()=>C});var c=a(22599),n=a(51026),s=a(7534),l=a(79e3),i=a(29794),o=a(21745),r=a(73808),d=a.n(r);a(42413);var u=a(51954),_=a(76282),p=a(30736),m=a(27206),b=a(53843),h=a(80156),v=a(99587),g=a(91808),w=a(84075),x=a(41624),j=a(59867);a(37903);var N="UpsellModal",f=function(e){var t=e.t,a=e.product,c=e.parentProductName,n=e.badgeContent,s=e.description,l=e.children,i=e.overrideIsFree,r=(0,x.VF)(a),d=void 0!==i&&i||(0,x._J)(a.price);return(0,o.jsxs)("div",{className:"".concat(N,"__content"),children:[(0,o.jsx)(_.Ay,{level:3,displayLevel:3,className:"".concat(N,"__title"),children:a.title}),(null==a?void 0:a.subtitle)!==a.title&&(0,o.jsx)(_.Ay,{level:4,displayLevel:4,className:"".concat(N,"__subtitle"),children:a.subtitle}),(null==a?void 0:a.subtitle)===a.title&&c&&(0,o.jsx)(_.Ay,{level:4,displayLevel:4,className:"".concat(N,"__subtitle"),children:t("components:upsell-modal.subtitle",{productName:c})}),(0,o.jsx)("p",{className:d?"".concat(N,"__price-free"):"".concat(N,"__price"),children:d?t("product:label.free"):(0,w.$g)(r)}),!!n&&(0,o.jsx)(u.A,{className:"".concat(N,"__badge"),content:n}),s&&(0,o.jsx)("div",{className:"".concat(N,"__description"),dangerouslySetInnerHTML:{__html:s}}),l]})};let C=(0,c.Ng)(function(e){return{account:(0,n.sU)(e)}}
1)((0,s.CI)()(function(e){var t=e.t,a=e.title,c=e.product,n=e.onCloseClick,s=e.isLowercaseBanner,r=e.showProductBanner,u=e.content,_=void 0===u?(0,o.jsx)(f,(0,i._)({},e)):u;if((0,j.a)(),!c)return null;var w=a||t("components:bundle-upsell.title");return(0,o.jsxs)(g.Ay,{isVisible:!0,bodyOverflow:!1,dialogClassName:N,ariaLabel:w,onModalClose:n,children:[(0,o.jsx)("div",{className:"".concat(N,"__icon-action-wrapper"),children:(0,o.jsx)(m.A,{Icon:p.US,onClick:n,label:t("common:page.cta.close")})}),c.images&&(0,o.jsx)(h.Ay,{controlMode:v.SN.Touch,className:"".concat(N,"__rails"),ariaLabel:v.pn.Products,children:c.images.map(function(e,t){return(0,o.jsx)("div",{className:"".concat(N,"__rails-image-wrapper"),children:(0,o.jsx)(b.A,{className:"".concat(N,"__rails-image"),primaryImage:e})},t)})}),void 0===r||r?(0,o.jsx)("h2",{className:d()("".concat(N,"__banner"),(0,l._)({},"".concat(N,"__banner--no-transform"),void 0!==s&&s)),children:w}):(0,o.jsx)("div",{className:"".concat(N,"__banner-replacement")}),_]})}))},24899:(e,t,a)=>{"use strict";a.d(t,{w:()=>I,A:()=>D});var c,n=a(23513),s=a(79e3),l=a(29794),i=a(99123),o=a(77192),r=a(86716),d=a(21745),u=a(73808),_=a.n(u),p=a(42413),m=a(33840),b=a(39696),h=a(82711),v=a(18261),g=a(2555),w=a(99299),x=a(19526);a(76965);let j=function(e){var t=e.buttonLabel,a=e.description,c=e.isButtonDisabled,n=e.isLoading,s=e.onButtonClick,l=e.onClose,i=e.onSwatchClick,o=e.trackClickSwatch,r=e.product,u=e.swatches,_=e.showProductBanner;return(0,d.jsxs)(x.A,{product:r,onCloseClick:l,description:a,showProductBanner:_,children:[(0,d.jsx)(g.A,{backgroundColor:w.T.color.secondary("navigation-grey",!0),bundleProductName:"bundleProductName test",isRadioGroup:!0,onClick:i,customSwatchTracking:o,selectedProduct:r,swatches:u}),(0,d.jsx)(h.A,{className:"".concat("SimpleProductSwatchListModal","__cta"),"aria-label":t,buttonType:m.G.Primary,disabled:c,loading:n||!1,onClick:s,"data-test":"swatch-list-button",children:t})]})};var N=a(23164),f=a(81524),C=a(63188),A=a(19608),k=a(58282),y=a(84075),S=a(41624),P=a(7534),L=a(56087),B=a(78177),T=a(50655);a(53793);var I=((c={}).Selected="isSelected",c.Disabled="isDisabled",c.Unavailable="isUnavailable",c),U="ProductSelectorItem";let D=function(e){var t,a=e.product,c=e.product,u=c.title,g=c.subtitle,w=c.images,x=c.price,I=c.productDifferentiator,D=e.position,M=e.listItemCount,F=e.bundleItem,G=e.isButtonLoading,R=e.onSelect,V=e.buttonLabel,E=e.mode,J=e.shouldShowPrice,H=e.displayAsRow,O=e.previouslySelectedProduct,$=e.isSelected,q=e.showProductBanner,z=e.trackViewSwatches,K=e.trackClickSwatch,Q=e.showFreeLabel,W=e.shouldTrackImpression,X=e.className;e.getFeatureStatus;var Y=_()(U,X,(t={},(0,s._)(t,"".concat(U,"--selected"),"isSelected"===E),(0,s._)(t,"".concat(U,"--disabled"),"isDisabled"===E),(0,s._)(t,"".concat(U,"--unavailable"),"isUnavailable"===E),(0,s._)(t,"".concat(U,"--display-as-row"),H),t)),Z=a.image?a.image:null,ee=w&&w[0]||Z,et=(0,o._)((0,p.useState)(a),2),ea=et[0],ec=et[1],en=(0,o._)((0,A.A)(),3),es=en[0],el=en[2],ei=(0,o._)((0,A.A)(),2),eo=ei[0],er=ei[1],ed=(0,C.A)(),eu=(0,P.Bd)().t,e_=(0,N.A)(a),ep=(0,B.Ay)(eu,a,B.ar.ProductCard,e_,B.ww.SingleNoTrade),em=(0,k.A)(),eb=(0,p.useMemo)(function(){return W?(0,f.Gs)({product:a,position:D,number_items:M,badges:ep.badges}):void 0},[W,a,D,ep,M]),eh=(0,p.useMemo)(function(){return eb?em.concat(eb):em},[eb,em]),ev=(0,p.useRef)(null),eg=function(){z&&F&&!eo&&z(F,em),ed.current&&er()},ew=F?eg:R,ex=(null==F?void 0:F.siblings.map(function(e){return e}))||[],ej=eu((null==O?void 0:O.id)===ea.id?"product:cta.remove-and-continue":"product:cta.select-and-continue"),eN="isDisabled"===E||"isUnavailable"===E,ef=eu("basket:page.samples-selector.label.free");return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(T.A,{productContext:eb,enrichedTrackingContext:eh,intersectionTarget:ev,isReady:ep.isReady,children:(0,d.jsxs)("div",{role:"listitem",className:Y,"data-testid":"product-selector-item",ref:ev,children:[(0,d.jsx)(b.A,(0,i._)((0,l._)({},ee),{options:H?{w:200}:{w:300,h:300},parentClass:"".concat(U,"__image-wrapper"),className:"".concat(U,"__image")})),(0,d.jsxs)("div",{className:"".concat(U,"__details"),children:[(0,d.jsx)(v.A,{badges:ep.badges}),(0,d.jsx)("h5",{className:"".concat(U,"__title-label"),children:u}),I&&(0,d.jsx)("span",{className:"".concat(U,"__differentiator-label"),children:I}),(0,d.jsx)("span",{className:"".concat(U,"__subtitle-label"),children:g})]}),J&&x&&(0,d.jsx)("span",{className:"".concat(U,"__price-label"),children:void 0!==Q&&Q&&(0,S._J)(x)?ef:(0,y.jj)(x)}),(0,d.jsx)(h.A,(0,i._)((0,l._)({"aria-label":V,buttonType:G||$?m.G.Primary:m.G.Secondary,disabled:eN,loading:G,onClick:function(){return ew(a,eh)}},"isUnavailable"===E&&{element:"div",role:"text"}),{"data-test":"product-selector-item-cta",children:V}))]})}),eo&&F&&(0,d.jsx)(j,{buttonLabel:ej,description:a.description,isButtonDisabled:eN,isLoading:es,onButtonClick:function(){return(0,n._)(function(){return(0,r._)(this,function(e){switch(e.label){case 0:return[4,(0,n._)(function(){return(0,r._)(this,function(e){switch(e.label){case 0:return el(!0),[4,L.A.delay(250)];case 1:return e.sent(),el(!1),[2]}})})()];case 1:return e.sent(),R(ea,em,F),eg(),[2]}})})()},onClose:eg,onSwatchClick:ec,trackClickSwatch:K,product:ea,swatches:ex,showProductBanner:q})]})}},37903:()=>{},53793:()=>{},73080:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var c=a(42230),n=a(24899);let s=(0,c.A)(n.A)},76965:()=>{}}]);

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.