PageSourceSearch

https://www.rchomebuyers.cash/_next/static/chunks/eclectic-store-product.1d48724e4f112681.js

js rchomebuyers.cash collected 2026-09-29 17:02:07 UTC 11,860 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9965],{9116:(e,t,r)=>{r.d(t,{A:()=>i});let i=()=>{let e=document.getElementById("site-container");if(!e)return window.innerWidth;let t=e.scrollHeight>=e.clientHeight,r=0;return t&&(r=window.innerWidth-e.clientWidth),r>=20&&(r=0),e.clientWidth+r}},43800:(e,t,r)=>{r.d(t,{A:()=>c});var i=r(24090),n=r(55729),o=r(57596),a=r(30342),s=r(28438),l=r.n(s),d=r(77079);let c=(e,t,r,s)=>{let[c,x]=(0,n.useState)(()=>(0,o.A)(t(e))),[h,p]=(0,n.useState)(()=>(0,a.A)(t(e))),{editorActive:m}=(0,n.useContext)(d.n),u=(0,i.A)(),[f,g]=(0,n.useState)(u),A=(0,n.useRef)(!1),[b,y]=(0,n.useState)(e);return(0,n.useEffect)(()=>{if(m&&(!1===A.current||((e,t)=>{let r,i,n,o;return r=e.colors,i=t.colors,!(l()({...r,label:void 0},{...i,label:void 0})&&(n=e.font,o=t.font,l()({...n,customLabel:void 0,label:void 0},{...o,label:void 0,customLabel:void 0})))||e.template!==t.template||"buttonStyle"in e&&"buttonStyle"in t&&e.buttonStyle!==t.buttonStyle||("variant"in e?e.variant:void 0)!==("variant"in t?t.variant:void 0)})(b,e))){A.current=!0;let i=t(e,r((0,o.A)(t(e)),e)),n=(0,o.A)(i);n=r(n,e),x((0,o.A)(n)),p((0,a.A)(n)),y(e),s&&s()}},[m,e,t,r,b,s]),(0,n.useEffect)(()=>{if(m&&f!==u){A.current=!0;let i=t(e,r((0,o.A)(t(e)),e)),n=(0,o.A)(i);n=r(n,e),x((0,o.A)(n)),p((0,a.A)(n)),g(u)}},[e,t,m,r,f,u,s]),{theme:c,experimentalTheme:h}}},85518:(e,t,r)=>{r.d(t,{W:()=>h,g:()=>p});var i=r(7652);let n=/<img\b([^>]*)\/?>/gi,o=/(^|\s)src\s*=\s*(?:"([^"]*)"|'([^']*)')/i,a=/(^|\s)srcset\s*=\s*(?:"([^"]*)"|'([^']*)')/i,s=/(^|\s)sizes\s*=\s*(?:"([^"]*)"|'([^']*)')/i,l=/(^|\s)style\s*=\s*(?:"([^"]*)"|'([^']*)')/i,d=/(?:^|;)\s*width\s*:\s*([\d.]+)\s*(px|%)/i,c=e=>e.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/&#x27;/gi,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">"),x=e=>e.replace(/&/g,"&amp;").replace(/"/g,"&quot;"),h=e=>e&&e.includes("<img")?e.replace(n,(e,t)=>(e=>{let t=/(?:^|\s)alt\s*=/i.test(e)?e:`${e} alt=""`,r=e.match(o);if(!r)return`<img${t}>`;let n=c(r[2]??r[3]??"");if(!n)return`<img${t}>`;let a=(e=>{try{if(new URL(e).searchParams.has("width"))return(0,i.Ib)(e,{width:i.CA})===e?null:{src:e};let t=(0,i.Ib)(e,{width:i.CA});if(t===e)return null;return{src:t,srcSet:(0,i.Dl)(e)}}catch{return null}})(n);if(!a)return`<img${t}>`;let s=a.src===n?t:t.replace(o,`$1src="${x(a.src)}"`);if(a.srcSet&&!/(?:^|\s)srcset\s*=/i.test(s)){let t=e.match(l),r=(e=>{if(!e)return"100vw";let t=e.match(d);if(!t)return"100vw";let r=t[1];if("%"===t[2].toLowerCase()){let e=Math.round(parseFloat(r));return`${e}vw`}return`${r}px`})(t?.[2]??t?.[3]);s=`${s} srcset="${x(a.srcSet)}" sizes="${x(r)}"`}return/(?:^|\s)loading\s*=/i.test(s)||(s=`${s} loading="lazy"`),/(?:^|\s)decoding\s*=/i.test(s)||(s=`${s} decoding="async"`),`<img${s}>`})(t)):e??"",p=e=>e&&e.includes("<img")?Array.from(e.matchAll(n),e=>{let t=e[1],r=t.match(o),i=c(r?.[2]??r?.[3]??"");if(!i)return null;let n=t.match(a),l=t.match(s),d=c(n?.[2]??n?.[3]??""),x=c(l?.[2]??l?.[3]??"");return{src:i,...d?{srcSet:d}:{},...x?{sizes:x}:{}}}).filter(e=>null!==e):[]},98827:(e,t,r)=>{r.d(t,{A:()=>n});var i=r(9116);let n=e=>(t,r)=>{let n=(0,i.A)();return t.breakpoints.up=e=>{if("number"==typeof e)return`@media (max-width: ${n>=e?9999+e:0}px)`;let r=t.breakpoints.values[e];return`@media (max-width: ${n>=r?9999+r:0}px)`},t.breakpoints.down=e=>{if("number"==typeof e)return`@media (max-width: ${n<e?9999+e+1:0}px)`;let r=t.breakpoints.values[e];return`@media (max-width: ${n<r?9999+r+1:0}px)`},t.typography=e(r,t),t.components={...t.components,MuiUseMediaQuery:{defaultProps:{matchMedia:e=>!(e.includes("9999")||/max-width:\s*0px/.test(e))&&window.matchMedia?window.matchMedia(e):{matches:e.includes("9999"),media:e,onchange:null,addListener:()=>{},removeListener:()=>{},addEventListener:()=>{},removeEventListener:()=>{},dispatchEvent:()=>!0}}}},t}},98870:(e,t,r)=>{r.r(t),r.d(t,{default:()=>L});var i=r(6029),n=r(55729),o=r(90798),a=r(8860),s=r(17745),l=r(32559),d=r(38116),c=r(57654),x=r(27011),h=r(75466),p=r(73397),m=r(5254),u=r(75603),f=r(87410),g=r(26481),A=r(14104),b=r(56909),y=r(29853),w=r(71501),v=r(38166);function j(e){let{images:t,name:r,activeImage:n}=e,[a,l]=(0,v.A)(t,n),d=t[a]??t[0];return(0,i.jsxs)(o.A,{children:[(0,i.jsx)(o.A,{sx:{aspectRatio:"1 / 1",overflow:"hidden",backgroundColor:"var(--accent-color-mid)",borderRadius:{xs:"140px 140px 12px 12px",md:"220px 220px 12px 12px"}},children:d&&(0,i.jsx)(x.A,{media:d,objectFit:"cover",containerStyle:{display:"block",width:"100%",height:"100%"},style:{width:"100%",height:"100%"},title:r,sizes:"(min-width: 1200px) 520px, (min-width: 900px) 45vw, 100vw",loading:"eager",fetchPriority:"high"})}),t.length>1&&(0,i.jsx)(s.A,{direction:"row",spacing:1.75,mt:2.5,justifyContent:"center",flexWrap:"wrap",useFlexGap:!0,children:t.map((e,n)=>(0,i.jsx)(o.A,{component:"button",type:"button","aria-label":`Show image ${n+1} of ${t.length}`,"aria-pressed":n===a,onClick:()=>l(n),p:0,sx:{width:72,height:72,overflow:"hidden",cursor:"pointer",border:"none",borderRadius:"36px 36px 6px 6px",backgroundColor:"var(--accent-color-mid)",boxShadow:n===a?"0 0 0 2px var(--accent-color)":"none","&:focus-visible":{outline:"2px s
1olid var(--text-color)",outlineOffset:2}},children:(0,i.jsx)(x.A,{media:e,objectFit:"cover",containerStyle:{display:"block",width:"100%",height:"100%"},style:{width:"100%",height:"100%"},title:`${r} thumbnail ${n+1}`,sizes:"72px",loading:"lazy"})},e))})]})}var S=r(73390);let k={fontSize:11,fontWeight:700,letterSpacing:"2.8px",textTransform:"uppercase"},C={fontSize:{xs:11,md:12},fontWeight:700,letterSpacing:"4.8px",textTransform:"uppercase",color:"var(--text-color-secondary)"},$={color:"inherit",textDecoration:"none","&:hover":{textDecoration:"underline"}};function W(e){let{product:t,index:r}=e,n=(0,y.J)(r,{roundedRadius:90,variedRadius:90});return(0,i.jsx)(c.A,{href:t.href,children:(0,i.jsxs)(o.A,{component:"a",href:t.href,"aria-label":t.name,display:"block",sx:{textDecoration:"none",color:"inherit",opacity:t.anyInStock?1:.6},children:[(0,i.jsx)(o.A,{sx:{aspectRatio:"282 / 196",overflow:"hidden",clipPath:n,backgroundColor:"var(--accent-color-mid)"},children:t.images[0]&&(0,i.jsx)(x.A,{media:t.images[0],objectFit:"cover",containerStyle:{display:"block",width:"100%",height:"100%"},style:{width:"100%",height:"100%"},title:t.name,sizes:"(min-width: 900px) 300px, 70vw",loading:"lazy"})}),(0,i.jsx)(l.A,{variant:"h6",component:"p",mt:1.75,sx:{fontWeight:700,textTransform:"none",color:"var(--text-color-secondary)"},children:(0,S.s3)(t)}),(0,i.jsx)(l.A,{variant:"h6",component:"h3",mt:.5,sx:{fontWeight:500,fontStyle:"italic",textTransform:"none"},children:t.name})]})})}function L(e){let{data:t,settings:r,canonicalUrl:x}=e,{product:y,related:v}=t,{Band:L,Panel:I,Action:T,ChipGroup:z,radii:N}=(0,m.A)(),R=(0,b.A)(y),E=(0,f.AP)(y,R.selectedVariant),F=(0,n.useRef)(null),V=!y.anyInStock,D=V||R.selectedSoldOut,M=(0,f.dK)(y,R.selectedVariant),P=R.selectedVariant?(0,h.A)(R.selectedVariant.priceCents):(0,S.s3)(y),O=(0,f.ry)(y,R.selectedVariant,r),q=y.categories[0],_=(0,f.Jm)(y),G=!V&&"none"!==R.mode&&!R.selectedVariant,U=(0,n.useCallback)(()=>{let e=F.current;if(!e)return;let t=e.clientWidth/2,r=e.scrollLeft+e.clientWidth>=e.scrollWidth-8;e.scrollTo({left:r?0:e.scrollLeft+t,behavior:"smooth"})},[]);return(0,i.jsxs)(L,{id:"store-product",sx:{px:w.n$,py:{xs:4,md:5.5}},children:[(0,i.jsx)(p.A,{product:y,canonicalUrl:x,description:(0,f.cw)(y.body)}),(0,i.jsxs)(s.A,{direction:"row",alignItems:"center",flexWrap:"wrap",useFlexGap:!0,spacing:{xs:2,md:3},children:[(0,i.jsx)(A.A,{}),(0,i.jsxs)(o.A,{component:"nav","aria-label":"Breadcrumb",sx:{...k,color:"var(--text-color-secondary-dark)",opacity:.75},children:[(0,i.jsx)(c.A,{href:"/store",children:(0,i.jsx)(o.A,{component:"a",href:"/store",sx:$,children:"Store"})}),q&&(0,i.jsxs)(i.Fragment,{children:["  /  ",(0,i.jsx)(c.A,{href:(0,g.PD)({category:q}),children:(0,i.jsx)(o.A,{component:"a",href:(0,g.PD)({category:q}),sx:$,children:q.name})})]}),"  /  ",(0,i.jsx)(o.A,{component:"span","aria-current":"page",children:y.name})]})]}),(0,i.jsx)(I,{tone:"card",sx:{mt:{xs:2.5,md:3.5},p:{xs:3,sm:5,md:"56px 64px"}},children:(0,i.jsxs)(o.A,{display:"grid",gap:{xs:4,md:6,lg:8},gridTemplateColumns:{xs:"1fr",md:"minmax(0, 1fr) minmax(0, 1fr)",lg:"520px minmax(0, 1fr)"},alignItems:"start",children:[(0,i.jsx)(j,{images:y.images,activeImage:R.variantImage,name:y.name}),(0,i.jsxs)(o.A,{children:[_&&(0,i.jsx)(o.A,{sx:C,children:_}),(0,i.jsx)(l.A,{variant:"h3",component:"h1",mt:1.5*!!_,sx:{fontWeight:500,fontStyle:"italic",textTransform:"none",color:"var(--text-color-secondary-dark)"},children:y.name}),y.body&&(0,i.jsx)(l.A,{variant:"body1",mt:2.25,maxWidth:520,sx:{whiteSpace:"pre-line",opacity:.72},children:y.body}),(0,i.jsx)(l.A,{variant:"h4",component:"p",mt:3,"aria-live":"polite",sx:{fontWeight:700,textTransform:"none",color:"var(--text-color-secondary)"},children:P}),"none"!==R.mode&&(0,i.jsxs)(o.A,{display:"grid",gap:{xs:2.5,md:3.5},gridTemplateColumns:{xs:"1fr",sm:"two"===R.mode?"repeat(2, minmax(0, 1fr))":"1fr"},mt:4,maxWidth:520,children:[(0,i.jsxs)(o.A,{children:[(0,i.jsx)(o.A,{sx:{...k,opacity:.6,mb:1.25},children:y.optionNames.one}),(0,i.jsx)(z,{ariaLabel:y.optionNames.one??"Option",options:R.optionsOne,selectedId:R.selection.one,onChange:e=>R.select("one",e)})]}),"two"===R.mode&&(0,i.jsxs)(o.A,{children:[(0,i.jsx)(o.A,{sx:{...k,opacity:.6,mb:1.25},children:y.optionNames.two}),(0,i.jsx)(z,{ariaLabel:y.optionNames.two??"Option",options:R.optionsTwo,selectedId:R.selection.two,onChange:e=>R.select("two",e)})]})]}),(0,i.jsxs)(s.A,{direction:"row",spacing:1.75,mt:4.5,maxWidth:520,alignItems:"stretch",children:[(0,i.jsx)(u.A,{value:E.quantity,onChange:E.setQuantity,disabled:D,radius:N.input}),(0,i.jsx)(o.A,{flex:1,display:"flex",sx:{"& > *":{flex:1},"& button":{height:"100%"}},children:(0,i.jsx)(T,{emphasis:"primary",text:D?"Sold out":"Add to bag",disabled:!R.purchasable,onClick:E.add,fullWidth:!0})})]}),G&&(0,i.jsx)(l.A,{variant:"body2",mt:1.5,sx:{opacity:.7},children:"two"===R.mode?`Choose a ${y.optionNames.one?.toLowerCase()} and ${y.optionNames.two?.toLowerCase()} to add this to your bag.`:`Choose a ${y.optionNames.one?.toLowerCase()} to add this to your bag.`}),M&&(0,i.jsx)(l.A,{variant:"body2",mt:1.5,sx:{opacity:.7},role:"status",children:M}),E.justAdded&&(0,i.jsx)(o.A,{mt:2,maxWidth:520,role:"status",children:(0,i.jsx)(I,{tone:"tint",sx:{px:2,py:1.5},children:(0,i.jsxs)(s.A,{direction:"row",alignItems:"center",justifyContent:"space-between",spacing:2,flexWrap:"wrap",useFlexGap:!0,children:[(0,i.jsx)(o.A,{sx:{...k,color:"var(--text-color-secondary-dark)"},children:"Added to your bag."}),(0,i.jsx)(T,{emphasis:"quiet",text:"View bag",href:"/cart"})]})})}),O.length>0&&(0,i.jsx)(s.A,{spacing:1.5,mt:4,pt:3,maxWidth:520,sx:{borderTop:"1px solid var(--accent-color-mid)",opacity:.75},children:O.map(e=>(0,i.jsx)(l.A,{variant:"body1",sx:{fontSize:"13px !important"},children:e},e))})]})]})}),v.length>0&&(0,i.jsxs)(o.A,{mt:{xs:5,md:7},children:[(0,i.jsx)(o.A,{sx:C,component:"h2",children:"You might also like"}),(0,i.jsxs)(s.A,{direction:"row",spacing:{xs:2,md:4},mt:3,alignItems:"flex-start",children:[(0,i.jsx)(o.A,{ref:F,display:"flex",gap:{xs:2,md:4},flex:1,minWidth:0,sx:{overflowX:"auto",scrollSnapType:"x mandatory",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},"& > *":{flex:{xs:"0 0 72%",sm:"0 0 45%",md:"0 0 30%"},scrollSnapAlign:"start"}},children:v.map((e,t)=>(0,i.jsx)(o.A,{children:(0,i.jsx)(W,{product:e,index:t})},e.id))}),v.length>1&&(0,i.jsx)(a.A,{"aria-label":"Show more products",onClick:U,sx:{width:52,height:52,mt:{xs:0,md:7.5},flexShrink:0,border:"1px solid var(--button-secondary-fill)",backgroundColor:"var(--button-secondary-fill)",color:"var(--button-secondary-fill-text)"},children:(0,i.jsx)(d.A,{})})]})]})]})}}}]);

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.