PageSourceSearch

https://www.paulaschoice.com/on/demandware.static/Sites-paulaschoi…/static/js/2972.30e7b8d0466422596765.js

js paulaschoice.com collected 2026-09-24 17:09:30 UTC 9,503 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksite=self.webpackChunksite||[]).push([[2972],{72972:(e,t,n)=>{n.r(t),n.d(t,{ArticleLink:()=>D,BreadcrumbSlash:()=>j,Breadcrumbs:()=>F,Crumb:()=>q,default:()=>G});var a=n(64619),i=n(79082),r=n(14041),o=n(53057),d=n(23324),l=n(392),c=n(43024),m=n(19218),p=n(83),s=n(28963),f=n(8202),g=n(21219),h=n(78743),x=o.Ay.div.withConfig({displayName:"LeftBar__Wrapper",componentId:"sc-qtrval-0"})(["width:320px;flex-shrink:0;margin-right:50px;@media screen and (max-width:","){display:none;}","{padding:0;}"],d.A.expertAdviceMobileMaxWidth,f.Padding);const u=function(e){var t=e.asset,n=e.contextId;return r.createElement(x,null,r.createElement(c.A,{marginType:"eagerMobile",data:t,id:"leftBarPage",contextName:"folder",contextId:n}))};var w=n(25491),A=n(41156),y=n(82993),v=n(84883),_=n(27043),b=n(14731),I=(0,o.Ay)(p.Ay).withConfig({displayName:"LeftBarPage__Wrapper",componentId:"sc-fxn3w4-0"})(["","{padding:0;}"],f.Padding),M=o.Ay.div.withConfig({displayName:"LeftBarPage__DesktopOnly",componentId:"sc-fxn3w4-1"})(["@media screen and (max-width:","){display:none;}"],d.A.expertAdviceMobileMaxWidth),E=o.Ay.div.withConfig({displayName:"LeftBarPage__MobileOnly",componentId:"sc-fxn3w4-2"})(["display:none;@media screen and (max-width:","){display:block;}"],d.A.expertAdviceMobileMaxWidth),B=(0,o.Ay)(p.Ay).withConfig({displayName:"LeftBarPage__Columns",componentId:"sc-fxn3w4-3"})((function(e){var t=e.wideMode;return"\n\tmax-width: ".concat(d.A.maxWidth,";\n\tmargin: 0 auto;\n\tpadding: ").concat(t?"0":"0 100px",";\n\tdisplay: flex;\n\tposition: relative;\n\tpadding-top: 100px;\n\n\t&.overlap-image {\n\t\ttop: -180px;\n\t}\n\n\t@media screen and (max-width: ").concat(d.A.expertAdviceMobileMaxWidth,") {\n\t\tmax-width: ").concat(d.A.mobileWidth,";\n\t\tpadding: 0 20px;\n\t\t&.overlap-image {\n\t\t\ttop: 0;\n\t\t}\n\t}\n")})),C=o.Ay.div.withConfig({displayName:"LeftBarPage__TopImageWrapper",componentId:"sc-fxn3w4-4"})(["display:flex;overflow:hidden;justify-content:center;width:100%;@media screen and (max-width:","){width:auto;margin:0 -20px;}"],d.A.expertAdviceMobileMaxWidth),L=(0,o.Ay)(g.A).withConfig({displayName:"LeftBarPage__TopImage",componentId:"sc-fxn3w4-5"})(["display:block;@media screen and (max-width:","){margin-bottom:20px;}"],d.A.expertAdviceMobileMaxWidth),N=o.Ay.div.withConfig({displayName:"LeftBarPage__MobileLeftBar",componentId:"sc-fxn3w4-6"})(["display:none;@media screen and (max-width:","){display:block;}"],d.A.expertAdviceMobileMaxWidth),P=o.Ay.div.withConfig({displayName:"LeftBarPage__RightSide",componentId:"sc-fxn3w4-7"})((function(e){var t=e.wideMode;return"\n\twidth: 100%;\n\tmax-width: ".concat(t?"unset":"".concat(d.A.expertAdviceSingleColumnMaxWidth),";\n\tmargin: 0 auto 100px;\n\toverflow: hidden;\n\n\t@media screen and (min-width: ").concat(d.A.mobileMaxWidthValue+1,"px) and (max-width: ").concat(d.A.expertAdviceMobileMaxWidth,") {\n\t\tmargin-top: 50px;\n\t}\n")})),W=(0,o.Ay)(s.Ay).withConfig({displayName:"LeftBarPage__Title",componentId:"sc-fxn3w4-8"})(["margin-bottom:30px;@media screen and (max-width:","){margin-top:30px;}"],d.A.expertAdviceMobileMaxWidth),k=(0,o.Ay)(s.Ay).withConfig({displayName:"LeftBarPage__AuthorInfo",componentId:"sc-fxn3w4-9"})(["margin-top:30px;"]),T=o.Ay.div.withConfig({displayName:"LeftBarPage__AuthorInfoLine",componentId:"sc-fxn3w4-10"})(["margin-bottom:10px;"]),S=o.Ay.span.withConfig({displayName:"LeftBarPage__AuthorInfoLabel",componentId:"sc-fxn3w4-11"})(["margin-right:10px;color:",";"],p.RB),V=(0,o.Ay)(y.A).withConfig({displayName:"LeftBarPage__AuthorInfoNameLink",componentId:"sc-fxn3w4-12"})([""]),R=o.Ay.span.withConfig({displayName:"LeftBarPage__AuthorInfoCredential",componentId:"sc-fxn3w4-13"})([""]),O=o.Ay.hr.withConfig({displayName:"LeftBarPage__AuthorInfoDividerLine",componentId:"sc-fxn3w4-14"})(["height:6px;width:60px;background-color:",";margin:20px 0 40px;"],p.rp),D=(0,o.Ay)(y.A).withConfig({displayName:"LeftBarPage__ArticleLink",componentId:"sc-fxn3w4-15"})(["width:50%;padding:20px 0px;@media screen and (max-width:","){width:100%;}"],d.A.mobileWidth),j=o.Ay.span.withConfig({displayName:"LeftBarPage__BreadcrumbSlash",componentId:"sc-fxn3w4-16"})(["padding-left:8px;padding-right:8px;"]),q=o.Ay.span.withConfig({displayName:"LeftBarPage__Crumb",componentId:"sc-fxn3w4-17"})([""]),F=o.Ay.div.withConfig({displayName:"LeftBarPage__Breadcrumbs",componentId:"sc-fxn3w4-18"})(["margin-bottom:30px;text-transform:uppercase;letter-spacing:0.5px;color:",";@media screen and (max-width:","){margin:25px 0;overflow-wrap:anywhere;","{padding:5px 0;}","{padding:0 13px;}","{white-space:nowrap;}}"],p.Dq,d.A.mobileMaxWidth,D,j,q),Q=(0,o.Ay)(p.Ay).withConfig({displayName:"LeftBarPage__Articles",componentId:"sc-fxn3w4-19"})((function(e){return"\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\toverflow: hidden;\n\tmargin-bottom: 20px;\n\n\ta:nth-child(n + ".concat(9,") {\n\t\theight: ").concat(e.showMore?"auto":"0",";\n\t\tpadding: ").concat(e.showMore?"20px 0px":"0",";\n\t}\n\n\t@media screen and (max-width: ").concat(d.A.mobileWidth,") {\n\t\ta:nth-child(n + ").concat(5,") {\n\t\t\theight: ").concat(e.showMore?"auto":"0",";\n\t\t\tpadding: ").concat(e.showMore?"20px 0px":"0",";\n\t\t}\n\t}\n")})),U=o.Ay.div.withConfig({displayName:"LeftBarPage__ArticleTitle",componentId:"sc-fxn3w4-20"})(["margin:100px 0 20px;"]),$=(0,o.Ay)(s.Ay).withConfig({displayName:"LeftBarPage__ArticleShow",componentId:"sc-fxn3w4-21"})(["display:",";justify-content:center;border:1px solid ",";border-left:0;border-right:0;width:100%;text-align:center;height:50px;padding:15px;cursor:pointer;@media screen and (max-width:","){display:",";}"],(function(e){return e.count>8?"flex":"none"}),p.gg,d.A.mobileWidth,(function(e){return e.count>4?"flex":"none"})),z=(0,o.Ay)(b.A).withConfig({displayName:"LeftBarPage__ChevronSvg",componentId:"sc-fxn3w4-22"})((function(e){return"\n\tposition: relative;\n\n\tsvg {\n\t\twidth: 16px;\n\t\theight: 16px;
1\n\t\tmargin-top: 1px;\n\t\tmargin-right: 10px;\n\t\tfill: ".concat(e.theme.colorset.foreground,";\n\t\t").concat(e.active?"":"transform: rotate(180deg);","\n\t}\n")}));const G=function(){var e,t=(0,r.useState)(!1),n=(0,i.A)(t,2),o=n[0],p=n[1],s=(0,r.useContext)(l.B),f=s.analytics,g=s.common,x=(0,r.useContext)(_.NQ).page,b=(0,r.useContext)(_.NQ).customerPage;if(!x)return r.createElement(h.A,{type:"left-bar"});var G=x.pageContent,H=x.wideMode,J=x.categories,K=x.articles,X=x.articlesTitle,Y=x.articlesViewText,Z=x.articlesViewMoreText,ee=x.articlesViewLessText,te=x.reviewer,ne=x.author,ae=x.updatedOn,ie=x.strings,re=b&&b.slots,oe=re&&[re.folder1,re.folder2].filter((function(e){return!!e})),de=[x.content&&[x.content]];oe&&de.push.apply(de,(0,a.A)(oe));var le=re&&[re.folder3,re.folder4].filter((function(e){return!!e})),ce=re&&[re.folder5,re.folder6,re.folder7,re.folder8,re.folder9].filter((function(e){return!!e})),me=function(e){var t=(0,m.$R)(e.html1);return{desktopImage:t.length?t[0]:null,mobileImage:t.length>1?t[1]:null}}(G),pe=me.desktopImage,se=me.mobileImage,fe=function(){return r.createElement(r.Fragment,null,pe&&r.createElement(C,null,r.createElement(L,{image:pe},se&&r.createElement("source",{media:"(max-width:".concat(d.A.expertAdviceMobileMaxWidth,")"),srcSet:se.url}),r.createElement("source",{media:"(min-width:".concat(d.A.expertAdviceMobileMaxWidthValue+1,"px)"),srcSet:pe.url}))))},ge=function(e,t){return r.createElement(T,null,r.createElement(S,null,e+":"),t.url?r.createElement(V,{assetId:void 0,pageType:A.g.content,id:y.V.leftBarAuthor,url:t.url},r.createElement(w.A,null,t.name)):t.name,t.credential&&r.createElement(R,null," ".concat(t.credential)))},he=function(e,t){var n=x&&x.id;return r.createElement("div",null,e.map((function(e,a){return e&&e.map((function(e,i){return r.createElement(c.A,{marginType:"eagerMobile",key:a+"-"+i,data:e,id:"leftBarPage"+t+(a+1)+"-"+i,contextName:"folder",contextId:n,narrow:!0})}))})))};return r.createElement(I,{colorset:3},r.createElement(M,null,fe()),r.createElement(B,{colorset:3,className:pe?"overlap-image":"",wideMode:H},x&&x.content&&r.createElement(u,{asset:x.content,contextId:x.id}),r.createElement(P,{wideMode:H},r.createElement(r.Fragment,null,J&&J.length>0&&r.createElement(F,null,J.map((function(e,t){return r.createElement(q,{key:t},r.createElement(D,{url:e.url,pageType:A.g.content,id:y.V.breadcrumb,assetId:void 0},e.name),t<J.length-1&&r.createElement(j,null,"/"))}))),r.createElement(W,{font:"large1"},r.createElement("h1",null,G.text1[0])),r.createElement(E,null,fe()),(te||ne)&&ie&&r.createElement(k,{font:"large7"},ge(ie.writtenBy||"",ne||{name:ie.defaultContentAuthor}),te&&ge(ie.medicallyReviewedBy||"",te),ae&&ge(ie.updatedOn,{name:ae}),r.createElement(O,null)),le?he(le,"RightTop"):r.createElement(h.A,{type:"text"}),oe&&r.createElement(N,null,he(oe,"Left")),ce&&he(ce,"RightBottom"),null===(e=x.content)||void 0===e?void 0:e.slot,x.content&&K&&!!K.length&&X&&r.createElement(U,null,r.createElement(v.Ay,{text:X})),function(e){return e&&0!==e.length?r.createElement(Q,{colorset:3,showMore:o},e.map((function(e,t){return r.createElement(D,{key:t,url:e.url,pageType:A.g.content,id:y.V.article,assetId:void 0},r.createElement(w.A,null,e.name))}))):null}(K),x.content&&K&&r.createElement($,{font:"medium1",uppercase:!0,onClick:function(){f.trackEvent({name:o?"leftBarPageShowLessArticles":"leftBarPageShowMoreArticles"}),p(!o)},count:K.length},r.createElement(z,{svg:g.svgs.chevronUpSolid,active:o}),Z&&ee?o?ee:Z:Y&&Y.replace("{0}",o?"Less":"More"))))))}}}]);

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.