PageSourceSearch

https://www.apartmenttherapy.com/_next/static/chunks/pages/small-c…/[ndbId]/[productId]-a2c2e270a523fdfa.js

js apartmenttherapy.com collected 2026-10-01 07:49:54 UTC 14,445 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7647],{10172:(o,e,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/small-cool/nyc-2022/products/[ndbId]/[productId]",function(){return t(13731)}])},13731:(o,e,t)=>{"use strict";t.r(e),t.d(e,{SingleProductPage:()=>_,__N_SSP:()=>y,default:()=>j});var l=t(66284);t(14232);var i=t(77328),r=t.n(i),a=t(46713),s=t(50275),n=t(41456),c=t.n(n),p=t(86053),d=t(5727),u=t(13954),m=t(63211),g=t(43629),x=t(91669),P=t(37876);function S(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);e&&(l=l.filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})),t.push.apply(t,l)}return t}function f(o){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?S(Object(t),!0).forEach(function(e){(0,l.A)(o,e,t[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):S(Object(t)).forEach(function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(t,e))})}return o}var y=!0;function _({ndbId:o,productId:e,error:t,variables:l}){let i=(0,g.p_)((0,x.bk)({title:"Small/Cool Experience Product",canonical:(0,x.hO)(`/small-cool/nyc-2022/products/${o}/${e}`),robots:"noindex"}));return t?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(m.A,{}),(0,P.jsx)(p.A,{message:"Error: Product not found"})]}):(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(r(),{children:[(0,P.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no, minimum-scale=1"}),(0,P.jsx)("link",{rel:"stylesheet",href:"https://use.typekit.net/hhy4fvq.css"}),(0,P.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;1,400&display=swap",rel:"stylesheet"})]}),(0,P.jsx)(m.A,{}),(0,P.jsx)(d.A,{items:i}),(0,P.jsx)(s.A,{children:(0,P.jsx)(a.XK,{query:c(),variables:l,errorPolicy:"all",ssr:!0,children:({data:o,loading:t,error:l})=>{if(t)return null;if(l)return(0,P.jsx)(p.A,{});let{product:i}=o;return(0,P.jsx)(u.A,{product:f(f({},i),{},{productId:e})})}})})]})}let j=_},13954:(o,e,t)=>{"use strict";t.d(e,{A:()=>b});var l=t(66284),i=t(47091),r=t.n(i);t(14232);var a=t(58103),s=t.n(a),n=t(5794),c=t(254),p=t(72362),d=t(67485),u=t(23296),m=t(98639),g=t(13115),x=t(46320),P=t(23568);let S=[`.SmallCoolNycSingleProductPopup__buyNowButton,.SmallCoolNycSingleProductPopup__addToWishlistButton.jsx-3602599766{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-family:${P.pQ.roboto};font-size:0.75rem;font-weight:500;white-space:nowrap;text-transform:uppercase;width:50%;height:40px;border-radius:20px;cursor:pointer;}`,".SmallCoolNycSingleProductPopup__buyNowButton{background-color:#000;color:white;}",`.SmallCoolNycSingleProductPopup__buyNowButton:hover{background-color:${P.lm.blue};border:0;color:#000;-webkit-transition:all 300ms ease-in-out;transition:all 300ms ease-in-out;}`,".SmallCoolNycSingleProductPopup__addToWishlistButton.jsx-3602599766{color:#000;}",`.SmallCoolNycSingleProductPopup__addToWishlistButton.jsx-3602599766 .icon .st0{fill:${P.lm.coral};}`,`.SmallCoolNycSingleProductPopup__addToWishlistButton.jsx-3602599766:hover .icon .st0{fill:${P.lm.blue};}`,`.SmallCoolNycSingleProductPopup__description.jsx-3602599766{font-family:${P.pQ.roboto};font-weight:400;font-size:13px;line-height:1.867;}`,".SmallCoolNycSingleProductPopup__infoContainer.jsx-3602599766{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;}",`.SmallCoolNycSingleProductPopup__name.jsx-3602599766{text-transform:none;font-family:${P.pQ.swear};font-size:1.25rem;font-weight:400;line-height:1.3;}`,`.SmallCoolNycSingleProductPopup__price.jsx-3602599766,.SmallCoolNycSingleProductPopup__retailer.jsx-3602599766{margin:0.5rem 0 0;font-family:${P.pQ.roboto};font-size:0.8125rem;font-weight:400;-webkit-letter-spacing:0.03em;-moz-letter-spacing:0.03em;-ms-letter-spacing:0.03em;letter-spacing:0.03em;line-height:1.2;text-transform:uppercase;}
1`,".SmallCoolNycSingleProductPopup__cta.jsx-3602599766{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}",".SmallCoolNycSingleProductPopup__addToWishlistButton.jsx-3602599766{background-color:#fff;border:2px solid #000;margin-left:0.5rem;}",".SmallCoolNycSingleProductPopup__addToWishlistButton.jsx-3602599766 .icon{font-size:20px;margin-left:0.25rem;}",`@supports (display:grid){.SmallCoolNycSingleProductPopup.jsx-3602599766{display:grid;grid-template: 'image        infoContainer' 'description  description  ' 'cta          cta          ' / 40vw 1fr;grid-template-rows:auto 1fr min-content;grid-column-gap:1rem;grid-row-gap:1rem;padding:20px;margin-top:2rem;}.SmallCoolNycSingleProductPopup__description.jsx-3602599766{grid-area:description;}.SmallCoolNycSingleProductPopup.jsx-3602599766 .SmallCoolNycSingleProductPopup__image{grid-area:image;width:100%;background-color:${x.QK};}.SmallCoolNycSingleProductPopup__infoContainer.jsx-3602599766{grid-area:infoContainer;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;}.SmallCoolNycSingleProductPopup__cta.jsx-3602599766{grid-area:cta;}.SmallCoolNycSingleProductPopup__description--desktop.jsx-3602599766{display:none;}.SmallCoolNycSingleProductPopup__description--mobile.jsx-3602599766{display:block;}@media screen and ${g.tz}{.SmallCoolNycSingleProductPopup.jsx-3602599766{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:90vw;height:auto;padding:0;margin-top:0;}.SmallCoolNycSingleProductPopup.jsx-3602599766{display:grid;grid-template: 'image        infoContainer' 'image        cta          ' / auto 1fr;grid-template-rows:auto 1fr;grid-column-gap:51px;}.SmallCoolNycSingleProductPopup__description--desktop.jsx-3602599766{display:block;}.SmallCoolNycSingleProductPopup__description--mobile.jsx-3602599766{display:none;}.SmallCoolNycSingleProductPopup__buyNowButton,.SmallCoolNycSingleProductPopup__addToWishlistButton.jsx-3602599766{width:160px;font-size:13px;}.SmallCoolNycSingleProductPopup__cta.jsx-3602599766{grid-area:cta;}.SmallCoolNycSingleProductPopup__description.jsx-3602599766{margin-top:1rem;grid-area:description;font-size:15px;}.SmallCoolNycSingleProductPopup__infoContainer.jsx-3602599766{display:grid;grid-template: 'name        name' 'retailer    price' 'description description' 'cta         cta' / auto 1fr;}.SmallCoolNycSingleProductPopup__name.jsx-3602599766{grid-area:name;font-size:2.25rem;line-height:1.2;}.SmallCoolNycSingleProductPopup__price.jsx-3602599766,.SmallCoolNycSingleProductPopup__retailer.jsx-3602599766{margin-top:1rem;font-size:0.9375rem;}.SmallCoolNycSingleProductPopup__price.jsx-3602599766{--smallCoolRetailerPriceSpacing:0.625rem;margin-left:var(--smallCoolRetailerPriceSpacing);grid-area:price;padding-left:var(--smallCoolRetailerPriceSpacing);border-left:1px solid #000;}.SmallCoolNycSingleProductPopup__retailer.jsx-3602599766{grid-area:retailer;}.SmallCoolNycProductsCatalogPopup--products .SmallCoolNycSingleProductPopup__cta.jsx-3602599766 button,.SmallCoolNycProductsCatalogPopup--products .SmallCoolNycSingleProductPopup__cta.jsx-3602599766 .button{font-size:0.625rem;}.SmallCoolNycProductsCatalogPopup--products .SmallCoolNycSingleProductPopup__description.jsx-3602599766,.SmallCoolNycProductsCatalogPopup--products .SmallCoolNycSingleProductPopup__price.jsx-3602599766,.SmallCoolNycProductsCatalogPopup--products .SmallCoolNycSingleProductPopup__retailer.jsx-3602599766{font-size:0.75rem;}.SmallCoolNycProductsCatalogPopup--products .SmallCoolNycSingleProductPopup__name.jsx-3602599766{font-size:1.5rem;}}}`,".SmallCoolNycSingleProductPopup--paint.jsx-3602599766{grid-template-areas: 'image infoContainer' 'image cta';}",".SmallCoolNycSingleProductPopup--paint.jsx-3602599766 .SmallCoolNycSingleProductPopup__image{background-color:transparent;}",".SmallCoolNycSingleProductPopup--paint.jsx-3602599766 .SmallCoolNycSingleProductPopup__retailer.jsx-3602599766{visibility:hidden;}",`@media screen and ${g.xv}{.SmallCoolNycSingleProductPopup--paint.jsx-3602599766 .SmallCoolNycSingleProductPopup__cta.jsx-3602599766{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.SmallCoolNycSingleProductPopup--paint.jsx-3602599766 .SmallCoolNycSingleProductPopup__addToWishlistButton.jsx-3602599766{margin-top:0.5rem;margin-left:0;}.SmallCoolNycSingleProductPopup--paint.jsx-3602599766 .SmallCoolNycSingleProductPopup__cta.jsx-3602599766>*{width:160px;}}`,`@media screen and ${g.pl}{.SmallCoolNycSingleProductPopup.jsx-3602599766{width:920px;height:431px;}}`];S.__hash="3602599766";var f=t(37876);function y(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);e&&(l=l.filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})),t.push.apply(t,l)}return t}function _(o){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};
1e%2?y(Object(t),!0).forEach(function(e){(0,l.A)(o,e,t[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach(function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(t,e))})}return o}let j={width:425,aspectRatio:1},h=[{media:g.pl,layoutWidth:{value:425,units:"px"}},{media:g.tz,layoutWidth:{value:25,units:"vw"}},{layoutWidth:{value:150,units:"px"}}],b=function({product:o,hasThirdPartyLibs:e=!0}){let{url:t,retailer:l,name:i,description:a,imageUrl:g,price:x,tags:P,productId:y}=o,b=(P||[]).map(o=>o.slug),N=x?`$${(x/100).toFixed(2)}`:null;return(0,f.jsxs)("div",{"data-testid":"SmallCoolNycSingleProductPopup",className:`jsx-${S.__hash} `+(s()("SmallCoolNycSingleProductPopup",{"SmallCoolNycSingleProductPopup--paint":(0,m.Sn)(P,"home-improvement-paint")})||""),children:[(0,f.jsx)(p.Ay,{className:"SmallCoolNycSingleProductPopup__image",url:g,maxSize:j,sourceSizes:h,alt:i&&i}),(0,f.jsxs)("div",{className:`jsx-${S.__hash} SmallCoolNycSingleProductPopup__infoContainer`,children:[(0,f.jsx)("div",{className:`jsx-${S.__hash} SmallCoolNycSingleProductPopup__name`,children:i}),l&&l.name&&(0,f.jsx)("div",{className:`jsx-${S.__hash} SmallCoolNycSingleProductPopup__retailer`,children:l.name}),N&&(0,f.jsx)("div",{className:`jsx-${S.__hash} SmallCoolNycSingleProductPopup__price`,children:N}),a&&(0,f.jsx)("div",{className:`jsx-${S.__hash} SmallCoolNycSingleProductPopup__description SmallCoolNycSingleProductPopup__description--desktop`,children:(0,f.jsx)(c.A,{html:a})})]}),a&&(0,f.jsx)("div",{className:`jsx-${S.__hash} SmallCoolNycSingleProductPopup__description SmallCoolNycSingleProductPopup__description--mobile`,children:(0,f.jsx)(c.A,{html:a})}),(0,f.jsxs)("div",{className:`jsx-${S.__hash} SmallCoolNycSingleProductPopup__cta`,children:[(0,f.jsx)(u.A,{className:"SmallCoolNycSingleProductPopup__buyNowButton button",onClick:()=>{window&&window.top&&window.top.postMessage({type:"popup-buy-now-event",name:i,retailers:l&&l.name||"",tags:b.join(",")},"*")},product:_(_({},o),{},{id:y}),scopedStyles:[S],trackPermutive:!1,trackUserClick:!1,children:"Buy Now"}),(0,f.jsxs)("button",{type:"button",onClick:()=>{window&&window.top&&window.top.postMessage({type:"popup-add-to-wishlist-event",productId:y,name:i,price:x,imageUrl:g,url:t,retailers:l&&l.name||"",tags:b.join(",")},"*")},className:`jsx-${S.__hash} SmallCoolNycSingleProductPopup__addToWishlistButton`,children:["Add to Wishlist",(0,f.jsx)(d.A,{})]})]}),e&&!(0,m.Sn)(P,"sponsored")&&(0,f.jsx)(n.A,{}),(0,f.jsx)(r(),{id:S.__hash,children:S})]})}},23568:(o,e,t)=>{"use strict";t.d(e,{D:()=>a,WH:()=>s,lm:()=>i,pQ:()=>r});var l=t(96144);let i={blue:"#9ab7ff",green:"#dcfd73",coral:"#ffb09b",black:"#000000",glow:"#c2ff00",glowLight:"#c2ff0055",blueLight:"#9ab7ff55",coralLight:"#ffb09b55"},r={swear:"'swear-display', serif",swearCilati:"'swear-display-cilati', serif",roboto:"'Roboto', sans-serif"};function a(o){let e=new Date().getTime();return l.SMALL_COOL[o].PHASES.sort((o,e)=>o.open>e.open?-1:1).find(o=>o.open<e)}function s(o,e){return l.SMALL_COOL[o].PHASES.find(o=>o.phase===e)}},67485:(o,e,t)=>{"use strict";t.d(e,{A:()=>s});var l=t(47091),i=t.n(l);t(14232);var r=t(80958),a=t(37876);let s=(0,r.A)("SmallCoolHeart",(0,a.jsxs)("svg",{x:"0px",y:"0px",viewBox:"0 0 24 23",style:{enableBackground:"new 0 0 24 23"},xmlSpace:"preserve",className:"jsx-1850639020",children:[(0,a.jsx)("g",{id:"Design---Voting",className:"jsx-1850639020",children:(0,a.jsx)("g",{id:"Round-1---Desktop-Copy-9",transform:"translate(-745.000000, -939.000000)",className:"jsx-1850639020",children:(0,a.jsx)("g",{id:"Group-10",transform:"translate(0.000000, 886.000000)",className:"jsx-1850639020",children:(0,a.jsx)("g",{id:"Bottom-buttons--desktop",transform:"translate(464.000000, 31.000000)",className:"jsx-1850639020",children:(0,a.jsx)("g",{id:"noun-x-2289939",transform:"translate(212.000000, 23.000000)",className:"jsx-1850639020",children:(0,a.jsxs)("g",{id:"Path",className:"jsx-1850639020",children:[(0,a.jsx)("path",{d:"M75.9,0.4c-3.6,0-5.9,3.2-5.9,5.8c0,5.6,6.4,10.9,10.9,14.2c4.5-3.3,10.9-8.6,10.9-14.2 c0-2.6-2.2-5.8-5.9-5.8c-2,0-3.8,1.6-5.1,3.2C79.7,2,78,0.4,75.9,0.4L75.9,0.4z",className:"jsx-1850639020 st0"}),(0,a.jsx)("path",{d:"M81,21.3L80.6,21c-5.2-3.9-11.2-9-11.2-14.8c0-3.2,2.7-6.5,6.6-6.5c2.1,0,3.8,1.4,5.1,2.8c1.2-1.3,3-2.8,5.1-2.8 c4,0,6.6,3.4,6.6,6.5c0,5.8-6,11-11.2,14.8L81,21.3z M75.9,1.1c-3.3,0-5.1,3-5.1,5c0,5,5.7,9.9,10.2,13.3 c4.5-3.4,10.2-8.3,10.2-13.3c0-2.1-1.8-5-5.1-5c-1.4,0-2.8,0.9-4.5,2.9L81,4.7L80.4,4C78.8,2.1,77.3,1.1,75.9,1.1L75.9,1.1z",className:"jsx-1850639020"})]})})})})})}),(0,a.jsx)(i(),{id:"1850639020",children:[".st0.jsx-1850639020{fill:#dbfd73;}",".st0.jsx-1850639020:hover{fill:#9ab7ff;}"]})]}))}},o=>{o.O(0,[4780,5578,2767,7899,2908,5303,6144,1597,636,6593,8792],()=>o(o.s=10172)),_N_E=o.O()}]);

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.