PageSourceSearch

https://mayaherring.com/_next/static/chunks/9135.4b86acb0759eee5b.js

js mayaherring.com collected 2026-10-08 19:55:41 UTC 15,062 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9135],{809135:function(e,t,a){a.r(t),a.d(t,{ProofReviews:function(){return N}});var l=a(816261),r=a(290126),n=a(145878),o=a(493734),s=a(518050),i=a(650819),c=a(960584),d=a(793801),u=a(678422),x=a(182500),h=a(673778);let v={mobile:{sectionPy:"py-12",outer:"px-4",headerMb:"mb-10",headerGap:"gap-4",labelClass:"text-[10px] uppercase",headingClass:"text-4xl leading-tight",cardW:300,cardGapPx:24,peekPullPx:0,cardMinH:180,cardPad:"p-6",cardStackGap:"gap-5",quoteClass:"leading-relaxed",quoteBasePx:18,quotePreferH:110,nameClass:"text-xs",roleClass:"text-xs opacity-60",navMt:"mt-8"},tablet:{sectionPy:"py-14",outer:"px-6",headerMb:"mb-12",headerGap:"gap-5",labelClass:"text-[10px] uppercase",headingClass:"text-5xl leading-tight",cardW:480,cardGapPx:16,peekPullPx:72,cardMinH:200,cardPad:"p-7",cardStackGap:"gap-7",quoteClass:"text-lg leading-relaxed",nameClass:"text-sm",roleClass:"text-sm opacity-60",navMt:"mt-12"},desktop:{sectionPy:"py-16",outer:"px-8",headerMb:"mb-16",headerGap:"gap-6",labelClass:"text-[10px] uppercase",headingClass:"text-5xl leading-none",cardW:560,cardGapPx:16,peekPullPx:88,cardMinH:220,cardPad:"p-8",cardStackGap:"gap-8",quoteClass:"text-xl leading-relaxed",nameClass:"text-sm",roleClass:"text-sm opacity-60",navMt:"mt-14"},largeDesktop:{sectionPy:"py-20",outer:"px-10",headerMb:"mb-20",headerGap:"gap-6",labelClass:"text-[11px] uppercase",headingClass:"text-6xl leading-none",cardW:640,cardGapPx:16,peekPullPx:100,cardMinH:240,cardPad:"p-9",cardStackGap:"gap-8",quoteClass:"text-xl leading-relaxed",nameClass:"text-sm",roleClass:"text-sm opacity-60",navMt:"mt-16"}};var f=a(955413),g=a(302828),m=a(514500),p=a(533323),b=a(984162),y=a(451682),w=a(262216);function C(e){let{accentColor:t,...a}=e,r=v.mobile,o=(0,g.o)(a.list),{index:i,goPrev:d,goNext:u,onTransitionEnd:x,disableTransition:h,canLoop:f,activeMod:C}=(0,g.s)(a.list.length),j=(0,m.useRef)(null),k=(0,m.useRef)(d),N=(0,m.useRef)(u);k.current=d,N.current=u;let P=r.cardW+r.cardGapPx,S="calc(50% - ".concat(r.cardW/2,"px - ").concat(i*P,"px)"),{start:M,count:T}=(0,p.l)(a.list.length,C);return(0,m.useEffect)(()=>{let e=j.current;if(!e||a.disableManualScroll||!f)return;let t=0,l=0,r="none",n=e=>{t=e.touches[0].clientX,l=e.touches[0].clientY,r="none"},o=e=>{let a=e.touches[0].clientX-t,n=e.touches[0].clientY-l;if("none"===r){if(8>Math.abs(a)&&8>Math.abs(n))return;r=Math.abs(a)>1.2*Math.abs(n)?"h":"v"}"h"===r&&e.preventDefault()},s=e=>{if("h"!==r){r="none";return}let a=e.changedTouches[0].clientX-t;r="none",a<-50?N.current():a>50&&k.current()};return e.addEventListener("touchstart",n,{passive:!0}),e.addEventListener("touchmove",o,{passive:!1}),e.addEventListener("touchend",s,{passive:!0}),()=>{e.removeEventListener("touchstart",n),e.removeEventListener("touchmove",o),e.removeEventListener("touchend",s)}},[f,a.disableManualScroll]),(0,l.jsxs)("div",{className:"relative flex h-full min-h-0 w-full flex-col ".concat(a.inStudio?"overflow-visible":"overflow-hidden"," ").concat(r.sectionPy," ").concat(a.debugAnchorClass),"data-sticker-anchor":"reviews-root",style:{...a.sectionBgStyle,color:a.reviewsTextColor,...(0,w.G)(a.isMobilePreview)},children:[(0,l.jsx)(s.JE,{enabled:a.showAnchorDebug}),(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center","aria-hidden":!0,children:(0,l.jsx)("div",{className:"rounded-full opacity-30",style:{width:220,height:220,backgroundColor:t,filter:"blur(100px)"}})}),(0,l.jsx)(y.W,{...a,align:"center",className:"relative z-[1] mx-auto w-full ".concat(r.outer," ").concat(r.headerMb)}),(0,l.jsxs)("div",{className:"relative z-[1] flex min-h-0 flex-1 flex-col",children:[(0,l.jsxs)("div",{ref:j,className:"relative w-full ".concat(a.inStudio?"overflow-visible py-3":"overflow-hidden"," ").concat(a.debugAnchorClass),"data-sticker-anchor":"reviews-cards-block",style:{touchAction:"pan-y"},children:[(0,l.jsx)(s.JE,{enabled:a.showAnchorDebug}),(0,l.jsx)("div",{className:"flex items-start will-change-transform",style:{gap:r.cardGapPx,transform:"translateX(".concat(S,")"),transition:h?"none":"transform 500ms ease-in-out"},onTransitionEnd:e=>{e.target===e.currentTarget&&x()},children:o.map((e,t)=>{var o,d,u;let x=(0,c.A1)(e,a.creatorBrands),h=(0,c.n0)(e,a.creatorBrands),v=[null===(o=e.authorRole)||void 0===o?void 0:o.trim(),h].filter(
1Boolean).join(" \xb7 "),f=t===i,g=Math.abs(t-i);return(0,l.jsx)("div",{className:"shrink-0 transition-[filter,opacity,transform] duration-500 ease-in-out",style:{width:r.cardW,opacity:f?1:1===g?.75:.55,filter:f?"blur(0px)":"blur(4px)",transform:f?"scale(1)":"scale(0.94)"},"aria-hidden":!f,children:(0,l.jsxs)("div",{className:"flex flex-col rounded-xl ".concat(r.cardPad," ").concat(r.cardStackGap),style:{minHeight:r.cardMinH,backgroundColor:a.cardBg,color:a.cardText,boxShadow:f?"0 1px 0 0 ".concat(a.cardText,"14"):"none"},...(0,s.hG)(e.id,a.inStudio),children:[(null==x?void 0:null===(d=x.brands)||void 0===d?void 0:d.logo_url)?(0,l.jsx)(n.u,{src:x.brands.logo_url,alt:"",className:"h-8 w-8 shrink-0 overflow-hidden rounded-md",imgClassName:a.logoBw?"grayscale opacity-80 object-contain":"object-contain",style:{...a.logoBw?x.logo_inverted?{filter:"invert(1) grayscale(1)",opacity:.8}:{opacity:.8}:x.logo_inverted?{filter:"invert(1)"}:{}}}):(0,l.jsx)("span",{className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-sm",style:{backgroundColor:"".concat(a.cardText,"14"),...a.bodyStyle},children:(e.authorName||"?").charAt(0).toUpperCase()}),(0,l.jsx)(b.O,{text:e.quote||"Review",bodyStyle:a.bodyStyle,maxFontPx:null!==(u=r.quoteBasePx)&&void 0!==u?u:18,minFontPx:12,preferHeightPx:r.quotePreferH,className:r.quoteClass}),(0,l.jsxs)("div",{className:"flex shrink-0 flex-col gap-0.5",children:[(0,l.jsx)("span",{className:r.nameClass,style:a.bodyStyle,children:e.authorName||"Reviewer"}),v?(0,l.jsx)("span",{className:r.roleClass,style:a.bodyStyle,children:v}):null]})]})},"".concat(e.id,"-").concat(t))})})]}),a.list.length>1?(0,l.jsx)("div",{className:"relative z-[1] flex shrink-0 items-center justify-center gap-1.5 ".concat(r.navMt),"data-sticker-anchor":"reviews-controls-block",children:Array.from({length:T},(e,t)=>{let r=M+t,n=r===C;return(0,l.jsx)("div",{className:"rounded-full transition-all duration-300",style:{width:n?16:6,height:6,backgroundColor:n?a.reviewsTextColor:"".concat(a.reviewsTextColor,"33")}},r)})}):null]})]})}var j=a(975133),k=a(174380);function N(e){var t,a,p,b;let{portfolio:y,creatorBrands:w,draftReview:N,draftReviewEditingId:P,showSectionTitle:S=!0,reviewsTagText:M=r.xz,reviewsTagBgColor:T="#e4ff5c",reviewsTagTextColor:G="#222",reviewsBgColor:_="#ffffff",reviewsTextColor:A="#000000",reviewsAccentColor:E,reviewsBackgroundMode:B="none",breakpoint:W="desktop",showStickerAnchorDebug:q=!1,inStudio:H=!1,studioMotionPaused:R=!1,disableManualScroll:L=!1,isMobilePreview:D=!1,isPublicView:J,eyebrowStyle:z}=e,I=v[W],X=(0,k.UL)(y,W),U=(0,i.le)(null!==(a=y.reviews)&&void 0!==a?a:[],N,P),F=(0,g.o)(U),{headingStyle:K,bodyStyle:O}=(0,d.Ux)(y),Y=(null===(t=y.reviewsHeading)||void 0===t?void 0:t.trim())||r.dk,Q=(0,x.s)(y,"proof"),$="center"===Q,V=(0,h.s6)(y.reviewsProofBlur),{index:Z,goPrev:ee,goNext:et,goTo:ea,onTransitionEnd:el,disableTransition:er,activeMod:en,canLoop:eo}=(0,g.s)(U.length),es=(0,m.useRef)(et);es.current=et,(0,m.useEffect)(()=>{if(!X||U.length<=1||R)return;let e=window.setInterval(()=>es.current(),j.t);return()=>window.clearInterval(e)},[X,U.length,R]);let ei=(null!==(p=y.reviewsLogoColourMode)&&void 0!==p?p:"black_and_white")==="black_and_white",ec=!!q&&!1,ed=(0,s.FU)(ec),eu=(0,d.Px)(B,_),ex=null!=E?E:A,eh=(0,d.$Q)(y.reviewsColourStyle,_,E,A),ev=(0,d.NE)(y.reviewsColourStyle,A,_,E);if("mobile"===W&&U.length>0)return(0,l.jsx)(C,{list:U,creatorBrands:w,logoBw:ei,heading:Y,showSectionTitle:S,reviewsTagText:M,reviewsTagBgColor:T,reviewsTagTextColor:G,reviewsTextColor:A,headingStyle:K,bodyStyle:O,sectionBgStyle:eu,cardBg:eh,cardText:ev,showAnchorDebug:ec,debugAnchorClass:ed,disableManualScroll:L,isMobilePreview:D,eyebrowStyle:z,accentColor:ex,inStudio:H});let ef=I.cardW+I.cardGapPx,eg="calc(50% - ".concat(I.cardW/2,"px - ").concat(Z*ef,"px)");return(0,l.jsxs)("div",{className:"relative w-full h-full min-h-0 flex flex-col ".concat(I.sectionPy," ").concat(H?"overflow-visible":"overflow-hidden"," ").concat(ed),"data-sticker-anchor":"reviews-root",style:{...eu,color:A},children:[(0,l.jsx)(s.JE,{enabled:ec}),(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center","aria-hidden":!0,
1children:(0,l.jsx)("div",{className:"rounded-full opacity-30",style:{width:280,height:280,backgroundColor:ex,filter:"blur(140px)"}})}),(S||!X&&eo)&&(0,l.jsx)("div",{className:"relative z-[1] ".concat((b=!!J&&"mobile"!==W,"largeDesktop"===W?b?"w-full pl-14 pr-8":"w-full px-14":b?"w-full pl-10 pr-6":"w-full px-10")," ").concat(I.headerMb," shrink-0 ").concat(H?"py-3":""),children:(0,l.jsxs)("div",{className:"relative flex w-full flex-row items-end ".concat($?"justify-center":"justify-between"," gap-4"),children:[S?(0,l.jsx)(u.l,{breakpoint:W,tagText:M,tagBgColor:T,tagTextColor:G,heading:Y,headingStyle:K,bodyStyle:O,textColor:A,align:Q,className:"min-w-0",showAnchorDebug:ec,debugAnchorClass:ed,eyebrowStyle:z}):(0,l.jsx)("div",{className:"min-w-0"}),!X&&eo?(0,l.jsx)(o.TJ,{wrapperProps:{"data-sticker-anchor":"reviews-controls-left-block"},className:$?"absolute right-0 bottom-0 ".concat(ed):ed,onPrev:ee,onNext:et,prevLabel:"Previous review",nextLabel:"Next review",style:{backgroundColor:eh,color:ev},children:(0,l.jsx)(s.JE,{enabled:ec})}):null]})}),0===U.length?(0,l.jsx)("div",{className:"relative z-[1] flex flex-1 items-center justify-center px-4",children:(0,l.jsx)(f.T,{tint:A,inStudio:H,count:1,cardWidth:I.cardW})}):(0,l.jsxs)("div",{className:"relative z-[1] flex min-h-0 flex-1 flex-col",children:[(0,l.jsxs)("div",{className:"relative w-full ".concat(H?"overflow-visible py-3":"overflow-hidden"),"data-sticker-anchor":"reviews-cards-block",children:[(0,l.jsx)(s.JE,{enabled:ec}),(0,l.jsx)("div",{className:"flex items-center will-change-transform",style:{gap:I.cardGapPx,transform:"translateX(".concat(eg,")"),transition:er?"none":"transform 500ms ease-in-out"},onTransitionEnd:e=>{e.target===e.currentTarget&&el()},children:F.map((e,t)=>{var a,r;let o=(0,c.A1)(e,w),i=(0,c.n0)(e,w),d=[null===(a=e.authorRole)||void 0===a?void 0:a.trim(),i].filter(Boolean).join(" \xb7 "),u=t===Z,x=u?0:-(Math.sign(t-Z)*I.peekPullPx);return(0,l.jsx)("div",{className:"shrink-0",style:{width:I.cardW,opacity:1,filter:u||!V?"blur(0px)":"blur(3px)",transform:u?"scale(1)":"translateX(".concat(x,"px) scale(0.66)"),transformOrigin:"center center",transition:er?"none":"filter 500ms ease-in-out, opacity 500ms ease-in-out, transform 500ms ease-in-out"},"aria-hidden":!u,children:(0,l.jsxs)("div",{className:"flex flex-col rounded-xl ".concat(I.cardPad," ").concat(I.cardStackGap),style:{minHeight:I.cardMinH,backgroundColor:eh,color:ev,boxShadow:u?"0 1px 0 0 ".concat(ev,"14"):"none"},...(0,s.hG)(e.id,H),children:[(null==o?void 0:null===(r=o.brands)||void 0===r?void 0:r.logo_url)?(0,l.jsx)(n.u,{src:o.brands.logo_url,alt:"",className:"h-10 w-10 shrink-0 overflow-hidden rounded-md",imgClassName:ei?"grayscale opacity-80 object-contain":"object-contain",style:{...ei?o.logo_inverted?{filter:"invert(1) grayscale(1)",opacity:.8}:{opacity:.8}:o.logo_inverted?{filter:"invert(1)"}:{}}}):(0,l.jsx)("span",{className:"inline-flex h-10 w-10 items-center justify-center rounded-md text-sm",style:{backgroundColor:"".concat(ev,"14"),...O},children:(e.authorName||"?").charAt(0).toUpperCase()}),(0,l.jsx)("p",{className:"m-0 ".concat(I.quoteClass),style:O,children:e.quote||"Review"}),(0,l.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,l.jsx)("span",{className:I.nameClass,style:O,children:e.authorName||"Reviewer"}),d?(0,l.jsx)("span",{className:I.roleClass,style:O,children:d}):null]})]})},"".concat(e.id,"-").concat(t))})})]}),(0,l.jsx)(j.K,{count:U.length,activeMod:en,autoScroll:X,durationMs:j.t,paused:!!R,color:A,onSelect:ea})]})]})}},678422:function(e,t,a){a.d(t,{l:function(){return i}});var l=a(816261),r=a(787097),n=a(274227),o=a(638209),s=a(518050);function i(e){let{breakpoint:t,tagText:a,tagBgColor:i,tagTextColor:c,heading:d,headingStyle:u,bodyStyle:x,textColor:h,align:v="left",className:f="",showAnchorDebug:g=!1,debugAnchorClass:m="",eyebrowStyle:p,headingClass:b}=e,y=n.X[t],w="mobile"===t||"center"===v,C=null!=b?b:y.headingClass;return(0,l.jsxs)("div",{className:"flex flex-col ".concat(y.tagGapClass," ").concat(w?"items-center text-center":"items-start"," ").concat(f),children:[(0,l.jsx)(o.K,{label:a,accent:i,onAccent:c,textColor:h,style:p,Icon:r.j,tagClass:y.tagClass,className:m,bodyStyle:x,"data-editable":"reviews-subtitle","data-sticker-anchor":"reviews-subtitle-block",children:(0,l.jsx)(s.JE,{enabled:g})}),(0,l.jsxs)("h2",{className:"text-balance m-0 inline-block w-fit max-w-full ".concat(C," leading-tight whitespace-pre-line ").concat(w?"text-center":"text-left"," ").concat(m),"data-editable":"reviews-heading","data-sticker-anchor":"reviews-heading-text-block",style:{...u,color:h},children:[(0,l.jsx)(s.JE,{enabled:g}),d]})]})}},960584:function(e,t,a){a.d(t,{A1:function(){return o},GJ:function(){return n},n0:function(){return s}});var l=a(816261),r=a(145878);function n(e){var t;let{review:a,creatorBrands:n,logoBw:o,size:s,roundedClassName:i="rounded-full",textColor:c}=e,d=a.brandId?n.find(e=>e.brand_id===a.brandId):null;return(null==d?void 0:null===(t=d.brands)||void 0===t?void 0:t.logo_url)?(0,l.jsx)("div",{style:{width:s,height:s},className:"shrink-0 overflow-hidden ".concat(i),children:(0,l.jsx)(r.u,{src:d.brands.logo_url,alt:"",className:"h-full w-full",imgClassName:o?"grayscale opacity-80 object-contain":"object-contain",style:o?d.logo_inverted?{filter:"invert(1) grayscale(1)",opacity:.8}:{opacity:.8}:d.logo_inverted?{filter:"invert(1)"}:void 0})}):(0,l.jsx)("div",{className:"shrink-0 flex items-center justify-center ".concat(i),style:{width:s,height:s,backgroundColor:"".concat(c,"22"),color:c,fontSize:Math.max(12,.35*s)},children:(a.authorName||"?").charAt(0).toUpperCase()})}function o(e,t){var a;return e.brandId&&null!==(a=t.find(t=>t.brand_id===e.brandId))&&void 0!==a?a:null}function s(e,t){var a,l,r;let n=o(e,t);return null!==(r=(null===(a=e.companyName)||void 0===a?void 0:a.trim())||(null==n?void 0:null===(l=n.brands)||void 0===l?void 0:l.name))&&void 0!==r?r:""}},451682:function(e,t,a){a.d(t,{W:function(){return n}});var l=a(816261),r=a(678422);function n(e){let{align:t="center",className:a,...n}=e;return n.showSectionTitle?(0,l.jsx)(r.l,{breakpoint:"mobile",tagText:n.reviewsTagText,tagBgColor:n.reviewsTagBgColor,tagTextColor:n.reviewsTagTextColor,heading:n.heading,headingStyle:n.headingStyle,bodyStyle:n.bodyStyle,textColor:n.reviewsTextColor,align:"center",className:a,showAnchorDebug:n.showAnchorDebug,debugAnchorClass:n.debugAnchorClass,eyebrowStyle:n.eyebrowStyle}):null}}}]);

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.