PageSourceSearch

https://www.paulaschoice.com/on/demandware.static/Sites-paulaschoi…/static/js/4645.55c16348e16e457e61a6.js

js paulaschoice.com collected 2026-09-24 17:09:43 UTC 4,624 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksite=self.webpackChunksite||[]).push([[4645],{8563:(e,t,n)=>{n.d(t,{D4:()=>y,Kr:()=>C,Mm:()=>I,Pr:()=>u,Te:()=>g,XB:()=>x,XG:()=>A,bN:()=>z,ck:()=>p,i5:()=>_,mO:()=>m,nB:()=>h,n_:()=>f});var o=n(53057),i=n(83),a=n(25491),l=n(28963),s=n(58233),r=n(50941),d=n(84883),c=n(23324),m=(0,o.Ay)(i.Ay).withConfig({displayName:"Offerstyles__Wrapper",componentId:"sc-h9j0zz-0"})(["border:none;border-radius:16px;overflow:hidden;"]),p=o.Ay.div.withConfig({displayName:"Offerstyles__AssetWrapper",componentId:"sc-h9j0zz-1"})(["position:relative;img{display:block;width:100%;}"]),f=o.Ay.div.withConfig({displayName:"Offerstyles__AppendedMessageMask",componentId:"sc-h9j0zz-2"})(["position:absolute;top:0;left:0;width:100%;height:100%;background:rgb(18,18,18,0.65);display:flex;align-items:center;justify-content:center;"]),y=(0,o.Ay)(l.Ay).withConfig({displayName:"Offerstyles__AppendedMessage",componentId:"sc-h9j0zz-3"})(["color:#fff;"]),h=o.Ay.div.withConfig({displayName:"Offerstyles__Body",componentId:"sc-h9j0zz-4"})(["display:flex;flex-direction:column;justify-content:flex-end;height:100%;min-height:140px;padding:16px 18px 12px;"]),g=o.Ay.div.withConfig({displayName:"Offerstyles__PromoText",componentId:"sc-h9j0zz-5"})([""]),u=(0,o.Ay)(d.Ay).withConfig({displayName:"Offerstyles__PromoHeader",componentId:"sc-h9j0zz-6"})([""," &&{font-family:",";font-weight:1000;line-height:1.45;}"],l.Qp,c.A.fontFamily),A=(0,o.Ay)(d.Ay).withConfig({displayName:"Offerstyles__PromoSubHeader",componentId:"sc-h9j0zz-7"})(["&&{margin-top:4px;font-size:10px;line-height:1.38;height:30px;}"]),_=(0,o.Ay)(l.Ay).withConfig({displayName:"Offerstyles__Bottom",componentId:"sc-h9j0zz-8"})(["display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px;min-height:38px;"]),z=(0,o.Ay)(a.A).withConfig({displayName:"Offerstyles__DetailsLink",componentId:"sc-h9j0zz-9"})(["&&{display:inline-block;padding:0;color:inherit;text-decoration:underline;text-transform:none;}"]),x=(0,o.Ay)(s.Ay).withConfig({displayName:"Offerstyles__RedeemButton",componentId:"sc-h9j0zz-10"})(["margin-left:auto;"]),C=(0,o.Ay)(r.A).withConfig({displayName:"Offerstyles__StyledLinkButton",componentId:"sc-h9j0zz-11"})(["margin-left:auto;&&&& button{font-size:8px;font-weight:1000;padding:11px 18px;}"]),I=o.Ay.div.withConfig({displayName:"Offerstyles__Applied",componentId:"sc-h9j0zz-12"})(["margin-left:auto;display:flex;align-items:center;opacity:0.7;svg{width:1em;height:1em;margin-right:0.2em;}"])},24645:(e,t,n)=>{n.r(t),n.d(t,{default:()=>y});var o=n(79082),i=n(14041),a=n(87411),l=n(7155),s=n(82993),r=n(41156),d=n(392),c=n(8563),m=n(25030),p=n(59879),f=n(50243);const y=function(e){var t=(0,i.useContext)(d.B),n=t.analytics,y=t.common,h=y.strings,g=y.svgs,u=(0,i.useContext)(p._w),A=e.data,_=e.contentSlotId,z=(0,i.useState)(!1),x=(0,o.A)(z,2),C=x[0],I=x[1],k=(0,i.useState)(!1),w=(0,o.A)(k,2),E=w[0],v=w[1],O=A.cmsData,b=A.id,j=_;if(!O)return null;var N=O.couponCode,B=O.promotion,M=O.colorsetOptions,S=O.image,T=O.linkUrl,D=O.linkText,H=O.promoHeader,P=O.promoSubHeader,L=!(!H||!H.length)||!(!P||!P.length)||!(!B||!B.markup)||!!N||!(!D||!T)||C;return i.createElement(c.mO,{colorset:M},i.createElement(c.ck,null,S&&(T?i.createElement(s.A,{id:s.V.offerImage,url:T,assetId:b,pageType:r.g.generic},S&&i.createElement(f.Ay,{image:S})):i.createElement(f.Ay,{image:S})),C&&i.createElement(c.n_,null,i.createElement(c.D4,{font:"medium1",uppercase:!0},h.appendedToCart))),L&&i.createElement(c.nB,null,(!(!H||!H.length)||!(!P||!P.length))&&i.createElement(c.Te,null,H&&H.length>0&&i.createElement(c.Pr,{text:H}),P&&P.length>0&&i.createElement(c.XG,{text:P})),i.createElement(c.i5,{font:"small2"},B&&B.markup&&i.createElement(c.bN,{"data-test":m.A.offerDetails,onClick:function(){n.trackEvent({name:"offerDetailsModalOpen"},{assetId:b,slotId:j}),v(!0)}},h.details),!N&&D&&T&&i.createElement(c.Kr,{size:"small",assetId:b,id:s.V.offer,url:T,pageType:r.g.generic,secondary:!0},D),C&&i.createElement(c.Mm,null,i.createElement("span",{dangerouslySetInnerHTML:{__html:g.check}}),h.applied),!!N&&!C&&i.createElement(c.XB,{"data-test":m.A.offerRedeem,secondary:!0,size:"small",onClick:function(){return function(e){var t=e.couponCode;n.trackEvent({name:"offerRedeemClick"},{assetId:b,slotId:j,couponCode:t}),u.addCoupon({couponCode:t}).then((function(){I(!0)}))}({couponCode:N})}},h.redeem))),E&&i.createElement(a.A,{close:function(){n.trackEvent({name:"offerDetailsModalClose"},{assetId:b,slotId:j}),v(!1)},closeLabel:h.close,colorset:B.colorset},i.createElement(l.A,{format:!0,assetId:void 0,contentSlotId:"",html:B.markup})))}}}]);

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.